/* ============================================
   GenX Battery — Design System CSS
   ============================================ */

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

/* --- CSS Custom Properties (Figma Tokens) --- */
:root {
  /* Colors — GenX UAV Brand */
  --color-primary: #1B2A4A;
  --color-primary-hover: #152240;
  --color-primary-pressed: #0F1B33;
  --color-accent: #FF3B30;
  --color-accent-hover: #E0342A;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F7F9FC;
  --color-bg-dark: #0F1B33;
  --color-border: #E5E7EB;
  --color-border-hover: #D1D5DB;
  --color-text-primary: #0A0A0A;
  --color-text-secondary: #4B5563;
  --color-text-tertiary: #9CA3AF;
  --color-text-inverse: #FFFFFF;
  --color-success: #16A34A;
  --color-warning: #F59E0B;
  --color-error: #DC2626;
  --gradient-brand: linear-gradient(135deg, #1B2A4A, #FF3B30);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --sp-2: 2px; --sp-4: 4px; --sp-8: 8px; --sp-12: 12px;
  --sp-16: 16px; --sp-20: 20px; --sp-24: 24px; --sp-32: 32px;
  --sp-40: 40px; --sp-48: 48px; --sp-64: 64px; --sp-80: 80px;
  --sp-120: 120px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.16);

  /* Layout — Full Width */
  --max-width: 1600px;
  --section-padding: 80px;
  --gutter: 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Typography --- */
.display { font-family: var(--font-heading); font-weight: 700; font-size: 56px; line-height: 1.14; letter-spacing: -0.02em; }
h1, .h1 { font-family: var(--font-heading); font-weight: 700; font-size: 40px; line-height: 1.2; letter-spacing: -0.02em; }
h2, .h2 { font-family: var(--font-heading); font-weight: 600; font-size: 32px; line-height: 1.25; letter-spacing: -0.02em; }
h3, .h3 { font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1.33; letter-spacing: -0.01em; }
h4, .h4 { font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.4; }
.body-lg { font-size: 18px; line-height: 1.56; }
.body { font-size: 16px; line-height: 1.5; }
.body-sm { font-size: 14px; line-height: 1.43; }
.caption { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.33; }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.spec-value { font-variant-numeric: tabular-nums; font-weight: 500; }
.model-number { font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.price { font-family: var(--font-heading); font-weight: 700; font-size: 28px; }
.price-sm { font-family: var(--font-heading); font-weight: 600; font-size: 20px; }

/* --- Layout — Full Width --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-48); }
.container--wide { max-width: 100%; padding: 0 var(--sp-48); }
.section { padding: var(--section-padding) 0; }
.section--light { background: var(--color-bg-light); }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-inverse); }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: var(--sp-8); }
.gap-12 { gap: var(--sp-12); }
.gap-16 { gap: var(--sp-16); }
.gap-24 { gap: var(--sp-24); }
.gap-32 { gap: var(--sp-32); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8);
  padding: 0 var(--sp-24); height: 48px; border-radius: var(--radius-md);
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em; transition: all 0.25s ease; white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: white; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn--secondary:hover { background: var(--color-bg-light); }
.btn--ghost { background: transparent; color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-bg-light); }
.btn--white { background: white; color: var(--color-primary); }
.btn--white:hover { background: var(--color-bg-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gradient { background: var(--gradient-brand); color: white; }
.btn--gradient:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--sm { height: 36px; padding: 0 var(--sp-16); font-size: 13px; }
.btn--lg { height: 56px; padding: 0 var(--sp-32); font-size: 16px; }
.btn--icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }
.btn--icon:hover { background: var(--color-bg-light); }

/* --- Badges --- */
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
}
.badge--lfp { background: #DCFCE7; color: #166534; }
.badge--nmc { background: #DBEAFE; color: #1E40AF; }
.badge--lion { background: #FEF3C7; color: #92400E; }
.badge--new { background: var(--color-primary); color: white; }
.badge--best { background: var(--gradient-brand); color: white; }
.badge--stock { color: var(--color-success); }
.badge--low { color: var(--color-warning); }
.badge--oos { color: var(--color-error); }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.stock-dot--green { background: var(--color-success); }
.stock-dot--yellow { background: var(--color-warning); }
.stock-dot--red { background: var(--color-error); }

/* ============================================
   UTILITY BAR
   ============================================ */
.utility-bar {
  background: var(--color-bg-dark); color: var(--color-text-inverse);
  padding: 6px 0; font-size: 12px;
}
.utility-bar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.utility-bar a:hover { color: white; }
.utility-bar .separator { margin: 0 12px; opacity: 0.3; }
.utility-bar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  background: var(--color-bg-white); border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100; transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 24px; display: flex; align-items: center; gap: 8px; }
.logo span { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo .logo-mark { width: 36px; height: 36px; background: var(--gradient-brand); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.logo .logo-mark svg { width: 20px; height: 20px; fill: white; }
.logo-img { height: 34px; width: auto; display: block; }
@media (min-width: 769px) { .logo-img { height: 40px; } }

.nav { display: flex; align-items: center; gap: var(--sp-32); }
.nav__link {
  font-family: var(--font-heading); font-weight: 500; font-size: 15px;
  color: var(--color-text-secondary); padding: 8px 0;
  position: relative; transition: color 0.2s;
}
.nav__link:hover, .nav__link.active { color: var(--color-text-primary); }
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--color-primary); transition: width 0.3s;
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link svg { width: 10px; margin-left: 4px; vertical-align: 1px; opacity: 0.5; }

.header__actions { display: flex; align-items: center; gap: var(--sp-8); }
.header__action-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); color: var(--color-text-secondary); transition: all 0.2s; position: relative;
}
.header__action-btn:hover { background: var(--color-bg-light); color: var(--color-text-primary); }
.header__action-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px;
  background: var(--color-primary); color: white; font-size: 10px; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.search-wrapper { position: relative; display: flex; align-items: center; z-index: 10; margin-right: 2px; width: 248px; }
.search-input {
  width: 100%; height: 44px; padding: 0 48px 0 16px;
  border-radius: var(--radius-full); border: 1px solid var(--color-border); background: #fff;
  font-family: var(--font-body); font-size: 14px; color: var(--color-text-primary);
  opacity: 1; pointer-events: auto; outline: none; transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  box-shadow: var(--shadow-sm);
}
.search-input::placeholder { color: var(--color-text-tertiary); }
.search-input:focus,
.search-wrapper:focus-within .search-input {
  border-color: rgba(27, 42, 74, 0.2);
  box-shadow: 0 10px 24px rgba(15, 27, 51, 0.12);
}
.search-toggle {
  position: absolute; right: 2px; top: 2px;
  background: transparent; color: var(--color-primary);
}
.search-toggle:hover { background: rgba(27, 42, 74, 0.05); }

/* Mobile menu */
.mobile-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--color-text-primary); position: relative; transition: 0.3s; }
.mobile-menu-btn span::before, .mobile-menu-btn span::after {
  content: ''; position: absolute; width: 20px; height: 2px; background: var(--color-text-primary); transition: 0.3s;
}
.mobile-menu-btn span::before { top: -6px; }
.mobile-menu-btn span::after { top: 6px; }

