/* ==========================================================================
   LEÕES BATERIAS — Design System
   Paleta: Graphite/Black · White · Gold/Yellow #ffc83b
   ========================================================================== */
:root {
  /* Cores primárias */
  --gold:         #ffc83b;
  --gold-hover:   #f5b800;
  --gold-dark:    #d97706;
  --gold-light:   #fffbeb;
  --gold-border:  #fde68a;

  /* Superfícies escuras */
  --dark:         #0f1117;
  --dark-2:       #161b26;
  --dark-3:       #1e2736;
  --dark-card:    #252d3c;

  /* Superfícies claras */
  --white:        #ffffff;
  --light:        #f4f6f9;
  --light-2:      #eef1f6;
  --card:         #ffffff;

  /* Texto */
  --text:         #0f172a;
  --text-2:       #374151;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;

  /* Bordas */
  --border:       #e2e8f0;
  --border-2:     #d1d5db;

  /* Estados */
  --success:      #16a34a;
  --success-bg:   #dcfce7;
  --danger:       #dc2626;
  --wpp:          #25d366;
  --wpp-hover:    #1da851;

  /* Raios */
  --r-xs:  4px;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Sombras */
  --s-xs: 0 1px 2px rgba(15,23,42,.06);
  --s-sm: 0 2px 8px rgba(15,23,42,.08);
  --s-md: 0 4px 16px rgba(15,23,42,.10);
  --s-lg: 0 8px 30px rgba(15,23,42,.14);
  --s-gold: 0 0 18px rgba(255,200,59,.30);

  /* Transição */
  --ease: all 0.22s cubic-bezier(0.4,0,0.2,1);

  /* Container */
  --max-w: 1440px;
  --px: 1.5rem;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: #080b10;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 0.35rem var(--px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar strong { color: var(--gold); }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.top-bar-right a {
  color: #94a3b8;
  transition: var(--ease);
}
.top-bar-right a:hover { color: var(--gold); }
.top-bar .sep { color: rgba(255,255,255,.18); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  border-bottom: 2px solid rgba(255,200,59,.15);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.7rem var(--px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  border: 1px solid rgba(255,200,59,.2);
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Search */
.search-wrap {
  flex: 1;
  max-width: 700px;
}

.search-field {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--r-full);
  padding: 3px 3px 3px 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.search-field:focus-within {
  border-color: var(--gold);
}

.search-field input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.search-btn {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--ease);
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--gold-hover);
  box-shadow: var(--s-gold);
}

/* Header Utils */
.header-utils {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.util-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  cursor: default;
}

.util-item > i {
  font-size: 1.2rem;
  color: var(--gold);
}

.util-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.util-text small {
  font-size: 0.68rem;
  color: #64748b;
}

.util-text span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.header-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--ease);
}

.header-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cart-pill {
  position: relative;
  background: var(--dark-3);
  border: 1.5px solid rgba(255,255,255,.15);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--ease);
}

.cart-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--s-gold);
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==========================================================================
   NAVIGATION STRIP
   ========================================================================== */
.nav-strip {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-strip-inner::-webkit-scrollbar { display: none; }

.nav-cat {
  padding: 0.65rem 1.1rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 3px solid transparent;
  transition: var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.nav-cat i {
  color: var(--gold);
  font-size: 0.9rem;
}

.nav-cat:hover {
  color: #ffffff;
  background: rgba(255,255,255,.05);
}

.nav-cat.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255,200,59,.08);
}

.nav-cat-special {
  color: #fb923c !important;
  margin-left: auto;
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 1.2rem;
}
.nav-cat-special i { color: #fb923c !important; }
.nav-cat-special:hover { color: #fdba74 !important; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(160deg, #0f1117 0%, #1a2035 100%);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr 260px;
  min-height: 380px;
}

/* Left Sidebar */
.hero-sidebar {
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.07);
}

.sidebar-header {
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255,200,59,.12);
  border-bottom: 1px solid rgba(255,200,59,.15);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sidebar-header i { color: var(--gold); }

.sidebar-list { padding: 0.5rem 0; }

.sidebar-list li a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  color: #94a3b8;
  font-size: 0.82rem;
  transition: var(--ease);
  border-left: 3px solid transparent;
}

.sidebar-list li a:hover {
  background: rgba(255,200,59,.08);
  color: #ffffff;
  border-left-color: var(--gold);
}

.sidebar-list li a > i:first-child {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-list li a div {
  flex: 1;
  min-width: 0;
}

.sidebar-list li a strong {
  display: block;
  font-weight: 700;
  color: #cbd5e1;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-list li a small {
  font-size: 0.72rem;
  color: #475569;
}

.arr {
  font-size: 0.7rem;
  color: #334155 !important;
  flex-shrink: 0;
}

.sidebar-list li a:hover .arr { color: var(--gold) !important; }

/* Center Banner */
.hero-banner {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,59,.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.8rem;
  border-radius: var(--r-full);
  width: fit-content;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}

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

.hero-desc {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--ease);
  box-shadow: 0 4px 16px rgba(255,200,59,.35);
}

