/* ===== Fonts ===== */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ===== Tokens ===== */
:root {
    --ink: #2c1f0e;
    --text: rgba(44, 31, 14, .9);
    --brown: #3d2b10;
    --cream: #faf7f2;
    --sand: #f0eae0;
    --gold: #c49a3c;
    --muted: #7a6248;
    --line: rgba(44, 31, 14, .08);
    --green: #00b67a;
    --radius: 8px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: .06em;
    color: var(--text);
    background: #fff;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: .05em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.page-width { max-width: 1440px; margin: 0 auto; padding: 0 70px; }
.section-pad { padding: 40px 0 52px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brown); color: var(--cream); padding: 12px 24px; border-radius: var(--radius); }
.skip-link:focus { left: 10px; top: 10px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 30px;
    border: 0; border-radius: var(--radius);
    background: var(--brown); color: var(--cream);
    font-weight: 700; letter-spacing: 1px; font-size: 16px;
    transition: background .2s, transform .1s;
}
.btn:hover { background: #2a1d09; }
.btn:active { transform: scale(.99); }
.btn--full { width: 100%; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 0; color: var(--ink);
}
.icon-btn svg { width: 22px; height: 22px; transition: transform .15s; }
.icon-btn:hover svg { transform: scale(1.07); }
.icon-btn:focus { outline: none; }
.icon-btn:focus-visible { outline: 2px solid rgba(44, 31, 14, .5); outline-offset: -4px; border-radius: 4px; }

.only-mobile { display: none; }

/* ===== Announcement ===== */
.announcement {
    background: var(--brown); color: var(--cream);
    text-align: center; padding: 10px 15px;
    font-size: 17px; line-height: 1.3; letter-spacing: 1px;
}

/* ===== Header ===== */
.site-header {
    position: relative; z-index: 40;
    background: #fff; border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    column-gap: 20px; padding-top: 8px; padding-bottom: 8px; min-height: 75px;
}
.site-header__burger { display: none; }
.site-header__nav ul { display: flex; margin-left: -12px; }
.site-header__nav a {
    display: block; padding: 12px; font-size: 14px; line-height: 1.3;
    text-decoration: none; color: var(--text);
}
.site-header__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header__logo { display: block; width: 200px; }
.site-header__logo img { width: 100%; height: auto; }
.site-header__icons { display: flex; justify-content: flex-end; margin-right: -12px; }

/* Search bar */
.search-bar {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 0; animation: drop .2s ease;
}
.search-bar__form { display: flex; align-items: center; gap: 8px; max-width: 880px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Floating label input */
.field { position: relative; display: block; flex: 1; }
.field input {
    width: 100%; height: 46px; padding: 16px 15px 4px;
    border: 1px solid rgba(44, 31, 14, .55); border-radius: 4px;
    font: inherit; font-size: 16px; letter-spacing: .04em; color: var(--ink); background: #fff;
    outline: none;
}
.field input:focus { box-shadow: 0 0 0 1px currentColor; }
.field > span:not(.field__icon) {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    font-size: 16px; color: rgba(44, 31, 14, .75); pointer-events: none;
    transition: top .15s, font-size .15s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 13px; font-size: 11px; }
.field__icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink); }
.field__icon svg { width: 100%; height: 100%; }
.field input[type="search"] { padding-right: 44px; }
.field--dark input { background: transparent; color: var(--cream); border-color: rgba(250, 247, 242, .55); }
.field--dark > span:not(.field__icon) { color: rgba(250, 247, 242, .85); }

/* ===== Drawers ===== */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(44, 31, 14, .5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
    position: absolute; top: 0; bottom: 0; width: 400px; max-width: 100%;
    background: #fff; display: flex; flex-direction: column;
    transition: transform .3s ease;
}
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); width: 320px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }

.menu-drawer__list { padding: 10px 0; }
.menu-drawer__list a { display: block; padding: 12px 24px; font-size: 18px; text-decoration: none; color: var(--ink); }
.menu-drawer__list a:hover { background: var(--cream); }
.menu-drawer__account { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 20px 24px; background: var(--cream); text-decoration: none; font-size: 14px; }
.menu-drawer__account svg { width: 22px; height: 22px; }


/* ===== Product ===== */
.product { display: flex; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; }
.product__media { flex: 0 0 55%; max-width: 55%; position: sticky; top: 20px; }
.product__info { flex: 0 0 45%; max-width: 45%; padding-left: 50px; }

