/* Premium visual upgrade layer (safe overrides) */

:root {
  --gsb-up-accent: #ff4d2d;
  --gsb-up-accent-2: #22d3ee;
  --gsb-up-light-bg: #f8fafc;
  --gsb-up-light-surface: #ffffff;
  --gsb-up-light-ink: #0f172a;
  --gsb-up-dark-bg: #060a13;
  --gsb-up-dark-surface: #0f172a;
  --gsb-up-dark-ink: #e5e7eb;
  --gsb-icon-size: 18px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, .gsb-section-title, .gsb-product-title {
  font-family: "Oswald", "Inter", sans-serif;
  letter-spacing: 0.02em;
}

body:not(.gsb-dark) {
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 77, 45, 0.08), transparent 35%),
    radial-gradient(circle at 84% 18%, rgba(34, 211, 238, 0.08), transparent 38%),
    var(--gsb-up-light-bg) !important;
  color: var(--gsb-up-light-ink);
}

body.gsb-dark {
  background:
    radial-gradient(circle at 14% 7%, rgba(255, 77, 45, 0.18), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(34, 211, 238, 0.16), transparent 40%),
    linear-gradient(180deg, #060a13 0%, #0a1324 52%, #0c1020 100%) !important;
  color: var(--gsb-up-dark-ink);
}

.gsb-header-wrap {
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, var(--primary));
  backdrop-filter: blur(12px);
}

body:not(.gsb-dark) .gsb-header-wrap {
  background: color-mix(in srgb, #fff 92%, transparent);
}

body.gsb-dark .gsb-header-wrap {
  background: color-mix(in srgb, #0b1220 88%, transparent);
}

.gsb-navbar .gsb-nav-links a,
.gsb-nav-dropdown-trigger,
.gsb-search-input {
  font-weight: 600;
}

.gsb-navbar .gsb-nav-links a.active,
.gsb-navbar .gsb-nav-links a:hover,
.gsb-nav-dropdown-trigger:hover {
  color: var(--gsb-up-accent) !important;
}

.gsb-main > .container {
  position: relative;
}

.gsb-main > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 100%;
  opacity: 0.2;
}

.gsb-hero,
.gsb-card,
.gsb-detail-card,
.gsb-vortex-features,
.gsb-category-item,
.gsb-tech-card,
.gsb-cart-drawer-panel,
.gsb-search-overlay-panel {
  border-radius: 18px !important;
  border: 1px solid color-mix(in srgb, var(--border) 86%, var(--gsb-up-accent));
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
}

body.gsb-dark .gsb-hero,
body.gsb-dark .gsb-card,
body.gsb-dark .gsb-detail-card,
body.gsb-dark .gsb-vortex-features,
body.gsb-dark .gsb-category-item,
body.gsb-dark .gsb-tech-card,
body.gsb-dark .gsb-cart-drawer-panel,
body.gsb-dark .gsb-search-overlay-panel {
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 22px 55px rgba(2, 8, 23, 0.45);
}

.gsb-btn-modern,
.gsb-btn-cart,
.gsb-btn-buy,
.gsb-vortex-add-btn,
.gsb-btn-view-all,
.gsb-nav-cta {
  border-radius: 999px !important;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.gsb-btn-modern:hover,
.gsb-btn-cart:hover,
.gsb-btn-buy:hover,
.gsb-vortex-add-btn:hover,
.gsb-btn-view-all:hover,
.gsb-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 77, 45, 0.26);
}

.gsb-vortex-card .gsb-card-img,
.gsb-gallery-slide .gsb-product-main-img,
.gsb-home-reel-video,
.gsb-detail-compare-img {
  transition: transform .45s ease, filter .45s ease;
}

.gsb-vortex-card:hover .gsb-card-img,
.gsb-detail-compare-card:hover .gsb-detail-compare-img {
  transform: scale(1.04);
}