.btn-hero-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255,200,59,.45);
}

.btn-hero-wpp {
  background: var(--wpp);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--ease);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}

.btn-hero-wpp:hover {
  background: var(--wpp-hover);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-item i { color: var(--gold); }

/* Right Widget */
.hero-widget {
  padding: 1rem;
  border-left: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
  background: rgba(0,0,0,.15);
}

.widget-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--ease);
}

.widget-card:hover {
  background: rgba(255,200,59,.07);
  border-color: rgba(255,200,59,.2);
}

.widget-card-highlight {
  background: rgba(255,200,59,.10);
  border-color: rgba(255,200,59,.25);
}

.widget-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.widget-card-highlight .widget-icon {
  background: var(--gold-hover);
}

.widget-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #e2e8f0;
}

.widget-info span {
  font-size: 0.72rem;
  color: #475569;
}

/* ==========================================================================
   FINDER PANEL
   ========================================================================== */
.finder-panel {
  background: linear-gradient(90deg, #0f1117 0%, #1a2035 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.finder-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--px);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.finder-label {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  border-right: 2px solid var(--gold);
  padding-right: 2rem;
}

.label-top {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.label-bot {
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.finder-cats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  flex-wrap: wrap;
}

.finder-cat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--ease);
}

.finder-cat i { color: var(--gold); }

.finder-cat:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.finder-cat:hover i { color: var(--dark); }

/* ==========================================================================
   PRODUCT SECTIONS
   ========================================================================== */
.product-section {
  padding: 2rem 0;
}

.bg-light-section {
  background: var(--white);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-head-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.section-icon-dark {
  background: var(--dark);
  color: var(--gold);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
}

.section-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.see-all-btn {
  background: transparent;
  border: 1.5px solid var(--border-2);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--ease);
}

.see-all-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Grid Toolbar */
.grid-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.grid-count {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-wrap label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.sort-sel {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  outline: none;
}

/* ==========================================================================
   PRODUCT GRID (Dense Layout)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* Product Card */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--s-md), 0 0 0 1px rgba(255,200,59,.15);
}

.product-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-image-box .card-image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.product-image-box .card-image-slide.is-active {
  opacity: 1;
}

.product-card:hover .product-image-box .card-image-slide.is-active {
  transform: scale(1.05);
}

/* Placeholder */
.placeholder-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  padding: 1rem;
  text-align: center;
  width: 100%;
  height: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1.5px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dark);
}

.placeholder-text {
  font-size: 0.73rem;
  font-weight: 700;
  color: #94a3b8;
}

/* Badges */
.card-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-popular, .badge-sale, .badge-discount {
  background: var(--gold);
  color: var(--dark);
}

.badge-new, .badge-launch {
  background: var(--dark);
  color: var(--white);
}

.badge-default {
  background: var(--gold);
  color: var(--dark);
}

/* Discount badge (percentage) */
.badge-pct {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: var(--danger);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-full);
  z-index: 2;
}

/* Quick View */
.quick-view-btn {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0;
  transform: translateY(4px);
  transition: var(--ease);
  z-index: 2;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: var(--gold);
}

