/* ═══════════════════════════════════════════════════════
   Apple iOS 26 Liquid Glass — matched to Figma reference
   ═══════════════════════════════════════════════════════ */

.liquid-glass-filter {
  filter: url(#liquid-distort);
}

.glass-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2rem) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(2rem) saturate(200%) brightness(1.08);
  border: 0.0625rem solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.90),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.08),
    0 0.125rem 0.5rem rgba(0, 0, 0, 0.06),
    0 0.5rem 2rem rgba(0, 0, 0, 0.08),
    0 1.5rem 3rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.glass-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.glass-panel.on-light {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.80);
}

.ios26-liquid-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.1),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.ios26-liquid-pill::marker {
  content: '';
}

.ios26-liquid-pill .ios26-liquid-pill__ring {
  position: absolute;
  top: 0.0625rem;
  left: 0.0625rem;
  right: 0.0625rem;
  bottom: 0.0625rem;
  border-radius: inherit;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 2;
}

.ios26-liquid-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.ios26-liquid-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.ios26-liquid-pill>* {
  position: relative;
  z-index: 2;
}

/* ── NAVBAR PILL: allow nav links to be visible (not clipped) on desktop ── */
#smart-navbar .ios26-liquid-pill {
  overflow: visible;
}

/* ── Restore the visual glass effect using a pseudo-clipping wrapper ── */
#smart-navbar .nav-pill-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#smart-navbar .nav-pill-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
}

#smart-navbar .nav-pill-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 0, 0.15) 0%,
      transparent 70%);
}

.glass-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.1),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.glass-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.glass-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.glass-pill>* {
  position: relative;
  z-index: 2;
}

.liquid-glass {
  position: relative;
  --lg-border-radius: 0.75rem;
  --lg-border-alpha: 0.28;
  --lg-fill-alpha: 0.08;
  --lg-blur: 1.125rem;
  --lg-sat: 145%;
  --lg-brightness: 1.05;
  --lg-contrast: 1.02;
  --lg-shadow: 0 0.625rem 1.75rem rgba(0, 0, 0, 0.22), 0 1.625rem 4rem rgba(0, 0, 0, 0.14);
  --lg-glow: 0 0 0 rgba(79, 70, 229, 0);
  border-radius: var(--lg-border-radius);
  background: rgba(255, 255, 255, var(--lg-fill-alpha));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-brightness)) contrast(var(--lg-contrast));
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-brightness)) contrast(var(--lg-contrast));
  border: 0.0625rem solid rgba(255, 255, 255, var(--lg-border-alpha));
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.55),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.10),
    var(--lg-shadow),
    var(--lg-glow);
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 120% 70% at 50% -10%,
      rgba(255, 255, 255, 0.40) 0%,
      rgba(255, 255, 255, 0.12) 32%,
      rgba(255, 255, 255, 0.06) 48%,
      transparent 72%);
  pointer-events: none;
  z-index: 2;
}

.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 26% at 50% 110%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 68%),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      rgba(255, 255, 255, 0.00) 2px,
      rgba(255, 255, 255, 0.00) 4px);
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

.liquid-glass>* {
  position: relative;
  z-index: 3;
}

.liquid-glass {
  transform: translateZ(0);
  will-change: transform;
}

.liquid-glass.rim-sheen {
  border-color: rgba(255, 255, 255, 0.32);
}

.liquid-glass.rim-sheen:focus-within,
.liquid-glass.rim-sheen:hover {
  --lg-fill-alpha: 0.09;
  --lg-glow: 0 0.875rem 2.75rem rgba(79, 70, 229, 0.12);
}

.liquid-glass.lg-shadow-sm {
  --lg-shadow: 0 0.5rem 1.375rem rgba(0, 0, 0, 0.20), 0 1.375rem 3.625rem rgba(0, 0, 0, 0.12);
}

.liquid-glass.lg-glow-sm {
  --lg-glow: 0 0.875rem 2.75rem rgba(79, 70, 229, 0.10);
}

.crystal-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(1rem) saturate(160%) brightness(1.02);
  -webkit-backdrop-filter: blur(1rem) saturate(160%) brightness(1.02);
  border: 0.0625rem solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.90),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.04),
    0 0.125rem 0.5rem rgba(0, 0, 0, 0.05),
    0 0.5rem 1.5rem rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);

  /* ═══════════════════ ADD THESE CODES TO RESOLVE THE ARTIFACT ═══════════════════ */
  outline: 0.0625rem solid transparent;
  /* Forces Chrome to antialias the outer border-box smoothly */
  backface-visibility: hidden;
  /* Promote to GPU rasterization to eliminate subpixel shift */
  -webkit-backface-visibility: hidden;
  background-clip: padding-box;
  /* Clips background colors precisely within the border boundary */
  -webkit-background-clip: padding-box;
}

.crystal-glass img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  outline: 0.0625rem solid transparent;
}

.crystal-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 35% at 50% 0%,
      rgba(255, 255, 255, 0.40) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.glass-panel,
.liquid-glass,
.crystal-glass {
  transition: background 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.glass-panel input {
  background: transparent;
}

.section-container {
  max-width: 75rem;
  /* 1200px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  /* 24px */
  padding-right: 1.5rem;
  /* 24px */
}

.hero-container-wide {
  width: 100%;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem !important; /* Locks left space to exactly 1rem */
  padding-right: 1rem !important; /* Locks right space to exactly 1rem */
}

@media (min-width: 48rem) {
  .hero-container-wide {
    padding-left: 2rem;
    /* 32px */
    padding-right: 2rem;
    /* 32px */
  }
}

@media (min-width: 80rem) {
  .hero-container-wide {
    padding-left: 3rem;
    /* 48px */
    padding-right: 3rem;
    /* 48px */
  }
}

/* ═════ RESPONSIVE BANNER SIZE & PADDING UPDATES ═════ */
.hero-banner {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  height: calc(100vh - 6.5rem); /* Keeps mobile heights proportional */
  min-height: 26.25rem;
}

@media (min-width: 64rem) {
  .hero-banner {
    /* 6.5rem (104px) accounts for: 5.5rem top offset + 1rem bottom gap */
    height: calc(100vh - 6.5rem) !important; 
  }
}
  .hero-container-wide {
    padding-left: 0.75rem;
    /* 12px */
    padding-right: 0.75rem;
    /* 12px */
  }


@media (min-width: 64rem) {
  .hero-banner {
    height: calc(100vh - 6.25rem);
    /* 100px */
    border-radius: 1.5rem;
    /* 24px */
    min-height: 32.5rem;
    /* 520px */
  }
}

/* ── Mobile Deck & Soft Page Lock System Ruleset  ── */
@media (max-width: 63.9375rem) {
  .mobile-deck-wrapper {
    position: relative;
    min-height: 20rem;
    width: 100%;
    max-width: 23.75rem;
    /* 380px */
    margin: 0 auto;
    perspective: 60rem;
    perspective-origin: 50% 80%;
    touch-action: pan-y;
  }

  .mobile-deck-wrapper .deck-card-item {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
  }
}

/* Ensure the text container fades smoothly both in and out */
.mobile-deck-wrapper .deck-card-item > *:not(:first-child) {
  transition: opacity 0.35s ease;
}

/* Fades out ONLY text/buttons on inactive stacked cards to prevent transparency overlap. 
   Using :not(:first-child) keeps the product image fully visible during the swipe. */
.mobile-deck-wrapper .deck-back-card > *:not(:first-child) {
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero-gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hide Global Viewport Scrollbar (keeps scrolling functional) ── */
html {
  scrollbar-width: none; /* Hides scrollbar in Firefox */
  -ms-overflow-style: none; /* Hides scrollbar in IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Hides scrollbar in Chrome, Safari, Brave, and Opera */
}

/* Custom scrollbar styles only for scrollable elements inside the page */
::-webkit-scrollbar {
  width: 0.25rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 6.1875rem;
}

.hover-lift {
  transition: transform .25s ease, box-shadow .25s ease;
}

.hover-lift:hover {
  transform: translateY(-0.1875rem);
  /* -3px */
}

/* Only the card itself and its direct image need this for 3D transforms */
.deck-card-item {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
    /* 20px */
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp .5s ease both;
}

.d1 {
  animation-delay: .1s;
}

.d2 {
  animation-delay: .2s;
}

.d3 {
  animation-delay: .3s;
}

/* ── Nav height compensation ── */
.nav-offset {
  padding-top: 5.5rem !important;
  /* 80px */
}

@media (max-width: 47.9375rem) {
  .nav-offset {
    padding-top: 4.75rem;
    /* 76px */
  }
}

@media (min-width: 64rem) {
  .nav-offset {
    padding-top: 5.25rem;
    /* 84px */
  }
}

[data-staggered-item] {
  opacity: 0;
  transform: translateY(2.5rem);
  /* 40px */
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}

[data-staggered-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

#smart-cta.text-light-mode .cta-title {
  color: #ffffff;
}

#smart-cta.text-light-mode .cta-sub {
  color: rgba(255, 255, 255, 0.85);
}

#smart-cta.text-light-mode .cta-divider {
  border-color: rgba(255, 255, 255, 0.25);
}

