.viewed-products-slider__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}
.viewed-products-slider__title a {
    display: inline-flex;
    font-weight: 400;
    gap: 4px;
    font-size: 16px;
    margin-left: 5px;
    color: #4e4e4e;
}
.viewed-products-slider__content {
    position: relative;
    border-radius: 8px;
    /*height: 350px;*/
}
.viewed-products-slider .slider-products {
    margin: 0 -24px;
    overflow: hidden;
    padding: 0 24px;
    width: calc(100% + 48px);
}
.slider-products {
    display: none;
    background: #fff;
    flex-flow: nowrap;
    min-height: 340px;
    position: relative;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: .55s opacity, .55s visibility;
}
.slider-products .f-carousel__slide {
    /*--f-carousel-spacing: 25px;
    --f-carousel-slide-width: calc((100% - 80px) / 4);*/
    padding: 0 25px;
    --f-carousel-slide-width: calc((100%) / 5);
    overflow-x: hidden;
    overflow-y: hidden;
}
.slider-products.carousel-loaded {
    opacity: 1;
    visibility: visible;
    display: block;
}
.slider-product {
    grid-gap: 12px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 16px 160px 1fr 32px 44px;
    height: 366px;
    position: relative;
}

.slider-product .slider-product__code {
    color: #999;
    font-size: 12px;
    line-height: 16px;
    grid-row: 1;
}
.slider-product .slider-product__image {
    align-items: center;
    grid-row: 2;
    align-content: center;
    display: flex;
    justify-content: center;
    position: relative;
    text-align: center;
}
.slider-product .slider-product__image .catalog-product__discount-vobler {
    background: #ff5c52;
    border-radius: 14px;
    top: 0;
    color: #fff;
    font-size: 12px;
    height: 24px;
    left: 0;
    padding: 4px;
    position: absolute;
}
.slider-product .slider-product__image-wrapper {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
}
.slider-product__image .product_color {
    width: 60px;
    height: 60px;
    left: -10%;
}
.slider-product__image .product_color:hover {
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
}
.slider-product__name::after {
    background: linear-gradient(hsla(0,1%,100%,0),#fff);
    content: "";
    height: 30px;
    left: 0;
    position: absolute;
    top: 40px;
    width: 100%;
}
.slider-product__name:hover::after {
    display: none;
}
.slider-product__name {
    grid-column: 1;
    grid-row: 3;
    position: relative;
}
.slider-product__name {
    font-size: 16px;
    line-height: 22px;
    overflow: hidden;
    color: #000;
}
.slider-product__name:hover {
    overflow: visible;
    z-index: 2;
    color: #d60000;
}
.slider-product__name span {
    max-height: 90px;
    transition: max-height .3s;
}
.slider-product__name:hover span {
    background: #fff;
    box-shadow: 0 0 10px 10px #fff;
    display: block;
    max-height: 300px;
    position: absolute;
}
.slider-product .slider-product__spec {
    display: none;
}
.slider-product__spec ul {
    font-size: 14px;
    line-height: 18px;
    list-style: none;
    padding: 0;
}
.slider-product__spec ul li {
    color: #212121;
}
.slider-product__spec ul span {
    color: #777;
}
.slider-product__voblers {
    align-self: end;
    background: linear-gradient(0deg, #fff, #fff 50%, hsla(0, 1%, 100%, 0));
    display: flex;
    grid-column: 1;
    grid-row: 3;
    margin-top: 22px;
    overflow: hidden;
    padding-top: 20px;
    z-index: 1;
}
.slider-product__voblers .s-product-voblers {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: start;
    justify-items: center;
    max-width: 100%;
    position: relative;
}
.slider-product__voblers:empty {
    display: none;
}
.slider-product__stat {
    grid-row: 4;
    gap: 5px;
    display: flex;
    flex-direction: row;
}
.slider-product__stat .average-rating {
    font-size: 21px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0 6px;
}
.slider-product__stat .review-count {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 6px;
    font-size: 14px;
}
.slider-product__stat .review-count::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f075";
    margin-right: 5px;
    color: #8c8c8c;
}
.slider-product__buy {
    grid-row: 5;
    display: flex;
    min-height: 44px;
}
.slider-product-buy__price-wrap {
    cursor: pointer;
    background: linear-gradient(270deg,#f6f6f6,hsla(0,1%,100%,0));
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    min-height: 44px;
    position: relative;
}
.slider-product-buy__price {
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
}
.slider-product-buy__sub {
    font-size: 12px;
    line-height: 14px;
}
.slider-product__buy .button-ui {
    margin-left: 4px;
    padding: 0;
    width: 44px;
    height: 44px;
}
.slider-product__buy .buy-btn, .slider-product__buy .bought-btn {
    min-width: 44px;
}
.slider-product:hover .buy-btn, .slider-product:hover .bought-btn {
    background-image: linear-gradient(to bottom, #ff6150, #d72817);
    border-left: none;
    border-right: none;
    border-top-color: #db3727;
    border-bottom-color: #db3727;
    color: #fff;
}
.slider-product .buy-btn::before {
    margin-right: 0;
}
.slider-products .f-carousel__nav button {
    width: 48px !important;
    height: 48px !important;
}

/*.slider-products .is-prev {
    left: 1.5rem;
    right: auto;
    transform: translateX(-10px) translateY(calc(20px - 50%));
    padding-bottom: 5px;
}
.slider-products .is-next {
    right: 1.5rem;
    left: auto;
    transform: translateX(10px) translateY(calc(20px - 50%));
    padding-bottom: 5px;
}
.slider-products .carousel__nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: absolute;
    z-index: 100;
    top: 45%;
    outline: none;
    opacity: 0;
    transition: opacity .3s ease, transform .3s, background .2s;
    text-align: center;
    padding-top: .5rem;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0 5px 20px 0 rgba(0,0,0,0.2),inset 0 0 0 1px rgba(0,0,0,0.1);
    border-width: 0;
}
.slider-products:hover .carousel__nav button {
    transform: translateX(0) translateY(calc(20px - 50%));
}
.slider-products:hover .carousel__nav button:hover {
    background: #db3727;
    color: #fff;
    transition: color .2s, background .2s;
}
.slider-products:hover .carousel__nav button {
    opacity: 1;
}*/
/*-----------responsive-------------*/
@media only screen and (max-width: 1540px) {
    .slider-products .f-carousel__slide {
        --f-carousel-slide-width: calc((100%) / 4);
    }
}
@media only screen and (max-width: 1200px) {
    .slider-products .f-carousel__slide {
        --f-carousel-slide-width: calc((100%) / 3);
    }
}
@media only screen and (max-width: 992px) {
    .viewed-products-slider__title {
        font-size: 20px;
        font-weight: 700;
        height: 30px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    .slider-products .f-carousel__slide {
        padding: 0 10px;
    }
}
@media only screen and (max-width: 768px) {
    .slider-products .f-carousel__slide {
        --f-carousel-slide-width: calc((100%) / 2);
    }
}
@media only screen and (max-width: 567px) {
    .slider-products .f-carousel__slide {
        --f-carousel-slide-width: 100%;
    }
    .viewed-products-slider .slider-products {
        margin: auto;
        width: 100%;
        padding: 0;
    }
    .slider-products .slider-product {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: 1fr 155px 16px 57px;
        padding: 12px;
        height: auto;
        border: 1px solid #f5f5f5;
        border-radius: 8px;
    }
    .slider-product .slider-product__code {
        grid-column: 1;
        grid-row: 3;
        font-size: 12px;
    }
    .slider-product .slider-product__image {
        grid-column: 1;
        grid-row: 2/4;
        margin-right: 12px;
        width: 100px;
        height: 100px;
        align-items: center;
    }
    .slider-product .slider-product__image .product_color {
        width: 33px;
        height: 33px;
    }
    .slider-product .slider-product__image-wrapper {
        height: 100%;
        width: 100%;
    }
    .slider-product .slider-product__name {
        grid-column: 1/3;
        grid-row: 1;
        max-height: 110px;
        border-bottom: 1px solid #f5f5f6;
        padding-bottom: 5px;
        margin-bottom: 10px;
        font-size: 13px;
    }
    .slider-product .slider-product__spec {
        grid-column: 2;
        grid-row: 2;
        max-height: 155px;
        display: block;
    }
    .slider-product__spec ul {
        font-size: 12px;
    }
    .slider-product .slider-product__voblers {
        grid-column: 2;
        grid-row: 3;
        margin-right: -12px;
        max-height: 34px;
        padding-top: 12px;
    }
    .slider-product .slider-product__stat {
        grid-column: 1/3;
        grid-row: 4;
        gap: 5px;
        margin: 0 -12px;
        overflow-x: auto;
        padding: 12px;
        width: calc(100% + 24px);
    }
    .slider-product .slider-product__buy {
        grid-column: 1/3;
        grid-row: 5;
        padding-bottom: 12px;
    }
}
/*-----------offer---------*/
.product-card__offer {
    font-size: 14px;
    text-align: right;
    margin-top: 15px;
}