﻿.last-product-section {
    border-radius: 5px;
    background: #08296c !important;
}

.last-product-section .content-holder {
    margin: 24px 0px;
}

.last-product-section .cat-box {
    width: 135px;
    height: 100%;
    min-width: 135px;
    margin-left: 5px;
}

.last-product-section .cat-box>div {
    text-align: center;
}

.last-product-section .cat-box .img-box {
    width: 100%;
    min-height: 115px;
    background: transparent !important;
}

.last-product-section .cat-box .title {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    width: 100%;
    margin-bottom: 1rem;
}

.last-product-section .cat-box .title span {
    display: block;
    font-weight: lighter;
}

.last-product-section .cat-box .slogan-img {
    display: none;
    max-width: 100%;
    margin-bottom: 1rem;
}

.last-product-section .cat-box .link {
    font-size: 1rem;
    color: white;
}

.last-product-section .cat-box .link svg {
    stroke: white;
    width: 7px;
    margin-right: 0.5rem;
}

.last-product-section .slider_box {
    width: calc(100% - 140px);
    width: 100%;
    min-width: calc(100% - 140px);
}

.last-product-section .slider_box .product-slider {
    width: 100%;
}

.last-product-section .slider_box .swiper-slide {
    width: calc((100% / 6) - 0.6rem);
    min-width: 13.35rem;
    margin: 0px 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 258px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    background-color: white;
    padding: 8px;
}

.last-product-section .slider_box .swiper-slide:first-child {
    margin-right: 0;
}

.last-product-section .slider_box .swiper-slide:last-child {
    margin-left: 0;
}

.last-product-section .slider_box .swiper-slide .cat-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    border: solid 1px #F5F5F5;
    padding: 2px;
    background: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    overflow: hidden;
}

.last-product-section .slider_box .swiper-slide .cat-logo .icon {
    display: none;
    width: 22px;
    fill: #000;
}

.last-product-section .slider_box .swiper-slide .title {
    /* font-size: 1rem;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
    font-size: 1rem;
    text-align: right;
    height: 3.2rem;
    /* white-space: nowrap; */
    overflow: hidden;
    /* text-overflow: ellipsis;*/
}

.last-product-section .slider_box .swiper-slide .price-box {
    min-height: 43px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.last-product-section .slider_box .swiper-slide .price-box strike {
    font-size: 11px;
}

.last-product-section .slider_box .swiper-slide .discount {
    position: absolute;
    right: 0.57rem;
    bottom: 0.57rem;
    width: 30px;
    height: 30px;
    background-color: var(--button-color);
    border-radius: 50%;
    font-size: 11px;
    color: #fff;
}

.last-product-section .slider_box .btn-holder {
    -min-height: 4.64rem;
}

.last-product-section .slider_box .addToBasket {
    width: 2rem;
    height: 2rem;
    border-radius: 0.3rem;
    background: var(--accent-color);
    -webkit-border-radius: 0.3rem;
    -moz-border-radius: 0.3rem;
    -ms-border-radius: 0.3rem;
    -o-border-radius: 0.3rem;
}

.last-product-section .slider_box .addToBasket svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: var(--White);
}

.last-product-section .slider_box .discount-box {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    left: 0.6rem;
    padding: 0.6rem;
    border-radius: 5px;
    background: rgba(158, 11, 15, 0.6);
    z-index: 10;
}

.last-product-section .slider_box .discount-box svg {
    width: 18px;
    height: 18px;
    stroke: #F5B014;
    margin-left: 0.5rem;
}

.last-product-section .slider_box .discount-box .caption {
    font-size: 0.9rem;
    color: #fff;
}

.last-product-section .slider_box .discount-box .soon {
    direction: ltr;
}

.last-product-section .slider_box .discount-box .soon .soon-label {
    display: none;
}

.last-product-section .slider_box .discount-box .soon .soon-separator {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin: 0px 0.3rem;
}

.last-product-section .slider_box .discount-box .soon .soon-group-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.last-product-section .slider_box .discount-box .soon .soon-group-inner .soon-group-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    padding-top: 4px;
}

.last-product-section.sandwich-theme {
    background-color: var(--CustomColor5);
}

.last-product-section.sandwich-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, rgba(212, 61, 144, 0.8) 0%, rgba(132, 29, 105, 0.4) 66%);
}

.last-product-section.sandwich-theme .slogan-img.orange {
    display: block;
}

.last-product-section.sandwich-theme .slider_box .swiper-slide .cat-logo .icon.Sandwich-icon {
    display: block;
    fill: var(--CustomColor5);
}

.last-product-section.cannedfood-theme {
    background-color: var(--CustomColor10);
}