#smart-cta.text-dark-mode .cta-title {
  color: #000000;
}

#smart-cta.text-dark-mode .cta-sub {
  color: #334155;
}

#smart-cta.text-dark-mode .cta-divider {
  border-color: rgba(100, 116, 139, 0.20);
}

/* ── MODERN PAGINATION DOTS (rem-based, responsive to high-res screens) ── */
.hero-dot {
  width: 0.5rem; /* 8px */
  height: 0.5rem; /* 8px */
  border-radius: 6.1875rem; /* 99px equivalent to keep fully rounded */
  background: transparent;
  border: 0.09375rem solid rgba(255, 255, 255, 0.6); /* 1.5px */
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.15); /* 1px 3px */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  outline: none;
  overflow: hidden;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-0.03125rem); /* -0.5px */
}

.hero-dot.active {
  width: 1.5rem; /* 24px */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1.25rem) saturate(180%); /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.25); /* 1px */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.18), inset 0 0.0625rem 0 rgba(255, 255, 255, 0.12);
}

.hero-dot.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Scaling for larger / high-density displays (4k+) using rem-based breakpoints */
@media (min-width: 100rem) { /* 1600px */
  .hero-dot { width: 0.5625rem; height: 0.5625rem; } /* 9px */
  .hero-dot.active { width: 1.625rem; } /* 26px */
}
@media (min-width: 160rem) { /* 2560px */
  .hero-dot { width: 0.625rem; height: 0.625rem; } /* 10px */
  .hero-dot.active { width: 1.875rem; } /* 30px */
}
@media (min-width: 240rem) { /* 3840px */
  .hero-dot { width: 0.75rem; height: 0.75rem; } /* 12px */
  .hero-dot.active { width: 2.25rem; } /* 36px */
}

@media (max-width: 48rem) {
  .hero-dot { width: 0.4375rem; height: 0.4375rem; border-width: 0.0625rem; } /* 7px, 1px */
  .hero-dot.active { width: 1.375rem; } /* 22px */
}

/* ── Mobile menu drawer (liquid glass) ── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.40s;
}

#mobile-menu.open {
  pointer-events: all;
  visibility: visible;
  transition-delay: 0s;
}

#mobile-menu.closing {
  pointer-events: none;
  visibility: visible;
  transition-delay: 0s;
}

#mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.25rem);
  /* 4px */
  -webkit-backdrop-filter: blur(0.25rem);
  opacity: 0;
  transition: opacity 0.40s cubic-bezier(0.25, 1, 0.3, 1);
}

#mobile-menu.open #mobile-menu-backdrop {
  opacity: 1;
}

#mobile-menu.closing #mobile-menu-backdrop {
  opacity: 0;
}

#mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 20rem;
  /* 320px */
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(0.25, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border-left: 0.0625rem solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0.0625rem 1px 0 rgba(255, 255, 255, 0.1),
    -0.25rem 0 2rem rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

#mobile-menu-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

#mobile-menu-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

#mobile-menu-panel>* {
  position: relative;
  z-index: 2;
}

#mobile-menu.open #mobile-menu-panel {
  transform: translateX(0);
}

#mobile-menu.closing #mobile-menu-panel {
  transform: translateX(100%);
}

/* ══════════════════════════════════════════════════
   BRAND GLOW SEARCH BAR — Desktop Nav
   ══════════════════════════════════════════════════ */

.glow-search-wrap {
  position: relative;
  border-radius: 6.1875rem;
  /* 99px */
}

.glow-search-wrap .glow-search-inner {
  position: relative;
  z-index: 1;
  border-radius: inherit;
}

.glow-search-wrap input {
  transition: box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease;
}

.glow-search-wrap:focus-within input {
  border-color: transparent !important;
  box-shadow:
    0 0 0 0.0625rem rgba(255, 255, 255, 0.5),
    0 0 0.625rem 0.125rem rgba(255, 255, 255, 0.4),
    0 0 1.125rem 0.25rem rgba(70, 70, 175, 0.4);
  outline: none;
}

/* ══════════════════════════════════════════════════
   BRAND GLOW SEARCH BAR — Mobile Sidebar
   ══════════════════════════════════════════════════ */

.mobile-glow-search-wrap {
  position: relative;
  border-radius: 6.1875rem;
  /* 99px */
}

.mobile-glow-search-wrap .mobile-glow-inner {
  position: relative;
  z-index: 1;
  border-radius: inherit;
}

#mobile-menu-search {
  background: rgba(255, 255, 255, 0.12);
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  border-radius: 6.1875rem;
  /* 99px */
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  /* 10px 16px 10px 40px */
  color: #fff;
  font-size: 0.875rem;
  /* 14px */
  width: 100%;
  outline: none;
  transition: box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease;
}

#mobile-menu-search::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#mobile-menu-search:focus {
  border-color: transparent !important;
  box-shadow:
    0 0 0 0.0625rem rgba(255, 255, 255, 0.3),
    0 0 0.625rem 0.1875rem rgba(255, 255, 255, 0.25),
    0 0 1.375rem 0.375rem rgba(70, 70, 175, 0.5);
}

/* ══════════════════════════════════════════════════
   BRAND GLOW SEARCH BAR — Hero Section
   ══════════════════════════════════════════════════ */

.hero-search-wrap {
  position: relative;
  border-radius: 6.1875rem;
  /* 99px */
  transition: box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease !important;

  box-shadow:
    0 0 0 0.0625rem rgba(255, 255, 255, 0),
    0 0 0.625rem 0.125rem rgba(255, 255, 255, 0),
    0 0 1.125rem 0.25rem rgba(70, 70, 175, 0),
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.70),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.0),
    0 0.125rem 0.375rem rgba(0, 0, 0, 0.03),
    0 0.375rem 1.25rem rgba(0, 0, 0, 0.04),
    0 1.25rem 2.5rem rgba(0, 0, 0, 0.02) !important;
}

