/* ============================================================
   MyLu · Landing + Componentes globais
   ============================================================ */

/* ----------------- PRELOADER ----------------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.preloader-mark {
  position: relative;
  width: 18px; height: 26px; opacity: 0; transform: translateY(12px);
}
.preloader-mark::before, .preloader-mark::after {
  content: ""; position: absolute; width: 8px; height: 18px;
  border-radius: 0 0 50% 50% / 0 0 40% 40%;
  background: var(--gold);
  top: 0;
}
.preloader-mark::before { left: 0; transform: rotate(-18deg); transform-origin: bottom center; }
.preloader-mark::after { right: 0; transform: rotate(18deg); transform-origin: bottom center; }

/* ============================================================
   ATMOSFERA BOTÂNICA — fundo do mundo escuro (favoritos→rodapé)
   Enraíza o conteúdo num campo de trigo quente, em paleta MyLu.
   Aparece junto com o tema escuro (body.is-dark).
   ============================================================ */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.8s var(--ease-soft);
  background:
    radial-gradient(120% 80% at 50% 8%, #3A2E22 0%, #2A2018 52%, #211a13 100%);
  overflow: hidden;
}
body.is-dark .atmosphere { opacity: 1; }

/* foto botânica real do usuário (camada opcional, atrás de tudo) */
.atmo-photo {
  position: absolute; inset: 0;
  background: var(--atmo-photo, none) center/cover no-repeat;
  opacity: 0.5; mix-blend-mode: luminosity;
}

/* espigas reais, grandes e desfocadas, como mato ao fundo */
.atmo-wheat {
  position: absolute; bottom: -4%; width: clamp(260px, 32vw, 520px); height: 92%;
  background: url("brand/trigo-dir.png") bottom center / contain no-repeat;
  opacity: 0.2; filter: blur(2.5px) sepia(0.35) saturate(1.2) brightness(0.9);
  transform-origin: bottom center;
}
.atmo-wheat--l { left: -2%; transform: scaleX(-1) rotate(6deg); }
.atmo-wheat--r { right: -2%; transform: rotate(6deg); }

/* brilho quente central (luz que atravessa o trigo) */
.atmo-glow {
  position: absolute; left: 50%; top: 34%; width: 80vw; height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(201,162,74,0.16), rgba(201,162,74,0) 62%);
  filter: blur(8px);
}

/* grão de filme sutil (tatilidade) */
.atmo-grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* vinheta quente nas bordas */
.atmo-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, rgba(33,26,19,0) 46%, rgba(20,15,10,0.75) 100%);
}

/* conteúdo acima da atmosfera */
#main { position: relative; z-index: 1; }

/* no mundo escuro, as seções deixam a atmosfera aparecer */
body.is-dark .club-banner,
body.is-dark .site-footer { background: transparent; }

/* foto real do produto (PNG recortado) no lugar do vetor: mesma classe
   .flacon, então herda o tamanho e a sombra de cada contexto. A base do
   frasco pousa onde o vetor pousava. Calibração: lab.html */
.bottle-img { object-fit: contain; object-position: bottom center; }

/* reveal base (settle do trigo) — estado inicial via JS guard */
[data-settle] { will-change: transform, opacity; }
.is-armed [data-settle] { opacity: 0; transform: translateY(24px) rotate(var(--settle-rot, -1.5deg)); }

