/* =========================================================
   NEW CHARME — Loja virtual
   ========================================================= */
:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --sand: #F3EEE7;
  --ink: #1A1816;
  --ink-2: #3A3632;
  --muted: #7A736B;
  --line: #E7E1D8;
  --gold: #C9A35E;
  --gold-2: #E2BE78;
  --gold-dark: #9C7A3C;
  --black: #000000;
  /* Cores da marca: sobrescritas por loja (tema) no <head> */
  --on-gold: #111111;
  --hdr-bg: #000000;
  --hdr-ink: #FFFFFF;
  --hdr-muted: rgba(255,255,255,.75);
  --hdr-faint: rgba(255,255,255,.5);
  --hdr-line: rgba(255,255,255,.12);
  --hdr-hover: rgba(255,255,255,.08);
  --hdr-accent: #E2BE78;
  --whats: #1FA855;
  --danger: #B3403A;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(26, 24, 22, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 10px;
}
.eyebrow--gold { color: var(--gold-2); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 em, h2 em { font-style: italic; color: var(--gold-dark); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-2); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: #178f47; }
.btn--whats svg { width: 22px; height: 22px; }
.btn--text { height: 44px; color: var(--muted); letter-spacing: .1em; }
.btn--text:hover { color: var(--ink); }
.btn--block { width: 100%; }
.link { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.link:hover { color: var(--ink); }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  transition: background .2s;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Topbar ---------- */
.topbar { background: var(--sand); color: var(--ink-2); font-size: 12px; letter-spacing: .08em; overflow: hidden; }
.topbar__track { display: flex; gap: 18px; justify-content: center; align-items: center; height: 36px; white-space: nowrap; }
.topbar .dot { color: var(--gold); font-size: 8px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--hdr-bg); color: var(--hdr-ink); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 92px; }
.header__logo img { height: 70px; width: auto; max-width: 220px; object-fit: contain; }
.header__menu { display: none; }
.header .icon-btn:hover { background: var(--hdr-hover); }
.mobile-search { display: none; }
.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.search {
  flex: 1; max-width: 460px; margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px;
  border: 1px solid var(--hdr-line); border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.search:focus-within { border-color: var(--hdr-accent); background: var(--hdr-hover); }
.search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--hdr-accent); stroke-width: 1.6; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--hdr-ink); font-size: 14px; }
.search input::placeholder { color: var(--hdr-faint); }

.cart-btn { position: relative; color: var(--hdr-ink); }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 600;
  display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-btn__count.show { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } }

.nav { border-top: 1px solid var(--hdr-line); }
.nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav__inner > :first-child { margin-left: auto; }
.nav__inner > :last-child { margin-right: auto; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a {
  position: relative; padding: 14px 16px; white-space: nowrap;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--hdr-muted);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 1px;
  background: var(--hdr-accent); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--hdr-accent); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* ---------- Banners (carrossel) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.slider { position: relative; overflow: hidden; background: var(--sand); }
.slider__track { display: flex; transition: transform .8s var(--ease); }
.slide { flex: 0 0 100%; display: block; }
.slide img { width: 100%; height: auto; aspect-ratio: 2000 / 780; object-fit: cover; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px); box-shadow: 0 6px 20px -8px rgba(0,0,0,.3);
  opacity: 0; transition: opacity .3s, background .2s;
}
.slider:hover .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: #fff; }
.slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider__dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(26,24,22,.25); transition: width .35s var(--ease), background .3s; }
.slider__dots button.active { width: 28px; background: var(--gold-dark); }
.slider.vertical .slide img { aspect-ratio: 1080 / 1350; }
.slider.single .slider__arrow, .slider.single .slider__dots { display: none; }
.hero-cta { display: none; }