.hero-search-wrap:focus-within {
  border-color: transparent !important;
  box-shadow:
    0 0 0 0.0625rem rgba(255, 255, 255, 0.5),
    0 0 0.625rem 0.125rem rgba(255, 255, 255, 0.4),
    0 0 1.125rem 0.25rem rgba(70, 70, 175, 0.4),
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.70),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.0),
    0 0.125rem 0.375rem rgba(0, 0, 0, 0.03),
    0 0.375rem 1.25rem rgba(0, 0, 0, 0.04),
    0 1.25rem 2.5rem rgba(0, 0, 0, 0.02) !important;
}

.hero-search-wrap.glass-panel {
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.70),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0),
    0 0.25rem 1rem rgba(0, 0, 0, 0.04),
    0 0.75rem 2rem rgba(0, 0, 0, 0.03);
  border: 0.0625rem solid rgba(255, 255, 255, 0.35);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* 12px */
  padding: 0.875rem 0;
  /* 14px */
  font-size: 1rem;
  /* 16px */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.08);
  /* 1px */
  transition: color 0.2s;
  text-decoration: none;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:active {
  color: #fff;
}

.mobile-nav-link .mat-icon {
  font-size: 1.25rem;
  /* 20px */
  opacity: 0.7;
  font-family: 'Material Symbols Outlined';
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  font-feature-settings: 'liga';
}

/* Section container mobile padding */
@media (max-width: 47.9375rem) {
  .section-container {
    padding-left: 1rem;
    /* 16px */
    padding-right: 1rem;
    /* 16px */
  }
}

/* ── SIZE SELECTOR SCROLL ── */
.size-scroll-row {
  display: flex;
  gap: 0.1875rem;
  /* 3px */
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  padding-bottom: 0.0625rem;
  /* 1px */
}

.size-scroll-row::-webkit-scrollbar {
  display: none;
}

/* Size button base */
.size-btn {
  flex-shrink: 0;
  height: 1.625rem;
  /* 26px */
  padding: 0 0.375rem;
  /* 6px */
  min-width: 1.75rem;
  /* 28px */
  background: #fff;
  border: 0.0625rem solid rgba(203, 213, 225, 0.8);
  /* 1px */
  color: #64748b;
  border-radius: 0.4375rem;
  /* 7px */
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.015);
  /* 1px 2px */
  outline: none;
}

.size-btn:hover {
  border-color: rgba(79, 70, 229, 0.35);
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.04);
}

.size-btn.active {
  background: rgba(79, 70, 229, 0.1);
  border-color: #4f46e5;
  color: #4f46e5;
  box-shadow: 0 0.0625rem 0.25rem rgba(79, 70, 229, 0.12);
  /* 1px 4px */
}

.size-btn .size-label {
  font-size: 0.53125rem;
  /* 8.5px */
  line-height: 1;
  margin-bottom: 0.0625rem;
  /* 1px */
  display: block;
  letter-spacing: -0.01em;
}

.size-btn .size-cat {
  font-size: 0.25rem;
  /* 4px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  border-top: 0.0625rem solid rgba(203, 213, 225, 0.8);
  /* 1px */
  display: block;
  padding-top: 0.0625rem;
  /* 1px */
  line-height: 0.5;
  width: 100%;
  text-align: center;
}

.size-btn.active .size-cat {
  border-color: rgba(79, 70, 229, 0.2);
  opacity: 0.8;
}

/* ══════════════════════════════════════════════════
   SPEC SELECTOR — selectable pill buttons for specs
   ══════════════════════════════════════════════════ */
.spec-selector-row {
  display: flex;
  gap: 0.5rem;
  /* 8px */
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding-bottom: 0.0625rem;
  /* 1px */
  overflow: visible;
}

.spec-selector-row::-webkit-scrollbar {
  display: none;
}

.spec-sel-btn {
  min-width: 0;
  flex: 1 1 0%;
  height: 1.8125rem !important;
  /* 29px */
  padding: 0 0.625rem !important;
  /* 10px */
  background: #fff;
  border: 0.09375rem solid rgba(203, 213, 225, 0.8);
  /* 1.5px */
  color: #64748b;
  border-radius: 6.1875rem;
  /* 99px */
  font-family: 'Outfit', sans-serif;
  font-size: 0.5rem !important;
  /* 8px */
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
  white-space: nowrap;
  position: relative;
}

.spec-sel-btn:hover {
  border-color: rgba(79, 70, 229, 0.35);
  background: rgba(79, 70, 229, 0.04);
  transform: translateY(-0.03125rem);
  /* -0.5px */
}

.spec-sel-btn.active {
  background: rgba(79, 70, 229, 0.08);
  border-color: #4f46e5;
  box-shadow: 0 0.0625rem 0.375rem rgba(79, 70, 229, 0.15);
  /* 1px 6px */
}

.spec-sel-btn .series-icon-img {
  height: 0.78125rem;
  /* 12.5px */
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.spec-sel-btn[data-value="mgweave"] .series-icon-img {
  height: 0.59375rem;
  /* 9.5px */
  transform: scale(1.1);
}

.spec-sel-btn[data-value="mgglide"] .series-icon-img {
  height: 1.0625rem;
  /* 17px */
  margin-bottom: 0.0625rem;
  /* 1px */
  transform: scale(0.98);
}

.spec-sel-btn .series-new-badge {
  position: absolute;
  top: -1rem;
  /* -16px */
  right: -0.3125rem;
  /* -5px */
  width: 1.75rem;
  /* 28px */
  height: 1.75rem;
  /* 28px */
  display: block;
  pointer-events: none;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  transform: translateY(0);
  opacity: 0.75;
}

.spec-sel-btn.active .series-new-badge {
  transform: translateY(-0.375rem) translateX(0.125rem);
  /* -6px 2px */
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   TOOLTIP SYSTEM
   ═══════════════════════════════════════════════════════ */

.spec-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.6875rem;
  /* 11px */
  height: 0.6875rem;
  /* 11px */
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.12);
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.spec-info-btn:hover,
.spec-info-btn.active-tip {
  background: rgba(79, 70, 229, 0.15);
}

.spec-info-btn .spec-info-icon {
  font-size: 0.4rem;
  /* 6.4px */
  color: #64748b;
  line-height: 1;
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  font-feature-settings: 'liga';
  user-select: none;
}

.spec-info-btn.active-tip .spec-info-icon {
  color: #4f46e5;
}

.spec-tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  /* 8px */
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  /* 4px */
  min-width: 8.75rem;
  /* 140px */
  max-width: 12.5rem;
  /* 200px */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(1.25rem) saturate(180%);
  /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.80);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.90),
    0 0.25rem 1rem rgba(0, 0, 0, 0.10),
    0 0.75rem 2rem rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  /* 12px */
  padding: 0.5rem 0.625rem;
  /* 8px 10px */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  white-space: normal;
}

.spec-tooltip.tip-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: none;
}

.spec-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.3125rem solid transparent;
  /* 5px */
  border-top-color: rgba(255, 255, 255, 0.92);
}

.spec-tooltip-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.5625rem;
  /* 9px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
  margin-bottom: 0.1875rem;
  /* 3px */
  display: block;
}

.spec-tooltip-body {
  font-family: 'Outfit', sans-serif;
  font-size: 0.625rem;
  /* 10px */
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  display: block;
}

.spec-tag-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  /* 2px */
}

/* ── SPEC GROUP ── */
.spec-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  /* 2px */
  flex-shrink: 0;
  padding-right: 0.5rem;
  /* 8px */
  margin-right: 0.5rem;
  /* 8px */
  border-right: 0.0625rem solid rgba(226, 232, 240, 0.7);
  /* 1px */
}

