/*
 * ============================================================
 * MAIDA — ОСНОВНЫЕ СТИЛИ САЙТА
 * ============================================================
 * Для поиска в VS Code: Ctrl + F → название раздела или класс.
 * Порядок правил сохранён из загруженной вёрстки, чтобы
 * адаптивные стили не конфликтовали с основными.
 *
 * ЧТО И ГДЕ МЕНЯТЬ:
 *   Цвета                 :root
 *   Верхняя панель        .site-header, .logo, .head-right
 *   Первый экран          .hero
 *   Быстрые ссылки        .summary
 *   Каталог               .catalog, .section-title
 *   Карточки              .product, .product-visual, .product-copy
 *   Цены                  .price, .price-note
 *   Появление при скролле .js-reveal .reveal
 *   Мобильная версия      @media (max-width: 600px)
 */


/* ==========================================================
   01. ОБЩИЕ СТИЛИ И CSS-ПЕРЕМЕННЫЕ
   ========================================================== */

:root {
    color-scheme: dark;
    --bg: #0c090b;
    --hero: #1a0a10;
    --card: #171114;
    --deep: #1c1015;
    --wine: #8d2442;
    --wine-light: #e44b6a;
    --white: #fff8f3;
    --muted: #baa8ad;
    --line: #38272c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font: 400 15px/1.6 "Manrope",system-ui,sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px,calc(100% - 80px));
    margin: 0 auto;
}


/* ==========================================================
   02. ШАПКА САЙТА — ЛОГОТИП И МЕНЮ
   ========================================================== */

.site-header {
    height: 70px;
    background: rgba(17,8,12,.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid #ffffff13;
    position: fixed;
    z-index: 20;
    top: 0;
    width: 100%;
}

.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font: 600 31px/1 "Oswald",Impact,sans-serif;
    letter-spacing: .13em;
}

.logo span {
    color: var(--wine-light);
}

.logo small {
    display: block;
    font: 800 8px/1 "Manrope",sans-serif;
    letter-spacing: .2em;
    color: #c5a9b0;
    margin-top: 8px;
}

.head-right {
    display: flex;
    gap: 30px;
    align-items: center;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .16em;
}

.head-right a:hover {
    color: #f07189;
}

.head-right .outline {
    border: 1px solid #684250;
    padding: 12px 18px;
    border-radius: 9%;
}


/* ==========================================================
   03. ПЕРВЫЙ ЭКРАН — HERO И КНОПКА КАТАЛОГА
   ========================================================== */

.hero {
    min-height: 100svh;
    min-height: max(670px,100svh);
    display: flex;
    align-items: center;
    position: relative;
    background: #1a0a10;
    padding: 130px 0 90px;
}