.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: white; z-index: 200; padding: 80px var(--sp-24) var(--sp-24);
  flex-direction: column; overflow-y: auto;
}

/* ============================================
   GENERIC PAGES
   ============================================ */
.genx-page-entry {
  display: grid;
  gap: 32px;
  padding: 12px 0 72px;
}

.genx-page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 59, 48, 0.18), transparent 32%),
    linear-gradient(135deg, #0f1b33 0%, #1b2a4a 58%, #223764 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-xl);
}

.genx-page-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
  opacity: 0.28;
  pointer-events: none;
}

.genx-page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 32px 40px 44px;
}

.genx-page-breadcrumbs {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.genx-page-breadcrumbs a:hover {
  color: #fff;
}

.genx-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.genx-page-title {
  margin: 0;
  color: #fff;
}

.genx-page-summary {
  max-width: 760px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}

.genx-page-surface {
  padding: 34px;
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(247,249,252,0.85) 0%, rgba(255,255,255,1) 120%);
  box-shadow: 0 18px 50px rgba(15, 27, 51, 0.08);
}

.genx-rich-content {
  color: var(--color-text-primary);
}

.genx-rich-content > :first-child {
  margin-top: 0;
}

.genx-rich-content .elementor {
  width: 100%;
}

.genx-rich-content .elementor .e-con-inner,
.genx-rich-content .elementor .elementor-container,
.genx-rich-content .elementor .elementor-widget-wrap {
  max-width: 100%;
}

.genx-rich-content nav[aria-label="Breadcrumb"] {
  display: none;
}

.genx-rich-content h1,
.genx-rich-content h2,
.genx-rich-content h3,
.genx-rich-content h4 {
  margin: 1.25em 0 0.45em;
  color: var(--color-primary);
}