.spec-group:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.spec-group-label {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  /* 2px */
  color: #64748b;
}

/* Series badge */
.series-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  /* 3px */
  padding: 0.125rem 0.4375rem 0.125rem 0.3125rem;
  /* 2px 7px 2px 5px */
  border-radius: 6.1875rem;
  /* 99px */
  font-family: 'Outfit', sans-serif;
  font-size: 0.5rem;
  /* 8px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.15s ease;
  pointer-events: auto;
  position: relative;
  z-index: 10;
  line-height: 1;
}

.series-badge.mgweave {
  background: rgba(245, 158, 11, 0.10);
  color: #b45309;
  border: 0.0625rem solid rgba(245, 158, 11, 0.20);
  /* 1px */
}

.series-badge.mgweave:hover,
.series-badge.mgweave.active-tip {
  background: rgba(245, 158, 11, 0.18);
}

.series-badge.mgglide {
  background: rgba(79, 70, 229, 0.10);
  color: #4f46e5;
  border: 0.0625rem solid rgba(79, 70, 229, 0.20);
  /* 1px */
}

.series-badge.mgglide:hover,
.series-badge.mgglide.active-tip {
  background: rgba(79, 70, 229, 0.18);
}

.series-badge .series-dot {
  width: 0.25rem;
  /* 4px */
  height: 0.25rem;
  /* 4px */
  border-radius: 50%;
  flex-shrink: 0;
}

.series-badge.mgweave .series-dot {
  background: #b45309;
}

.series-badge.mgglide .series-dot {
  background: #4f46e5;
}

/* Series tooltip */
.series-tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  /* 8px */
  left: 0;
  min-width: 10rem;
  /* 160px */
  max-width: 12.5rem;
  /* 200px */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(1.25rem) saturate(180%);
  /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.85);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.90),
    0 0.25rem 1rem rgba(0, 0, 0, 0.10),
    0 0.75rem 2rem rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  /* 12px */
  padding: 0.5625rem 0.6875rem;
  /* 9px 11px */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(0.25rem);
  /* 4px */
  z-index: 100;
}

.series-tooltip.tip-visible {
  opacity: 1;
  transform: translateY(0);
}

.series-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0.875rem;
  /* 14px */
  border: 0.3125rem solid transparent;
  /* 5px */
  border-top-color: rgba(255, 255, 255, 0.95);
}

.series-tooltip-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.5625rem;
  /* 9px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.1875rem;
  /* 3px */
  display: block;
}

.series-tooltip-name.mgweave {
  color: #b45309;
}

.series-tooltip-name.mgglide {
  color: #4f46e5;
}

.series-tooltip-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.625rem;
  /* 10px */
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  display: block;
}

/* Size info tooltip */
.size-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  /* 2px */
  font-family: 'Outfit', sans-serif;
  font-size: 0.5rem;
  /* 8px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #64748b;
  opacity: 0.80;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  padding: 0;
  flex-shrink: 0;
  width: 1.625rem;
  /* 26px */
  pointer-events: auto;
  transition: color 0.15s;
  position: relative;
  z-index: 10;
}

.size-info-btn:hover {
  color: #4f46e5;
  opacity: 1;
}

.size-info-btn.active-tip {
  color: #4f46e5;
  opacity: 1;
}

.size-tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  /* 8px */
  left: -0.25rem;
  /* -4px */
  min-width: 10.625rem;
  /* 170px */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.85);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.90),
    0 0.25rem 1rem rgba(0, 0, 0, 0.10),
    0 0.75rem 2rem rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  /* 12px */
  padding: 0.5625rem 0.625rem;
  /* 9px 10px */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(0.25rem);
  /* 4px */
  z-index: 100;
}

.size-tooltip.tip-visible {
  opacity: 1;
  transform: translateY(0);
}

.size-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0.75rem;
  /* 12px */
  border: 0.3125rem solid transparent;
  /* 5px */
  border-top-color: rgba(255, 255, 255, 0.95);
}

.size-tooltip-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.5rem;
  /* 8px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
  margin-bottom: 0.3125rem;
  /* 5px */
  display: block;
}

.size-tooltip table {
  width: 100%;
  border-collapse: collapse;
}

.size-tooltip td {
  font-family: 'Outfit', sans-serif;
  font-size: 0.59375rem;
  /* 9.5px */
  font-weight: 600;
  color: #334155;
  padding: 0.125rem 0;
  /* 2px */
  line-height: 1.3;
}

.size-tooltip td:first-child {
  color: #64748b;
  font-weight: 700;
  padding-right: 0.5rem;
  /* 8px */
  white-space: nowrap;
}

/* Generic spec tooltip */
.spec-tip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  /* 8px */
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  /* 4px */
  min-width: 8.75rem;
  /* 140px */
  max-width: 12.5rem;
  /* 200px */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.85);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.90),
    0 0.25rem 1rem rgba(0, 0, 0, 0.10),
    0 0.75rem 2rem rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  /* 12px */
  padding: 0.5rem 0.625rem;
  /* 8px 10px */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
  white-space: normal;
}

.spec-tip.tip-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.spec-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.3125rem solid transparent;
  /* 5px */
  border-top-color: rgba(255, 255, 255, 0.95);
}

.spec-tip-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.5625rem;
  /* 9px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
  margin-bottom: 0.1875rem;
  /* 3px */
  display: block;
}

.spec-tip-body {
  font-family: 'Outfit', sans-serif;
  font-size: 0.625rem;
  /* 10px */
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  display: block;
}

/* Button tooltips (Customize / Preview) */
.btn-tooltip-wrap {
  position: relative;
  display: flex;
  flex: 1;
}

.btn-tooltip-wrap .btn-tooltip {
  position: absolute;
  bottom: calc(100% + 0.375rem);
  /* 6px */
  left: 50%;
  transform: translateX(-50%) translateY(0.1875rem);
  /* 3px */
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(0.75rem);
  /* 12px */
  -webkit-backdrop-filter: blur(0.75rem);
  border-radius: 0.5rem;
  /* 8px */
  padding: 0.3125rem 0.5625rem;
  /* 5px 9px */
  font-family: 'Outfit', sans-serif;
  font-size: 0.625rem;
  /* 10px */
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
}

.btn-tooltip-wrap .btn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.25rem solid transparent;
  /* 4px */
  border-top-color: rgba(15, 23, 42, 0.88);
}

@media (hover: hover) {
  .btn-tooltip-wrap:hover .btn-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── Suggest for Me modal ── */
#suggest-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.375rem);
  /* 6px */
  -webkit-backdrop-filter: blur(0.375rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 40rem) {
  #suggest-modal-backdrop {
    align-items: center;
    padding: 1.5rem;
    /* 24px */
  }
}

#suggest-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

#suggest-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2rem) saturate(200%);
  /* 32px */
  -webkit-backdrop-filter: blur(2rem) saturate(200%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.85);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.90),
    0 0.5rem 2.5rem rgba(0, 0, 0, 0.14),
    0 2rem 5rem rgba(0, 0, 0, 0.10);
  border-radius: 1.75rem 1.75rem 0 0;
  /* 28px */
  width: 100%;
  max-width: 30rem;
  /* 480px */
  padding: 1.75rem 1.5rem 2rem;
  /* 28px 24px 32px */
  transform: translateY(1.5rem);
  /* 24px */
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

@media (min-width: 40rem) {
  #suggest-modal {
    border-radius: 1.75rem;
    /* 28px */
    transform: translateY(0) scale(0.96);
  }
}

