/* MRX Beauty starter-shop: portado da loja modelo aprovada (tokens, base, componentes, paginas). */
/* Tokens da loja modelo MRX Beauty. Herdados da landing aprovada Ritual Claro v5.
   Hanken Grotesk (variavel 200 a 600) com acentos em Bodoni Moda italico. Fontes OFL, auto hospedadas. */
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Fallback'; src: local('Arial'); size-adjust: 98%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }
:root {
  --font-display: 'Hanken Grotesk', 'Hanken Fallback', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', 'Hanken Fallback', system-ui, sans-serif;
  --font-accent: 'Bodoni Moda', 'Times New Roman', serif;
  --font-label: var(--font-body);
  --w-display: 220; --w-title: 280; --w-sub: 300; --w-body: 400; --w-strong: 500; --w-label: 500;
  --fs-display: clamp(44px, 7vw, 104px);
  --fs-h2: clamp(32px, 4.2vw, 60px);
  --fs-h3: clamp(22px, 2.2vw, 30px);
  --fs-lead: clamp(18px, 1.5vw, 22px);
  --fs-body: 17px;
  --fs-label: 11.5px;
  --ls-display: -0.045em; --ls-h2: -0.03em; --ls-label: .16em;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --section-y: clamp(64px, 9vh, 120px);
  --gutter: clamp(18px, 4vw, 56px);
  --max-w: 1440px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-1: 180ms; --dur-2: 400ms; --dur-3: 700ms;
  --tap: 48px;
  /* 1.5a: paleta Lume Beauty (arte/marca/IDENTIDADE.md): branco, marfim #F4EEE8, framboesa #A53D56, carvão #26211E. */
  --c-bg: #F4EEE8;
  --c-surface: #FFFFFF;
  --c-stone: #EAE1D9;
  --c-ink: #26211E;
  --c-ink-muted: #5E5650;
  --c-line: #DDD3CA;
  --c-brand: #A53D56;
  --c-brand-hover: #8A3047;
  --c-brand-tint: #F5E3E7;
  --c-cta: #A53D56;
  --c-cta-ink: #FFFFFF;
  --c-ink-on-dark: #F4EEE8;
  --c-muted-on-dark: #BDB3AA;
  --c-footer: #26211E;
  --c-accent-on-dark: #E6A6B5;
  --c-success: #1F7A4D;
  --c-wa: #25D366;
  --radius-1: 4px; --radius-2: 10px; --radius-pill: 999px;
  --shadow-panel: 0 18px 50px rgba(23, 21, 27, .12);
  --shadow-card: 0 1px 2px rgba(23, 21, 27, .04);
  --shadow-float: 0 14px 34px rgba(23, 21, 27, .20);
  --header-h: 76px;
  --strip-h: 44px;
  --bench-h: 42px;
}
@media (prefers-reduced-motion: reduce) { :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; } }
::selection { background: var(--c-brand); color: #fff; }
/* Base da loja modelo MRX Beauty. Reset, tipografia, botoes, utilidades. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--bench-h) + 16px); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; font-weight: var(--w-body);
  font-variant-numeric: lining-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  scrollbar-color: #B9AEA5 var(--c-bg); overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--c-bg); } ::-webkit-scrollbar-thumb { background: #B9AEA5; border-radius: 10px; border: 2px solid var(--c-bg); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--c-ink); text-wrap: balance; font-weight: var(--w-title); }
h1 { font-size: var(--fs-h2); line-height: 1.0; letter-spacing: var(--ls-h2); }
h2 { font-size: var(--fs-h2); line-height: 1.0; letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.02em; font-weight: 300; }
h4 { font-size: 18px; line-height: 1.2; font-weight: var(--w-strong); letter-spacing: -0.01em; }
em, .accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em, .display em { font-size: 1.05em; letter-spacing: -0.02em; }
strong, b { font-weight: var(--w-strong); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
a { color: var(--c-brand); text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(40px, 6vh, 72px); }
.label { font-family: var(--font-label); font-size: var(--fs-label); line-height: 1.4; letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: var(--w-label); color: var(--c-ink-muted); }
.sub { font-size: var(--fs-lead); line-height: 1.5; font-weight: var(--w-sub); color: var(--c-ink-muted); }
.display { font-size: var(--fs-display); line-height: .94; letter-spacing: var(--ls-display); font-weight: var(--w-display); text-wrap: balance; }
.muted { color: var(--c-ink-muted); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--c-ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-1); text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1; padding: 5px 8px; border: 1px dashed #8d8793; border-radius: 3px; color: var(--c-ink-muted); background: rgba(255,255,255,.6); }

/* Botoes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--tap); padding: 0 24px; border-radius: var(--radius-pill); font: 500 16px/1 var(--font-body); letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-1) ease, color var(--dur-1) ease, border-color var(--dur-1) ease, transform var(--dur-1) ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-cta { background: var(--c-cta); color: var(--c-cta-ink); font-weight: 500; }
.btn-cta:hover { background: var(--c-brand-hover); }
.btn-primary { background: var(--c-ink); color: #fff; }
.btn-primary:hover { background: var(--c-brand); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: rgba(23,21,27,.4); }
.btn-ghost:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn-wa { background: var(--c-wa); color: #0b2e1a; }
.btn-wa:hover { background: #1fbe5b; }
.btn-wa svg { color: #0b2e1a; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* Icones Phosphor (inline via img ou mascara) */
.ico { width: 22px; height: 22px; flex: none; color: currentColor; }
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 26px; height: 26px; }

/* Preco */
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-weight: var(--w-strong); font-size: 20px; letter-spacing: -0.01em; }
.price-was { color: var(--c-ink-muted); text-decoration: line-through; font-size: 15px; }
.price-off { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--c-brand); background: var(--c-brand-tint); padding: 3px 7px; border-radius: var(--radius-1); }
.pix-line { color: var(--c-success); font-weight: var(--w-strong); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.pix-line img { width: 15px; height: 15px; }
.parc-line { color: var(--c-ink-muted); font-size: 14px; }

/* Avaliacoes: estrelas em SVG e nota compacta (dados de demonstracao, ver data.js) */
.stars { display: inline-flex; align-items: center; gap: 1px; line-height: 1; white-space: nowrap; }
.stars .star { width: 13px; height: 13px; flex: none; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-ink-muted); }
.rating__val { color: var(--c-ink); font-weight: 500; }
.rating__count { color: var(--c-ink-muted); }
.card__rating { margin-top: -2px; }

/* Fotos */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--c-stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.r-4x5 { aspect-ratio: 4 / 5; } .r-3x2 { aspect-ratio: 3 / 2; } .r-1x1 { aspect-ratio: 1 / 1; } .r-16x9 { aspect-ratio: 16 / 9; } .r-16x10 { aspect-ratio: 16 / 10; } .r-3x4 { aspect-ratio: 3 / 4; }
.credit { font-size: 12px; color: var(--c-ink-muted); margin-top: 10px; }

/* Badges em cima da foto */
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius-pill); background: var(--c-ink); color: #fff; }
.badge--new { background: var(--c-brand); }
.badge--off { background: var(--c-cta); color: var(--c-cta-ink); }