/* ----------------- LOCKUP ANIMADO DO HERO (fiel ao aprovado) ----------------- */
/* a animação só dispara quando .hero-logo recebe [data-play] (pós-cortina) */
.hero-logo .gr { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.hero-logo .leaves { transform-box: fill-box; transform-origin: 50% 0%; opacity: 0; }
.hero-logo .arc { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hero-logo .word, .hero-logo .tag { opacity: 0; }
.hero-logo[data-play] .gr { animation: mylu-grow 0.55s cubic-bezier(.2,.8,.25,1) both; }
.hero-logo[data-play] .leaves { animation: mylu-grow 0.5s cubic-bezier(.2,.8,.25,1) both; }
.hero-logo[data-play] .arc { animation: mylu-draw 1.1s cubic-bezier(.4,0,.2,1) both; }
.hero-logo[data-play] .word, .hero-logo[data-play] .tag { animation: mylu-rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes mylu-grow { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
@keyframes mylu-draw { to { stroke-dashoffset: 0; } }
@keyframes mylu-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-logo .gr, .hero-logo .leaves, .hero-logo .word, .hero-logo .tag { opacity: 1; animation: none; transform: none; }
  .hero-logo .arc { stroke-dashoffset: 0; animation: none; }
}
/* estado final forçado (fallback se as animações forem suprimidas) */
.hero-logo[data-shown] .gr, .hero-logo[data-shown] .leaves, .hero-logo[data-shown] .word, .hero-logo[data-shown] .tag { opacity: 1; transform: none; animation: none; }
.hero-logo[data-shown] .arc { stroke-dashoffset: 0; animation: none; }

/* respiração quase invisível */
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.012); } }

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(246, 239, 225, 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: transform 0.32s var(--ease-soft),
              background-color 0.6s var(--ease-soft),
              color 0.6s var(--ease-soft);
  color: var(--ink);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line-gold); opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}
.site-header[data-scrolled]::after { opacity: 1; }
.site-header[data-hidden] { transform: translateY(-100%); }
.site-header[data-theme="dark"] {
  background: rgba(42, 32, 24, 0.66);
  color: var(--on-dark);
}

.header-inner {
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-5);
}

.logo-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.logo-link .espiga { width: 24px; height: 38px; }
.logo-link .wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1;
  letter-spacing: 0.01em;
}
.logo-link .wordmark em { font-style: italic; color: var(--ink-gold); }
.site-header[data-theme="dark"] .wordmark em { color: var(--gold-bright); }
.logo-link:hover .espiga { animation: breathe 2.4s var(--ease-soft) infinite; }

.main-nav { display: flex; gap: clamp(8px, 1.4vw, 22px); justify-self: center; }
.nav-link {
  position: relative; padding: 6px 2px;
  font-family: var(--sans); font-weight: 400; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: inherit; opacity: 0.82;
  transition: opacity var(--dur-quick) var(--ease-soft);
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 1px; width: 0;
  background: var(--wheat); transform: translateX(-50%);
  transition: width 0.24s var(--ease-soft);
}
.site-header[data-theme="dark"] .nav-link::after { background: var(--gold-bright); }
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--s-3); justify-self: end; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  color: inherit; opacity: 0.9;
  transition: transform var(--dur-quick) var(--ease-soft), opacity var(--dur-quick) var(--ease-soft);
}
.icon-btn:hover { transform: translateY(-1px); opacity: 1; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: none; align-items: center; justify-content: center;
  background: var(--wheat); color: var(--on-gold);
  border-radius: var(--r-pill);
  font-family: var(--serif); font-weight: 600; font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.cart-count[data-show] { display: inline-flex; }
.cart-count.pulse { animation: cartPulse 0.5s var(--ease-bloom); }
@keyframes cartPulse { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.menu-toggle { display: none; }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { display: none; }
  .header-actions .icon-btn[data-account], .header-actions .icon-btn[data-search] { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ============================================================
   MENU MOBILE (overlay creme tela cheia)
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 12px) var(--gutter) var(--s-7);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-soft);
  overflow-y: auto;
}
.mobile-menu[data-open] { transform: translateY(0); }
.mobile-menu .mm-search {
  display: flex; align-items: center; gap: var(--s-3);
  border-bottom: 1px solid var(--line-gold); padding-bottom: var(--s-3);
  margin-bottom: var(--s-7); color: var(--ink-3);
}
.mobile-menu .mm-search input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink);
}
.mm-worlds { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mm-world {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.18; color: var(--ink); opacity: 0;
  transform: translateY(16px);
}
.mobile-menu[data-open] .mm-world { animation: mmIn 0.5s var(--ease-soft) forwards; }
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }
.mm-world em { font-style: italic; color: var(--ink-gold); }
.mm-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: var(--s-5); margin-top: var(--s-6);
}
.mm-footer a { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
/* espiga decorativa: erguida acima do rodapé do menu pra não cobrir "Sua sacola" */
.mm-grain { position: absolute; right: var(--gutter); bottom: calc(var(--s-6) + 72px); width: 44px; opacity: 0.6; color: var(--wheat); pointer-events: none; }

/* ============================================================
   SACOLA (drawer)
   ============================================================ */
.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(42, 32, 24, 0.42);
  opacity: 0; visibility: hidden;
  transition: opacity 0.36s var(--ease-soft), visibility 0.36s;
  backdrop-filter: blur(2px);
}
.scrim[data-open] { opacity: 1; visibility: visible; }