.hero-inner {
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f27c95;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.eyebrow:before {
    content: "";
    display: inline-block;
    width: 31px;
    height: 1px;
    background: #d14b67;
}

.hero h1 {
    font: 600 clamp(100px,17vw,215px)/.94 "Oswald",Impact,sans-serif;
    letter-spacing: .025em;
    margin: 20px 0 25px;
}

.hero h1 em {
    color: #e54966;
    font-style: normal;
}

.hero h2 {
    font: 600 clamp(35px,5vw,67px)/1.12 "Oswald",sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
    max-width: 820px;
    margin: 0 0 25px;
}

.hero p {
    max-width: 450px;
    color: #c7adb6;
    line-height: 1.95;
    font-size: 13px;
    margin: 0 0 35px;
}

.cta {
    display: inline-flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    background: var(--wine);
    padding: 17px 22px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .2s,transform .2s;
}

.cta:hover {
    background: #b23354;
    transform: translateY(-2px);
}

.cta span {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    color: #977781;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 800;
}

.scroll-hint .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scroll-hint .line {
    width: 22px;
    height: 1px;
    background: #8f6a75;
}


/* ==========================================================
   04. БЫСТРЫЕ ССЫЛКИ НА ТОВАРЫ
   ========================================================== */

.summary {
    background: #130d10;
    border-block: 1px solid var(--line);
}

.summary .container {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.summary a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 27px 22px;
    border-right: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: .04em;
    font-weight: 800;
    text-transform: uppercase;
    color: #c9b5bb;
}

.summary a:first-child {
    padding-left: 0;
}

.summary a:last-child {
    border: 0;
}

.summary strong {
    font: 600 30px/1 "Oswald",sans-serif;
    color: #b83c5a;
}

.summary a:hover {
    color: white;
}


/* ==========================================================
   05. ЗАГОЛОВОК КАТАЛОГА
   ========================================================== */

.catalog {
    padding: 108px 0 100px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 47px;
}

.section-title h2 {
    font: 600 clamp(48px,7vw,91px)/1.1 "Oswald",sans-serif;
    letter-spacing: .015em;
    text-transform: uppercase;
    margin: 12px 0 0;
}

.section-title h2 span {
    color: #c33a56;
}

.section-title p {
    max-width: 340px;
    color: #aa969e;
    font-size: 12px;
    line-height: 1.9;
    margin: 0 0 5px;
}


/* ==========================================================
   06. КАРТОЧКИ ТОВАРОВ — ФОТО, ЦЕНЫ И КНОПКИ
   ========================================================== */

.product {
    display: grid;
    grid-template-columns: 1.07fr 1fr;
    background: var(--card);
    border: 1px solid #30232a;
    min-height: 550px;
    margin-bottom: 20px;
    overflow: hidden;
}

.product:nth-of-type(even) .product-visual {
    order: 2;
}

.product:nth-of-type(even) .product-copy {
    order: 1;
}

.product-visual {
    position: relative;
    min-width: 0;
    background: #170d12;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 550px;
}

.product-visual img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.product:hover .product-visual img {
    transform: scale(1.035);
}

.image-kicker {
    position: absolute;
    top: 23px;
    left: 23px;
    padding: 10px 13px;
    border: 1px solid #ffffff33;
    background: #14090dc4;
    color: #ffe3e9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.view-original {
    position: absolute;
    bottom: 20px;
    left: 22px;
    background: rgba(14,7,9,.88);
    border: 1px solid #935368;
    color: #fff;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    display: flex;
    gap: 14px;
}

.view-original:hover {
    background: #792943;
}

.product-copy {
    padding: clamp(34px,5vw,77px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.item-number {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 10px;
    color: #e45573;
    font-weight: 800;
    letter-spacing: .15em;
}

.small-line {
    height: 1px;
    width: 27px;
    background: #a13a52;
}

.product h3 {
    font: 600 clamp(48px,5vw,72px)/1.12 "Oswald",sans-serif;
    text-transform: uppercase;
    letter-spacing: .007em;
    margin: 18px 0 20px;
}

.desc {
    color: #bba9ad;
    max-width: 390px;
    font-size: 12px;
    line-height: 1.9;
    margin: 0 0 25px;
}

.price-rule {
    width: 58px;
    height: 2px;
    background: #bd3754;
    margin: 0 0 24px;
}

.price-note {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    color: #a28a92;
}

.price {
    font: 600 clamp(48px,5vw,69px)/1 "Oswald",sans-serif;
    margin: 12px 0 9px;
    white-space: nowrap;
}

.price span {
    font: 600 14px "Manrope",sans-serif;
    color: #d6c1c7;
}

.disclaimer {
    font-size: 10px;
    color: #a18b92;
    margin: 0 0 23px;
}

.ask-button {
    border: 1px solid #824359;
    background: transparent;
    color: #ffe9ee;
    padding: 13px 18px;
    display: flex;
    gap: 24px;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .1em;
    font-weight: 800;
}

.ask-button:hover {
    background: #7c2542;
}


/* ==========================================================
   07. БЛОК ЗАКАЗА И ПОДВАЛ
   ========================================================== */

.end-section {
    background: #210d16;
    border-block: 1px solid #512333;
    padding: 76px 0 87px;
    text-align: center;
}

.end-section h2 {
    font: 600 clamp(44px,6vw,79px)/1.05 "Oswald",sans-serif;
    text-transform: uppercase;
    margin: 16px 0 16px;
}

.end-section p {
    font-size: 12px;
    line-height: 2;
    color: #d2bec4;
    max-width: 620px;
    margin: 0 auto 28px;
}

.end-section .eyebrow:before {
    display: none;
}

.footer {
    padding: 35px 0;
    background: #090709;
}

.footer .container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    max-width: 550px;
    font-size: 10px;
    color: #9c8790;
    line-height: 1.75;
}


/* ==========================================================
   08. ОКНО УВЕЛИЧЕНИЯ ФОТО И УВЕДОМЛЕНИЯ
   ========================================================== */

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 13px 18px;
    background: #39202b;
    border: 1px solid #ac6078;
    color: white;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s,transform .18s;
    pointer-events: none;
    z-index: 35;
    font-size: 12px;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: #080506eb;
    z-index: 50;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 13px;
    padding: 22px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: min(900px,94vw);
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid #ffffff30;
}

.lightbox .lightbox-caption {
    font-size: 12px;
    color: #dfc6cf;
}

.lightbox .close-lightbox {
    position: absolute;
    right: 20px;
    top: 18px;
    background: #812c47;
    border: 0;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 42px;
    height: 42px;
}


/* ==========================================================
   09. АНИМАЦИЯ ПРИ ПРОКРУТКЕ
   ========================================================== */

.reveal {
    opacity: 1;
    transform: none;
}

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(23px);
    transition: opacity .30s ease-out,transform .30s cubic-bezier(.2,.72,.2,1);
    will-change: opacity,transform;
}