/* Pontos de secao */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--space-7); }
.sec-head .label { margin-bottom: 12px; }
.sec-head h2 { max-width: 20ch; }
.sec-link { font-size: 15px; color: var(--c-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-bottom: 1px solid var(--c-ink); padding-bottom: 3px; }
.sec-link:hover { color: var(--c-brand); border-color: var(--c-brand); }
.sec-link svg { width: 15px; height: 15px; }

@media (max-width: 640px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* Componentes globais da loja modelo MRX Beauty. */

/* ---------- Faixa fixa da loja modelo (topo de tudo) ---------- */
.model-strip { background: var(--c-brand); color: #fff; min-height: var(--strip-h); display: flex; align-items: center; }
.model-strip[hidden] { display: none; }
.model-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 8px; position: relative; }
.model-strip__text { font-size: 13.5px; letter-spacing: .01em; }
.model-strip__text b { font-weight: 600; }
.model-strip__cta { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.model-strip__cta:hover { border-color: #fff; }
.model-strip__cta img { width: 16px; height: 16px; }
.model-strip__close { position: absolute; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; background: transparent; color: #fff; cursor: pointer; border-radius: var(--radius-1); }
.model-strip__close:hover { background: rgba(255,255,255,.15); }
.model-strip__close svg { width: 18px; height: 18px; }

/* ---------- Faixa de beneficios ---------- */
.benefits { background: var(--c-ink); color: var(--c-ink-on-dark); min-height: var(--bench-h); display: flex; align-items: center; overflow: hidden; }
.benefits__track { display: flex; align-items: center; gap: 40px; padding-block: 9px; width: 100%; justify-content: center; flex-wrap: wrap; }
.benefit { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .02em; color: var(--c-ink-on-dark); white-space: nowrap; }
.benefit svg { width: 16px; height: 16px; color: var(--c-cta); flex: none; }
.benefit b { font-weight: 600; }
@media (max-width: 900px) { .benefits { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(238,239,239,.96); border-bottom: 1px solid rgba(23,21,27,.08); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.header-main { height: var(--header-h); display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.header-search { flex: 1 1 auto; max-width: 560px; margin-inline: auto; }
.search-trigger { width: 100%; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); color: var(--c-ink-muted); cursor: pointer; font-size: 14.5px; text-align: left; transition: border-color var(--dur-1) ease; }
.search-trigger:hover { border-color: #b7b5bb; }
.search-trigger svg { width: 19px; height: 19px; flex: none; }
.header-actions { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--c-ink); cursor: pointer; border-radius: var(--radius-pill); text-decoration: none; transition: background-color var(--dur-1) ease; }
.icon-btn:hover { background: rgba(23,21,27,.06); color: var(--c-brand); }
.icon-btn svg { width: 23px; height: 23px; }
.icon-btn__count { position: absolute; top: 6px; right: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--c-brand); color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.icon-btn__count[data-count="0"] { display: none; }
.header-main__start { display: none; align-items: center; }
.header-burger, .header-search-m { display: none; }
.icon-btn--labeled { width: auto; gap: 7px; padding: 0 14px 0 12px; }
.icon-btn--labeled .icon-btn__count { position: static; margin-left: 2px; }
.icon-btn__label { font-size: 12.5px; font-weight: 500; white-space: nowrap; display: none; }
@media (min-width: 1180px) { .icon-btn__label { display: inline; } }

/* Menu de categorias com mega menu (barra inferior do header no desktop) */
.header-nav { border-top: 1px solid rgba(23,21,27,.06); position: relative; z-index: 55; }
.header-nav .wrap { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.header-nav .wrap::-webkit-scrollbar { display: none; }
.header-nav > .wrap > a { color: var(--c-ink); text-decoration: none; font-size: 14.5px; padding: 8px 14px; border-radius: var(--radius-pill); white-space: nowrap; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.header-nav > .wrap > a:hover, .header-nav > .wrap > a[aria-current="page"] { background: var(--c-brand-tint); color: var(--c-brand); }
.header-nav a.is-strong { font-weight: 500; }

.mega-item { position: relative; }
.mega-trigger { display: inline-flex; align-items: center; gap: 5px; color: var(--c-ink); background: transparent; border: 0; cursor: pointer; font: inherit; font-size: 14.5px; padding: 8px 14px; border-radius: var(--radius-pill); white-space: nowrap; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.mega-trigger:hover, .mega-trigger[aria-expanded="true"], .mega-trigger[aria-current="page"] { background: var(--c-brand-tint); color: var(--c-brand); }
.mega-trigger__caret { width: 11px; height: 11px; transition: transform var(--dur-1) ease; }
.mega-trigger[aria-expanded="true"] .mega-trigger__caret { transform: rotate(180deg); }
.mega-panels-host { position: relative; z-index: 80; }
.mega-panel { position: fixed; top: 0; left: 0; right: 0; width: 100%; background: var(--c-surface); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-panel); opacity: 0; visibility: hidden; overflow-y: auto; transform: translateY(-6px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2); }
.mega-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-panel__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 44px); padding-block: 32px; }
.mega-col--buy { display: flex; flex-direction: column; }
.mega-col--buy > a:not(.mega-col__all) { color: var(--c-ink-muted); text-decoration: none; font-size: 14px; padding: 6px 0; }
.mega-col--buy > a:not(.mega-col__all):hover { color: var(--c-brand); }
.mega-col__all { font-weight: 500; color: var(--c-ink); text-decoration: none; margin-bottom: 14px; display: inline-flex; align-items: flex-start; gap: 6px; }
.mega-col__all:hover { color: var(--c-brand); }
.mega-col__all svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.mega-col__label { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-muted); margin: 0 0 14px; }
.mega-col__brands { display: flex; flex-direction: column; gap: 9px; }
.mega-col__brands a { color: var(--c-ink-muted); text-decoration: none; font-size: 14px; }
.mega-col__brands a:hover { color: var(--c-brand); }
.mega-col--products { display: flex; gap: 16px; min-width: 0; }
.mega-product { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--c-ink); }
.mega-product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-1); background: var(--c-stone); }
.mega-product__name { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-product__price { font-size: 12px; font-weight: 600; color: var(--c-success); }
.mega-product:hover .mega-product__name { color: var(--c-brand); }
.mega-col--banner { position: relative; display: block; min-height: 180px; border-radius: var(--radius-2); overflow: hidden; background: var(--c-stone); text-decoration: none; }
.mega-col--banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-col--banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,21,27,0) 45%, rgba(23,21,27,.6) 100%); }
.mega-col--banner__title { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; }

@media (max-width: 900px) {
  /* Cabecalho mobile equilibrado: hamburguer + busca a esquerda, logo centralizada,
     favoritos + sacola a direita, com alvos de toque de 44px dos dois lados. */
  .header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px; height: 62px; }
  .header-main__start { display: flex; }
  .brand { justify-self: center; }
  .brand img { height: 32px; }
  .header-search { display: none; }
  .header-nav { display: none; }
  .header-burger, .header-search-m { display: inline-flex; width: 44px; height: 44px; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn { width: 44px; height: 44px; }
  .header-actions .ha-desktop { display: none; }
  .icon-btn--labeled { padding: 0; justify-content: center; }
}

/* ---------- Overlay compartilhado ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(23,21,27,.45); opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease-out), visibility var(--dur-2); }
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Gaveta do carrinho / sheets ---------- */
.drawer { position: fixed; z-index: 95; background: var(--c-surface); display: flex; flex-direction: column; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer[aria-hidden="true"] { pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
/* lateral (desktop) */
.drawer--side { top: 0; right: 0; height: 100%; width: min(440px, 100%); box-shadow: var(--shadow-panel); transform: translateX(100%); transition: transform var(--dur-2) var(--ease-out); }
.drawer--side.is-open { transform: translateX(0); }
/* folha inferior (mobile) e paineis de filtro */
.drawer--sheet { left: 0; right: 0; bottom: 0; max-height: 88vh; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-panel); transform: translateY(100%); transition: transform var(--dur-2) var(--ease-out); }
.drawer--sheet.is-open { transform: translateY(0); }
.drawer--left { top: 0; left: 0; height: 100%; width: min(340px, 86%); box-shadow: var(--shadow-panel); transform: translateX(-100%); transition: transform var(--dur-2) var(--ease-out); }
.drawer--left.is-open { transform: translateX(0); }
@media (max-width: 640px) {
  .drawer--side { top: auto; right: 0; left: 0; bottom: 0; height: auto; max-height: 90vh; width: 100%; border-radius: 18px 18px 0 0; transform: translateY(100%); }
  .drawer--side.is-open { transform: translateY(0); }
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px var(--space-5); border-bottom: 1px solid var(--c-line); flex: none; }
.drawer__head h2 { font-size: 20px; font-weight: var(--w-strong); letter-spacing: -0.01em; font-family: var(--font-display); }
.drawer__body { overflow-y: auto; flex: 1 1 auto; padding: var(--space-5); }
.drawer__foot { flex: none; border-top: 1px solid var(--c-line); padding: var(--space-5); background: var(--c-surface); }
.drawer-grip { width: 40px; height: 4px; border-radius: 999px; background: var(--c-line); margin: 8px auto 0; display: none; }
@media (max-width: 640px) { .drawer-grip { display: block; } }

/* ---------- Painel de busca ---------- */
.search-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 95; background: var(--c-surface); box-shadow: var(--shadow-panel); transform: translateY(-100%); transition: transform var(--dur-2) var(--ease-out); visibility: hidden; max-height: 100vh; display: flex; flex-direction: column; }
.search-panel.is-open { transform: translateY(0); visibility: visible; }
.search-panel__bar { display: flex; align-items: center; gap: 14px; padding: 18px var(--gutter); border-bottom: 1px solid var(--c-line); }
.search-panel__bar svg { width: 24px; height: 24px; flex: none; color: var(--c-ink-muted); }
.search-panel__input { flex: 1 1 auto; border: 0; background: transparent; font-size: clamp(20px, 3vw, 30px); font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; color: var(--c-ink); }
.search-panel__input:focus { outline: none; }
.search-panel__close { flex: none; }
.search-panel__results { overflow-y: auto; padding: 16px var(--gutter) 40px; }
.search-hint { color: var(--c-ink-muted); font-size: 14px; padding: 10px 0; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.search-chip { border: 1px solid var(--c-line); background: var(--c-surface); border-radius: var(--radius-pill); padding: 8px 14px; font-size: 14px; color: var(--c-ink); cursor: pointer; text-decoration: none; }
.search-chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.search-res { display: flex; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; color: var(--c-ink); border-bottom: 1px solid rgba(23,21,27,.06); }
.search-res:hover { color: var(--c-brand); }
.search-res img { width: 54px; height: 66px; object-fit: cover; border-radius: var(--radius-1); background: var(--c-stone); flex: none; }
.search-res__name { font-weight: 500; font-size: 15px; }
.search-res__meta { font-size: 13px; color: var(--c-ink-muted); }

/* ---------- Cards de produto ---------- */
.grid-products { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Card editorial/promo que preenche a vaga quando a grade sobra incompleta (ver listing.js).
   Seletor composto .card.card--promo para vencer a especificidade igual de ".card" (que vem depois
   no arquivo e definiria background/border conflitantes se o seletor fosse so ".card--promo"). */
.card.card--promo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; background: var(--c-brand); color: #fff; border: 0; border-radius: var(--radius-2); padding: clamp(20px, 3vw, 32px); text-decoration: none; min-height: 100%; }
.card--promo .card--promo__label { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-ink-on-dark); opacity: .8; }
.card--promo .card--promo__title { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); line-height: 1.15; font-weight: 300; color: #fff; }
.card--promo .card--promo__title em { font-size: 1em; }
.card--promo .card--promo__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.card--promo:hover .card--promo__cta { border-color: #fff; }
.card--promo svg { width: 16px; height: 16px; }
.card.card--promo.card--promo-wa { background: var(--c-ink); }

.card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-2); overflow: hidden; transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.card:hover { box-shadow: var(--shadow-panel); }
.card__media { position: relative; display: block; background: var(--c-stone); }
.card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.03); }
.card__fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: var(--radius-pill); background: rgba(255,255,255,.9); border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--c-ink); transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.card__fav svg { width: 19px; height: 19px; }
.card__fav:hover { color: var(--c-brand); }
.card__fav.is-active { color: var(--c-brand); }
.card__fav.is-active svg { fill: var(--c-brand); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1 1 auto; }
.card__brand { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-muted); }
.card__name { font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--c-ink); text-decoration: none; letter-spacing: -0.005em; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { color: var(--c-brand); }