#suggest-modal-backdrop.open #suggest-modal {
  transform: translateY(0) scale(1);
}

#suggest-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 40% at 50% 0%, rgba(255, 255, 255, 0.50) 0%, transparent 70%);
  pointer-events: none;
}

.suggest-dot {
  width: 0.375rem;
  /* 6px */
  height: 0.375rem;
  /* 6px */
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.25s ease;
}

.suggest-dot.active {
  background: #4f46e5;
  width: 1.125rem;
  /* 18px */
  border-radius: 6.1875rem;
  /* 99px */
}

.suggest-opt {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  /* 10px */
  width: 100%;
  padding: 0.6875rem 0.875rem;
  /* 11px 14px */
  border-radius: 0.875rem;
  /* 14px */
  border: 0.09375rem solid rgba(226, 232, 240, 0.8);
  /* 1.5px */
  background: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: 'Outfit', sans-serif;
  text-align: left;
  outline: none;
}

.suggest-opt:hover {
  border-color: rgba(79, 70, 229, 0.35);
  background: rgba(79, 70, 229, 0.03);
}

.suggest-opt.selected {
  border-color: #4f46e5;
  background: rgba(79, 70, 229, 0.06);
  box-shadow: 0 0 0 0.1875rem rgba(79, 70, 229, 0.08);
  /* 3px */
}

.suggest-opt-icon {
  width: 2rem;
  /* 32px */
  height: 2rem;
  /* 32px */
  border-radius: 0.625rem;
  /* 10px */
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.suggest-opt-icon .material-symbols-outlined {
  font-size: 1rem;
  /* 16px */
  color: #4f46e5;
}

.suggest-opt-label {
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.suggest-opt-sub {
  font-size: 0.625rem;
  /* 10px */
  font-weight: 500;
  color: #64748b;
  margin-top: 0.0625rem;
  /* 1px */
}

.suggest-result-card {
  border-radius: 1rem;
  /* 16px */
  border: 0.09375rem solid rgba(79, 70, 229, 0.20);
  /* 1.5px */
  background: rgba(79, 70, 229, 0.04);
  padding: 0.875rem 1rem;
  /* 14px 16px */
}

@keyframes pulseGlowSuggest {
  0% {
    box-shadow: 0 0.375rem 1rem rgba(79, 70, 229, 0.3), 0 0 0 0 rgba(79, 70, 229, 0.4);
  }

  70% {
    box-shadow: 0 0.375rem 1rem rgba(79, 70, 229, 0.3), 0 0 0 1rem rgba(79, 70, 229, 0);
  }

  100% {
    box-shadow: 0 0.375rem 1rem rgba(79, 70, 229, 0.3), 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

.suggest-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem !important;
  /* 8px */
  padding: 0.875rem 2rem !important;
  /* 14px 32px */
  border-radius: 6.1875rem !important;
  /* 99px */
  border: none;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem !important;
  /* 15px */
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.30s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
  animation: pulseGlowSuggest 2.5s infinite;
  box-shadow: 0 0.375rem 1rem rgba(79, 70, 229, 0.3) !important;
}

.suggest-trigger-btn:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  transform: translateY(-0.1875rem) scale(1.03);
  /* -3px */
  box-shadow: 0 0.75rem 1.75rem rgba(79, 70, 229, 0.5);
  animation: none;
}

.suggest-trigger-btn:active {
  transform: translateY(0.0625rem) scale(0.98);
  /* 1px */
  box-shadow: 0 0.25rem 0.75rem rgba(79, 70, 229, 0.4);
}

.suggest-trigger-btn .material-symbols-outlined {
  font-size: 1.25rem;
  /* 20px */
}

/* ── Spec specs grid within card ── */
.specs-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.375rem 0.5rem;
  /* 6px 8px */
  margin-bottom: 0.5rem;
  /* 8px */
  padding-bottom: 0.5rem;
  /* 8px */
  border-bottom: 0.0625rem solid rgba(226, 232, 240, 0.6);
  /* 1px */
}

/* Icon sizing for spec labels */
.spec-icon {
  font-size: 0.5625rem !important;
  /* 9px */
  opacity: 0.75;
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  font-feature-settings: 'liga';
  line-height: 1;
  display: inline-block;
}

/* ══════════════════════════════════════════════════
   NAVBAR — Centered nav links, no overlap at any width
   ══════════════════════════════════════════════════ */
#smart-navbar .ios26-liquid-pill {
  min-width: 0;
}

.nav-links-center {
  display: none;
}

@media (min-width: 75rem) {

  /* 1200px */
  .nav-links-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    /* 12px */
    flex: 0 1 auto;
    white-space: nowrap;
    pointer-events: auto;
    z-index: 3;
  }
}

@media (min-width: 80rem) {

  /* 1280px */
  .nav-links-center {
    gap: 1rem;
    /* 16px */
  }
}

@media (min-width: 90rem) {

  /* 1440px */
  .nav-links-center {
    gap: 1.5rem;
    /* 24px */
  }
}

/* Scale font at breakpoints */
.nav-links-center a {
  font-size: 0.6875rem !important;
  /* 11px */
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
  font-weight: 600;
}

@media (min-width: 75rem) {
  .nav-links-center a {
    font-size: 0.71875rem !important;
    /* 11.5px */
  }
}

@media (min-width: 80rem) {
  .nav-links-center a {
    font-size: 0.78125rem !important;
    /* 12.5px */
  }
}

@media (min-width: 90rem) {
  .nav-links-center a {
    font-size: 0.84375rem !important;
    /* 13.5px */
  }
}

/* Flex boundaries enforce true center without overlap */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  margin-top: 0.0625rem;
  /* 1px */
  justify-content: flex-start;
  flex: 1 1 0%;
  min-width: max-content;
  z-index: 3;
}

.nav-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  /* 8px */
  flex: 1 1 0%;
  min-width: max-content;
  z-index: 3;
}

/* ── ADD TO CART — Liquid Glass Button ── */
.cart-btn-glass {
  position: relative;
  background: #4f46e5;
  backdrop-filter: blur(1.25rem) saturate(180%);
  /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.10);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.10),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.15),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18),
    0 0.375rem 0.875rem rgba(79, 70, 229, 0.35);
  color: #ffffff;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.cart-btn-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cart-btn-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cart-btn-glass>* {
  position: relative;
  z-index: 2;
}

.cart-btn-glass:hover {
  background: #4f46e5;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.15),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.18),
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.22),
    0 0.625rem 1.5rem rgba(79, 70, 229, 0.50);
  transform: translateY(-0.0625rem);
  /* -1px */
}

/* ══════════════════════════════════════════════════
   FROSTED GLASS — Spec Selector Pills & Action Buttons
   ══════════════════════════════════════════════════ */

.spec-sel-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(1.25rem) saturate(180%);
  /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.25),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18),
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14);
  color: #64748b;
  overflow: visible;
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

.spec-sel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.spec-sel-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.spec-sel-btn>* {
  position: relative;
  z-index: 2;
}

.spec-sel-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.30);
  color: #4f46e5;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.35),
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20),
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.18);
  transform: translateY(-0.03125rem);
}

.spec-sel-btn.active {
  background: rgba(255, 255, 255, 0.16);
  border: 0.15625rem solid rgba(79, 70, 229, 0.70);
  /* 2.5px */
  color: #4f46e5;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.30),
    0 0.125rem 0.375rem rgba(0, 0, 0, 0.16),
    0 0.375rem 1rem rgba(79, 70, 229, 0.28);
}

