/* ═══════════════════════════════════════════════════════
   CONCEITO DE ARTE — Global Stylesheet
   Tipografia: Pinyon Script (signature) + Cormorant Garamond (display) + Outfit (body)
   Paleta: Bordô Couro + Creme + Ouro (old money) | ver brand/DESIGN.md
═══════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────── */
:root {
  /* Bordô · Couro (old money) — 60·30·10 · ver brand/DESIGN.md */
  --cream:    #F4EDE1;   /* 60% canvas */
  --warm:     #EDE4D6;
  --sand:     #E3D8C6;
  --border:   #DCD0BE;
  --gold:     #B0925A;   /* 10% acento */
  --gold-b:   #C2A366;
  --gold-d:   rgba(176,146,90,0.10);
  --gold-s:   rgba(176,146,90,0.22);
  --gold-line:rgba(176,146,90,0.32);
  --ink:      #1E3A2F;   /* 30% bordô couro — texto forte, secções escuras, botões */
  --charcoal: #14291F;   /* vinho — acento régio (obra, destaques) */
  --mid:      #7C5E54;   /* secundário quente (legível) */
  --muted:    #A38E80;
  --white:    #FCF9F3;

  --f-sign:  'Pinyon Script', cursive;
  --f-disp:  'Cormorant Garamond', Georgia, serif;
  --f-body:  'Outfit', system-ui, sans-serif;

  --ease:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-s:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h:   72px;
  --max-w:   1320px;
  --pad:     64px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.65;
  /* clip (e não hidden) trava o transbordo lateral sem quebrar position:sticky */
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--f-body); }
input, textarea, select { font-family: var(--f-body); }

/* ── SCROLL PROGRESS ─────────────────────────────────── */
.scroll-prog {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; width: 0%; background: var(--gold);
  transition: width .1s linear; pointer-events: none;
}