body.gsb-dark .gsb-product-title,
body.gsb-dark .gsb-detail-card-title,
body.gsb-dark .name,
body.gsb-dark .gsb-section-title {
  color: #f8fafc !important;
}

body.gsb-dark .gsb-product-price,
body.gsb-dark .price {
  color: #fbbf24 !important;
}

body.gsb-dark .gsb-option-label,
body.gsb-dark .gsb-rating-count,
body.gsb-dark .gsb-detail-desc,
body.gsb-dark .gsb-spec-list,
body.gsb-dark .gsb-card .cert,
body.gsb-dark .gsb-card .category,
body.gsb-dark .gsb-footer .tagline,
body.gsb-dark .gsb-footer ul a,
body.gsb-dark .gsb-footer .contact-item {
  color: #cbd5e1 !important;
}

body.gsb-dark .gsb-search-input,
body.gsb-dark .form-control,
body.gsb-dark .form-select,
body.gsb-dark .gsb-sort-select {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}

body.gsb-dark .gsb-search-input::placeholder,
body.gsb-dark .form-control::placeholder {
  color: #94a3b8 !important;
}

.gsb-enhanced-tilt {
  will-change: transform;
  transform-style: preserve-3d;
}

.gsb-hero-dynamic-halo {
  position: absolute;
  inset: 10% 12%;
  z-index: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 77, 45, 0.22), rgba(34, 211, 238, 0.1), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  animation: gsb-halo-spin 14s linear infinite;
}

@keyframes gsb-halo-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}

@media (max-width: 991.98px) {
  .gsb-main > .container::before {
    display: none;
  }
}

/* Uniform icon size across primary UI actions */
.gsb-nav-icon-btn .gsb-nav-icon,
.gsb-nav-icon-btn .bi,
.gsb-search-btn svg,
.gsb-search-overlay-submit svg,
.gsb-cart-drawer-remove i,
.gsb-photo-modal-floating-close i,
.gsb-back-to-top i,
.gsb-pdp-trust i,
.gsb-footer .contact-item i,
.gsb-social-icon svg,
.gsb-gallery-nav span {
  width: var(--gsb-icon-size) !important;
  height: var(--gsb-icon-size) !important;
  font-size: var(--gsb-icon-size) !important;
  line-height: 1 !important;
  flex-shrink: 0;
}

.gsb-nav-icon-btn,
.gsb-search-btn,
.gsb-search-overlay-submit,
.gsb-cart-drawer-remove,
.gsb-photo-modal-floating-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Axor-inspired premium skin (GSB+) ---------- */
:root {
  --gsb-luxe-red: #e10613;
  --gsb-luxe-red-strong: #c2000d;
  --gsb-luxe-black: #090b10;
  --gsb-luxe-charcoal: #121720;
  --gsb-luxe-steel: #273041;
  --gsb-luxe-white: #f8fafc;
}

