/* Loja Dunastes — layout de e-commerce.
   Cores, tipografia, botões e cantos lapidados vêm do design system (tokens.css + bundle.css). */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-size: 16px; line-height: 1.5; }
.wrap { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brown-900); color: var(--on-brown); padding: 10px 14px; }
.skip:focus { top: 8px; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.logo { display: block; width: 128px; aspect-ratio: 586.3 / 198.61; background: var(--brown-900); -webkit-mask: url("logo.svg") center / contain no-repeat; mask: url("logo.svg") center / contain no-repeat; }
.arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast); }
.arrow:hover { background: var(--brown-900); color: var(--on-brown); }
.arrow svg, .icon-btn svg, .tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }

/* ---------- Faixa de avisos ---------- */
.strip { background: var(--dn-foil); color: var(--on-foil); font-size: 13px; font-weight: 500; }
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: var(--space-5); min-height: 36px; }
.strip__msg { letter-spacing: .04em; text-align: center; }
.strip__link { display: none; color: inherit; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 860px) { .strip .wrap { justify-content: space-between; } .strip__link { display: inline; } }
.ref-strip { background: var(--sand-200); font-size: 13px; color: var(--ink-muted); text-align: center; padding: 6px var(--gutter); }
.ref-strip b { color: var(--gold-text); font-weight: 500; }