/* ---------- Passos ---------- */
.steps { border-block: 1px solid var(--line); background: var(--surface); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 34px 28px; border-right: 1px solid var(--line); text-align: center; }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums; }
.step h3 { font-size: 24px; margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Seções ---------- */
.section { padding: 90px 0 0; }
.section--products { padding-bottom: 100px; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head h2 { font-size: clamp(34px, 4vw, 50px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; gap: 20px; margin-bottom: 26px; }
.result-count { color: var(--muted); font-size: 14px; }

/* ---------- Categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.cat { text-align: center; cursor: pointer; }
.cat__img {
  aspect-ratio: 3 / 4; border-radius: 120px 120px 4px 4px; overflow: hidden;
  background: var(--sand); margin-bottom: 12px; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat__img svg, .cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat__img { box-shadow: var(--shadow); }
.cat:hover .cat__img svg, .cat:hover .cat__img img { transform: scale(1.06); }
.cat span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

/* ---------- Toolbar ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 0; margin-bottom: 30px; border-block: 1px solid var(--line);
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 38px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px;
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar__filters { display: flex; gap: 12px; flex: none; }
.select { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 13px; }
.select span { color: var(--muted); }
.select select { border: 0; outline: 0; background: none; font-weight: 500; cursor: pointer; }

/* ---------- Grid de produtos ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
.card { cursor: pointer; animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.card__media > svg, .card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media > svg, .card:hover .card__media > img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 10px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--surface); color: var(--ink); border-radius: 2px;
}
.badge--sale { left: auto; right: 12px; background: var(--ink); color: #fff; }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  height: 46px; background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius);
  opacity: 0; transform: translateY(10px); transition: all .35s var(--ease);
}
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick:hover { background: var(--ink); color: #fff; }
.card__body { padding-top: 14px; }
.card__cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin: 3px 0 6px; font-weight: 500; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__dots { display: flex; gap: 5px; }
.card__dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

.price { display: flex; align-items: baseline; gap: 8px; font-weight: 500; }
.price s { color: var(--muted); font-weight: 400; font-size: .88em; }
.price--lg { font-size: 22px; margin: 10px 0 26px; }

.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty .btn { margin-top: 18px; }

/* ---------- Banner ---------- */
.banner { background: var(--hdr-bg); color: var(--hdr-ink); }
.banner__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.banner h2 { font-size: clamp(36px, 4.5vw, 60px); margin-bottom: 18px; }
.banner h2 em { color: var(--hdr-accent); }
.banner p { color: var(--hdr-muted); max-width: 460px; margin-bottom: 30px; font-weight: 300; }
.banner__sizes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.banner__sizes li {
  width: 82px; height: 82px; border: 1px solid color-mix(in srgb, var(--hdr-accent) 45%, transparent); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 26px; color: var(--hdr-accent);
  transition: background .3s, color .3s;
}
.banner__sizes li:hover { background: var(--gold); color: var(--on-gold); }

/* ---------- Diferenciais ---------- */
.perks { background: var(--surface); border-bottom: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.perk { display: flex; align-items: center; gap: 14px; }
.perk svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--gold-dark); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.perk strong { display: block; font-weight: 500; font-size: 15px; }
.perk span { color: var(--muted); font-size: 13px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--hdr-bg); color: var(--hdr-muted); padding-top: 70px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 96px; width: auto; max-width: 240px; object-fit: contain; margin-bottom: 14px; }
.footer__brand p { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--hdr-accent); }
.footer h4 { color: var(--hdr-ink); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--hdr-accent); }
.footer__muted { color: var(--hdr-faint); font-size: 13px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--hdr-line); font-size: 12px; color: var(--hdr-faint); }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31,168,85,.6);
  transition: transform .25s var(--ease);
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Overlay / painéis ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(20,18,16,.45); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.overlay.show { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(340px, 86vw);
  background: var(--hdr-bg); color: var(--hdr-ink); transform: translateX(-100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--hdr-line); }
.mobile-menu__head img { height: 54px; width: auto; max-width: 180px; object-fit: contain; }
.mobile-menu nav { padding: 10px 0; overflow-y: auto; }
.mobile-menu nav a { display: flex; justify-content: space-between; padding: 16px 24px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--hdr-line); }
.mobile-menu nav a::after { content: "›"; color: var(--hdr-accent); }

