/* ══════════════════════════════════════════════════════════════════════════════
   TECH DARK — Premium Electronics Theme v3.0
   The Accountant Shop Platform
   Design: Space-black editorial, product-first, Apple × Fnac × Samsung
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:          #070B12;
  --bg-2:        #0C1018;
  --bg-3:        #131922;
  --bg-4:        #1B2333;
  --bg-card:     #0F1520;
  --cyan:        #00D4FF;  /* overridden per-company via functions.php */
  --orange:      #FF6B35;  /* overridden per-company via functions.php */
  --blue:        #0060FF;
  --blue-light:  #4D90FF;
  --cyan-dim:    rgba(0, 212, 255, 0.12);
  --cyan-glow:   rgba(0, 212, 255, 0.22);
  --blue-glow:   rgba(0, 96, 255, 0.22);
  --text:        #F0F4FF;
  --text-2:      #B0BCCF;
  --text-muted:  #6B7A96;
  --text-dim:    #333D52;
  --border:      rgba(255, 255, 255, 0.07);
  --border-2:    rgba(255, 255, 255, 0.12);
  --gradient:    linear-gradient(135deg, var(--blue), var(--cyan));
  --gradient-r:  linear-gradient(135deg, var(--cyan), var(--blue));
  --shadow:      0 24px 80px rgba(0, 0, 0, 0.55);
  --shadow-sm:   0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-cyan: 0 12px 48px rgba(0, 212, 255, 0.20);
  --shadow-blue: 0 12px 48px rgba(0, 96, 255, 0.25);
  --radius:      10px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --nav-h:       68px;
  --container:   1260px;
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h5, h6 { font-weight: 700; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ── */
.container { width: min(var(--container), 100% - 5rem); margin-inline: auto; }
.section { padding: 7rem 0; }
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-inline: auto; }

/* Hero left column uses .container for max-width but lives inside the CSS grid */
.hero-content { padding: 5rem 4rem 5rem 0; }
.hero-content .container {
  /* override: hero-content is already sized by CSS grid, no need for centered container */
  width: 100%; margin: 0; padding: 0;
  max-width: var(--container);
  padding-left: max(1.25rem, calc((100vw - var(--container)) / 2));
}
.hero-content-inner { max-width: 680px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--cyan);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block; width: 20px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.75;
  font-weight: 400;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition); cursor: pointer;
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--blue-glow);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 36px var(--cyan-glow); }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.5rem 0;
}
.btn-ghost:hover { color: var(--cyan); }
.btn-ghost i { font-size: 0.75rem; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.85rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-sale   { background: var(--blue); color: #fff; }
.badge-hot    { background: rgba(255,107,53,0.15); color: var(--orange); border: 1px solid rgba(255,107,53,0.3); }
.badge-new    { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0,212,255,0.25); }
.badge-top    { background: rgba(255,193,7,0.12); color: #FFC107; border: 1px solid rgba(255,193,7,0.25); }

/* ── DIVIDERS ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), var(--cyan-dim), var(--border-2), transparent);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.site-nav.scrolled {
  background: rgba(7, 11, 18, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  height: var(--nav-h);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text); flex-shrink: 0;
  white-space: nowrap;
}
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.nav-logo-name { font-size: 1rem; font-weight: 800; }
.nav-logo-sub  { font-size: 0.6rem; font-weight: 400; color: var(--text-muted); display: block; letter-spacing: 0.04em; }
.nav-cats {
  display: flex; gap: 0; overflow: hidden;
}
.nav-cat-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition); white-space: nowrap;
}
.nav-cat-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cat-link.all { color: var(--cyan); }
.nav-search {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.52rem 1rem;
  width: 280px; transition: var(--transition);
}
.nav-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); width: 320px; }
.nav-search i { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; }
.nav-search input { background: none; border: none; outline: none; color: var(--text); font-size: 0.855rem; width: 100%; }
.nav-search input::placeholder { color: var(--text-muted); }
.nav-actions { display: flex; gap: 0.4rem; align-items: center; flex-shrink: 0; }
.nav-icon-btn {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition);
  font-size: 0.88rem; position: relative;
}
.nav-icon-btn:hover { background: var(--cyan-dim); border-color: rgba(0,212,255,0.3); color: var(--cyan); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--blue); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
/* Mobile nav */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--border);
}
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: var(--transition); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--cyan); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--cyan); }
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7, 11, 18, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem;
  z-index: 999;
}
.nav-mobile.open { display: flex; flex-direction: column; gap: 0.3rem; }
.nav-mobile-link {
  padding: 0.8rem 1rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition);
}
.nav-mobile-link:hover { background: var(--cyan-dim); color: var(--text); }
.nav-mobile-search {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.65rem 1rem; margin-bottom: 0.75rem;
}
.nav-mobile-search input { background: none; border: none; outline: none; color: var(--text); font-size: 0.9rem; width: 100%; }