/* ── Customize / Preview action buttons ── */
.deck-card-item .btn-tooltip-wrap button {
  position: relative;
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(1.25rem) saturate(180%) !important;
  /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%) !important;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18) !important;
  /* 1px */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.25),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18),
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14) !important;
  color: #64748b !important;
  overflow: visible !important;
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1) !important;
  font-size: 0.6875rem !important;
  /* 11px baseline */
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  border-radius: 6.1875rem !important;
}

.deck-card-item .btn-tooltip-wrap button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 45% at 50% 0%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.deck-card-item .btn-tooltip-wrap button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 30% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.deck-card-item .btn-tooltip-wrap button>* {
  position: relative;
  z-index: 2;
}

.deck-card-item .btn-tooltip-wrap button:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #4f46e5 !important;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.35),
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20),
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.22) !important;
  transform: translateY(-0.0625rem);
}

/* ── PRODUCT CARD — Carved Glass Effect ── */
.product-card-glass {
  position: relative;
  --card-glow: 0 1.25rem 3rem rgba(0, 0, 0, 0.06);
  /* 20px 48px */
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.55) !important;
  /* 1px */
  box-shadow:
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.80),
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.06),
    inset 0.0625rem 0 0 rgba(255, 255, 255, 0.40),
    inset -0.0625rem 0 0 rgba(255, 255, 255, 0.30),
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.10),
    0 0.5rem 1.5rem rgba(0, 0, 0, 0.10),
    var(--card-glow) !important;
  overflow: visible !important;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow, border-color;
  transition: transform 220ms cubic-bezier(0.15, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.15, 0, 0.2, 1), border-color 220ms cubic-bezier(0.15, 0, 0.2, 1) !important;
  border-radius: 2rem !important; /* Fixed: Matched inner image 2rem radius to prevent corner bleeding */
}

.product-card-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 110% 42% at 50% 0%,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.18) 40%,
      transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.product-card-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 72% 28% at 50% 102%,
      rgba(255, 255, 255, 0.30) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.product-card-glass>* {
  position: relative;
  z-index: 1;
}

/* ================================================================
   CONTINUOUS FLUID SCALING DESIGN (Baseline: 1366px screen width)
   ================================================================ */
@media (min-width: 48rem) {
  html {
    /* 1.1713vw evaluates to exactly 16px base font size when screen is 1366px wide.
       Clamped between 0.75rem (12px) and 2.8125rem (45px on 4K) to protect layout usability. */
    font-size: clamp(0.75rem, 1.1713vw, 2.8125rem);
  }
}

/* ── Dynamic fluid container mapping ── */
nav#smart-navbar>div[class*="max-w-"] {
  max-width: 90rem !important;
}

/* ================================================================
   COMPONENT HARDCODED OVERRIDES
   ================================================================ */

/* 1. Nav-bar Pill & Logo */
#smart-navbar .ios26-liquid-pill {
  height: 3.5rem !important;
  /* 56px baseline */
}

@media (min-width: 48rem) {
  #smart-navbar img {
    height: 1.5rem !important;
    /* 24px baseline */
  }
}

@media (max-width: 47.9375rem) {
  #smart-navbar img {
    height: 1.125rem !important;
    /* 18px baseline */
  }
}

/* 2. Smart Fixed CTA Pill */
#smart-cta .ios26-liquid-pill {
  height: 3rem !important;
}

@media (min-width: 48rem) {
  #smart-cta .ios26-liquid-pill {
    height: 3.75rem !important;
  }
}

/* 3. Mousepad Catalog Card Spacings & Borders */
.deck-card-item .aspect-\[12\/6\.5\] {
  border-radius: 1.25rem !important;
  /* 20px baseline */
  margin-bottom: 0.75rem !important;
  /* 12px baseline */
}

.deck-card-item button:not(.spec-sel-btn):not(.spec-info-btn) {
  height: 2.375rem !important;
  /* 38px baseline */
}

.deck-card-item .cart-btn-glass {
  height: 2.5rem !important;
  /* 40px baseline */
}

/* ═══════════════════════════════════════════════════════
   4. COMPONENT INTERACTIVE SCALE REFINEMENTS
   ═══════════════════════════════════════════════════════ */

.suggest-trigger-btn {
  font-size: 0.9375rem !important;
  padding: 0.875rem 2rem !important;
}

.deck-card-item button:not(.spec-sel-btn):not(.spec-info-btn) {
  font-size: 0.6875rem !important;
  /* 11px baseline */
}

.deck-card-item .cart-btn-glass {
  font-size: 0.75rem !important;
  /* 12px baseline */
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

#smart-navbar .nav-actions-wrap a:not(:has(svg)),
#smart-navbar .nav-actions-wrap button:not(:has(svg)) {
  font-size: 0.8125rem !important;
  /* 13px baseline */
  padding: 0.5rem 1.25rem !important;
  border-radius: 6.1875rem !important;
}

/* ═══════════════════════════════════════════════════════
   FLUID MATERIAL ICONS OVERRIDE
   Overwrites Google's static 24px default stylesheet value 
   to scale relative to your root clamp() font size.
   ═══════════════════════════════════════════════════════ */
.material-symbols-outlined {
  font-size: 1.5rem;
  /* Converts static 24px to a relative, scaling 1.5rem */
}

/* ══════════════════════════════════════════════════
   NAV SUBMENU DROPDOWNS — Desktop (.nav-dd)
   Added for: Store / Design Your Mousepad / Collaborate / Accessories
   ══════════════════════════════════════════════════ */
.nav-dd {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  /* 3px */
}



.nav-dd-caret {
  font-size: 1rem !important;
  /* 16px, overrides .material-symbols-outlined default */
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin-top: 0.125rem; /* <-- ADD THIS: Nudges the arrow down by 2px */
}
.nav-dd:hover .nav-dd-caret,
.nav-dd.open .nav-dd-caret {
  transform: rotate(180deg);
  opacity: 0.9;
}

.nav-dd-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.6875rem;
  /* 11px — invisible bridge so hover doesn't drop between trigger and panel */
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.nav-dd:hover .nav-dd-panel,
.nav-dd.open .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dd-panel-inner {
  min-width: 12.5rem;
  /* 200px */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(1.25rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.6);
  border-radius: 1.25rem;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.6),
    0 0.5rem 1rem rgba(15, 23, 42, 0.08),
    0 1rem 2.5rem rgba(15, 23, 42, 0.14);
  padding: 0.4375rem;
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
  transform: translateY(-0.375rem);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.22s ease;
}

.nav-dd:hover .nav-dd-panel-inner,
.nav-dd.open .nav-dd-panel-inner {
  transform: translateY(0);
  opacity: 1;
}

/* ══════════════════════════════════════════════════
   WIDE DROPDOWNS (Collaborate & Corporate)
   ══════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════
   WIDE DROPDOWNS & STORE COLUMNS (Typography & Hover)
   ══════════════════════════════════════════════════ */
.nav-dd-panel--wide .nav-dd-panel-inner {
  min-width: 24rem; 
  padding: 1.25rem 1.25rem 1.75rem 1.25rem; 
  gap: 0.375rem; 
}

/* 1. Large chunkier hover states for BOTH Wide panels and Store columns */
.nav-links-center .nav-dd-panel--wide .nav-dd-item,
.nav-links-center .nav-dd-panel-inner--columns .nav-dd-item {
  padding: 0.75rem 1.25rem !important; 
  border-radius: 0.75rem; 
  justify-content: center; /* Keeps single-line items perfectly centered vertically */
}

