/* ROYÉ ACESSÓRIOS — estilo da loja. Mobile primeiro; telas maiores ajustam no fim do arquivo. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/cormorant/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/cormorant/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/cormorant/cormorant-garamond-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/jost/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/jost/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/jost/jost-latin-600-normal.woff2) format("woff2"); }

:root {
  --green: #203B2D;
  --green-deep: #182E23;
  --green-soft: #2C4A3A;
  --gold: #C5A16C;
  --gold-light: #D9BE93;
  --gold-text: #7F5F36;      /* dourado escurecido: legível sobre marfim */
  --ivory: #F5F0E7;
  --ivory-2: #EDE5D7;
  --paper: #FBF8F2;
  --nude: #CBB69C;
  --ink: #2A2A24;
  --muted: #6B645A;
  --line: #E2D8C7;
  --danger: #9A3B2E;
  --ok: #3F6B4F;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --max: 1240px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; font-weight: 400; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
.eyebrow { font-family: var(--sans); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; color: var(--gold-text); margin: 0 0 10px; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; margin: 0; }
.section-title { font-family: var(--sans); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin: 0; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 7vw, 54px); line-height: 1.08; }
.lead { color: var(--muted); max-width: 46ch; }
.ornament { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 38px; background: currentColor; opacity: .7; }
.ornament svg { width: 11px; height: 11px; }
mark.pending { background: #f3e2c2; color: #5d4523; padding: 0 3px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid var(--green); background: var(--green); color: var(--ivory);
  font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; text-decoration: none; cursor: pointer; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--green-deep); }
.btn svg { width: 15px; height: 15px; }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--ivory); }
.btn-light { background: transparent; color: var(--ivory); border-color: rgba(245,240,231,.75); }
.btn-light:hover { background: var(--ivory); color: var(--green); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; }
.link { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--gold-text); display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.link:hover { color: var(--green); }
.link svg { width: 13px; height: 13px; }
.textlink { color: var(--green); text-underline-offset: 3px; }

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--green); color: var(--ivory); position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.logo { display: block; }
.logo img { height: 40px; width: auto; }
.header-left, .header-right { display: flex; align-items: center; gap: 4px; }
.header-right { justify-content: flex-end; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 0; color: var(--ivory); cursor: pointer; position: relative; text-decoration: none; border-radius: 50%; }
.icon-btn svg { width: 21px; height: 21px; stroke-width: 1.3; }
.icon-btn:hover { color: var(--gold-light); }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--green-deep); font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.cart-count[data-count="0"] { display: none; }
.main-nav { display: none; }
.main-nav a { text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0 14px; border-bottom: 1px solid transparent; color: rgba(245,240,231,.86); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ivory); border-bottom-color: var(--gold); }
.only-desktop, .only-desktop-flex { display: none !important; }
.search-bar { background: var(--green-deep); padding: 12px 0; display: none; }
.search-bar.open { display: block; }
.search-bar form { display: flex; gap: 8px; }
.search-bar input { flex: 1; min-height: 46px; background: transparent; border: 1px solid rgba(245,240,231,.35); color: var(--ivory); padding: 0 14px; border-radius: var(--radius); }
.search-bar input::placeholder { color: rgba(245,240,231,.6); }
.minimal-header .header-row { grid-template-columns: 1fr auto 1fr; }

/* Menu do celular */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18,30,24,.45); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--ivory); transform: translateX(-100%); transition: transform .28s ease; display: flex; flex-direction: column; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 10px 20px; background: var(--green); }
.drawer-head img { height: 34px; }
.drawer nav { display: flex; flex-direction: column; padding: 12px 0; }
.drawer nav a { padding: 15px 24px; text-decoration: none; font-family: var(--serif); font-size: 22px; border-bottom: 1px solid var(--line); }
.drawer .drawer-foot { margin-top: auto; padding: 20px 24px; font-size: 14px; color: var(--muted); display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #2a221b; color: var(--ivory); overflow: hidden; }
.hero img { width: 100%; height: 520px; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,.1) 0%, rgba(20,16,12,.25) 45%, rgba(20,16,12,.72) 100%); }
.hero-copy { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--gutter) 44px; }
.hero-brand { font-family: var(--serif); color: var(--gold-light); font-size: clamp(46px, 13vw, 92px); line-height: .95; letter-spacing: .06em; font-weight: 400; }
.hero-sub { font-size: 12px; letter-spacing: .5em; color: var(--gold-light); margin: 6px 0 18px; }
.hero-title { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 6vw, 34px); font-weight: 400; margin-bottom: 12px; }
.hero-text { max-width: 36ch; color: rgba(245,240,231,.88); margin: 0 0 24px; font-size: 15px; }

