/* ==========================================================================
   Bella Vitta — Storefront
   Paleta: vinho #561e3e · magenta #8f1160 · creme · verde-folha (detalhe)
   Tipos: Fraunces (display) · DM Sans (texto)
   ========================================================================== */

:root {
    --wine: #561e3e;
    --wine-900: #3a1129;
    --wine-700: #6b2a50;
    --accent: #8f1160;
    --accent-600: #a3166f;
    --blush: #f6e9ef;
    --blush-2: #efd9e3;
    --cream: #fbf7f1;
    --sand: #f3ebe0;
    --leaf: #4f7a3a;
    --ink: #2b1622;
    --ink-2: #5d4553;
    --muted: #8a7480;
    --line: #eadfe4;
    --white: #fff;

    /* tons por sabor (fundo dos produtos) */
    --t-uva: #efe3ee;     --t-uva-2: #dcc3d8;
    --t-maca: #f6e6df;    --t-maca-2: #ecc9bb;
    --t-laranja: #fbebd6; --t-laranja-2: #f5d2a3;
    --t-mix: #f4e6e3;     --t-mix-2: #e6cad0;
    --t-quentao: #f3e3da; --t-quentao-2: #e2bfae;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(58, 17, 41, .06), 0 2px 8px rgba(58, 17, 41, .05);
    --shadow: 0 10px 30px -12px rgba(58, 17, 41, .25);
    --shadow-lg: 0 30px 60px -20px rgba(58, 17, 41, .35);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--accent); font-weight: 400; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.i { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--wine); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
    --b-bg: var(--white); --b-fg: var(--wine); --b-bd: var(--line);
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: 0 1.4em;
    border-radius: 999px; border: 1.5px solid var(--b-bd);
    background: var(--b-bg); color: var(--b-fg);
    font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
    transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn--primary { --b-bg: var(--accent); --b-fg: #fff; --b-bd: var(--accent); box-shadow: 0 8px 20px -10px rgba(143, 17, 96, .7); }
.btn--primary:hover { --b-bg: var(--wine); --b-bd: var(--wine); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--wine); --b-bd: var(--wine); }
.btn--ghost:hover { --b-bg: var(--wine); --b-fg: #fff; }
.btn--light { --b-bg: #fff; --b-fg: var(--wine); --b-bd: #fff; }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.5); }
.btn--outline-light:hover { --b-bd: #fff; --b-bg: rgba(255,255,255,.08); }
.btn--wa { --b-bg: #1f9d55; --b-fg: #fff; --b-bd: #1f9d55; }
.btn--wa:hover { --b-bg: #188546; --b-bd: #188546; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 1rem; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow--back { margin-top: 24px; }
.link-arrow--back:hover .i { transform: rotate(180deg) translateX(4px); }

.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: var(--wine); transition: background .2s;
}
.icon-btn:hover { background: var(--blush); }
.icon-btn .i { width: 22px; height: 22px; }

/* ---------- Barra de anúncio ---------- */
.announce { background: var(--wine); color: #f6dfe9; font-size: .82rem; letter-spacing: .02em; }
.announce__inner { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 38px; text-align: center; }
.announce__inner span { display: inline-flex; align-items: center; gap: 6px; }
.announce .i { width: 15px; height: 15px; color: #e7a9c8; }
@media (max-width: 720px) { .announce:not(.announce--promo) :is(.announce__sep, .announce__inner > span:last-child) { display: none; } }

/* ---------- Cupons (lidos da Nuvemshop) ---------- */
.announce--promo { background: linear-gradient(90deg, var(--wine), var(--accent) 50%, var(--wine)); color: #fff; }
.announce--promo .announce__inner { padding-block: 6px; }
.announce__promo { flex-wrap: wrap; justify-content: center; row-gap: 4px; max-width: 100%; }
.announce__promo > span { display: inline !important; }
@media (max-width: 520px) { .announce--promo { font-size: .76rem; } .announce__promo > .i { display: none; } }
.announce__promo b { font-weight: 700; color: #fff; }
.announce__cond { opacity: .78; font-size: .74rem; }
.coupon-code {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px;
    border: 1.5px dashed currentColor; background: rgba(255,255,255,.12); color: inherit;
    font: 700 .78rem/1.4 var(--font-sans, inherit); letter-spacing: .04em; cursor: pointer; white-space: nowrap;
    transition: background .2s, transform .15s;
}
.coupon-code:hover { background: rgba(255,255,255,.22); }
.coupon-code:active { transform: scale(.97); }
.coupon-code .i { width: 13px; height: 13px; color: inherit !important; }
.coupon-code.is-copied { border-style: solid; }

.pdp-coupon {
    display: flex; align-items: center; gap: 14px; margin: 4px 0 22px; padding: 14px 16px;
    border-radius: 14px; border: 1.5px dashed rgba(143,17,96,.35); background: #fbf0f6; color: var(--wine);
}
.pdp-coupon__icon { flex: none; width: 22px; height: 22px; color: var(--accent); }
.pdp-coupon__text { flex: 1; min-width: 0; }
.pdp-coupon__text p { margin: 0; font-size: .95rem; }
.pdp-coupon__text small { display: block; margin-top: 2px; font-size: .78rem; opacity: .75; }
.pdp-coupon__price { font-size: 1.15rem; color: var(--accent); }
.pdp-coupon .coupon-code { color: var(--accent); background: #fff; }
.pdp-coupon .coupon-code:hover { background: #fff5fa; }
@media (max-width: 480px) { .pdp-coupon { flex-wrap: wrap; } .pdp-coupon .coupon-code { margin-left: 36px; } }

.badge--coupon { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--accent); border: 1px solid rgba(143,17,96,.25); box-shadow: 0 2px 8px rgba(86,30,62,.08); }
.badge--coupon .i { width: 12px; height: 12px; }

/* Vários cupons na barra: um por vez, alternando */
.announce__slides { display: grid; min-width: 0; }
.announce__slides > .announce__promo { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity .45s ease, transform .45s ease; }
[data-rotator] .announce__slides > .announce__promo:not(.is-active) { opacity: 0; transform: translateY(6px); pointer-events: none; visibility: hidden; }
.announce__all { flex: none; color: #fff; font-size: .74rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: .9; white-space: nowrap; }
.announce__all:hover { opacity: 1; }
@media (max-width: 720px) { .announce--promo .announce__inner { flex-direction: column; gap: 2px; } }

/* Chips de cupons alternativos */
.coupon-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px dashed rgba(143,17,96,.4); background: #fff; color: var(--wine); font: inherit; font-size: .76rem; cursor: pointer; transition: background .2s; }
.coupon-chip b { color: var(--accent); letter-spacing: .03em; }
.coupon-chip:hover:not(:disabled) { background: #fff5fa; }
.coupon-chip:disabled { opacity: .5; cursor: not-allowed; }
.pdp-coupon { flex-wrap: wrap; }
.pdp-coupon__more { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0 0 36px; margin-top: 2px; border-top: 1px dashed rgba(143,17,96,.2); font-size: .78rem; }

/* Sugestão no carrinho */
.coupon-suggest { margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed rgba(143,17,96,.35); background: #fbf0f6; color: var(--wine); font-size: .86rem; }
.coupon-suggest.is-pending { background: #fff; }
.coupon-suggest__main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.coupon-suggest__main > span { display: inline-flex; gap: 8px; align-items: flex-start; }
.coupon-suggest .i { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.coupon-suggest small { display: block; font-size: .74rem; opacity: .75; }
.coupon-suggest .btn { flex: none; min-height: 36px; padding: 0 1em; font-size: .85rem; }
.coupon-suggest__more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(143,17,96,.2); font-size: .76rem; }
.coupon-suggest__more form { display: contents; }

/* Página /cupons */
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; padding-bottom: 60px; }
.coupon-card { display: flex; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(86,30,62,.06); }
.coupon-card__value { flex: none; display: grid; place-items: center; width: 120px; padding: 18px 10px; background: linear-gradient(160deg, var(--wine), var(--accent)); color: #fff; font-family: var(--font-display, serif); font-size: 1.35rem; font-weight: 700; line-height: 1.1; text-align: center; border-right: 2px dashed rgba(255,255,255,.5); }
.coupon-card__body { flex: 1; min-width: 0; padding: 16px 18px; }
.coupon-card__scope { margin: 0 0 4px; font-weight: 600; color: var(--wine); }
.coupon-card__cond { margin: 0 0 12px; font-size: .82rem; opacity: .7; }
.coupon-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.coupon-card .coupon-code { color: var(--accent); background: #fbf0f6; }
.coupon-card .link { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; }
.coupon-card .link .i { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 247, 241, .9);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(58,17,41,.4); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header__logo img { height: 46px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 38px; }
.header__burger { display: none; }
.header__actions { margin-left: auto; display: flex; gap: 4px; }

.nav { margin-left: 16px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    display: block; padding: 10px 14px; border-radius: 999px;
    font-weight: 500; font-size: .95rem; color: var(--ink-2);
    transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--wine); background: var(--blush); }
/* Setinha das categorias com submenu: aponta para baixo e vira ao abrir */
.has-sub > .nav__link { display: inline-flex; align-items: center; gap: 4px; }
.nav__caret { width: 14px; height: 14px; transform: rotate(90deg); opacity: .6; transition: transform .25s var(--ease), opacity .2s; }
.nav__item.has-sub:hover .nav__caret, .nav__item.has-sub:focus-within .nav__caret { transform: rotate(-90deg); opacity: 1; }
.nav__sub {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.nav__item.has-sub:hover .nav__sub, .nav__item.has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); }
.nav__sub a:hover { background: var(--blush); color: var(--wine); }
.nav__all { color: var(--accent) !important; font-weight: 600; }

.cart-btn { position: relative; }
.cart-btn__count {
    position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
    display: grid; place-items: center; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; line-height: 1;
    border: 2px solid var(--cream);
}
.cart-btn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.search-bar { border-top: 1px solid var(--line); background: var(--cream); }
.search-bar__form { display: flex; align-items: center; gap: 12px; height: 68px; }
.search-bar__form > .i { color: var(--muted); }
.search-bar input { flex: 1; border: 0; background: none; font-size: 1.15rem; outline: none; font-family: var(--font-display); }

@media (max-width: 980px) {
    :root { --header-h: 68px; }
    .nav { display: none; }
    .header__burger { display: inline-grid; margin-left: -10px; }
    .header__inner { gap: 8px; }
    .header__logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .header__logo img, .header.is-scrolled .header__logo img { height: 32px; }
}

/* ---------- Sheets (menu mobile / carrinho) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.sheet::before { content: ""; position: absolute; inset: 0; background: rgba(43, 22, 34, .45); opacity: 0; transition: opacity .3s; }
.sheet__panel {
    position: absolute; top: 0; bottom: 0; width: min(420px, 92vw);
    background: var(--cream); display: flex; flex-direction: column;
    transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
}
.sheet--left .sheet__panel { left: 0; transform: translateX(-100%); }
.sheet--right .sheet__panel { right: 0; transform: translateX(100%); }
.sheet.is-open { visibility: visible; }
.sheet.is-open::before { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.sheet__head img { height: 46px; width: auto; }
/* Menu mobile em 2 níveis (painéis que deslizam) */
.mnav { position: relative; flex: 1; min-height: 0; overflow: hidden; }
/* Cada painel tem fundo sólido e o ativo fica sempre por cima: mesmo que a animação
   seja interrompida no meio, o conteúdo de um painel nunca aparece através do outro. */
.mnav__panel {
    position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 12px 10px 24px; overflow-y: auto;
    background: var(--cream); transform: translateX(100%); opacity: 1; visibility: hidden;
    transition: transform .32s var(--ease), opacity .2s ease, visibility 0s linear .32s;
}
.mnav__panel.is-active { z-index: 2; transform: none; visibility: visible; transition: transform .32s var(--ease), opacity .2s ease, visibility 0s; }
.mnav__panel.is-behind { transform: translateX(-24%); opacity: 0; }
.mnav__link {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
    padding: 13px 12px; border: 0; background: none; text-align: left; cursor: pointer;
    font-family: var(--font-display); font-size: 1.25rem; color: var(--wine); border-radius: 10px;
}
.mnav__link:hover, .mnav__link:focus-visible { background: var(--blush); }
.mnav__next .i { width: 20px; height: 20px; color: var(--accent); flex: none; }
.mnav__link--sm { font-family: inherit; font-size: 1rem; color: var(--ink-2); padding-block: 10px; }
.mnav__link--all { font-family: inherit; font-size: .95rem; font-weight: 600; color: var(--accent); }
.mnav__account span { display: inline-flex; align-items: center; gap: 8px; }
.mnav__account .i { width: 18px; height: 18px; color: var(--accent); }
.mnav__sep { height: 1px; margin: 10px 12px; background: var(--line); }
.mnav__back { display: inline-flex; align-items: center; gap: 4px; width: max-content; padding: 8px 12px 8px 6px; border: 0; background: none; cursor: pointer; font: inherit; font-size: .9rem; color: var(--ink-2); border-radius: 8px; }
.mnav__back .i { width: 18px; height: 18px; transform: rotate(180deg); }
.mnav__back:hover { background: var(--blush); }
.mnav__title { margin: 6px 12px 6px; font-family: var(--font-display); font-size: 1.6rem; color: var(--wine); }
@media (prefers-reduced-motion: reduce) { .mnav__panel, .mnav__panel.is-active { transition: none; } }
body.no-scroll { overflow: hidden; }

.cart-drawer__title { font-size: 1.35rem; color: var(--wine); }
.cart-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-drawer__scroll { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 18px 20px 20px; background: #fff; }
.cart-drawer__full { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.cart-drawer__full .i { width: 18px; height: 18px; }
/* Carrinho flutuante: cupom compacto */
.cart-drawer__foot .coupon-applied, .cart-drawer__foot .coupon-suggest { margin-bottom: 12px; }
.cart-drawer__foot .summary__rows { margin-top: 0; }
.coupon-toggle { margin-bottom: 12px; }
.coupon-toggle summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: .86rem; font-weight: 600; color: var(--accent); }
.coupon-toggle summary::-webkit-details-marker { display: none; }
.coupon-toggle summary .i { width: 15px; height: 15px; }
.coupon-toggle[open] summary { margin-bottom: 10px; }
.coupon-toggle .coupon { margin-bottom: 0; }
.coupon-toggle .coupon .input, .coupon-toggle .coupon .btn { min-height: 40px; }
.cart-drawer__loading { flex: 1; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--blush-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.cart-empty { margin: auto; text-align: center; padding: 40px 28px; }
.cart-empty__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--accent); }
.cart-empty__icon .i { width: 36px; height: 36px; }
.cart-empty h3 { font-size: 1.4rem; color: var(--wine); margin-bottom: 6px; }
.cart-empty p { color: var(--ink-2); }

/* ---------- Linhas de carrinho ---------- */
.lines { list-style: none; margin: 0; padding: 0; }
.line { position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.line.is-busy { opacity: .5; pointer-events: none; }
.line__img { width: 76px; height: 96px; border-radius: 12px; background: var(--t-uva); display: grid; place-items: center; overflow: hidden; }
.line__img img { height: 88px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.line__ph { width: 30px; fill: var(--wine); opacity: .35; }
.line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line__name { font-weight: 600; font-size: .93rem; line-height: 1.35; color: var(--ink); }
.line__name:hover { color: var(--accent); }
.line__variant { font-size: .82rem; color: var(--muted); }
.line__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.line__price { text-align: right; }
.line__price s { display: block; font-size: .78rem; color: var(--muted); }
.line__price strong { color: var(--wine); }
.line__remove { align-self: start; color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.line__remove:hover { color: var(--accent); background: var(--blush); }
.line__remove .i { width: 18px; height: 18px; }

/* ---------- Quantidade ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 52px; }
.qty__btn { width: 44px; height: 100%; display: grid; place-items: center; color: var(--wine); border-radius: 999px; }
.qty__btn:hover { color: var(--accent); }
.qty__btn .i { width: 16px; height: 16px; }
.qty__input { width: 40px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty--sm { height: 36px; }
.qty--sm .qty__btn { width: 32px; }
.qty--sm .qty__input { width: 30px; font-size: .9rem; }

/* ---------- Resumo ---------- */
.summary__rows { margin: 0 0 18px; }
.summary__rows > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; font-weight: 600; }
.summary__discount dd { color: var(--leaf); }
.summary__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px !important; }
.summary__total dt { color: var(--ink); font-weight: 600; }
.summary__total dd { font-family: var(--font-display); font-size: 1.5rem; color: var(--wine); }
.summary__secure { margin: 12px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.summary__title { font-size: 1.4rem; color: var(--wine); margin-bottom: 18px; }
.coupon { display: flex; gap: 8px; margin-bottom: 18px; }
.coupon .input { flex: 1; min-width: 0; }
.coupon .btn { min-height: 46px; padding: 0 1.1em; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; margin-bottom: 18px; border-radius: 12px; background: #eef5ea; color: var(--leaf); font-size: .9rem; }
.coupon-applied span { display: inline-flex; gap: 6px; align-items: center; }
.coupon-applied .link { color: var(--leaf); font-size: .85rem; }

/* ---------- Form ---------- */
.input, .select {
    height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
    transition: border-color .2s, box-shadow .2s; width: 100%;
}
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(143, 17, 96, .1); }
.select {
    appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23561e3e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }

.flash { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); background: #eef5ea; color: #2f5a22; font-weight: 500; }
.flash--error { background: #fbeaea; color: #9b1c1c; }
.hint { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--blush); font-size: .85rem; color: var(--wine); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; border-radius: 999px; background: var(--wine-900); color: #fff;
    font-weight: 500; font-size: .92rem; box-shadow: var(--shadow-lg); transition: .35s var(--ease);
    max-width: calc(100vw - 32px);
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast--error { background: #9b1c1c; }
.toast .i { color: #9fe0b5; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--wine-900); }
.hero__track { display: grid; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 768px) { .hero__slide img { aspect-ratio: 1920 / 600; } }
.hero__slide.is-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero__dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .35s var(--ease), background .3s; }
.hero__dot.is-active { width: 30px; background: #fff; }

/* ---------- Promessas ---------- */
.promises { background: #fff; border-bottom: 1px solid var(--line); }
.promises__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.promise + .promise { border-left: 1px solid var(--line); }
.promise .i { width: 34px; height: 34px; color: var(--accent); padding: 7px; border-radius: 50%; background: var(--blush); box-sizing: content-box; }
.promise strong { display: block; font-size: .95rem; color: var(--wine); }
.promise span { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
    .promises__grid { grid-template-columns: repeat(2, 1fr); }
    .promise:nth-child(3) { border-left: 0; }
    .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
    .promise { padding: 16px 10px; gap: 10px; }
    .promise .i { width: 24px; height: 24px; }
    .promise strong { font-size: .85rem; }
    .promise span { font-size: .74rem; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(2rem, 4.2vw, 3rem); color: var(--wine); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: #f2bcd7; }
.lead { font-size: 1.12rem; color: var(--ink-2); }

/* ---------- Ícones de categoria ---------- */
.section__head--center { text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }

.caticons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
.caticon { --c: var(--wine); --bg: var(--t-uva); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.caticon--maca { --c: #a8322d; --bg: var(--t-maca); }
.caticon--laranja { --c: #c76a12; --bg: var(--t-laranja); }
.caticon--protein { --c: #6b3a8f; --bg: #efe4f6; }
.caticon--quentao { --c: #7a2c2a; --bg: var(--t-quentao); }
.caticon--kits { --c: var(--accent); --bg: var(--blush); }
.caticon__circle {
    position: relative; width: 100%; max-width: 128px; aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center; background: var(--bg); color: var(--c);
    transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
}
.caticon__circle::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed var(--c); opacity: 0; transform: rotate(0); transition: opacity .3s; }
.caticon__circle svg { width: 46%; height: 46%; transition: transform .35s var(--ease); }
.caticon__label { font-weight: 600; font-size: .98rem; color: var(--ink); transition: color .2s; }
.caticon:hover .caticon__circle { background: var(--c); color: #fff; transform: translateY(-4px); box-shadow: 0 16px 30px -14px var(--c); }
.caticon:hover .caticon__circle::after { opacity: .45; animation: spin 12s linear infinite; }
.caticon:hover .caticon__circle svg { transform: scale(1.08) rotate(-4deg); }
.caticon:hover .caticon__label { color: var(--c); }
@media (max-width: 760px) {
    .caticons { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; }
    .caticon__circle { max-width: 96px; }
    .caticon__label { font-size: .9rem; }
}

/* ---------- Visual do produto ---------- */
.pv {
    --tint: var(--t-uva); --tint-2: var(--t-uva-2);
    position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
    background: radial-gradient(80% 60% at 50% 75%, var(--tint-2) 0%, transparent 70%), var(--tint);
    border-radius: var(--radius);
}
.pv--maca { --tint: var(--t-maca); --tint-2: var(--t-maca-2); }
.pv--laranja { --tint: var(--t-laranja); --tint-2: var(--t-laranja-2); }
.pv--mix { --tint: var(--t-mix); --tint-2: var(--t-mix-2); }
.pv--quentao { --tint: var(--t-quentao); --tint-2: var(--t-quentao-2); }
.pv__halo { position: absolute; left: 50%; bottom: 10%; width: 60%; height: 8%; transform: translateX(-50%); border-radius: 50%; background: rgba(58,17,41,.18); filter: blur(10px); }
/* multiply: o fundo branco das fotos some sobre o tom do sabor */
/* absoluto + contain: a garrafa inteira sempre cabe no quadro, em qualquer proporção */
.pv__img {
    position: absolute; inset: 6% 0; margin: auto; width: 100%; height: 88%;
    object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease);
}
.pv__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pv__bottle { height: 74%; width: auto; max-width: 60%; }
.pv__glass { fill: var(--wine); }
.pv--laranja .pv__glass { fill: #d9832a; }
.pv--maca .pv__glass { fill: #c9973b; }
.pv--quentao .pv__glass { fill: #7a2c2a; }
.pv__cap { fill: #b9a99f; }
.pv__label { fill: #f4ead9; }
.pv__label-t1 { font-family: var(--font-display); font-style: italic; font-size: 22px; fill: var(--accent); }
.pv__label-t2 { font-family: var(--font-body); font-size: 10px; font-weight: 700; fill: var(--wine); letter-spacing: .05em; }
.pv__shine { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 5; stroke-linecap: round; }
.pv__soon { position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); background: rgba(255,255,255,.75); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pv__kit {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center; text-align: center;
    background: var(--wine); color: #fff; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1;
    box-shadow: 0 6px 14px -6px rgba(58,17,41,.6); transform: rotate(-8deg);
}
.pv__kit small { font-family: var(--font-body); font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #f2bcd7; margin-bottom: 2px; }
.pv--hero { border-radius: var(--radius-lg); }
.pv--hero .pv__kit { width: 78px; height: 78px; font-size: 1.8rem; top: 22px; right: 22px; }

/* ---------- Card de produto ---------- */
.pcard {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    padding: 10px; border-radius: 24px; background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__media { position: relative; display: block; border-radius: 16px; }
.pcard__media .pv { border-radius: 16px; }
.pcard:hover .pv__img { transform: translateY(-6px); }
.pcard__tag {
    position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 11px; border-radius: 999px;
    background: rgba(255,255,255,.85); backdrop-filter: blur(4px); color: var(--wine);
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pcard__body { padding: 14px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.pcard__brand { margin: 0 0 3px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.pcard__title { font-family: var(--font-body); font-size: .98rem; font-weight: 500; line-height: 1.38; letter-spacing: 0; color: var(--ink-2); text-wrap: pretty; }
.pcard__title a:hover { color: var(--accent); }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.pcard__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 14px;
}
.pcard__body .pcard__title { margin-bottom: 12px; }
.pcard__add {
    position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none;
    background: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(143,17,96,.8);
    transition: background .2s, transform .2s var(--ease);
}
.pcard__add:hover { background: var(--wine); transform: scale(1.06); }
.pcard__add.is-done { background: var(--leaf); }
.pcard__add .i { width: 22px; height: 22px; }
.pcard__out { font-size: .8rem; color: var(--muted); font-weight: 600; }

.price { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.price__old { font-size: .82rem; color: var(--muted); margin-bottom: 2px; }
.price__now { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: var(--accent); letter-spacing: -.02em; white-space: nowrap; }
.price__unit {
    width: max-content; margin-top: 6px; padding: 3px 9px; border-radius: 999px;
    background: #eef5ea; color: var(--leaf); font-size: .74rem; font-weight: 700;
}
.price--lg .price__now { font-size: 2.6rem; }
.price--lg .price__unit { font-size: .85rem; }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge--sale { background: var(--accent); color: #fff; }
.badge--gift { position: static; display: inline-block; width: max-content; background: #eef5ea; color: var(--leaf); }
.price .badge { position: static; width: max-content; margin: 4px 0; }

/* ---------- Carrossel ---------- */
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    padding: 6px var(--gutter) 18px; margin: -6px calc(var(--gutter) * -1) 0; scroll-padding-inline: var(--gutter);
    cursor: grab; outline: none;
}
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail.is-dragging .pcard { pointer-events: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.carousel__bar { display: flex; align-items: center; gap: 24px; margin-top: 10px; }
.carousel__progress { flex: 1; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.carousel__progress span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--wine); transition: transform .25s var(--ease), width .25s; }
.carousel__arrows { display: flex; gap: 10px; }
.carousel__arrow {
    width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 1.5px solid var(--line); color: var(--wine); transition: .2s var(--ease);
}
.carousel__arrow:hover:not(:disabled) { background: var(--wine); border-color: var(--wine); color: #fff; }
.carousel__arrow:disabled { opacity: .35; cursor: default; }
.carousel.is-static .carousel__bar { display: none; }
@media (max-width: 1024px) { .rail { grid-auto-columns: calc((100% - 2 * 18px) / 2.6); gap: 18px; } }
@media (max-width: 600px) {
    .rail { grid-auto-columns: 72%; gap: 14px; }
    .carousel__arrows { display: none; }
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pcard { padding: 7px; border-radius: 18px; }
    .pcard__body { padding: 10px 4px 4px; }
    .pcard__title { font-size: .88rem; }
    .price__now { font-size: 1.3rem; }
    .pcard__add { width: 40px; height: 40px; border-radius: 13px; }
    .pcard__add .i { width: 19px; height: 19px; }
}

/* ---------- História ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story__media { position: relative; }
.story__media > img { width: 100%; }
.story__stamp { position: absolute; left: -10px; bottom: 30px; width: 150px; height: 150px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.story__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.story__stamp text { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; fill: #f2bcd7; font-weight: 600; }
.story__stamp span { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: .9; text-align: center; }
.story__stamp small { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.story__text .section__title { margin-bottom: 20px; }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks .i { color: #fff; background: var(--leaf); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; } .story__stamp { width: 120px; height: 120px; left: 0; } .story__stamp span { font-size: 2rem; } }

/* ---------- Faixa CTA ---------- */
/* Cartão que "pousa" sobre o rodapé: metade no creme, metade no vinho */
.cta-band { position: relative; z-index: 2; color: #fff; padding: 40px 0 0; margin-bottom: -76px; }
.cta-band__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 40px clamp(24px, 4vw, 56px); border-radius: var(--radius-lg);
    background: radial-gradient(70% 160% at 100% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(120deg, var(--accent), #6e0d4a);
    box-shadow: 0 30px 60px -28px rgba(58, 17, 41, .7);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #f8d9e8; }

/* ---------- Page hero / listagem ---------- */
.page-hero { padding: 26px 0 40px; background: linear-gradient(180deg, var(--blush), var(--cream)); }
.page-hero--plain { background: var(--cream); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--wine); margin-top: 18px; }
.page-hero__lead { margin: 12px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 1.08rem; }
.page-hero--protein-drink, .page-hero--kits-protein-drink { background: linear-gradient(180deg, #efe4f6, var(--cream)); }
.page-hero--laranja { background: linear-gradient(180deg, var(--t-laranja), var(--cream)); }
.page-hero--maca { background: linear-gradient(180deg, var(--t-maca), var(--cream)); }

.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 18px; font-size: .84rem; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .i { width: 13px; height: 13px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 500; }

.listing { padding-bottom: 90px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: .2s; }
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort__label { font-size: .85rem; color: var(--muted); }
.sort .select { width: auto; height: 42px; font-size: .9rem; }
.listing__count { margin: 18px 0 26px; font-size: .88rem; color: var(--muted); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 54px; }
.pager__btn { min-width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2); }
.pager__btn:hover { border-color: var(--wine); color: var(--wine); }
.pager__btn.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.pager__btn .i { width: 16px; height: 16px; }

.empty { text-align: center; padding: 80px 20px; }
.empty > .i { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--accent); }
.empty h1, .empty h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--wine); margin-bottom: 10px; }
.empty p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 24px; }
.empty__big { display: block; font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--blush-2); font-weight: 700; }

/* ---------- Página de produto ---------- */
.pdp { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 72px); padding-top: 22px; padding-bottom: 80px; align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--sticky-h, var(--header-h)) + 20px); }

/* Galeria */
.gal__stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--t-uva); }
.gal__stage > .pv { height: 100%; aspect-ratio: auto; }
.gal__slide {
    position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s; cursor: zoom-in;
}
.gal__slide.is-active { opacity: 1; visibility: visible; }
.gal__slide .pv { height: 100%; aspect-ratio: auto; border-radius: 0; }
.gal__slide .pv__img { transition: transform .25s ease-out; will-change: transform; }
.gal__slide.is-zooming .pv__img { transform: scale(2.1); transition: transform .1s linear; }
.gal__slide.is-zooming .pv__halo { opacity: 0; }
.gal__hint {
    position: absolute; right: 16px; bottom: 16px; z-index: 3; pointer-events: none;
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
    background: rgba(255,255,255,.85); backdrop-filter: blur(6px); color: var(--wine); font-size: .78rem; font-weight: 600;
    transition: opacity .25s;
}
.gal__hint .i { width: 15px; height: 15px; }
.gal__stage:hover .gal__hint { opacity: 0; }
.gal__kit { position: absolute; left: 16px; bottom: 16px; z-index: 3; pointer-events: none; padding: 7px 13px; border-radius: 999px; background: var(--wine); color: #fff; font-size: .78rem; font-weight: 700; }
.gal__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gal__thumb {
    flex: none; width: 82px; height: 82px; border-radius: 16px; overflow: hidden; position: relative;
    display: grid; place-items: center; background: var(--tint, var(--t-uva));
    outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s, transform .2s;
}
.gal__thumb:hover { transform: translateY(-2px); }
.gal__thumb.is-active { outline-color: var(--wine); }
.gal__thumb img { height: 88%; width: auto; mix-blend-mode: multiply; }

/* Fancybox na identidade da marca */
.fancybox__container {
    --fancybox-bg: rgba(43, 22, 34, .94); --fancybox-accent-color: var(--accent);
    --f-button-bg: rgba(86, 30, 62, .65); --f-button-hover-bg: var(--accent); --f-button-color: #fff; --f-button-hover-color: #fff;
    font-family: var(--font-body);
}
.fancybox__container .f-button { border-radius: 50%; }
.fancybox__slide .fancybox__content { background: #fff; border-radius: 18px; }
.fancybox__backdrop { background: radial-gradient(60% 80% at 85% 60%, rgba(143,17,96,.55) 0%, transparent 60%), rgba(43, 22, 34, .96) !important; }
.fancybox__caption {
    font-family: var(--font-body) !important; font-size: .95rem; font-weight: 500; letter-spacing: .01em; line-height: 1.5;
    color: #f3dfe9; text-align: center;
}
.fancybox__infobar { font-family: var(--font-body); font-weight: 600; }
.fancybox__thumbs .f-thumbs__slide__button { border-radius: 10px; background: #fff; }
.pdp__info { padding-top: 10px; }
.pdp__info .eyebrow { margin-bottom: 10px; }
.pdp__title { font-size: clamp(2rem, 4vw, 3rem); color: var(--wine); }
.pdp__format { margin: 8px 0 0; color: var(--muted); font-weight: 500; }
.pdp__price { margin: 24px 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.buy__row { display: flex; gap: 12px; }
.buy__row .btn { flex: 1; min-height: 52px; }
.pdp__perks { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 12px; }
.pdp__perks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .94rem; }
.pdp__perks .i { color: var(--accent); width: 22px; height: 22px; }

.ship { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 18px; }
.ship__label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wine); margin-bottom: 12px; }
.ship__label .i { color: var(--accent); }
.ship__row { display: flex; gap: 8px; }
.ship__row .input { flex: 1; min-width: 0; }
.ship__row .btn { min-height: 48px; }
.ship__help { display: inline-block; margin-top: 8px; font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ship__list { list-style: none; margin: 16px 0 0; padding: 0; }
.ship__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ship__list strong { display: block; font-size: .93rem; }
.ship__list span { font-size: .82rem; color: var(--muted); }
.ship__list b { color: var(--wine); white-space: nowrap; }
.ship__note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.ship__error { margin: 10px 0 0; font-size: .85rem; color: #9b1c1c; }

.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--wine); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--accent); transition: transform .25s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding-bottom: 20px; color: var(--ink-2); }
.specs { margin: 0; display: grid; gap: 0; }
.specs div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; color: var(--ink); }

.sticky-buy { display: none; }
@media (max-width: 860px) {
    .pdp { grid-template-columns: 1fr; padding-top: 12px; }
    .pdp__gallery { position: static; }
    .sticky-buy {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
        border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease);
    }
    .sticky-buy.is-visible { transform: none; }
    .sticky-buy__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
    .sticky-buy__info strong { font-family: var(--font-display); color: var(--wine); font-size: 1.2rem; }
    .sticky-buy__info span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sticky-buy .btn { min-height: 46px; }
    body:has(.sticky-buy.is-visible) .wa-float { bottom: 84px; }
}

/* ---------- Carrinho (página) ---------- */
.cart-page { padding-top: 40px; padding-bottom: 90px; }
.cart-page__title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--wine); margin-bottom: 28px; }
.cart-page__grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-page__items .line { grid-template-columns: 100px 1fr auto; }
.cart-page__items .line__img { width: 100px; height: 124px; }
.cart-page__items .line__img img { height: 114px; }
.cart-page__aside { position: sticky; top: calc(var(--sticky-h, var(--header-h)) + 20px); padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .cart-page__grid { grid-template-columns: 1fr; } .cart-page__aside { position: static; } }

/* ---------- Institucional ---------- */
.page-body { padding-bottom: 90px; }
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; color: var(--wine); margin: 34px 0 10px; }
.prose p { margin-bottom: 1em; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 30px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .25s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.contact-card strong { color: var(--wine); }
.contact-card span { font-size: .88rem; word-break: break-word; }
@media (max-width: 720px) { .contact-cards { grid-template-columns: 1fr; } }

.about-hero { position: relative; color: #fff; padding: 40px 0 90px; overflow: hidden; background: var(--wine-900); }
.about-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,17,41,.9) 20%, rgba(58,17,41,.2)); }
.about-hero__inner { position: relative; z-index: 1; }
.about-hero .crumbs, .about-hero .crumbs [aria-current] { color: #e1bfd0; }
.about-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 18ch; margin-top: 36px; }
.about-hero h1 em { color: #f2bcd7; }
.values { background: var(--sand); padding: 70px 0; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--cream); }
.value__n { font-family: var(--font-display); font-size: 2.4rem; color: var(--blush-2); font-weight: 700; line-height: 1; }
.value h3 { font-size: 1.5rem; color: var(--wine); margin: 12px 0 8px; }
.value p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .values__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
    position: relative; overflow: hidden; color: #e5cfda; padding: 72px 0 0;
    background: radial-gradient(60% 80% at 85% 60%, #8f1160 0%, transparent 60%), radial-gradient(50% 70% at 10% 10%, #6b2a50 0%, transparent 60%), var(--wine-900);
}
.footer::after { content: ""; position: absolute; inset: 0; background: url("../img/brand/folha.webp") no-repeat 3% 92% / 140px; opacity: .14; pointer-events: none; }
.footer > .container { position: relative; z-index: 1; }
body:has(.cta-band) .footer { padding-top: 156px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__logo { filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.footer__brand p { font-size: .92rem; max-width: 36ch; color: #d4b6c5; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: .2s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); }
.footer__title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f2bcd7; margin-bottom: 16px; }
.footer__links, .footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .i { color: #f2bcd7; margin-top: 3px; width: 18px; height: 18px; }
.footer__contact a, .footer__contact span { word-break: break-word; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #b893a6; }
.footer__bottom p { margin: 0; }
.footer__secure { display: inline-flex; align-items: center; gap: 6px; }
.footer__secure .i { width: 16px; height: 16px; }
.footer__credit a { color: #f3dfe9; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(243,223,233,.35); transition: border-color .2s; }
.footer__credit a:hover { border-color: #f3dfe9; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } .footer__brand { grid-column: auto; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; background: #1f9d55; color: #fff; box-shadow: 0 10px 24px -8px rgba(31,157,85,.7);
    transition: transform .25s var(--ease), bottom .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .i { width: 28px; height: 28px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Menu: link "Todos os produtos" em destaque + compactação em telas médias */
.nav__link--all { color: var(--accent); font-weight: 600; }
@media (max-width: 1240px) and (min-width: 981px) {
    .nav { margin-left: 4px; }
    .nav__link { padding: 10px 10px; font-size: .9rem; }
}

/* ==========================================================================
   Fotos sem filtro: exibidas exatamente como cadastradas na Nuvemshop
   (fundo branco, sem tom de sabor, sem mix-blend, sem sombra)
   ========================================================================== */
.pv,
.pv--maca, .pv--laranja, .pv--mix, .pv--quentao { --tint: #fff; --tint-2: #fff; background: #fff; }
.pv { border: 1px solid var(--line); }
.pv__halo { display: none; }
.pv__img { mix-blend-mode: normal; inset: 4% 0; height: 92%; }
.pcard:hover .pv__img { transform: scale(1.03); }
.gal__stage { background: #fff; }
.gal__slide .pv { border: 0; }
.gal__stage { border: 1px solid var(--line); }
.gal__thumb, .gal__thumb.pv--maca, .gal__thumb.pv--laranja, .gal__thumb.pv--mix, .gal__thumb.pv--quentao { background: #fff; border: 1px solid var(--line); }
.gal__thumb img { mix-blend-mode: normal; }
.line__img { background: #fff; border: 1px solid var(--line); }
.line__img img { mix-blend-mode: normal; }

/* ==========================================================================
   Filtros da listagem (facetas da Nuvemshop)
   ========================================================================== */
.toolbar__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.filters-toggle { display: none; min-height: 42px; padding: 0 1em; font-size: .9rem; }
.filters-toggle__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; }
.filters-toggle .i { width: 18px; height: 18px; }

.listing__body { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; padding-top: 24px; }
.listing__main { min-width: 0; }
.listing__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 22px; }
.listing__meta .listing__count { margin: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.filters { position: sticky; top: calc(var(--sticky-h, var(--header-h)) + 20px); max-height: calc(100vh - var(--sticky-h, var(--header-h)) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filters__title { font-size: 1.3rem; color: var(--wine); }
.filters__close, .filters__foot { display: none; }
.fgroup { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fgroup__title { padding: 0; margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .94rem; color: var(--ink); }
.fcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fcheck__box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid #cdb9c4; background: #fff; display: grid; place-items: center; transition: .15s; }
.fcheck__box .i { width: 13px; height: 13px; color: #fff; opacity: 0; transition: opacity .15s; }
.fcheck input:checked + .fcheck__box { background: var(--wine); border-color: var(--wine); }
.fcheck input:checked + .fcheck__box .i { opacity: 1; }
.fcheck input:focus-visible + .fcheck__box { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.fcheck:hover .fcheck__box { border-color: var(--wine); }
.fcheck__label { flex: 1; }
.fcheck__count { font-size: .8rem; color: var(--muted); }
.fcheck.is-empty { opacity: .45; cursor: default; }
.fprice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fprice__field span { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.fprice__field .input { height: 42px; padding: 0 12px; border-radius: 12px; }
.fprice__apply { margin-top: 12px; min-height: 42px; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.afilter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--blush); color: var(--wine); font-size: .85rem; font-weight: 600; transition: background .2s; }
.afilter small { font-weight: 500; color: var(--ink-2); }
.afilter .i { width: 14px; height: 14px; }
.afilter:hover { background: var(--blush-2); }
.afilter-clear { font-size: .85rem; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

@media (max-width: 1100px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .listing__body { grid-template-columns: 1fr; padding-top: 18px; }
    .filters-toggle { display: inline-flex; }
    .filters {
        position: fixed; inset: 0 auto 0 0; z-index: 110; width: min(360px, 88vw); max-height: none; top: 0;
        background: var(--cream); padding: 16px 20px 0; box-shadow: var(--shadow-lg);
        transform: translateX(-105%); transition: transform .35s var(--ease); display: flex; flex-direction: column;
    }
    .filters.is-open { transform: none; }
    .filters__close { display: inline-grid; }
    .filters__foot { display: block; position: sticky; bottom: 0; margin-top: auto; padding: 14px 0 18px; background: var(--cream); }
    body.filters-open::after { content: ""; position: fixed; inset: 0; z-index: 105; background: rgba(43, 22, 34, .45); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .toolbar__right { width: 100%; justify-content: space-between; }
}
/* legend dentro do padding do fieldset (comportamento padrão o "puxa" para a borda) */
.fgroup__title { float: left; width: 100%; }
.fgroup__title + * { clear: both; }

/* ---------- Acompanhar pedido (/meu-pedido) ---------- */
.track { padding-bottom: 72px; }
.track__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.track__grid--result { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 900px) { .track__grid, .track__grid--result { grid-template-columns: 1fr; } }
.track-form, .track-help, .track-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 6px 20px rgba(86,30,62,.05); }
.track-form { max-width: 560px; }
.track-form .input.is-invalid { border-color: #c0392b; }
.track-form__error { margin: -4px 0 16px; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #a93226; font-size: .88rem; }
.track-form__note { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: var(--blush); color: var(--wine); font-size: .88rem; }
.track-help { background: var(--blush); border-color: transparent; box-shadow: none; }
.track-help h2 { margin: 0 0 6px; font-size: 1.05rem; color: var(--wine); }
.track-help p { margin: 0 0 18px; font-size: .9rem; color: var(--ink-2); }
.track-help a:not(.btn) { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.track-main, .track-side { display: flex; flex-direction: column; gap: 16px; }
.track-status { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, var(--wine), var(--accent)); color: #fff; }
.track-status > .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.15); box-sizing: content-box; }
.track-status p { margin: 0; }
.track-status__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.track-status__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }
.track-status--cancel { background: #fdecea; color: #a93226; }
.track-status--cancel > .i { background: rgba(169,50,38,.1); }

.steps { list-style: none; margin: 0; padding: 22px 18px 18px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .8rem; color: var(--muted); }
.steps__item::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.steps__item:first-child::before { display: none; }
.steps__item.is-done::before { background: var(--accent); }
.steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.steps__item.is-done .steps__dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps__item.is-current .steps__dot { box-shadow: 0 0 0 5px rgba(143,17,96,.15); }
.steps__dot .i { width: 14px; height: 14px; }
.steps__item.is-done .steps__label { color: var(--wine); font-weight: 600; }
.steps__date { font-size: .72rem; opacity: .8; }
@media (max-width: 600px) {
    .steps { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    .steps__item { flex-direction: row; text-align: left; gap: 12px; }
    .steps__item::before { top: auto; bottom: 50%; left: 13px; right: auto; width: 3px; height: calc(100% + 14px); }
    .steps__date { margin-left: auto; }
}

.track-box__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; color: var(--wine); }
.track-box__title .i { width: 18px; height: 18px; color: var(--accent); }
.track-box__meta { margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); }
.track-box p { margin: 0; }
.track-box--alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-color: rgba(143,17,96,.35); border-style: dashed; background: #fbf0f6; }
.track-box--alert p:not(.track-box__title) { font-size: .9rem; color: var(--ink-2); }
.track-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--blush); }
.track-code > div { flex: 1; min-width: 160px; }
.track-code small { display: block; font-size: .78rem; color: var(--ink-2); }
.track-code strong { font-size: 1.15rem; letter-spacing: .06em; color: var(--wine); }
.track-code .coupon-code { color: var(--accent); background: #fff; }
.track-items { list-style: none; margin: 0; padding: 0; }
.track-items li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.track-items li:first-child { border-top: 0; padding-top: 0; }
.track-items__img { flex: none; width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.track-items__img img { width: 100%; height: 100%; object-fit: contain; }
.track-items__name { flex: 1; min-width: 0; font-size: .92rem; }
.track-items__name small { display: block; color: var(--muted); }
.track-side .summary__rows { margin-bottom: 0; }
.track-side__account { margin: 0; text-align: center; font-size: .85rem; color: var(--ink-2); }
.track-side__account a { color: var(--accent); font-weight: 600; }

/* ═════════ Cabeçalho v2: barra superior · faixa principal · barra de categorias ═════════ */
:root { --catbar-h: 52px; --sticky-h: calc(var(--header-h) + var(--catbar-h)); }

/* Barra superior */
.topbar { background: var(--wine); color: #f3dfe9; font-size: .8rem; }
.topbar--promo { background: linear-gradient(90deg, var(--wine), var(--accent) 50%, var(--wine)); color: #fff; }
.topbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 40px; padding-block: 5px; }
.topbar .i { width: 15px; height: 15px; }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: inherit; opacity: .75; transition: opacity .2s, background .2s; }
.topbar__social a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.topbar__center { display: flex; justify-content: center; min-width: 0; text-align: center; }
.topbar__msg { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links { display: flex; justify-content: flex-end; align-items: center; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px; color: inherit; opacity: .82; white-space: nowrap; transition: opacity .2s; }
.topbar__links a + a { border-left: 1px solid rgba(255,255,255,.25); }
.topbar__links a:hover { opacity: 1; }
.topbar .announce__promo { flex-wrap: wrap; justify-content: center; }
@media (max-width: 1180px) { .topbar__links a:first-child { display: none; } .topbar__links a:nth-child(2) { border-left: 0; } }
@media (max-width: 980px) {
    .topbar__inner { grid-template-columns: 1fr; }
    .topbar__social, .topbar__links { display: none; }
}

/* Faixa principal */
.header .header__inner { gap: 28px; }
.hsearch { flex: 1; max-width: 560px; display: flex; align-items: center; margin-left: 12px; height: 48px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.hsearch:focus-within { border-color: rgba(143,17,96,.45); box-shadow: 0 0 0 4px rgba(143,17,96,.08); }
.hsearch input { flex: 1; min-width: 0; height: 100%; padding: 0 6px 0 20px; border: 0; background: none; outline: none; font: inherit; font-size: .95rem; color: var(--ink); }
.hsearch input::placeholder { color: var(--muted); }
.hsearch button { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; transition: background .2s; }
.hsearch button:hover { background: var(--wine); }
.hsearch button .i { width: 18px; height: 18px; }
.header__actions { gap: 6px; align-items: center; }
.header__search-toggle { display: none !important; }
.hact { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 14px; color: var(--wine); transition: background .2s; }
.hact:hover { background: var(--blush); }
.hact > .i, .hact__ico > .i { width: 28px; height: 28px; stroke-width: 1.5; }
.hact__ico { position: relative; display: inline-grid; }
.hact__label { font-size: .84rem; font-weight: 600; line-height: 1.15; color: var(--wine); }
.hact--wa > .i { color: #1f9d55; }
.hact.cart-btn .cart-btn__count { top: -6px; right: -8px; }
@media (max-width: 1180px) { .hact--wa { display: none; } }

/* Barra de categorias */
.catbar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catbar__list { list-style: none; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 4px; height: var(--catbar-h); }
.catbar__item { position: relative; }
.catbar__link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.catbar__link:hover, .catbar__link.is-active, .catbar__item.has-sub:hover > .catbar__link { color: var(--wine); background: var(--blush); }
.catbar__link--all { font-weight: 600; color: var(--wine); }
.cat-ico { flex: none; width: 24px; height: 24px; color: var(--accent); object-fit: contain; }
svg.cat-ico { stroke-width: 2.4; }
.cat-ico--sm { width: 20px; height: 20px; }
.catbar__link--all .cat-ico { width: 20px; height: 20px; }
.catbar__caret { width: 13px; height: 13px; transform: rotate(90deg); opacity: .55; transition: transform .25s var(--ease), opacity .2s; }
.catbar__item.has-sub:hover .catbar__caret, .catbar__item.has-sub:focus-within .catbar__caret { transform: rotate(-90deg); opacity: 1; }
.catbar__sub {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 240px;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.catbar__item.has-sub:hover .catbar__sub, .catbar__item.has-sub:focus-within .catbar__sub { opacity: 1; visibility: visible; transform: none; }
.catbar__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.catbar__sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); }
.catbar__sub a:hover { background: var(--blush); color: var(--wine); }
.catbar__all { color: var(--accent) !important; font-weight: 600; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 11px !important; border-radius: 0 0 8px 8px !important; }
.catbar__cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s; }
.catbar__cta:hover { background: var(--wine); transform: translateY(-1px); }
.catbar__cta .i { width: 20px; height: 20px; }

/* Ao rolar: faixa principal mais compacta */
.header.is-scrolled { --header-h: 68px; }
.header .header__inner { transition: height .3s var(--ease); }

/* Celular / tablet: burger · logo · lupa · pedidos · carrinho (categorias ficam no menu) */
@media (max-width: 980px) {
    :root { --sticky-h: var(--header-h); }
    .catbar, .hsearch, .hact__label { display: none; }
    .header__search-toggle { display: inline-grid !important; }
    .header__actions { gap: 0; }
    .hact { padding: 8px; border-radius: 50%; }
    .hact > .i, .hact__ico > .i { width: 24px; height: 24px; stroke-width: 1.8; }
    .hact.cart-btn .cart-btn__count { top: -6px; right: -8px; }
}
@media (max-width: 380px) { .header__actions .hact:not(.cart-btn) { display: none; } }
.mnav__ico { display: inline-flex; align-items: center; gap: 12px; } .mnav__ico .cat-ico { width: 26px; height: 26px; }
.catbar__sub { min-width: 260px; } .catbar__all { white-space: nowrap; }

/* Carregamento do cálculo de frete */
.spinner { display: inline-block; flex: none; vertical-align: middle; }
.spinner--sm { width: 18px; height: 18px; border-width: 2.5px; }
.spinner--btn { width: 16px; height: 16px; border-width: 2px; border-color: rgba(143,17,96,.25); border-top-color: var(--accent); }
.ship__row .btn { display: inline-flex; align-items: center; gap: 8px; min-width: 124px; justify-content: center; }
.ship__loading { margin-top: 14px; }
.ship__loading p { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .88rem; color: var(--ink-2); }
.ship__skel { display: block; height: 44px; margin-top: 8px; border-radius: 10px; background: linear-gradient(90deg, var(--blush) 25%, #fbf3f7 50%, var(--blush) 75%); background-size: 200% 100%; animation: ship-shimmer 1.2s linear infinite; }
.ship__skel + .ship__skel { width: 78%; }
@keyframes ship-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ship__skel { animation: none; } }

/* Contato: "Onde estamos" */
.location { display: grid; grid-template-columns: 1fr 1.1fr; margin-top: 10px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.location__info { padding: 28px; }
.location__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--accent); margin-bottom: 12px; }
.location__icon .i { width: 22px; height: 22px; }
.prose .location h2 { margin: 0 0 8px; }
.location__address { margin: 0 0 6px !important; font-weight: 600; color: var(--wine); }
.location__note { margin: 0 0 20px !important; font-size: .9rem; }
.location__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.location__actions .btn { min-height: 44px; padding: 0 1.2em; font-size: .9rem; }
.location__map { min-height: 280px; background: var(--blush); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
@media (max-width: 720px) { .location { grid-template-columns: 1fr; } .location__map, .location__map iframe { min-height: 240px; } }
/* Contato em largura total: cartões maiores, e-mail sem quebrar */
.contact-cards { gap: 18px; }
.contact-card { padding: 26px 28px; }
.contact-card span { font-size: .95rem; word-break: normal; overflow-wrap: anywhere; }
.location__info { padding: 34px; }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1.4fr; } .location__map, .location__map iframe { min-height: 320px; } }

/* Tipografia: sem palavra sozinha na última linha */
.page-hero__lead { max-width: 68ch; text-wrap: balance; }
h1, h2, h3, .section__title, .page-hero__title { text-wrap: balance; }
p, li, dd, .prose p { text-wrap: pretty; }