/* Bloco de preco em 4 linhas fixas (de / atual / pix / parcelas), com altura reservada
   para o "de" riscado mesmo quando o produto nao tem desconto, para os botoes Adicionar
   ficarem alinhados entre cards com e sem desconto na mesma linha da grade. */
.card__price { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.card__price-was { min-height: 18px; line-height: 18px; }
.card__price-was .price-was { font-size: 13px; }
.card__price-now { font-weight: var(--w-strong); font-size: 18px; letter-spacing: -0.01em; color: var(--c-ink); line-height: 1.25; }
.card__price .pix-line { display: flex; font-size: 13.5px; }
.card__price .parc-line { font-size: 12.5px; }
.card__cta { margin-top: 10px; }
.card__cta .btn { width: 100%; }

/* ---------- Marcas (vitrine de logos) ---------- */
.brand-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-2); overflow: hidden; }
@media (max-width: 760px) { .brand-row { grid-template-columns: repeat(2, 1fr); } }
.brand-cell { display: flex; align-items: center; justify-content: center; padding: 28px 18px; background: var(--c-surface); min-height: 108px; text-decoration: none; transition: background-color var(--dur-1) ease; }
.brand-cell:hover { background: #fafafa; }
.brand-cell img { max-height: 40px; max-width: 130px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter var(--dur-2) ease, opacity var(--dur-2) ease; }
.brand-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Toast (1.5b) ----------
   Branco, borda fina e ícone por tipo; topo direito no desktop, acima da barra inferior no celular.
   Entra e sai com animação curta; sem animação com movimento reduzido. */
.toast-wrap { position: fixed; top: calc(var(--header-offset, 120px) + 12px); right: 20px; z-index: 130; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100% - 32px)); pointer-events: none; }
.toast { --toast-cor: var(--c-success); pointer-events: auto; position: relative; display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 44px 14px 14px; background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); border-left: 3px solid var(--toast-cor); border-radius: var(--radius-2); box-shadow: 0 10px 30px -12px rgba(38, 33, 30, .28); font-size: 14.5px; line-height: 1.45; animation: toast-in .22s var(--ease-out) both; }
.toast.is-out { animation: toast-out .2s ease-in both; }
.toast--info { --toast-cor: var(--c-brand); }
.toast--error { --toast-cor: #b3261e; }
.toast__ico { flex: none; display: inline-flex; width: 20px; height: 20px; margin-top: 1px; color: var(--toast-cor); }
.toast__ico svg { width: 20px; height: 20px; }
.toast__msg { flex: 1; min-width: 0; }
.toast__msg a { color: var(--c-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.toast__msg a.button, .toast__msg .button { display: inline; padding: 0; margin: 0 0 0 6px; background: none; border: 0; color: var(--c-brand); font: inherit; font-weight: 600; text-decoration: underline; }
.toast__close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--c-ink-muted); cursor: pointer; }
.toast__close svg { width: 16px; height: 16px; }
.toast__close:hover { background: var(--c-bg); color: var(--c-ink); }
.toast__close:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 1px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 768px) {
  .toast-wrap { top: auto; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); left: 50%; right: auto; transform: translateX(-50%); }
  @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-out { animation: none; } }

/* Sacola ao vivo: linha ocupada enquanto atualiza; + desabilitado no limite do estoque. */
.cart-item.is-busy { opacity: .6; transition: opacity .15s; }
.cart-item.is-busy a, .cart-item.is-busy button { pointer-events: none; }
.qty-sm .is-disabled { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; opacity: .35; cursor: not-allowed; }
.drawer .gift-tag { display: inline-block; }
/* ---------- Barra inferior (mobile) ---------- */
.tabbar { display: none; }
@media (max-width: 768px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--c-surface); border-top: 1px solid var(--c-line); padding-bottom: env(safe-area-inset-bottom, 0); display: grid; grid-template-columns: repeat(4, 1fr); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; border: 0; background: transparent; color: var(--c-ink); text-decoration: none; font-size: 11px; letter-spacing: .02em; cursor: pointer; }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar a:hover, .tabbar button:hover { color: var(--c-brand); }
  .tabbar .icon-btn__count { top: 6px; right: calc(50% - 22px); }
  body { padding-bottom: 58px; }
}

/* ---------- WhatsApp flutuante (desktop) ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border-radius: var(--radius-pill); background: var(--c-ink); color: #fff; font-weight: 500; font-size: 14.5px; text-decoration: none; box-shadow: var(--shadow-float); }
.wa-fab img { width: 26px; height: 26px; }
.wa-fab:hover { background: #000; }
@media (max-width: 768px) { .wa-fab { display: none; } }

/* ---------- Gaveta de menu (mobile) ---------- */
.menu-drawer .drawer__body { padding: 0; }
.menu-search { padding: var(--space-5); border-bottom: 1px solid rgba(23,21,27,.06); }
.menu-search__bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); }
.menu-search__bar svg { width: 18px; height: 18px; color: var(--c-ink-muted); flex: none; }
.menu-search__bar input { flex: 1 1 auto; border: 0; background: transparent; font-size: 15px; color: var(--c-ink); min-width: 0; }
.menu-search__bar input:focus { outline: none; }
.menu-search__results { margin-top: 10px; max-height: 240px; overflow-y: auto; }
.menu-search__results:empty { margin-top: 0; }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--space-5); text-decoration: none; color: var(--c-ink); font-size: 16px; border-bottom: 1px solid rgba(23,21,27,.06); }
.menu-nav a:hover { background: var(--c-brand-tint); color: var(--c-brand); }
.menu-nav a svg { width: 18px; height: 18px; color: var(--c-ink-muted); }
.menu-section-label { padding: 20px var(--space-5) 8px; }
.menu-nav__wa { color: var(--c-wa); }
.menu-nav__wa svg { color: var(--c-wa); }

