/* coupon */
.cart__wrapp {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
    font-family: 'Roboto', sans-serif !important;
    justify-content: flex-start;
}
.category__card__title h3{
    font-family: 'Roboto', sans-serif !important;
}
.station--active .cart__inner-link, .station--active .cart__heart {
    display: block;
}
.cart__box {
    width: calc(33% - 17px);
    margin: 0;
    grid-template-rows: 160px auto;
    background: transparent;
    padding: 15px;
}
.cart__box-img {
    height: auto;
    width: 100%;
    background: transparent;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.cart__box-img img{max-width: none; max-height: none;}
.cart__box-img img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transform: translateY(-50%) scale(1);
    transition: 0.5s all;
}
.cart__box-img img.logo_coupon {
    width: 107px;
    height: auto;
    position: absolute;
    bottom: 15px;
    top: unset;
    transform: unset;
    left: 20px;
    border-radius: 0;
}
.sale_info {
    background: linear-gradient(122.24deg, #F8E21D 0%, #FF9900 100%);
    box-shadow: -5px 5px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0px 5px;
    padding: 5px 15px;
    position: absolute;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 21px;
    top: 0;
    right: 0;
}
.cart__conteiner {
    padding: 10px 0 0;
}
h3.cart__conteiner-text {
    font-size: 20px;
    line-height: 23px;
    font-weight: 600;
    color: #272727;
    border: none;
    padding: 0;
    margin: 0;
}
.cart__page {
    margin-top: 10px;
    margin-bottom: 10px;
}
.cart__box-content {
    color: #969696;
}
.cart__box-content:before {
    display: none;
}
.cart__box-inner {
    padding-top: 20px;
    width: 100%;
}
.cart__conteiner-btn {
    width: 165px;
}
.cart__box-action_btn {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart__box-action_btn button {
    padding: 0;
    border: none;
    background: transparent;
    outline: none;
    cursor: pointer;
}

/* end coupon */

/* category */

.cart__box-img-category {
    border-radius: 5px;
    overflow: hidden;
    height: 200px;
}
.cart__box-img-category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transform: scale(1);
    transition: 0.5s all;
}
/* .cart__box:hover .cart__box-img-category img{
    transform: scale(1.1);
} */
.cart__wrapp.cart__category_wrapp .cart__box {
    grid-template-rows: 200px auto;
}
.cart__box-img-category {
    width: 100%;
    height: 100%;
    position: relative;
}
.cart__conteiner-text-category {
    position: absolute;
    bottom: 18px;
    padding: 10px 20px;
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    width: 220px;
    z-index: 3;
}
.cart__conteiner-text-category:after {
    content: url(/static/img/category_background.svg);
    height: 100%;
    width: 100%;
    position: absolute;
    left: -6px;
    top: -6px;
    z-index: -1;
}
.cart__wrapp.cart__category_wrapp .cart__conteiner {
    padding: 0;
}
.cart__wrapp.cart__category_wrapp .cart__page {
    margin-top: 0;
}

/* end category */

/* custom cutegory */
.category__block {
    margin: 110px 0 0;
}
.category_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}
.category__card {
    background: #FFFFFF;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    padding: 20px 20px;
    display: grid;
    gap: 25px;
    justify-content: center;
    width: calc(20% - 24px);
    transition: .4s all;
}
.category_wrapper .category__card:nth-child(1),
.category_wrapper .category__card:nth-child(2),
.category_wrapper .category__card:nth-child(3),
.category_wrapper .category__card:nth-child(4){
    width: calc(25% - 23px);
    padding: 30px 20px;
}
.category__card__title h3 {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    color: #000;
}
.category__card__img img {
    transform: scale(1);
    transition: .4s all;
    height: 70px;
}

.category_wrapper .category__card:nth-child(1) img, .category_wrapper .category__card:nth-child(2) img, .category_wrapper .category__card:nth-child(3) img, .category_wrapper .category__card:nth-child(4) img{
    height: 125px;
}

