[data-fls-spollers] summary {
    list-style: none
}

[data-fls-spollers] summary::-webkit-details-marker, [data-fls-spollers] summary::marker {
    display: none
}

.spollers {
    display: grid;
    gap: .9375rem;
    margin-top: 60px;
}

.spollers__item {
    font-size: 1.25rem
}

.spollers__title {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #2f2f2f;
    cursor: default;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.75rem;
    list-style: none;
    padding: .9375rem;
    padding-left: 0;
    position: relative;
    text-align: left;
    width: 100%
}

.spollers__title::-webkit-details-marker, .spollers__title::marker {
    display: none
}

.--spoller-init .spollers__title {
    cursor: pointer
}

.--spoller-init .spollers__title:after, .--spoller-init .spollers__title:before {
    background-color: #000;
    content: "";
    height: .125rem;
    position: absolute;
    right: .625rem;
    top: 50%;
    transition: transform .5s ease 0s;
    width: .9375rem
}

.--spoller-init .spollers__title:before {
    transform: translate(-75%, -50%) rotate(40deg)
}

.--spoller-init .spollers__title:after {
    transform: translateY(-50%) rotate(-40deg)
}

.--spoller-init .spollers__title.--spoller-active {
    border: none;
}

.--spoller-init .spollers__title.--spoller-active:before {
    transform: translateX(-75%) rotate(-40deg)
}

.--spoller-init .spollers__title.--spoller-active:after {
    transform: rotate(40deg)
}

.spollers__body {
    color: #575757;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    padding: 1.25rem;
    padding-left: 0;
}

.spollers__body p {
    margin-bottom: .625rem
}

.breadcrumb {
    margin: 2.5rem 0
}

.product {
    margin-bottom: 120px;
}

.product__box {
    display: grid;
    gap: 2.5rem;
    grid-template-columns:1fr 1fr;
    align-items: start;
}

.product__images {
    display: grid;
    gap: 1.25rem;
    grid-template-columns:repeat(2, 1fr)
}

.product__images-item img {
    border-radius: .5rem;
    width: 100%;
    height: 100%;
}


.product__title {
    align-items: center;
    color: #2f2f2f;
    display: flex;
    font-size: 2rem;
    font-weight: 600;
    justify-content: space-between;
    line-height: 2.5rem;
    margin-bottom: .5rem
}

.product__price {
    color: #575757;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    margin-bottom: .25rem
}

.product__sale {
    color: #0f4d9e;
    font-size: 1rem;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 1.5rem
}

.product__btn-add {
    background-color: #552f24;
    color: #fbf5ec
}

.product__btn-add, .product__btn-popup {
    border-radius: .5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin-bottom: .625rem;
    padding: .75rem 1.5rem;
    text-align: center;
    display: block;
    width: 100%;
}

.product__btn-popup {
    background-color: transparent;
    border: .0625rem solid #393435;
    color: #552f24
}

.product__attributes .variations {
    width: 100%;
}

.product__attributes .variations tr {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 24px;
}

.product__attributes .variations .label {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #575757;
    margin-bottom: 8px;
    display: block;
}

.variable-item {
    background-color: transparent !important;
    color: #393435 !important;
    font-size: 14px !important;
}

.product__hint {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #575757;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product__attributes .variations tr:first-child {
    display: block;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

}

.product__images-indicators {
    display: none;
}


@media (max-width: 47.99875rem) {
    .product {
        margin-bottom: 40px;
    }
    .product__box {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: normal;
    }

    .product__info {
        display: contents;
    }

    /* Заголовок, цена, скидка - первыми */
    .product__title {
        order: 1;
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .product__price {
        order: 2;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .product__sale {
        order: 3;
    }

    /* Фото - вторыми */
    .product__images {
        order: 4;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Атрибуты и кнопки - третьими (после фото) */
    .product__attributes {
        order: 6;
    }

    .product__btn-popup {
        order: 7;
    }

    .spollers {
        order: 8;
        margin-top: 0;
    }

    .breadcrumb {
        margin: 1.5rem 0;
    }


    /* Фото - вторыми */
    .product__images {
        order: 4;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        position: relative;

    }

    .product__images::-webkit-scrollbar {
        display: none;
    }

    .product__images-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        width: 100%;
    }

    .product__images-item img {
        width: 100%;
        display: block;
    }


    /* Индикаторы слайдера */
    .product__images-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
        order: 5;
    }

    .product__images-indicator {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .product__images-indicator.active {
        background-color: #552F24;
    }

    .product__title {
        font-weight: 500;
        font-size: 24px;
        margin-bottom: 10px;
    }
}
