/*
======================================================================
IMPORTADOR FAIXA PRETA — app.css (single source of truth)
Metodologia BEM. Mobile-first. Sem !important. Sem duplicação.
Estrutura:
  1) Reset & base
  2) Design tokens (variáveis CSS)
  3) Tipografia
  4) Layout (container, grid)
  5) Componentes: header, footer, buttons, badges, cards…
  6) Páginas: home, produto, carrinho, checkout, minha-conta, auth, admin
  7) Utilitários
  8) Responsivo
======================================================================
*/

/* =====================================================================
   1) RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 800; color: var(--heading); letter-spacing: -0.015em; line-height: 1.2; }
p, ul, ol { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* =====================================================================
   2) DESIGN TOKENS
   ===================================================================== */
:root {
  /* Brand colors */
  --brand-black: #0a0a0a;
  --brand-gold:  #C9A227;
  --brand-gold-light: #F4C95B;
  --brand-gold-dark: #8C6F1B;

  /* Surfaces */
  --bg:       #F7F8FA;
  --bg-soft:  #FFFFFF;
  --surface:  #FFFFFF;
  --surface-2:#F1F3F7;
  --line:     #E5E8EE;
  --line-strong: #D1D5DB;

  /* Text */
  --text:    #1F2937;
  --text-soft: #4B5563;
  --muted:   #6B7280;
  --heading: #0F172A;

  /* Functional */
  --primary:      var(--brand-black);
  --primary-dark: #000000;
  --accent:       var(--brand-gold);
  --accent-dark:  var(--brand-gold-dark);
  --accent-soft:  rgba(201,162,39,.12);

  --success:  #16A34A;
  --success-soft: #DCFCE7;
  --danger:   #DC2626;
  --danger-soft:  #FEE2E2;
  --warning:  #D97706;
  --warning-soft: #FEF3C7;
  --info:     #2563EB;
  --info-soft:    #DBEAFE;

  /* Radii */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow:    0 6px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.12);

  /* Layout */
  --container: 1200px;
  --header-h:  76px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --t-fast: 120ms ease;
  --t:      200ms ease;
  --t-slow: 320ms ease;
}

/* =====================================================================
   3) TYPOGRAPHY
   ===================================================================== */
.h1 { font-size: clamp(28px, 4vw, 44px); }
.h2 { font-size: clamp(24px, 3vw, 32px); }
.h3 { font-size: 20px; }
.h4 { font-size: 17px; }
.text-muted { color: var(--muted); }
.text-soft  { color: var(--text-soft); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark);
  padding-bottom: 6px;
}

/* =====================================================================
   4) LAYOUT
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 64px 0; }
.section--compact { padding: 40px 0; }
.section--soft { background: var(--surface-2); }
.section--brand { background: var(--brand-black); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }

/* =====================================================================
   5) COMPONENTS
   ===================================================================== */

