﻿.last-product-section {
    .NameProduct {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    border-radius: 0.92rem;
    margin: 2rem 0;

    .side {
        width: 10.4rem;
        min-width: 10.4rem;
        max-width: 10.4rem;
    }

    .list {
        width: calc(100% - 10.4rem);
    }

    .cat-box {
        display: none;
        height: 100%;
        padding: 2rem 0;
        margin-left: 0.5rem;
        border-radius: 0.92rem;
        background-color: var(--accent-color);

        svg {
            max-width: 100%;
            max-height: 100%;
            margin: auto;
            display: block;
        }

        .icon-box {}

        .module-subject {}

        .link {
            font-size: 1rem;
            color: white;

            svg {
                stroke: white;
                width: 7px;
                margin-right: 0.5rem;
            }
        }
    }

    .slider_box {
        width: 100%;
        border-radius: 0.9rem;
        overflow: hidden;

        .swiper-slide {
            height: unset;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 23.7rem;
            border-radius: 0.9rem;
            /* -webkit-border-radius: var(--radius);
            -moz-border-radius: var(--radius);
            -ms-border-radius: var(--radius);
            -o-border-radius: var(--radius); */
            background-color: white;
            padding: 0.4rem;

            .img-box {
                margin-bottom: 0.8rem;

                img {
                    border-radius: var(--radius);
                    -webkit-border-radius: var(--radius);
                    -moz-border-radius: var(--radius);
                    -ms-border-radius: var(--radius);
                    -o-border-radius: var(--radius);
                }
            }

            .title {
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                /* font-size: 1rem;
                text-align: right;
                min-height: 3.7rem;
                line-height: 1.8;
                margin-bottom: 0.8rem;
                white-space: normal; */
            }

            .price-box {
                min-height: 4rem;

                strong {
                    color: var(--texture-color-1);
                    font-size: 0.9rem;
                    font-weight: 500;
                }

                strike {
                    color: var(--texture-color-4);
                    font-size: 0.9rem;
                    font-weight: 500;
                }
            }


            .discount {
                position: absolute;
                top: 0;
                left: 0;
                width: 30px;
                height: 30px;
                background-color: var(--warning-color-2);
                border-radius: 50%;
                font-size: 0.8rem;
                color: #fff;
            }
        }
    }

    &.discount-theme {
        background-color: var(--Secendry-main);

        .cat-box {
            &.discount-side {
                display: flex !important;
                background: var( --Secendry-Lighter);

            }

        }
    }

    &.default-theme {
        background-color: var(--accent-color);

        .cat-box {
            &.default-side {
                display: flex !important;
                background: var(--accent-color-dark-1);
            }

        }
    }
}