/* ---------- Benefícios ---------- */
.benefits { background: var(--paper); border-bottom: 1px solid var(--line); }
.benefits ul { list-style: none; margin: 0 auto; padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
.benefits li { text-align: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); line-height: 1.5; }
.benefits svg { width: 28px; height: 28px; color: var(--gold-text); margin: 0 auto 8px; stroke-width: 1.1; display: block; }
.benefits small { display: block; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ---------- Seções e grade de produtos ---------- */
.section { padding-top: 44px; padding-bottom: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; gap: 12px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
.card { position: relative; text-decoration: none; display: block; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--ivory-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s ease; }
.card-media .alt-img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media .alt-img { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.03); }
.card-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.card-media .placeholder img { width: 34%; height: auto; opacity: .45; object-fit: contain; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--green); color: var(--ivory); font-size: 9.5px; letter-spacing: .2em; padding: 4px 8px; text-transform: uppercase; z-index: 2; }
.tag.soldout { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.tag.demo { background: var(--gold); color: var(--green-deep); }
.card-body { padding: 12px 2px 0; }
.card-name { font-family: var(--serif); font-size: 19px; line-height: 1.2; margin: 0 0 4px; font-weight: 500; }
.price { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.installments { font-size: 12.5px; color: var(--muted); }
.card.is-soldout .card-media img { filter: grayscale(.4); opacity: .7; }

/* Bloco "Peças para todos os dias" */
.feature-split { display: grid; background: var(--green); color: var(--ivory); }
.feature-split .copy { padding: 44px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.feature-split h2 { font-family: var(--serif); font-size: clamp(30px, 7vw, 46px); line-height: 1.08; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; margin-bottom: 16px; }
.feature-split p { color: rgba(245,240,231,.82); max-width: 40ch; margin: 0 0 26px; }
.feature-split .media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cat { text-decoration: none; display: block; }
.cat-media { aspect-ratio: 1 / 1; background: var(--ivory-2); overflow: hidden; display: grid; place-items: center; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-media img.sym { width: 34%; height: auto; object-fit: contain; opacity: .5; }
.cat:hover .cat-media img { transform: scale(1.04); }
.cat h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin: 12px 0 2px; font-weight: 500; }
.cat span { font-size: 12.5px; color: var(--muted); }

/* Institucional */
.about { position: relative; background: var(--nude); overflow: hidden; }
.about img { width: 100%; height: 320px; object-fit: cover; object-position: 75% 30%; }
.about .copy { padding: 36px var(--gutter) 44px; background: var(--ivory-2); }
.about h2 { font-family: var(--serif); font-size: clamp(28px, 6.5vw, 40px); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; line-height: 1.12; margin-bottom: 14px; }

/* Newsletter */
.newsletter { text-align: center; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.newsletter h2 { font-size: 30px; margin: 8px 0 6px; }
.newsletter form { display: grid; gap: 10px; max-width: 460px; margin: 18px auto 0; }
.newsletter .consent { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; text-align: left; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--green); color: rgba(245,240,231,.82); padding: 44px 0 26px; font-size: 14px; }
.footer-grid { display: grid; gap: 30px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 18px; margin: 12px 0 0; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 12px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.pay-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-list span { border: 1px solid rgba(245,240,231,.35); padding: 4px 9px; font-size: 11.5px; letter-spacing: .06em; }
.footer-legal { border-top: 1px solid rgba(245,240,231,.16); margin-top: 32px; padding-top: 18px; font-size: 12px; color: rgba(245,240,231,.6); display: grid; gap: 4px; }

/* ---------- Catálogo ---------- */
.page-banner { position: relative; background: var(--ivory-2); overflow: hidden; min-height: 170px; display: flex; align-items: center; }
.page-banner .copy { position: relative; z-index: 2; padding: 34px var(--gutter); }
.page-banner h1 { font-size: clamp(34px, 8vw, 52px); letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.page-banner p { margin: 6px 0 0; color: var(--muted); }
.page-banner .banner-img { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.crumbs { font-size: 12px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.catalog { display: grid; gap: 24px; padding: 18px 0 56px; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.toolbar .count { font-size: 13px; color: var(--muted); }
.toolbar-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.select { min-height: 44px; border: 1px solid var(--line); background: var(--paper); padding: 0 12px; border-radius: var(--radius); font-size: 14px; }
.filters { display: none; }
.filters.open { display: block; position: fixed; inset: 0; z-index: 70; background: var(--ivory); overflow-y: auto; padding: 0 0 100px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 10px var(--gutter); border-bottom: 1px solid var(--line); }
.filters-head .icon-btn { color: var(--ink); }
.filters form { padding: 0 var(--gutter); }
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group h3 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 12px; font-weight: 500; }
.filter-group label { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.filter-group a { display: block; padding: 6px 0; text-decoration: none; font-size: 14.5px; }
.filter-group a[aria-current="page"] { color: var(--gold-text); font-weight: 500; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters-actions { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px var(--gutter); background: var(--ivory); border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty img { width: 60px; margin: 0 auto 16px; opacity: .55; }
.empty h2 { color: var(--ink); font-size: 26px; margin-bottom: 8px; }

/* ---------- Página do produto ---------- */
.product { display: grid; gap: 26px; padding: 8px 0 48px; }
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; background: var(--ivory-2); aspect-ratio: 3 / 4; }
.gallery-track figure.empty-photo { display: grid; place-items: center; }
.gallery-track figure.empty-photo img { width: 30%; height: auto; opacity: .45; }
.zoom-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: opacity .35s ease; }
.gallery-dots { display: flex; justify-content: center; gap: 7px; padding: 12px 0 0; }
.gallery-dots button { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: var(--nude); cursor: pointer; }
.gallery-dots button[aria-current="true"] { background: var(--green); }
.thumbs { display: none; }
.info h1 { font-size: clamp(30px, 7vw, 40px); line-height: 1.1; margin-bottom: 10px; }
.info .price { font-size: 26px; font-family: var(--serif); font-weight: 500; }
.info .installments { margin-top: 2px; }
.info .desc { color: #47433b; margin: 18px 0; }
.opt-label { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin: 18px 0 10px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variants label { position: relative; }
.variants input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variants span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.variants input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.variants input:disabled + span { opacity: .45; text-decoration: line-through; }
.variants input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 20px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty input { width: 38px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stock-note { font-size: 13px; color: var(--gold-text); margin-top: 10px; min-height: 20px; }
.notice { border: 1px solid var(--line); background: var(--paper); padding: 14px 16px; font-size: 14px; display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--gold-text); stroke-width: 1.2; margin-top: 1px; }
.notice strong { display: block; font-weight: 500; }
.notice.warn { background: #f7ead3; border-color: #e5cf9f; }
.notice.danger { background: #f6e1dc; border-color: #e3b8ae; color: #5f2219; }
.notice.success { background: #e6efe7; border-color: #bcd3c0; }
.accordion { margin-top: 22px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; }
.accordion details[open] summary::after { content: "–"; }
.accordion .content { padding: 0 0 18px; color: #47433b; font-size: 15px; }
.accordion dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.accordion dt { color: var(--muted); }
.accordion dd { margin: 0; }
.preview-bar { background: var(--gold); color: var(--green-deep); text-align: center; padding: 8px; font-size: 13px; }

/* ---------- Toast ---------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); background: var(--green); color: var(--ivory); padding: 14px 18px; z-index: 90; width: min(92vw, 440px);
  display: flex; gap: 12px; align-items: center; justify-content: space-between; transition: transform .3s ease; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }
.toast a { color: var(--gold-light); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.toast.error { background: var(--danger); }

/* ---------- Carrinho / checkout / pedido ---------- */
.page-title { padding: 28px 0 8px; }
.page-title h1 { font-size: clamp(30px, 7vw, 42px); }
.page-title h1 small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.cart-layout, .checkout-layout { display: grid; gap: 28px; padding: 12px 0 56px; }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 86px; height: 106px; object-fit: cover; background: var(--ivory-2); }
.cart-line h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.cart-line h3 a { text-decoration: none; }
.cart-line .meta { font-size: 13px; color: var(--muted); }
.cart-line .line-problem { color: var(--danger); font-size: 13px; margin-top: 4px; }
.cart-line .qty { height: 38px; margin-top: 10px; }
.cart-line .qty button { width: 34px; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; }
.remove svg { width: 18px; height: 18px; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 22px; align-self: start; }
.summary h2 { font-size: 24px; margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.summary .row span:last-child { text-align: right; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 500; }
.summary .muted, .muted { color: var(--muted); font-size: 13px; }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 14px 0; }
.coupon .btn { padding: 0 16px; min-height: 44px; }
.summary .actions { display: grid; gap: 10px; margin-top: 16px; text-align: center; }
.secure { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.secure svg { width: 18px; height: 18px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 14px; }
.mini-lines img { width: 52px; height: 64px; object-fit: cover; background: var(--ivory-2); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); background: var(--paper); padding: 10px 14px; border-radius: var(--radius); font-size: 16px; }
.field textarea { min-height: 90px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row.cep { grid-template-columns: 1fr 1.2fr; }
.field-row.num { grid-template-columns: 1fr 1.4fr; }
.field-row.city { grid-template-columns: 1fr 76px; }
.field.invalid input { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 14px; min-height: 0; }
.form-error:not(:empty) { margin: 6px 0 12px; }
.step { background: var(--paper); border: 1px solid var(--line); padding: 22px 18px; margin-bottom: 16px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--green); display: grid; place-items: center; font-size: 13px; flex: none; }
.step.done .step-num { background: var(--green); color: var(--ivory); }
.step-head h2 { font-size: 24px; }
.step-head .edit { margin-left: auto; }
.step.locked { opacity: .5; }
.step.locked .step-body { display: none; }
.ship-option { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); background: var(--ivory); cursor: pointer; margin-bottom: 10px; align-items: flex-start; }
.ship-option input { margin-top: 4px; accent-color: var(--green); }
.ship-option strong { font-weight: 500; display: block; }
.ship-option small { color: var(--muted); font-size: 13px; }
.code-input { letter-spacing: .5em; text-align: center; font-size: 22px !important; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { min-height: 50px; background: var(--paper); border: 0; cursor: pointer; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.tabs button[aria-selected="true"] { background: var(--green); color: var(--ivory); }
.pix-box { text-align: center; }
.pix-box img { width: 230px; height: 230px; margin: 10px auto; background: #fff; padding: 8px; border: 1px solid var(--line); }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 12px 0; }
.copy-row input { font-size: 13px; }
.waiting { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-top: 8px; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.4s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.status-hero { text-align: center; padding: 34px 18px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 18px; }
.status-hero .badge-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold-light); }
.status-hero .badge-ico svg { width: 26px; height: 26px; }
.status-hero h2 { font-size: 30px; margin-bottom: 8px; }
.status-hero p { color: var(--muted); max-width: 46ch; margin: 0 auto 16px; }
.timeline { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; font-size: 14px; }
.timeline li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--nude); flex: none; }
.timeline li.on { color: var(--ink); }
.timeline li.on::before { background: var(--green); border-color: var(--green); }
.order-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.order-list li a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-list small { color: var(--muted); }
.pill { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); background: var(--paper); }
.pill.ok { background: #e6efe7; border-color: #bcd3c0; }
.pill.wait { background: #f7ead3; border-color: #e5cf9f; }
.pill.bad { background: #f6e1dc; border-color: #e3b8ae; }

/* Páginas institucionais */
.prose { max-width: 720px; padding: 10px 0 64px; font-size: 16.5px; }
.prose h2 { font-size: 28px; margin: 30px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 4px 0; }

/* Página de erro */
.error-page { text-align: center; padding: 80px 16px; }
.error-page img { width: 64px; margin: 0 auto 18px; }
.error-page h1 { font-size: 40px; margin-bottom: 10px; }

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .benefits ul { grid-template-columns: repeat(4, 1fr); }
  .newsletter form { grid-template-columns: 1fr auto; }
  .newsletter .consent { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .only-mobile { display: none !important; }
  .only-desktop { display: initial !important; }
  .only-desktop-flex { display: inline-grid !important; }
  .main-header-row { height: auto; grid-template-areas: "left logo right" "nav nav nav"; padding-top: 10px; }
  .main-header-row .header-left { grid-area: left; } .main-header-row .logo { grid-area: logo; } .main-header-row .header-right { grid-area: right; } .main-header-row .main-nav { grid-area: nav; padding-top: 14px; }
  .minimal-header .header-row { height: 84px; }
  .logo img { height: 54px; }
  .main-nav { display: flex; justify-content: center; gap: 34px; }
  .hero img { height: min(78vh, 680px); object-position: center; }
  .hero::after { background: linear-gradient(90deg, rgba(20,16,12,.78) 0%, rgba(20,16,12,.45) 38%, rgba(20,16,12,0) 64%); }
  .hero-copy { inset: 0 auto 0 0; width: 52%; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hero-text { font-size: 16px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-split { grid-template-columns: 1fr 1.1fr; }
  .feature-split .copy { padding: 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: 48px; }
  .feature-split .media { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .feature-split .media img { min-height: 440px; }
  .about { display: grid; grid-template-columns: 1.2fr 1fr; }
  .about img { height: 100%; min-height: 380px; }
  .about .copy { display: flex; flex-direction: column; justify-content: center; padding: 56px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; }
  .page-banner { min-height: 230px; }
  .page-banner .copy { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .page-banner .banner-img { width: 50%; }
  .catalog { grid-template-columns: 220px 1fr; gap: 40px; }
  .filters, .filters.open { display: block; position: static; padding: 0; background: none; overflow: visible; }
  .filters-head, .filters-actions .only-mobile { display: none; }
  .filters form { padding: 0; }
  .filter-group:first-child { padding-top: 0; }
  .filters-actions { position: static; display: block; border: 0; padding: 18px 0; background: none; }
  .grid.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { grid-template-columns: 1.5fr 1fr; gap: 56px; padding-top: 18px; }
  .gallery { margin: 0; display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; }
  .thumbs { display: grid; gap: 10px; }
  .thumbs button { padding: 0; border: 1px solid transparent; background: var(--ivory-2); cursor: pointer; aspect-ratio: 3 / 4; opacity: .72; transition: opacity .2s, border-color .2s; }
  .thumbs button:hover { opacity: 1; }
  .thumbs button[aria-current="true"] { opacity: 1; }
  .thumbs button[aria-current="true"] { border-color: var(--green); }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-dots { display: none; }
  .gallery.single { grid-template-columns: 1fr; }
  .info { position: sticky; top: 110px; align-self: start; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 380px; gap: 44px; }
  .summary { position: sticky; top: 110px; }
  .step { padding: 28px; }
}
@media (min-width: 1200px) {
  .grid.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Vitrine (página inicial) ---------- */
.vitrine { display: grid; background: linear-gradient(180deg, #F3EBDD 0%, var(--ivory) 100%); }
.vitrine-media { order: -1; aspect-ratio: 3 / 4; max-height: 82vh; overflow: hidden; background: var(--ivory-2); }
.vitrine-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.vitrine-copy { padding: 34px var(--gutter) 46px; display: flex; flex-direction: column; justify-content: center; }
.vitrine-copy .eyebrow { color: var(--ink); letter-spacing: .32em; margin: 0; }
.vitrine-rule { display: block; width: 46px; height: 1px; background: var(--gold); margin: 16px 0 22px; }
.vitrine-rule.center { margin: 14px auto 0; }
.vitrine-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 12vw, 92px); line-height: .98; letter-spacing: -.01em; color: #22201b; margin: 0 0 20px; max-width: 11ch; }
.vitrine-title em { font-style: italic; color: #A8844E; display: inline; }
.vitrine-text { font-size: 17px; line-height: 1.55; color: #3d3a33; max-width: 30ch; margin: 0 0 28px; }
.display-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; margin: 0; }
.section-head.centered { position: relative; justify-content: center; text-align: center; margin-bottom: 30px; }
.section-head.centered .eyebrow { color: var(--ink); letter-spacing: .3em; margin-bottom: 6px; }
.section-head.centered > .link { position: absolute; right: 0; bottom: 6px; }
.cats-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.catf { text-decoration: none; display: block; }
.catf-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); display: grid; place-items: center; }
.catf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.catf-media img.sym { width: 26%; height: auto; object-fit: contain; opacity: .45; }
.catf:hover .catf-media img:not(.sym) { transform: scale(1.04); }
.catf-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 2px 0; }
.catf-body h3 { font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 4px; }
.catf-body span { font-size: 13.5px; color: var(--muted); }
.catf-body svg { width: 18px; height: 18px; flex: none; margin-top: 2px; transition: transform .25s; }
.catf:hover .catf-body svg { transform: translateX(4px); }
@media (max-width: 639px) { .section-head.centered { flex-direction: column; align-items: center; } .section-head.centered > .link { position: static; margin-top: 12px; } }

/* ---------- Página do produto: detalhes ---------- */
.spec-line { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: #47433b; }
.spec-line li { display: inline-flex; align-items: center; gap: 7px; }
.spec-line svg { width: 9px; height: 9px; color: var(--gold); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .28s ease; box-shadow: 0 -6px 18px rgba(32,59,45,.06); }
.buybar.show { transform: none; }
.buybar > div { display: grid; min-width: 0; }
.buybar strong { font-family: var(--serif); font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar span { font-size: 14px; }
.buybar .btn { min-height: 46px; padding: 0 18px; flex: none; }
body.has-buybar { padding-bottom: 76px; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(20,22,18,.94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox[hidden] { display: none !important; }
.lb-stage { grid-column: 2; height: 100vh; height: 100dvh; display: grid; place-items: center; overflow: auto; padding: 56px 0; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 112px); object-fit: contain; cursor: zoom-in; transition: transform .25s ease; }
.lb-stage.zoomed { place-items: start center; }
.lb-stage.zoomed img { max-height: none; max-width: none; width: min(1600px, 180vw); cursor: zoom-out; }
.lightbox .icon-btn { color: var(--ivory); }
.lb-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 2; }
.lb-nav.prev { grid-column: 1; justify-self: center; } .lb-nav.next { grid-column: 3; justify-self: center; }
.lb-count { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(245,240,231,.75); font-size: 13px; letter-spacing: .14em; }
@media (min-width: 640px) {
  .cats-feature.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats-feature.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .vitrine { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(86vh, 760px); }
  .vitrine-media { order: 0; aspect-ratio: auto; }
  .vitrine-media img { object-position: 50% 6%; }
  .vitrine-copy { padding: 64px 48px 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .cats-feature { gap: 22px; }
  .cats-feature.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buybar { display: none; }
  body.has-buybar { padding-bottom: 0; }
}
@media (min-width: 1180px) {
  .main-header-row { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav right"; height: 84px; padding-top: 0; }
  .main-header-row .header-left { display: none; }
  .main-header-row .logo img { height: 50px; }
  .main-header-row .main-nav { padding-top: 0; gap: 30px; }
  .main-header-row .main-nav a { padding: 8px 0; }
}

/* ---------- Seletor de cor (bolinhas) ---------- */
.opt-value { font-family: var(--sans); font-weight: 400; letter-spacing: .03em; text-transform: none; color: var(--muted); font-size: 13.5px; margin-left: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.swatch { position: relative; display: grid; justify-items: center; gap: 7px; cursor: pointer; min-width: 52px; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-dot { width: 36px; height: 36px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .15s; }
.swatch:hover .sw-dot { transform: scale(1.06); }
.swatch input:checked + .sw-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--green); }
.swatch input:focus-visible + .sw-dot { outline: 2px solid var(--gold-text); outline-offset: 6px; }
.sw-name { font-size: 12.5px; color: var(--ink); }
.swatch.is-out { cursor: not-allowed; }
.swatch.is-out .sw-dot { opacity: .45; }
.swatch.is-out .sw-dot::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1.5px; background: var(--muted); transform: rotate(45deg); }
.swatch.is-out .sw-name { color: #9a948a; text-decoration: line-through; }
.sw-dourado { background: radial-gradient(circle at 32% 28%, #F6E3B8 0%, #D9B676 35%, #B08A4A 70%, #8E6C35 100%); }
.sw-prata { background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #DCDDE0 35%, #AEB1B6 72%, #8D9096 100%); }
.sw-rose { background: radial-gradient(circle at 32% 28%, #F8DCD0 0%, #E2AE98 38%, #C1856D 74%, #9E6650 100%); }
.sw-grafite { background: radial-gradient(circle at 32% 28%, #9A9DA3 0%, #5E6268 40%, #3B3E43 75%, #26282C 100%); }
.sw-perola { background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #F6F1E7 40%, #E3DACB 75%, #CFC4B1 100%); }
.sw-custom { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%), var(--sw, #ccc); }

/* ---------- Menu com subcategorias ---------- */
.drawer nav a.drawer-sub { font-family: var(--sans); font-size: 15px; padding: 11px 24px 11px 40px; color: var(--muted); }
.main-nav { flex-wrap: wrap; row-gap: 6px; }
.nav-item { position: relative; display: inline-flex; }
.nav-item.has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .7; }
.nav-sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 210px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(32,59,45,.12);
  padding: 8px 0; display: grid; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 50; }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .nav-sub a { color: var(--ink); border: 0; padding: 10px 20px; font-size: 11.5px; letter-spacing: .16em; white-space: nowrap; }
.main-nav .nav-sub a:hover { background: var(--ivory); color: var(--green); }
.main-nav .nav-sub a:first-child { color: var(--gold-text); }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.subcats a { border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; font-size: 13px; text-decoration: none; letter-spacing: .04em; }
.subcats a[aria-current="page"] { background: var(--green); color: var(--ivory); border-color: var(--green); }
.filter-group .sub { padding-left: 14px; font-size: 13.5px; color: #4a463e; }
.color-opts { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.color-opts a { display: grid; justify-items: center; gap: 6px; text-decoration: none; font-size: 12px; padding: 0 !important; }
.color-opts .sw-dot { width: 30px; height: 30px; }
.color-opts a[aria-current="page"] .sw-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); }

/* ---------- Popup de cadastro ---------- */
.popup { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 28, 22, .45); opacity: 0; transition: opacity .25s; }
.popup.show { opacity: 1; }
.popup-card { position: relative; display: grid; grid-template-columns: 1fr; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--ivory, #F5F0E7); box-shadow: 0 30px 80px rgba(0,0,0,.25); transform: translateY(12px); transition: transform .25s; }
.popup.show .popup-card { transform: none; }
.popup-media { display: none; background: var(--green); align-items: center; justify-content: center; }
.popup-media img { width: 110px; opacity: .9; }
.popup-body { padding: 34px 26px 26px; text-align: center; }
.popup-body p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.popup-title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.12; margin: 0 0 10px; color: var(--green); }
.popup-body form { display: grid; gap: 10px; text-align: left; }
.popup-x { position: absolute; top: 6px; right: 6px; }
.popup-no { margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.check-line { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.check-line input { margin-top: 3px; accent-color: var(--green); }
@media (min-width: 640px) {
  .popup-card { grid-template-columns: 240px 1fr; }
  .popup-media { display: flex; }
  .popup-body { padding: 44px 36px 30px; }
}

/* Vitrine no celular: foto com o texto por cima (não ocupa mais duas telas) */
@media (max-width: 959px) {
  .vitrine { position: relative; display: block; background: #1d1a16; }
  .vitrine-media { aspect-ratio: auto; height: min(74svh, 640px); max-height: none; }
  .vitrine-media img { object-position: 50% 22%; }
  .vitrine-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px var(--gutter) 28px;
    background: linear-gradient(180deg, rgba(20,18,14,0) 0%, rgba(20,18,14,.55) 45%, rgba(20,18,14,.78) 100%); }
  .vitrine-copy .eyebrow { color: #F5F0E7; }
  .vitrine-rule { margin: 10px 0 14px; }
  .vitrine-title { color: #FBF8F2; font-size: clamp(36px, 10.5vw, 56px); margin: 0 0 12px; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
  .vitrine-title em { color: #E4C793; }
  .vitrine-text { color: rgba(251,248,242,.9); font-size: 15px; margin: 0 0 18px; }
  .vitrine-copy .btn { background: #F5F0E7; color: var(--green); border-color: #F5F0E7; }
}
@media (min-width: 640px) and (max-width: 959px) { .vitrine-media { height: min(70svh, 720px); } }

/* Menu do topo: sempre numa linha; o que não couber vai para "Mais" */
@media (min-width: 960px) {
  .main-nav { flex-wrap: nowrap; white-space: nowrap; min-width: 0; gap: clamp(16px, 1.9vw, 30px); }
  .main-header-row .main-nav { gap: clamp(16px, 1.9vw, 30px); }
  .main-nav > a, .main-nav > .nav-item > a { letter-spacing: .16em; }
  .main-nav .nav-more .nav-sub { left: auto; right: 0; transform: translate(0, 6px); }
  .main-nav .nav-more:hover .nav-sub, .main-nav .nav-more:focus-within .nav-sub { transform: translate(0, 0); }
  .main-nav .nav-more .nav-sub a.sub { padding-left: 34px; color: var(--muted); }
  .main-nav .nav-more .nav-sub a:first-child { color: var(--ink); }
  .main-nav .nav-more .nav-sub a[aria-current="page"] { color: var(--green); background: var(--ivory); }
}

/* Botão flutuante do WhatsApp */
.wa-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 44; display: inline-flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 16px;
  border-radius: 28px; background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .15s, box-shadow .15s; }
.wa-fab svg { width: 26px; height: 26px; flex: none; margin-left: -1px; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.wa-fab:focus-visible { outline: 3px solid #1a7f43; outline-offset: 3px; }
.wa-fab-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: .02em; transition: max-width .25s, margin .25s; }
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label { max-width: 160px; margin-left: 10px; }
body.has-buybar .wa-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { body.has-buybar .wa-fab { bottom: 24px; } .wa-fab { right: 24px; bottom: 24px; } }
@media print { .wa-fab { display: none; } }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-link svg { width: 18px; height: 18px; }
.drawer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.drawer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.drawer-social a svg { width: 18px; height: 18px; }

/* ---------- Promoções ---------- */
.tag.sale { background: #8E2F25; color: #FFF6EE; letter-spacing: .08em; font-size: 11px; font-weight: 600; }
.price-old { color: var(--muted); font-weight: 400; font-size: .86em; margin-right: 4px; text-decoration-thickness: 1px; }
.price-sale { color: #8E2F25; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price-row .price-old { font-family: var(--sans); font-size: 16px; }
.price-row .tag.sale { position: static; align-self: center; padding: 4px 8px; }
.price-row [hidden] { display: none !important; }
.main-nav a.nav-promo, .drawer a.nav-promo { color: #E4C793; }
.main-nav a.nav-promo:hover { color: #F3DDB0; }
/* Paginação da vitrine */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 40px 0 8px; }
.pager-n, .pager-b { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid #DCCFBD; color: var(--green); text-decoration: none; font-size: 14px; letter-spacing: .04em; background: transparent; }
.pager-n:hover, .pager-b:hover { border-color: var(--green); }
.pager-n.is-current { background: var(--green); border-color: var(--green); color: var(--ivory); }
.pager-gap { color: var(--muted); padding: 0 2px; }
@media (max-width: 480px) { .pager-b { padding: 0 10px; } .pager { gap: 6px; } }

/* ---------- Avaliações ---------- */
.stars { --r: 0; --size: 15px; display: inline-block; position: relative; font-size: var(--size); line-height: 1; letter-spacing: 2px; color: #DDD2BF; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: var(--gold); white-space: nowrap; }
.stars.lg { --size: 22px; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; margin: -2px 0 12px; font-size: 14px; color: var(--ink); text-decoration: none; }
.rating-link:hover span:last-child { text-decoration: underline; }
.card-rating { font-size: 13px; color: var(--ink); margin: 2px 0 4px; }
.card-rating > span:first-child { color: var(--gold); }
.reviews-section { border-top: 1px solid var(--line); margin-top: 24px; }
.rv-summary { display: grid; grid-template-columns: auto minmax(0, 340px); justify-content: start; gap: 28px 56px; align-items: center; margin: 4px 0 24px; }
.rv-score { display: grid; justify-items: start; gap: 4px; }
.rv-score strong { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; color: var(--green); }
.rv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.rv-bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 10px; align-items: center; }
.rv-bar { height: 6px; background: var(--ivory-2); border-radius: 3px; overflow: hidden; }
.rv-bar span { display: block; height: 100%; background: var(--gold); }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rv-card { background: var(--paper); border: 1px solid var(--line); padding: 18px; }
.rv-card p { margin: 10px 0 0; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.rv-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.rv-verified { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.rv-date { margin-left: auto; font-size: 13px; }
.rv-card-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rv-card-photos a { display: block; width: 92px; height: 92px; border: 1px solid var(--line); overflow: hidden; }
.rv-card-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rv-card-photos a:hover img { transform: scale(1.05); }
.rv-reply { margin-top: 12px; padding: 12px 14px; background: var(--ivory); border-left: 2px solid var(--gold); font-size: 14px; }
.rv-reply p { margin: 4px 0 0; }
.rv-empty { margin: 0 0 8px; }
.rv-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16, 24, 19, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.rv-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.rv-lightbox-x { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; border-radius: 50%; cursor: pointer; }
/* formulário na página do pedido */
.rv-item { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.rv-item:first-of-type { border-top: 0; padding-top: 4px; }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-head img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); }
.rv-head strong { font-weight: 500; }
.rv-stars-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; }
.rv-stars { display: flex; gap: 2px; }
.rv-star { width: 44px; height: 44px; border: 0; background: none; font-size: 32px; line-height: 1; color: #DDD2BF; cursor: pointer; padding: 0; }
.rv-star.on { color: var(--gold); }
.rv-star:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-radius: 4px; }
.rv-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.rv-preview { display: contents; }
.rv-thumb { position: relative; width: 84px; height: 84px; border: 1px solid var(--line); }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv-thumb-x { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.rv-add { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border: 1px dashed var(--nude); color: var(--green); font-size: 12.5px; text-align: center; padding: 6px; cursor: pointer; background: var(--ivory); }
.rv-add[hidden] { display: none; }
.rv-add:focus-within { outline: 2px solid var(--green); }
.rv-done { margin: 0 0 12px; color: var(--ok); }
@media (max-width: 640px) {
  .rv-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rv-date { margin-left: 0; width: 100%; }
  .rv-card-photos a { width: 78px; height: 78px; }
}

/* ---------- Área da afiliada ---------- */
.aff-wrap { max-width: 980px; padding-bottom: 48px; }
.aff-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 20px; }
.aff-coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; background: var(--green); color: var(--ivory); padding: 24px; margin-bottom: 16px; }
.aff-coupon .muted { color: rgba(245, 240, 231, .78); margin: 6px 0 0; }
.aff-label { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.aff-code { margin: 4px 0 0; font-family: var(--serif); font-size: 40px; letter-spacing: .08em; line-height: 1.1; overflow-wrap: anywhere; }
.aff-share { display: grid; gap: 8px; justify-items: stretch; }
.aff-coupon .btn { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.aff-coupon .btn-outline { background: transparent; color: var(--ivory); border-color: rgba(245, 240, 231, .5); }
.aff-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.aff-kpi { background: var(--paper); border: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 2px; min-width: 0; }
.aff-kpi span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.aff-kpi strong { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--green); overflow-wrap: anywhere; }
.aff-kpi small { font-size: 13px; color: var(--muted); }
.aff-month, .aff-history { background: var(--paper); border: 1px solid var(--line); padding: 20px; margin-bottom: 16px; }
.aff-month-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.aff-month h2, .aff-history h2 { font-size: 24px; margin: 0; }
.aff-history h2 { margin-bottom: 12px; }
.aff-month-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.aff-month-sum > div { background: var(--ivory); padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.aff-month-sum span { font-size: 12px; color: var(--muted); }
.aff-month-sum strong { font-weight: 500; font-size: 17px; }
.aff-st.pago { color: var(--ok); }
.aff-st.a_pagar, .aff-st.parcial { color: var(--gold-text); }
.aff-table-wrap { overflow-x: auto; }
.aff-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.aff-table th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.aff-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.aff-table .num { text-align: right; white-space: nowrap; }
.aff-table tr.is-off td { color: var(--muted); }
.aff-table tr.is-off strong { font-weight: 400; }
.aff-empty { padding: 18px 0; }
.aff-pass { background: var(--paper); border: 1px solid var(--line); padding: 16px 20px; }
.aff-pass summary { cursor: pointer; font-weight: 500; }
.aff-pass form { max-width: 420px; margin-top: 14px; }
.form-error.ok { color: var(--ok); }
@media (max-width: 760px) {
  .aff-coupon { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .aff-kpis { grid-template-columns: minmax(0, 1fr); }
  .aff-kpi strong { font-size: 26px; }
  .aff-month-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aff-month, .aff-history { padding: 16px; }
  /* tabela vira lista de cartões */
  .aff-table thead { display: none; }
  .aff-table, .aff-table tbody, .aff-table tr, .aff-table td { display: block; width: 100%; }
  .aff-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .aff-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .aff-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; text-align: left; }
  .aff-table .num { white-space: normal; }
}
.btn.btn-sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
/* Seja afiliada */
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aff-perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aff-perks li { background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 4px; }
.aff-perks strong { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--green); }
.aff-perks span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.aff-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--ivory-2); padding: 18px 20px; margin: 0 0 16px; }
.aff-cta div { display: grid; gap: 2px; min-width: 0; flex: 1 1 240px; }
.aff-cta span { font-size: 14px; color: var(--muted); }
.aff-sent { text-align: center; padding: 12px 0; }
.aff-sent h2 { margin: 8px 0; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .field-msg { color: var(--danger); font-size: 13px; margin-top: 4px; display: block; }
@media (max-width: 640px) { .form-row-2, .aff-perks { grid-template-columns: minmax(0, 1fr); } }
.drawer-aff { color: var(--gold-text) !important; }
/* Afiliadas no menu */
.main-nav .nav-aff { margin-right: 18px; }
.drawer-aff-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 20px 6px; padding: 14px 16px; background: var(--green); color: var(--ivory); text-decoration: none; border-left: 3px solid var(--gold); }
.drawer-aff-card strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--gold-light); }
.drawer-aff-card small { display: block; font-size: 13px; color: rgba(245, 240, 231, .8); margin-top: 2px; }
.drawer-aff-go { font-size: 26px; color: var(--gold); line-height: 1; }
/* ---------- Compre junto ---------- */
.together { border-top: 1px solid var(--line); margin-top: 24px; }
.tg-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.tg-card { position: relative; flex: 0 1 220px; min-width: 0; display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); transition: opacity .2s; }
.tg-card.is-off { opacity: .5; }
.tg-check { position: absolute; top: 8px; left: 8px; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; background: rgba(251, 248, 242, .92); border-radius: 50%; cursor: pointer; }
.tg-check input { width: 18px; height: 18px; accent-color: var(--green); }
.tg-img { display: block; aspect-ratio: 4 / 5; background: var(--ivory-2); overflow: hidden; }
.tg-img img { width: 100%; height: 100%; object-fit: cover; }
.tg-body { display: grid; gap: 6px; padding: 12px 12px 14px; align-content: start; }
.tg-name { font-family: var(--serif); font-size: 18px; line-height: 1.2; color: var(--ink); text-decoration: none; }
a.tg-name:hover { text-decoration: underline; }
.tg-sub { font-size: 13px; }
.tg-var { width: 100%; min-height: 40px; font-size: 13px; }
.tg-price { font-weight: 500; }
.tg-plus { align-self: center; font-family: var(--serif); font-size: 30px; color: var(--gold-text); }
.tg-total { flex: 1 1 220px; align-self: center; display: grid; gap: 8px; justify-items: start; padding: 8px 0 8px 12px; }
.tg-total strong { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--green); }
@media (max-width: 760px) {
  .tg-row { flex-direction: column; gap: 8px; }
  .tg-card { flex: none; grid-template-rows: none; grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
  .tg-img { width: 96px; height: 96px; aspect-ratio: auto; }
  .tg-check { top: 6px; left: 6px; width: 30px; height: 30px; }
  .tg-plus { align-self: center; font-size: 24px; line-height: 1; }
  .tg-total { flex: none; align-self: stretch; padding: 8px 0 0; justify-items: stretch; }
  .tg-total strong { font-size: 26px; }
  .tg-total .btn { width: 100%; }
}
.tg-img img { transition: opacity .2s; } .tg-img img.is-swapping { opacity: .4; }
.pdp-wa { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.4; }
.pdp-wa svg { width: 22px; height: 22px; flex: none; color: #1FA855; }
.pdp-wa strong { font-weight: 500; white-space: nowrap; }
.pdp-wa:hover { border-color: var(--green); }
/* Grupo do WhatsApp */
.wa-group { padding-top: 8px; padding-bottom: 8px; }
.wa-group-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 22px; align-items: center; background: var(--green); color: var(--ivory); padding: 24px 28px; }
.wa-group-ico { width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; }
.wa-group-ico svg { width: 28px; height: 28px; }
.wa-group-txt h2 { margin: 0; font-size: 28px; color: var(--gold-light); font-weight: 400; }
.wa-group-txt p { margin: 4px 0 0; color: rgba(245, 240, 231, .82); }
.wa-group-order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid #25D366; padding: 16px 18px; margin-bottom: 16px; }
.wa-group-order .wa-group-ico { width: 42px; height: 42px; }
.wa-group-order .wa-group-ico svg { width: 22px; height: 22px; }
.wa-group-order .wa-group-txt { display: grid; gap: 2px; }
.wa-group-order .wa-group-txt span { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .wa-group-box { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .wa-group-box .btn { grid-column: 1 / -1; width: 100%; }
  .wa-group-txt h2 { font-size: 24px; }
  .wa-group-order { grid-template-columns: auto minmax(0, 1fr); }
  .wa-group-order .btn { grid-column: 1 / -1; width: 100%; }
}
.care-mat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }

/* Corrigir WhatsApp (pedido e Minha conta) */
.contact-step { padding: 18px 20px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.contact-phone { font-size: 17px; letter-spacing: .3px; }
.contact-help { margin: 4px 0 0; font-size: 13.5px; }
.contact-form { margin-top: 14px; }
.contact-form .field { max-width: 320px; }
.contact-actions { display: flex; align-items: center; gap: 16px; }

/* Menu do celular: rola quando há muitas categorias */
.drawer-panel { height: 100%; height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer-head { position: sticky; top: 0; z-index: 1; flex-shrink: 0; }
.drawer nav, .drawer .drawer-foot, .drawer-aff-card { flex-shrink: 0; }
.drawer .drawer-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.hold-note { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; margin: 0 0 18px; padding: 12px 16px; background: #fbf4e6; border-left: 3px solid var(--gold); font-size: 14.5px; }