.menu-accordion { border-bottom: 1px solid rgba(23,21,27,.06); }
.menu-accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--space-5); cursor: pointer; list-style: none; font-size: 16px; color: var(--c-ink); }
.menu-accordion summary::-webkit-details-marker { display: none; }
.menu-accordion summary svg { width: 16px; height: 16px; color: var(--c-ink-muted); transition: transform var(--dur-1) ease; }
.menu-accordion[open] summary svg { transform: rotate(180deg); }
.menu-accordion__body { display: flex; flex-direction: column; padding: 0 var(--space-5) 14px calc(var(--space-5) + 8px); }
.menu-accordion__body a { padding: 9px 0; text-decoration: none; color: var(--c-ink-muted); font-size: 14.5px; }
.menu-accordion__body a:hover { color: var(--c-brand); }
.menu-accordion__all { font-weight: 500; color: var(--c-ink) !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: var(--c-ink-on-dark); padding-block: clamp(56px, 8vh, 96px) 32px; margin-top: var(--section-y); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 34px; margin-bottom: 20px; }
.footer-brand p { color: var(--c-muted-on-dark); font-size: 14.5px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(255,255,255,.1); }
.footer-social img, .footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: var(--font-label); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-contact a, .footer-contact span { color: var(--c-muted-on-dark); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; list-style: none; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--c-accent-on-dark); margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-pay { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer-pay__group h4 { color: #fff; font-family: var(--font-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-icons img { height: 26px; width: auto; background: #fff; border-radius: 4px; padding: 3px 5px; }
.pay-icons--plain img { background: transparent; padding: 0; height: 30px; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--c-muted-on-dark); font-size: 13px; }
.footer-legal a { color: var(--c-muted-on-dark); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-pay { gap: 28px; } }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label { font-size: 13.5px; font-weight: 500; color: var(--c-ink); }
.field input, .field select, .field textarea { height: 50px; border: 1px solid var(--c-line); border-radius: var(--radius-1); background: var(--c-surface); padding: 0 14px; font: 400 15.5px var(--font-body); color: var(--c-ink); width: 100%; transition: border-color var(--dur-1) ease; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-tint); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.field .err { font-size: 12.5px; color: #c0392b; min-height: 1em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }
.hint { font-size: 13px; color: var(--c-ink-muted); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-2); font-size: 14px; line-height: 1.5; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice--demo { background: var(--c-brand-tint); color: var(--c-brand-hover); }
.notice--demo svg { color: var(--c-brand); }
.notice--ok { background: #e4f3ec; color: #155e3b; }
.notice--ok svg { color: var(--c-success); }
@media (max-width: 900px) { .mega-panels-host { display: none; } }
/* Estilos por tela da loja modelo MRX Beauty. */

/* ================= HOME ================= */
/* Carrossel de banners, largura total (fora do .wrap) */
@media (max-width: 640px) {
}

/* Faixa de beneficios mais rica (meio da home) */
.benefits-rich { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .benefits-rich { grid-template-columns: repeat(2, 1fr); } }
.benefit-rich { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius-2); background: var(--c-surface); }
.benefit-rich svg { width: 26px; height: 26px; color: var(--c-brand); flex: none; margin-top: 2px; }
.benefit-rich h3 { font-size: 16.5px; font-weight: var(--w-strong); font-family: var(--font-body); letter-spacing: -0.005em; margin-bottom: 6px; }
.benefit-rich p { font-size: 13px; color: var(--c-ink-muted); line-height: 1.5; }

/* Par de banners promocionais lado a lado */
.promo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
@media (max-width: 760px) { .promo-duo { grid-template-columns: 1fr; } }
.promo-panel { position: relative; display: block; border-radius: var(--radius-2); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4/3; }
.promo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.promo-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38,33,30,.88) 0%, rgba(38,33,30,.62) 34%, rgba(38,33,30,0) 64%); }
.promo-panel:hover img { transform: scale(1.04); }
.promo-panel__copy { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; }
.promo-panel__copy .label { color: rgba(255,255,255,.8); margin-bottom: 10px; }
.promo-panel__copy h3 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; line-height: 1.12; margin-bottom: 14px; max-width: 24ch; }
.promo-panel__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.promo-panel:hover .promo-panel__cta { border-color: #fff; }
.promo-panel__cta svg { width: 15px; height: 15px; }

/* Faixa promocional larga */
.promo-wide { position: relative; display: block; border-radius: var(--radius-2); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 21/9; }
@media (max-width: 640px) { .promo-wide { aspect-ratio: 4/5; } }
.promo-wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,33,30,.78) 0%, rgba(38,33,30,.3) 45%, rgba(38,33,30,0) 68%); }
@media (max-width: 640px) { .promo-wide::after { background: linear-gradient(0deg, rgba(23,21,27,.85) 0%, rgba(23,21,27,.2) 48%, rgba(23,21,27,0) 75%); } }
.promo-wide__copy { position: absolute; left: clamp(24px, 4vw, 56px); top: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; z-index: 2; max-width: 420px; }
@media (max-width: 640px) { .promo-wide__copy { left: 24px; right: 24px; top: auto; bottom: 28px; height: auto; max-width: none; } }
.promo-wide__copy .label { color: rgba(255,255,255,.8); margin-bottom: 10px; }
.promo-wide__copy h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 300; margin-bottom: 16px; }
.promo-wide__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; width: fit-content; }
.promo-wide:hover .promo-wide__cta { border-color: #fff; }
.promo-wide__cta svg { width: 15px; height: 15px; }

.cat-shortcuts { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 1080px) { .cat-shortcuts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-shortcuts { grid-template-columns: repeat(2, 1fr); } }
.cat-card { position: relative; display: block; text-decoration: none; color: var(--c-ink); border-radius: var(--radius-2); overflow: hidden; }
.cat-card .photo { aspect-ratio: 3/4; border-radius: var(--radius-2); }
.cat-card img { transition: transform var(--dur-3) var(--ease-out); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card__label { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 17px; letter-spacing: -0.01em; text-shadow: 0 2px 10px rgba(0,0,0,.45); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-card__label svg { width: 18px; height: 18px; }
.cat-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.4), rgba(0,0,0,0) 55%); }

.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 56px); align-items: center; }
.editorial__media .photo { border-radius: var(--radius-2); aspect-ratio: 4/3; }
.editorial__copy .label { margin-bottom: 16px; }
.editorial__copy h2 { margin-bottom: 20px; }
.editorial__copy .sub { margin-bottom: 28px; max-width: 46ch; }
.editorial--flip .editorial__media { order: 2; }
@media (max-width: 760px) { .editorial { grid-template-columns: 1fr; } .editorial--flip .editorial__media { order: 0; } }

.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-cell { position: relative; display: block; overflow: hidden; border-radius: var(--radius-1); background: var(--c-stone); }
.ig-cell img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform var(--dur-3) var(--ease-out); }
.ig-cell:hover img { transform: scale(1.06); }
.ig-cell__ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; background: rgba(23,21,27,.3); transition: opacity var(--dur-1) ease; }
.ig-cell:hover .ig-cell__ico { opacity: 1; }
.ig-cell__ico svg { width: 26px; height: 26px; }

/* ================= LISTAGEM (categoria / marca) ================= */
.listing-hero { padding-block: clamp(32px, 5vh, 56px) 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--c-ink-muted); margin-bottom: 20px; }
[data-pdp] > .breadcrumb:first-child { margin-top: 32px; }
@media (max-width: 640px) { [data-pdp] > .breadcrumb:first-child { margin-top: 22px; } }
.breadcrumb a { color: var(--c-ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-brand); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.listing-hero h1 { margin-bottom: 14px; }
.listing-hero .sub { max-width: 60ch; }
.brand-hero { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand-hero__logo { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 24px 32px; display: flex; align-items: center; justify-content: center; min-width: 180px; min-height: 110px; }
.brand-hero__logo img { max-height: 54px; max-width: 160px; width: auto; }

.listing-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: 36px; }
@media (max-width: 900px) { .listing-layout { grid-template-columns: minmax(0, 1fr); } }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar__count { font-size: 14px; color: var(--c-ink-muted); }
.toolbar__count b { color: var(--c-ink); font-weight: 600; }
.toolbar__right { display: flex; align-items: center; gap: 12px; }
.select-wrap { position: relative; min-width: 0; }
.select-wrap select { height: 44px; max-width: 100%; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); padding: 0 40px 0 16px; font: 400 14px var(--font-body); color: var(--c-ink); cursor: pointer; -webkit-appearance: none; appearance: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; transform: translateY(-50%); background: var(--c-ink); -webkit-mask: url('../icons/caret-down.svg') center / contain no-repeat; mask: url('../icons/caret-down.svg') center / contain no-repeat; pointer-events: none; }
.filter-open-btn { display: none; }
@media (max-width: 900px) {
  .filter-open-btn { display: inline-flex; }
}

/* Filtros laterais */
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filter-group { border-bottom: 1px solid var(--c-line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 500; font-size: 15px; }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary svg { width: 16px; height: 16px; transition: transform var(--dur-1) ease; }
.filter-group[open] > summary svg { transform: rotate(180deg); }
.filter-group__body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 0; font-size: 14.5px; color: var(--c-ink); }
.check input { width: 18px; height: 18px; accent-color: var(--c-brand); flex: none; cursor: pointer; }
.check .count { margin-left: auto; color: var(--c-ink-muted); font-size: 13px; }
.price-inputs { display: flex; align-items: center; gap: 10px; }
.price-inputs input { height: 44px; border: 1px solid var(--c-line); border-radius: var(--radius-1); padding: 0 10px; width: 100%; font: 400 14px var(--font-body); }
.filters__clear { margin-top: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip-active { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--c-line); background: var(--c-surface); border-radius: var(--radius-pill); padding: 7px 10px 7px 14px; font-size: 13.5px; }
.chip-active button { border: 0; background: transparent; cursor: pointer; display: inline-flex; color: var(--c-ink-muted); padding: 0; }
.chip-active button svg { width: 14px; height: 14px; }
.chip-active button:hover { color: var(--c-brand); }

.empty-state { text-align: center; padding: clamp(48px, 10vh, 100px) 20px; border: 1px dashed var(--c-line); border-radius: var(--radius-2); background: var(--c-surface); }
.empty-state svg { width: 46px; height: 46px; color: var(--c-ink-muted); margin: 0 auto 20px; }
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { color: var(--c-ink-muted); max-width: 40ch; margin: 0 auto 24px; }

