/* ============================================
   SMART PEÇAS I9 — CATÁLOGO E-COMMERCE
   Layout: Logo topo + Sidebar + Conteúdo
   ============================================ */
:root {
  --site-bg: var(--cfg-fundo, #0c1222);
  --site-surface: #141b2d;
  --site-card: #1a2237;
  --site-border: #243049;
  --site-primary: var(--cfg-primaria, #3b82f6);
  --site-accent: var(--cfg-destaque, #f59e0b);
  --site-text: #e8edf5;
  --site-muted: #7b8ba5;
  --site-radius: 12px;
  --sidebar-w: 280px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body.site-body {
  font-family: var(--cfg-fonte-corpo, 'DM Sans'), sans-serif;
  background: var(--site-bg);
  color: var(--site-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ====== LOGO BANNER (topo, grande e centralizado) ====== */
.site-logo-banner {
  background: var(--site-surface);
  border-bottom: 1px solid var(--site-border);
  padding: 18px 24px; text-align: center;
}
.site-logo-banner a {
  text-decoration: none; display: inline-block;
}
.site-logo-banner img {
  max-height: 80px; max-width: 100%; object-fit: contain; display: block; margin: 0 auto;
}
.site-logo-banner .logo-title {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: 30px; font-weight: 800; color: var(--site-primary);
}
/* Barra de busca centralizada no banner */
.site-search-banner {
  max-width: 520px; margin: 14px auto 0; position: relative;
}

/* ====== HEADER (busca + nav, sticky) ====== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,18,34,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--site-border);
  padding: 0 24px;
}
.site-header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; height: 52px; gap: 16px;
}
/* Barra de busca */
.site-search { flex: 1; max-width: 520px; position: relative; }
.site-search input {
  width: 100%; padding: 10px 16px 10px 40px;
  background: var(--site-surface); border: 1px solid var(--site-border);
  border-radius: 10px; color: var(--site-text); font-size: 16px;
  outline: none; transition: border-color .2s;
}
.site-search input:focus { border-color: var(--site-primary); }
.site-search::before {
  content: '🔍'; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); font-size: 14px; pointer-events: none;
}
/* Nav links */
.site-nav { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.site-nav a, .site-nav button {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; font-size: 13px;
  font-weight: 600; text-decoration: none; border: none;
  cursor: pointer; transition: all .2s;
}
.site-btn-ghost { background: transparent; color: var(--site-muted); }
.site-btn-ghost:hover { background: var(--site-surface); color: var(--site-text); }
.site-btn-cart { background: var(--site-primary); color: white; position: relative; }
.site-btn-cart:hover { filter: brightness(1.1); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--site-accent); color: #000; font-size: 10px;
  font-weight: 800; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ====== LOGO BANNER (topo grande) — override ====== */
.site-logo-banner .logo-title {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: 32px; font-weight: 800; color: var(--site-primary);
  margin-top: 6px;
}

/* ====== LAYOUT: SIDEBAR + MAIN ====== */
.site-layout {
  display: flex; max-width: 1400px; margin: 0 auto;
  min-height: calc(100vh - 130px);
}

/* ====== SIDEBAR (navegação por categorias) ====== */
.site-sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--site-surface);
  border-right: 1px solid var(--site-border);
  padding: 16px 0; overflow-y: auto;
  position: sticky; top: 52px; height: calc(100vh - 52px);
}
.sidebar-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--site-muted);
  padding: 0 16px 12px; border-bottom: 1px solid var(--site-border);
  margin-bottom: 4px;
}
/* Accordion: categoria pai */
.sidebar-cat {
  border-bottom: 1px solid rgba(36,48,73,.5);
}
.sidebar-cat-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; cursor: pointer;
  transition: background .15s; user-select: none;
}
.sidebar-cat-header:hover { background: rgba(59,130,246,.06); }
.sidebar-cat-header .cat-name {
  flex: 1; font-size: 13px; font-weight: 700;
  color: var(--site-text); text-decoration: none;
}
.sidebar-cat-header .cat-name:hover { color: var(--site-primary); }
.sidebar-cat-header .cat-arrow {
  font-size: 18px; color: var(--site-muted);
  transition: transform .25s ease;
}
.sidebar-cat.open .cat-arrow { transform: rotate(180deg); }
.sidebar-cat.active > .sidebar-cat-header { background: rgba(59,130,246,.08); }
.sidebar-cat.active > .sidebar-cat-header .cat-name { color: var(--site-primary); }
/* Accordion: subcategorias */
.sidebar-subs {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: rgba(0,0,0,.15);
}
.sidebar-cat.open .sidebar-subs { max-height: 600px; }
.sidebar-sub-link {
  display: block; padding: 9px 16px 9px 40px;
  font-size: 12px; color: var(--site-muted);
  text-decoration: none; transition: all .15s;
  border-left: 3px solid transparent;
}
.sidebar-sub-link:hover {
  color: var(--site-text); background: rgba(59,130,246,.06);
  border-left-color: var(--site-primary);
}
.sidebar-sub-link.active {
  color: var(--site-primary); font-weight: 700;
  border-left-color: var(--site-primary); background: rgba(59,130,246,.08);
}
/* Link "Todos os Produtos" */
.sidebar-all {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; font-size: 13px; font-weight: 700;
  color: var(--site-primary); text-decoration: none;
  border-bottom: 1px solid var(--site-border);
  transition: background .15s;
}
.sidebar-all:hover { background: rgba(59,130,246,.06); }

/* ====== MAIN CONTENT ====== */
.site-main {
  flex: 1; padding: 24px; min-width: 0;
}

/* ====== HERO ====== */
.site-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--site-surface) 0%, var(--site-bg) 100%);
  padding: 48px 32px; text-align: center;
  border-radius: var(--site-radius); margin-bottom: 28px;
  border: 1px solid var(--site-border);
}
.site-hero h1 {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: clamp(24px, 4vw, 42px); font-weight: 800;
  background: linear-gradient(135deg, var(--site-text), var(--site-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.site-hero p { font-size: 15px; color: var(--site-muted); max-width: 500px; margin: 0 auto 24px; }
.site-hero-cta {
  display: inline-flex; gap: 10px; padding: 12px 28px;
  background: var(--site-primary); color: white; border-radius: 10px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.site-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }

/* ====== SECTIONS ====== */
.site-section { margin-bottom: 32px; }
.site-section-title {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: 20px; font-weight: 700; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.site-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--site-border);
}

/* ====== CATEGORIES (chips para filtro em /produtos) ====== */
.cat-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0; padding: 8px 18px; border-radius: 50px;
  background: var(--site-card); border: 1px solid var(--site-border);
  color: var(--site-text); font-size: 12px; font-weight: 600;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.cat-chip:hover, .cat-chip.active {
  background: var(--site-primary); border-color: var(--site-primary); color: white;
}
.cat-chip.small { font-size: 11px; padding: 4px 10px; border-radius: 14px; }
.filter-group { margin-bottom: 18px; }

/* ====== PRODUCT GRID ====== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.prod-card {
  background: var(--site-card); border-radius: var(--site-radius);
  border: 1px solid var(--site-border); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
}
.prod-card.prod-esgotado {
  opacity: .55;
  position: relative;
}
.prod-card.prod-esgotado:hover {
  transform: none;
  box-shadow: none;
}
.prod-esgotado-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: #ef4444; color: white; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 6px; letter-spacing: .5px;
}
.prod-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  background: #ffffff; cursor: pointer;
}
.prod-img-placeholder {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: var(--site-surface); color: var(--site-muted); font-size: 32px;
}
.prod-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.prod-code { font-size: 11px; color: var(--site-muted); font-weight: 500; }
.prod-name {
  font-size: 13px; font-weight: 600; margin: 4px 0 6px;
  line-height: 1.3;
  height: calc(1.3em * 4);
  overflow: hidden;
}
.prod-stock { margin-top: auto; }
.prod-price {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: 18px; font-weight: 800; color: var(--site-accent);
}
.prod-btn-add {
  width: 100%; margin-top: 8px; padding: 9px;
  background: var(--site-primary); color: white;
  border: none; border-radius: 8px; font-weight: 700; font-size: 12px;
  cursor: pointer; transition: filter .2s;
}
.prod-btn-add:hover { filter: brightness(1.15); }
.prod-badge {
  display: inline-block; font-size: 10px; font-weight: 600;
  color: var(--site-accent); background: rgba(245,158,11,.12);
  padding: 2px 8px; border-radius: 8px; margin-top: 4px;
}

/* ====== BANNER CAROUSEL ====== */
.banner-carousel {
  display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 8px;
  margin-bottom: 24px;
}
.banner-slide {
  flex: 0 0 auto; border-radius: var(--site-radius);
  overflow: hidden; max-width: 100%;
}
.banner-slide img { width: 100%; object-fit: cover; display: block; }

/* ====== CART PAGE ====== */
.cart-item {
  display: flex; gap: 16px; padding: 16px;
  background: var(--site-card); border-radius: var(--site-radius);
  border: 1px solid var(--site-border); margin-bottom: 12px;
  align-items: center;
}
.cart-item-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--site-surface); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-code { font-size: 11px; color: var(--site-muted); }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--site-border);
  background: var(--site-surface); color: var(--site-text); cursor: pointer;
  font-weight: 700; font-size: 14px;
}
.cart-qty span { font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-price { font-weight: 800; font-size: 16px; color: var(--site-accent); min-width: 100px; text-align: right; }
.cart-item-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 18px; padding: 4px; }