/* ── ANIMATIONS ──────────────────────────────────────── */
.up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.up.in { opacity: 1; transform: none; }
.fade { opacity: 0; transition: opacity .65s var(--ease); }
.fade.in { opacity: 1; }
.sc { opacity: 0; transform: scale(.96); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.sc.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; } .d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .up,.fade,.sc { transition: opacity .3s; transform: none; }
}

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  /* acompanha o recorte do ecrã (notch/ilha dinâmica) em vez de ficar por baixo */
  padding: 0 max(var(--pad), env(safe-area-inset-right, 0px)) 0 max(var(--pad), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(244,237,225,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s, box-shadow .35s;
}
.nav.solid { border-color: var(--border); box-shadow: 0 2px 32px rgba(24,22,15,.05); }

/* o logo cede espaço primeiro; os ícones da direita nunca são empurrados para fora */
.nav-logo { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.nav-logo-main { font-family: var(--f-disp); font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-logo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.nav-logo-sign { font-family: var(--f-sign); font-size: 1.5rem; color: var(--gold); line-height: 1; }

.nav-menu { display: flex; list-style: none; gap: 2px; }
.nav-menu a {
  display: block; padding: 8px 16px; border-radius: 100px;
  font-size: .8rem; font-weight: 500; color: var(--mid);
  transition: background .2s, color .2s;
}
.nav-menu a:hover, .nav-menu a.active { background: var(--warm); color: var(--ink); }
.nav-menu a.active { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav-cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: 8px;
  font-size: .8rem; font-weight: 500;
  transition: background .25s, transform .15s var(--ease-s);
  position: relative;
}
.nav-cart-btn:hover { background: var(--gold); }
.nav-cart-btn:active { transform: scale(.97); }
/* mobile menu toggle (hamburger) — hidden on desktop */
.nav-toggle { display: none; width: 42px; height: 42px; border: none; background: none; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); border-radius: 10px; }
.nav-toggle svg { display: block; }
.nav-toggle:active { background: var(--warm); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-size: .6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-badge.show { display: flex; }

/* ── PAGE WRAPPER ────────────────────────────────────── */
.page { padding-top: var(--nav-h); }

/* ── CONTAINER ───────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ── SECTION TAGS ────────────────────────────────────── */
.sec-ey {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sec-ey::after { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.sec-h {
  font-family: var(--f-disp);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 300; line-height: 1.08; letter-spacing: -.02em;
}
.sec-h em { font-style: italic; }
.sec-h .sig { font-family: var(--f-sign); font-size: 1.15em; color: var(--gold); font-style: normal; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  padding: 13px 28px; border-radius: 8px;
  transition: background .25s, color .25s, border-color .25s, transform .15s var(--ease-s), box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--gold); }
.btn-gold { background: var(--gold); color: #2E1512; }
.btn-gold:hover { background: var(--gold-b); box-shadow: 0 6px 20px rgba(176,146,90,.35); }
.btn-outline { border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); background: var(--gold-d); }
.btn-link {
  font-size: .78rem; font-weight: 500; color: var(--mid);
  padding-bottom: 2px; border-bottom: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.btn-link:hover { color: var(--ink); border-color: var(--ink); }

/* ── GOLD HAIRLINE ───────────────────────────────────── */
.gold-rule { width: 100%; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }
.gold-rule-center { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--gold) 50%, transparent); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 80px var(--pad) 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px; margin-bottom: 72px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand { font-family: var(--f-disp); font-size: 1.4rem; font-weight: 300; color: #fff; margin-bottom: 12px; }
.footer-brand .sig { font-family: var(--f-sign); font-size: 1.4em; color: var(--gold); }
.footer-desc { font-size: .83rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 240px; margin-bottom: 28px; }
.footer-socials { display: flex; gap: 8px; }
.footer-soc-link {
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px;
  font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4); transition: border-color .2s, color .2s, background .2s;
}
.footer-soc-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-d); }
.footer-col h4 { font-size: .58rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.25); }
.footer-made { font-size: .72rem; color: rgba(255,255,255,.25); }
.footer-made em { color: var(--gold); font-style: normal; }

/* ── CART DRAWER ─────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(24,22,15,.5);
  backdrop-filter: blur(4px); z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; background: var(--cream);
  z-index: 501; padding: 0;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  padding: 24px 28px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-title { font-family: var(--f-disp); font-size: 1.5rem; font-weight: 400; }
.cart-close {
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px;
  background: none; display: flex; align-items: center; justify-content: center;
  color: var(--mid); transition: background .2s, border-color .2s, color .2s;
}
.cart-close:hover { background: var(--warm); border-color: var(--gold); color: var(--ink); }
.cart-items { flex: 1 1 auto; min-height: 110px; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-empty svg { margin: 0 auto 16px; opacity: .4; }
.cart-empty p { font-family: var(--f-disp); font-size: 1.25rem; font-weight: 300; font-style: italic; }
.cart-item {
  display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  background: var(--warm); flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; }
.cart-item-name { font-size: .875rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.cart-item-price { font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.qty-btn {
  width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 6px;
  background: none; font-size: 1rem; color: var(--mid);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; font-family: var(--f-body);
}
.qty-btn:hover { background: var(--warm); border-color: var(--gold); color: var(--ink); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
.qty-num { font-size: .875rem; font-weight: 500; width: 20px; text-align: center; }
.cart-item-remove { color: var(--muted); background: none; border: none; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; margin-left: auto; align-self: flex-start; }
.cart-item-remove:hover { color: #c0392b; }
.cart-footer {
  padding: 20px 28px; border-top: 1px solid var(--border);
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.cart-subtotal-label { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
.cart-subtotal-val { font-family: var(--f-body); font-size: 1.35rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-note { font-size: .72rem; color: var(--muted); margin-bottom: 16px; text-align: center; }

/* ── TOAST ───────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: .82rem; font-weight: 500;
  z-index: 900; opacity: 0;
  transition: transform .4s var(--ease-s), opacity .4s;
  white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.footer-nap { display: inline-block; margin-top: 8px; font-size: .78rem; opacity: .78; font-variant-numeric: tabular-nums; }

/* ── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  padding: 20px var(--pad);
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--mid);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--mid); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-d2, var(--ink)); }
.breadcrumb span { color: var(--sand); }
.breadcrumb #pdCrumb { color: var(--charcoal); font-weight: 500; }

/* ── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  padding: 80px var(--pad) 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero-tag { font-size: .62rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.page-hero-h { font-family: var(--f-disp); font-size: clamp(3rem,5.5vw,5rem); font-weight: 300; line-height: .95; letter-spacing: -.03em; }
.page-hero-h em { font-style: italic; }
.page-hero-h .sig { font-family: var(--f-sign); font-size: 1.1em; color: var(--gold); font-style: normal; }
.page-hero-p { margin-top: 24px; font-size: .95rem; color: var(--mid); line-height: 1.8; max-width: 460px; }

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad: 40px; }
  .nav-toggle { display: inline-flex; }
  .nav-right .btn { display: none; }             /* esconde CTAs do cabeçalho (Ver Kits, etc.) no mobile */
  .nav-cart-btn { font-size: 0; gap: 0; padding: 10px; }   /* só ícone do carrinho */
  .nav-cart-btn .cart-badge { font-size: .62rem; }
  /* menu em painel (aba) que abre ao tocar no hambúrguer */
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(24,22,15,.10);
    padding: 8px 0;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s var(--ease), opacity .2s;
  }
  .nav.open .nav-menu { max-height: 80vh; opacity: 1; pointer-events: auto; }
  .nav-menu a { display: block; padding: 15px var(--pad); border-radius: 0; font-size: .95rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .cart-drawer { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 400px) {
  :root { --pad: 18px; }
  .nav-logo-main { font-size: 1rem; }
  .nav-logo-sign { font-size: 1.3rem; }
  .nav-logo { gap: 6px; }
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ═══ FICHA DE PRODUTO ═══════════════════════════════════════
   Vive aqui (e não só no product.html) porque a pré-visualização
   rápida da loja reutiliza exactamente o mesmo markup e as mesmas
   funções pd*. Duas cópias divergiriam à primeira alteração. */
/* ── PRODUCT DETAIL ─────────────────────────────────────── */
.pd-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; max-width: 1200px; margin: 0 auto; padding: 44px var(--pad) 96px; }

/* Galeria */
.pd-gallery { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.pd-stage { position: relative; background: transparent; border: none; border-radius: 0; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: visible; }
.pd-stage img { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.14)); transition: opacity .2s; }
/* Miniaturas — só aparecem quando o produto tem mais do que uma foto. */
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.pd-thumb { width: 68px; height: 68px; padding: 4px; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .18s, box-shadow .18s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb:hover { border-color: var(--gold); }
.pd-thumb.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.82); backdrop-filter: blur(6px); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .18s, color .18s, border-color .18s; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.pd-nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.pd-prev { left: 16px; } .pd-next { right: 16px; }