.last-product-section.cannedfood-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #7BD3F7 0%, rgba(29, 152, 196, 0.4) 66%);
}

.last-product-section.cannedfood-theme .slogan-img.blue-dark {
    display: block;
}

.last-product-section.cannedfood-theme .slider_box .swiper-slide .cat-logo .icon.Cannedfood-icon {
    display: block;
    fill: var(--CustomColor10);
}

.last-product-section.refrigerator-theme {
    background-color: #1A86B5;
}

.last-product-section.refrigerator-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #7BD3F7 0%, #1A86B5 66%);
}

.last-product-section.refrigerator-theme .slogan-img.blue-dark {
    display: block;
}

.last-product-section.refrigerator-theme .slider_box .swiper-slide .cat-logo .icon.Refrigerator-icon {
    display: block;
    fill: #1A86B5;
}

.last-product-section.frozen-theme {
    background-color: #153B62;
}

.last-product-section.frozen-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #7BD3F7 0%, #153B62 66%);
}

.last-product-section.frozen-theme .slogan-img.blue-light {
    display: block;
}

.last-product-section.frozen-theme .slider_box .swiper-slide .cat-logo .icon.Frozen-icon {
    display: block;
    fill: #153B62;
}

.last-product-section.vegetables-theme {
    background-color: var(--CustomColor8);
}

.last-product-section.vegetables-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #6bb97b85 0%, #144c35 66%);
}

.last-product-section.vegetables-theme .slogan-img.green {
    display: block;
}

.last-product-section.vegetables-theme .slider_box .swiper-slide .cat-logo .icon.Vegetables-icon {
    display: block;
    fill: var(--CustomColor8);
}

.last-product-section.kebab-theme {
    background-color: #F77275;
}

.last-product-section.kebab-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #ffffff66 0%, #F77275 66%);
}

.last-product-section.kebab-theme .slogan-img.red {
    display: block;
}

.last-product-section.kebab-theme .slider_box .swiper-slide .cat-logo .icon.Kebab-icon {
    display: block;
    fill: #F77275;
}

.last-product-section.fingerfood-theme {
    background-color: #E92390;
}

.last-product-section.fingerfood-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #ffffff66 0%, #E92390 66%);
}

.last-product-section.fingerfood-theme .slogan-img.white {
    display: block;
}

.last-product-section.fingerfood-theme .slider_box .swiper-slide .cat-logo .icon.Kebab-icon {
    display: block;
    fill: #E92390;
}

.last-product-section.protein-theme {
    background-color: #F81B1F;
}

.last-product-section.protein-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #ffffff66 0%, #F81B1F 66%);
}

.last-product-section.protein-theme .slogan-img.red-dark {
    display: block;
}

.last-product-section.protein-theme .slider_box .swiper-slide .cat-logo .icon.Protein-icon {
    display: block;
    fill: #F81B1F;
}

.last-product-section.discount-theme {
    background-color: #9e0b0f;
}

.last-product-section.discount-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #ffffff66 0%, #9e0b0f 66%);
}

.last-product-section.discount-theme .slogan-img.white {
    display: block;
}

.last-product-section.discount-theme .slider_box .swiper-slide .cat-logo .icon.Discount-icon {
    background: #9e0b0f;
    color: var(--White);
}

.last-product-section.Dark-Sapphire-theme {
    background-color: #08296c;
}

.last-product-section.Dark-Sapphire-theme .cat-box .img-box {
    background: transparent;
    background: radial-gradient(circle, #ffffff66 0%, #08296c 66%);
}

.last-product-section.Dark-Sapphire-theme .slogan-img.white {
    display: block;
}

.last-product-section.Dark-Sapphire-theme .slider_box .swiper-slide .cat-logo .icon.Protein-icon {
    display: block;
    fill: #F81B1F;
}

@media (max-width: 768px) {
    .last-product-section .content-holder {
        padding-top: 1rem !important;
    }

    .last-product-section .cat-box {
        width: 100%;
        margin: 0 0 1rem;
    }

    .last-product-section .cat-box .img-box {
        display: none;
        width: fit-content;
    }

    .last-product-section .cat-box .title {
        width: auto;
        margin-bottom: 0;
    }

    .last-product-section .cat-box .slogan-img {
        display: none !important;
    }

    .last-product-section .discount-box {
        padding: 0.3rem !important;
    }

    .last-product-section .discount-box .soon .soon-separator {
        font-size: 0.87rem !important;
    }

    .last-product-section .discount-box .soon .soon-group-inner .soon-group-sub {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.87rem !important;
    }

    .last-product-section .slider_box {
        width: 100%;
    }
}