/* =========================================================
   KL Stylos — prévia do site
   ========================================================= */

:root {
  --ink: #101010;
  --graphite: #191919;
  --graphite-2: #222222;
  --paper: #F4F2EC;
  --sand: #E5DFD5;
  --silver: #B9BAC0;
  --line-light: #D7D2C9;
  --line-dark: rgba(185, 186, 192, .22);
  --mute-light: #5A5650;
  --mute-dark: #BCB8B0;
  --white: #FBFAF7;

  --f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-text: "Inter", Arial, sans-serif;

  --hd-h: 72px;
  --gutter: clamp(18px, 4.6vw, 72px);
  --max: 1360px;
  --radius: 4px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --sec: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 2px; }
.shop :focus-visible, .cats :focus-visible, .dlg--product :focus-visible, .drawer :focus-visible, .sheet :focus-visible, .cta-band :focus-visible { outline-color: var(--ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius);
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Tipos ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute-light);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--mute-dark); }

.h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 68px); line-height: .92; letter-spacing: -.005em;
  margin-top: 12px;
}
.h2--light { color: var(--white); }
.line { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.1em; }
.line > span { display: block; }

/* ---------- Botões ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: scaleY(1); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light::after { background: var(--white); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::after { background: #2b2b2b; }
.btn--ghost { background: transparent; border-color: var(--line-light); color: var(--ink); }
.btn--ghost::after { background: var(--sand); }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"]::after, .btn:disabled::after { display: none; }

.link-u {
  font-size: 14px; font-weight: 500; text-decoration: none; position: relative; padding: 6px 0;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .4s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(0); }
.link-u--light { color: var(--paper); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 50%;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.icon-btn:hover { background: rgba(127,127,127,.14); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--box { border: 1px solid var(--line-light); border-radius: var(--radius); width: 52px; height: 52px; }

.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--paper); color: var(--ink);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.badge--fav { background: var(--silver); }

.tag {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--line-light); border-radius: 2px; color: var(--mute-light);
  vertical-align: middle;
}

/* =========================================================
   CABEÇALHO
   ========================================================= */
.hd {
  position: sticky; top: 0; z-index: 50;
  height: var(--hd-h);
  background: rgba(16,16,16,.92);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), background-color .3s, border-color .3s;
}
.hd.is-scrolled { background: var(--graphite); border-color: var(--line-dark); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__inner {
  height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 calc(var(--gutter) - 10px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
}
.hd__menu { display: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 4px 6px; }
.brand img { width: 44px; height: 44px; }
.brand span {
  font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(180deg, #f3f3f4 0%, var(--silver) 60%, #8d8e93 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hd__nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); }
.hd__nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--mute-dark); padding: 10px 0; position: relative; transition: color .2s;
}
.hd__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--silver);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.hd__nav a:hover, .hd__nav a.is-current { color: var(--paper); }
.hd__nav a:hover::after, .hd__nav a.is-current::after { transform: scaleX(1); }
.hd__actions { display: flex; align-items: center; gap: 2px; }
.bag-btn.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.22); } 60% { transform: scale(.94); } }

.hd__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hd__progress span { display: block; height: 100%; background: linear-gradient(90deg, #7d7e83, var(--silver), #f1f1f2); transform: scaleX(0); transform-origin: left; }

[id] { scroll-margin-top: calc(var(--hd-h) + 12px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; background: var(--ink); color: var(--paper);
  height: min(calc(100svh - var(--hd-h)), 56.25vw, 980px);
  min-height: 560px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img-wrap { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 0%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.45) 38%, rgba(10,10,10,0) 60%),
    linear-gradient(0deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,0) 30%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.hero__content > * { max-width: 520px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(68px, 8.4vw, 124px); line-height: .86; letter-spacing: -.01em;
}
.hero__title .line:last-child > span {
  padding-bottom: .14em; margin-bottom: -.14em;
  background: linear-gradient(180deg, #ffffff 10%, var(--silver) 70%, #9a9ba0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--mute-dark); }
.hero__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 6px; }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-dark); text-decoration: none;
}
.hero__scroll i { width: 1px; height: 42px; background: rgba(185,186,192,.3); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--paper);
  animation: drip 1.8s var(--ease-out) infinite;
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 16px 0;
}
.marquee__track { display: inline-flex; align-items: center; gap: 28px; will-change: transform; }
.marquee span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px);
  text-transform: uppercase; letter-spacing: .06em;
}
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--silver); }
.marquee b { color: var(--silver); font-weight: 400; font-size: 14px; }