/* Info */
.pd-info { padding-top: 4px; }
.pd-eyebrow { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.pd-title { font-family: var(--f-disp); font-size: 2.5rem; font-weight: 400; color: var(--ink); line-height: 1.06; margin-bottom: 20px; }
.pd-priceline { display: flex; align-items: center; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.pd-price { font-family: var(--f-body); font-size: 1.85rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pd-avail { font-size: .76rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; letter-spacing: .02em; }
.pd-avail::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pd-avail.ok { color: #3f7d4e; } .pd-avail.no { color: #b3532a; }

/* Opções — um bloco coeso com divisores */
/* opções — full-width, sem moldura */
/* painel de opções enquadrado (estilo loja de tintas) */
.pd-options { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); margin-top: 24px; }
.pd-opt { padding: 20px 22px; }
.pd-opt + .pd-opt { border-top: 1px solid var(--border); }
.pd-opt-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.pd-opt-label { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); font-weight: 700; }
.pd-opt-value { font-family: var(--f-body); font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
/* chips de cor — amostras de tinta numa grelha alinhada */
.pd-swatches { display: grid; grid-template-columns: repeat(auto-fill, 38px); gap: 9px; }
.pd-swatch { position: relative; width: 38px; height: 38px; border: none; background: none; padding: 0; cursor: pointer; border-radius: 9px; transition: transform .14s var(--ease); }
.pd-swatch i { position: absolute; inset: 0; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: box-shadow .15s; }
.pd-swatch:hover { transform: translateY(-2px); }
.pd-swatch:hover i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.30); }
.pd-swatch.on i { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold), inset 0 0 0 1px rgba(0,0,0,.12); }
.pd-swatch.soldout { cursor: default; }
.pd-swatch.soldout:hover { transform: none; }
.pd-swatch.soldout i { opacity: .32; }
.pd-swatch.soldout::after { content: ''; position: absolute; top: 50%; left: 50%; width: 30px; height: 1.5px; background: var(--mid); opacity: .65; transform: translate(-50%,-50%) rotate(-45deg); pointer-events: none; }
/* tamanho / capacidade — pílulas */
.pd-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-pill { min-width: 60px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--cream); font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; text-align: center; font-family: var(--f-body); font-variant-numeric: tabular-nums; }
.pd-pill:hover { border-color: var(--gold); }
.pd-pill.on { border-color: var(--gold); background: rgba(176,146,90,.14); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); }
.pd-pill.soldout { display: inline-flex; align-items: center; gap: 8px; background: var(--warm); color: var(--muted); border-color: var(--border); cursor: default; opacity: .55; box-shadow: none; }
.pd-pill.soldout .pd-pill-x { font-size: .55rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* Ações */
.pd-actions { display: flex; gap: 12px; align-items: stretch; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border); }
.pd-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); }
.pd-qty button { width: 46px; height: 54px; border: none; background: none; font-size: 1.2rem; cursor: pointer; color: var(--mid); transition: background .15s; }
.pd-qty button:hover { background: var(--warm); }
.pd-qty span { width: 40px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-add { flex: 1; height: 54px; border: none; border-radius: 14px; background: var(--gold); color: #2E1512; font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: filter .2s, transform .1s; }
.pd-add:hover { filter: brightness(.94); }
.pd-add:active { transform: scale(.99); }
.pd-add[disabled] { opacity: .4; pointer-events: none; }
.pd-qty button:disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
.pd-stock-low { margin-top: 10px; font-size: .78rem; font-weight: 600; color: #b3541e; }

.pd-desc { margin-top: 30px; color: var(--mid); font-size: .92rem; line-height: 1.75; }
.pd-desc p { margin: 0 0 12px; }
/* Descrição profissional estruturada (perfil de produto) */
.pd-desc .pd-lead { font-size: 1.02rem; color: var(--ink); line-height: 1.7; }
.pd-desc h3 { font-family: var(--f-disp); font-weight: 500; font-size: 1.28rem; color: var(--ink);
  margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); letter-spacing: -.01em; }
.pd-desc h3:first-child { margin-top: 8px; }
.pd-desc ul { list-style: none; margin: 0 0 14px; padding: 0; }
.pd-desc ul li { position: relative; padding: 7px 0 7px 20px; border-bottom: 1px solid var(--warm); color: var(--mid); }
.pd-desc ul li:last-child { border-bottom: 0; }
.pd-desc ul li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); }
.pd-desc ul.pd-specs li { display: flex; gap: 8px; padding-left: 0; }
.pd-desc ul.pd-specs li::before { display: none; }
.pd-desc ul.pd-specs li strong { color: var(--ink); font-weight: 600; min-width: 130px; flex: 0 0 auto; }
.pd-desc .pd-tip { background: var(--gold-d); border: 1px solid var(--gold-line); border-radius: 12px;
  padding: 14px 16px; color: var(--ink); margin: 4px 0 6px; position: relative; }