.genx-rich-content p,
.genx-rich-content li,
.genx-rich-content td,
.genx-rich-content th,
.genx-rich-content label {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.genx-rich-content ul,
.genx-rich-content ol {
  margin: 1rem 0 1.4rem;
  padding-left: 1.25rem;
  list-style: revert;
}

.genx-rich-content a {
  color: var(--color-primary);
}

.genx-rich-content a:hover {
  color: var(--color-accent);
}

.genx-rich-content img {
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.genx-rich-content table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.genx-rich-content th,
.genx-rich-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.genx-rich-content th {
  background: var(--color-bg-light);
  color: var(--color-primary);
  font-weight: 600;
}

.genx-rich-content .woocommerce-info,
.genx-rich-content .woocommerce-message,
.genx-rich-content .woocommerce-error,
.genx-rich-content .notice {
  margin: 0 0 18px;
  border-radius: 14px;
}

.genx-contact-grid,
.genx-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.genx-page-panel {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
}

.genx-page-panel--primary {
  background:
    radial-gradient(circle at top right, rgba(255, 59, 48, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff, #f9fbff);
}

.genx-page-panel--accent {
  background: linear-gradient(180deg, #f7f9fc, #eef3fb);
}

.genx-page-panel--form {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.genx-page-panel__eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.genx-page-panel h2,
.genx-page-panel h3 {
  margin: 0 0 12px;
}

.genx-page-panel p {
  margin: 0 0 16px;
}

.genx-contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.genx-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.genx-contact-card,
.genx-mini-note {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.88);
}

.genx-contact-card h3,
.genx-mini-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.genx-contact-card p,
.genx-mini-note p,
.genx-contact-card span {
  margin: 0;
}

.genx-contact-card span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-tertiary);
}

.genx-feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.genx-feature-list li {
  position: relative;
  padding-left: 24px;
}

.genx-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(255, 59, 48, 0.12);
}

.genx-form-shell {
  min-height: 100%;
}

.genx-form-shell fieldset,
.genx-form-shell .wrap,
.genx-form-shell .wt-afrom,
.genx-form-shell .gbpform {
  width: 100%;
}

.genx-form-shell fieldset {
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
}

.genx-form-shell legend {
  padding: 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
}

.genx-form-shell .row.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.genx-form-shell .col-md-6 {
  width: 100%;
}

.genx-form-shell .form-control,
.genx-form-shell .form-select,
.genx-form-shell input[type="text"],
.genx-form-shell input[type="email"],
.genx-form-shell input[type="number"],
.genx-form-shell input[type="password"],
.genx-form-shell input[type="file"],
.genx-form-shell select,
.genx-form-shell textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  color: var(--color-text-primary);
  box-shadow: none;
}

.genx-form-shell textarea {
  min-height: 120px;
  resize: vertical;
}

.genx-form-shell input:focus,
.genx-form-shell select:focus,
.genx-form-shell textarea:focus {
  outline: none;
  border-color: rgba(27, 42, 74, 0.35);
  box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.08);
}

.genx-form-shell .required {
  color: var(--color-accent);
}

.genx-form-shell button,
.genx-form-shell input[type="submit"],
.genx-form-shell .button,
.genx-form-shell .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}

.genx-form-shell button:hover,
.genx-form-shell input[type="submit"]:hover,
.genx-form-shell .button:hover,
.genx-form-shell .btn-primary:hover {
  background: var(--color-primary-hover);
}

.genx-form-shell .wt-afrom,
.genx-form-shell #cell-table {
  border-collapse: separate;
  border-spacing: 0;
}

.genx-form-shell .wt-afrom th,
.genx-form-shell .wt-afrom td,
.genx-form-shell #cell-table th,
.genx-form-shell #cell-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.genx-form-shell .input-group {
  display: flex;
  align-items: stretch;
}

.genx-form-shell .input-group-append {
  display: flex;
}

.genx-form-shell .input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: var(--color-bg-light);
  color: var(--color-text-secondary);
}

.genx-page-entry.page-faqs .genx-rich-content h3 {
  padding: 18px 22px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg-light);
}

.genx-page-entry.page-faqs .genx-rich-content h3 + p,
.genx-page-entry.page-faqs .genx-rich-content h3 + p + p,
.genx-page-entry.page-faqs .genx-rich-content h3 + p + p + p {
  padding: 0 8px 0 22px;
}

.site-search-page .genx-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.genx-search-form {
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin-top: 24px;
}

.genx-search-form__button {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.genx-search-form__button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 45%, transparent 75%);
  transform: translateX(-140%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.genx-search-form__button:hover,
.genx-search-form__button:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 30px rgba(15, 27, 51, 0.22);
}

.genx-search-form__button:hover::after,
.genx-search-form__button:focus-visible::after {
  transform: translateX(140%);
}

.genx-search-form__button:active {
  transform: translateY(0) scale(0.99);
}

.genx-search-form__input {
  flex: 1;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  background: rgba(255,255,255,0.98);
  color: var(--color-text-primary);
  font-size: 16px;
}

.genx-search-form__input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

.genx-search-results-head {
  margin-bottom: 18px;
}

.genx-search-empty {
  display: grid;
  gap: 18px;
}

.genx-search-empty .tag-chips {
  margin-top: 14px;
}

.genx-why-page {
  display: grid;
  gap: 24px;
}

