/* =========================================================
   DENTAL DAMASIO — Design System
   Paleta: Azul Marinho #131C28 | Dourado #CCA052
   ========================================================= */

:root {
  --navy: #131c28;
  --navy-light: #1d2a3c;
  --gold: #cca052;
  --gold-mid: #ac8a4e;
  --gold-dark: #8e7548;
  --gold-bronze: #534b3b;
  --ink: #1d2430;
  --muted: #687182;
  --border: #e4ddcf;
  --paper: #ffffff;
  --soft: #f5f2ea;
  --soft-dark: #ede8de;
  --success: #1a7a46;
  --success-bg: #edfaf3;
  --error: #b91c1c;
  --error-bg: #fef2f2;
  --warning: #92400e;
  --warning-bg: #fffbeb;
  --info-bg: #eff6ff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(19,28,40,.10);
  --shadow-md: 0 4px 24px rgba(19,28,40,.14);
  --shadow-lg: 0 12px 40px rgba(19,28,40,.18);
  --transition: 180ms ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, iframe { max-width: 100%; }
button { cursor: pointer; }

/* ── Grain texture overlay ──────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
body > * { position: relative; z-index: 1; }

/* ── Typography scale ───────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; margin: 0; }
h1, h2 { font-family: 'Sora', system-ui, sans-serif; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 8px;
}

/* ── Google OAuth button ────────────────────────────────── */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: white;
  border: 1.5px solid #dadce0;
  border-radius: var(--radius-sm);
  color: #3c4043;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
  width: 100%;
}
.google-btn:hover { background: #f8f9fa; box-shadow: 0 1px 6px rgba(0,0,0,.1); }

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .8rem;
  margin: 18px 0;
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Form extras ─────────────────────────────────────────── */
.req { color: #dc2626; font-size: .85em; }
.form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: .92rem;
  border-top: 1.5px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
  margin-bottom: 14px;
}
.radio-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.radio-card input[type=radio] { accent-color: var(--gold); }
.radio-card.selected, .radio-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(204,160,82,.06);
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 4px;
}
.checkbox-label input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.checkbox-label a { color: var(--gold-dark); font-weight: 600; }

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--navy);
  padding: 13px 20px;
  min-height: 48px;
  font: 800 .95rem/1 inherit;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.button:hover { background: var(--gold-mid); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.button.secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(204,160,82,.6);
}
.button.secondary:hover { background: rgba(204,160,82,.12); border-color: var(--gold); }

.button.outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.button.outline-navy:hover { background: var(--navy); color: white; }

.button.sm { padding: 9px 14px; min-height: 38px; font-size: .85rem; }
.button.full { width: 100%; }

/* Botões dentro do card de produto: texto quebra em vez de vazar do botão */
.product-card .button {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  gap: 6px;
  padding-left: 8px;
  padding-right: 8px;
}
.product-card .button svg { flex-shrink: 0; order: 2; }
.add-cart-full { display: none; }
.add-cart-short { display: inline; order: 1; }
.button.ghost { background: rgba(255,255,255,.1); color: white; }
.button.ghost:hover { background: rgba(255,255,255,.2); }

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: inherit;
  transition: background var(--transition);
  cursor: pointer;
}
.button-icon:hover { background: rgba(255,255,255,.12); }

/* ── Header ─────────────────────────────────────────────── */
/*
  Mobile  → brand | actions
            search (full width)
            nav    (full width)
  ≥760px  → brand | search (expand) | actions
             nav (full width)
*/
.site-header {
  display: grid;
  grid-template-areas:
    "brand actions"
    "search search"
    "catmenu catmenu"
    "nav    nav";
  grid-template-columns: 1fr auto;
  row-gap: 10px;
  column-gap: 8px;
  padding: 12px 16px;
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.brand {
  grid-area: brand;
  align-self: center;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.brand:hover { opacity: .85; }
.brand span { color: var(--gold); }

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: center;
}
/* "Minha conta" e texto "Carrinho" ficam ocultos em mobile */
.btn-account { display: none; }
.cart-label  { display: none; }
/* No botão de busca só o ícone no mobile */
.search-btn-text { display: none; }

.cart-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-weight: 700;
  font-size: .88rem;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.22);
  transition: background var(--transition);
  white-space: nowrap;
}
.cart-badge:hover { background: rgba(255,255,255,.1); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}