.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* Плавное появление каждой карточки товара при прокрутке. */
.js-reveal .product.reveal {
    transform: translateY(80px);
    transition: opacity 1.8s ease-out, transform .85s cubic-bezier(.2,.72,.2,1);
}

.js-reveal .product.reveal.is-visible {
    transform: translateY(0);
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (max-width:890px)
   ========================================================== */

@media (max-width:890px) {

    .container {
        width: calc(100% - 44px);
    }

    .summary a {
        padding: 17px 12px;
        gap: 8px;
    }

    .summary strong {
        font-size: 25px;
    }

    .summary a span {
        font-size: 9px;
    }

    .product {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product:nth-of-type(even) .product-visual {
        order: 0;
    }

    .product:nth-of-type(even) .product-copy {
        order: 1;
    }

    .product-visual {
        min-height: 0;
    }

    .product-visual img {
        height: 530px;
    }

    .product-copy {
        padding: 38px;
    }

    .section-title {
        display: block;
    }

    .section-title p {
        max-width: 620px;
        margin-top: 18px;
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (max-width:520px)
   ========================================================== */

@media (max-width:520px) {

    .site-header {
        height: 65px;
    }

    .logo {
        font-size: 27px;
    }

    .logo small {
        font-size: 7px;
    }

    .head-right {
        gap: 12px;
        font-size: 9px;
    }

    .head-right .outline {
        display: none;
    }

    .hero {
        padding: 110px 0 105px;
        min-height: 94svh;
    }

    .hero h1 {
        font-size: clamp(85px,22vw,130px);
    }

    .hero h2 {
        font-size: clamp(33px,8.5vw,48px);
    }

    .hero p {
        font-size: 12px;
    }

    .summary .container {
        grid-template-columns: repeat(2,1fr);
    }

    .summary a {
        border-bottom: 1px solid var(--line);
    }

    .summary a:nth-child(2) {
        border-right: 0;
    }

    .summary a:nth-child(n/**/+3) {
        border-bottom: 0;
    }

    .summary a:nth-child(3) {
        padding-left: 0;
    }

    .catalog {
        padding: 75px 0 58px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 55px;
    }

    .product {
        margin-bottom: 16px;
    }

    .product-visual img {
        height: 360px;
        object-fit: cover;
    }

    .product-copy {
        padding: 31px 26px 36px;
    }

    .product h3 {
        font-size: clamp(45px,12.6vw,60px);
        margin: 14px 0 18px;
    }

    .product h3 br {
        display: block;
    }

    .price {
        font-size: 54px;
    }

    .view-original {
        font-size: 9px;
        bottom: 14px;
        left: 14px;
    }

    .image-kicker {
        left: 14px;
        top: 14px;
    }

    .end-section {
        padding: 65px 0 70px;
    }

    .footer .container {
        display: block;
    }

    .footer p {
        margin-top: 21px;
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (prefers-reduced-motion:reduce)
   ========================================================== */

@media (prefers-reduced-motion:reduce) {

    html {
        scroll-behavior: auto;
    }

    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .product-visual img {
        transition: none;
    }
}


/* ==========================================================
   01. ОБЩИЕ СТИЛИ И CSS-ПЕРЕМЕННЫЕ
   ========================================================== */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(76px + env(safe-area-inset-top,0px));
}

body {
    min-width: 0;
}

button,a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button:focus-visible,a:focus-visible {
    outline: 2px solid #ff9ab0;
    outline-offset: 4px;
}


/* ==========================================================
   06. КАРТОЧКИ ТОВАРОВ — ФОТО, ЦЕНЫ И КНОПКИ
   ========================================================== */

.product,.product-copy,.product-visual,.section-title,.hero-inner {
    min-width: 0;
}

.product h3 .lead-word {
    display: inline-block;
    font-size: .67em;
    line-height: 1.2;
    letter-spacing: .005em;
    white-space: nowrap;
    max-width: 100%;
}

.product {
    scroll-margin-top: calc(82px + env(safe-area-inset-top,0px));
}


/* ==========================================================
   02. ШАПКА САЙТА — ЛОГОТИП И МЕНЮ
   ========================================================== */

.site-header {
    padding-top: env(safe-area-inset-top,0px);
    height: calc(70px + env(safe-area-inset-top,0px));
}


/* ==========================================================
   03. ПЕРВЫЙ ЭКРАН — HERO И КНОПКА КАТАЛОГА
   ========================================================== */

.hero {
    padding-top: calc(130px + env(safe-area-inset-top,0px));
}


/* ==========================================================
   06. КАРТОЧКИ ТОВАРОВ — ФОТО, ЦЕНЫ И КНОПКИ
   ========================================================== */

.product-visual img {
    object-position: center center;
}


/* ==========================================================
   08. ОКНО УВЕЛИЧЕНИЯ ФОТО И УВЕДОМЛЕНИЯ
   ========================================================== */

.lightbox {
    padding: calc(16px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px));
}

.lightbox .close-lightbox {
    top: calc(14px + env(safe-area-inset-top,0px));
    right: 15px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
}

.toast {
    bottom: calc(16px + env(safe-area-inset-bottom,0px));
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (min-width:891px) and (max-width:1120px)
   ========================================================== */

@media (min-width:891px) and (max-width:1120px) {

    .container {
        width: calc(100% - 64px);
    }

    .product {
        min-height: 490px;
    }

    .product-visual {
        min-height: 490px;
    }

    .product-visual img {
        height: 490px;
    }

    .product-copy {
        padding: 38px;
    }

    .product h3 {
        font-size: clamp(42px,4.6vw,62px);
    }

    .price {
        font-size: clamp(46px,5vw,65px);
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (max-width:890px)
   ========================================================== */

@media (max-width:890px) {

    .site-header {
        height: calc(68px + env(safe-area-inset-top,0px));
    }

    .head-inner {
        gap: 14px;
    }

    .hero {
        min-height: min(760px,100svh);
        padding: calc(116px + env(safe-area-inset-top,0px)) 0 94px;
    }

    .hero h1 {
        font-size: clamp(100px,17vw,160px);
    }

    .product {
        border-radius: 12px;
        overflow: hidden;
    }

    .product-visual {
        background: #120b0e;
        min-height: 0;
    }

    .product-visual img {
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        max-height: 600px;
    }

    .product-copy {
        padding: 36px 38px 43px;
    }

    .summary .container {
        padding: 0;
    }

    .section-title p {
        max-width: 580px;
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (max-width:600px)
   ========================================================== */

@media (max-width:600px) {

    .container {
        width: calc(100% - 32px);
    }

    .site-header {
        height: calc(64px + env(safe-area-inset-top,0px));
    }

    .logo {
        font-size: 27px;
        letter-spacing: .115em;
        white-space: nowrap;
    }

    .logo small {
        font-size: 7px;
        letter-spacing: .18em;
        margin-top: 6px;
    }

    .head-right {
        gap: 0;
        font-size: 11px;
        letter-spacing: .035em;
    }

    .head-right a:not(.outline) {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 11px;
        border: 1px solid #56323e;
        border-radius: 6px;
    }

    .head-right .outline {
        display: none;
    }

    .hero {
        min-height: 100svh;
        min-height: 100dvh;
        padding: calc(100px + env(safe-area-inset-top,0px)) 0 calc(85px + env(safe-area-inset-bottom,0px));
        align-items: center;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: .14em;
        gap: 8px;
    }

    .eyebrow:before {
        width: 21px;
    }

    .hero h1 {
        font-size: clamp(78px,23.5vw,110px);
        margin: 20px 0 22px;
        letter-spacing: .015em;
        line-height: .93;
    }

    .hero h2 {
        font-size: clamp(32px,8.8vw,46px);
        line-height: 1.14;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.75;
        max-width: 360px;
        margin-bottom: 28px;
    }

    .cta {
        min-height: 52px;
        padding: 13px 17px;
        gap: 12px;
        max-width: 100%;
        width: min(100%,350px);
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: .08em;
    }

    .cta span {
        font-size: 21px;
    }

    .scroll-hint {
        bottom: calc(19px + env(safe-area-inset-bottom,0px));
        font-size: 9px;
    }

    .summary .container {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .summary a,.summary a:first-child,.summary a:nth-child(3) {
        min-height: 77px;
        padding: 15px 12px;
        gap: 10px;
    }

    .summary a:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .summary a:nth-child(even) {
        border-right: 0;
    }

    .summary a:nth-child(-n/**/+2) {
        border-bottom: 1px solid var(--line);
    }

    .summary strong {
        font-size: 26px;
    }

    .summary a span {
        font-size: 10px;
        letter-spacing: .035em;
    }

    .catalog {
        padding: 61px 0 68px;
    }

    .section-title {
        margin-bottom: 24px;
    }

    .section-title h2 {
        font-size: clamp(42px,11vw,63px);
        line-height: 1.05;
        overflow-wrap: break-word;
    }

    .section-title p {
        font-size: 12px;
        margin-top: 15px;
        line-height: 1.7;
    }

    .product {
        margin-bottom: 16px;
    }

    .product-visual img {
        height: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        max-height: none;
        display: block;
    }

    .image-kicker {
        left: 12px;
        top: 12px;
        padding: 8px 9px;
        font-size: 8px;
        letter-spacing: .11em;
        border-radius: 4px;
    }

    .view-original {
        min-height: 44px;
        left: 12px;
        bottom: 12px;
        right: auto;
        border-radius: 5px;
        font-size: 10px;
        line-height: 1.2;
        padding: 11px 12px;
        align-items: center;
    }

    .product-copy {
        padding: 27px 22px 30px;
    }

    .item-number {
        font-size: 10px;
    }

    .product h3 {
        font-size: clamp(41px,11.5vw,56px);
        line-height: 1.09;
        margin: 14px 0 15px;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .desc {
        font-size: 13px;
        line-height: 1.73;
        margin-bottom: 22px;
    }

    .price-rule {
        margin-bottom: 19px;
    }

    .price-note {
        font-size: 10px;
    }

    .price {
        font-size: clamp(43px,12vw,57px);
        margin: 10px 0 7px;
        line-height: 1.14;
    }

    .price span {
        font-size: 13px;
    }

    .disclaimer {
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .ask-button {
        min-height: 48px;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        line-height: 1.3;
        padding: 12px 14px;
        border-radius: 6px;
        font-size: 10px;
    }

    .end-section {
        padding: 57px 0 63px;
    }

    .end-section h2 {
        font-size: clamp(40px,10.8vw,58px);
        line-height: 1.1;
    }

    .end-section p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .end-section .cta {
        width: 100%;
    }

    .footer {
        padding: 31px 0 calc(34px + env(safe-area-inset-bottom,0px));
    }

    .footer p {
        font-size: 11px;
        line-height: 1.7;
    }

    .lightbox img {
        width: auto;
        max-width: 100%;
        max-height: 72dvh;
        object-fit: contain;
    }

    .lightbox .lightbox-caption {
        max-width: 95%;
        text-align: center;
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (max-width:350px)
   ========================================================== */

@media (max-width:350px) {

    .container {
        width: calc(100% - 28px);
    }

    .head-right {
        font-size: 10px;
    }

    .head-right a:not(.outline) {
        padding: 0 8px;
    }

    .hero h1 {
        font-size: clamp(73px,23vw,83px);
    }

    .hero h2 {
        font-size: clamp(30px,8.8vw,36px);
    }

    .section-title h2 {
        font-size: 43px;
    }

    .product-copy {
        padding: 24px 18px 28px;
    }

    .product h3 {
        font-size: clamp(38px,11.5vw,45px);
    }

    .price {
        font-size: 46px;
    }

    .summary a span {
        font-size: 9px;
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (max-height:650px) and (max-width:600px)
   ========================================================== */

@media (max-height:650px) and (max-width:600px) {

    .hero {
        min-height: 620px;
    }

    .scroll-hint {
        bottom: 10px;
    }
}


/* ==========================================================
   11. АДАПТАЦИЯ И ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ — (prefers-reduced-motion:reduce)
   ========================================================== */

@media (prefers-reduced-motion:reduce) {

    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==========================================================
   12. ПРОВЕРЕННЫЕ УТОЧНЕНИЯ ДЛЯ ФОТО УПАКОВОК
   ========================================================== */
/* На загруженных фото упаковка занимает квадрат целиком.
   object-fit: contain предотвращает обрезание краёв пакета. */
.product-visual img {
    object-fit: contain;
    object-position: center;
}
@media (max-width: 600px) {
    /* На узком экране карточка остаётся вертикальной. */
    .product-visual img {
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }
}
.summary .st {
    font-size: 13px;
}

/* ==========================================================
   13. КОНТАКТЫ: НОМЕР WHATSAPP И ССЫЛКА НА ЧАТ
   ========================================================== */
/* Поменять номер в ссылке можно в index.html, раздел 08. */
.contact-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 26px;
    padding: 18px 24px;
    background: rgba(9, 5, 7, 0.28);
    border: 1px solid #8b4a60;
    border-radius: 9px;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.contact-phone:hover,
.contact-phone:focus-visible {
    border-color: #25D366;;
    background: #25D366;
    transform: translateY(-2px);
}
.contact-number {
    font: 600 clamp(26px, 4.2vw, 45px)/1.18 'Oswald', Impact, sans-serif;
    color: #fff5f7;
    letter-spacing: .025em;
    white-space: nowrap;
}
.contact-action {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #f6a7b8;
}
.contact-copy {
    margin: 0 auto;
}

/* На телефонах обе ссылки меню должны оставаться доступными. */
@media (max-width: 600px) {
    .head-right {
        display: flex;
        flex-shrink: 1;
        gap: 5px;
    }
    .head-right .outline {
        display: inline-flex; /* отменяем старое display:none */
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 9px;
        border: 1px solid #684250;
        border-radius: 6px;
    }
    .head-right a:not(.outline) {
        padding-left: 9px;
        padding-right: 9px;
    }
    .contact-phone {
        width: 100%;
        padding: 17px 12px;
    }
}
@media (max-width: 350px) {
    .logo { font-size: 22px; }
    .head-inner { gap: 6px; }
    .head-right { font-size: 9px; letter-spacing: 0; }
    .head-right .outline { padding: 0 6px; }
    .head-right a:not(.outline) { padding: 0 6px; }
    .contact-number { font-size: 27px; }
}

/* ==========================================================
   14. ФОНОВАЯ ФОТОГРАФИЯ HERO — ГРИЛЬ (НОВЫЙ ФОН)
   ==========================================================
   КАК ПОМЕНЯТЬ КАРТИНКУ:
   1. Положи новое фото в папку assets.
   2. Замени название hero-grill.jpg ниже.
   3. background-position меняет положение фотографии.
   4. Числа rgba(..., 0.93) и другие регулируют ЗАТЕМНЕНИЕ:
      0 = прозрачный слой, 1 = максимально темный.
   Фон заполняет экран, текст и кнопки остаются сверху.
*/
.hero {
    background-color: #17080e;
    background-image:
        linear-gradient(90deg,
            rgba(17, 6, 10, 0.92) 0%,
            rgba(17, 6, 10, 0.80) 36%,
            rgba(17, 6, 10, 0.47) 72%,
            rgba(17, 6, 10, 0.26) 100%),
        url('../assets/hero-grill.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 52%;
}

/* На телефоне текст затемняется сильнее, чтобы был читаемым. */
@media (max-width: 600px) {
    .hero {
        background-image:
            linear-gradient(180deg,
                rgba(17, 6, 10, 0.66) 0%,
                rgba(17, 6, 10, 0.72) 36%,
                rgba(17, 6, 10, 0.74) 76%,
                rgba(17, 6, 10, 0.87) 100%),
            url('../assets/hero-grill.jpg');
        background-position: 54% center;
    }
}


/* ==========================================================
   15. ЖИВОЙ HERO — ПЛАВНОЕ ДЫХАНИЕ ФОНОВОЙ ФОТОГРАФИИ
   ==========================================================
   Фото прежнее: assets/hero-grill.jpg
   Длительность эффекта: 18s в animation.
   Масштаб: scale(1.055) в @keyframes maida-hero-breathe.
   Затемнение: rgba(...) внутри .hero::before.
   ========================================================== */
.hero {
    isolation: isolate;
    overflow: hidden;
    background-color: #17080e;
    background-image: none; /* Фото теперь находится в отдельном анимируемом слое. */
}
.hero::before {
    content: "";
    position: absolute;
    inset: -1.5%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg,
            rgba(17, 6, 10, .92) 0%,
            rgba(17, 6, 10, .80) 36%,
            rgba(17, 6, 10, .47) 72%,
            rgba(17, 6, 10, .26) 100%),
        url('../assets/hero-grill.jpg');
    background-size: cover;
    background-position: center 52%;
    background-repeat: no-repeat;
    transform: scale(1);
    transform-origin: center center;
    animation: maida-hero-breathe 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes maida-hero-breathe {
    from { transform: scale(1); }
    to   { transform: scale(1.055); }
}
.hero-inner, .scroll-hint {
    z-index: 1; /* Слоган и кнопки всегда поверх фото. */
}

/* Текст первого экрана входит в кадр по очереди один раз. */
.hero-inner .eyebrow,
.hero-inner h1,
.hero-inner h2,
.hero-inner p,
.hero-inner .cta {
    animation: maida-hero-enter .72s cubic-bezier(.2,.75,.25,1) both;
}
.hero-inner .eyebrow { animation-delay: .08s; }
.hero-inner h1      { animation-delay: .18s; }
.hero-inner h2      { animation-delay: .30s; }
.hero-inner p       { animation-delay: .42s; }
.hero-inner .cta    { animation-delay: .54s; }
@keyframes maida-hero-enter {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .hero { background-image: none; }
    .hero::before {
        background-image:
            linear-gradient(180deg,
                rgba(17, 6, 10, .66) 0%,
                rgba(17, 6, 10, .72) 36%,
                rgba(17, 6, 10, .74) 76%,
                rgba(17, 6, 10, .87) 100%),
            url('../assets/hero-grill.jpg');
        background-position: 54% center;
    }
}

/* ==========================================================
   16. ПОЭТАПНОЕ ПОЯВЛЕНИЕ КАРТОЧЕК ТОВАРОВ
   ==========================================================
   Время анимации: transition-duration .45s–.58s.
   Интервалы: transition-delay .08s, .15s, .24s и т.д.
   Если JavaScript отключён, товары видны без задержек.
   ========================================================== */
.js-reveal .product.reveal {
    transform: translateY(44px);
    transition: opacity .50s ease-out, transform .58s cubic-bezier(.17,.72,.24,1);
}
.js-reveal .product.reveal.is-visible { transform: none; }
.js-reveal .product.reveal .product-visual {
    transition: opacity .48s ease-out, transform .55s cubic-bezier(.2,.7,.2,1);
    transition-delay: .04s;
}
.js-reveal .product.reveal:not(.is-visible) .product-visual {
    opacity: .45;
    transform: translateX(-13px) scale(.98);
}
.js-reveal .product.reveal .product-copy > * {
    transition: opacity .44s ease, transform .49s cubic-bezier(.2,.7,.2,1);
}
.js-reveal .product.reveal:not(.is-visible) .product-copy > * {
    opacity: 0;
    transform: translateY(18px);
}
.js-reveal .product.reveal.is-visible .item-number { transition-delay: .10s; }
.js-reveal .product.reveal.is-visible h3           { transition-delay: .17s; }
.js-reveal .product.reveal.is-visible .desc        { transition-delay: .24s; }
.js-reveal .product.reveal.is-visible .price-rule  { transition-delay: .29s; }
.js-reveal .product.reveal.is-visible .price-note  { transition-delay: .34s; }
.js-reveal .product.reveal.is-visible .price       { transition-delay: .39s; }
.js-reveal .product.reveal.is-visible .ask-button { transition-delay: .46s; }

/* ==========================================================
   17. ФОТО: ДЕЛИКАТНОЕ УВЕЛИЧЕНИЕ И УДОБНЫЙ КЛИК
   ==========================================================
   Коэффициент масштаба при наведении: 1.045 (4.5%).
   На устройствах с сенсорным экраном hover не используется.
   Клик по фото / кнопке открывает полноэкранный просмотр.
   ========================================================== */
.product-visual img {
    cursor: zoom-in;
    transition: transform .58s cubic-bezier(.2,.78,.22,1);
}
@media (hover: hover) and (pointer: fine) {
    .product:hover .product-visual img,
    .product-visual img:focus-visible { transform: scale(1.045); }
}
.product-visual img:focus-visible,
.summary a:focus-visible,
.ask-button:focus-visible,
.view-original:focus-visible {
    outline: 2px solid #f17a95;
    outline-offset: -3px;
}

@media (hover: none) {
    /* Старый эффект :hover отключаем на сенсорных экранах. */
    .product:hover .product-visual img { transform: none; }
}

/* ==========================================================
   18. ЦЕНА: ОДНОКРАТНАЯ ПОДСВЕТКА ПРИ ПОЯВЛЕНИИ
   ==========================================================
   Здесь нет бесконечного мигания — только один мягкий акцент.
   Длительность: .95s, задержка: .58s.
   ========================================================== */
.js-reveal .product.is-visible .price {
    animation: maida-price-glow .95s ease .58s 1 both;
}
@keyframes maida-price-glow {
    0%, 100% { color: #fff8f3; text-shadow: 0 0 0 transparent; }
    45%      { color: #ffe6ed; text-shadow: 0 0 24px rgba(229,73,102,.43); }
}

/* ==========================================================
   19. WHATSAPP — ЖИВАЯ КНОПКА ЗАКАЗА
   ==========================================================
   Ссылка и готовый текст расположены в index.html в товаре.
   Номер +7 938 889-46-76: ссылка начинается с wa.me/79388894676.
   ========================================================== */
.ask-button {
    text-decoration: none;
    border-color: #9a4860;
    transition: background .18s, border-color .18s, transform .18s;
}
.ask-button:hover {
    background: #008f18;
    border-color: #008f18;
    transform: translateY(-2px);
}
.ask-button span {
    transition: transform .22s ease;
    
}
.ask-button:hover span { transform: translate(2px,-2px); }

/* ==========================================================
   20. ОБЫЧНОЕ МЕНЮ (БЕЗ ЗАКРЕПЛЕНИЯ) + АКТИВНЫЙ ТОВАР
   ==========================================================
   Меню НЕ закрепляется: при прокрутке уходит вверх вместе со страницей.
   Активный пункт подсвечивается классом is-active из JS.
   На смартфоне четыре пункта расположены в сетке 2 × 2.
   ========================================================== */
.summary {
    position: static; /* Обычное меню без sticky; прокручивается со страницей. */
    background: #130d10;
}
.summary a {
    position: relative;
    transition: color .22s ease, background .22s ease;
}
.summary a::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
    height: 2px;
    background: #ed5273;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.summary a.is-active {
    background: rgba(132,34,65,.25);
    color: #fff7f9;
}
.summary a.is-active strong { color: #f16c89; }
.summary a.is-active::after { transform: scaleX(1); }
html { scroll-padding-top: 82px; }
.product, .end-section, .catalog { scroll-margin-top: 82px; }
@media (max-width: 600px) {
    /* Мобильное меню: 2 × 2, как на скриншоте. */
    .summary .container {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        width: calc(100% - 28px);
    }
    .summary a, .summary a:first-child, .summary a:nth-child(3) {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 9px;
        min-height: 72px;
        height: auto;
        padding: 15px 12px;
        border: 0;
    }
    .summary a:nth-child(odd) { border-right: 1px solid var(--line); }
    .summary a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .summary strong { display: inline; font-size: 26px; }
    .summary a .st {
        font-size: clamp(10px,3vw,13px);
        line-height: 1.2;
        letter-spacing: .035em;
    }
    .summary a::after { left: 12px; right: 12px; }
    html { scroll-padding-top: 76px; }
    .product, .end-section, .catalog { scroll-margin-top: 76px; }
}

/* ==========================================================
   21. ДОСТУПНОСТЬ: БЕЗ АНИМАЦИЙ ПО ЗАПРОСУ СИСТЕМЫ
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero::before,
    .hero-inner .eyebrow,
    .hero-inner h1,
    .hero-inner h2,
    .hero-inner p,
    .hero-inner .cta,
    .js-reveal .product.is-visible .price { animation: none !important; }
    .js-reveal .product.reveal,
    .js-reveal .product.reveal .product-visual,
    .js-reveal .product.reveal .product-copy > *,
    .product-visual img,
    .summary a, .summary a::after { transition: none !important; }
    .js-reveal .product.reveal,
    .js-reveal .product.reveal .product-visual,
    .js-reveal .product.reveal .product-copy > * {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* ==========================================================
   22. АНИМАЦИЯ НА ТЕЛЕФОНЕ — ЗАМЕТНЕЕ И БЕЗ ПЕРЕГРУЗКИ
   ==========================================================
   Почему раньше движение было почти незаметно:
   - фон увеличивался только на 5,5% за 18 секунд;
   - карточки появлялись только один раз;
   - на сенсорном экране нет события наведения мыши.

   Настройки мобильной версии:
   - Живой фон: 11s, увеличение до 1.12 (12%).
   - Карточки: подъём на 60px и поочерёдное появление.
   - JS возвращает анимацию карточки при повторной прокрутке.
   - При включённой настройке «Уменьшение движения»
     анимации остаются отключёнными (важно для комфорта).
   ========================================================== */
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
    .hero::before {
        animation: maida-hero-mobile-pan 11s ease-in-out infinite alternate;
        transform-origin: 55% 50%;
    }

    @keyframes maida-hero-mobile-pan {
        from { transform: translate3d(-1.3%, 0, 0) scale(1.02); }
        to   { transform: translate3d(1.3%, -1%, 0) scale(1.12); }
    }

    /* Слоган чуть выразительнее появляется сверху вниз. */
    .hero-inner .eyebrow,
    .hero-inner h1,
    .hero-inner h2,
    .hero-inner p,
    .hero-inner .cta {
        animation-duration: .82s;
    }

    /* Карточка заходит с небольшим смещением вверх. */
    .js-reveal .product.reveal {
        transform: translateY(60px);
        transition: opacity .56s ease-out, transform .72s cubic-bezier(.17,.72,.24,1);
    }
    .js-reveal .product.reveal.is-visible {
        transform: translateY(0);
    }

    /* Сначала само фото, потом название, описание, цена и кнопка. */
    .js-reveal .product.reveal .product-visual {
        transition: opacity .58s ease-out, transform .62s cubic-bezier(.2,.7,.2,1);
        transition-delay: .03s;
    }
    .js-reveal .product.reveal:not(.is-visible) .product-visual {
        opacity: .20;
        transform: translateY(22px) scale(.97);
    }
    .js-reveal .product.reveal .product-copy > * {
        transition: opacity .49s ease, transform .54s cubic-bezier(.2,.7,.2,1);
    }
    .js-reveal .product.reveal:not(.is-visible) .product-copy > * {
        opacity: 0;
        transform: translateY(22px);
    }
    /* Мягкое однократное свечение цены после появления карточки. */
    .js-reveal .product.is-visible .price {
        animation-duration: 1.12s;
        animation-delay: .62s;
    }

    /* На телефоне при касании слегка оживляем фотографию.
       Полный просмотр по нажатию сохраняется. */
    .product-visual img:active {
        transform: scale(1.025);
        transition-duration: .16s;
    }
    .ask-button:active { transform: scale(.985); }
}
.head-right .outline:active,
.head-right .outline:focus {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    transition: all 0.3s ease;
}