/* 2. Larger Title Text */
.nav-dd-panel--wide .nav-dd-item-title,
.nav-dd-panel-inner--columns .nav-dd-item-title {
  font-size: 0.9375rem; 
  font-weight: 600; 
  letter-spacing: 0.02em;
  margin-bottom: 0; /* Flexbox 'gap' handles spacing now */
}

/* 3. Larger Description / Tag Text */
.nav-dd-panel--wide .nav-dd-item-desc,
.nav-dd-panel-inner--columns .nav-dd-item-desc,
.nav-dd-panel-inner--columns .nav-dd-item-tag {
  font-size: 0.75rem; 
  line-height: 1.5; 
  letter-spacing: 0.015em; 
}

/* ══════════════════════════════════════════════════
   BASE DROPDOWN ITEMS (Fixes regular dropdowns too)
   ══════════════════════════════════════════════════ */
.nav-links-center .nav-dd-item {
  display: flex !important;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5625rem 0.75rem !important;
  border-radius: 0.75rem;
  text-decoration: none;
  white-space: normal !important;
  font-size: 0.8125rem !important;
  transition: background-color 0.15s ease;
}

/* ADD THESE TWO BLOCKS BACK TO RESTORE THE HOVER EFFECTS */
.nav-links-center .nav-dd-item:hover {
  background: rgba(79, 70, 229, 0.08);
}

.nav-dd-item:hover .nav-dd-item-title {
  color: #4f46e5;
}

/* ══════════════════════════════════════════════════
   NAV SUBMENU DROPDOWNS — Desktop (.nav-dd)
   Added for: Store / Design Your Mousepad / Collaborate / Accessories
   ══════════════════════════════════════════════════ */
.nav-dd {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  /* 3px */
}

/* 👇 ADD THIS BLOCK: Keeps the trigger text purple when the panel is hovered or open 👇 */
.nav-dd:hover .nav-dd-trigger,
.nav-dd.open .nav-dd-trigger {
  color: #4f46e5 !important;
}

.nav-dd-caret {
  font-size: 1rem !important;
  /* 16px, overrides .material-symbols-outlined default */
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin-top: 0.125rem; 
}

.nav-dd-item-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0f172a;
  font-family: "Outfit", sans-serif;
  line-height: 1.3;
  letter-spacing: 0.015em; /* ADDED: Global tracking fix */
}

.nav-dd-item-tag,
.nav-dd-item-desc {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
  letter-spacing: 0.01em; /* ADDED: Global tracking fix */
}

.nav-dd-item--desc {
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
}

/* ══════════════════════════════════════════════════
   NAV ACCORDION SUBMENUS — Mobile drawer (.mobile-nav-group)
   Added for: Store / Design Your Mousepad / Collaborate / Accessories
   ══════════════════════════════════════════════════ */
#mobile-nav-list>.mobile-nav-link,
#mobile-nav-list>.mobile-nav-group {
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.08);
  /* 1px */
}

#mobile-nav-list>.mobile-nav-link:last-child,
#mobile-nav-list>.mobile-nav-group:last-child {
  border-bottom: none;
}

/* Trigger reuses .mobile-nav-link visuals but its own border is suppressed —
   the wrapping .mobile-nav-group owns the divider line instead. */
.mobile-nav-group-trigger.mobile-nav-link {
  width: 100%;
  background: none;
  border: none;
  border-bottom: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.mobile-nav-group-label {
  flex: 1;
}

.mobile-nav-chevron {
  font-size: 1.25rem !important;
  /* 20px */
  opacity: 0.6;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-group.open .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.mobile-nav-group.open .mobile-nav-submenu {
  grid-template-rows: 1fr;
}

.mobile-nav-submenu-inner {
  overflow: hidden;
  min-height: 0;
}

.mobile-nav-sublink {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.625rem 0 0.625rem 2.4375rem;
  /* 10px 0 10px 39px — aligns under group icon/label */
  font-size: 0.875rem;
  /* 14px */
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-sublink:active {
  color: #fff;
}

.mobile-nav-sublink-title {
  font-weight: 600;
}

.mobile-nav-sublink-tag {
  font-size: 0.75rem;
  /* 12px */
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-nav-sublink--desc {
  padding-top: 0.6875rem;
  padding-bottom: 0.6875rem;
}

.mobile-nav-sublink-desc {
  font-size: 0.75rem;
  /* 12px */
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}


/* ══════════════════════════════════════════════════
   NAVBAR DROPDOWN BACKDROP (DISCORD BLUR EFFECT)
   ══════════════════════════════════════════════════ */
#nav-dropdown-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45); /* Dark overlay matching your surface colors */
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  z-index: 55; /* Sits above the CTA (z-50) but below the Navbar (z-60) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease 0.08s, visibility 0.22s ease 0.08s;
}

/* ADD THIS: Elegant, high-performance inline grain layer */
#nav-dropdown-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  
  /* baseFrequency increased from 0.85 to 0.95 for denser grain */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  
  background-size: 140px 140px; /* Tighter grain scale */
  opacity: 0.15; /* Increased from 0.04 to make it clearly visible */
  mix-blend-mode: screen; /* Changed to 'screen' to force clean browser rendering over the blur */
  pointer-events: none; /* Mouse clicks pass right through */
}

/* Magically show the backdrop when any dropdown is hovered or actively clicked open */
body:has(.nav-dd:hover) #nav-dropdown-backdrop,
body:has(.nav-dd.open) #nav-dropdown-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease 0.05s, visibility 0.18s ease 0.05s; /* Delay opacity so the pill whitens first */
}

/* ══════════════════════════════════════════════════
   KEEP NAVBAR & DROPDOWN BRIGHT WHEN OVERLAY IS ACTIVE
   ══════════════════════════════════════════════════ */

/* 1. Smooth transition on the navbar pill — delay the fade-OUT so it doesn't
      flicker when the cursor briefly gaps between two dropdown triggers */
#smart-navbar .ios26-liquid-pill {
  transition: background 0.22s ease 0.08s; /* 80ms exit delay eliminates inter-dropdown flicker */
}

/* 2. Make the navbar pill highly opaque white when any dropdown is open/hovered.
      On the way IN there's no delay — instant response feels snappy */
body:has(.nav-dd:hover) #smart-navbar .ios26-liquid-pill,
body:has(.nav-dd.open) #smart-navbar .ios26-liquid-pill {
  background: rgba(255, 255, 255, 0.95);
  transition: background 0.12s ease 0s; /* Whiten faster to perfectly block the dark overlay */
}

/* 3. Ensure the dropdown panel itself stays bright */
body:has(.nav-dd:hover) .nav-dd-panel-inner,
body:has(.nav-dd.open) .nav-dd-panel-inner {
  background: rgba(255, 255, 255, 0.98);
  
}


/* DOnt remove thes comments as we may need them for future reference. */



/* 4. Fix: search icon + cart icon stay dark/visible when pill turns white.
      text-on-surface-variant (#64748b) is already dark enough, but the icon's
      color is inherited via Tailwind classes. We force it explicitly so it
      never washes out against the white pill background. */
/* body:has(.nav-dd:hover) #smart-navbar .nav-actions-wrap .material-symbols-outlined,
body:has(.nav-dd.open) #smart-navbar .nav-actions-wrap .material-symbols-outlined {
  color: #0f172a !important;
  opacity: 0.7 !important;
} */