.genx-why-intro {
  display: grid;
  gap: 22px;
}

.genx-proof-strip,
.genx-why-grid,
.genx-why-badges {
  display: grid;
  gap: 18px;
}

.genx-proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.genx-proof-chip,
.genx-why-card,
.genx-why-badge-card {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
}

.genx-proof-chip strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-accent);
}

.genx-proof-chip span,
.genx-proof-list span {
  color: var(--color-text-secondary);
}

.genx-why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.genx-why-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.genx-why-card h3,
.genx-why-badge-card h3 {
  margin: 0 0 10px;
}

.genx-why-card p,
.genx-why-badge-card p {
  margin: 0;
  color: var(--color-text-secondary);
}

.genx-why-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.genx-why-split--reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.genx-why-image-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7f9fc, #edf3fb);
  min-height: 100%;
}

.genx-why-image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.genx-proof-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.genx-proof-list > div {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--color-border);
}

.genx-proof-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.genx-why-badges {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .genx-contact-grid,
  .genx-request-layout,
  .genx-contact-cards,
  .genx-proof-strip,
  .genx-why-grid,
  .genx-why-split,
  .genx-why-split--reverse,
  .genx-why-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .utility-bar {
    padding: 5px 0;
    font-size: 11px;
  }

  .header__inner {
    min-height: 58px;
    gap: 12px;
  }

  .logo-img {
    height: 30px;
  }

  .search-wrapper {
    display: none;
  }

  .genx-page-entry {
    gap: 22px;
    padding-bottom: 48px;
  }

  .genx-page-hero__inner,
  .genx-page-surface,
  .genx-page-panel {
    padding: 22px;
  }

  .genx-page-summary {
    font-size: 16px;
  }

  .genx-form-shell .row.form-row {
    grid-template-columns: 1fr;
  }

  .genx-form-shell .wt-afrom,
  .genx-form-shell #cell-table {
    display: block;
    overflow-x: auto;
  }

  .genx-search-form {
    flex-direction: column;
  }

  .genx-search-form__input,
  .genx-search-form__button {
    width: 100%;
  }
}
.mobile-nav.open { display: flex; }
.mobile-nav__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; }
.mobile-nav__link {
  padding: 16px 0; border-bottom: 1px solid var(--color-border); font-family: var(--font-heading);
  font-weight: 500; font-size: 18px; display: flex; justify-content: space-between; align-items: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: var(--sp-120) 0;
  position: relative; overflow: hidden;
  background: var(--color-bg-light);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-80); align-items: center; max-width: 1600px; margin: 0 auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,123,255,0.08); color: var(--color-primary);
  padding: 6px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600;
  margin-bottom: var(--sp-24);
}
.hero__badge .pulse { width: 8px; height: 8px; background: var(--color-primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero__title { margin-bottom: var(--sp-24); color: var(--color-text-primary); }
.hero__title .accent { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__desc { font-size: 18px; color: var(--color-text-secondary); margin-bottom: var(--sp-40); max-width: 500px; line-height: 1.7; }
.hero__ctas { display: flex; gap: var(--sp-16); flex-wrap: wrap; }
.hero__image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__image-glow {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,123,255,0.12) 0%, transparent 70%);
  border-radius: 50%; filter: blur(40px);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Hero Slider */
.hero-slider { position: relative; width: 100%; height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-slider__track { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-slider__slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; opacity: 0; transform: translateX(30px) scale(0.95); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
.hero-slider__slide.active { opacity: 1; transform: translateX(0) scale(1); z-index: 2; pointer-events: auto; }
.hero-slider__img { width: 100%; max-width: 440px; max-height: 280px; object-fit: contain; mix-blend-mode: darken; animation: float 6s ease-in-out infinite; }
.hero-slider__caption { font-family: var(--font-heading); font-weight: 600; color: var(--color-text-secondary); margin-top: 24px; background: rgba(255,255,255,0.9); display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 14px; box-shadow: var(--shadow-sm); z-index: 4; position: relative; }
.hero-slider__controls { position: absolute; bottom: 0; display: flex; align-items: center; gap: 24px; z-index: 3; }
.hero-slider__arrow { width: 40px; height: 40px; border-radius: 50%; background: white; border: 1px solid var(--color-border); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-text-primary); transition: all 0.2s; box-shadow: var(--shadow-sm); font-size: 18px; line-height: 1; }
.hero-slider__arrow:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.hero-slider__dots { display: flex; gap: 8px; }
.hero-slider__dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); cursor: pointer; transition: all 0.2s; }
.hero-slider__dots .dot.active { background: var(--color-primary); transform: scale(1.2); }

.hero__stats { display: flex; gap: var(--sp-40); margin-top: var(--sp-48); padding-top: var(--sp-32); border-top: 1px solid var(--color-border); }
.hero__stat-number { font-family: var(--font-heading); font-weight: 700; font-size: 32px; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__stat-label { font-size: 13px; color: var(--color-text-tertiary); font-weight: 500; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar { padding: var(--sp-40) 0; border-bottom: 1px solid var(--color-border); }
.trust-bar__inner { display: flex; align-items: center; justify-content: center; gap: var(--sp-48); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: var(--sp-8); opacity: 0.5; transition: opacity 0.3s; }
.trust-item:hover { opacity: 1; }
.trust-item__logo { width: 40px; height: 40px; background: var(--color-bg-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: var(--color-text-secondary); }
.trust-item__name { font-size: 13px; font-weight: 500; color: var(--color-text-secondary); }

/* ============================================
   CATEGORY GRID
   ============================================ */
.category-card {
  padding: var(--sp-32);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-bg-white);
  transition: all 0.3s ease; position: relative; overflow: hidden;
  cursor: pointer;
}
.category-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient-brand); opacity: 0; transition: opacity 0.3s;
}
.category-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-card:hover::before { opacity: 1; }
.category-card__icon { width: 48px; height: 48px; background: var(--color-bg-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-16); font-size: 24px; }
.category-card__title { font-family: var(--font-heading); font-weight: 600; font-size: 18px; margin-bottom: var(--sp-8); }
.category-card__count { font-size: 14px; color: var(--color-text-tertiary); }
.category-card__arrow { position: absolute; bottom: var(--sp-24); right: var(--sp-24); color: var(--color-primary); opacity: 0; transform: translateX(-8px); transition: all 0.3s; }
.category-card:hover .category-card__arrow { opacity: 1; transform: translateX(0); }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.3s ease;
}
.product-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card__image {
  aspect-ratio: 4/3; background: var(--color-bg-light);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-24); position: relative; overflow: hidden;
}
.product-card__image img { max-height: 160px; object-fit: contain; transition: transform 0.5s; }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.product-card__body { padding: var(--sp-20); }
.product-card__model { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--color-primary); margin-bottom: 4px; letter-spacing: 0.02em; }
.product-card__title { font-family: var(--font-heading); font-weight: 600; font-size: 16px; margin-bottom: var(--sp-12); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.95em; }
.product-card__specs { display: flex; gap: var(--sp-12); margin-bottom: var(--sp-12); flex-wrap: wrap; }
.product-card__spec { font-size: 12px; color: var(--color-text-secondary); font-weight: 500; display: flex; align-items: center; gap: 3px; background: var(--color-bg-light); padding: 3px 8px; border-radius: var(--radius-sm); }
.product-card__stock-note { display: inline-flex; align-items: center; margin-bottom: var(--sp-10); font-size: 12px; color: var(--color-text-secondary); background: #f4f7fd; padding: 4px 10px; border-radius: 8px; }
.product-card__price-row { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-12); border-top: 1px solid var(--color-border); margin-top: var(--sp-12); }
.product-card__price { font-family: var(--font-heading); font-weight: 700; font-size: 22px; line-height: 1.35; }
.product-card__actions { display: flex; gap: var(--sp-8); }
.product-card__actions .btn { height: 36px; padding: 0 14px; font-size: 13px; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { margin-bottom: var(--sp-48); }
.section-header--center { text-align: center; }
.section-header__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-12); }
.section-header__label::before { content: ''; width: 20px; height: 2px; background: var(--gradient-brand); }
.section-header--center .section-header__label::before { display: none; }
.section-header__title { margin-bottom: var(--sp-16); }
.section-header__desc { font-size: 18px; color: var(--color-text-secondary); max-width: 560px; line-height: 1.6; }
.section-header--center .section-header__desc { margin: 0 auto; }