/* ====== AUTH PAGES ====== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--site-bg);
}
.auth-card {
  background: var(--site-card); border: 1px solid var(--site-border);
  border-radius: 16px; padding: 40px; width: 100%; max-width: 440px;
}
.auth-card h1 {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: 28px; font-weight: 800; margin-bottom: 8px;
}
.auth-card p { color: var(--site-muted); font-size: 14px; margin-bottom: 24px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12px; font-weight: 600; color: var(--site-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.auth-field input {
  width: 100%; padding: 12px 14px; background: var(--site-surface);
  border: 1px solid var(--site-border); border-radius: 8px;
  color: var(--site-text); font-size: 14px; outline: none; transition: border-color .2s;
}
.auth-field input:focus { border-color: var(--site-primary); }
.auth-btn {
  width: 100%; padding: 14px; background: var(--site-primary); color: white;
  border: none; border-radius: 10px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: filter .2s; margin-top: 8px;
}
.auth-btn:hover { filter: brightness(1.1); }
.auth-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; padding: 12px 16px; border-radius: 8px;
  font-size: 13px; margin-bottom: 16px;
}

/* ====== FOOTER ====== */
.site-footer {
  background: linear-gradient(180deg, var(--site-surface) 0%, #0d1321 100%);
  border-top: 1px solid var(--site-border);
  padding: 48px 24px 32px;
  text-align: center;
  margin-top: 60px;
}
.site-footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #e8edf5;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.site-footer-dash {
  color: var(--site-primary, #3b82f6);
  margin: 0 4px;
}
.site-footer-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--site-primary, #3b82f6), transparent);
  margin: 16px auto 20px;
  border-radius: 2px;
}
.site-footer-info p {
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.site-footer-info strong {
  color: #c8d2e0;
  font-weight: 700;
}
.site-footer-rights {
  margin-top: 6px !important;
  font-size: 11px !important;
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ====== PAGINATION ====== */
.site-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.site-pagination a {
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; background: var(--site-card); color: var(--site-muted);
  border: 1px solid var(--site-border); transition: all .2s;
}
.site-pagination a.active, .site-pagination a:hover {
  background: var(--site-primary); color: white; border-color: var(--site-primary);
}

/* ====== BUSCA INTELIGENTE — TELA CASCATA ====== */
.cascade-picker {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 50vh;
  padding: 40px 16px; text-align: center;
}
.cascade-header { margin-bottom: 32px; }
.cascade-icon {
  font-size: 48px; color: var(--site-primary); opacity: .7;
  margin-bottom: 8px; display: block;
}
.cascade-title {
  font-family: var(--cfg-fonte-display, 'Outfit'), sans-serif;
  font-size: clamp(22px, 4vw, 32px); font-weight: 800;
  color: var(--site-text); margin: 0 0 8px;
}
.cascade-subtitle {
  font-size: 15px; color: var(--site-muted); margin: 0 0 4px;
}
.cascade-subtitle strong { color: var(--site-primary); }
.cascade-info {
  font-size: 12px; color: var(--site-muted); opacity: .7; margin: 0;
}
.cascade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; width: 100%; max-width: 640px;
}
.cascade-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 20px 12px;
  background: var(--site-card); border: 1px solid var(--site-border);
  border-radius: var(--site-radius); text-decoration: none;
  transition: all .2s; cursor: pointer;
}
.cascade-card:hover {
  border-color: var(--site-primary);
  background: rgba(59,130,246,.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.cascade-card-icon {
  font-size: 28px; color: var(--site-primary);
}
.cascade-card-name {
  font-size: 13px; font-weight: 700; color: var(--site-text);
  line-height: 1.2;
}
.cascade-card-count {
  font-size: 11px; color: var(--site-muted); font-weight: 500;
}
.cascade-footer { margin-top: 28px; }
.cascade-ver-todos {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 10px;
  background: transparent; border: 1px solid var(--site-border);
  color: var(--site-muted); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.cascade-ver-todos:hover {
  border-color: var(--site-primary); color: var(--site-primary);
  background: rgba(59,130,246,.06);
}

/* ====== MOBILE: Sidebar vira menu toggle ====== */
.sidebar-toggle {
  display: none; position: fixed; bottom: 20px; left: 20px; z-index: 200;
  background: var(--site-primary); color: white; border: none;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 24px; cursor: pointer; box-shadow: 0 4px 16px rgba(59,130,246,.4);
  align-items: center; justify-content: center;
}
.sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .site-header-inner { gap: 8px; height: auto; padding: 8px 0; }
  .site-search { max-width: 100%; flex: 1; }
  .site-nav { gap: 4px; }
  .site-nav a span.hide-mobile { display: none; }
  .site-nav a, .site-nav button { min-height: 44px; min-width: 44px; justify-content: center; padding: 8px 10px; }
  .site-logo-banner { padding: 12px 16px; }
  .site-logo-banner img { max-height: 64px; max-width: 90vw; }
  .site-logo-banner .logo-title { font-size: 20px; }

  /* Sidebar: off-canvas */
  .site-sidebar {
    position: fixed; left: -300px; top: 0; z-index: 180;
    width: 280px; height: 100vh;
    transition: left .3s ease;
  }
  .site-sidebar.open { left: 0; }
  .sidebar-toggle { display: flex; }
  .sidebar-overlay.show { display: block; }

  .site-layout { flex-direction: column; }
  .site-main { padding: 16px 12px; }
  .site-hero { padding: 28px 16px; margin-bottom: 16px; }
  .site-hero h1 { font-size: 20px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-name { font-size: 11px; height: calc(1.3em * 4); }
  .prod-price { font-size: 15px; }
  .prod-btn-add { padding: 8px; font-size: 11px; }
  .cart-item { flex-wrap: wrap; }
  .site-section { margin-bottom: 20px; }
  .banner-carousel { margin-bottom: 16px; }
  .banner-slide img { max-height: 200px; }
  .site-footer { margin-top: 32px; padding: 32px 16px 24px; }
  .site-footer-brand { font-size: 18px; }
  .filter-group { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-chip { font-size: 11px; padding: 6px 12px; }
  .cascade-picker { min-height: 40vh; padding: 24px 12px; }
  .cascade-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cascade-card { padding: 16px 10px; }
}

@media (max-width: 480px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .prod-info { padding: 8px; }
  .prod-name { font-size: 11px; height: calc(1.3em * 4); }
  .prod-price { font-size: 14px; }
  .auth-card { padding: 24px 20px; }
  .upgrade-modal { max-width: 95vw !important; margin: 10px; }
  .upgrade-compare { flex-direction: column; gap: 10px; }
  .upgrade-arrow { transform: rotate(90deg); }
}

/* ============================================================
   MODAL UPGRADE / UPSELL
   ============================================================ */
.upgrade-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.upgrade-overlay.show { display: flex; }
.upgrade-modal {
  background: var(--site-bg, #0f172a); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; max-width: 480px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: upgradeIn .3s ease;
  overflow: hidden;
}
@keyframes upgradeIn {
  from { opacity: 0; transform: scale(.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.upgrade-header {
  text-align: center; padding: 28px 24px 12px;
}
.upgrade-header h2 {
  font-size: 20px; font-weight: 800; color: #f8fafc; margin: 8px 0 0;
  font-family: 'Outfit', 'DM Sans', sans-serif;
}
.upgrade-body { padding: 0 24px 20px; }
.upgrade-msg {
  font-size: 14px; line-height: 1.6; color: #94a3b8; text-align: center;
  margin: 0 0 20px;
}
.upgrade-msg strong { color: #f59e0b; }
.upgrade-compare {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.upgrade-arrow { font-size: 28px; color: #f59e0b; }
.upgrade-card {
  flex: 1; background: #1e293b; border-radius: 14px; padding: 16px;
  text-align: center; border: 2px solid transparent;
}
.upgrade-current { border-color: #334155; opacity: .7; }
.upgrade-better { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245,158,11,.15); }
.upgrade-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 8px; margin-bottom: 8px;
}
.upgrade-current .upgrade-label { background: #334155; color: #94a3b8; }
.upgrade-better .upgrade-label { background: rgba(245,158,11,.15); color: #f59e0b; }
.upgrade-img {
  width: 80px; height: 80px; object-fit: contain; border-radius: 10px;
  margin: 0 auto 8px; display: block; background: #0f172a;
}
.upgrade-name {
  font-size: 12px; color: #cbd5e1; font-weight: 600;
  line-height: 1.3; margin-bottom: 6px; word-break: break-word;
}
.upgrade-price {
  font-size: 16px; font-weight: 800; color: #94a3b8;
  font-family: 'Outfit', 'DM Sans', sans-serif;
}
.upgrade-price-highlight { color: #f59e0b !important; font-size: 18px; }
.upgrade-footer {
  padding: 0 24px 24px; display: flex; flex-direction: column; gap: 10px;
}
.upgrade-btn-accept {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000; font-size: 15px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: filter .2s; box-shadow: 0 4px 16px rgba(245,158,11,.3);
}
.upgrade-btn-accept:hover { filter: brightness(1.1); }
.upgrade-btn-keep {
  width: 100%; padding: 12px; border: 1px solid #334155; border-radius: 12px;
  background: transparent; color: #94a3b8; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.upgrade-btn-keep:hover { border-color: #475569; color: #cbd5e1; }