/* ---------- Cabeçalho ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--brown-900); color: var(--on-brown); box-shadow: 0 10px 24px -18px rgba(36, 23, 11, .6); }
.hd__main :focus-visible { outline-color: var(--gold-300); }
.hd .icon-btn { color: inherit; }
.hd__main { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "menu logo tools" "search search search"; align-items: center; gap: 4px 8px; padding-block: 8px 12px; }
.hd__menu { grid-area: menu; margin-left: -10px; }
.hd__home { grid-area: logo; justify-self: center; display: block; padding: 4px; }
.hd .logo { width: 104px; background: var(--gold-300); }
.hd__tools { grid-area: tools; display: flex; margin-right: -8px; }
.tool { position: relative; display: flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center; border: 0; background: none; color: inherit; text-decoration: none; cursor: pointer; font: 500 14px/1 var(--font-sans); }
.tool__ico { position: relative; display: grid; }
.tool__txt { display: none; }
.badge-count { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--gold-300); color: var(--on-foil); font: 600 11px/18px var(--font-sans); text-align: center; }
.hd__search { grid-area: search; position: relative; display: flex; }
.hd__search input { flex: 1; min-width: 0; height: 46px; border: 1px solid transparent; border-radius: var(--radius-pill); background: var(--surface); padding: 0 52px 0 20px; font: 400 16px var(--font-sans); color: var(--ink); }
.hd__search input::placeholder { color: var(--ink-muted); }
.hd__search input:focus { outline: 2px solid var(--gold-300); outline-offset: 1px; background: #fff; }
.hd__search > button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--dn-foil); color: var(--on-foil); cursor: pointer; }
.hd__search > button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cats { display: none; }
@media (min-width: 960px) {
  .hd__main { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search tools"; gap: var(--space-7); padding-block: 14px; }
  .hd__menu { display: none; }
  .hd__home { justify-self: start; }
  .hd .logo { width: 138px; }
  .hd__search { max-width: 620px; width: 100%; justify-self: center; }
  .hd__tools { gap: var(--space-4); margin: 0; }
  .tool__txt { display: inline; }
  .cats { display: block; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
  .cats .wrap { display: flex; justify-content: center; gap: var(--space-6); }
  .cats a { position: relative; padding: 14px 0; font: 500 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; }
  .cats a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: transform var(--dur-fast) var(--ease-soft); }
  .cats a:hover::after, .cats a[aria-current="page"]::after { transform: scaleX(1); }
  .cats a.is-hot { color: var(--gold-text); }
}

/* Sugestões da busca */
.suggest { color: var(--ink); position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: 6px; }
.suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; text-decoration: none; font-size: 15px; }
.suggest li a:hover, .suggest li a:focus-visible { background: var(--sand-100); }
.suggest__img { display: grid; place-items: center; width: 48px; height: 48px; background: var(--sand-100); }
.suggest__img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.suggest__img .is-symbol { width: 22px; }
.suggest b { display: block; font-weight: 500; }
.suggest small { color: var(--ink-muted); font-size: 13px; }
.suggest .suggest__all { display: block; text-align: center; padding: 12px; border-top: 1px solid var(--line); margin-top: 4px; font-weight: 500; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.suggest__none { padding: 14px; color: var(--ink-muted); }

/* ---------- Vitrine principal (carrossel): foto de ponta a ponta sobre marrom ---------- */
.hero { position: relative; background: var(--brown-900); color: var(--on-brown); }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: grid; align-content: start; }
.hero__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.hero__slide .wrap { position: relative; display: grid; padding-block: 0 var(--space-8); margin-top: calc(var(--space-5) * -1); text-align: center; justify-items: center; }
.hero__txt { display: grid; gap: var(--space-3); justify-items: center; }
.hero .dn-label { color: var(--gold-300); }
.hero__tit { font: 400 clamp(30px, 4.4vw, 56px)/1.08 var(--font-display); text-wrap: balance; }
.hero__txt > p:not(.dn-label) { color: rgba(246, 235, 220, .84); font-size: 17px; text-wrap: pretty; }
.hero__txt .dn-btn { margin-top: var(--space-3); justify-content: space-between; min-width: 250px; }
.hero :focus-visible { outline-color: var(--gold-300); }
.hero__nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); }
.hero__nav--prev { left: max(12px, calc((100% - var(--container)) / 2 - 68px)); }
.hero__nav--next { right: max(12px, calc((100% - var(--container)) / 2 - 68px)); }
.hero__dots { display: flex !important; position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; }
.hero__dots button { background: rgba(246, 235, 220, .4); }
.hero__dots button[aria-current="true"] { background: var(--gold-300); }
@media (min-width: 860px) {
  /* Desktop: a cena estendida (arquivos *-larga.webp) ocupa o banner inteiro, com o produto à direita.
     O texto fica sobre um véu marrom largo e suave, sem emenda entre foto e fundo. */
  .hero__slide { min-height: clamp(440px, 37vw, 720px); align-content: center; }
  .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 60%; -webkit-mask-image: none; mask-image: none; }
  /* Véu de leitura: curva suave em muitos passos, sem faixa marcada. */
  .hero__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(47, 29, 11, 0.86) 0%, rgba(47, 29, 11, 0.84) 14%, rgba(47, 29, 11, 0.77) 26%, rgba(47, 29, 11, 0.64) 36%, rgba(47, 29, 11, 0.48) 44%, rgba(47, 29, 11, 0.33) 51%, rgba(47, 29, 11, 0.2) 58%, rgba(47, 29, 11, 0.11) 65%, rgba(47, 29, 11, 0.05) 72%, rgba(47, 29, 11, 0.015) 80%, rgba(47, 29, 11, 0) 88%); }
  .hero__txt { text-shadow: 0 1px 22px rgba(36, 23, 11, .5); }
  .hero__txt .dn-btn { text-shadow: none; }
  .hero__slide .wrap { z-index: 1; }
  .hero__slide .wrap { width: min(var(--container) - 120px, 100% - 160px); margin-top: 0; padding-block: var(--space-7); text-align: left; justify-items: start; }
  .hero__txt { justify-items: start; gap: var(--space-4); max-width: min(46%, 520px); }
  .hero__txt > p:not(.dn-label) { font-size: 19px; }
  .hero__nav { display: grid; }
}

/* ---------- Vantagens ---------- */
.benef { background: var(--surface); border-bottom: 1px solid var(--line); }
.benef ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-3); padding-block: var(--space-4); }
.benef li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.benef svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--gold-700); stroke-width: 1.3; stroke-linejoin: round; }
.benef b { display: block; font: 500 14px/1.25 var(--font-sans); }
.benef span { display: block; font-size: 12.5px; line-height: 1.3; color: var(--ink-muted); }
@media (min-width: 860px) { .benef ul { grid-template-columns: repeat(4, 1fr); padding-block: var(--space-5); } .benef li { justify-content: center; gap: 14px; } .benef b { font-size: 15px; } .benef span { font-size: 13.5px; } .benef svg { width: 30px; height: 30px; } }