/* Card Content */
.product-content {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-category {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
}

.stars { color: #f59e0b; }

.rating-count {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid var(--light-2);
  margin-top: auto;
  gap: 0.5rem;
  min-width: 0;
}

.price-container {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  overflow: hidden;
}

.old-price {
  font-size: 0.7rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.current-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.pix-price {
  font-size: 0.68rem;
  color: var(--success);
  font-weight: 700;
}

.add-cart-btn {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--ease);
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.add-cart-btn:hover {
  background: var(--gold-hover);
  transform: scale(1.04);
}

/* Add Product Card */
.add-product-card {
  background: var(--card);
  border: 2px dashed var(--border-2);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: var(--ease);
  min-height: 240px;
  color: var(--text-muted);
}

.add-product-card:hover {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--gold-dark);
}

.add-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: var(--ease);
}

.add-product-card:hover .add-icon-circle {
  background: var(--gold);
  color: var(--dark);
}

.add-product-card h3 {
  font-size: 0.88rem;
  font-weight: 800;
}

.add-product-card p {
  font-size: 0.76rem;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ==========================================================================
   PROMO BANNER STRIP
   ========================================================================== */
.promo-banner-strip {
  background: linear-gradient(135deg, #0f1117 0%, #1a2035 100%);
  border-top: 1px solid rgba(255,200,59,.12);
  border-bottom: 1px solid rgba(255,200,59,.12);
  padding: 1.5rem var(--px);
}

.promo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.promo-text h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.promo-text h3 i { color: var(--gold); }

.promo-text p {
  font-size: 0.85rem;
  color: #64748b;
  max-width: 540px;
}

.promo-cta {
  background: var(--wpp);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--ease);
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  flex-shrink: 0;
}

.promo-cta:hover {
  background: var(--wpp-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  backdrop-filter: blur(4px);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--s-lg);
  transform: translateY(10px);
  transition: transform 0.2s;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.modal-head h3 i { color: var(--gold-dark); }

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: var(--ease);
}

.modal-close:hover {
  background: var(--light);
  color: var(--danger);
}

.modal-body-content {
  padding: 1.5rem;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

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

.form-ctrl {
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-ctrl:focus {
  border-color: var(--gold);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--ease);
  box-shadow: 0 4px 14px rgba(255,200,59,.3);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  background: var(--dark-2);
  z-index: 600;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 30px rgba(0,0,0,.4);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-drawer-head h3 i { color: var(--gold); }

.cart-drawer-head .modal-close {
  color: #64748b;
}

.cart-drawer-head .modal-close:hover {
  background: rgba(255,255,255,.08);
  color: var(--danger);
}

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  margin-bottom: 0.65rem;
}

.cart-item-placeholder {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.3rem;
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.qty-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  transition: var(--ease);
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

.cart-item-qty span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  min-width: 1.5rem;
  text-align: center;
}

.cart-drawer-foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.cart-total-row span:last-child {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 900;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-stack {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--s-lg);
  border-left: 3px solid var(--gold);
  animation: slideInRight 0.3s ease;
  max-width: 320px;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--dark);
  border-top: 2px solid rgba(255,200,59,.12);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--px) 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-col p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--ease);
}

.footer-col ul li a i {
  color: var(--gold);
  font-size: 0.75rem;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-wpp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--wpp);
  color: #ffffff;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--ease);
}

.footer-wpp-btn:hover {
  background: var(--wpp-hover);
}

.payment-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.pay-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,.06);
  color: #64748b;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-xs);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.08);
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #475569;
}

.trust-badges span i { color: var(--success); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1rem var(--px);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #2d3748;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem var(--px);
}

.breadcrumb-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb-container a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--ease);
}

.breadcrumb-container a:hover { color: var(--gold-dark); }

.breadcrumb-separator {
  color: var(--text-light);
}

.product-detail-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--px) 4rem;
  flex: 1;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2.5rem;
  align-items: start;
  min-width: 0;
}

/* Detail Media Column */
.detail-media-column {
  position: static;
}

.detail-main-image-box {
  background: #f8fafc;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
}

.detail-main-image-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-main-image-box:has(#detailMainImage) {
  cursor: zoom-in;
}

.detail-zoom-lens {
  position: absolute;
  width: 132px;
  height: 132px;
  border: 3px solid #111827;
  border-radius: 50%;
  background-repeat: no-repeat;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .28);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .15s ease;
  z-index: 3;
}

.detail-zoom-lens.visible { opacity: 1; }

.product-zoom-modal { max-width: min(90vw, 900px); }

.product-zoom-body {
  position: relative;
  padding: 1rem;
  background: #f8fafc;
}

.product-zoom-body img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--r-sm);
}

.product-zoom-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 17, 23, .82);
  color: var(--white);
  font-size: 1.25rem;
  transform: translateY(-50%);
  transition: var(--ease);
}

.product-zoom-nav:hover { background: #000; color: var(--gold); }
.product-zoom-prev { left: .75rem; }
.product-zoom-next { right: .75rem; }

.detail-badges-wrapper {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.detail-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.thumb-box {
  width: 68px;
  height: 68px;
  border-radius: var(--r-sm);
  border: 2px solid var(--border);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--ease);
  padding: 0;
  overflow: hidden;
}

.thumb-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--ease);
}

.thumb-box:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.thumb-box.active {
  background: #000;
  border-color: #000;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .25);
  transform: translateY(2px);
}

.thumb-box.active img {
  opacity: .7;
  filter: brightness(.72);
}

.highlights-banner {
  display: flex;
  gap: 0.5rem;
}

.highlight-item {
  flex: 1;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-2);
  text-align: center;
}

.highlight-item i {
  font-size: 1.1rem;
  color: var(--gold-dark);
}

/* Detail Info Column */
.detail-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-category-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.5px;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
}

.price-card-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
}

.detail-old-price {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.2rem;
}

.detail-current-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.payment-conditions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.payment-conditions strong { color: var(--text); }
.payment-conditions span { color: var(--success); font-weight: 700; }