/* ================= PRODUTO ================= */
.pdp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 24px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }
/* Galeria: filho direto do grid .pdp (só galeria e resumo); o sticky para no fim desse bloco.
   Sem sticky no layout de 1 coluna (900px ou menos). */
.gallery { position: relative; align-self: start; display: grid; grid-template-columns: 72px 1fr; gap: 14px; }
@media (min-width: 901px) { .gallery { position: sticky; top: calc(var(--header-h) + 49px + 16px); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 560px) { .gallery__thumbs { flex-direction: row; order: 2; } }
.gallery__thumb { border: 1px solid var(--c-line); border-radius: var(--radius-1); overflow: hidden; cursor: pointer; background: var(--c-stone); padding: 0; width: 72px; height: 88px; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--c-ink); }
.gallery__main { position: relative; border-radius: var(--radius-2); overflow: hidden; background: var(--c-stone); aspect-ratio: 4/5; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-2) var(--ease-out); }
.gallery__main.is-zoom { cursor: zoom-out; }
.gallery__main.is-zoom img { transform: scale(1.8); }

.pdp-info .label { margin-bottom: 10px; }
.pdp-brand { font-family: var(--font-label); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-brand); text-decoration: none; }
.pdp-brand:hover { text-decoration: underline; }
.pdp h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.04; margin: 10px 0 14px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--c-ink-muted); margin-bottom: 20px; }
.pdp-meta .stock-ok { color: var(--c-success); display: inline-flex; align-items: center; gap: 6px; }
.pdp-meta .stock-ok svg { width: 15px; height: 15px; }
.pdp-resumo { font-size: var(--fs-lead); font-weight: var(--w-sub); line-height: 1.5; color: var(--c-ink); margin-bottom: 24px; }

.price-block { border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 20px; background: var(--c-surface); margin-bottom: 24px; }
.price-block .price { align-items: baseline; }
.price-block .price-now { font-size: 30px; }
.price-block .price-was { font-size: 17px; }
.price-pix { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.price-pix__val { font-size: 22px; font-weight: 600; color: var(--c-success); }
.price-pix img { width: 20px; height: 20px; }
.price-pix small { color: var(--c-ink-muted); font-size: 13px; font-weight: 400; }
.price-block .parc-line { margin-top: 6px; font-size: 15px; }

.variations { margin-bottom: 22px; }
.variations__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-opt { min-height: 42px; padding: 0 16px; border: 1px solid var(--c-line); background: var(--c-surface); border-radius: var(--radius-pill); cursor: pointer; font-size: 14px; color: var(--c-ink); transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease; }
.var-opt:hover { border-color: var(--c-ink); }
.var-opt.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); flex: none; }
.qty button { width: 46px; height: 54px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--c-ink); }
.qty button:hover { color: var(--c-brand); }
.qty button svg { width: 16px; height: 16px; }
.qty input { width: 40px; border: 0; background: transparent; text-align: center; font: 500 16px var(--font-body); color: var(--c-ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn-cta { flex: 1 1 auto; }

.cep-box { border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 18px; margin: 22px 0; }
.cep-box__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 500; font-size: 15px; }
.cep-box__head svg { width: 20px; height: 20px; color: var(--c-brand); }
.cep-form { display: flex; gap: 10px; }
.cep-form input { flex: 1 1 auto; height: 48px; border: 1px solid var(--c-line); border-radius: var(--radius-1); padding: 0 14px; font: 400 15px var(--font-body); }
.cep-result { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cep-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(23,21,27,.06); font-size: 14.5px; }
.cep-option:last-child { border-bottom: 0; }
.cep-option .cep-free { color: var(--c-success); font-weight: 600; }

.accordion { border-top: 1px solid var(--c-line); margin-top: 24px; }
.accordion details { border-bottom: 1px solid var(--c-line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 18px; height: 18px; transition: transform var(--dur-1) ease; }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion__body { padding-bottom: 22px; color: var(--c-ink-muted); line-height: 1.65; }
.accordion__body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.reviews-empty { text-align: center; border: 1px dashed var(--c-line); border-radius: var(--radius-2); padding: 40px 24px; background: var(--c-surface); }
.reviews-empty svg { width: 36px; height: 36px; color: var(--c-ink-muted); margin: 0 auto 16px; }
.reviews-empty p { color: var(--c-ink-muted); margin-bottom: 20px; }

.pdp-rating-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-ink-muted); margin-bottom: 18px; }
.pdp-rating-link .stars .star { width: 15px; height: 15px; }
.pdp-rating-link:hover { color: var(--c-brand); }
.pdp-rating-link:hover .rating__val { color: var(--c-brand); }

/* Desktop: coluna esquerda fixa (sticky) com o resumo da nota, coluna direita com a lista de
   depoimentos em 1 coluna só, para nunca sobrar buraco com numero impar de depoimentos.
   Mobile: empilhado (resumo em cima, depoimentos embaixo). */
.reviews-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .reviews-layout { grid-template-columns: minmax(0, 1fr); } }

.reviews-summary { border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: clamp(24px, 3vw, 30px); background: var(--c-surface); }
@media (min-width: 861px) { .reviews-summary { position: sticky; } }
.reviews-summary__score { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--c-line); }
.reviews-summary__score b { font-family: var(--font-display); font-size: 52px; font-weight: 300; line-height: 1; }
.reviews-summary__score .stars .star { width: 24px; height: 24px; }
.reviews-summary__score span { font-size: 13.5px; color: var(--c-ink-muted); }
.reviews-summary__bars { display: flex; flex-direction: column; gap: 9px; }
.rbar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-ink-muted); }
.rbar__label { width: 10px; text-align: right; flex: none; }
.rbar__track { display: block; flex: 1 1 auto; height: 6px; border-radius: 999px; background: var(--c-stone); overflow: hidden; }
.rbar__fill { display: block; height: 100%; background: var(--c-brand); border-radius: 999px; }
.rbar__pct { width: 38px; text-align: right; flex: none; }
.reviews-summary .demo-tag { margin: 22px 0 0; }

.reviews-list { display: flex; flex-direction: column; }
.review-card { padding-block: 24px; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 8px; }
.reviews-list .review-card:first-child { padding-top: 0; }
.reviews-list .review-card:last-child { border-bottom: 0; }
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-card__head .stars .star { width: 14px; height: 14px; }
.review-card__date { font-size: 12.5px; color: var(--c-ink-muted); }
.review-card__title { font-size: 16px; font-weight: var(--w-strong); letter-spacing: -0.01em; }
.review-card__text { color: var(--c-ink-muted); line-height: 1.6; font-size: 14.5px; }
.review-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--c-ink-muted); }
.review-card__verified { display: inline-flex; align-items: center; gap: 5px; color: var(--c-success); }
.review-card__verified svg { width: 14px; height: 14px; }

/* ================= CARRINHO (itens compartilhados) ================= */
.cart-progress { margin-bottom: 20px; }
.cart-progress__text { font-size: 13.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cart-progress__text svg { width: 16px; height: 16px; color: var(--c-brand); flex: none; }
.cart-progress__track { height: 6px; border-radius: 999px; background: var(--c-stone); overflow: hidden; }
.cart-progress__fill { height: 100%; background: var(--c-brand); border-radius: 999px; transition: width var(--dur-2) var(--ease-out); }
.cart-progress__fill.is-done { background: var(--c-success); }
.cart-progress--note { padding: 10px 12px; border-radius: 10px; background: var(--c-stone); }
.cart-progress--note .cart-progress__text { margin-bottom: 0; align-items: flex-start; }

.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-line); align-items: start; }
.cart-item__img { width: 72px; height: 88px; border-radius: var(--radius-1); object-fit: cover; background: var(--c-stone); }
.cart-item__name { font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--c-ink); text-decoration: none; }
.cart-item__name:hover { color: var(--c-brand); }
.cart-item__brand { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-muted); margin-bottom: 4px; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.qty-sm { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-pill); }
.qty-sm button { width: 34px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; }
.qty-sm button:hover { color: var(--c-brand); }
.qty-sm button svg { width: 14px; height: 14px; }
.qty-sm span { min-width: 26px; text-align: center; font-weight: 500; font-size: 14px; }
.cart-item__price { text-align: right; }
.cart-item__price .price-now { font-size: 15px; }
.cart-item__remove { border: 0; background: transparent; cursor: pointer; color: var(--c-ink-muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; padding: 0; margin-top: 6px; }
.cart-item__remove:hover { color: #c0392b; }
.cart-item__remove svg { width: 13px; height: 13px; }

.cart-empty { text-align: center; padding: 40px 20px; }
.cart-empty svg { width: 46px; height: 46px; color: var(--c-ink-muted); margin: 0 auto 18px; }
.cart-empty h3 { margin-bottom: 10px; }
.cart-empty p { color: var(--c-ink-muted); margin-bottom: 24px; }

.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1 1 auto; height: 46px; border: 1px solid var(--c-line); border-radius: var(--radius-1); padding: 0 12px; font: 400 14px var(--font-body); text-transform: uppercase; }
.coupon-note { font-size: 12.5px; color: var(--c-ink-muted); margin-top: 6px; }
.coupon-applied { display: flex; align-items: center; gap: 8px; color: var(--c-success); font-size: 13.5px; font-weight: 500; margin-top: 8px; }
.coupon-applied svg { width: 15px; height: 15px; }
.coupon-applied button { margin-left: auto; border: 0; background: transparent; color: var(--c-ink-muted); cursor: pointer; font-size: 12.5px; }

.summary { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.summary__row { display: flex; align-items: center; justify-content: space-between; color: var(--c-ink-muted); }
.summary__row span:last-child { color: var(--c-ink); }
.summary__row.is-discount span:last-child { color: var(--c-success); }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--c-line); }
.summary__total .label-total { font-size: 16px; font-weight: 500; color: var(--c-ink); }
.summary__total .val-total { font-size: 24px; font-weight: 600; color: var(--c-ink); }
.summary__pix { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 10px 12px; background: #e4f3ec; border-radius: var(--radius-1); color: #155e3b; font-size: 14px; }
.summary__pix b { font-weight: 600; }
.summary__pix img { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }

/* Pagina do carrinho */
.cart-page { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 32px; }
@media (max-width: 900px) { .cart-page { grid-template-columns: 1fr; } }
.cart-page__aside { position: sticky; top: calc(var(--header-h) + 16px); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 24px; }
@media (max-width: 900px) { .cart-page__aside { position: static; } }

/* ================= CHECKOUT ================= */
.checkout-header { position: sticky; top: 0; z-index: 60; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.checkout-header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.checkout-header .brand img { height: 30px; }
.checkout-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-success); }
.checkout-secure svg { width: 18px; height: 18px; }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 32px; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }

.steps { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.step-dot { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-ink-muted); }
.step-dot__n { width: 26px; height: 26px; border-radius: var(--radius-pill); border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; flex: none; }
.step-dot.is-active .step-dot__n { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.step-dot.is-done .step-dot__n { background: var(--c-success); color: #fff; border-color: var(--c-success); }
.step-dot.is-done .step-dot__n svg { width: 14px; height: 14px; }
.step-sep { flex: 1 1 10px; height: 1px; background: var(--c-line); min-width: 10px; align-self: center; }
@media (max-width: 560px) { .step-dot span.step-dot__label { display: none; } }

.step-panel { display: none; }
.step-panel.is-active { display: block; }
.step-panel h2 { font-size: 24px; margin-bottom: 20px; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.pay-method { border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 16px; cursor: pointer; transition: border-color var(--dur-1) ease; }
.pay-method.is-active { border-color: var(--c-brand); box-shadow: 0 0 0 2px var(--c-brand-tint); }
.pay-method__head { display: flex; align-items: center; gap: 12px; }
.pay-method__head input { width: 18px; height: 18px; accent-color: var(--c-brand); }
.pay-method__head strong { font-weight: 500; }
.pay-method__head .pix-badge { margin-left: auto; color: var(--c-success); font-size: 13px; font-weight: 600; }
.pay-method__body { margin-top: 16px; display: none; }
.pay-method.is-active .pay-method__body { display: block; }

.pix-qr { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pix-qr__code { width: 160px; height: 160px; border: 1px solid var(--c-line); border-radius: var(--radius-2); background: #fff; padding: 10px; flex: none; }
.pix-key { display: flex; gap: 8px; margin-top: 10px; }
.pix-key input { flex: 1 1 auto; height: 44px; border: 1px solid var(--c-line); border-radius: var(--radius-1); padding: 0 12px; font: 400 13px var(--font-body); background: var(--c-bg); }

.order-summary { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 24px; position: sticky; top: 84px; }
@media (max-width: 900px) { .order-summary { position: static; } }
.order-summary__toggle { display: none; margin-bottom: 14px; }
@media (max-width: 900px) { .order-summary__toggle { display: inline-flex; } .checkout-layout { display: flex; flex-direction: column-reverse; } }
.order-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(23,21,27,.06); align-items: center; }
.order-line img { width: 54px; height: 66px; object-fit: cover; border-radius: var(--radius-1); background: var(--c-stone); flex: none; }
.order-line__name { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.order-line__qty { font-size: 12.5px; color: var(--c-ink-muted); }
.order-line__price { margin-left: auto; font-size: 13.5px; font-weight: 500; white-space: nowrap; }

.checkout-nav { display: flex; gap: 12px; margin-top: 28px; }
.checkout-nav .btn-cta { flex: 1 1 auto; }

/* Confirmacao */
.confirm { max-width: 640px; margin: 0 auto; text-align: center; padding-block: clamp(40px, 8vh, 90px); }
.confirm__icon { width: 76px; height: 76px; border-radius: var(--radius-pill); background: #e4f3ec; color: var(--c-success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.confirm__icon svg { width: 40px; height: 40px; }
.confirm h1 { margin-bottom: 14px; }
.confirm__order { display: inline-flex; flex-direction: column; gap: 4px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-2); padding: 18px 32px; margin: 24px 0; }
.confirm__order b { font-size: 22px; letter-spacing: .02em; }
.confirm__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ================= Pagina simples (creditos) ================= */
.doc { max-width: 760px; margin: 0 auto; }
.doc h1 { margin-bottom: 24px; }
.doc h2 { font-size: 26px; margin: 40px 0 16px; }
.doc p { margin-bottom: 14px; color: var(--c-ink); }
.doc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--c-ink-muted); font-size: 14.5px; margin-bottom: 20px; }
.doc a { word-break: break-word; }

/* 404 produto */
.not-found { text-align: center; padding-block: clamp(60px, 14vh, 140px); }
.not-found svg { width: 52px; height: 52px; color: var(--c-ink-muted); margin: 0 auto 24px; }
.not-found h1 { margin-bottom: 14px; }
.not-found p { color: var(--c-ink-muted); margin-bottom: 28px; }

/* Ajuste final: faixa modelo fixa no topo e header sticky funcionando */
:root { --strip-h: 46px; --strip-on: var(--strip-h); }
[data-chrome-top] { display: contents; }
.model-strip { position: sticky; top: 0; z-index: 62; }
.site-header, .checkout-header { top: var(--strip-on); }
.filters, .cart-page__aside, .reviews-summary { top: calc(var(--header-h) + var(--strip-on) + 16px); }
/* Galeria: para abaixo da faixa, do header e do menu de categorias (48px + 1px de borda), sem entrar por baixo deles. */
@media (min-width: 901px) {
  .gallery { top: calc(var(--strip-on) + var(--header-h) + 49px + 16px); }
  /* A foto cabe inteira na janela enquanto gruda (telas baixas, ex. 1440x900 e 1280x800). */
  .gallery__main { max-height: calc(100vh - var(--strip-on) - var(--header-h) - 49px - 32px); }
}
.order-summary { top: calc(84px + var(--strip-on)); }
@media (max-width: 768px) {
  :root { --strip-h: 36px; }
  .model-strip .wrap { gap: 10px; padding-block: 4px; padding-right: 40px; }
  .model-strip__text { font-size: 12px; letter-spacing: 0; white-space: nowrap; }
  .model-strip__cta { border-bottom: 0; padding: 0; }
  .model-strip__cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .model-strip__cta img { width: 18px; height: 18px; }
}
/* FAB WhatsApp compacto: só o ícone, rótulo aparece no hover/foco */
.wa-fab { width: 54px; height: 54px; padding: 0; justify-content: center; gap: 0; }
.wa-fab__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--dur-2, .25s) ease, margin var(--dur-2, .25s) ease; }
.wa-fab:hover, .wa-fab:focus-visible { width: auto; padding: 0 20px 0 14px; gap: 10px; }
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { max-width: 200px; }
@media (prefers-reduced-motion: reduce) { .wa-fab__label { transition: none; } }
/* Mobile: filtros só no bottom sheet, toolbar fixa com Filtrar, ordenar e contagem */
@media (max-width: 900px) {
  .listing-layout > .filters { display: none; }
  .toolbar { position: sticky; top: calc(var(--header-h-m, 63px) + var(--strip-on)); z-index: 40; background: #EEEFEF; box-shadow: 0 0 0 100vmax #EEEFEF, 0 1px 0 100vmax var(--c-line); clip-path: inset(0 -100vmax -1px); padding: 10px 0; flex-wrap: nowrap; }
  .toolbar__right { gap: 8px; min-width: 0; }
  .toolbar__count { white-space: nowrap; flex: none; }
  .select-wrap select { max-width: 130px; font-size: 13px; padding: 0 28px 0 12px; }
  .select-wrap::after { right: 10px; }
}

/* ================= WordPress: peças globais do tema (home, header, institucionais) ================= */
html.strip-closed .model-strip { display: none; }
html.strip-closed { --strip-on: 0px; }
.starter-fe-wrap { display: block; }
/* Banner único da home (o protótipo usa carrossel; aqui imagem única, sem slider) */
/* Carrossel de banners da home: altura reservada por aspect-ratio (CLS 0), troca só por transform. */
.hero-carousel { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; background: var(--c-stone); }
.hero-carousel__viewport { overflow: hidden; width: 100%; aspect-ratio: 780 / 975; }
.hero-carousel__track { display: flex; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.hero-carousel__slide { flex: 0 0 100%; min-width: 100%; height: 100%; }
.hero-carousel__slide a, .hero-carousel__slide picture { display: block; width: 100%; height: 100%; }
.hero-carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.88); border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--c-ink); transition: background-color .2s ease; }
.hero-carousel__arrow:hover { background: #fff; }
.hero-carousel__arrow:focus-visible, .hero-carousel__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--c-ink); }
.hero-carousel__arrow .ico { width: 20px; height: 20px; }
.hero-carousel__arrow--prev { left: 16px; }
.hero-carousel__arrow--next { right: 16px; }
.hero-carousel__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0; }
.hero-carousel__dots button { position: relative; width: 34px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.hero-carousel__dots button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.55); transition: background-color .2s ease; }
.hero-carousel__dots button[aria-current="true"]::before { background: #fff; }
@media (min-width: 768px) { .hero-carousel__viewport { aspect-ratio: 1920 / 640; } }
@media (max-width: 640px) {
	.hero-carousel__arrow { width: 38px; height: 38px; }
	.hero-carousel__arrow .ico { width: 17px; height: 17px; }
	.hero-carousel__arrow--prev { left: 10px; }
	.hero-carousel__arrow--next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hero-carousel__track { transition: none; } }
.card__media-link { display: block; color: inherit; }
.mega-col { min-width: 0; }
.mega-col--brands .mega-col__brands { display: flex; flex-wrap: wrap; gap: 8px; }
.search-all { display: inline-flex; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--c-brand); }
.hint--err { color: #b3261e; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Páginas institucionais */
.page-hero { padding-bottom: 0; }
.doc__body { padding-block: clamp(24px, 4vh, 48px) clamp(48px, 8vh, 96px); }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--c-brand); word-break: break-word; }
.fav-page { padding-bottom: clamp(48px, 8vh, 96px); }
.fav-page .cart-empty { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-2); }