.bag-drawer {
  position: fixed; top: 0; right: 0; z-index: 75;
  width: min(440px, 100vw); height: 100dvh;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-soft);
  box-shadow: -24px 0 50px -24px rgba(42, 32, 24, 0.4);
}
.bag-drawer[data-open] { transform: translateX(0); }
.bag-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-6) var(--s-6) var(--s-4);
}
.bag-head h2 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; }

/* barra de frete grátis com grãos */
.ship-bar { padding: 0 var(--s-6) var(--s-5); }
.ship-msg { font-size: 0.82rem; color: var(--ink-2); margin-bottom: var(--s-2); }
.ship-msg b { color: var(--ink-gold); font-family: var(--serif); font-weight: 600; }
.ship-track {
  position: relative; height: 6px; border-radius: var(--r-pill);
  background: var(--cream-deep); overflow: hidden;
}
.ship-fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, var(--wheat), var(--gold));
  border-radius: var(--r-pill);
  transition: width 0.6s var(--ease-soft);
}
.ship-track.sweep::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(217,185,106,0.9), transparent);
  transform: translateX(-100%); animation: sweep 0.9s var(--ease-soft);
}
@keyframes sweep { to { transform: translateX(100%); } }

/* comemoração de frete grátis: surge na tela mesmo com a sacola fechada */
.ship-toast {
  position: fixed; top: 22px; left: 50%; z-index: 200;
  display: flex; align-items: center; gap: var(--s-5);
  padding: 18px 30px 18px 20px;
  background: var(--cream-warm); border: 1px solid var(--line-gold);
  border-radius: var(--r-pill); box-shadow: 0 22px 50px -20px rgba(42, 32, 24, 0.5);
  max-width: calc(100vw - 32px); overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -22px) scale(0.96);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), visibility 0.5s;
}
.ship-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.ship-toast.show::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(217, 185, 106, 0.38), transparent);
  transform: translateX(-100%); animation: sweep 1.15s var(--ease-soft) 0.18s;
}
.ship-toast-emblem { flex: 0 0 auto; width: 40px; color: var(--wheat); display: block; }
.ship-toast-emblem .espiga { width: 100%; height: auto; display: block; }
.ship-toast-text { display: flex; flex-direction: column; line-height: 1.05; position: relative; }
.ship-toast-eyebrow { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--wheat-deep); }
.ship-toast-line { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-top: 4px; }

/* confete fino e dourado dos cantos inferiores (sensação de conquista) */
.ship-confetti { position: fixed; inset: 0; z-index: 190; pointer-events: none; overflow: hidden; }
.ship-confetti-bit {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  will-change: transform, opacity; box-shadow: 0 0 6px rgba(201, 162, 74, 0.35);
}
.ship-confetti-bit.is-flake { border-radius: 1px; }

@media (prefers-reduced-motion: reduce) {
  .ship-toast { transition: opacity 0.25s, visibility 0.25s; transform: translate(-50%, 0) scale(1); }
  .ship-toast.show::before { animation: none; }
}
@media (max-width: 560px) {
  .ship-toast { top: 14px; padding: 14px 22px 14px 16px; gap: var(--s-4); }
  .ship-toast-emblem { width: 34px; }
  .ship-toast-eyebrow { font-size: 0.62rem; }
  .ship-toast-line { font-size: 1.22rem; }
}