/* ══════════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--bg);
}

/* Background effects */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0, 96, 255, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 85% 75%, rgba(0, 212, 255, 0.06) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
/* Subtle noise/grid texture */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.012) 80px, rgba(255,255,255,0.012) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.009) 80px, rgba(255,255,255,0.009) 81px);
  pointer-events: none; z-index: 0;
}

/* Left content column */
.hero-content {
  position: relative; z-index: 2;
  padding: 5rem 4rem 5rem 0;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.42rem 1.1rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--cyan);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.hero-title-line2 {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.05em; /* prevent clip on descenders */
}
.hero-subtitle {
  font-size: 1.1rem; font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats {
  display: flex; gap: 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat {
  flex: 1;
  padding-right: 1.5rem;
}
.hero-stat + .hero-stat {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-left: 1px solid var(--border);
}
.hero-stat:last-child { padding-right: 0; }
.hero-stat-num {
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-num span { color: var(--cyan); }
.hero-stat-label {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Right product image column */
.hero-visual {
  position: relative; z-index: 2;
  height: 100%;
  min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Radial glow behind product */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(0, 96, 255, 0.18) 0%, rgba(0, 212, 255, 0.10) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
.hero-product-img {
  position: relative; z-index: 1;
  width: 88%;
  max-height: 75vh;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 40px 80px rgba(0, 96, 255, 0.30));
  animation: hero-float 6s ease-in-out infinite;
}
.hero-product-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 88%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  position: relative; z-index: 1;
  font-size: 5rem; color: var(--text-muted);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* Floating data chips */
.hero-chip {
  position: absolute;
  background: rgba(13, 16, 24, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  display: flex; align-items: center; gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.hero-chip-icon { font-size: 1.3rem; line-height: 1; }
.hero-chip-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.hero-chip-value { font-size: 0.9rem; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.chip-1 { bottom: 22%; left: -6%;  animation: chip-float 5s ease-in-out infinite; }
.chip-2 { top: 18%;    left: -10%; animation: chip-float 5s ease-in-out infinite 1.5s; }
.chip-3 { bottom: 38%; right: 4%;  animation: chip-float 5s ease-in-out infinite 3s; }

/* ══════════════════════════════════════════════════════════════════════════════
   TRUST STRIP
   ══════════════════════════════════════════════════════════════════════════════ */
.trust-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}
.trust-track {
  display: flex;
  animation: trust-ticker 32s linear infinite;
  width: max-content;
}
.trust-track:hover { animation-play-state: paused; }
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  border-right: 1px solid var(--border);
  white-space: nowrap; flex-shrink: 0;
}
.trust-item-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--cyan-dim); border: 1px solid rgba(0,212,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: 0.85rem; flex-shrink: 0;
}
.trust-item-text strong {
  display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); line-height: 1.3;
}
.trust-item-text span { font-size: 0.72rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════════════════
   CATEGORY BENTO GRID
   ══════════════════════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 220px 200px;
  gap: 1rem;
}
.bento-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
}
.bento-cell::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--cell-gradient, linear-gradient(145deg, rgba(0,96,255,0.12), rgba(0,212,255,0.04)));
  opacity: 1; transition: opacity 0.35s;
  z-index: 0;
}
.bento-cell::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(7,11,18,0.92) 0%, rgba(7,11,18,0.5) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.bento-cell:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); box-shadow: var(--shadow-sm); }
.bento-cell:hover::before { opacity: 1.5; }
.bento-cell:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Bento cell sizes */
.bento-cell:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.bento-cell:nth-child(2) { grid-column: span 4; }
.bento-cell:nth-child(3) { grid-column: span 3; }
.bento-cell:nth-child(4) { grid-column: span 3; }
.bento-cell:nth-child(5) { grid-column: span 4; }
.bento-cell:nth-child(6) { grid-column: span 5; display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; }