body {
  background:
    radial-gradient(circle at 8% -2%, rgba(225, 6, 19, 0.11), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(225, 6, 19, 0.08), transparent 30%),
    linear-gradient(180deg, #f9fafc 0%, #f2f5fa 55%, #eef2f8 100%) !important;
  color: #0f172a;
}

body.gsb-dark {
  background:
    radial-gradient(circle at 10% -2%, rgba(225, 6, 19, 0.2), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(225, 6, 19, 0.14), transparent 30%),
    linear-gradient(180deg, #06080d 0%, #0b1017 58%, #0a0f16 100%) !important;
  color: var(--gsb-luxe-white);
}

h1, h2, h3, .gsb-section-title, .gsb-brand-wordmark {
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gsb-header-wrap {
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 28px rgba(2, 8, 23, 0.12);
}

.gsb-navbar {
  background: linear-gradient(90deg, rgba(10, 12, 18, 0.95), rgba(24, 30, 42, 0.9));
}

body:not(.gsb-dark) .gsb-navbar {
  background: linear-gradient(90deg, #10151d, #2a303d);
}

.gsb-nav-links a,
.gsb-nav-dropdown-trigger {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gsb-nav-links a:hover,
.gsb-nav-links a.active,
.gsb-nav-dropdown-trigger:hover,
.gsb-nav-dropdown-trigger.active {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(225, 6, 19, 0.65);
}

.gsb-nav-cta,
.gsb-btn-modern,
.gsb-btn-view-all,
.gsb-vortex-add-btn {
  background: linear-gradient(145deg, var(--gsb-luxe-red), var(--gsb-luxe-red-strong)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(225, 6, 19, 0.25);
}

.gsb-nav-cta:hover,
.gsb-btn-modern:hover,
.gsb-btn-view-all:hover,
.gsb-vortex-add-btn:hover {
  filter: brightness(1.06) saturate(1.06);
  box-shadow: 0 18px 34px rgba(225, 6, 19, 0.34);
}

.gsb-btn-modern--ghost {
  background: transparent !important;
  color: inherit !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  box-shadow: none !important;
}

.gsb-hero {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(225, 6, 19, 0.3), transparent 36%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(130deg, #0d121a, #111926 42%, #151f2e 100%) !important;
}

.gsb-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  color: #ffffff;
}

.gsb-hero .lead {
  color: #d4dbe6;
  max-width: 55ch;
}

.gsb-hero-trust-item,
.gsb-hero-stats .stat-label {
  color: #c8d2e3 !important;
}

.gsb-hero-stats .stat-value {
  color: #ffffff;
}

.gsb-pill {
  border-color: rgba(225, 6, 19, 0.45);
}

.gsb-section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.accent {
  color: var(--gsb-luxe-red) !important;
}

.gsb-vortex-card,
.gsb-tech-card,
.gsb-category-item,
.gsb-value-item,
.gsb-qc-item,
.gsb-media-main,
.gsb-media-side,
.gsb-carousel-slide,
.gsb-metrics-grid article {
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 36px rgba(2, 8, 23, 0.08);
}

body.gsb-dark .gsb-vortex-card,
body.gsb-dark .gsb-tech-card,
body.gsb-dark .gsb-category-item,
body.gsb-dark .gsb-value-item,
body.gsb-dark .gsb-qc-item,
body.gsb-dark .gsb-media-main,
body.gsb-dark .gsb-media-side,
body.gsb-dark .gsb-carousel-slide,
body.gsb-dark .gsb-metrics-grid article {
  background: linear-gradient(155deg, rgba(17, 24, 39, 0.95), rgba(11, 16, 24, 0.92)) !important;
  border-color: rgba(71, 85, 105, 0.7) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.gsb-vortex-card:hover,
.gsb-tech-card:hover,
.gsb-category-item:hover,
.gsb-qc-item:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 6, 19, 0.55) !important;
  box-shadow: 0 20px 38px rgba(225, 6, 19, 0.2);
}

.gsb-card-badge {
  background: linear-gradient(140deg, var(--gsb-luxe-red), #ff3a45) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gsb-carousel-dot.active {
  background: var(--gsb-luxe-red) !important;
  box-shadow: 0 0 0 4px rgba(225, 6, 19, 0.18);
}

.gsb-filter-wrap,
.gsb-filter-card,
.gsb-sort-select,
.gsb-pagination a,
.gsb-pagination span {
  border-color: rgba(148, 163, 184, 0.34) !important;
  border-radius: 14px !important;
}

body.gsb-dark .gsb-filter-wrap,
body.gsb-dark .gsb-filter-card {
  background: linear-gradient(160deg, rgba(18, 24, 35, 0.95), rgba(10, 16, 24, 0.92)) !important;
}

.gsb-footer {
  margin-top: 2.5rem;
  background:
    radial-gradient(circle at 14% 0%, rgba(225, 6, 19, 0.2), transparent 26%),
    linear-gradient(160deg, #0b0e14, #121923 55%, #0b0f17 100%) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.gsb-footer h4 {
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gsb-footer ul a:hover,
.gsb-footer .legal a:hover,
.gsb-footer .contact-item a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 14px rgba(225, 6, 19, 0.55);
}

/* Policy / FAQ page polish */
.gsb-policy-page {
  max-width: 920px;
  margin-inline: auto;
}

.gsb-policy-page .gsb-section-title {
  margin-bottom: 1rem;
}

.gsb-policy-content > p {
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
}

.gsb-policy-content .accordion {
  display: grid;
  gap: 0.85rem;
}

.gsb-policy-content .accordion-item {
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 14px !important;
  overflow: hidden;
  background: color-mix(in srgb, var(--card) 96%, transparent);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gsb-policy-content .accordion-button {
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 1rem 1.1rem;
}

.gsb-policy-content .accordion-button:not(.collapsed) {
  color: #ffffff;
  background: linear-gradient(145deg, var(--gsb-luxe-red), var(--gsb-luxe-red-strong));
  box-shadow: none;
}

.gsb-policy-content .accordion-button:focus {
  box-shadow: 0 0 0 0.18rem rgba(225, 6, 19, 0.2);
}

.gsb-policy-content .accordion-body {
  color: color-mix(in srgb, var(--foreground) 88%, transparent);
  line-height: 1.68;
}

body.gsb-dark .gsb-policy-content .accordion-item {
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.95), rgba(12, 17, 25, 0.9));
  border-color: rgba(71, 85, 105, 0.75);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

body.gsb-dark .gsb-policy-content .accordion-button {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.88);
}

body.gsb-dark .gsb-policy-content .accordion-button:not(.collapsed) {
  background: linear-gradient(145deg, #f3343f, #c2000d);
}

body.gsb-dark .gsb-policy-content .accordion-body,
body.gsb-dark .gsb-policy-content > p {
  color: #d2dae8;
}

@media (max-width: 991.98px) {
  .gsb-nav-links a,
  .gsb-nav-dropdown-trigger {
    font-size: 0.86rem;
    letter-spacing: 0.04em;
  }

  .gsb-hero {
    border-radius: 20px;
  }

  .gsb-vortex-card:hover,
  .gsb-tech-card:hover,
  .gsb-category-item:hover,
  .gsb-qc-item:hover {
    transform: translateY(-4px);
  }
}

/* ---------- Advanced UX features ---------- */
.gsb-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1400;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gsb-luxe-red), var(--gsb-up-accent-2));
  box-shadow: 0 0 12px color-mix(in srgb, var(--gsb-luxe-red) 45%, transparent);
}

.gsb-cursor-glow {
  position: fixed;
  left: -180px;
  top: -180px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  filter: blur(35px);
  transition: opacity 0.2s ease;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--gsb-luxe-red) 26%, transparent), transparent 68%);
}

.gsb-cursor-glow.is-active {
  opacity: 0.9;
}

.gsb-main,
.gsb-footer,
.gsb-header-wrap {
  position: relative;
  z-index: 1;
}

.gsb-theme-lab {
  position: fixed;
  left: 18px;
  bottom: 88px;
  z-index: 1350;
}

.gsb-theme-lab-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(145deg, #0f172a, #1e293b);
  color: #f8fafc;
  border-radius: 999px;
  padding: 0.55rem 0.92rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.32);
}