.bag-items { flex: 1; overflow-y: auto; padding: 0 var(--s-6); overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-gold) transparent; }
/* barra de rolagem discreta, na cor da casa (some as setas nativas do SO) */
.bag-items::-webkit-scrollbar { width: 6px; }
.bag-items::-webkit-scrollbar-track { background: transparent; }
.bag-items::-webkit-scrollbar-thumb { background: var(--line-gold); border-radius: var(--r-pill); }
.bag-items::-webkit-scrollbar-thumb:hover { background: var(--wheat-deep); }
.bag-line {
  display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-4);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line-gold);
  align-items: start;
}
/* caixa fixa base-anchored (razão 1.66 dos cards): linhas da sacola com
   altura uniforme, foto de qualquer proporção contida sem deformar */
.bag-line .flacon { width: 52px; height: 86px; filter: drop-shadow(0 12px 18px rgba(42,32,24,0.22)); }
.bag-line .bl-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.bag-line .bl-world { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.bag-line .bl-meta { font-size: 0.8rem; color: var(--ink-2); margin-top: 6px; }
/* aviso calmo na linha: um volume que saiu de linha foi ajustado (nada some em silêncio) */
.bag-line .bl-aviso { font-family: var(--sans); font-size: 0.74rem; line-height: 1.45; color: var(--wheat-deep); margin: 8px 0 0; padding-left: 10px; border-left: 2px solid var(--gold); }
/* controles da linha: volume e quantidade como dois mini-steppers gêmeos, lado a lado */
.bl-controls { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); align-items: flex-end; }
.bl-field { display: flex; flex-direction: column; gap: 5px; }
.bl-field-lbl { font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.qty, .ml-step {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 0;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 4px;
}
.qty button, .ml-step button {
  width: 24px; height: 24px; border-radius: var(--r-pill); color: var(--ink-2);
  display: grid; place-items: center; font-size: 0.95rem; line-height: 1;
  transition: background var(--dur-quick);
}
.qty button:hover, .ml-step button:hover { background: var(--cream-deep); }
.qty button[disabled], .ml-step button[disabled] { opacity: 0.32; pointer-events: none; }
.qty span, .ml-val { text-align: center; font-variant-numeric: tabular-nums; font-size: 0.9rem; color: var(--ink); }
.qty span { min-width: 16px; }
.ml-val { min-width: 22px; }
.bl-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-3); height: 100%; }
.bl-sub { font-family: var(--serif); font-weight: 600; color: var(--ink-gold); font-variant-numeric: tabular-nums; }
.bl-remove { font-size: 0.74rem; color: var(--ink-3); border-bottom: 1px solid transparent; transition: color var(--dur-quick), border-color var(--dur-quick); }
.bl-remove:hover { color: var(--wheat-deep); border-color: var(--line-gold); }

.cross-sell { padding: var(--s-5) var(--s-6); }
.cross-sell h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--ink-2); margin-bottom: var(--s-4); }
.cross-row { display: flex; gap: var(--s-4); overflow-x: auto; padding-bottom: var(--s-2); overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-gold) transparent; }
.cross-row::-webkit-scrollbar { height: 6px; }
.cross-row::-webkit-scrollbar-track { background: transparent; }
.cross-row::-webkit-scrollbar-thumb { background: var(--line-gold); border-radius: var(--r-pill); }
.cross-row::-webkit-scrollbar-thumb:hover { background: var(--wheat-deep); }
.cross-card { flex: 0 0 96px; text-align: center; }
.cross-card .flacon { width: 56px; height: 93px; margin: 0 auto var(--s-2); filter: drop-shadow(0 14px 18px rgba(42,32,24,0.2)); transition: transform var(--dur-calm) var(--ease-soft); }
.cross-card:hover .flacon { transform: translateY(-4px); }
.cross-card .cc-name { font-family: var(--serif); font-size: 0.86rem; line-height: 1.15; }
.cross-add { margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-gold); border-bottom: 1px solid var(--line-gold); }

