/* ============================================================================
   CTVA STORE (ctvastore.com.br) - SISTEMA MULTI-TEMAS (3 TEMAS SELECIONÁVEIS)
   1. ctva_original   -> Compatível com o site da Academia CTVA (Preto + Amarelo #FFE600)
   2. crimson_street  -> Loja de Vestuário / Streetwear (Off-White + Grafite + Vermelho #E11D48)
   3. titanium_cobalt -> Esportivo Tech Moderno (Titanium Escuro + Azul Cobalto #38BDF8)
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

/* ----------------------------------------------------------------------------
   TEMA 1 (PADRÃO): CTVA YELLOW PRO (IDENTIDADE PRÓPRIA E-COMMERCE - ARREDONDADO)
   Mantém a paleta Amarelo & Escuro da marca, mas com layout moderno e arredondado
   ---------------------------------------------------------------------------- */
:root,
[data-theme="ctva_original"] {
  --bg-tatame: #0b0e14;
  --bg-surface: #111621;
  --bg-card: #161c2a;
  --bg-elevated: #1f273a;
  --navbar-bg: rgba(11, 14, 20, 0.92);

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-gold: rgba(250, 204, 21, 0.45);

  --gold-primary: #facc15;
  --gold-bright: #fde047;
  --gold-dark: #eab308;
  --gold-glow: rgba(250, 204, 21, 0.15);
  --btn-accent-text: #0b0e14;
  --btn-clip: none;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --hero-bg:
    radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.15), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(234, 179, 8, 0.08), transparent 40%),
    linear-gradient(180deg, #0f141e 0%, #0b0e14 100%);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.14);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.14);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.14);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-lg: 0 20px 45px -15px rgba(2, 6, 23, 0.8);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------------------
   TEMA 2: DARK TATAME GOLD (PRETO, CINZA CHUMBO E DOURADO CAMPEÃO) - TEMA CLÁSSICO
   ---------------------------------------------------------------------------- */
[data-theme="dark_tatame"] {
  --bg-tatame: #090b0f;
  --bg-surface: #12161f;
  --bg-card: #171c28;
  --bg-elevated: #1e2536;
  --navbar-bg: rgba(9, 11, 15, 0.92);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 169, 60, 0.4);

  --gold-primary: #e5a93c;
  --gold-bright: #f5c156;
  --gold-dark: #b8811d;
  --gold-glow: rgba(229, 169, 60, 0.16);
  --btn-accent-text: #090b0f;
  --btn-clip: none;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --hero-bg:
    radial-gradient(circle at 80% 20%, rgba(229, 169, 60, 0.14), transparent 45%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 2px,
      transparent 2px,
      transparent 8px
    ),
    linear-gradient(180deg, #0d1017 0%, #090b0f 100%);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

/* ----------------------------------------------------------------------------
   TEMA 3: VESTUÁRIO & STREETWEAR CRIMSON (OFF-WHITE, GRAFITE E VERMELHO LOJA)
   ---------------------------------------------------------------------------- */
[data-theme="crimson_street"] {
  --bg-tatame: #f4f5f8;
  --bg-surface: #eceef3;
  --bg-card: #ffffff;
  --bg-elevated: #e2e6ee;
  --navbar-bg: rgba(15, 17, 23, 0.97);

  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-gold: rgba(225, 29, 72, 0.4);

  --gold-primary: #e11d48;
  --gold-bright: #be123c;
  --gold-dark: #9f1239;
  --gold-glow: rgba(225, 29, 72, 0.1);
  --btn-accent-text: #ffffff;
  --btn-clip: none;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --hero-bg:
    radial-gradient(circle at 85% 20%, rgba(225, 29, 72, 0.1), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f4f5f8 100%);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-lg: 0 18px 36px -12px rgba(15, 23, 42, 0.12);
}

/* Ajuste da Navbar escura no tema claro de vestuário para contraste premium */
[data-theme="crimson_street"] .navbar {
  color: #f8fafc;
}
[data-theme="crimson_street"] .navbar .btn-outline {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="crimson_street"] .navbar .btn-outline:hover {
  border-color: #e11d48;
  background: rgba(225, 29, 72, 0.2);
  color: #ffffff;
}

/* ----------------------------------------------------------------------------
   TEMA 3: TITANIUM & COBALT PRO (AZUL NOTURNO, PRATA E AZUL COBALTO/CIANO)
   ---------------------------------------------------------------------------- */
[data-theme="titanium_cobalt"] {
  --bg-tatame: #070d19;
  --bg-surface: #0f172a;
  --bg-card: #152036;
  --bg-elevated: #1e2d4a;
  --navbar-bg: rgba(7, 13, 25, 0.92);

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-gold: rgba(56, 189, 248, 0.45);

  --gold-primary: #0ea5e9;
  --gold-bright: #38bdf8;
  --gold-dark: #0284c7;
  --gold-glow: rgba(56, 189, 248, 0.15);
  --btn-accent-text: #ffffff;
  --btn-clip: none;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --hero-bg:
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(59, 130, 246, 0.1), transparent 40%),
    linear-gradient(180deg, #0b1324 0%, #070d19 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-lg: 0 20px 45px -15px rgba(2, 6, 23, 0.8);
}

/* ============================================================================
   RESET E BASE
   ============================================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-tatame);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, .font-display {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

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

/* ============================================================================
   NAVBAR & LOGO OFICIAL CTVA (C T V Λ)
   ============================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ctva-svg-logo {
  height: 28px;
  width: auto;
  display: block;
}

.ctva-svg-logo path {
  fill: var(--gold-primary);
  transition: fill 0.25s ease;
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.18);
}

.brand-subtitle {
  font-size: 0.72rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ============================================================================
   BOTÕES E BADGES
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.btn-gold {
  background: var(--gold-primary);
  color: var(--btn-accent-text);
  clip-path: var(--btn-clip);
}

.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--btn-accent-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-bright);
  background: var(--gold-glow);
}

.btn-danger {
  background: var(--danger-bg);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
}

.cart-trigger {
  position: relative;
}

.cart-badge {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: var(--gold-glow);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info);
}

/* ============================================================================
   HERO BANNER
   ============================================================================ */
.hero {
  position: relative;
  padding: 3.5rem 0;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-eyebrow {
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 span {
  color: var(--gold-primary);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 1.75rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item strong {
  display: block;
  color: var(--gold-primary);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* ============================================================================
   FILTROS E CATÁLOGO DE PRODUTOS
   ============================================================================ */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.25rem 0 1.5rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--gold-primary);
  color: var(--btn-accent-text);
  border-color: var(--gold-primary);
}

.search-box {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 360px;
}

.input, .select, .textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: var(--transition);
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  height: 255px;
  background: #0d1017;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-sizes-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.5rem 0 1rem;
}

.size-chip-mini {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
}

.size-chip-mini.out {
  opacity: 0.35;
  text-decoration: line-through;
}

.product-price-box {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}

.price-current {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}

.price-pix-hint {
  font-size: 0.74rem;
  color: var(--success);
  font-weight: 600;
}

/* ============================================================================
   MODAIS E GAVETA DO CARRINHO
   ============================================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
}

.modal-body {
  padding: 1.5rem;
}

.close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

.close-btn:hover {
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
}

.selector-group {
  margin-bottom: 1.15rem;
}

.selector-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-pill {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.option-pill:hover:not(:disabled) {
  border-color: var(--gold-primary);
}

.option-pill.selected {
  background: var(--gold-glow);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 0 1px var(--gold-primary);
}

.option-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(150, 150, 150, 0.45);
}

/* ============================================================================
   CARDS DE SELEÇÃO DE TEMA NO PAINEL ADMIN
   ============================================================================ */
.theme-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.theme-selector-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.theme-selector-card:hover {
  border-color: var(--gold-primary);
}

.theme-selector-card.active {
  border-color: var(--gold-primary);
  background: var(--gold-glow);
}

.theme-swatches {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.theme-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================================================
   PAINEL ADMINISTRATIVO (DASHBOARD, ESTOQUE, KARDEX, PEDIDOS, APIS)
   ============================================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 74px);
}

.admin-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.admin-nav-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.admin-nav-btn.active {
  background: var(--gold-glow);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.admin-main {
  padding: 1.75rem;
  overflow-x: auto;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.kpi-card.gold {
  border-color: var(--border-gold);
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kpi-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: rgba(128, 128, 128, 0.04);
}

tr:hover td {
  background: rgba(128, 128, 128, 0.03);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.shipping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.shipping-option.selected {
  border-color: var(--gold-primary);
  background: var(--gold-glow);
}

.pix-qr-box {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 1rem auto;
}

.toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-elevated);
  border-left: 4px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  margin-top: 4rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .product-detail-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .admin-nav-btn {
    white-space: nowrap;
    width: auto;
  }
}
