/* Базовый файл стилей обязательно нужен для подгрузки стилей сниппетов. Битрикс. */

.digi-dolyame-product {
    margin-top: -15px !important;
    margin-bottom: 10px !important;
}

.add-to-cart {
    margin-top: -15px !important;
}

/* Базовый стиль для мобильных устройств (1 колонка) */
.catalog-grid__list {
    display: grid;
    gap: 16px;
    padding: 0;
    grid-template-columns: 1fr;
}

/* Планшеты (2 колонки) */
@media screen and (min-width: 768px) {
    .catalog-grid__list {
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Десктопы (3 колонки) */
@media screen and (min-width: 1024px) {
    .catalog-grid__list {
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Большие десктопы */
@media screen and (min-width: 1440px) {
    .catalog-grid__list {
        gap: 24px;
        grid-template-columns: repeat(3, 1fr);
    }
}

.section.animate:last-of-type {
    margin-bottom: 60px;
}

/* ===== Баннер ===== */

.header-banner {
    width: 100%;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 36px;
    overflow: hidden;
}

.header-banner__text-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.header-banner__text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0;
    padding: 2px 0;
    display: block;
    will-change: transform, opacity;
}

#header-banner-link {
    text-decoration: none;
    display: block;
    color: inherit;
}


/* ===== Стрелки в баннере ===== */

.header-banner__nav {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;

    width: auto !important;
    height: auto !important;
    min-width: auto !important;

    padding: 4px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex-shrink: 0;

    opacity: 0.5;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.header-banner__nav:hover {
    opacity: 1;
    transform: scale(1.1);
}

.header-banner__nav:active {
    transform: scale(0.9);
}

.header-banner__nav .button__icon {
    width: 18px !important;
    height: 18px !important;

    color: #fff !important;
    stroke: currentColor !important;
    fill: none !important;
}


/* ===== Адаптив ===== */

@media (max-width: 768px) {

    .header-banner {
        padding: 6px 0;
    }

    .header-banner__container {
        padding: 0 12px;
        gap: 10px;
        min-height: 32px;
    }

    .header-banner__text {
        font-size: 13px;
        line-height: 13px;
        white-space: normal;
    }

    .header-banner__nav .button__icon {
        width: 16px !important;
        height: 16px !important;
    }
}


@media (max-width: 480px) {

    .header-banner {
        padding: 5px 0;
    }

    .header-banner__container {
        padding: 0 8px;
        gap: 8px;
        min-height: 28px;
    }

    .header-banner__text {
        font-size: 11px;
        line-height: 11px;
    }

    .header-banner__nav .button__icon {
        width: 14px !important;
        height: 14px !important;
    }
}


/* ===== Дропдаун корзины ===== */
body:has(.header:not(.is-fixed)) .header-cart-dropdown.js-klmn-cart-dropdown {
    top: var(--banner-height, 40px) !important;
}

/* ===== Мегаменю каталога / бургер-меню ===== */
body:has(.header:not(.is-fixed)) .burger-menu.js-burger-menu {
    top: var(--banner-height, 40px) !important;
}


/* Стили для блока начисляемых бонусов */


.checkout-page__summary-row--bonus-earned {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

/* Стиль для "Начислим бонусов:" */
.checkout-page__bonus-label {
    font-family: TTFirsNeue, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 17.6px;
    color: #0C0C0C;
    margin: 0;
}

/* Стиль для суммы бонусов */
.checkout-page__bonus-value {
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    color: rgba(12, 12, 12, 0.7);
    margin: 0;
}



.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 628 / 350; /* сохраняет пропорции родного видео */
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.player-container__video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* На мобильных можно скорректировать пропорции, если 628/350 смотрится слишком широко/узко */
@media (max-width: 768px) {
    .player-container {
        aspect-ratio: 16 / 9; /* или 4/3, подберите под контент */
    }
}

.player-container {
    width: calc(100% - 30px); /* 15px с каждой стороны */
    margin: 0 auto;
    aspect-ratio: 628 / 350;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.player-container__video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-container {
    width: calc(100% - 30px);
    margin: 24px auto; /* верхний/нижний отступ + авто-центрирование по бокам */
    aspect-ratio: 628 / 350;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
  outline: none;
  box-shadow: inset 0 0 0 1px #ccc;
}

@media screen and (min-width: 1080px) {
  .product-card--out-of-stock:hover {
    background-color: #fff; /* было rgb(223, 223, 223) */
  }
}

@media screen and (min-width: 1080px) {
  .product-page__actions {
    margin-bottom: 20px; /* было 40px */
  }
}




.intro__picture {
    display: block;
}



    .intro__picture {
        display: none;
    }
}


.intro__video--desktop {
    display: block;
}

.intro__video--mobile {
    display: none;
}

.intro__picture {
    display: none;
}

@media (max-width: 767px) {
    .intro__video--desktop {
        display: none;
    }

    .intro__video--mobile {
        display: block;
    }
}

.product-page__images-grid .product-card:hover {
  box-shadow: none;
}

/* ===== Чекаут: цена со скидкой ===== */
.checkout-page .checkout-order-row__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.checkout-page .checkout-order-row__price .checkout-price__old {
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: rgba(12, 12, 12, 0.45);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
    margin: 0;
}

.checkout-page .checkout-order-row__price .checkout-price__current {
    font-family: TTFirsNeue, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
    color: #75410d;
    white-space: nowrap;
}

.checkout-page .checkout-order-row__price .checkout-price__current--sale {
    color: #75410c;
}

/* ===== Итоги: старая сумма и строка «Скидка» ===== */
.checkout-page__summary-row dd .checkout-price__old,
.js-checkout-products-total-old {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: rgba(12, 12, 12, 0.45);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.js-checkout-products-total-old.is-hidden,
.js-checkout-discount-row.is-hidden {
    display: none;
}

.checkout-page__summary-discount {
    color: #75410c;
}

/* ===== Дропдаун корзины: цены со скидкой ===== */

/* Старая цена — блоком над новой, прижата вправо */
.header-cart-dropdown__price-old {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: rgba(12, 12, 12, 0.45);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
    text-align: right;
    margin-bottom: 2px;
}

.header-cart-dropdown__price-current {
    white-space: nowrap;
}

.header-cart-dropdown__price-current.is-sale {
    color: #75410c;
}

/* «Итого»: старая сумма над текущей */
.header-cart-dropdown__summary-total-value .header-cart-dropdown__price-old {
    font-size: 14px;
}

/* «1 шт:» — старая цена за штуку */
.header-cart-dropdown__products-item-one-price s {
    margin-right: 2px;
}


<!-- Стили и скрипт для аккордеона -->

 .faq-accordion {
        margin-top: 20px;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #e8ddd6;
    }
    
    .faq-item {
        border-bottom: 1px solid #e8ddd6;
    }
    
    .faq-item:last-child {
        border-bottom: none;
    }
    
    .faq-question {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 24px;
        background: #f9f3f0;
        border: none;
        cursor: pointer;
        font-family: Manrope, sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #75410d;
        text-align: left;
        transition: background 0.2s ease;
        gap: 16px;
    }
    
    .faq-question:hover {
        background: #f3ebe6;
    }
    
    .faq-question .faq-icon {
        font-size: 24px;
        font-weight: 300;
        color: #75410d;
        flex-shrink: 0;
        transition: transform 0.3s ease;
        line-height: 1;
    }
    
    .faq-question.active .faq-icon {
        transform: rotate(45deg);
    }
    
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        background: transparent; /* было: #ffffff */
        padding: 0 24px;
    }
    
    .faq-answer.open {
        max-height: 500px;
        padding: 18px 24px 24px;
    }
    
    .faq-answer p {
        margin: 0;
        color: #75410d;
        font-size: 15px;
        line-height: 1.6;
    }