/* 1.0.2: offset único dos elementos sticky. --header-offset = fundo real da faixa modelo + header + menu de categorias.
   O fallback abaixo vale até o shop.js medir (ResizeObserver) e gravar o valor real em html[style]. */
:root { --nav-h: 49px; --header-offset: calc(var(--strip-on) + var(--header-h) + var(--nav-h)); }
@media (max-width: 900px) { :root { --header-offset: calc(var(--strip-on) + var(--header-h-m, 63px)); } }
:root:has(.checkout-header) { --header-offset: calc(var(--strip-on) + 68px); }
html { scroll-padding-top: calc(var(--header-offset) + 16px); }
.filters, .cart-page__aside, .reviews-summary, .order-summary { top: calc(var(--header-offset) + 16px); }
@media (min-width: 901px) {
  .gallery { top: calc(var(--header-offset) + 16px); }
  .gallery__main { max-height: calc(100vh - var(--header-offset) - 32px); }
}
@media (max-width: 900px) { .toolbar { top: var(--header-offset); } }
.mrx-author { display: inline-block; height: 30px; line-height: 0; }
.mrx-author img { height: 30px; width: auto; border-radius: 0; }
/* 1.0.2: o botão flutuante do WhatsApp (54px a 20px da borda) cobria o selo MRX Web no fim do rodapé */
@media (min-width: 769px) { .footer-legal { padding-right: 84px; } }

/* ============================================================ 1.2b: correções funcionais */
/* Marca em texto quando a loja não tem logo próprio. */
.brand-word { display: inline-block; font-family: var(--font-display); font-size: 26px; line-height: 1; letter-spacing: -0.02em; color: var(--c-ink); white-space: nowrap; }
.brand-word em { font-style: italic; color: var(--c-brand); }
.footer-brand .brand-word { color: #fff; font-size: 28px; }
.footer-brand .brand-word em { color: inherit; opacity: .85; }
.footer-brand img { max-height: 44px; width: auto; }
@media (max-width: 1023px) { .brand-word { font-size: 22px; } }
/* Menu: em 900 a 1180 px os itens cabem sem cortar "Sobre". */
@media (max-width: 1180px) { .header-nav > .wrap > a, .header-nav .mega-trigger { padding-inline: 9px; font-size: 13.5px; } .header-nav .wrap { gap: 2px; } }
/* Categorias da home: degradê mais forte para o nome em branco sobre fotos claras. */
.cat-card .photo::after { background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%); }
.cat-card__label { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
/* WhatsApp flutuante some enquanto o botão de WhatsApp do produto está na tela. */
.wa-fab { transition: opacity var(--dur-2, .25s) ease, transform var(--dur-2, .25s) ease; }
.wa-fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
/* Sacola no celular: nada passa da largura da tela (o redesenho vem na 1.5). */
.cart-page > *, .cart-page__main, .cart-list, .cart-item > *, .cart-progress__text > span { min-width: 0; }
.cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
.cart-progress__text > span { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); gap: 4px 12px; }
  .cart-item__img { width: 60px; height: 74px; }
  .cart-item__price { grid-column: 2; grid-row: 2; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .cart-item__bottom { flex-wrap: wrap; }
  .cart-page__actions > * { flex: 1 1 100%; justify-content: center; }
}
/* Card: "a partir de" no produto variável. */
.price-from { font-size: 12px; font-weight: 400; color: var(--c-ink-muted); margin-right: 4px; }/* Produto com uma foto só (sem miniaturas): a foto ocupa a coluna inteira da galeria. */
.gallery:not(:has(.gallery__thumbs)) { grid-template-columns: 1fr; }
/* Cabeçalho do checkout no celular: nome da loja menor para não encostar no selo. */
@media (max-width: 400px) { .brand-word { font-size: 19px; } }

/* ============================================================ 1.5a: topo branco, slides, promoções, vitrines */
/* Topo branco: faixa fina, cabeçalho e menu brancos, separados do conteúdo por linha e sombra leve. */
:root { --strip-h: 38px; }
.model-strip { background: #fff; color: var(--c-ink-muted); border-bottom: 1px solid var(--c-line); }
.model-strip .wrap { padding-block: 6px; gap: 14px; }
.model-strip__text { font-size: 12.5px; display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.model-strip__text b { color: var(--c-ink); }
.model-strip__sep { width: 1px; height: 14px; background: var(--c-line); }
.model-strip__cta { color: var(--c-brand); border-bottom-color: rgba(165,61,86,.35); }
.model-strip__cta:hover { border-color: var(--c-brand); }
.model-strip__close { color: var(--c-ink-muted); }
.model-strip__close:hover { background: var(--c-bg); }
.site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--c-line); box-shadow: 0 6px 18px -14px rgba(23,21,27,.35); }
.header-nav { border-top-color: var(--c-line); }
@media (max-width: 900px) { .model-strip__promo, .model-strip__sep { display: none; } }