.pd-desc .pd-tip::before { content: '✦'; color: var(--gold); font-weight: 700; margin-right: 8px; }
.pd-desc strong { color: var(--ink); }
/* Produtos relacionados / recomendados */
.pd-related { max-width: var(--max-w); margin: 8px auto 0; padding: 0 var(--pad) 96px; }
.pd-related .pdr-sec { margin-top: 56px; }
.pd-related .pdr-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.pd-related .pdr-h { font-family: var(--f-disp); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); letter-spacing: -.01em; }
.pd-related .pdr-kit { font-size: .82rem; color: var(--gold); }
.pd-related .pdr-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.pdr-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pdr-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(24,22,15,.08); border-color: var(--gold-line); }
.pdr-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pdr-img { position: relative; aspect-ratio: 1/1; background: var(--warm); overflow: hidden; }
.pdr-img img { width: 100%; height: 100%; object-fit: cover; }
.pdr-noimg { width: 100%; height: 100%; background: var(--warm); }
.pdr-out { position: absolute; top: 10px; left: 10px; background: var(--white); border-radius: 100px; padding: 3px 10px; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.pdr-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pdr-cat { font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pdr-name { font-family: var(--f-disp); font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.pdr-price { font-size: 1rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px; }
.pdr-why { margin-top: 8px; font-size: .74rem; line-height: 1.45; color: var(--mid); border-top: 1px dashed var(--border); padding-top: 8px; }
@media (max-width: 560px) { .pd-related .pdr-row { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; } .pdr-name { font-size: .95rem; } }
/* Voltar — canto superior esquerdo, acima do conteúdo do produto */
.pd-back { display: inline-flex; align-items: center; gap: 6px; max-width: 1200px; margin: 24px auto 0; padding: 0 var(--pad); width: 100%; color: var(--muted); font-size: .85rem; text-decoration: none; transition: color .2s; }
.pd-back:hover { color: var(--gold); }
.pd-back + .pd-wrap { padding-top: 18px; }
.pd-loading { grid-column: 1/-1; text-align: center; padding: 120px 0; }
.pd-spin { display: inline-block; width: 34px; height: 34px; border: 2px solid var(--gold); border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .pd-wrap { grid-template-columns: 1fr; gap: 30px; padding-top: 26px; } .pd-gallery { position: static; } .pd-title { font-size: 2rem; } }