/* ---------- Seções e prateleiras ---------- */
.sec { padding: var(--space-7) 0 0; }
.sec--tight { padding-top: var(--space-6); }
.sec__hd { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.sec__hd h2 { font: 400 clamp(24px, 3vw, 34px)/1.15 var(--font-display); margin-right: auto; text-wrap: balance; }
.sec__all { font: 500 13px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); text-underline-offset: 4px; white-space: nowrap; padding: 12px 0; }
.sec__arrows { display: none; gap: 8px; }
@media (min-width: 860px) { .sec__arrows { display: flex; } }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px var(--gutter) 6px; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); }
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; }
@media (min-width: 700px) { .shelf { grid-auto-columns: calc((100% - 2 * var(--space-4)) / 3); gap: var(--space-4); } }
@media (min-width: 1100px) { .shelf { grid-auto-columns: calc((100% - 3 * var(--space-5)) / 4); gap: var(--space-5); padding-inline: 2px; margin-inline: -2px; scroll-padding-inline: 2px; } }

/* Categorias em blocos de cor (a cor vem do rótulo do produto que representa a linha) */
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.block { --c: var(--cut-md); position: relative; isolation: isolate; display: grid; align-content: start; gap: 2px; min-height: 168px; padding: var(--space-4); overflow: hidden; text-decoration: none; color: var(--ink); clip-path: var(--dn-chamfer); background: linear-gradient(160deg, color-mix(in srgb, var(--cor) 38%, #fff), color-mix(in srgb, var(--cor) 72%, #fff)); }
.block b { font: 400 21px/1.15 var(--font-display); max-width: 62%; text-wrap: balance; }
.block span { font: 500 11.5px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.block img { position: absolute; z-index: -1; right: 8%; bottom: -8%; height: 78%; width: auto; max-width: 46%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 12px rgba(36, 23, 11, .22)); transform: rotate(6deg); transform-origin: bottom center; transition: transform 600ms var(--ease-soft); }
.block:hover img { transform: rotate(0deg) translateY(-6px) scale(1.04); }
.block:focus-visible { outline-offset: -4px; }
@media (min-width: 700px) { .blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } .block { min-height: 190px; padding: var(--space-5); } .block b { font-size: 26px; } }
@media (min-width: 1100px) { .blocks { grid-template-columns: repeat(6, minmax(0, 1fr)); } .block { min-height: 230px; padding: var(--space-4) var(--space-4) 0; } .block b { font-size: 22px; max-width: none; } .block img { right: 50%; transform: translateX(50%); height: 62%; max-width: 70%; bottom: -6%; } .block:hover img { transform: translateX(50%) translateY(-8px) scale(1.04); } }

/* ---------- Cartão de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
.pc { position: relative; min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: box-shadow var(--dur-fast), border-color var(--dur-fast); }
.pc:hover { border-color: var(--gold-500); box-shadow: var(--shadow-card); }
.pc__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: radial-gradient(75% 65% at 50% 40%, color-mix(in srgb, var(--cor, #efd3b4) 10%, #fff), color-mix(in srgb, var(--cor, #efd3b4) 40%, #fff)); overflow: hidden; }
.pc__media > img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(63, 38, 13, .14)); transition: transform 600ms var(--ease-soft); }
.pc__media > img.is-cover, .pdp__media > img.is-cover { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pc:hover .pc__media > img { transform: scale(1.05); }
.pc__tag { position: absolute; top: 10px; left: 10px; background: var(--brown-900); color: var(--on-brown); font: 500 10.5px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; }
.pc__fav, .pdp__fav { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink-muted); cursor: pointer; }
.pc__fav { position: absolute; top: 2px; right: 2px; z-index: 2; }
.pc__fav svg, .pdp__fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: transform var(--dur-fast) var(--ease-soft); }
.pc__fav:hover svg, .pdp__fav:hover svg { transform: scale(1.12); }
[data-fav][aria-pressed="true"] { color: var(--gold-700); }
[data-fav][aria-pressed="true"] svg { fill: currentColor; }
.pc__body { flex: 1; display: grid; align-content: start; gap: 3px; padding: 12px 12px 10px; }
.pc__line { font: 500 10.5px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.pc__name { font: 500 15px/1.3 var(--font-sans); min-height: 2.6em; }
.pc__name a { text-decoration: none; }
.pc__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc__meta { font-size: 13px; color: var(--ink-muted); }
.pc__price { font: 400 22px/1.2 var(--font-display); margin-top: 4px; }
.pc__buy { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 12px 12px; min-height: 44px; padding: 0 14px; border: 0; background: var(--brown-900); color: var(--on-brown); font: 500 12.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background var(--dur-fast); }
.pc__buy:hover { background: var(--dn-foil); color: var(--on-foil); }
.pc__buy:focus-visible { outline-offset: -3px; outline-color: var(--gold-300); }
.pc__buy svg, .dn-btn > svg:not(.dn-arrow) { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
@media (min-width: 700px) { .pc__body { padding: 16px 16px 12px; } .pc__buy { margin: 0 16px 16px; } .pc__name { font-size: 16px; } }

/* Sem foto ainda e kits */
.ph { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--ink-muted); font: 500 10.5px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.ph img { width: 40px; opacity: .85; }
.stack { position: absolute; inset: 10%; display: flex; align-items: flex-end; justify-content: center; }
.stack img { height: 82%; width: auto; max-width: 46%; object-fit: contain; margin-inline: -5%; filter: drop-shadow(0 10px 10px rgba(63, 38, 13, .14)); }
.stack img:nth-child(2) { height: 94%; z-index: 1; }

/* ---------- Banners ---------- */
.banners { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .banners { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.banner { --c: var(--cut-md); position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; clip-path: var(--dn-chamfer); background: var(--sand-200); color: var(--ink); overflow: hidden; }
.banner > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.banner:hover > img { transform: scale(1.03); }
.banner__txt { display: grid; align-content: center; gap: 6px; padding: var(--space-5); text-align: center; justify-items: center; }
.banner__rot { font: 500 11.5px/1.3 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.banner b { font: 400 clamp(24px, 2.6vw, 32px)/1.15 var(--font-display); text-wrap: balance; }
.banner__cta { display: inline-flex; align-items: center; gap: 12px; margin-top: var(--space-3); font: 500 13px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 8px; }
.banner__cta .dn-arrow { width: 22px; height: 10px; transition: transform var(--dur-fast) var(--ease-soft); }
.banner:hover .dn-arrow { transform: translateX(5px); }
.banner--foto { background: color-mix(in srgb, var(--cor, #efd3b4) 42%, var(--sand-100)); }
.banner--foto .banner__rot { color: var(--ink); }
.banner--escuro { background: var(--brown-900); color: var(--on-brown); }
.banner--facial > img { object-position: 50% 62%; }
@media (min-width: 860px) { .banner--facial > img { object-position: 50% 50%; } }
.banner--escuro .banner__rot { color: var(--gold-300); }
.banner__prod { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 16 / 10; padding: var(--space-5) var(--space-5) 0; box-sizing: border-box; background: radial-gradient(60% 70% at 50% 60%, rgba(228, 200, 143, .28), transparent 70%); }
.banner__prod img { height: 88%; width: auto; max-width: 34%; object-fit: contain; margin-inline: -2%; }
.banner__prod img:nth-child(2) { height: 100%; z-index: 1; }
@media (min-width: 860px) {
  .banner { grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 300px; }
  .banner > img, .banner__prod { order: 2; aspect-ratio: auto; height: 100%; min-height: 300px; }
  .banner__txt { text-align: left; justify-items: start; padding: var(--space-6); }
}

/* ---------- Pessoas com os produtos ---------- */
.people { display: grid; gap: var(--space-4); }
.person { --c: var(--cut-md); display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); clip-path: var(--dn-chamfer); background: color-mix(in srgb, var(--cor, #efd3b4) 34%, var(--sand-100)); overflow: hidden; }
.person > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.person:hover > img { transform: scale(1.03); }
.person__txt { display: grid; align-content: start; gap: 8px; padding: var(--space-5); text-align: center; justify-items: center; }
.person .banner__rot { color: var(--ink); opacity: .75; }
.person b { font: 400 clamp(22px, 2vw, 26px)/1.18 var(--font-display); text-wrap: balance; }
.person__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; box-sizing: border-box; margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(47, 29, 11, .22); font: 500 13px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.person__cta .dn-arrow { flex: none; width: 22px; height: 10px; transition: transform var(--dur-fast) var(--ease-soft); }
.person:hover .dn-arrow { transform: translateX(5px); }
.person:focus-visible { outline-offset: -4px; }
@media (min-width: 860px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } .person__txt { text-align: left; justify-items: start; } }

/* ---------- Faixa de revenda ---------- */
.revenda { margin-top: var(--space-8); background: var(--brown-900); color: var(--on-brown); }
.revenda :focus-visible { outline-color: var(--gold-300); }
.revenda .wrap { display: grid; justify-items: center; text-align: center; gap: var(--space-4); padding-block: var(--space-7); }
.revenda__gem { width: 54px; }
.revenda h2 { font: 400 clamp(24px, 3vw, 34px)/1.2 var(--font-display); text-wrap: balance; }
.revenda p { color: rgba(246, 235, 220, .8); margin-top: 8px; text-wrap: pretty; }
.revenda .dn-btn { justify-content: space-between; min-width: 240px; }
@media (min-width: 860px) { .revenda .wrap { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; gap: var(--space-6); } }


/* ---------- Textura sutil nos fundos lisos ----------
   Grão fino (ruído SVG, ~9% de opacidade) + um brilho suave no alto, por cima da cor de fundo.
   Serve para o fundo não ficar chapado; não deve aparecer como desenho. */
:root { --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .12 0 0 0 0 .05 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --luz: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.person, .banner--foto { background-image: var(--grao), var(--luz); background-size: 200px 200px, 100% 100%; }
.banner--escuro, .revenda { background-image: var(--grao), radial-gradient(110% 90% at 85% 10%, rgba(228, 200, 143, .14), transparent 60%); background-size: 200px 200px, 100% 100%; }
.block { background-image: var(--grao), var(--luz), linear-gradient(160deg, color-mix(in srgb, var(--cor) 38%, #fff), color-mix(in srgb, var(--cor) 72%, #fff)); background-size: 200px 200px, 100% 100%, 100% 100%; }

/* ---------- Listagem ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-muted); padding: var(--space-4) 0; }
.crumbs a { text-underline-offset: 3px; }
.plp { padding-bottom: var(--space-8); }
.plp__hd { padding-bottom: var(--space-4); }
.plp__hd h1 { font: 400 clamp(28px, 4vw, 42px)/1.15 var(--font-display); text-wrap: balance; }
.plp__hd p { color: var(--ink-muted); margin-top: 4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter) var(--space-4); margin-inline: calc(var(--gutter) * -1); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: 500 13.5px/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--gold-500); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--brown-900); border-color: var(--brown-900); color: var(--on-brown); }
.plp__cols { display: grid; gap: var(--space-4); }
.side h2, .side__list { display: none; }
.side__price { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.side__price legend { padding: 0; font: 500 12px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.side__price label { position: relative; cursor: pointer; }
.side__price input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.side__price span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-size: 13.5px; white-space: nowrap; }
.side__price input:checked + span { border-color: var(--brown-900); box-shadow: inset 0 0 0 1px var(--brown-900); font-weight: 500; }
.side__price input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.plp__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
.sortbox { display: flex; align-items: center; gap: 8px; }
.sortbox span { display: none; }
.sortbox select { height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 400 15px var(--font-sans); }
@media (min-width: 960px) {
  .plp .chips { display: none; }
  .plp__cols { grid-template-columns: 232px minmax(0, 1fr); gap: var(--space-7); align-items: start; }
  .side { position: sticky; top: 150px; }
  .side h2 { display: block; font: 500 12px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
  .side__list { display: grid; margin-bottom: var(--space-6); }
  .side__list a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
  .side__list a:hover { color: var(--gold-text); }
  .side__list a[aria-current="page"] { font-weight: 600; color: var(--gold-text); }
  .side__list i { font-style: normal; color: var(--ink-muted); font-size: 13px; font-weight: 400; }
  .side__price { display: grid; gap: 2px; }
  .side__price span { border: 0; background: none; padding: 0 0 0 28px; min-height: 36px; font-size: 15px; position: relative; }
  .side__price span::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -9px; border: 1px solid var(--ink-muted); border-radius: 50%; background: var(--surface); }
  .side__price input:checked + span { box-shadow: none; }
  .side__price input:checked + span::before { border-color: var(--brown-900); box-shadow: inset 0 0 0 4px var(--surface); background: var(--brown-900); }
  .sortbox span { display: inline; }
}
.empty { display: grid; justify-items: center; gap: var(--space-4); text-align: center; padding: var(--space-8) var(--space-4); color: var(--ink-muted); }
.empty img { width: 48px; opacity: .8; }
.empty h1 { font: 400 30px/1.2 var(--font-display); color: var(--ink); }
.empty p { max-width: 30rem; text-wrap: balance; }

/* ---------- Página de produto ---------- */
.pdp__grid { display: grid; gap: var(--space-5); }
.pdp__grid > * { min-width: 0; }
/* No celular a compra fica na barra fixa; aqui ficam só quantidade e favorito. */
@media (max-width: 859px) { .pdp__buy .dn-btn { display: none; } .pdp__buy { justify-content: space-between; } }
.pdp__gal { display: grid; gap: var(--space-3); min-width: 0; }
.pdp__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: radial-gradient(75% 65% at 50% 40%, color-mix(in srgb, var(--cor, #efd3b4) 10%, #fff), color-mix(in srgb, var(--cor, #efd3b4) 40%, #fff)); overflow: hidden; transition: background var(--dur-fast); }
.pdp__media > img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(63, 38, 13, .16)); }
.pdp__thumbs { display: flex; gap: 8px; order: 2; }
.pdp__thumbs button { width: 64px; height: 64px; padding: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.pdp__thumbs button[aria-pressed="true"] { border-color: var(--brown-900); box-shadow: inset 0 0 0 1px var(--brown-900); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__info h1 { font: 400 clamp(28px, 3.6vw, 40px)/1.15 var(--font-display); margin-top: 6px; text-wrap: balance; }
.pdp__price { font: 400 38px/1 var(--font-display); margin-top: var(--space-4); }
.pdp__price small { display: block; font: 400 13px/1.5 var(--font-sans); color: var(--ink-muted); margin-top: 6px; }
.field { margin: var(--space-5) 0 0; border: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; font: 500 14px/1.3 var(--font-sans); margin-bottom: 10px; color: var(--ink-muted); }
.field legend b { font-weight: 500; color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.qty button { width: 44px; height: 54px; border: 0; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.qty output { min-width: 32px; text-align: center; font-weight: 500; }
.qty--sm button { height: 40px; width: 40px; }
.pdp__buy { display: flex; align-items: center; gap: 10px; margin-top: var(--space-5); }
.pdp__buy .dn-btn { flex: 1; justify-content: space-between; padding-inline: 24px; }
.pdp__fav { flex: none; width: 56px; height: 56px; border: 1px solid var(--line); background: var(--surface); }
.pdp__perks { display: grid; gap: 10px; margin-top: var(--space-5); padding: var(--space-4); background: var(--sand-200); font-size: 14.5px; }
.pdp__perks li { display: flex; align-items: center; gap: 12px; }
.pdp__perks svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-700); stroke-width: 1.4; stroke-linejoin: round; }
.pdp__acc { margin-top: var(--space-5); }
.pdp__acc summary { font-size: 16px; padding: 16px 0; }
.pdp__acc p, .pdp__acc ul { padding-bottom: 18px; }
.pdp__list { display: grid; gap: 8px; color: var(--ink-muted); }
.pdp__list a { text-underline-offset: 3px; }
@media (min-width: 860px) {
  .pdp__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-7); align-items: start; }
  .pdp__gal { position: sticky; top: 150px; grid-template-columns: auto 1fr; }
  .pdp__thumbs { order: 0; flex-direction: column; }
  .pdp__gal > .pdp__media:only-child { grid-column: 1 / -1; }
}
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -12px 24px -20px rgba(63, 38, 13, .4); }
.buybar .pc__price { margin: 0; white-space: nowrap; }
.buybar .dn-btn { flex: 1; min-height: 52px; justify-content: space-between; padding: 0 16px; font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
body.has-buybar { padding-bottom: 76px; }
@media (min-width: 860px) { .buybar { display: none; } body.has-buybar { padding-bottom: 0; } }

/* ---------- Gavetas (menu e sacola) ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(36, 23, 11, .42); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 92%); display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-lift); animation: drawer-in 400ms var(--ease-soft); }
.drawer--left .drawer__panel { right: auto; left: 0; width: min(340px, 86%); animation-name: drawer-in-left; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes drawer-in-left { from { transform: translateX(-40px); opacity: 0; } }
.drawer__hd { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__hd h2 { font: 400 24px/1.2 var(--font-display); }
.drawer__hd .logo { width: 104px; }
.drawer__nav { display: grid; padding: var(--space-3) var(--gutter); overflow-y: auto; }
.drawer__nav a { padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 16px/1.2 var(--font-sans); }
.drawer__nav a[aria-current="page"], .drawer__nav a.is-hot { color: var(--gold-text); }
.drawer__nav .drawer__extra { border: 0; margin-top: var(--space-4); color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }
.bag__items { flex: 1; overflow-y: auto; padding: var(--space-4) var(--gutter); display: grid; gap: var(--space-4); align-content: start; }
.bag__item { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-3); align-items: start; padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.bag__thumb { display: grid; place-items: center; width: 76px; height: 92px; background: var(--sand-100); }
.bag__thumb img { max-width: 78%; max-height: 82%; object-fit: contain; }
.bag__thumb .is-symbol { width: 28px; }
.bag__name { font: 500 15.5px/1.3 var(--font-sans); }
.bag__var { font-size: 13px; color: var(--ink-muted); margin: 2px 0 8px; }
.bag__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bag__price { font: 400 20px/1 var(--font-display); }
.bag__remove { border: 0; background: none; padding: 0; color: var(--ink-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 40px; }
.bag__ft { padding: var(--space-4) var(--gutter) calc(var(--space-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--sand-100); }
.codigo { margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.codigo label { display: block; font: 500 14px/1.3 var(--font-sans); margin-bottom: 8px; }
.codigo label span { font-weight: 400; color: var(--ink-muted); }
.codigo__row { display: flex; gap: 8px; }
.codigo input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 400 16px var(--font-sans); }
.codigo input:focus { outline: 2px solid var(--focus-ring); outline-offset: 0; }
.codigo button { flex: none; height: 46px; padding: 0 18px; border: 1px solid var(--brown-900); background: none; color: var(--ink); font: 500 13px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.codigo button:hover { background: var(--brown-900); color: var(--on-brown); }
.bag__ft > .codigo .codigo__msg { margin: 8px 0 0; font-size: 13px; color: var(--ink); min-height: 0; }
.codigo__msg:empty { display: none; }
.codigo__msg.is-ok { color: var(--gold-text); font-weight: 500; }
.bag__sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.bag__sum b { font: 400 28px/1 var(--font-display); }
.bag__ft > p:not(.notice) { font-size: 13px; color: var(--ink-muted); margin-bottom: var(--space-4); }
.bag__keep { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: none; color: var(--ink); font: 500 13px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.notice { margin-top: var(--space-3); padding: 12px 14px; background: var(--sand-200); font-size: 14px; color: var(--ink); }

/* Aviso rápido */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%); background: var(--brown-900); color: var(--on-brown); padding: 12px 18px; font-size: 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lift); animation: toast 2.6s var(--ease-soft) both; white-space: nowrap; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px); } 12%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
@media (min-width: 860px) { .toast { bottom: 32px; } }

/* ---------- Rodapé ---------- */
.ft { margin-top: var(--space-8); background: var(--on-foil); color: var(--on-brown); font-size: 15px; }
.revenda + .ft, main:has(> .revenda:last-child) + .ft { margin-top: 0; }
.ft__grid { display: grid; gap: var(--space-6); padding-block: var(--space-7); }
.ft .logo { background: var(--gold-300); width: 132px; }
.ft__brand p { margin-top: var(--space-4); font: 400 19px/1.3 var(--font-display); color: var(--gold-300); max-width: 16ch; }
.ft h2 { font: 500 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--space-4); }
.ft ul { display: grid; gap: 4px; }
.ft li a, .ft__bag { display: inline-block; padding: 7px 0; color: inherit; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.ft li a:hover, .ft__bag:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft :focus-visible { outline-color: var(--gold-300); }
.ft__small { margin-top: var(--space-3); font-size: 13.5px; opacity: .8; max-width: 28ch; }
.ft__base { border-top: 1px solid rgba(246, 235, 220, .18); font-size: 13px; }
.ft__base .wrap { display: grid; gap: 6px; padding-block: var(--space-4); opacity: .85; }
@media (min-width: 860px) { .ft__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } .ft__base .wrap { display: flex; justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .toast { animation: none; }
  html { scroll-behavior: auto; }
}