/* Cell content */
.bento-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  position: relative; z-index: 3;
  flex-shrink: 0;
}
.bento-label {
  position: relative; z-index: 3;
}
.bento-name {
  font-size: 1rem; font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.bento-count {
  font-size: 0.72rem; color: var(--text-muted);
  font-weight: 500;
}
/* Tall cell adjustments */
.bento-cell:nth-child(1) .bento-icon { width: 64px; height: 64px; font-size: 1.8rem; margin-bottom: 1rem; border-radius: 18px; }
.bento-cell:nth-child(1) .bento-name { font-size: 1.35rem; }

/* CTA "all" cell */
.bento-cell-all {
  background: var(--gradient);
  border-color: transparent;
}
.bento-cell-all::before { display: none; }
.bento-cell-all::after { display: none; }
.bento-cell-all .bento-name { font-size: 1.05rem; color: #fff; }
.bento-cell-all .bento-count { color: rgba(255,255,255,0.75); }
.bento-cell-all .bento-arrow { font-size: 1.8rem; color: rgba(255,255,255,0.8); }

/* ── Product image inside bento cell ── */
.bento-product-img {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-55%);
  height: 78%;
  width: 52%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.5;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.6));
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.bento-cell:hover .bento-product-img {
  opacity: 0.72;
  transform: translateY(-60%) scale(1.07);
}
.bento-cell:nth-child(1) .bento-product-img {
  right: 6%;
  height: 58%;
  width: 55%;
  top: 42%;
}
.bento-cell-all .bento-product-img { display: none; }