/* =========================================================
   CATEGORIAS
   ========================================================= */
.cats { padding: clamp(40px, 6vw, 72px) 0 0; background: var(--paper); }
.cats__line { height: 1px; background: var(--line-light); margin-top: 18px; transform-origin: left; }
.cats__grid { display: grid; grid-template-columns: 1fr 1fr; }
.cat {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 2.4vw, 28px) 0; text-decoration: none; position: relative;
  border-bottom: 1px solid var(--line-light);
}
.cat + .cat { border-left: 1px solid var(--line-light); padding-left: clamp(16px, 3vw, 40px); }
.cat__thumb { width: clamp(64px, 7vw, 96px); aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; background: var(--sand); flex: none; }
.cat__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cat__num { font-size: 12px; color: var(--mute-light); letter-spacing: .1em; }
.cat__name {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 60px); line-height: .95;
  transition: letter-spacing .5s var(--ease-out);
}
.cat__arrow { width: 28px; height: 28px; margin-right: clamp(0px, 2vw, 24px); transition: transform .35s var(--ease-out); }
.cat:hover .cat__thumb img { transform: scale(1.08); }
.cat:hover .cat__arrow { transform: translateX(6px) rotate(-45deg); }
.cat:hover .cat__name { letter-spacing: .02em; }

/* =========================================================
   VITRINE
   ========================================================= */
.shop { padding: var(--sec) 0; background: var(--paper); position: relative; }
.shop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-light); background: transparent; border-radius: 40px;
  padding: 10px 18px; min-height: 44px; font-size: 13px; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip sup { font-size: 10px; color: var(--mute-light); margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-active sup { color: var(--silver); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); border-radius: 2px; }
.card__img-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: none; }
.card__img-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card__tag {
  position: absolute; top: 14px; left: 14px; pointer-events: none;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(244,242,236,.88); padding: 5px 9px; border-radius: 2px;
}
.card__fav { position: absolute; top: 6px; right: 6px; color: var(--ink); }
.card__fav svg, #pd-fav svg { transition: fill .25s, transform .3s var(--ease-out); }
.card__fav[aria-pressed="true"] svg, #pd-fav[aria-pressed="true"] svg { fill: var(--ink); }
.card__fav.is-pop svg { animation: pop .45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.35); } }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 0; border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transform: translateY(calc(100% + 16px)); transition: transform .45s var(--ease-out);
}
.card__quick svg { width: 16px; height: 16px; }
.card__body { padding-top: 16px; display: grid; gap: 4px; }
.card__name { font-size: 17px; font-weight: 600; letter-spacing: -.005em; }
.card__color { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute-light); }
.card__color i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.card__price { font-size: 13px; color: var(--mute-light); font-style: italic; }
.card__cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 10px 0; min-height: 44px; border: 0; background: none;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}
.card__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img-btn img { transform: scale(1.035); }
  .card:hover .card__quick { transform: translateY(0); }
  .card:hover .card__cta svg, .card__cta:hover svg { transform: translateX(3px); }
}
@media (hover: none), (pointer: coarse) {
  .card__img-btn { cursor: pointer; }
  .card__quick { display: none; }
  .card__img-btn:active img { transform: scale(.985); }
}

/* cursor customizado */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: grid; place-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transform: scale(0); opacity: 0;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   EDITORIAL
   ========================================================= */