/* ---------- Modal produto ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(20,18,16,.5); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; width: 100%; max-width: 1020px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--surface); border-radius: 6px; box-shadow: var(--shadow);
  transform: translateY(20px) scale(.98); transition: transform .4s var(--ease);
}
.modal.open .modal__box { transform: none; }
/* O X acompanha a rolagem da janela: fica sempre visível no canto */
.modal__close {
  position: sticky; top: 12px; z-index: 3; display: grid;
  margin: 12px 12px -56px auto; width: 44px; height: 44px;
  background: #fff; color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.modal__close svg { stroke-width: 2; }
.modal__close:hover { background: var(--sand); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pdp__media { position: relative; background: var(--sand); min-height: 100%; aspect-ratio: 3 / 4; }
.pdp__media svg, .pdp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; gap: 8px; overflow-x: auto; }
.pdp__thumbs button { position: relative; flex: none; width: 56px; aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; outline: 2px solid transparent; outline-offset: 1px; opacity: .75; transition: opacity .2s, outline-color .2s; background: #fff; }
.pdp__thumbs button.active, .pdp__thumbs button:hover { opacity: 1; outline-color: #fff; }
.pdp__thumbs img { position: static !important; width: 100%; height: 100%; object-fit: cover; }
.pdp__info { padding: 44px 40px; }
.pdp__info h2 { font-size: 40px; }
.opt { margin-bottom: 22px; }
.opt__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.opt__label strong { color: var(--ink); font-weight: 500; }
.opt__error { color: var(--danger); font-size: 13px; margin-top: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 3px;
  transition: outline-color .2s;
}
.swatch:hover { outline-color: var(--line); }
.swatch.active { outline-color: var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size {
  min-width: 50px; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size:disabled { color: #C2BBB2; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.guia { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 22px; font-size: 13px; }
.guia table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.guia th, .guia td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.guia th { font-weight: 500; color: var(--muted); }
.guia small { color: var(--muted); }

.pdp__buy { display: flex; gap: 12px; margin: 8px 0 28px; }
.pdp__buy .btn { flex: 1; min-width: 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 52px; flex: none; }
.qty button { width: 42px; height: 100%; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 26px; text-align: center; font-weight: 500; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; font-size: 16px; }
.pdp__desc { border-top: 1px solid var(--line); padding-top: 20px; }
.pdp__desc h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.pdp__desc p { color: var(--ink-2); font-size: 15px; font-weight: 300; }

/* ---------- Sacola (drawer) ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100vw);
  background: var(--surface); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 26px; flex: 1; }
.drawer__back { margin-left: -12px; }
.drawer__head .icon-btn:hover { background: var(--sand); }
.drawer__step { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.drawer__foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 12px; }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px; color: var(--muted); }
.drawer__empty svg { width: 54px; height: 54px; fill: none; stroke: var(--gold); stroke-width: 1.1; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.summary-row strong { font-size: 20px; font-weight: 500; }

.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; background: var(--sand); }
.line__img svg, .line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-family: var(--serif); font-size: 19px; line-height: 1.2; font-weight: 500; }
.line__meta { font-size: 13px; color: var(--muted); margin: 3px 0 10px; }
.line__row { display: flex; justify-content: space-between; align-items: center; }
.line__remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
.line__remove:hover { color: var(--danger); }

.field { border: 0; margin-bottom: 20px; }
.field label, .field legend { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.field input:not([type=radio]), .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); outline: 0; transition: border-color .2s, background .2s; resize: vertical;
}
.field input:not([type=radio]):focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.radios { display: grid; gap: 8px; }
.field .radio { display: flex; margin: 0; font-weight: 400; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.radio input { flex: none; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ink); }
.radio strong { display: block; font-size: 14px; font-weight: 500; }
.radio span { font-size: 12px; color: var(--muted); }
.radio:has(input:checked) { border-color: var(--ink); background: var(--bg); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.field .pill { display: inline-block; margin: 0; font-weight: 400; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; transition: all .2s; }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.review { background: var(--bg); border-radius: var(--radius); padding: 16px; }
.review h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.review li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.review li span:first-child { color: var(--ink-2); }
.review .summary-row { margin-top: 12px; }

.drawer__done { align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; }
.drawer__done h3 { font-size: 34px; }
.drawer__done p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.done__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--hdr-bg); display: grid; place-items: center; }
.done__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--hdr-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--radius);
  font-size: 14px; box-shadow: var(--shadow); transition: all .35s var(--ease);
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { color: var(--gold-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .header__menu { display: inline-grid; margin-left: -10px; }
  .header__inner { height: 72px; gap: 8px; }
  .header__logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .header__logo img { height: 54px; max-width: 160px; }
  .header .search { display: none; }
  .nav { display: none; }
  .header.search-open .search { display: flex; position: absolute; left: 16px; right: 16px; top: 80px; max-width: none; background: var(--hdr-bg); }
  .mobile-search { display: inline-grid !important; }
  .hide-sm { display: none !important; }

  .steps__grid { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .step:last-child { border-bottom: 0; }
  .banner__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 64px; }
  .banner__inner { text-align: center; }
  .banner p { margin-left: auto; margin-right: auto; }
  .banner__sizes { justify-content: center; }
  .perk { flex-direction: column; text-align: center; gap: 8px; }
  .footer__grid { text-align: center; }
  .footer__brand img { margin-left: auto; margin-right: auto; }
  .footer__bottom { justify-content: center; text-align: center; }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp__media { aspect-ratio: 3 / 4; min-height: 0; max-height: 62vh; width: 100%; }
  .pdp__media img { object-position: center top; }
  .pdp__info { padding: 28px 22px; }
  .pdp__info h2 { font-size: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar__track { justify-content: flex-start; animation: marquee 18s linear infinite; width: max-content; padding-left: 100%; }
  @keyframes marquee { to { transform: translateX(-100%); } }
  .section { padding-top: 64px; }
  .slider__arrow { display: none; }
  .slider__dots { bottom: 8px; }
  .slider__dots button { width: 6px; height: 6px; }
  .slider__dots button.active { width: 18px; }
  .hero-cta { display: block; padding: 16px 16px 0; background: var(--bg); }
  .slider.vertical + .hero-cta { display: none; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cat span { font-size: 10px; letter-spacing: .08em; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .toolbar__filters .select { flex: 1; }
  .toolbar__filters .select select { flex: 1; min-width: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .card__name { font-size: 18px; }
  .card__quick { display: none; }
  .badge { top: 8px; left: 8px; font-size: 9px; padding: 4px 7px; }
  .badge--sale { top: auto; left: auto; bottom: 8px; right: 8px; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .price { font-size: 14px; }
  .price--lg { font-size: 20px; }
  .banner__inner { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .banner h2 { font-size: 34px; }
  .banner p { font-size: 15px; margin-bottom: 24px; }
  .banner__sizes { flex-wrap: nowrap; gap: 6px; }
  .banner__sizes li { flex: 1 1 0; max-width: 46px; width: auto; height: auto; aspect-ratio: 1; font-size: 15px; }
  .perks__grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .footer__bottom { padding-top: 22px; padding-bottom: 90px; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal__box { max-height: 90vh; max-height: 90dvh; border-radius: 14px 14px 0 0; overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y; }
  .pdp__info { padding: 24px 16px 28px; }
  .pdp__info h2 { font-size: 28px; }
  .price--lg { margin-bottom: 20px; }
  /* Tamanhos: os 7 cabem numa linha, sem rolar para o lado */
  .sizes { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 6px; }
  .size { min-width: 0; height: 44px; padding: 0; font-size: 13px; }
  .pdp__buy { gap: 8px; }
  .pdp__buy .btn { padding: 0 12px; letter-spacing: .1em; font-size: 12px; }
  .qty { flex: none; }
  .qty button { width: 36px; }
  .whats-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ---------- Logo em texto (loja sem logo) ---------- */
.text-logo { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: .02em; color: var(--hdr-ink); white-space: nowrap; }
.footer__brand .text-logo { display: inline-block; font-size: 38px; margin-bottom: 14px; }
.mobile-menu__head .text-logo { font-size: 24px; }

/* ---------- Herói simples (loja sem banner) ---------- */
.hero-simple { background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); text-align: center; padding: 90px 0 80px; }
.hero-simple h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 14px; }
.hero-simple p { font-size: 17px; color: var(--ink-2); font-weight: 300; max-width: 520px; margin: 0 auto 30px; }
@media (max-width: 640px) {
  .text-logo { font-size: 22px; }
  .footer__brand .text-logo { font-size: 30px; }
  .hero-simple { padding: 56px 0 48px; }
}