.gsb-theme-lab-toggle i {
  font-size: 0.95rem;
}

.gsb-theme-lab-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  min-width: 225px;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: color-mix(in srgb, var(--card) 96%, #06080d);
  box-shadow: 0 20px 42px rgba(2, 8, 23, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gsb-theme-lab.is-open .gsb-theme-lab-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gsb-theme-lab-title {
  margin: 0 0 0.62rem;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.gsb-theme-lab-chips {
  display: grid;
  gap: 0.45rem;
}

.gsb-theme-lab-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: color-mix(in srgb, var(--secondary) 85%, transparent);
  color: inherit;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-size: 0.79rem;
  font-weight: 600;
}

.gsb-theme-lab-chip span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.gsb-theme-lab-chip[data-preset="inferno"] span {
  background: linear-gradient(145deg, #e10613, #ff4d3d);
}

.gsb-theme-lab-chip[data-preset="velocity"] span {
  background: linear-gradient(145deg, #0f62fe, #38bdf8);
}

.gsb-theme-lab-chip[data-preset="stealth"] span {
  background: linear-gradient(145deg, #7c3aed, #22d3ee);
}

.gsb-theme-lab-chip.is-active {
  border-color: color-mix(in srgb, var(--gsb-luxe-red) 72%, #ffffff);
  background: color-mix(in srgb, var(--gsb-luxe-red) 20%, var(--card));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--gsb-luxe-red) 26%, transparent);
}

/* Accent-driven polish using active theme preset */
.accent,
.gsb-section-label i,
.gsb-value-icon i,
.gsb-tech-icon i {
  color: var(--gsb-luxe-red) !important;
}

.gsb-card-badge,
.gsb-policy-content .accordion-button:not(.collapsed),
.gsb-nav-cta,
.gsb-btn-modern,
.gsb-btn-view-all,
.gsb-vortex-add-btn {
  background: linear-gradient(145deg, var(--gsb-luxe-red), var(--gsb-luxe-red-strong)) !important;
}

.gsb-carousel-dot.active {
  background: var(--gsb-luxe-red) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsb-luxe-red) 25%, transparent);
}

@media (max-width: 991.98px) {
  .gsb-cursor-glow {
    display: none;
  }

  .gsb-theme-lab {
    left: 12px;
    bottom: 78px;
  }

  .gsb-theme-lab-toggle span {
    display: none;
  }
}

/* ---------- Mobile-first navigation + hero refinement ---------- */
@media (max-width: 767.98px) {
  .gsb-header-wrap {
    box-shadow: 0 8px 24px rgba(2, 8, 23, 0.12);
  }

  .gsb-navbar .container {
    padding: 0.62rem 0.75rem !important;
    gap: 0.55rem !important;
  }

  .gsb-brand-lockup {
    gap: 0.45rem;
  }

  .gsb-brand-mark-wrap {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    padding: 3px;
  }

  .gsb-brand-wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
  }

  .gsb-brand-subword {
    font-size: 0.48rem;
    letter-spacing: 0.18em;
  }

  .gsb-nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.42);
    background: color-mix(in srgb, var(--card) 86%, transparent);
    color: var(--foreground);
  }

  .gsb-navbar .gsb-nav-links {
    margin-top: 0.4rem !important;
    padding: 0.7rem !important;
    border: 1px solid rgba(148, 163, 184, 0.38) !important;
    border-radius: 14px;
    background: color-mix(in srgb, var(--card) 96%, #0b1017);
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.14);
    max-height: min(72vh, 600px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .gsb-navbar .gsb-nav-links.gsb-open {
    display: grid !important;
  }

  .gsb-navbar .gsb-nav-links > .gsb-search-form,
  .gsb-navbar .gsb-nav-links > .gsb-nav-dropdown-wrap,
  .gsb-navbar .gsb-nav-links > a:not(.gsb-nav-icon-btn):not(.gsb-nav-cta),
  .gsb-navbar .gsb-nav-links > .gsb-nav-cta:not(.gsb-nav-icon-btn) {
    grid-column: 1 / -1;
  }

  .gsb-navbar .gsb-nav-links > .gsb-search-form {
    margin: 0 0 0.25rem !important;
  }

  .gsb-navbar .gsb-nav-links .gsb-search-input {
    min-height: 42px;
    border-radius: 10px;
  }

  .gsb-navbar .gsb-nav-links a,
  .gsb-nav-dropdown-trigger {
    min-height: 42px !important;
    padding: 0.62rem 0.74rem !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: color-mix(in srgb, var(--secondary) 88%, transparent);
    font-size: 0.74rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
  }

  .gsb-navbar .gsb-nav-links > .gsb-theme-toggle,
  .gsb-navbar .gsb-nav-links > .gsb-nav-icon-btn,
  .gsb-navbar .gsb-nav-links > a.gsb-nav-icon-btn {
    grid-column: span 1;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: color-mix(in srgb, var(--secondary) 88%, transparent);
  }

  .gsb-navbar .gsb-nav-links > .gsb-nav-cta:not(.gsb-nav-icon-btn) {
    width: 100% !important;
    justify-content: center;
    font-size: 0.75rem;
    min-height: 44px !important;
  }

  .gsb-nav-dropdown {
    margin: 0.35rem 0 0.1rem !important;
    border-radius: 10px !important;
    background: color-mix(in srgb, var(--card) 94%, transparent);
  }

  .gsb-main {
    padding-top: 4.2rem !important;
  }

  .gsb-hero {
    border-radius: 16px !important;
    min-height: auto !important;
    margin-top: 0.2rem;
  }

  .gsb-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 0.95rem !important;
    padding: 1rem 0.95rem !important;
  }

  .gsb-hero h1 {
    font-size: clamp(1.7rem, 11vw, 2.45rem) !important;
    line-height: 0.95 !important;
    margin-bottom: 0.65rem;
  }

  .gsb-hero .lead {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .gsb-hero-btns {
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .gsb-hero-btns .gsb-btn-modern {
    min-height: 42px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }

  .gsb-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .gsb-hero-image.gsb-hero-immersive {
    min-height: 250px !important;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .gsb-brand-wordmark {
    font-size: 0.96rem;
  }

  .gsb-navbar .container {
    padding: 0.55rem 0.62rem !important;
  }

  .gsb-navbar .gsb-nav-links {
    padding: 0.58rem !important;
  }

  .gsb-hero h1 {
    font-size: clamp(1.56rem, 10.4vw, 2.05rem) !important;
  }

  .gsb-hero-image.gsb-hero-immersive {
    min-height: 220px !important;
  }
}

/* Improve light-mode font visibility (hero + menu text) */
body:not(.gsb-dark) .gsb-hero .lead {
  color: #4b5563 !important;
}

body:not(.gsb-dark) .gsb-hero-trust-item {
  color: #374151 !important;
  border-color: rgba(148, 163, 184, 0.34);
  background: #ffffff;
}

body:not(.gsb-dark) .gsb-hero-stats .stat-label {
  color: #6b7280 !important;
}

body:not(.gsb-dark) .gsb-nav-links > a,
body:not(.gsb-dark) .gsb-nav-dropdown-trigger {
  color: #111827 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}

body:not(.gsb-dark) .gsb-navbar .gsb-nav-links a {
  color: #111827 !important;
}

body:not(.gsb-dark) .gsb-nav-links > a:hover,
body:not(.gsb-dark) .gsb-nav-links > a.active,
body:not(.gsb-dark) .gsb-nav-dropdown-trigger:hover,
body:not(.gsb-dark) .gsb-nav-dropdown-trigger.active {
  color: #b90510 !important;
}

body:not(.gsb-dark) .gsb-nav-dropdown a {
  color: #111827 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

body:not(.gsb-dark) .gsb-nav-dropdown a:hover {
  color: #b90510 !important;
}

body:not(.gsb-dark) .gsb-navbar .gsb-nav-cta {
  color: #ffffff !important;
}

body:not(.gsb-dark) .gsb-hero h1 {
  color: #101828 !important;
}

/* ---------- Final light-theme text visibility pass ---------- */
body:not(.gsb-dark) {
  --muted-foreground: #4b5563 !important;
}

body:not(.gsb-dark) .gsb-main,
body:not(.gsb-dark) .gsb-card,
body:not(.gsb-dark) .gsb-detail-card,
body:not(.gsb-dark) .gsb-tech-card,
body:not(.gsb-dark) .gsb-category-item,
body:not(.gsb-dark) .gsb-cart-card,
body:not(.gsb-dark) .gsb-filter-card,
body:not(.gsb-dark) .gsb-checkout-summary-card,
body:not(.gsb-dark) .gsb-coupon-panel {
  color: #111827 !important;
}

body:not(.gsb-dark) .gsb-hero .lead,
body:not(.gsb-dark) .gsb-section-subtitle,
body:not(.gsb-dark) .gsb-tech-card p,
body:not(.gsb-dark) .gsb-card .cert,
body:not(.gsb-dark) .gsb-card .category,
body:not(.gsb-dark) .gsb-rating-count,
body:not(.gsb-dark) .gsb-products-count,
body:not(.gsb-dark) .gsb-sort-label,
body:not(.gsb-dark) .gsb-detail-desc,
body:not(.gsb-dark) .gsb-spec-list,
body:not(.gsb-dark) .gsb-option-label,
body:not(.gsb-dark) .gsb-cart-empty-text,
body:not(.gsb-dark) .gsb-coupon-panel-sub,
body:not(.gsb-dark) .text-muted {
  color: #4b5563 !important;
}

body:not(.gsb-dark) .gsb-hero-trust-item,
body:not(.gsb-dark) .gsb-hero-stats .stat-label,
body:not(.gsb-dark) .gsb-filter-price span,
body:not(.gsb-dark) .gsb-checkout-muted,
body:not(.gsb-dark) .gsb-checkout-secure {
  color: #374151 !important;
}

body:not(.gsb-dark) .gsb-product-title,
body:not(.gsb-dark) .gsb-detail-card-title,
body:not(.gsb-dark) .gsb-section-title,
body:not(.gsb-dark) .name,
body:not(.gsb-dark) h1,
body:not(.gsb-dark) h2,
body:not(.gsb-dark) h3 {
  color: #0f172a !important;
}

body:not(.gsb-dark) .gsb-product-price,
body:not(.gsb-dark) .price,
body:not(.gsb-dark) .gsb-cart-total-value,
body:not(.gsb-dark) .gsb-cart-line-total {
  color: #b90510 !important;
}

body:not(.gsb-dark) .gsb-footer .tagline,
body:not(.gsb-dark) .gsb-footer ul a,
body:not(.gsb-dark) .gsb-footer .contact-item,
body:not(.gsb-dark) .gsb-footer .contact-item a,
body:not(.gsb-dark) .gsb-footer-bottom .copy,
body:not(.gsb-dark) .gsb-footer-bottom .legal a {
  color: #e5e7eb !important;
}

body:not(.gsb-dark) .gsb-search-input,
body:not(.gsb-dark) .form-control,
body:not(.gsb-dark) .form-select,
body:not(.gsb-dark) .gsb-sort-select {
  color: #111827 !important;
}

body:not(.gsb-dark) .gsb-search-input::placeholder,
body:not(.gsb-dark) .form-control::placeholder {
  color: #6b7280 !important;
  opacity: 1;
}

/* Category dropdown hard fail-safe (restore original behavior) */
.gsb-nav-dropdown {
  z-index: 1300 !important;
}

.gsb-nav-dropdown-wrap.gsb-dropdown-open .gsb-nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

body:not(.gsb-dark) .gsb-nav-dropdown,
body:not(.gsb-dark) .gsb-nav-dropdown a,
body:not(.gsb-dark) .gsb-nav-dd-parent > a,
body:not(.gsb-dark) .gsb-nav-dd-children a,
body:not(.gsb-dark) .gsb-nav-dd-count {
  color: #111827 !important;
}

body:not(.gsb-dark) .gsb-nav-dropdown a:hover,
body:not(.gsb-dark) .gsb-nav-dd-parent > a:hover,
body:not(.gsb-dark) .gsb-nav-dd-children a:hover {
  color: #b90510 !important;
}