.editorial { background: var(--graphite); color: var(--paper); }
.editorial__pin { min-height: 100svh; display: flex; align-items: center; padding: var(--sec) 0; }
.editorial__inner {
  width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center;
}
.editorial__media { grid-column: 1 / span 7; margin: 0; }
.editorial__mask { overflow: hidden; border-radius: 2px; aspect-ratio: 16/10; }
.editorial__mask img { width: 100%; height: 100%; object-fit: cover; }
.editorial__text { grid-column: 9 / span 4; display: grid; gap: 20px; justify-items: start; }
.editorial__lead { color: var(--mute-dark); font-size: 17px; max-width: 34ch; }
.editorial__stripes { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.editorial__stripes li { display: flex; align-items: center; gap: 0; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.editorial__stripes i { width: 22px; height: 10px; background: var(--s); }
.editorial__stripes span { margin-left: 14px; font-size: 14px; color: var(--mute-dark); }

/* =========================================================
   CHAMADA
   ========================================================= */
.cta-band { background: var(--sand); padding: clamp(56px, 8vw, 104px) 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.cta-band__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 6vw, 84px); line-height: .9;
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.ft { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 calc(24px + env(safe-area-inset-bottom)); overflow: hidden; }
.ft__top { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 40px; }
.ft__brand { display: flex; gap: 20px; align-items: center; }
.ft__brand img { width: 96px; height: 96px; }
.ft__name { font-family: var(--f-display); font-weight: 800; font-size: 34px; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.ft__handle { display: flex; align-items: center; gap: 6px; color: var(--mute-dark); margin-top: 8px; font-size: 15px; }
.ft__handle svg { width: 18px; height: 18px; }
.ft__h { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); margin-bottom: 18px; }
.ft__col { display: flex; flex-direction: column; align-items: flex-start; }
.ft__col a { text-decoration: none; color: var(--mute-dark); padding: 7px 0; transition: color .2s, transform .3s var(--ease-out); }
.ft__col a:hover { color: var(--paper); transform: translateX(4px); }
.ft__contact { display: flex; gap: 14px; margin-bottom: 18px; font-size: 15px; }
.ft__contact svg { margin-top: 2px; color: var(--silver); }
.ft__contact small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-dark); }
.ft__giant {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .8;
  font-size: clamp(72px, 19vw, 290px); letter-spacing: -.01em; white-space: nowrap; text-align: center;
  margin: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, #2c2c2e 0%, #18181a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(185,186,192,.18);
}
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 20px; font-size: 13px; color: var(--mute-dark); }
.ft__note { font-size: 12px; opacity: .75; }
.ft__up { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.ft__up svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.ft__up:hover svg { transform: translateY(-3px); }

/* =========================================================
   DIALOGS (base compartilhada)
   ========================================================= */
.dlg {
  padding: 0; border: 0; margin: 0; max-width: none; max-height: none;
  background: transparent; color: var(--ink); overflow: visible;
}
.dlg::backdrop { background: rgba(10,10,10,0); transition: background-color .2s ease; }
.dlg.is-open::backdrop { background: rgba(10,10,10,.55); }
.dlg:focus { outline: none; }

/* ficha rápida */
.dlg--product { inset: 0; width: 100%; height: 100%; display: none; place-items: center; }
.dlg--product[open] { display: grid; }
.pd {
  position: relative; width: min(1040px, calc(100vw - 48px)); max-height: calc(100svh - 48px);
  background: var(--paper); border-radius: var(--radius);
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  transform: translateY(24px) scale(.98); opacity: 0;
  transition: transform .34s var(--ease-out), opacity .24s ease;
}
.dlg--product.is-open .pd { transform: none; opacity: 1; }
.pd__media { background: var(--sand); min-height: 0; }
.pd__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.pd__info { padding: clamp(24px, 3.4vw, 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.pd__name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 4vw, 54px); line-height: .92; }
.pd__price { font-size: 15px; color: var(--mute-light); display: flex; gap: 10px; align-items: center; }
.pd__desc { color: var(--mute-light); font-size: 15px; }
.pd__row { display: flex; gap: 10px; align-items: baseline; font-size: 14px; padding: 0; }
.pd__label { font-weight: 600; }
.pd__val { color: var(--mute-light); }
.pd__swatch { display: flex; gap: 8px; }
.pd__swatch i { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px var(--paper), 0 0 0 2px var(--ink); background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); }
.dlg__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(244,242,236,.9); }