/* Search */
.search {
  grid-area: search;
  display: flex;
  gap: 8px;
}
.search input {
  flex: 1;
  min-width: 0;          /* evita overflow no grid */
  min-height: 44px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: inherit;
  font-size: .95rem;
  background: rgba(255,255,255,.08);
  color: white;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.search input::placeholder { color: rgba(255,255,255,.5); }
.search input:focus { border-color: var(--gold); background: rgba(255,255,255,.12); }
.search button {
  flex-shrink: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--navy);
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
}
.search button:hover { background: var(--gold-mid); }

/* Menu de categorias mobile (hamburger) */
.mobile-cat-menu {
  grid-area: catmenu;
  position: relative;
}
.mobile-cat-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: white;
  font-weight: 700;
  font-size: .88rem;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 9px 14px;
  transition: background var(--transition);
}
.mobile-cat-toggle::-webkit-details-marker { display: none; }
.mobile-cat-toggle::marker { content: ""; }
.mobile-cat-toggle:hover { background: rgba(255,255,255,.1); }
.mobile-cat-toggle .cat-caret { margin-left: 2px; transition: transform var(--transition); }
.mobile-cat-menu[open] > .mobile-cat-toggle .cat-caret { transform: rotate(180deg); }
.mobile-cat-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 150;
  padding: 6px 0;
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-cat-panel > a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
}
.mobile-cat-panel > a:hover { background: rgba(255,255,255,.08); color: white; }
.mobile-cat-panel > a.active { color: var(--gold); font-weight: 800; }
.mobile-cat-sub summary {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.mobile-cat-sub summary::-webkit-details-marker { display: none; }
.mobile-cat-sub summary:hover { background: rgba(255,255,255,.08); color: white; }
.mobile-cat-sub summary.active { color: var(--gold); font-weight: 800; }
.mobile-cat-sub-list { padding-left: 10px; padding-bottom: 4px; }
.mobile-cat-sub-list a {
  display: block;
  padding: 8px 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
}
.mobile-cat-sub-list a:hover { background: rgba(255,255,255,.06); color: white; }
.mobile-cat-sub-list a.active { color: var(--gold); font-weight: 700; }

/* Nav pills */
.nav-wrapper {
  position: relative;
  grid-area: nav;
  display: none;
}
.nav-wrapper::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 48px; height: 100%;
  background: linear-gradient(to right, transparent, var(--navy));
  pointer-events: none;
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  white-space: nowrap;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav a:hover { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.32); }
.nav a.active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 800; }