/* Color variants for bento */
.cat-blue    { --cell-gradient: linear-gradient(145deg, rgba(0,96,255,0.16), rgba(0,96,255,0.03));  }
.cat-blue    .bento-icon    { background: rgba(0,96,255,0.18); color: var(--blue-light); }
.cat-cyan    { --cell-gradient: linear-gradient(145deg, rgba(0,212,255,0.14), rgba(0,212,255,0.02)); }
.cat-cyan    .bento-icon    { background: rgba(0,212,255,0.15); color: var(--cyan); }
.cat-purple  { --cell-gradient: linear-gradient(145deg, rgba(140,60,220,0.14), rgba(140,60,220,0.02)); }
.cat-purple  .bento-icon    { background: rgba(140,60,220,0.15); color: #B06EE0; }
.cat-orange  { --cell-gradient: linear-gradient(145deg, rgba(255,107,53,0.14), rgba(255,107,53,0.02)); }
.cat-orange  .bento-icon    { background: rgba(255,107,53,0.15); color: var(--orange); }
.cat-green   { --cell-gradient: linear-gradient(145deg, rgba(50,200,120,0.14), rgba(50,200,120,0.02)); }
.cat-green   .bento-icon    { background: rgba(50,200,120,0.15); color: #32C878; }
.cat-yellow  { --cell-gradient: linear-gradient(145deg, rgba(255,193,7,0.14), rgba(255,193,7,0.02)); }
.cat-yellow  .bento-icon    { background: rgba(255,193,7,0.15); color: #FFC107; }

/* ══════════════════════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid-5 { grid-template-columns: repeat(5, 1fr); }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-5px);
}

/* Image area */
.pc-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-3);
  overflow: hidden;
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .pc-img img { transform: scale(1.06); }

/* Badges */
.pc-badges {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  z-index: 2;
}

/* Quick actions */
.pc-actions {
  position: absolute; top: 0.75rem; right: 0.75rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  z-index: 2;
  opacity: 0; transform: translateX(8px);
  transition: var(--transition);
}
.product-card:hover .pc-actions { opacity: 1; transform: translateX(0); }
.pc-action {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.8rem;
  transition: var(--transition); cursor: pointer;
}
.pc-action:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Body */
.pc-body {
  padding: 1.1rem 1.1rem 1.2rem;
  flex: 1; display: flex; flex-direction: column;
}
.pc-category {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--cyan); margin-bottom: 0.45rem;
}
.pc-name {
  font-size: 0.92rem; font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-name a { color: inherit; transition: color 0.2s; }
.pc-name a:hover { color: var(--cyan); }
.pc-rating {
  display: flex; align-items: center; gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.pc-stars { color: #FFC107; font-size: 0.72rem; letter-spacing: 1px; }
.pc-reviews { font-size: 0.68rem; color: var(--text-muted); }
.pc-price-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 0.9rem; gap: 0.5rem; margin-top: auto;
}
.pc-price {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.pc-price-sale { color: var(--cyan); }
.pc-price-old {
  font-size: 0.8rem; color: var(--text-muted);
  text-decoration: line-through; display: block;
}
.pc-save {
  font-size: 0.65rem; font-weight: 700;
  background: rgba(0,212,255,0.10); color: var(--cyan);
  padding: 0.2rem 0.5rem; border-radius: 999px;
  white-space: nowrap;
}
.pc-add-btn {
  width: 100%; padding: 0.72rem;
  background: var(--bg-4); border: 1px solid var(--border-2);
  border-radius: var(--radius); color: var(--text);
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  transition: var(--transition); cursor: pointer;
}
.pc-add-btn:hover {
  background: var(--gradient);
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 20px var(--blue-glow);
}
.pc-add-btn.adding { opacity: 0.65; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════════════════
   SECTION: NEW ARRIVALS & BEST SELLERS
   ══════════════════════════════════════════════════════════════════════════════ */
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1rem; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FLASH DEALS
   ══════════════════════════════════════════════════════════════════════════════ */
.flash-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.flash-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.5rem;
}
.flash-title-group {
  display: flex; align-items: center; gap: 1rem;
}
.flash-icon { font-size: 2rem; }
.countdown {
  display: flex; align-items: center; gap: 0.35rem;
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius); padding: 0.55rem 1rem;
}
.cd-unit { text-align: center; }
.cd-num {
  font-size: 1.5rem; font-weight: 800;
  color: var(--orange); line-height: 1;
  min-width: 2ch; display: block;
  letter-spacing: -0.02em;
}
.cd-label { font-size: 0.55rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.cd-sep { font-size: 1.5rem; color: rgba(255,107,53,0.5); font-weight: 800; }

/* ══════════════════════════════════════════════════════════════════════════════
   FEATURED PRODUCT (editorial full-width)
   ══════════════════════════════════════════════════════════════════════════════ */
.editorial-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.editorial-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 540px;
}
.editorial-img-wrap {
  position: relative; overflow: hidden;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2.5rem;
  min-height: 440px;
}
.editorial-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,96,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.editorial-img {
  max-width: 75%;
  max-height: 380px;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0,96,255,0.25));
  transition: transform 0.5s ease;
}
.editorial-img-wrap:hover .editorial-img { transform: scale(1.04); }
.editorial-content {
  padding: 3.5rem 4rem 3.5rem 4rem;
  position: relative;
}
.editorial-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--cyan);
  margin-bottom: 1.25rem;
}
.editorial-tag i { font-size: 0.65rem; }
.editorial-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); line-height: 1.1;
  margin-bottom: 0.75rem;
}
.editorial-subtitle {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 1.5rem;
  max-width: 400px;
}
.editorial-price-block { margin-bottom: 2rem; }
.editorial-price {
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
}
.editorial-price-old {
  font-size: 1rem; color: var(--text-muted);
  text-decoration: line-through; margin-left: 0.5rem;
}
.editorial-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.editorial-stars { color: #FFC107; font-size: 0.85rem; }
.editorial-rating-text { font-size: 0.78rem; color: var(--text-muted); }
.editorial-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.why-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1.25rem;
}
.why-icon.blue   { background: rgba(0,96,255,0.15); color: var(--blue-light); }
.why-icon.cyan   { background: rgba(0,212,255,0.12); color: var(--cyan); }
.why-icon.orange { background: rgba(255,107,53,0.12); color: var(--orange); }
.why-icon.green  { background: rgba(50,200,120,0.12); color: #32C878; }
.why-icon.purple { background: rgba(140,60,220,0.12); color: #B06EE0; }
.why-card-title {
  font-size: 0.98rem; font-weight: 800;
  color: var(--text); margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.why-card-text {
  font-size: 0.855rem; color: var(--text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════════════════════════
   BRANDS TICKER
   ══════════════════════════════════════════════════════════════════════════════ */
.brands-section {
  padding: 2.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.brands-label {
  text-align: center; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 1.5rem;
}
.brands-overflow { overflow: hidden; }
.brands-track {
  display: flex; gap: 3.5rem;
  animation: brands-ticker 28s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
.brand-item {
  font-size: 0.95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-dim);
  transition: color 0.3s; white-space: nowrap;
  cursor: default;
}
.brand-item:hover { color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 0.5rem; right: 1.5rem;
  font-size: 4.5rem; font-weight: 800;
  color: var(--cyan); opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-3px); }
.t-stars { color: #FFC107; font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.t-text {
  font-size: 0.88rem; color: var(--text-2);
  line-height: 1.8; margin-bottom: 1.25rem;
  font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.t-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.t-city { font-size: 0.72rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════════════════════ */
.newsletter-wrap {
  background: linear-gradient(135deg, rgba(0,96,255,0.08) 0%, rgba(0,212,255,0.05) 100%);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.newsletter-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(0,96,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter-wrap > * { position: relative; z-index: 1; }
.newsletter-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 0.75rem;
}
.newsletter-sub {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 480px; margin: 0 auto 2rem;
  line-height: 1.7;
}
.newsletter-form {
  display: flex; gap: 0.75rem; max-width: 440px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1; padding: 0.85rem 1.25rem;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); color: var(--text);
  font-size: 0.9rem; outline: none;
  transition: var(--transition);
}
.newsletter-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.newsletter-input::placeholder { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 3rem; margin-bottom: 3.5rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-desc {
  font-size: 0.855rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 1.5rem; max-width: 270px;
}
.footer-socials { display: flex; gap: 0.5rem; }
.footer-social {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.82rem;
  transition: var(--transition);
}
.footer-social:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-col-title {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-size: 0.855rem; color: var(--text-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-icon { color: var(--cyan); font-size: 0.78rem; margin-top: 0.15rem; flex-shrink: 0; }
.footer-contact-text { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.78rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════════════════════════════════════════ */
.wa-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 998; }
.wa-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  transition: var(--transition); text-decoration: none;
  position: relative;
}
.wa-btn::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: pulse-ring 2.5s ease-out infinite;
}
.wa-btn:hover { transform: scale(1.1); }

/* ══════════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL — Progressive enhancement
   Without JS: elements are fully visible. With .js-reveal added to body by JS,
   elements animate in on scroll.
   ══════════════════════════════════════════════════════════════════════════════ */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible, .js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.25s; }
.reveal-delay-4 { transition-delay: 0.35s; }

/* ══════════════════════════════════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════════════════════════════════ */
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(0.4deg); }
  66%       { transform: translateY(-6px) rotate(-0.3deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.08); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes trust-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes brands-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 5rem 3rem 5rem 0; }
  .bento-grid { grid-template-rows: 200px 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .products-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .products-grid-5 { grid-template-columns: repeat(4, 1fr); }
  .editorial-content { padding: 2.5rem 3rem; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: var(--nav-h); }
  .hero-content { padding: 3.5rem 0 2rem; max-width: 100%; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(2.8rem, 8vw, 4.5rem); }
  .nav-cats { display: none; }
  .nav-search { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 160px);
  }
  .bento-cell:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .bento-cell:nth-child(2) { grid-column: span 1; }
  .bento-cell:nth-child(3) { grid-column: span 1; }
  .bento-cell:nth-child(4) { grid-column: span 1; }
  .bento-cell:nth-child(5) { grid-column: span 1; }
  .bento-cell:nth-child(6) { grid-column: span 2; flex-direction: row; }
  .editorial-inner { grid-template-columns: 1fr; }
  .editorial-img-wrap { min-height: 300px; }
  .editorial-content { padding: 2.5rem 1.5rem; }
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .products-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --nav-h: 62px; }
  .section { padding: 4rem 0; }
  .hero-content { padding: 2.5rem 0 1.5rem; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .hero-stat { flex: 0 0 calc(50% - 0.5rem); border: none; padding: 0; }
  .hero-stat + .hero-stat { border: none; padding: 0; }
  .hero-actions { flex-direction: column; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 140px) 100px; }
  .bento-cell:nth-child(1) { grid-column: span 2; }
  .bento-cell:nth-child(6) { grid-column: span 2; }
  .products-grid, .products-grid-4, .products-grid-5 { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