/* 4a. Base state: Keep search icon permanently in front and add anti-flicker delay */
#smart-navbar .glow-search-wrap .material-symbols-outlined {
  z-index: 10;
  transition: color 0.22s ease 0.08s, opacity 0.22s ease 0.08s; /* 80ms delay stops flicker between dropdowns */
}

/* 4b. Hover state: ONLY the search icon stays crisp and dark */
body:has(.nav-dd:hover) #smart-navbar .glow-search-wrap .material-symbols-outlined,
body:has(.nav-dd.open) #smart-navbar .glow-search-wrap .material-symbols-outlined {
  color: #0f172a !important;
  opacity: 0.7 !important;
  transition: color 0.18s ease 0s, opacity 0.18s ease 0s !important; /* Instant turn-on */
}



/* 5. Also keep the backdrop's fade-out slightly delayed to match the pill */
#nav-dropdown-backdrop {
  transition: opacity 0.22s ease 0.08s, visibility 0.22s ease 0.08s;
}

/* ══════════════════════════════════════════════════
   DROPDOWN MENU SPACING (BREATHING ROOM)
   ══════════════════════════════════════════════════ */
.nav-dd-panel {
  /* Default was 0.6875rem. 1.5rem pushes it down cleanly below the navbar pill */
  padding-top: 1.5rem !important; 
}

/* Optional: Make the slide-in animation slightly more pronounced to match the new gap */
.nav-dd-panel-inner {
  transform: translateY(-0.75rem); /* Starts slightly higher before sliding down */
}
/* ══════════════════════════════════════════════════
   MULTI-COLUMN STORE DROPDOWN
   Three sections separated by vertical dividers
   ══════════════════════════════════════════════════ */

/* Override: column layout for the merged Store panel */
/* Override: column layout for the merged Store panel */
/* ══════════════════════════════════════════════════
   MULTI-COLUMN STORE DROPDOWN
   Three sections separated by vertical dividers
   ══════════════════════════════════════════════════ */
.nav-dd-panel-inner--columns {
  flex-direction: row !important;
  gap: 0.5rem !important; /* Space for the dividers to breathe */
  min-width: max-content !important; /* Let it grow naturally to fit the new chunkier items */
  width: max-content; 
  align-items: stretch;
  padding: 1.25rem 1.25rem 1.75rem 1.25rem !important; /* MATCHES wide panel padding perfectly */
}

.nav-dd-col {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: auto; 
  padding: 1rem 2rem 1.75rem 1.5rem !important; /* REDUCED: Perfectly balanced at 2.5rem */
  min-width: 11.5rem; /* 1. Default to narrower width for left & right columns */
}

/* 2. Target the middle column specifically (3rd child in the container) to give it more breathing room */
.nav-dd-col:nth-child(3) {
  min-width: 18.5rem; /* Roomy width for long mousepad names */
}

/* .nav-dd-col:first-child { padding-left: 0; } */
.nav-dd-col:last-child { padding-right: 0; }

/* Column section heading — adapted to the chunkier layout */
.nav-dd-col-heading {
  font-size: 0.75rem; /* Increased to match larger scale */
  font-weight: 700;
  letter-spacing: 0.06em; 
  color: #94a3b8;
  padding: 0.25rem 1.25rem 0.2rem; /* Left padding matches the 1.25rem hover pill padding exactly */
  margin-bottom: 0;
  font-family: "Outfit", sans-serif;
}

/* Vertical divider between columns */
.nav-dd-divider {
  width: 0.0625rem;
  background: rgba(15, 23, 42, 0.08);
  align-self: stretch;
  margin: 0.5rem 0.5rem; 
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   MOBILE: SECTION HEADINGS WITHIN ACCORDION
   ══════════════════════════════════════════════════ */
.mobile-nav-sublink-section-heading {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
  padding: 0.75rem 0 0.25rem 2.4375rem;
  font-family: "Outfit", sans-serif;
  margin: 0;
}

/* First section heading has less top padding — no preceding content */
.mobile-nav-submenu-inner .mobile-nav-sublink-section-heading:first-child {
  padding-top: 0.375rem;
}


/* =========================================
   SHRINK NAVBAR CONTENTS (Keep Navbar Height)
   ========================================= */

/* 1. Make the Logo smaller */
@media (min-width: 48rem) {
  #smart-navbar img { 
    height: 1.15rem !important; /* Reduced from 1.5rem */
  }
}

/* 2. Make the Main Nav Links smaller */
#smart-navbar .nav-links-center > a,
#smart-navbar .nav-dd-trigger {
  font-size: 0.72rem !important; /* Reduces base font size */
}

/* 3. Make the Search Bar smaller */
#smart-navbar .glow-search-wrap input {
  font-size: 0.75rem !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* 4. Make the Icons (Search, Cart) smaller */
#smart-navbar .nav-actions-wrap .material-symbols-outlined {
  font-size: 1.15rem !important; /* Reduced from 1.375rem */
}

/* 5. Make the "Sign up" button smaller */
#smart-navbar .nav-actions-wrap button.cart-btn-glass,
#smart-navbar .nav-actions-wrap a.cart-btn-glass {
  font-size: 0.72rem !important;
  padding: 0.35rem 1rem !important; 
  height: 2.25rem !important; /* Reduced from standard height */
}


/* ══════════════════════════════════════════════════
   EXPERIMENTAL UPGRADE: PREMIUM DYNAMIC DIAGONAL WEAVE
   ══════════════════════════════════════════════════ */
/* no need right now , keepin as future reference */


/* ═════════════════════════════════════════════════════════════════
   EXPERIMENTAL UPGRADE: DISABLED BACKDROP GRID (FOR FUTURE REFERENCE)
   ═════════════════════════════════════════════════════════════════ */
/*
body {
  background-color: #fbfcfe !important; // Ensure solid base surface background
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1; // Renders behind all content and cards
  pointer-events: none;
  
  // Seamless, pixel-locked SVG vector tile replacing the repeating-linear-gradient
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60 L60 0 M60 120 L120 60' stroke='%234f46e5' stroke-width='40' opacity='0.06' stroke-linecap='square'/%3E%3Cpath d='M0 60 L60 120 M60 0 L120 60' stroke='%23a855f7' stroke-width='40' opacity='0.04' stroke-linecap='square'/%3E%3C/svg%3E");
  
  background-size: 120px 120px; // Forces browser to align with integer coordinates
  background-repeat: repeat;
  
  // Soft radial spotlight: keeps focus on the top hero area and fades to clean white
  mask-image: radial-gradient(circle at 50% 25%, black 20%, rgba(0, 0, 0, 0.45) 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 20%, rgba(0, 0, 0, 0.45) 60%, transparent 95%);
  
  // Slow, cinematic shifting effect (90 seconds per full cycle)
  animation: patternShift 90s linear infinite;
}

// Mathematically perfect loop: 120px matches the SVG pattern tile size perfectly
@keyframes patternShift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 120px 120px;
  }
}
*/

#mobile-menu-panel div::-webkit-scrollbar {
  display: none; /* Hides scrollbar for Chrome, Safari and Opera */
}

#mobile-menu-panel div {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ── MG Esports Series Specific Styling ── */
.spec-sel-btn[data-value="mgesports"] .series-icon-img {
  height: 1.125rem; /* Slightly larger for the premium esports look */
  margin-bottom: 0.0625rem;
  transform: scale(1.1);
}

/* Optional: Custom active state color for Esports series 
   If you want the border to turn a specific 'Esports Purple' instead of primary blue */
.spec-sel-btn[data-value="mgesports"].active {
  border-color: #6366f1; /* Indigo-500 */
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 0.125rem 0.5rem rgba(99, 102, 241, 0.3);
}