/* a.category__card:hover .category__card__img img {
    transform: scale(1.05);
} */
.category__card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* end custom cutegory */


.station--active .cart__conteiner-btn {
    display: none;
}
.cart__station {
    width: 45px;
    height: 30px;
    top: 0;
    position: relative;
    margin: 0;
    justify-content: space-between;
    transition: 0.5s;
    align-items: center;
}
.cart__box-inner.station--active .cart__station {
    height: 30px;
}
.cart__station:hover {
    width: auto;
    top: 0px;
}
.cart__station .cart__sration-link, .cart__station object{
    left: 15px !important;
    top: 0;
}
.cart__station:hover .cart__sration-link, .cart__station:hover object{
    left: 20px;
    top: 0;
}

.cart__station object {
    position: absolute;
    transform: translateX(-50%);
    display: block;
    width: 30px;
    height: 30px;
    background: linear-gradient(122.24deg, #f8e21d, #f90);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart__station object:nth-child(2) {
    transform: translateX(-100%);
}
.cart__station object:nth-child(3) {
    transform: translateX(0);
    z-index: 2;
}
.cart__station object img {
    border-radius: 50%;
    width: 18px;
    height: auto;
}
.cart__station object img:active {
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
}
.cart__station:hover object {
    position: relative;
}
.cart__station:hover object:nth-child(2) {
    transform: translateX(-50%);
}
.cart__station:hover object:nth-child(3) {
    transform: translateX(-50%);
    z-index: 2;
}
.cart__station .cart__sration-link {
    padding: 0;
    outline: none;
    border: none;
    cursor: pointer;
}
.cart__station .cart__sration-link {
    position: absolute;
    left: 25px !important;
    top: 0;
    transform: translateX(-50%);
    display: block;
    width: 30px;
    height: 30px;
    background: linear-gradient(122.24deg, #f8e21d, #f90);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.station--active .cart__station{
    left: 0;
}
.cart__box {
    box-shadow: 0px 8px 20px rgb(0 0 0 / 8%);
}

.cart__box:hover {
    box-shadow: 0 8px 20px rgb(0 0 0 / 15%);
}
@media (max-width: 1199px){
    .cart__box {
        width: calc(50% - 15px);
    }
    .category__card__img img {
        height: 95px;
    }
}

@media (max-width: 991px){
    .cart__wrapp{
        gap: 20px;
    }
    .cart__box {
        width: calc(50% - 10px);
        padding: 10px;
    }
    .category_wrapper .category__card:nth-child(1), .category_wrapper .category__card:nth-child(2), .category_wrapper .category__card:nth-child(3) {
        width: calc(33% - 18px);
    }
    
    .category_wrapper .category__card:nth-child(4), .category__card {
        width: calc(25% - 23px);
    }
    .cart__box-action_btn{
        gap: 5px;
    }
    .cart__station{
    margin-left: 10px;
    }
    .category_wrapper .category__card:nth-child(4) img{
        height: 85px;
    }
    .category__card__img img {
        height: 85px;
    }
}

@media (max-width: 767px){
    .cart__wrapp{
        gap: 30px;
    }
    .cart__box {
        width: 100%;
        padding: 10px;
    }
    .category_wrapper .category__card:nth-child(1), .category_wrapper .category__card:nth-child(2), .category_wrapper .category__card:nth-child(3), .category_wrapper .category__card:nth-child(4), .category__card {
        width: calc(33% - 19px);
    }
    .cart__conteiner-btn{
        max-width: 135px;
    }
    .category_wrapper .category__card:nth-child(1) img, .category_wrapper .category__card:nth-child(2) img, .category_wrapper .category__card:nth-child(3) img {
        height: 85px;
    }
}
@media (max-width: 550px){
    .cart__box {
        width: 100%;
    }
    .category_wrapper .category__card:nth-child(1), .category_wrapper .category__card:nth-child(2), .category_wrapper .category__card:nth-child(3), .category_wrapper .category__card:nth-child(4), .category__card {
        width: calc(50% - 15px);
    }
}