/* ============================================
   STATS ROW
   ============================================ */
.stat-card { text-align: center; padding: var(--sp-32); }
.stat-card__number { font-family: var(--font-heading); font-weight: 700; font-size: 48px; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: var(--sp-8); }
.stat-card__label { font-size: 15px; color: var(--color-text-secondary); font-weight: 500; }

/* ============================================
   APPLICATIONS TABS
   ============================================ */
.tabs { display: flex; gap: var(--sp-4); border-bottom: 1px solid var(--color-border); margin-bottom: var(--sp-40); overflow-x: auto; }
.tab-btn {
  padding: var(--sp-12) var(--sp-24); font-family: var(--font-heading); font-weight: 500;
  font-size: 15px; color: var(--color-text-secondary); border-bottom: 2px solid transparent;
  transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.tab-btn:hover { color: var(--color-text-primary); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-48); align-items: center; }
.tab-panel__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--color-bg-light); display: flex; align-items: center; justify-content: center; }
.tab-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel__content h3 { margin-bottom: var(--sp-16); }
.tab-panel__content p { color: var(--color-text-secondary); margin-bottom: var(--sp-24); line-height: 1.7; }
.tab-panel__features { margin-bottom: var(--sp-24); }
.tab-panel__feature { display: flex; align-items: flex-start; gap: var(--sp-12); margin-bottom: var(--sp-12); font-size: 15px; color: var(--color-text-secondary); }
.tab-panel__feature .check { color: var(--color-success); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner { padding: var(--sp-80) 0; background: var(--gradient-brand); text-align: center; color: white; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: var(--sp-16); }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: var(--sp-32); max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner__btns { display: flex; gap: var(--sp-16); justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--color-bg-dark); color: var(--color-text-inverse); padding: var(--sp-80) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-48); margin-bottom: var(--sp-64); }
.footer__brand-desc { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-top: var(--sp-16); max-width: 300px; }
.footer__heading { font-family: var(--font-heading); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-20); color: rgba(255,255,255,0.5); }
.footer__link { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.7); transition: all 0.2s; }
.footer__link:hover { color: white; padding-left: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: var(--sp-24) 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer__social { display: flex; gap: var(--sp-16); }
.footer__social a { width: 36px; height: 36px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all 0.2s; }
.footer__social a:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ============================================
   SHOP PAGE
   ============================================ */
.breadcrumb { padding: var(--sp-16) 0; font-size: 14px; color: var(--color-text-tertiary); }
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; }

