@charset "UTF-8";

:root {
    --primary-color: #1EC6A7;

    --white-color: #fff;
    --black-color: #000000;
    --blue-color: #33d8b9;
    --gray-color: #fafafa;
    --gray-color2: #f0f0f0;
}

.btn-white {font-weight: 700; font-size: 20px; text-transform: uppercase; min-width: 175px; height: 52px; padding: 4px 16px;
    color: var(--white-color);
    border: 1px solid var(--white-color);

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-white:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.btn-gray {
    color: var(--black-color);
    border: 1px solid var(--gray-color);
    background-color: var(--gray-color);
}
.btn-gray:hover {
    color: var(--black-color);
    border: 1px solid var(--gray-color2);
    background-color: var(--gray-color2);
}


/*
    Слайдер новой коллекции на главной
*/
.products-offer-slider {position: relative;}
.products-offer-slider .slick-arrow {font-size: 0; position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; display: block; width: 30px; height: 30px; cursor: pointer;
    border: 1px solid #B8B8B8;
    border-radius: 50px;
    color: transparent;

    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
}
.products-offer-slider .slick-prev {left: 10px;
    background-image: url(../img/arrow-left.svg);
}
.products-offer-slider .slick-next {right: 10px;
    background-image: url(../img/arrow-right.svg);
}



/*
    Страница оформления заказа
*/
#full-basket + .order {max-width: initial; display: block}
.card-list {margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
}

.card-list * {
    box-sizing: border-box;
}

.card-item {position: relative;
    border: 1px solid transparent;
}


.card-type1 {
    color: var(--white-color);
    border-color: var(--primary-color);
    
    background-color: var(--primary-color);
    background-image: url(../img/precent.svg);
    background-repeat: no-repeat;
    background-position: top 40px right;
}
.card-type2 {
    border-color: var(--blue-color);
}

.card-item input[type="radio"] {display: none;}

.card-blck {padding: 30px 34px; display: block; cursor: pointer; 
    min-height: 235px;
}

.card-blck__title {font-weight: 700; font-size: 25px; text-transform: uppercase; position: relative; margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-item .card-blck__title:before {content: ""; display: inline-block; width: 28px; height: 28px;
    border: 1px solid var(--blue-color);
    border-radius: 100px;

    flex-shrink: 0;
}

.card-item input[type="radio"]:checked + .card-blck .card-blck__title:after {content: ''; width: 16px; height: 16px; display: inline-block; position: absolute; left: 7px;
    background-color: var(--primary-color);
    border-radius: 100px;

    flex-shrink: 0;
}

.card-item.card-type1 .card-blck__title:before {
    border-color: var(--white-color);
}

.card-item.card-type1 input[type="radio"]:checked + .card-blck .card-blck__title:after {
    background-color: var(--white-color);
}

.card-blck__text {font-size: 20px; margin: 0 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.card-blck__text span {font-weight: 500;}
.card-blck__text b {font-weight: 700;}

.card-blck__bottom {
    display: flex;
    align-items: center;
    gap: 15px;
}
.card-blck__bottom .btn-white {}
.card-blck__sale {font-weight: 700; font-size: 39px; text-transform: uppercase;}

.card-blck__img {position: absolute; right: 3px; bottom: -78px; max-width: 100%;}


@media only screen and (max-width: 1024px){
    .card-list {
        grid-template-columns: 1fr;
    }
}


@media only screen and (max-width: 600px){
    .card-blck {padding: 20px 20px; min-height: 188px;}

    .card-blck__title {font-size: 18px;
        gap: 8px;
    }
    .card-item .card-blck__title::before {width: 20px; height: 20px;}
    .card-item input[type="radio"]:checked + .card-blck .card-blck__title::after {width: 10px; height: 10px; left:6px;}

    .card-blck__text {font-size: 16px;
        grid-template-columns: 2fr 1fr;
        grid-gap: 8px;
    }

    .card-blck__img {max-width: 220px; bottom: -34px;}

    .card-blck__bottom .btn-white {font-size: 16px; min-width: initial;  height: 40px;}
    .card-blck__sale {font-size: 24px;}
}


/*
    Страница товара
*/
.product__button .feedback-cart {display: none; padding: 20px 50px;}

@media only screen and (max-width: 799px){
    .product__button .feedback-cart {display: inline-block;}
}

.basket_promocodes{
    margin-top:20px;
}

.basket_promocodes .promocode{
    padding:15px 15px;
    width:300px;
    border:1px solid #e3e0e0;
}


.promo_active{
    margin-top:2px;
    color: #1ec6a7;
    font-size:14px;
}

.promo_delete{
    background: none;
    border: none;
    color: #dc3545;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    position: relative;
    top: 4px;
}

.promo_dective{
    margin-top:2px;
    color: #ff0000;
    font-size:14px;
}

.promocode_result{
    margin-top:10px;
}





.cart__item_price-block.old_price:first-child .cart__item_price-value:after {
    content: "";
    background-color: #9ad9d7;
    height: 2px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    right: -10px;
}






.sort-btn {
    background: #f3f3f3;
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-btn:hover {
    background: #e0e0e0;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #33d8b9;
    transition: transform 0.3s ease;
}

.arrow.desc {
    transform: rotate(180deg);
}


.filter_img{
    width:24px;
    height:24px;
}



@media only screen and (max-width: 799px) {
    .header {
        position: fixed!important;
        background: #fff;
        z-index: 1000000000;
        width:100%;
    }

    .site_blocks{
        position:relative;
        top:117px;
    }

    .catalog-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 товара в ряд */
        gap: 20px; /* расстояние между товарами */
    }

    .catalog-items .item {
        width: 100%; /* занимает всю ширину ячейки */
    }

    .catalog-items .img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .catalog{
        margin-top:0px;
    }

    .filters-mobile {
        font-size: 25px;
    }


    .filter_img{
        width:38px;
        height:38px;
    }

    .filters__item_name{
        font-size:18px;
    }

    .filters__wrapper {
        top: 99px;
        position: relative;
    }

    .filters__item_fields .field-label {
        font-size: 18px;
    }
}





.store-legend {
    margin: 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #666;

}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-box {
    width: 32px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid #999;
    display: inline-block;
}

.color-box.in-stock {
    background-color: #9ad9d7; /* бирюзовый */
}

.color-box.pickup-only {
    background-color: #C2D8D8; /* серый */
}
/*
.product__colors .product__sizes_item.store:not(.not-available) {
    background-color: #9ad9d7;
}*/
/*
.product__colors .product__sizes_item.store.active{
    background-color:#ccc!important
}*/


#full-basket a{
    cursore:pointer;
    font-weight:bold;
    text-decoration: underline;
}

#store-map{
    margin-top:20px;
}


/* По умолчанию — обычный вывод */
.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

/* Стили для размеров */
.size-item {
    padding: 6px 12px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
}

/* Горизонтальный скролл на мобильных */
@media (max-width: 768px) {
    .product-sizes {

    }

    .size-item {
        margin-right: 6px;
    }
}