/* ---------- Top strip ---------- */
.top-strip {
  background: var(--brand-black);
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.top-strip__inner { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.top-strip__item::before { content: '★ '; color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--heading); font-weight: 800;
}
.brand:hover { color: var(--heading); text-decoration: none; }
.brand__logo { width: 44px; height: 44px; flex-shrink: 0; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name strong { font-size: 17px; letter-spacing: -.02em; }
.brand__name small  { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .05em; }

.search {
  position: relative;
  max-width: 560px; width: 100%;
  margin: 0 auto;
}
.search__input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search__input:focus {
  outline: 0;
  border-color: var(--primary);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(10,10,10,.06);
}
.search__btn {
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  background: var(--primary); color: #fff;
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  transition: background var(--t-fast);
}
.search__btn:hover { background: var(--accent-dark); }
.search__btn svg { width: 18px; height: 18px; }

.header-actions {
  display: flex; align-items: center; gap: 8px;
}
.action-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  color: var(--text); font-weight: 600; font-size: 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.action-link:hover { background: var(--surface-2); color: var(--heading); text-decoration: none; }
.action-link__icon { font-size: 16px; }
.action-link--accent { color: var(--accent-dark); }
.action-link--accent:hover { color: var(--brand-gold-dark); background: var(--accent-soft); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--primary); color: #fff;
  border: 0; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14px;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  position: relative;
  text-decoration: none;
}
.cart-btn:hover {
  background: #1a1a1a;
  color: var(--brand-gold-light);
  transform: translateY(-1px);
}
.cart-btn:hover svg { stroke: var(--brand-gold-light); }
.cart-btn__count {
  background: var(--accent); color: var(--brand-black);
  font-size: 12px; font-weight: 800;
  min-width: 22px; height: 22px;
  border-radius: 11px;
  display: inline-grid; place-items: center;
  padding: 0 7px;
}

/* Account dropdown */
.account-menu { position: relative; }
.account-menu__toggle {
  cursor: pointer;
  list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-weight: 600; font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.account-menu__toggle::-webkit-details-marker { display: none; }
.account-menu__toggle:hover { background: var(--surface-2); }
.account-menu__panel {
  position: absolute; right: 0; top: calc(100% + 4px);
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 50;
  display: flex; flex-direction: column;
}
.account-menu__panel a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  color: var(--text);
}
.account-menu__panel a:hover { background: var(--surface-2); color: var(--heading); text-decoration: none; }
.account-menu__divider { border-top: 1px solid var(--line); margin: 6px 0; }
.account-menu__signout { color: var(--danger); }
.account-menu__signout:hover { background: var(--danger-soft); color: var(--danger); }

/* Menu hamburger (mobile) */
.menu-btn {
  display: none;
  background: transparent; border: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
}
.menu-btn:hover { background: var(--surface-2); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Navigation ---------- */
.main-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.main-nav__inner {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav__inner::-webkit-scrollbar { display: none; }
.nav-link {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all var(--t-fast);
}
.nav-link:hover { background: var(--surface-2); color: var(--heading); text-decoration: none; }
.nav-link.is-active {
  background: var(--brand-black);
  color: #fff;
}
.nav-link--cat {
  background: var(--brand-black);
  color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link--cat:hover { background: #1a1a1a; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  background: var(--primary); color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  white-space: nowrap;
  transition: all var(--t-fast);
  cursor: pointer;
  line-height: 1.2;
  text-decoration: none;
}
.btn:hover { background: #1a1a1a; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--heading); border-color: var(--line-strong); }
.btn--accent {
  background: var(--accent); color: var(--brand-black);
}
.btn--accent:hover { background: var(--brand-gold-light); color: var(--brand-black); }
.btn--danger {
  background: var(--danger); color: #fff;
}
.btn--danger:hover { background: #B91C1C; color: #fff; }
.btn--success {
  background: var(--success); color: #fff;
}
.btn--success:hover { background: #15803D; color: #fff; }
.btn--whatsapp {
  background: #25D366; color: #fff;
}
.btn--whatsapp:hover { background: #1EBE5B; color: #fff; }

.btn--sm  { padding: 7px 14px; font-size: 13px; }
.btn--lg  { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--text);
}
.badge--accent  { background: var(--accent); color: var(--brand-black); }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--danger  { background: var(--danger-soft);  color: var(--danger); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--info    { background: var(--info-soft);    color: var(--info); }
.badge--dark    { background: var(--brand-black);  color: #fff; }

/* ---------- Flash messages ---------- */
.flash-stack {
  width: 100%;
  max-width: var(--container);
  margin: 20px auto 0;
  padding: 0 20px;
}
.flash {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 10px;
  border-left: 4px solid;
}
.flash--success { background: var(--success-soft); border-color: var(--success); color: #14532D; }
.flash--error   { background: var(--danger-soft);  border-color: var(--danger);  color: #7F1D1D; }
.flash--warning { background: var(--warning-soft); border-color: var(--warning); color: #78350F; }
.flash--info    { background: var(--info-soft);    border-color: var(--info);    color: #1E3A8A; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 80px);
  background: var(--brand-black); color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t), opacity var(--t);
  max-width: 92vw;
}
.toast.is-active { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast--success { background: var(--success); }
.toast--error   { background: var(--danger); }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label, .field__label {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.field__input,
input[type="text"].field__input,
input[type="email"].field__input,
input[type="password"].field__input,
input[type="tel"].field__input,
input[type="number"].field__input,
input[type="search"].field__input,
input[type="url"].field__input,
input[type="date"].field__input,
select.field__input,
textarea.field__input {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__input:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}
textarea.field__input { min-height: 120px; resize: vertical; }
.field__hint { font-size: 12px; color: var(--muted); }
.field__error { font-size: 12.5px; color: var(--danger); font-weight: 600; }

.field--check {
  flex-direction: row; align-items: flex-start;
  gap: 10px; cursor: pointer;
}
.field--check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); }
.field--check span { font-size: 14px; line-height: 1.5; color: var(--text); font-weight: 500; }
.field--check a { color: var(--primary); font-weight: 700; }
.field--check a:hover { text-decoration: underline; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field-row--3-1 { grid-template-columns: 3fr 1fr; }
@media (max-width: 600px) {
  .field-row, .field-row--3, .field-row--3-1 { grid-template-columns: 1fr; }
}

/* ---------- Product Card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  display: block;
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: var(--brand-black);
  font-size: 11px; font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
  letter-spacing: .02em;
}
.product-card__badge--danger { background: var(--danger); color: #fff; }
.product-card__badge--new    { background: var(--info);   color: #fff; }

.product-card__fav {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(4px);
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-soft);
  cursor: pointer;
  z-index: 2;
  transition: all var(--t-fast);
}
.product-card__fav:hover { color: var(--danger); transform: scale(1.08); }
.product-card__fav.is-active { color: var(--danger); }
.product-card__fav svg { width: 18px; height: 18px; }

.product-card__stockout {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 1;
}

.product-card__body {
  padding: 16px;
  display: flex; flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__brand {
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}
.product-card__title {
  font-size: 14.5px; font-weight: 600;
  margin: 0; line-height: 1.35;
  color: var(--heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--primary); text-decoration: none; }

.product-card__rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-soft);
}
.product-card__rating-stars { color: var(--accent); letter-spacing: 1px; }

.product-card__price {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.product-card__price-old {
  font-size: 12.5px; color: var(--muted);
  text-decoration: line-through;
}
.product-card__price-current {
  font-size: 20px; font-weight: 800;
  color: var(--heading);
  letter-spacing: -.01em;
}
.product-card__installments {
  font-size: 11.5px; color: var(--muted);
}

.product-card__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  padding: 11px 14px;
  background: var(--brand-black); color: #fff;
  border: 0; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
  margin-top: 8px;
}
.product-card__cta:hover { background: var(--accent); color: var(--brand-black); }
.product-card__cta svg { width: 16px; height: 16px; }
.product-card__cta.is-added { background: var(--success); color: #fff; }
.product-card__cta:disabled  { opacity: .5; cursor: not-allowed; }

/* =====================================================================
   6) PAGES
   ===================================================================== */

/* ---------- HOME · Hero ---------- */
.hero {
  padding: 48px 0;
  background:
    radial-gradient(800px 400px at 80% 0%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__content h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__content h1 em {
  color: var(--accent-dark);
  font-style: normal;
}
.hero__content p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 520px;
}
.hero__cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__perks {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13.5px; color: var(--text-soft);
}
.hero__perks span::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 800;
}
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero__visual-card {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-black), #1a1a1a);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__visual-card::before {
  content: '';
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  z-index: 0;
  opacity: .35;
}
.hero__visual-emblem {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 1;
}
.hero__visual-emblem svg { width: 60%; height: 60%; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 320px; margin: 0 auto; }
}

/* ---------- HOME · Categorias ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 20px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-fast);
  color: var(--heading);
}
.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--heading);
}
.category-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--accent-dark);
  font-size: 24px;
}
.category-card strong { font-size: 14px; font-weight: 700; }
.category-card small  { font-size: 12px; color: var(--muted); }

/* ---------- HOME · Trust row ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex; gap: 14px;
  align-items: flex-start;
}
.trust-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-card strong { display: block; margin-bottom: 4px; font-size: 14.5px; }
.trust-card p { margin: 0; font-size: 13px; color: var(--text-soft); }

/* ---------- HOME · Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.review-card__quote { font-size: 14.5px; line-height: 1.6; color: var(--text); margin-bottom: 14px; }
.review-card__author { font-weight: 700; color: var(--heading); }
.review-card__role { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- HOME · Newsletter ---------- */
.newsletter-card {
  background: linear-gradient(135deg, var(--brand-black), #1a1a1a);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute; inset: -2px;
  background: radial-gradient(400px 200px at 10% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.newsletter-card > * { position: relative; z-index: 1; }
.newsletter-card h2 { color: #fff; }
.newsletter-card p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.newsletter-form {
  display: flex; flex-direction: column; gap: 10px;
}
.newsletter-form input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: 0; border-color: var(--accent); background: rgba(255,255,255,.15); }
.newsletter-form .btn { background: var(--accent); color: var(--brand-black); }
.newsletter-form .btn:hover { background: var(--brand-gold-light); color: var(--brand-black); }

@media (max-width: 720px) { .newsletter-card { grid-template-columns: 1fr; padding: 28px 22px; } }

/* ---------- HOME · FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px; color: var(--accent-dark);
  transition: transform var(--t-fast);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item > div, .faq-item__body {
  padding: 0 20px 16px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}
.faq-item p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-black);
  color: rgba(255,255,255,.75);
  padding-top: 56px;
}
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); text-decoration: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 13px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--accent); color: var(--brand-black); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  padding: 18px 0;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,.5);
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PAGE: PRODUTO
   ===================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 32px 0;
}
.product-gallery__main {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.product-gallery__thumbs {
  display: flex; gap: 10px; margin-top: 14px;
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 72px; height: 72px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  padding: 4px;
}
.product-gallery__thumb.is-active { border-color: var(--accent); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-info { display: flex; flex-direction: column; gap: 16px; }
.product-info__breadcrumb { font-size: 13px; color: var(--muted); }
.product-info__breadcrumb a { color: var(--text-soft); }
.product-info__title {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0;
  line-height: 1.2;
}
.product-info__rating-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-soft);
}
.product-info__price-block {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
}
.product-info__price-old {
  font-size: 14px; color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.product-info__price {
  font-size: 32px; font-weight: 800;
  color: var(--heading);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.product-info__pix {
  font-size: 13px; color: var(--success); font-weight: 700; margin-top: 4px;
}
.product-info__installments { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

.product-info__qty {
  display: flex; align-items: center; gap: 12px;
}
.qty-control {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control__btn {
  width: 38px; height: 42px;
  background: transparent; border: 0;
  color: var(--text); font-size: 18px; font-weight: 700;
}
.qty-control__btn:hover { background: var(--surface-2); }
.qty-control__input {
  width: 48px; height: 42px;
  border: 0; background: transparent;
  text-align: center; font-weight: 700;
  -moz-appearance: textfield;
}
.qty-control__input::-webkit-outer-spin-button,
.qty-control__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-info__cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.product-info__cta-row .btn { flex: 1; min-width: 160px; }

.product-info__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.product-info__perk {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
}
.product-info__perk::before { content: '✓'; color: var(--success); font-weight: 800; }

.product-tabs {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0;
}
.product-tabs__nav {
  display: flex; gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}
.product-tabs__btn {
  padding: 10px 18px;
  background: transparent; border: 0;
  font-weight: 700; font-size: 14px;
  color: var(--text-soft);
  border-radius: var(--radius);
}
.product-tabs__btn:hover { background: var(--surface); color: var(--heading); }
.product-tabs__btn.is-active { background: var(--brand-black); color: #fff; }
.product-tabs__panel { padding: 28px; line-height: 1.7; }
.product-tabs__panel.is-hidden { display: none; }
.product-tabs__panel h3 { font-size: 17px; margin-top: 18px; }
.product-tabs__panel ul li::before { content: '◆ '; color: var(--accent-dark); }
.product-tabs__panel ul { list-style: none; padding-left: 8px; }

@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-info__perks { grid-template-columns: 1fr; }
}

/* =====================================================================
   PAGE: CARRINHO
   ===================================================================== */
.page-head {
  padding: 28px 0 12px;
}
.page-head h1 { margin-bottom: 4px; }
.page-head__meta { color: var(--muted); font-size: 14px; margin: 0; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 60px;
}
@media (max-width: 980px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-items {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__img {
  width: 88px; height: 88px;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
}
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-row__info { min-width: 0; }
.cart-row__title {
  font-size: 15px; margin: 0 0 6px;
  font-weight: 700; color: var(--heading);
  line-height: 1.3;
}
.cart-row__title a { color: inherit; }
.cart-row__title a:hover { color: var(--primary); text-decoration: none; }
.cart-row__chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px;
}
.cart-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px; color: var(--text);
  line-height: 1.2;
}
.cart-chip small { color: var(--muted); font-weight: 500; }
.cart-chip strong { color: var(--text); font-weight: 700; }
.cart-chip__swatch {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  flex-shrink: 0;
}
.cart-row__unit { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cart-row__qty {}
.cart-row__subtotal { font-size: 16px; font-weight: 800; color: var(--heading); white-space: nowrap; }
.cart-row__remove {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  display: grid; place-items: center;
  transition: all var(--t-fast);
  cursor: pointer;
}
.cart-row__remove:hover { background: var(--danger); border-color: var(--danger); color: #fff; }

@media (max-width: 720px) {
  .cart-row {
    grid-template-columns: 72px 1fr auto;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 10px;
    padding: 14px;
  }
  .cart-row__img { width: 72px; height: 72px; grid-column: 1; grid-row: 1 / span 2; }
  .cart-row__info { grid-column: 2 / span 2; grid-row: 1; }
  .cart-row__qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .cart-row__subtotal { grid-column: 3; grid-row: 2; align-self: center; }
  .cart-row__remove { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; }
}

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.cart-summary h3 { font-size: 18px; margin: 0 0 16px; }
.cart-summary__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0;
  font-size: 14px; color: var(--text-soft);
  border-bottom: 1px dashed var(--line);
}
.cart-summary__row strong { color: var(--heading); font-weight: 700; }
.cart-summary__row--discount strong { color: var(--success); }
.cart-summary__row--total {
  border-bottom: 0;
  border-top: 2px solid var(--heading);
  margin-top: 6px; padding-top: 14px;
  font-size: 15px;
}
.cart-summary__row--total strong { font-size: 22px; color: var(--heading); }
.cart-summary__coupon { display: flex; gap: 8px; margin: 14px 0; }
.cart-summary__coupon input {
  flex: 1; padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px;
}
.cart-summary__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: var(--radius-xl);
}
.cart-empty h3 { font-size: 22px; margin-bottom: 8px; }
.cart-empty p { color: var(--muted); margin-bottom: 20px; }

/* =====================================================================
   PAGE: CHECKOUT
   ===================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding-bottom: 60px;
}
@media (max-width: 980px) { .checkout-layout { grid-template-columns: 1fr; } }

.checkout-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 16px;
}
.checkout-section h2 {
  font-size: 18px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.checkout-section h2::before {
  content: attr(data-step);
  width: 28px; height: 28px;
  background: var(--brand-black); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.payment-options { display: grid; gap: 10px; }
.payment-option {
  display: flex; gap: 14px; align-items: center;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t-fast);
}
.payment-option:has(input:checked) { border-color: var(--brand-black); background: var(--surface-2); }
.payment-option input { accent-color: var(--brand-black); }
.payment-option__label strong { display: block; font-size: 15px; margin-bottom: 2px; }
.payment-option__label small  { font-size: 12.5px; color: var(--muted); }

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.checkout-summary__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-summary__item:last-of-type { border-bottom: 0; }
.checkout-summary__item img {
  width: 56px; height: 56px;
  object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.checkout-summary__item h5 { font-size: 13px; margin: 0; font-weight: 600; line-height: 1.3; }
.checkout-summary__item small { font-size: 12px; color: var(--muted); }
.checkout-summary__item strong { font-size: 14px; }

/* =====================================================================
   PAGE: MINHA CONTA
   ===================================================================== */
.account-shell { padding: 32px 0 80px; }
.account-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.account-header h1 { margin-bottom: 4px; }
.account-tabs {
  display: flex; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.account-tabs a:hover { background: var(--surface-2); color: var(--heading); text-decoration: none; }
.account-tabs a.is-active { background: var(--brand-black); color: #fff; }

.account-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-height: 300px;
}
.account-panel h2 { font-size: 19px; margin-bottom: 6px; }
.account-panel > p { color: var(--muted); margin-bottom: 22px; font-size: 14px; }

.account-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-table thead th {
  text-align: left; padding: 12px 14px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.account-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.account-table tbody tr:hover { background: var(--surface-2); }
.account-table tbody tr:last-child td { border-bottom: 0; }

.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.address-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.address-card.is-default { border-color: var(--accent); }
.address-card header { display: flex; align-items: center; justify-content: space-between; }
.address-card p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.address-card footer { display: flex; flex-wrap: wrap; gap: 6px; }
.address-card footer form { display: inline; }

/* =====================================================================
   PAGE: AUTH
   ===================================================================== */
.auth-shell { padding: 40px 0 80px; }
.auth-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 880px) { .auth-grid { grid-template-columns: 1fr; } }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); margin-bottom: 22px; }
.auth-alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-soft); }
.auth-alt a { color: var(--primary); font-weight: 700; }
.auth-alt a:hover { text-decoration: underline; }

.auth-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.auth-side h2 { font-size: 18px; margin-bottom: 18px; }
.auth-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-perks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--text);
}
.auth-perks li span:first-child {
  width: 32px; height: 32px;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* =====================================================================
   ADMIN
   ===================================================================== */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #0F172A;
  color: #E2E8F0;
}
.admin-sidebar {
  background: #0A0F1C;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  padding: 18px 12px;
  gap: 4px;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar__brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 10px;
}
.admin-sidebar__brand strong { font-size: 14.5px; color: #fff; font-weight: 800; }
.admin-sidebar__brand small  { display: block; font-size: 11px; color: #94A3B8; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  color: #CBD5E1;
}
.admin-nav a:hover { background: rgba(255,255,255,.05); color: #fff; text-decoration: none; }
.admin-nav a.is-active { background: var(--accent); color: var(--brand-black); }
.admin-nav__icon { font-size: 15px; width: 20px; text-align: center; }

.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: #131A2C;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky; top: 0; z-index: 5;
}
.admin-topbar h1 { font-size: 18px; color: #fff; margin: 0; }
.admin-topbar__user { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; gap: 0; }
.admin-topbar__user span { color: #fff; font-weight: 700; }
.admin-topbar__user small { color: #94A3B8; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.admin-content { padding: 24px; }

.admin-card {
  background: #131A2C;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 20px;
}

/* KPI cards */
.kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 24px;
}
.kpi {
  background: #131A2C;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.kpi__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #94A3B8; }
.kpi__value { font-size: 26px; font-weight: 800; color: #fff; margin-top: 6px; }
.kpi__delta { font-size: 12px; color: #10B981; }
.kpi__delta--down { color: #EF4444; }

.admin-toolbar {
  display: flex; align-items: center; gap: 10px;
  background: #131A2C;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-toolbar__pill {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  color: #CBD5E1;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.admin-toolbar__pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.admin-toolbar__pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--brand-black); }
.admin-toolbar input[type="search"], .admin-toolbar input[type="text"], .admin-toolbar select {
  padding: 8px 12px;
  background: #0F172A;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  color: #E2E8F0;
  font-size: 13.5px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #131A2C;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.admin-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: #94A3B8; font-weight: 700;
  background: #0F172A;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 14px;
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.02); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions form { display: inline; margin: 0; }
.admin-table .status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.status-badge--on  { background: rgba(16,185,129,.15); color: #10B981; }
.status-badge--off { background: rgba(239,68,68,.15);  color: #EF4444; }

.admin-form .field__input,
.admin-form input[type="text"], .admin-form input[type="email"], .admin-form input[type="password"],
.admin-form input[type="number"], .admin-form input[type="url"], .admin-form select, .admin-form textarea {
  background: #0F172A;
  border-color: rgba(255,255,255,.08);
  color: #E2E8F0;
}
.admin-form .field > label { color: #CBD5E1; }
.admin-form .field__hint { color: #94A3B8; }

.admin-btn-primary {
  background: var(--accent);
  color: var(--brand-black);
  border-color: var(--accent);
}
.admin-btn-primary:hover { background: var(--brand-gold-light); color: var(--brand-black); }
.admin-btn-ghost {
  background: transparent; color: #CBD5E1;
  border: 1px solid rgba(255,255,255,.12);
}
.admin-btn-ghost:hover { background: rgba(255,255,255,.05); color: #fff; }

/* Login admin */
.admin-login-shell {
  display: grid; place-items: center;
  min-height: 100vh;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201,162,39,.12), transparent 60%),
    #0A0F1C;
  padding: 20px;
}
.admin-login-card {
  background: #131A2C;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%; max-width: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.admin-login-card h1 { color: #fff; text-align: center; }
.admin-login-card > p { color: #94A3B8; text-align: center; margin-bottom: 22px; font-size: 14px; }

@media (max-width: 880px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static; height: auto;
    flex-direction: row; flex-wrap: wrap; gap: 6px;
    border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .admin-sidebar__brand { width: 100%; padding-bottom: 10px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav a { flex: 1; justify-content: center; min-width: 140px; }
}

/* =====================================================================
   PAGE: MAINTENANCE
   ===================================================================== */
.maint-shell {
  min-height: 100vh;
  display: grid; place-items: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201,162,39,.18), transparent 60%),
    var(--brand-black);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.maint-content { max-width: 520px; }
.maint-content svg { width: 96px; height: 96px; margin-bottom: 24px; }
.maint-content h1 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.maint-content p { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.6; }

/* =====================================================================
   7) UTILITIES
   ===================================================================== */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }

/* =====================================================================
   8) RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .header-row {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .search { grid-column: 1 / -1; }
  .header-actions .action-link span:not(.action-link__icon) { display: none; }
  .header-actions .cart-btn span:not(.cart-btn__count) { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__title { font-size: 13.5px; min-height: 2.5em; }
  .product-card__price-current { font-size: 17px; }
  .product-card__cta { font-size: 12.5px; padding: 9px 12px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .main-nav, .action-link, .cart-btn, .menu-btn { display: none !important; }
}

/* ============================================================
   QUICK-VIEW MODAL (escolha de variações antes de adicionar)
   ============================================================ */
.qv-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
}
.qv-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .18s ease, visibility 0s linear 0s;
}

.qv-modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 760px;
  max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  transform: translateY(12px) scale(.98);
  transition: transform .22s ease;
  overflow: hidden;
}
.qv-overlay.is-open .qv-modal { transform: translateY(0) scale(1); }

.qv-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%; background: rgba(0,0,0,.06);
  border: 0; color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  z-index: 2;
  transition: all var(--t-fast);
}
.qv-modal__close:hover { background: var(--danger); color: #fff; }

.qv-modal__body {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  overflow: hidden;
}
.qv-modal__media {
  background: #f7f7f7;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative;
}
.qv-modal__media img {
  max-width: 100%; max-height: 320px;
  object-fit: contain; display: block;
}
.qv-modal__info {
  padding: 28px 28px 24px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.qv-modal__title {
  font-size: 19px; font-weight: 800;
  color: var(--heading); margin: 0 0 6px;
  line-height: 1.25;
}
.qv-modal__price-block { margin: 6px 0 18px; }
.qv-modal__price-old {
  text-decoration: line-through; color: var(--muted);
  font-size: 13px; font-weight: 600;
  margin-right: 8px;
}
.qv-modal__price {
  font-size: 26px; font-weight: 800; color: var(--heading);
  letter-spacing: -0.01em;
}
.qv-modal__installments { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.qv-group { margin-bottom: 16px; }
.qv-group__label {
  display: block;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.qv-group__label strong { color: var(--primary); margin-left: 4px; }

.qv-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.qv-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s ease;
  -webkit-user-select: none; user-select: none;
}
.qv-chip:hover:not(.is-disabled) { border-color: var(--primary); }
.qv-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qv-chip:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.qv-chip:has(input:checked) small { color: rgba(255,255,255,.8); }
.qv-chip.is-disabled {
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: line-through;
  cursor: not-allowed;
}
.qv-chip__swatch {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  flex-shrink: 0;
}
.qv-chip small { color: var(--muted); font-weight: 500; font-size: 11.5px; }

.qv-qty-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px; margin-bottom: 18px;
}
.qv-qty-row > span { font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.qv-qty-row > small { font-size: 12.5px; color: var(--muted); }

.qv-cta {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
}
.qv-cta__add {
  background: var(--accent);
  color: var(--brand-black);
  border: 0;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--t-fast);
}
.qv-cta__add:hover { background: var(--accent-strong); }
.qv-cta__add:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.qv-cta__detail {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex; align-items: center;
}
.qv-cta__detail:hover { border-color: var(--brand-black); color: var(--brand-black); }

.qv-loading {
  display: grid; place-items: center;
  padding: 60px 40px;
  color: var(--muted);
  font-size: 14px;
}
.qv-loading__spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: qv-spin .9s linear infinite;
  margin: 0 auto 14px;
}
@keyframes qv-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .qv-overlay { padding: 0; align-items: flex-end; }
  .qv-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .qv-modal__body { grid-template-columns: 1fr; }
  .qv-modal__media { padding: 16px; }
  .qv-modal__media img { max-height: 180px; }
  .qv-modal__info { padding: 20px 20px 16px; }
  .qv-modal__title { font-size: 17px; }
  .qv-modal__price { font-size: 22px; }
  .qv-chip { min-height: 44px; padding: 0 18px; }
  .qv-cta { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUTO — destaque da seleção atual (label "Tamanho: P")
   ============================================================ */
.product-variations { margin-bottom: 14px; }
.product-variations [data-variation-current]:empty::after {
  content: 'escolha';
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}

/* Bloqueia o botão "Adicionar" quando não há seleção completa */
.product-info__cta-row [data-add-cart].is-blocked {
  opacity: .55; cursor: not-allowed;
}

/* ============================================================
   PÁGINA DO PRODUTO — variações em chips com swatch
   ============================================================ */
.pv-group { margin-bottom: 16px; }
.pv-group__label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.pv-group__label strong {
  color: var(--primary);
  margin-left: 4px;
  font-weight: 700;
}
.pv-group__label strong:empty::after {
  content: 'escolha uma opção';
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}
.pv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s ease;
  -webkit-user-select: none; user-select: none;
}
.pv-chip:hover:not(.is-disabled) { border-color: var(--primary); }
.pv-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pv-chip:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.pv-chip:has(input:checked) small { color: rgba(255,255,255,.8); }
.pv-chip.is-disabled {
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: line-through;
  cursor: not-allowed;
  border-color: var(--line);
}
.pv-chip__swatch {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  flex-shrink: 0;
}
.pv-chip small { color: var(--muted); font-weight: 500; font-size: 12px; }

/* Esconde o "Comprar agora" quando faltar seleção */
[data-buy-form][data-incomplete] .product-info__cta-row .btn--accent {
  opacity: .5; pointer-events: none;
}
[data-buy-form][data-incomplete] .product-info__cta-row::after {
  content: '⚠️ Escolha as opções acima';
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--warning, #C2410C);
  font-weight: 600;
}

/* ============================================================
   MODO AFILIADO — botões e bloco da página do produto
   ============================================================ */
.product-card__cta--affiliate {
  background: #16A34A;
  color: #fff;
  text-decoration: none;
}
.product-card__cta--affiliate:hover {
  background: #15803D;
  color: #fff;
}

.affiliate-cta {
  margin: 16px 0;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.affiliate-cta__text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-soft);
}
.affiliate-cta .btn {
  background: #16A34A;
  color: #fff;
}
.affiliate-cta .btn:hover { background: #15803D; color: #fff; }
.affiliate-cta__disclosure {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

/* ============================================================
   FRETE — opções de transportadora no checkout (v3.11)
   ============================================================ */
.shipping-options { display: grid; gap: 8px; }

.shipping-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.shipping-option:hover { border-color: var(--accent); }
.shipping-option:has(input:checked) {
  border-color: var(--accent);
  background: #fffbf0;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .1);
}
.shipping-option input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.shipping-option__main { display: flex; flex-direction: column; gap: 2px; }
.shipping-option__main strong { font-size: 14px; color: var(--text); }
.shipping-option__main small { font-size: 12px; color: var(--text-soft); }
.shipping-option__price {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}

/* ============================================================
   LEAD POPUP (v3.11.1)
   ============================================================ */
.lead-popup {
  position: fixed; inset: 0;
  z-index: 1100;
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.lead-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
.lead-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lead-popup__card {
  position: relative;
  max-width: 460px;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: translateY(20px);
  transition: transform .25s ease;
}
.lead-popup.is-open .lead-popup__card { transform: translateY(0); }
.lead-popup__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: 0; background: rgba(0,0,0,.05);
  border-radius: 50%;
  font-size: 22px; line-height: 1;
  color: #6b7280;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.lead-popup__close:hover { background: rgba(0,0,0,.1); color: #111; }
.lead-popup__icon {
  font-size: 56px; text-align: center;
  margin-bottom: 8px; line-height: 1;
}
.lead-popup__title {
  font-size: 22px; font-weight: 800;
  color: #0f0f0f; text-align: center;
  margin: 0 0 8px; line-height: 1.3;
}
.lead-popup__subtitle {
  font-size: 14.5px; color: #6b7280;
  text-align: center; margin: 0 0 22px; line-height: 1.5;
}
.lead-popup__form { display: flex; flex-direction: column; gap: 10px; }
.lead-popup__input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-size: 15px; font-family: inherit;
  background: #f9fafb;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.lead-popup__input:focus {
  outline: 0; border-color: var(--accent); background: #fff;
}
.lead-popup__cta {
  width: 100%; padding: 14px 20px;
  border: 0; background: var(--accent); color: var(--brand-black);
  font-weight: 800; font-size: 15px; border-radius: 10px;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none; text-align: center;
}
.lead-popup__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.lead-popup__cta--success { display: block; margin-top: 18px; }
.lead-popup__cta[disabled] { opacity: .6; cursor: wait; }
.lead-popup__cta-loading { display: none; }
.lead-popup__error {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  font-size: 13px; padding: 10px 14px;
  border-radius: 8px; margin-top: 10px; text-align: center;
}
.lead-popup__disclaimer {
  font-size: 12px; color: #9ca3af;
  text-align: center; margin: 12px 0 0;
}
.lead-popup__coupon {
  background: #fffbf0; border: 2px dashed var(--accent);
  border-radius: 12px; padding: 18px;
  text-align: center; margin: 8px 0;
}
.lead-popup__coupon-label {
  font-size: 11px; color: #6b7280;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 6px;
}
.lead-popup__coupon-code {
  font-family: ui-monospace, "SF Mono", Monaco, monospace;
  font-size: 28px; font-weight: 800;
  color: var(--accent-dark); letter-spacing: .05em;
  margin-bottom: 10px; user-select: all;
}
.lead-popup__copy {
  border: 1px solid var(--accent);
  background: #fff; color: var(--accent-dark);
  padding: 6px 14px; border-radius: 6px;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.lead-popup__copy:hover { background: var(--accent); color: #fff; }
.lead-popup__copy.is-copied { background: #16a34a; color: #fff; border-color: #16a34a; }
@media (max-width: 480px) {
  .lead-popup__card { padding: 28px 20px 22px; max-width: 92vw; }
  .lead-popup__title { font-size: 18px; }
  .lead-popup__icon { font-size: 48px; }
}

/* ============================================================
   COOKIE BANNER LGPD (v3.11.2)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1050;
  background: #0f0f0f;
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__inner {
  display: flex; align-items: center; gap: 20px;
  max-width: 1200px; margin: 0 auto;
  flex-wrap: wrap;
}
.cookie-banner__text { flex: 1 1 360px; min-width: 0; }
.cookie-banner__text strong {
  display: block; font-size: 14px; margin-bottom: 4px;
  color: var(--brand-gold-light, #F4C95B);
}
.cookie-banner__text p {
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.cookie-banner__text a { color: var(--brand-gold-light, #F4C95B); }
.cookie-banner__actions {
  display: flex; gap: 8px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  border: 0;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.cookie-banner__btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.cookie-banner__btn--ghost:hover { background: rgba(255,255,255,.15); }
.cookie-banner__btn--primary {
  background: var(--accent);
  color: var(--brand-black);
}
.cookie-banner__btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cookie-banner__actions { width: 100%; justify-content: stretch; }
  .cookie-banner__btn { flex: 1; padding: 12px; }
}