.shop-header { margin-bottom: var(--sp-32); }

/* Shop Layout: Sidebar + Main */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-32); align-items: start; }
.mobile-filter-toggle {
  display: none; padding: 10px 20px; background: var(--color-primary); color: white;
  border-radius: var(--radius-md); font-weight: 600; font-size: 14px; margin-bottom: var(--sp-16);
  cursor: pointer; width: 100%; text-align: center;
}
.mobile-filter-toggle svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; }
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .mobile-filter-toggle { display: block; }
  .filter-sidebar { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
    border-radius: 0; overflow-y: auto; padding: var(--sp-24); padding-top: 60px; }
  .filter-sidebar.open { display: block; }
  .filter-sidebar__close { display: block; position: absolute; top: 16px; right: 16px; font-size: 24px;
    cursor: pointer; width: 36px; height: 36px; background: var(--color-bg-light); border-radius: 50%;
    text-align: center; line-height: 36px; }
}
@media (min-width: 1025px) { .filter-sidebar__close { display: none; } }

/* Sidebar Filter Panel */
.filter-sidebar {
  background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--sp-24); position: sticky; top: 90px;
}
.filter-sidebar__title {
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  margin-bottom: var(--sp-24); display: flex; align-items: center; justify-content: space-between;
}
.filter-sidebar__clear { font-size: 12px; color: #FF3B30; cursor: pointer; font-weight: 500; }
.filter-sidebar__clear:hover { text-decoration: underline; }
.filter-group { margin-bottom: var(--sp-24); border-bottom: 1px solid var(--color-border); padding-bottom: var(--sp-20); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group__head {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--color-text-primary); margin-bottom: var(--sp-12);
}
.filter-group__head::after { content: '▾'; font-size: 10px; color: var(--color-text-tertiary); transition: transform 0.2s; }
.filter-group.collapsed .filter-group__head::after { transform: rotate(-90deg); }
.filter-group.collapsed .filter-group__body { display: none; }

/* Filter Checkboxes */
.filter-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: 13px; }
.filter-check input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--color-primary); cursor: pointer; flex-shrink: 0;
}
.filter-check__count { margin-left: auto; font-size: 11px; color: var(--color-text-tertiary); background: var(--color-bg-light); padding: 1px 6px; border-radius: 8px; }

/* Range Sliders */
.range-slider-group { padding: 4px 0; }
.range-slider-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-tertiary); margin-bottom: 8px; }
.range-slider-values { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--color-primary); margin-top: 8px; }
.range-slider-wrap { position: relative; height: 32px; }
.range-slider-wrap input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--color-border);
  border-radius: 2px; position: absolute; top: 14px; pointer-events: none;
}
.range-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; background: var(--color-primary);
  border-radius: 50%; cursor: pointer; pointer-events: all; border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2); position: relative; z-index: 2;
}
.range-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; background: var(--color-primary);
  border-radius: 50%; cursor: pointer; pointer-events: all; border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.range-slider-track {
  position: absolute; top: 14px; height: 4px; background: var(--color-primary);
  border-radius: 2px; pointer-events: none;
}