/* Gallery */
.gallery__viewport { position: relative; overflow: hidden; border-radius: 12px; }
.gallery__track { display: flex; transition: transform .45s cubic-bezier(.25, .8, .25, 1); touch-action: pan-y; }
.gallery__slide { flex: 0 0 100%; }
.gallery__slide img { width: 100%; aspect-ratio: 1; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gallery__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
    background: var(--ink); color: rgba(255, 255, 255, .9);
    display: flex; align-items: center; justify-content: center; opacity: .85;
    transition: opacity .2s;
}
.gallery__arrow:hover { opacity: 1; }
.gallery__arrow svg { width: 18px; height: 18px; }
.gallery__arrow--prev { left: 10px; }
.gallery__arrow--next { right: 10px; }
.gallery__arrow:disabled { opacity: .45; cursor: default; }
.gallery__dots { display: none; }

.thumbs { display: flex; align-items: center; padding-top: 5px; }
.thumbs__arrow { flex: 0 0 44px; height: 44px; background: none; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.thumbs__arrow svg { width: 18px; height: 18px; }
.thumbs__arrow:disabled { opacity: .3; cursor: default; }
.thumbs__list { flex: 1; display: flex; gap: 10px; padding: 5px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.thumbs__list::-webkit-scrollbar { display: none; }
.thumbs__list li { flex: 0 0 calc((100% - 40px) / 5); }
.thumbs__item { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: none; box-shadow: 0 0 0 1px rgba(44, 31, 14, .1); }
.thumbs__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs__item.is-active { box-shadow: 0 0 0 2px var(--ink); }

/* Info */
.rating { display: flex; align-items: center; gap: 4px; font-size: 15px; line-height: 1.8; margin-bottom: 3px; }
.stars { display: inline-flex; gap: 0; margin-right: 2px; color: #e8b923; }
.stars svg { width: 16.5px; height: 16.5px; }
.rating strong { font-weight: 700; }
.product__title { font-size: 31.2px; line-height: 1.23; margin: 3px 0 6px; }
.product__tagline { font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink); text-decoration: underline 2px; text-underline-offset: 2px; }

.benefits li { display: flex; align-items: center; margin: 15px 0; font-size: 16px; line-height: 1.3; color: #121212; }
.benefits svg { flex: 0 0 19px; width: 19px; height: 19px; margin-right: 5px; color: var(--gold); }

/* A ponte do checkout (api/ir.php) devolve para #buy-form com o aviso de
   checkout indisponível no topo do formulário. */
.buy { scroll-margin-top: 20px; }

.notice--warning {
    margin: 14px 0 12px; padding: 12px 18px; border-radius: var(--radius);
    background: #fbe9e8; color: #b83a2e;
    font-size: 15px; line-height: 1.55; letter-spacing: .05em;
}

.ship {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    margin-bottom: 12px; padding: 11px 16px; border-radius: var(--radius);
    background: #f3f3f3; color: #1f1f1f; font-size: 15px; line-height: 1.3;
}
.ship__item { display: flex; align-items: center; gap: 8px; }
.ship__item img { width: 20px; height: 14px; border-radius: 2px; }
.ship__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #4cc96b; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76, 201, 107, .5); } 50% { opacity: .5; box-shadow: 0 0 0 4px rgba(76, 201, 107, 0); } }


/* Bundles */
.buy { margin: 24px 0; }
.bundles { margin: 15px 0 10px; line-height: 1.4; }
.bundles__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
.bundles__title::before, .bundles__title::after { content: ""; flex: 1; height: 2px; background: rgba(44, 31, 14, .15); }

.bundle {
    position: relative; display: flex; align-items: center; gap: 18px;
    margin: 5px 0 10px; padding: 10px 20px; min-height: 75px;
    border-radius: var(--radius); background: var(--sand);
    box-shadow: inset 0 0 0 1px rgba(44, 31, 14, .3);
    cursor: pointer; letter-spacing: normal;
    transition: background .2s, box-shadow .2s;
}
.bundle--badge { min-height: 89px; }
.bundle.is-selected { background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink); }
.bundle input { position: absolute; opacity: 0; pointer-events: none; }
.bundle__radio {
    flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(44, 31, 14, .3);
    transition: background .2s, box-shadow .2s;
}
.bundle.is-selected .bundle__radio { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.bundle input:focus-visible ~ .bundle__radio { outline: 2px solid var(--gold); outline-offset: 4px; }
.bundle__title { flex: 1; font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.bundle__pricing { display: flex; flex-direction: column; align-items: flex-end; }
.bundle__price { font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.bundle__compare { font-size: 14px; line-height: 1.4; color: #a09070; }
.bundle__badge {
    position: absolute; top: -8px; right: 16px;
    padding: 6px 8px; border-radius: 0 0 5px 5px;
    background: var(--gold); color: var(--cream);
    font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; line-height: 1;
}
.bundle__badge::before { content: ""; position: absolute; left: -6px; top: 0; border: 4px solid transparent; border-right-color: #8d6c22; border-bottom-color: #8d6c22; }

.btn--atc { margin-top: 10px; min-height: 49px; font-size: 19px; text-transform: uppercase; letter-spacing: 1px; }

.promise {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius); background: var(--sand);
    font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.promise__icon { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; background: var(--gold); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.promise__icon svg { width: 13px; height: 13px; }

/* Accordions */
.accordions { margin-top: 24px; border-top: 1px solid var(--line); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12.5px 10px; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion h2 { font-size: 15.6px; line-height: 1.23; }
.accordion__chevron { width: 18px; height: 18px; color: var(--ink); transition: transform .3s; }
.accordion[open] .accordion__chevron { transform: rotate(180deg); }
.accordion__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion.is-open .accordion__body { grid-template-rows: 1fr; }
.accordion__content { overflow: hidden; padding: 0 10px; opacity: 0; transition: opacity .3s; }
.accordion.is-open .accordion__content { opacity: 1; }
.accordion__content p { margin: 0 0 16px; }
.accordion__content p:last-child { margin-bottom: 20px; }

/* Featured quote */
.quote {
    display: flex; align-items: center; margin-top: 24px;
    padding: 8px 12px 10px; border-radius: 12px; background: var(--sand);
}
.quote__avatar { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.quote__text { font-size: 14px; line-height: 1.3; color: var(--ink); }
.quote__author { margin-top: 5px; padding-top: 6px; border-top: 1px solid rgba(44, 31, 14, .1); font-size: 13px; line-height: 1.3; color: rgba(44, 31, 14, .5); }

/* Barra fixa de compra */
.sticky-atc {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; padding: 10px 0; box-shadow: 0 -1px 10px rgba(0, 0, 0, .2);
    transform: translateY(110%); transition: transform .35s ease;
}
.sticky-atc.is-visible { transform: none; }
.sticky-atc__inner { display: flex; align-items: center; gap: 15px; }
.sticky-atc__img { width: 52px; height: 52px; object-fit: cover; }
.sticky-atc__info { flex: 1; min-width: 0; }
.sticky-atc__title { font-size: 19px; font-weight: 700; line-height: 1.23; letter-spacing: .04em; color: var(--ink); }
.sticky-atc__price { display: flex; align-items: center; gap: 6px; font-size: 18px; line-height: 1.5; letter-spacing: 1px; color: var(--ink); }
.sticky-atc__price strong { color: var(--brown); }
.sticky-atc__price s { font-weight: 700; }
.sale-badge {
    display: inline-flex; align-items: center; gap: 4px; margin-left: 2px;
    padding: 0 8px; border-radius: 4px; background: var(--gold); color: rgba(250, 247, 242, .95);
    font-size: 13px; font-weight: 700; line-height: 1.75;
}
.sale-badge svg { width: 12px; height: 12px; }
.sticky-atc__btn { min-height: 52px; padding: 0 29px; font-size: 19px; }

/* ===== Section title ===== */
.section-title { font-size: 28px; line-height: 1.23; text-align: center; margin: 23px 0 12px; }

/* ===== Ingredients ===== */
.ingredients__box { background: var(--cream); padding: 20px; text-align: center; }
.ingredients__intro { max-width: 600px; margin: 0 auto 40px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.ingredients__grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.ingredient { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 20px; border-radius: 12px; background: #fff; transition: transform .25s, box-shadow .25s; }
.ingredient:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(44, 31, 14, .07); }
.ingredient__name { margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.ingredient__role { font-size: 13px; line-height: 1.8; color: var(--muted); }
.ingredient img { width: 70px; height: 70px; border-radius: var(--radius); object-fit: cover; }

/* ===== Apart ===== */
.apart { display: flex; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; }
.apart__media { flex: 0 0 50%; }
.apart__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.apart__content { flex: 0 0 50%; padding: 60px 0 70px 70px; }
.apart__title { font-size: 31.2px; line-height: 1.23; color: #2e2a39; }
.apart__text { margin-top: 20px; }
.apart__text p { margin-bottom: 10px; }
.apart__text strong { color: var(--ink); }

/* ===== Reviews ===== */
.reviews__box { background: var(--cream); padding: 20px; text-align: center; }
.reviews__kicker { margin: 12px 0 6px; font-size: 12px; line-height: 1.8; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.reviews__score { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.reviews__title { margin-bottom: 40px; }
.tp-stars { display: inline-flex; gap: 2px; }
.tp-star { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: var(--green); color: #fff; }
.tp-star svg { width: 72%; height: 72%; }
.tp-stars--lg .tp-star { width: 24px; height: 24px; }
.reviews__slider { max-width: 1100px; margin: 0 auto; }
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.review { background: #fff; border-radius: 12px; overflow: hidden; text-align: left; }
.review__img { width: 100%; height: 220px; object-fit: cover; }
.review__body { padding: 16px; }
.review__text { margin: 12px 0; font-size: 12px; line-height: 1.6; font-style: italic; color: var(--muted); }
.review__verified { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11px; font-weight: 500; color: var(--ink); }
.review__name { margin: 12px 0; font-size: 12px; font-weight: 600; line-height: 1.8; color: var(--ink); }
.reviews__nav, .reviews__dots { display: none; }

/* ===== Comparison ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 50px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.compare__title { font-size: 39px; line-height: 1.23; text-align: center; }
.compare__table-wrap { display: flex; justify-content: center; }
.compare__table { width: 100%; max-width: 500px; border-collapse: separate; border-spacing: 0; }
.compare__table th { padding: 5px 7.5px; font-size: 18px; font-weight: 700; color: var(--ink); }
.compare__table th:first-child { width: 60%; }
.compare__table th img { width: 90px; margin: 0 auto; }
.compare__table td { padding: 10px 20px; text-align: center; background: #fff; box-shadow: inset 0 -1px 0 rgba(44, 31, 14, .1), inset -1px 0 0 rgba(44, 31, 14, .1); }
.compare__table tr:last-child td { box-shadow: inset -1px 0 0 rgba(44, 31, 14, .1); }
.compare__table td:last-child { box-shadow: inset 0 -1px 0 rgba(44, 31, 14, .1); }
.compare__table tr:last-child td:last-child { box-shadow: none; }
.compare__name { padding: 10px 15px !important; background: var(--brown) !important; box-shadow: none !important; }
.compare__name h3 { font-size: 18px; line-height: 1.23; color: var(--cream); text-align: center; }
.compare__table tbody { filter: drop-shadow(0 3px 5px rgba(44, 31, 14, .18)); }
.compare__table tbody tr:first-child td:first-child { border-top-left-radius: 20px; }
.compare__table tbody tr:first-child td:last-child { border-top-right-radius: 20px; }
.compare__table tbody tr:last-child td:first-child { border-bottom-left-radius: 20px; }
.compare__table tbody tr:last-child td:last-child { border-bottom-right-radius: 20px; }
.compare__yes svg, .compare__no svg { display: block; width: 20px; height: 20px; margin: 0 auto; }
.compare__yes svg { stroke-width: 2.8; }
.compare__yes { color: #5cad1f; }
.compare__no { color: #111; }

/* ===== Guarantee ===== */
.guarantee { text-align: center; }
.guarantee .page-width { max-width: 920px; }
.guarantee__title { font-size: 31.2px; line-height: 1.23; margin-bottom: 20px; }

/* ===== Footer ===== */
.footer { background: var(--brown); color: rgba(250, 247, 242, .9); padding: 32px 0 20px; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
.footer__heading { margin-bottom: 20px; font-size: 23.4px; line-height: 1.23; color: var(--cream); }
.footer__links a { display: inline-block; padding: 5px 0; font-size: 14px; text-decoration: none; }
.footer__links li:first-child a { padding-top: 0; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.newsletter { margin-top: 18px; }
.newsletter .btn { margin-top: 10px; }
.footer__msg { margin-top: 14px; font-weight: 600; color: var(--cream); }
.footer__msg--error { margin: 8px 0 0; font-size: 13px; color: #ffb4a8; }
.footer__bottom { border-top: 1px solid rgba(250, 247, 242, .08); padding-top: 40px; text-align: center; }
.payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.payments img { width: 39px; height: 26px; }
.footer__copy { margin-top: 15px; font-size: 11px; }
.footer__copy a { text-decoration: none; }

/* ===== Reveal on scroll ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ===== Tablet ===== */
@media (max-width: 989px) {
    .page-width { padding: 0 15px; }
    .product { display: block; padding-top: 0; }
    .product__media, .product__info { max-width: none; position: static; }
    .product__media { margin: 0 -15px; }
    .product__info { padding: 15px 0 0; }
    .gallery__viewport { border-radius: 0; }
    .gallery__dots { display: flex; position: absolute; left: 0; right: 0; bottom: 10px; justify-content: center; gap: 6px; }
    .gallery__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(44, 31, 14, .3); transition: background .2s, transform .2s; }
    .gallery__dots button.is-active { background: var(--ink); transform: scale(1.15); }
    .thumbs { display: none; }
    .apart { display: block; }
    .apart__content { padding: 20px 0; }
    .compare { grid-template-columns: 1fr; }

    .site-header__inner { grid-template-columns: 44px 1fr 44px; column-gap: 0; }
    .site-header__burger { display: inline-flex; margin-left: -10px; }
    .site-header__nav, .site-header__account { display: none; }
    .site-header__logo { width: 160px; justify-self: center; }
    .site-header__icons { margin-right: -10px; }

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

/* ===== Mobile ===== */
@media (max-width: 749px) {
    body { font-size: 15px; letter-spacing: .06em; }
    .only-mobile { display: inline; }
    .only-desktop { display: none; }

    .announcement { font-size: 16px; padding: 8px 15px; }

    .site-header__inner { min-height: 52px; padding-top: 4px; padding-bottom: 4px; }
    .site-header__logo { width: 130px; }

    .rating { font-size: 13px; }
    .stars svg { width: 13px; height: 13px; }
    .product__title { font-size: 26px; line-height: 1.23; }
    .benefits li { font-size: 14px; }
    .notice--warning { font-size: 14px; padding: 11px 15px; letter-spacing: .05em; }
    .ship { font-size: 12.5px; padding: 10px 12px; letter-spacing: .04em; }
    .ship__item { gap: 6px; }
    .bundle { padding: 10px 18px; gap: 16px; }
    .accordion h2 { font-size: 15.6px; }

    .section-title { font-size: 26px; }
    .ingredients__box { padding: 20px; }
    .ingredients__intro { margin-bottom: 40px; }
    .ingredients__grid { grid-template-columns: 1fr; }

    .apart__title { font-size: 26px; }

    .reviews__slider { position: relative; padding: 0 4px; }
    .reviews__viewport { overflow: hidden; }
    .reviews__grid { display: flex; gap: 0; transition: transform .45s cubic-bezier(.25, .8, .25, 1); touch-action: pan-y; }
    .review { flex: 0 0 100%; }
    .js .review.reveal { opacity: 1; transform: none; }
    .review__img { height: 320px; }
    .review__text { font-size: 12px; }
    .reviews__nav { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
    .reviews__nav button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; line-height: 1; padding: 0 0 3px; }
    .reviews__dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0 4px; }
    .reviews__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(44, 31, 14, .15); }
    .reviews__dots button.is-active { background: var(--ink); }

    .compare { gap: 20px; }
    .compare__title { font-size: 29px; }
    .compare__table th { font-size: 16px; }
    .compare__name h3 { font-size: 15.3px; }
    .compare__table td { padding: 10px 12px; }

    .guarantee__title { font-size: 26px; }
    .guarantee p { padding: 0 20px; }

    .footer__top { grid-template-columns: 1fr; gap: 40px; }
    .footer__heading { font-size: 20.8px; }

    .sticky-atc { padding: 10px 0 15px; }
    .sticky-atc__img { width: 40px; height: 40px; }
    .sticky-atc__title { font-size: 12px; font-weight: 400; line-height: 1.8; letter-spacing: .06em; text-transform: uppercase; }
    .sticky-atc__price { display: none; }
    .sticky-atc__btn { min-height: 52px; padding: 0 15px; font-size: 15px; white-space: nowrap; }
}