/* Slides */
.slides { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: #fff; overflow: hidden; }
.slides__viewport { overflow: hidden; }
.slides__track { display: flex; transition: transform .7s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.slides.is-reduced .slides__track { transition: none; }
.slide { position: relative; flex: 0 0 100%; min-width: 100%; background: var(--slide-bg, #EEEDEB); }
/* Artes Lume: desktop 1920x720 (8:3, texto à esquerda, área livre até ~38%; 32% no slide de kits);
   celular 960x1200 (4:5, texto no topo, ~42% livres). Proporção preservada, sem cortar produto. */
.slide__art { position: relative; height: clamp(400px, 37.5vw, 680px); overflow: hidden; }
.slide__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.slide__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--slide-bg) 0%, var(--slide-bg) 22%, color-mix(in srgb, var(--slide-bg) 55%, transparent) 31%, transparent 38%); pointer-events: none; }
.slide__content { position: absolute; inset: 0; display: flex; align-items: center; }
.slide__content .wrap { width: 100%; }
.slide__text { max-width: min(32vw, 440px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 28px; }
.slide__chapeu { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-brand); }
.slide__selo { margin: 0; display: inline-block; padding: 6px 14px; border-radius: 8px; background: var(--c-brand); color: #fff; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.slide__titulo { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.3vw, 54px); line-height: 1.04; letter-spacing: -0.025em; color: var(--c-ink); max-width: 14ch; }
.slide__titulo em { font-family: var(--font-accent); font-style: italic; color: var(--c-brand); }
.slide__sub { margin: 0; font-size: 17px; line-height: 1.5; color: var(--c-ink-muted); max-width: 40ch; }
.slide__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.slide__btn { min-height: 50px; padding-inline: 26px; gap: 10px; }
.slide__btn svg { width: 18px; height: 18px; }
/* Texto claro (slide de fundo framboesa) */
.slide--claro .slide__chapeu, .slide--claro .slide__titulo, .slide--claro .slide__sub { color: #fff; }
.slide--claro .slide__titulo em { color: #FBE3E9; }
.slide--claro .slide__selo { background: #fff; color: var(--c-brand); }
.slide--claro .slide__btn { background: #fff; color: var(--c-brand); }
.slide--claro .slide__btn:hover { background: var(--c-bg); }
.slide--claro .cupom-chip { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.slide--claro .cupom-chip small { color: rgba(255,255,255,.88); }
.slide--claro .cupom-chip .ico { color: #fff; }
.slide--claro .slide__btn:focus-visible, .slide--claro .cupom-chip:focus-visible { outline-color: #fff; }
.cupom-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 6px 16px; border: 1.5px dashed var(--c-brand); border-radius: var(--radius-2); background: rgba(255,255,255,.88); color: var(--c-ink); font: 400 14px var(--font-body); cursor: pointer; text-align: left; }
.cupom-chip b { letter-spacing: .06em; }
.cupom-chip small { display: block; width: 100%; font-size: 12px; color: var(--c-ink-muted); }
.cupom-chip span { display: inline-flex; flex-wrap: wrap; column-gap: 4px; }
.cupom-chip .ico { width: 18px; height: 18px; color: var(--c-brand); flex: none; }
.cupom-chip.is-copied, .cupom-code.is-copied { border-style: solid; border-color: var(--c-success); }
.slides__nav { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; pointer-events: none; }
.slides__nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.slides__dots, .slides__arrows { display: flex; align-items: center; gap: 6px; pointer-events: auto; }
.slides__dots button { position: relative; width: 30px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.slides__dots button::before { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 4px; border-radius: 999px; background: rgba(38,33,30,.22); box-shadow: 0 0 0 1px rgba(255,255,255,.55); transition: background-color .2s ease; }
.slides__dots button[aria-current="true"]::before { background: var(--c-ink); }
.slides__btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px -8px rgba(38,33,30,.4); }
.slides__btn:hover { border-color: var(--c-ink); }
.slides__btn .ico { width: 18px; height: 18px; }
.slides__btn:focus-visible, .slides__dots button:focus-visible, .rail__btn:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
@media (max-width: 767px) {
  .slide__art { height: auto; aspect-ratio: 960 / 1200; }
  .slide__art::after { display: none; }
  .slide__art img { object-position: center top; }
  .slide__content { align-items: flex-start; }
  .slide__text { max-width: 86%; padding: 5.5vw 0 0; gap: 7px; }
  .slide__chapeu { font-size: 11px; }
  .slide__titulo { font-size: clamp(24px, 7vw, 30px); max-width: 15ch; }
  .slide__sub, .slide .cupom-chip { display: none; }
  .slide__selo { font-size: 17px; padding: 4px 10px; }
  .slide__acoes { margin-top: 4px; }
  .slide__btn { min-height: 44px; padding-inline: 20px; }
  .slides__nav { position: static; padding: 10px 0 12px; background: #fff; }
}

/* Faixa de benefícios abaixo dos slides */
.faixa { background: #fff; border-bottom: 1px solid var(--c-line); }
.faixa__lista { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.faixa__item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.faixa__item + .faixa__item { border-left: 1px solid var(--c-line); padding-left: 18px; }
.faixa__item .ico { width: 26px; height: 26px; color: var(--c-brand); flex: none; }
.faixa__item b { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); line-height: 1.25; }
.faixa__item small { display: block; font-size: 12.5px; color: var(--c-ink-muted); }
@media (max-width: 1023px) {
  .faixa__lista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; padding: 14px 0; }
  .faixa__lista::-webkit-scrollbar { display: none; }
  .faixa__item { flex: 0 0 auto; scroll-snap-align: start; padding-right: 22px; }
  .faixa__item + .faixa__item { padding-left: 22px; }
}

/* Atalhos e cartões de promoção */
.atalhos-sec { padding-block: 28px 8px; }
.atalhos { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.atalho { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease; }
.atalho:hover { border-color: var(--c-brand); box-shadow: 0 6px 16px -10px rgba(165,61,86,.6); }
.atalho .ico { width: 22px; height: 22px; color: var(--c-brand); }
.promo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.promo-card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.promo-card__titulo { margin: 0; font-size: 18px; font-weight: 500; color: var(--c-ink); }
.promo-card__texto { margin: 0; font-size: 14px; color: var(--c-ink-muted); }
.promo-card .sec-link { margin-top: auto; align-self: flex-end; }
.promo-card__img { display: block; border-radius: var(--radius-2); overflow: hidden; background: #fff; }
.promo-card__img img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: contain; }
.promo-card__bloco { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: calc(var(--header-offset, 140px) + 20px); }
.promo-card__bloco--brinde { flex-direction: row; align-items: center; gap: 12px; margin-top: auto; padding: 12px 14px; border-radius: var(--radius-2); background: var(--c-brand-tint); color: var(--c-ink); font-size: 14px; }
.promo-card__bloco--brinde p { margin: 0; }
.promo-card__bloco--brinde .ico { width: 24px; height: 24px; color: var(--c-brand); flex: none; }
.cupom-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px dashed var(--c-brand); border-radius: var(--radius-2); background: #fff; cursor: pointer; font: inherit; color: var(--c-ink); }
.cupom-code b { font-size: 18px; letter-spacing: .08em; }
.cupom-code span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--c-brand); font-weight: 500; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini__item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-2); background: #fff; border: 1px solid var(--c-line); overflow: hidden; }
.mini__item img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.mini__selo { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 3px 7px; border-radius: 6px; background: var(--c-cta); color: var(--c-cta-ink); font-size: 11.5px; font-weight: 700; }
@media (max-width: 1023px) { .promo-cards { grid-template-columns: 1fr 1fr; } .promo-card--cupom { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .atalhos { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad, 16px) * -1); padding-inline: var(--pad, 16px); }
  .atalhos::-webkit-scrollbar { display: none; }
  .atalho { flex: 0 0 auto; min-height: 46px; padding: 0 16px; font-size: 14px; }
  .promo-cards { grid-template-columns: 1fr; }
}

/* Categorias em blocos arredondados */
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center h2 { margin-inline: auto; }
.cat-blocks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.cat-block { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--c-ink); text-decoration: none; }
.cat-block__foto { margin: 0; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--c-stone); }
.cat-block__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.cat-block:hover .cat-block__foto img { transform: scale(1.04); }
.cat-block__nome { margin-top: 12px; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cat-block__ver { margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--c-brand); }
.cat-block__ver .ico { width: 13px; height: 13px; }
@media (max-width: 1080px) { .cat-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vitrines deslizantes */
.rail { position: relative; }
.rail__list.grid-products { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail__list::-webkit-scrollbar { display: none; }
.rail__list > .card { scroll-snap-align: start; }
.rail__list:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 4px; }
.rail__btn { position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(23,21,27,.45); }
.rail__btn .ico { width: 18px; height: 18px; }
.rail__btn--prev { left: -22px; }
.rail__btn--next { right: -22px; }
.rail__btn:disabled { opacity: 0; pointer-events: none; }
.rail.is-static .rail__btn { display: none; }
@media (max-width: 1180px) { .rail__list.grid-products { grid-auto-columns: calc((100% - 3 * 16px) / 4); } .rail__btn--prev { left: -8px; } .rail__btn--next { right: -8px; } }
@media (max-width: 900px) { .rail__list.grid-products { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; } }
@media (max-width: 640px) { .rail__list.grid-products { grid-auto-columns: calc((100% - 14px) / 2.2); } .rail__btn { display: none; } }

/* Card de produto: área da imagem branca, imagem inteira, selos e sacola redonda */
.card__media { background: #fff; border-bottom: 1px solid rgba(23,21,27,.06); }
.card__media img { aspect-ratio: 1 / 1; object-fit: contain; padding: 7%; background: #fff; }
.card:hover .card__media img { transform: scale(1.03); }
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badges .badge { position: static; }
.badge--best { background: var(--c-ink); color: #fff; }
.card__body { position: relative; }
.card__price { padding-right: 52px; }
.card__cta { margin: 0; }
.card__add { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 999px; background: var(--c-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color var(--dur-1) ease, transform var(--dur-1) ease; }
.card__add:hover { background: var(--c-brand-hover); transform: scale(1.05); }
.card__add:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.card__add .ico { width: 20px; height: 20px; }
.card__add--opt, .card__add--ver { background: #fff; color: var(--c-brand); border: 1.5px solid var(--c-brand); }
.card__add--opt:hover, .card__add--ver:hover { background: var(--c-brand-tint); }
@media (max-width: 640px) { .card__body { padding: 12px; } .card__add { right: 10px; bottom: 10px; width: 40px; height: 40px; } .card__price { padding-right: 44px; } }
/* Sacola: selo do brinde */
.gift-tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--c-brand-tint); color: var(--c-brand); font-size: 12.5px; font-weight: 600; }@media (max-width: 640px) { .rail .card .parc-line { display: none; } .rail .card__price .pix-line { font-size: 12.5px; } }

/* 1.5d: texto só para leitor de tela (o Woo usa em "Obrigatório" e em vários rótulos); antes aparecia na página. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; margin: 0; clip: auto; white-space: normal; }