/* Tag Chips */
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip {
  padding: 4px 10px; font-size: 12px; font-weight: 500; border: 1px solid var(--color-border);
  border-radius: 20px; cursor: pointer; transition: all 0.2s; background: white; color: var(--color-text-secondary);
}
.tag-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tag-chip.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.tag-chip.active--red { background: #FF3B30; color: white; border-color: #FF3B30; }
.tag-chip.active--blue { background: #007BFF; color: white; border-color: #007BFF; }
.tag-chip.active--amber { background: #F59E0B; color: white; border-color: #F59E0B; }

/* Active Filters Bar */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-16); align-items: center; }
.active-filter-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: 12px;
  background: rgba(27,42,74,0.08); color: var(--color-primary); border-radius: 20px; font-weight: 500;
}
.active-filter-chip__remove { cursor: pointer; font-size: 14px; opacity: 0.6; }
.active-filter-chip__remove:hover { opacity: 1; }

/* Top filter bar (sort + view) */
.filter-bar-top {
  display: flex; align-items: center; gap: var(--sp-12); padding: var(--sp-12) var(--sp-16);
  background: var(--color-bg-light); border-radius: var(--radius-lg); flex-wrap: wrap; margin-bottom: var(--sp-16);
}
.filter-select {
  height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: white; font-size: 14px; font-weight: 500;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234B5563' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.filter-select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-16); }
.results-count { font-size: 14px; color: var(--color-text-secondary); }
.view-toggle { display: flex; gap: 4px; background: var(--color-bg-light); padding: 4px; border-radius: var(--radius-md); }
.view-toggle__btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--color-text-tertiary); transition: all 0.2s;
}
.view-toggle__btn.active { background: white; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.view-toggle__btn:hover:not(.active) { color: var(--color-text-secondary); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
@media (min-width: 1400px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* Footer logo fix */
.footer .logo-img { filter: none; }

/* Table View */
.product-table-wrap { overflow-x: auto; }
.product-table { width: 100%; border-collapse: collapse; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.product-table th {
  padding: var(--sp-12) var(--sp-16); text-align: left; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-tertiary);
  background: var(--color-bg-light); border-bottom: 1px solid var(--color-border); cursor: pointer;
}
.product-table th:hover { color: var(--color-primary); }
.product-table td { padding: var(--sp-12) var(--sp-16); border-bottom: 1px solid var(--color-border); font-size: 14px; vertical-align: middle; }
.product-table tr:hover td { background: rgba(0,123,255,0.02); }
.product-table__thumb { width: 48px; height: 48px; background: var(--color-bg-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.product-table__thumb img { max-width: 36px; max-height: 36px; object-fit: contain; }
.product-table__model { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--color-primary); }
.product-table__name { font-weight: 500; }
.product-table__price { font-family: var(--font-heading); font-weight: 700; }
.table-actions { display: flex; gap: var(--sp-8); }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-64); padding: var(--sp-48) 0; }
.product-gallery { position: relative; }
.product-gallery__main {
  aspect-ratio: 1; background: var(--color-bg-light); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; padding: var(--sp-40);
  margin-bottom: var(--sp-16);
}
.product-gallery__main img { max-width: 80%; max-height: 80%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: var(--sp-12); }
.product-gallery__thumb {
  width: 72px; height: 72px; background: var(--color-bg-light); border: 2px solid transparent;
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  padding: 8px; cursor: pointer; transition: border-color 0.2s;
}
.product-gallery__thumb.active, .product-gallery__thumb:hover { border-color: var(--color-primary); }
.product-gallery__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-info__model { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--color-primary); letter-spacing: 0.03em; margin-bottom: var(--sp-8); }
.product-info__title { margin-bottom: var(--sp-12); }
.product-info__rating { display: flex; align-items: center; gap: var(--sp-8); margin-bottom: var(--sp-24); }
.stars { color: var(--color-warning); font-size: 16px; letter-spacing: 2px; }
.rating-count { font-size: 14px; color: var(--color-text-tertiary); }
.product-info__price-block { display: flex; align-items: center; gap: var(--sp-16); margin-bottom: var(--sp-8); }
.product-info__stock { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; margin-bottom: var(--sp-24); }

.qty-row { display: flex; align-items: center; gap: var(--sp-16); margin-bottom: var(--sp-16); }
.qty-control { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.qty-control button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--color-text-secondary); transition: background 0.2s; }
.qty-control button:hover { background: var(--color-bg-light); }
.qty-control input { width: 48px; height: 40px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); font-weight: 600; font-size: 15px; }
.qty-control input:focus { outline: none; }

.product-info__ctas { display: flex; gap: var(--sp-12); margin-bottom: var(--sp-32); }
.product-info__ctas .btn { flex: 1; }