.sizes { border: 0; margin: 4px 0 0; padding: 0; }
.sizes legend { margin-bottom: 10px; }
.sizes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes__grid span {
  display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line-light); border-radius: var(--radius);
  font-weight: 600; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sizes.is-shake .sizes__grid { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.pd__buy { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; margin-top: 6px; }
.pd__buy .btn { padding: 0 16px; white-space: nowrap; letter-spacing: .02em; }
.pd__hint { font-size: 13px; min-height: 1.4em; color: var(--mute-light); }
.pd__hint.is-error { color: #9b2c22; }
.pd__notes { list-style: none; padding: 16px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 6px; font-size: 13px; color: var(--mute-light); }
.pd__notes li::before { content: "—"; margin-right: 8px; color: var(--silver); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-light); border-radius: var(--radius); height: 52px; }
.qty__btn { width: 40px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.qty__btn svg { width: 16px; height: 16px; }
.qty__btn:hover { background: var(--sand); }
.qty output { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--sm { height: 38px; }
.qty--sm .qty__btn { width: 34px; }

/* gaveta da sacola */
.dlg--drawer { inset: 0 0 0 auto; height: 100%; width: min(440px, 100vw); }
.dlg--drawer[open] { display: block; }
.drawer {
  height: 100%; background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .34s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.dlg--drawer.is-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line-light); }
.drawer__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(23px, 6.4vw, 28px); line-height: 1; flex: 1; white-space: nowrap; }
.drawer__title span { color: var(--mute-light); font-weight: 600; }
.drawer__back { margin-left: -12px; }

.steps { list-style: none; margin: 0; padding: 14px 24px; display: flex; gap: 6px; border-bottom: 1px solid var(--line-light); counter-reset: none; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-light); position: relative; }
.steps li::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.steps li:last-child::after { display: none; }
.steps b { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; font-size: 11px; transition: background-color .3s, color .3s, border-color .3s; }
.steps li.is-active { color: var(--ink); }
.steps li.is-active b, .steps li.is-done b { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.cart-list, .review-list { list-style: none; margin: 0; padding: 0; }
.ci { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.ci.is-new { animation: flash 1.4s var(--ease-out); }
@keyframes flash { from { background: rgba(185,186,192,.35); } }
.ci__img { width: 84px; aspect-ratio: 4/5; background: var(--sand); border-radius: 2px; overflow: hidden; }
.ci__img img { width: 100%; height: 100%; object-fit: cover; }
.ci__name { font-weight: 600; font-size: 15px; }
.ci__meta { font-size: 13px; color: var(--mute-light); }
.ci__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.ci__rm { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; font-size: 12px; color: var(--mute-light); min-height: 38px; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
.ci__rm svg { width: 16px; height: 16px; }
.ci__rm:hover { color: var(--ink); }

.review-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-light); font-size: 14px; }
.review-list small { color: var(--mute-light); }
.step__h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-light); margin: 18px 0 8px; }
.step__p { font-size: 14px; color: var(--mute-light); margin-bottom: 14px; }
.opts { display: grid; gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt > span { display: flex; flex-direction: column; padding: 14px 16px 14px 46px; border: 1px solid var(--line-light); border-radius: var(--radius); transition: border-color .2s, background-color .2s; position: relative; }
.opt > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--mute-light); }
.opt input:checked + span { border-color: var(--ink); background: var(--white); }
.opt input:checked + span::before { border: 5px solid var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt small { color: var(--mute-light); font-size: 13px; }

.wa { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-light); }
.wa__top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--graphite); color: var(--paper); }
.wa__top img { width: 36px; height: 36px; }
.wa__top span { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.wa__top small { color: var(--mute-dark); font-size: 11.5px; }
.wa__body { background: #E9E4DA; padding: 16px; background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px); background-size: 14px 14px; }
.wa__bubble { margin-left: auto; max-width: 92%; background: #DCF3D0; border-radius: 10px 2px 10px 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; white-space: pre-line; box-shadow: 0 1px 1px rgba(0,0,0,.08); }

.cart-empty { text-align: center; padding: 56px 0; display: grid; justify-items: center; gap: 16px; color: var(--mute-light); }
.cart-empty svg { width: 48px; height: 48px; stroke-width: 1; }

.drawer__foot { border-top: 1px solid var(--line-light); padding: 18px 24px 20px; display: grid; gap: 10px; background: var(--paper); }
.sum { display: flex; justify-content: space-between; font-size: 15px; }
.sum b { font-weight: 600; }
.sum__note { font-size: 12.5px; color: var(--mute-light); margin-top: -4px; }

/* painel compartilhado */
.dlg--sheet { inset: 0 auto 0 0; height: 100%; width: min(420px, 100vw); }
.dlg--sheet[open] { display: block; }
.dlg--sheet.from-right { inset: 0 0 0 auto; }
.sheet { height: 100%; background: var(--paper); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .34s var(--ease-out); }
.dlg--sheet.from-right .sheet { transform: translateX(100%); }
.dlg--sheet.is-open .sheet { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line-light); }
.sheet__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; }
.sheet__body { flex: 1; overflow-y: auto; padding: 20px 24px 32px; overscroll-behavior: contain; }

.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a, .menu-links button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 16px 0; border: 0; border-bottom: 1px solid var(--line-light); background: none; text-align: left; text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-size: 30px; text-transform: uppercase; line-height: 1;
}
.menu-links svg { transition: transform .3s var(--ease-out); }
.menu-links a:hover svg, .menu-links button:hover svg { transform: translateX(4px); }
.menu-meta { margin-top: 28px; font-size: 14px; color: var(--mute-light); display: grid; gap: 6px; }