.bag-foot {
  border-top: 1px solid var(--line-strong); padding: var(--s-5) var(--s-6) var(--s-6);
  background: var(--cream-warm);
}
.bag-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.bag-total .lbl { font-family: var(--sans); letter-spacing: 0.06em; }
.bag-total .val { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.bag-note { font-size: 0.74rem; color: var(--ink-3); margin-bottom: var(--s-4); }
.bag-foot .btn { width: 100%; --btn-fill: var(--espresso); }
.bag-foot .btn::after { background: var(--espresso-80); }
.bag-foot .continue { display: block; text-align: center; margin-top: var(--s-3); font-size: 0.78rem; color: var(--ink-2); }
.bag-foot .continue:hover { color: var(--wheat-deep); }

/* sacola vazia */
.bag-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s-7) var(--s-6); gap: var(--s-5); }
.bag-empty .flacon { width: 70px; height: auto; opacity: 0.85; filter: drop-shadow(0 20px 28px rgba(42,32,24,0.2)); animation: breathe 6s ease-in-out infinite; }
.bag-empty p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink-2); max-width: 16ch; }

@media (max-width: 560px) {
  .bag-drawer { width: 100vw; height: 92dvh; top: auto; bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); }
  .bag-drawer[data-open] { transform: translateY(0); }
  .bag-drawer::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: var(--r-pill); background: var(--line-strong); }
  .bag-head { padding-top: var(--s-7); }
  /* a lista de itens nunca colapsa sob o cross-sell + rodapé (rola por dentro) */
  .bag-items { min-height: 180px; }
  .bag-line { padding: var(--s-4) 0; }
  .qty button, .ml-step button { width: 30px; height: 30px; }
  /* cross-sell compacto no bottom sheet: frascos menores, menos respiro vertical */
  .cross-sell { padding: var(--s-3) var(--s-6) var(--s-2); }
  .cross-sell h3 { font-size: 1rem; margin-bottom: var(--s-2); }
  .cross-card { flex-basis: 76px; }
  .cross-card .flacon { width: 40px; height: 66px; }
}

/* ============================================================
   BUSCA (overlay)
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 78;
  background: rgba(246, 239, 225, 0.92);
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-soft), visibility 0.3s;
  padding: var(--gutter);
  overflow-y: auto;
}
.search-overlay[data-open] { opacity: 1; visibility: visible; }
.search-inner { max-width: 760px; margin: clamp(48px, 12vh, 140px) auto 0; }
.search-field { display: flex; align-items: center; gap: var(--s-4); border-bottom: 1px solid var(--line-gold); padding-bottom: var(--s-4); }
.search-field input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 400;
  color: var(--ink);
}
.search-field input::placeholder { font-style: italic; color: var(--ink-3); }
.search-field .icon-btn svg { width: 24px; height: 24px; }
.search-section { margin-top: var(--s-7); opacity: 0; transform: translateY(14px); }
.search-overlay[data-open] .search-section { animation: mmIn 0.4s var(--ease-soft) 0.1s forwards; }
.search-section h4 { font-family: var(--sans); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-gold); margin-bottom: var(--s-4); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.chip {
  padding: 8px 18px; border-radius: var(--r-pill); background: var(--cream-deep);
  color: var(--ink-2); font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em;
  transition: background var(--dur-quick), color var(--dur-quick), transform var(--dur-quick);
}
.chip:hover { background: var(--wheat); color: var(--on-gold); transform: translateY(-1px); }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding-block: clamp(72px, 11vh, 144px); position: relative; }
.section-eyebrow { margin-bottom: var(--s-4); }
.divider-gold { width: 64px; height: 1px; background: var(--line-gold); border: none; }

/* grãos de luz de fundo */
.grain-dust { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.grain-dust span {
  position: absolute; width: 3px; height: 8px; border-radius: 50%;
  background: var(--gold); opacity: 0.0;
  filter: blur(0.4px);
}