.quick-specs { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--sp-24); }
.quick-specs__header { padding: var(--sp-12) var(--sp-20); background: var(--color-bg-light); font-family: var(--font-heading); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--color-border); }
.quick-specs__row { display: flex; justify-content: space-between; padding: var(--sp-12) var(--sp-20); border-bottom: 1px solid var(--color-border); font-size: 14px; }
.quick-specs__row:last-child { border-bottom: none; }
.quick-specs__label { color: var(--color-text-secondary); }
.quick-specs__value { font-weight: 600; font-variant-numeric: tabular-nums; }
.datasheet-link { display: flex; align-items: center; gap: var(--sp-8); color: var(--color-primary); font-weight: 600; font-size: 15px; transition: gap 0.2s; }
.datasheet-link:hover { gap: var(--sp-12); }

/* Product Tabs */
.product-tabs { border-top: 1px solid var(--color-border); }
.product-tab-content { padding: var(--sp-40) 0; }

.spec-table { width: 100%; }
.spec-table__group { margin-bottom: var(--sp-32); }
.spec-table__group-title {
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  padding-bottom: var(--sp-12); margin-bottom: var(--sp-16);
  border-bottom: 2px solid var(--color-primary);
}
.spec-table__row {
  display: flex; padding: var(--sp-12) var(--sp-16); border-bottom: 1px solid var(--color-border); font-size: 15px;
}
.spec-table__row:nth-child(even) { background: var(--color-bg-light); }
.spec-table__label { width: 40%; color: var(--color-text-secondary); }
.spec-table__val { width: 60%; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Certifications Grid */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-24); }
.cert-card {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--sp-24);
  text-align: center; transition: all 0.2s;
}
.cert-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.cert-card__logo { width: 64px; height: 64px; margin: 0 auto var(--sp-12); background: var(--color-bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--color-primary); }
.cert-card__name { font-family: var(--font-heading); font-weight: 600; margin-bottom: 4px; }
.cert-card__desc { font-size: 13px; color: var(--color-text-tertiary); }

/* Packaging Section */
.packaging-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-48); align-items: center; }
.packaging-image { background: var(--color-bg-light); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: var(--sp-40); }
.packaging-list { list-style: none; }
.packaging-list li { display: flex; align-items: center; gap: var(--sp-12); padding: var(--sp-12) 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.packaging-list li .check { color: var(--color-success); font-weight: 700; }

/* Related Products */
.related-section { padding: var(--sp-64) 0; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); padding: var(--sp-48) 0; }
.pagination__btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 500; border: 1px solid var(--color-border);
  transition: all 0.2s;
}
.pagination__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination__btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.mobile-bottom-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: white; border-top: 1px solid var(--color-border); padding: 8px 16px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.mobile-bottom-bar__inner { display: flex; justify-content: space-around; }
.mobile-bottom-bar__item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 500; color: var(--color-text-tertiary); }
.mobile-bottom-bar__item.active { color: var(--color-primary); }
.mobile-bottom-bar__item svg { width: 22px; height: 22px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin: 0 auto var(--sp-40); }
  .hero__ctas { justify-content: center; }
  .hero__image { order: -1; }
  .hero__product-img { max-width: 320px; }
  .hero__stats { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .packaging-grid { grid-template-columns: 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 48px; }
  .display { font-size: 36px; }
  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 24px; }
  h3, .h3 { font-size: 20px; }
  .container { padding: 0 var(--sp-20); }
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 64px; }
  .hero { padding: var(--sp-64) 0; }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .filter-bar { gap: var(--sp-8); }
  .filter-select { font-size: 13px; height: 36px; }
  .trust-bar__inner { gap: var(--sp-24); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-32); }
  .footer__bottom { flex-direction: column; gap: var(--sp-16); }
  .stat-card__number { font-size: 36px; }
  .hero__stats { flex-wrap: wrap; gap: var(--sp-24); }
  .product-card__title { font-size: 14px; }
  .product-card__price { font-size: 18px; }
  .utility-bar { display: none; }
  .shop-layout { gap: var(--sp-16); }
}

@media (max-width: 480px) {
  .display { font-size: 28px; }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-info__ctas { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
}

/* ============================================
   WORDPRESS OVERRIDES
   ============================================ */
body.mobile-nav-open { overflow: hidden; }
body.admin-bar .header { top: 32px; }
body.admin-bar .mobile-nav { padding-top: 112px; }

.nav__list,
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

.nav__list > li > a,
.nav__list > li > span {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text-secondary);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.nav__list > li > a:hover,
.nav__list > li.current-menu-item > a,
.nav__list > li.current-menu-ancestor > a {
  color: var(--color-text-primary);
}

.nav__list > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav__list > li > a:hover::after,
.nav__list > li.current-menu-item > a::after,
.nav__list > li.current-menu-ancestor > a::after {
  width: 100%;
}

.mobile-nav__menu {
  display: flex;
  flex-direction: column;
}

.mobile-nav__list > li > a {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
}

.product-card__title {
  display: block;
}

.footer__bottom a {
  color: rgba(255,255,255,0.7);
}

.footer__bottom a:hover {
  color: #fff;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}