/* ── Nav dropdown (subcategorias) ───────────────────────── */
.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-caret {
  opacity: .7;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-submenu {
  display: none;
  position: fixed;
  min-width: 200px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-dropdown.open .nav-submenu { display: block; }
.nav-submenu a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  font-weight: 500;
  border: none;
  border-radius: 0;
  background: none;
  white-space: nowrap;
}
.nav-submenu a:hover { background: rgba(255,255,255,.09); color: white; border: none; }
.nav-submenu a.active { color: var(--gold); font-weight: 700; background: rgba(204,160,82,.1); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  display: grid;
  gap: 0;
  background: linear-gradient(155deg, #0d1520 0%, #131c28 55%, #1a2e48 100%);
  color: white;
  overflow: hidden;
  position: relative;
  /* clip diagonal bottom */
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding-bottom: 40px;
  margin-bottom: -24px;
}

/* Floating dental SVG — antigravity element */
.hero-float {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .06;
  pointer-events: none;
  animation: float-slow 6s ease-in-out infinite;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(-50%) rotate(-8deg); }
  50%       { transform: translateY(calc(-50% - 18px)) rotate(4deg); }
}

/* Glowing orb behind title */
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(204,160,82,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  padding: 52px 20px 36px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2rem, 7.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 16px;
  font-weight: 900;
  font-family: 'Sora', system-ui, sans-serif;
  /* Decorative big number behind — desktop only via ::before on parent */
}
/* Giant decorative "16" in background of hero */
.hero-content::after {
  content: '16';
  position: absolute;
  right: 0; top: 10px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(7rem, 28vw, 14rem);
  font-weight: 900;
  color: rgba(204,160,82,.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-content > * { position: relative; z-index: 1; }

.hero p { max-width: 600px; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.7; }

.hero-panel {
  margin: 0 20px 20px;
  border: 1px solid rgba(204,160,82,.35);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}
.hero-panel strong { display: block; font-size: 1.2rem; color: var(--gold); margin-bottom: 6px; line-height: 1.3; font-family: 'Sora', sans-serif; }
.hero-panel span { color: rgba(255,255,255,.65); font-size: .88rem; }
.hero-panel .hero-ctas { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204,160,82,.1);
  border: 1px solid rgba(204,160,82,.28);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold);
  transition: background var(--transition);
}
.trust-chip:active { background: rgba(204,160,82,.2); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ── Para quem é ─────────────────────────────────────────── */
.profiles-section {
  padding: 52px 20px 40px;
}
.profiles-section h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: var(--navy);
  margin-bottom: 6px;
}
.profiles-subtitle {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 28px;
}
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.profile-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.profile-card:active {
  transform: scale(.97);
  border-color: var(--gold);
}
.profile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-card strong {
  font-size: .92rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.3;
}
.profile-card span {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Contador de confiança ───────────────────────────────── */
.stats-band {
  background: var(--navy);
  padding: 36px 20px;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  margin: -8px 0;
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}
.stat-item {
  text-align: center;
  color: white;
}
.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Tilt 3D nos cards (mobile: só scale no :active) ────── */
.product-card, .category-tile {
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:active, .category-tile:active {
  transform: scale(.97);
  border-color: var(--gold-mid);
}
/* Tilt via JS no desktop — classe aplicada por site.js */
.card-tilt {
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

/* ── Sections ────────────────────────────────────────────── */
.section, .page { padding: 40px 18px; max-width: 1180px; margin: 0 auto; }
.band { max-width: none; background: var(--soft); padding-left: 18px; padding-right: 18px; }
.band .section { background: none; padding-left: 0; padding-right: 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-header h2 { font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--navy); }
.section-header a { color: var(--gold-mid); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.section-header a:hover { color: var(--gold); }

.page h1 { font-size: clamp(1.8rem, 6vw, 3.2rem); line-height: 1.1; margin-bottom: 16px; color: var(--navy); }

/* ── Grids ───────────────────────────────────────────────── */
.category-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.feature-grid { display: grid; gap: 14px; }

/* ── Category tile ───────────────────────────────────────── */
.category-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.category-tile:hover {
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-tile strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 800; }
.category-tile span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.category-icon { font-size: 1.5rem; margin-bottom: 4px; }

/* ── Product card ────────────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-image {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--soft) 0%, var(--soft-dark) 100%);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: .8rem;
  text-align: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold-mid);
}
.product-image-placeholder svg { opacity: .45; }
.product-card h3 { margin: 0; font-size: .92rem; color: var(--navy); line-height: 1.4; flex: 1; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--gold-dark); }
.product-card p { color: var(--muted); font-size: .82rem; margin: 0; line-height: 1.45; }
.product-price { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.price-old { color: var(--muted); font-size: .8rem; text-decoration: line-through; }
.price { color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.price-installment { color: var(--muted); font-size: .78rem; }
.product-card form { margin-top: auto; padding: 0 14px 14px; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-promo { background: #dc2626; color: white; }
.badge-new { background: var(--navy); color: var(--gold); border: 1px solid var(--gold-dark); }
.product-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; z-index: 2; }

/* ── Feature grid ────────────────────────────────────────── */
.feature-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-grid article:hover { border-color: var(--gold-mid); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.6rem; }
.feature-grid strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 800; }
.feature-grid span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ── Trust bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
}
.trust-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* ── Split layout ────────────────────────────────────────── */
.split { display: grid; gap: 28px; }

/* ── Forms ───────────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea,
.buy-box input[type="number"],
.cart-row input[type="number"] {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus,
.buy-box input:focus, .cart-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(204,160,82,.18);
}
.form input:focus-visible { outline: none; }
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23687182' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check input { width: auto; min-height: auto; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold); }
.form-hint { color: var(--muted); font-size: .8rem; font-weight: 400; }
.form-error { color: var(--error); font-size: .8rem; font-weight: 600; }

/* Form section divider */
.form-section { display: grid; gap: 14px; padding: 18px; background: var(--soft); border-radius: var(--radius); border: 1px solid var(--border); }
.form-section-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin: 0; }

/* ── Quantity control ────────────────────────────────────── */
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-control button {
  border: 0;
  background: var(--soft);
  color: var(--navy);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-control button:hover { background: var(--soft-dark); }
.qty-control input {
  width: 52px;
  height: 44px;
  border: 0;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font: 700 1rem inherit;
  color: var(--navy);
  background: white;
  outline: none;
  min-height: unset;
}

/* ── Buy box ─────────────────────────────────────────────── */
.buy-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.buy-box-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.installment-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .85rem;
  color: var(--ink);
  font-weight: 600;
}
.installment-info strong { color: var(--success); }

/* ── Product detail ──────────────────────────────────────── */
.product-photo {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--soft), var(--soft-dark));
  color: var(--gold-dark);
  font-weight: 900;
  font-size: .9rem;
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-sku { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stock-ok { color: var(--success); font-size: .85rem; font-weight: 700; }
.stock-low { color: #d97706; font-size: .85rem; font-weight: 700; }

/* ── Cart ────────────────────────────────────────────────── */
.cart-container { display: grid; gap: 24px; }
.cart-items { display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  background: white;
}
.cart-row:last-child { border-bottom: 0; }
.cart-row-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--muted);
  text-align: center;
  padding: 4px;
  flex-shrink: 0;
  font-weight: 700;
}
.cart-row-info { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-row-name { font-weight: 700; color: var(--navy); font-size: .92rem; }
.cart-row-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cart-row-price { font-weight: 800; color: var(--navy); font-size: 1rem; }
.cart-remove {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: .8rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.cart-remove:hover { color: var(--error); background: var(--error-bg); }

.cart-summary {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.cart-summary-row.total { font-size: 1.15rem; font-weight: 800; color: var(--navy); padding-top: 12px; border-top: 1.5px solid var(--border); }
.cart-payment-info {
  background: var(--info-bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .83rem;
  color: #1e40af;
  font-weight: 600;
}

/* ── Checkout steps ──────────────────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 900;
  background: var(--soft);
  color: var(--muted);
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.step-label { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.checkout-step.active .step-num { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.checkout-step.active .step-label { color: var(--navy); }
.checkout-step.done .step-num { background: var(--success); color: white; border-color: var(--success); }
.checkout-step.done .step-label { color: var(--success); }
.step-connector { width: 28px; height: 2px; background: var(--border); flex-shrink: 0; }
.checkout-step.done + .step-connector { background: var(--success); }

/* ── Summary box ─────────────────────────────────────────── */
.summary {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 80px;
}
.summary h2 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.summary-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: .88rem; }
.summary-item span:first-child { color: var(--ink); flex: 1; }
.summary-item span:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  padding-top: 12px;
  border-top: 2px solid var(--border);
}

/* ── Pix box ─────────────────────────────────────────────── */
.pix-box {
  border: 2px solid #1fae5b;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  background: #f0fdf4;
}
.pix-box h2 { color: #166534; margin-bottom: 8px; }
.pix-qr {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 2px dashed #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .8rem;
  margin: 16px auto;
}
.pix-copy {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.pix-copy input {
  flex: 1;
  font-size: .8rem;
  padding: 10px 12px;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink);
  font-family: monospace;
}
.pix-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  color: #166534;
  font-size: .85rem;
  margin-top: 12px;
}

/* ── Order card ──────────────────────────────────────────── */
.order-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: white;
  margin-bottom: 10px;
  transition: box-shadow var(--transition);
}
.order-card:hover { box-shadow: var(--shadow); }
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 999px;
}
.status-approved { background: #dcfce7; color: #166534; }
.status-pending { background: #fffbeb; color: #92400e; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-default { background: var(--soft); color: var(--muted); }

/* ── Notices ─────────────────────────────────────────────── */
.notice {
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: .92rem;
  line-height: 1.55;
  border-left: 4px solid;
}
.notice.success { background: var(--success-bg); border-color: var(--success); color: #166534; }
.notice.error { background: var(--error-bg); border-color: var(--error); color: #991b1b; }
.notice.warning { background: var(--warning-bg); border-color: #d97706; color: var(--warning); }
.notice.info, .notice { background: var(--info-bg); border-color: #3b82f6; color: #1e3a8a; }

/* ── Empty states ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 52px 20px;
  color: var(--muted);
}
.empty-state svg { opacity: .3; margin-bottom: 16px; }
.empty-state h3 { color: var(--navy); margin-bottom: 8px; }
.empty-state p { max-width: 360px; margin: 0 auto 20px; font-size: .92rem; }

/* ── Map ─────────────────────────────────────────────────── */
.map { width: 100%; min-height: 260px; border: 0; border-radius: var(--radius); border: 1.5px solid var(--border); }

/* ── Subcategory filter pills ────────────────────────────── */
.subcategory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.sub-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.sub-btn:hover { border-color: var(--gold); color: var(--gold); }
.sub-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

/* ── Filters ─────────────────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--soft);
  margin-bottom: 20px;
}
.filters select, .filters input {
  min-height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: inherit;
  font-size: .88rem;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition);
}
.filters select:focus, .filters input:focus { border-color: var(--gold); }
.filter-label { font-size: .83rem; font-weight: 700; color: var(--muted); }

/* ── Customer area sidebar ───────────────────────────────── */
.customer-layout { display: grid; gap: 24px; }
.customer-sidebar {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.customer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.customer-nav a:last-child { border-bottom: 0; }
.customer-nav a:hover { background: var(--soft); color: var(--navy); }
.customer-nav a.active { background: var(--navy); color: var(--gold); font-weight: 800; }
.customer-welcome {
  padding: 16px 18px;
  background: var(--navy);
  color: white;
}
.customer-welcome strong { display: block; font-size: .95rem; }
.customer-welcome span { font-size: .82rem; color: rgba(255,255,255,.65); }

/* ── Contact info ────────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}
.contact-item strong { display: block; font-size: .83rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: .95rem; color: var(--ink); font-weight: 600; }
.contact-item a:hover { color: var(--gold-dark); }

/* ── WhatsApp CTA ────────────────────────────────────────── */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1fae5b;
  color: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 800;
  font-size: .95rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.whatsapp-cta:hover { background: #178a49; box-shadow: 0 6px 20px rgba(31,174,91,.35); }

/* ── WhatsApp float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  background: #1fae5b;
  color: white;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 900;
  font-size: .9rem;
  box-shadow: 0 8px 28px rgba(31,174,91,.42);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: wpp-pulse 2.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #178a49;
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(31,174,91,.5);
  animation: none;
}
@keyframes wpp-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(31,174,91,.42); }
  50% { box-shadow: 0 8px 28px rgba(31,174,91,.42), 0 0 0 10px rgba(31,174,91,.1); }
}

/* ── Scroll to top ───────────────────────────────────────── */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 199;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold-dark);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: white;
  padding: 44px 18px 96px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}
.footer-brand strong { font-size: 1.15rem; font-weight: 900; color: white; }
.footer-brand strong span { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .85rem; margin: 6px 0 0; line-height: 1.6; }
.footer-col h4 { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-mid); margin-bottom: 12px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,.38); font-size: .78rem; margin: 0; }

/* ── Admin layout ────────────────────────────────────────── */
.admin-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px);
  align-items: start;
}
.admin-sidebar {
  background: var(--navy);
  min-height: calc(100vh - 60px);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 0 0;
}
.admin-sidebar-label {
  color: rgba(255,255,255,.35);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 16px 18px 6px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: rgba(255,255,255,.65);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .14s, color .14s;
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { background: rgba(255,255,255,.07); color: white; }
.admin-nav-item.active {
  background: rgba(204,160,82,.13);
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 700;
}
.admin-nav-item.danger { color: #fca5a5; }
.admin-nav-item.danger:hover { background: rgba(220,38,38,.15); }
.admin-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 8px 0;
}
.admin-main { min-width: 0; }
.admin-topbar {
  background: white;
  border-bottom: 1.5px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-topbar h1 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin: 0; }
.admin-content { padding: 24px 28px; }

/* stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat-card { background: white; border: 1.5px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.stat-card .stat-label { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 900; color: var(--navy); margin-top: 4px; line-height: 1; }
.stat-card .stat-sub { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.stat-card.danger { border-color: #fca5a5; }
.stat-card.danger .stat-value { color: #dc2626; }
.stat-card.warning .stat-value { color: #d97706; }
.stat-card.success .stat-value { color: #16a34a; }
.stat-card-link { cursor: pointer; transition: box-shadow .15s, border-color .15s, transform .12s; user-select: none; }
.stat-card-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); border-color: var(--gold); transform: translateY(-2px); }
.stat-card-link:active { transform: translateY(0); box-shadow: none; }
.stat-card-link .stat-sub { transition: color .15s; }
.stat-card-link:hover .stat-sub { color: var(--gold-dark); }

/* ABC badge */
.abc-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; font-size: .75rem; font-weight: 900; }
.abc-A { background: #dcfce7; color: #15803d; }
.abc-B { background: #fef9c3; color: #854d0e; }
.abc-C { background: #fee2e2; color: #991b1b; }

/* trend arrow */
.trend-down { color: #dc2626; font-weight: 700; }
.trend-up   { color: #16a34a; font-weight: 700; }

/* tab nav */
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 10px 18px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }

/* data table */
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table th { background: #f8f8f8; color: var(--navy); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; text-align: left; border-bottom: 1.5px solid var(--border); white-space: nowrap; }
.data-table td { padding: 9px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafafa; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; overflow-x: auto; }

.admin-header {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-header h1 { font-size: 1.1rem; font-weight: 800; color: var(--gold); margin: 0; }

@media (max-width: 860px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; flex-direction: row; flex-wrap: wrap; position: relative; padding: 4px 8px; }
  .admin-sidebar-label { display: none; }
  .admin-nav-item { padding: 8px 10px; border-left: none; border-bottom: 3px solid transparent; font-size: .8rem; }
  .admin-nav-item.active { background: none; border-bottom-color: var(--gold); border-left-color: transparent; }
  .admin-sidebar-footer { margin-top: 0; border-top: none; padding: 0; }
  .admin-content { padding: 16px; }
}

/* ── Divider ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.divider.gold { background: linear-gradient(90deg, transparent, var(--gold-mid), transparent); }

/* ── Responsive ──────────────────────────────────────────── */
/* ── 480px — phones paisagem ─────────────────────────────── */
@media (min-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ── 640px — tablets pequenos ────────────────────────────── */
@media (min-width: 640px) {
  /* Mostrar texto "Carrinho" e "Minha conta" */
  .cart-label  { display: inline; }
  .btn-account { display: inline-flex; }
  .search-btn-text { display: inline; }

  /* Header passa para 3 colunas: brand | search | actions */
  .site-header {
    grid-template-areas:
      "brand search actions"
      "nav   nav    nav";
    grid-template-columns: auto 1fr auto;
    column-gap: 16px;
  }

  /* Menu hamburger só existe no mobile; acima disso volta o menu de pills */
  .mobile-cat-menu { display: none; }
  .nav-wrapper { display: block; }

  /* Texto completo do botão de adicionar ao carrinho volta a partir daqui */
  .add-cart-full { display: inline; order: initial; }
  .add-cart-short { display: none; }
  .product-card .button svg { order: initial; }
}

/* ── 760px — tablets ─────────────────────────────────────── */
@media (min-width: 760px) {
  .hero {
    display: flex;
    align-items: stretch;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    margin-bottom: -32px;
  }
  .hero-content {
    flex: 1.6;
    padding: 80px 5vw 80px 7vw;
  }
  .hero-panel {
    flex: 0.9;
    margin: 32px 5vw 32px 0;
    align-self: center;
  }
  .hero-panel .hero-ctas { flex-direction: row; }
  .hero-float { opacity: .08; right: 5%; width: 240px; }
  .profiles-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .profile-card:hover {
    border-color: var(--gold-mid);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }

  .section, .page { padding: 56px 32px; }
  .band { padding-left: 32px; padding-right: 32px; }

  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid   { grid-template-columns: repeat(3, 1fr); }
  .feature-grid   { grid-template-columns: repeat(2, 1fr); }

  .split { grid-template-columns: 1fr 1fr; }

  .cart-row {
    grid-template-columns: 64px 1fr auto auto;
    gap: 16px;
    align-items: center;
  }
  .cart-row-controls { flex-direction: row; justify-content: flex-start; }

  .customer-layout { grid-template-columns: 220px 1fr; align-items: start; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  .checkout-steps { gap: 0; }
}

/* ── 1080px — desktop ────────────────────────────────────── */
@media (min-width: 1080px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid   { grid-template-columns: repeat(4, 1fr); }
  .feature-grid   { grid-template-columns: repeat(4, 1fr); }
}