.action-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quantity-control-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-control-wrapper label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  background: var(--light);
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  transition: var(--ease);
}

.quantity-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

.quantity-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  outline: none;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  padding: 0.5rem;
}

.btn-whatsapp {
  background: var(--wpp);
  color: #ffffff;
  padding: 0.9rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--ease);
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}

.btn-whatsapp:hover {
  background: var(--wpp-hover);
  transform: translateY(-2px);
}

.purchase-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.delivery-calculator {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--light);
}

.delivery-calculator > label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.delivery-calculator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.purchase-distance-input {
  width: 118px;
  min-width: 0;
  max-width: 118px;
  flex: 0 1 118px;
  box-sizing: border-box;
  padding: 0.45rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.calculate-delivery-btn {
  flex: 1;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--dark);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.calculate-delivery-btn:hover { background: var(--dark-3); }
.calculate-delivery-btn:disabled { cursor: wait; opacity: .65; }

.delivery-status {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.purchase-toggle {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: #fef2f2;
  color: var(--danger);
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
  transition: var(--ease);
}

.purchase-toggle:hover { transform: translateY(-1px); }

.purchase-toggle-scrap.is-selected {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.purchase-toggle-pickup {
  background: #fef2f2;
  border-color: var(--border-2);
  color: var(--danger);
}

.purchase-toggle-pickup.is-delivery-active {
  background: #fef2f2;
  border-color: var(--danger);
  color: var(--danger);
}

.purchase-toggle-pickup.is-selected {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.detail-current-price,
.payment-conditions {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Specs Section */
.specs-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.specs-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.specs-table-container {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.specs-table tr:nth-child(even) { background: #f8fafc; }

.specs-table th {
  width: 35%;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 800;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--light);
}

.specs-table td {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* Section header on pages */
.section-header {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 200px 1fr 220px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-sidebar { display: none; }
  .hero-widget { display: none; }

  .hero-banner {
    padding: 2rem 1.5rem;
  }

  .hero-title { font-size: 1.8rem; }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-media-column {
    position: static;
  }
}

@media (max-width: 768px) {
  :root { --px: 1rem; }

  .detail-zoom-lens { display: none; }

  .top-bar-right { display: none; }

  .util-item { display: none; }
  .login-btn span { display: none; }

  .header-inner { gap: 0.75rem; }

  .logo-sub { display: none; }

  .logo-name { font-size: 1.1rem; }

  .logo-img { height: 40px; width: 40px; }

  .hero-title { font-size: 1.5rem; }

  .finder-inner { flex-direction: column; gap: 1rem; }
  .finder-label { border-right: none; border-bottom: 2px solid var(--gold); padding-right: 0; padding-bottom: 0.75rem; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .promo-inner {
    flex-direction: column;
    text-align: center;
  }

  .cart-drawer { width: 100%; }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .hero-title { font-size: 1.3rem; }

  .current-price { font-size: 0.92rem; }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .price-container {
    width: 100%;
    overflow: visible;
  }

  .add-cart-btn {
    width: 100%;
    max-width: none;
    justify-content: center;
    font-size: 0.7rem;
    padding: 0.38rem 0.6rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   QUOTE CALCULATOR — REGRAS DO PDF
   ═══════════════════════════════════════════════════════════ */
.quote-calculator-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1rem;
}

.quote-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.quote-badge-pdf {
  background: var(--dark);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-options-grid {
  display: grid;
  gap: 1rem;
}

.quote-field-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.quote-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quote-radio-btn {
  flex: 1;
  min-width: 130px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--r-sm);
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
}

.quote-radio-btn strong {
  font-size: 0.7rem;
  color: #0369a1;
}

.quote-radio-btn.active {
  background: #eff6ff;
  border-color: #0284c7;
  color: #0369a1;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.quote-radio-btn.active strong {
  color: #0284c7;
}

/* PDF Breakdown Table */
.pdf-breakdown-table {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  margin-top: 1.1rem;
}

.pdf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.pdf-row:last-child {
  border-bottom: none;
}

.pdf-row strong {
  color: var(--text);
  font-weight: 700;
}

.pdf-row.highlight-discount strong {
  color: var(--success);
}

.pdf-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--dark);
  font-weight: 900;
  font-size: 1rem;
  color: var(--dark);
}

.pdf-total-val {
  font-size: 1.4rem;
  color: #0284c7;
}

/* WhatsApp Header Pill & Checkout Button */
.wpp-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wpp-header-pill:hover {
  background: #1eb857;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-wpp-checkout {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  padding: 0.85rem 1.25rem !important;
  border: none !important;
  border-radius: var(--r-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
}

.btn-wpp-checkout:hover {
  background: linear-gradient(135deg, #1eb857 0%, #0e7065 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
}