.search-field { display: flex; align-items: center; gap: 10px; border-bottom: 1.5px solid var(--ink); padding: 6px 0; }
.search-field input { flex: 1; border: 0; background: none; font: inherit; font-size: 20px; padding: 8px 0; outline: none; min-width: 0; }
.search-sugs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 8px; }
.results { list-style: none; margin: 12px 0 0; padding: 0; }
.res { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-light); background: none; text-align: left; }
.res img { width: 56px; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; background: var(--sand); }
.res b { display: block; font-weight: 600; font-size: 15px; }
.res small { color: var(--mute-light); font-size: 13px; }
.res mark { background: var(--sand); color: inherit; padding: 0 1px; }
.empty-note { color: var(--mute-light); font-size: 14px; padding: 18px 0; }
.preview-box { border: 1px dashed var(--line-light); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; color: var(--mute-light); font-size: 14px; }
.preview-box ul { margin: 0; padding-left: 18px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 140%); opacity: 0;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper); padding: 12px 18px 12px 12px; border-radius: 40px;
  font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: transform .4s var(--ease-out), opacity .3s;
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast img { width: 34px; height: 42px; object-fit: cover; border-radius: 4px; }
.toast svg { width: 18px; height: 18px; color: #9fd98c; }

/* elemento que voa para a sacola */
.fly { position: fixed; z-index: 70; pointer-events: none; border-radius: 4px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .editorial__media { grid-column: 1 / span 7; }
  .editorial__text { grid-column: 8 / span 5; }
}

@media (max-width: 900px) {
  :root { --hd-h: 64px; }
  .hd__nav { display: none; }
  .hd__menu { display: inline-grid; }
  .hd__inner { grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: center; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 19px; }
  .hd__actions { justify-self: end; }
  .hide-sm { display: none; }

  /* hero empilhado */
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero__media { position: relative; order: 2; inset: auto; aspect-ratio: 4/5; max-height: 78svh; width: 100%; }
  .hero__img { object-position: 92% 0%; }
  .hero__media::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(16,16,16,0) 22%); }
  .hero__content { order: 1; height: auto; padding-top: 40px; padding-bottom: 28px; gap: 16px; }
  .hero__title { font-size: clamp(52px, 15vw, 76px); }
  .hero__scroll { display: none; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .editorial__pin { min-height: 0; }
  .editorial__inner { grid-template-columns: 1fr; gap: 32px; }
  .editorial__media, .editorial__text { grid-column: 1 / -1; }

  .ft__top { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }

  .pd { grid-template-columns: 1fr; width: 100%; max-height: 100svh; height: 100%; border-radius: 0; overflow-y: auto; }
  .dlg--product { place-items: end center; }
  .pd { grid-template-rows: max-content max-content; align-content: start; }
  .pd__media { min-height: auto; }
  .pd__media img { width: 100%; height: 46svh; aspect-ratio: auto; object-fit: contain; }
  .pd__info { overflow: visible; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .cats__grid { grid-template-columns: 1fr; }
  .cat + .cat { border-left: 0; padding-left: 0; }
  .ft__top { grid-template-columns: 1fr; }
  .shop__head { align-items: flex-start; }
  .cta-band__inner { align-items: flex-start; }
}

@media (max-width: 479px) {
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .pd__buy { grid-template-columns: auto 1fr; }
  #pd-fav { display: none; }
}

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