/* ==========================================================================
   FLUID ROOT SCALING SYSTEM (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);
  }
}

/* ═══════════════════════════════════════════════════════
   Apple iOS 26 Liquid Glass Style Blocks
   ═══════════════════════════════════════════════════════ */

.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); /* 32px -> 2rem */
  -webkit-backdrop-filter: blur(2rem) saturate(200%) brightness(1.08);
  border: 0.0625rem solid rgba(255, 255, 255, 0.45); /* 1px -> 0.0625rem */
  box-shadow:
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.90), /* 1.5px -> 0.09375rem */
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.08), /* 1px -> 0.0625rem */
    0 0.125rem 0.5rem rgba(0, 0, 0, 0.06), /* 2px -> 0.125rem, 8px -> 0.5rem */
    0 0.5rem 2rem rgba(0, 0, 0, 0.08), /* 8px -> 0.5rem, 32px -> 2rem */
    0 1.5rem 3rem rgba(0, 0, 0, 0.04); /* 24px -> 1.5rem, 48px -> 3rem */
  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%); /* 20px -> 1.25rem */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.1); /* 1px -> 0.0625rem */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.1), /* 1px -> 0.0625rem */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.2); /* 2px -> 0.125rem, 4px -> 0.25rem */
  overflow: hidden;
}

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

.ios26-liquid-pill .ios26-liquid-pill__ring {
  position: absolute;
  top: 0.0625rem; /* 1px -> 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%, /* Proportional brand yellow overlay */
    transparent 70%
  );
}

.glass-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(1.25rem) saturate(180%); /* 20px -> 1.25rem */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  border: 0.0625rem solid rgba(255, 255, 255, 0.1); /* 1px -> 0.0625rem */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.1), /* 1px -> 0.0625rem */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.2); /* 2px -> 0.125rem, 4px -> 0.25rem */
  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; /* 12px -> 0.75rem */
  --lg-border-alpha: 0.28;
  --lg-fill-alpha: 0.08;
  --lg-blur: 1.125rem; /* 18px -> 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); /* 10px -> 0.625rem, 28px, 26px, 64px */
  --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)); /* 1px -> 0.0625rem */
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.55), /* 1px -> 0.0625rem */
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.10), /* 1px -> 0.0625rem */
    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); /* 14px, 44px */
}

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

  /* GPU rendering protection parameters */
  outline: 0.0625rem solid transparent;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-clip: padding-box;
  -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.20s ease, border-color 0.20s ease, box-shadow 0.20s ease;
}

.glass-panel input {
  background: transparent;
}

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

.hero-container-wide {
  width: 100%;
  max-width: 90rem; /* 1440px -> 90rem */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem; /* 24px -> 1.5rem */
  padding-right: 1.5rem;
}

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

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

::-webkit-scrollbar { width: 0.25rem; /* 4px -> 0.25rem */ }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 6.1875rem; /* 99px */ }

.hover-lift { transition: transform .25s ease, box-shadow .25s ease; }
.hover-lift:hover { transform: translateY(-0.1875rem); /* -3px */ }

.deck-card-item,
.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: 5rem; /* 80px -> 5rem */
}

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

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

[data-staggered-item] {
  opacity: 0;
  transform: translateY(2.5rem); /* 40px -> 2.5rem */
  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); }

/* ── 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 -> 20rem */
  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); /* 1px */
  box-shadow:
    inset 0.0625rem 0 0 rgba(255, 255, 255, 0.1),
    -0.25rem 0 2rem rgba(0, 0, 0, 0.25); /* -4px, 32px */
  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), /* 1px */
    0 0 0.625rem 0.125rem rgba(255, 255, 255, 0.4), /* 10px, 2px */
    0 0 1.125rem 0.25rem rgba(70, 70, 175, 0.4); /* 18px, 4px */
  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); /* 1px */
  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), /* 1px */
    0 0 0.625rem 0.1875rem rgba(255, 255, 255, 0.25), /* 10px, 3px */
    0 0 1.375rem 0.375rem rgba(70, 70, 175, 0.5); /* 22px, 6px */
}

.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) { /* 767px */
  .section-container {
    padding-left: 1rem; /* 16px */
    padding-right: 1rem;
  }
}

/* ══════════════════════════════════════════════════
   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 {
  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), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18), /* 2px, 4px */
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14); /* 4px, 12px */
  color: #64748b;
  overflow: visible;
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
  min-width: 0;         
  flex: 1 1 0%;         
  height: 1.8125rem !important; /* 29px -> 1.8125rem */
  padding: 0 0.625rem !important; /* 10px -> 0.625rem */      
  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;
  outline: none;
  white-space: nowrap;
}

.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), /* 1px */
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20), /* 4px, 8px */
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.18); /* 8px, 20px */
  transform: translateY(-0.03125rem); /* -0.5px */
}

.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), /* 1px */
    0 0.125rem 0.375rem rgba(0, 0, 0, 0.16), /* 2px, 6px */
    0 0.375rem 1rem rgba(79, 70, 229, 0.28); /* 6px, 16px */
}

.spec-sel-btn .series-icon-img {
  height: 0.78125rem; /* 12.5px -> 0.78125rem */
  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 -> 0.59375rem */
  transform: scale(1.1);
}

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

.spec-sel-btn .series-new-badge {
  position: absolute;
  top: -1rem; /* -16px -> -1rem */
  right: -0.3125rem; /* -5px -> -0.3125rem */
  width: 1.75rem; /* 28px -> 1.75rem */
  height: 1.75rem;
  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 -> 0.6875rem */
  height: 0.6875rem;
  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.5rem; /* 8px -> 0.5rem */
  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), /* 1px */
    0 0.25rem 1rem rgba(0, 0, 0, 0.10), /* 4px, 16px */
    0 0.75rem 2rem rgba(0, 0, 0, 0.08); /* 12px, 32px */
  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;
}

/* 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);
  }
}

/* ══════════════════════════════════════════════════
   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 */ }
}
.nav-links-center a {
  font-size: 0.6875rem !important; /* 11px */
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
@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 */ }
}
.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), /* 1px */
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.15), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18), /* 2px, 4px */
    0 0.375rem 0.875rem rgba(79, 70, 229, 0.35); /* 6px, 14px */
  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), /* 1px */
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.18), /* 1px */
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.22), /* 4px, 8px */
    0 0.625rem 1.5rem rgba(79, 70, 229, 0.50); /* 10px, 24px */
  transform: translateY(-0.0625rem); /* -1px */
}

/* ── Customize / Preview action buttons — deep frosted glass ── */
.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), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18), /* 2px, 4px */
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14) !important; /* 4px, 12px */
  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 text spacing */
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  border-radius: 6.1875rem !important; /* 99px layout */
}

.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), /* 1px */
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20), /* 4px, 8px */
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.22) !important; /* 8px, 20px */
  transform: translateY(-0.0625rem); /* -1px */
}

/* ── PRODUCT CARD — Carved Glass Effect ── */
.product-card-glass {
  position: relative;
  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.55) !important; /* 1px */
  box-shadow:
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.80), /* 1.5px */
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.06), /* 1px */
    inset 0.0625rem 0 0 rgba(255, 255, 255, 0.40), /* 1px */
    inset -0.0625rem 0 0 rgba(255, 255, 255, 0.30), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.10), /* 2px, 4px */
    0 0.5rem 1.5rem rgba(0, 0, 0, 0.10), /* 8px, 24px */
    0 1.25rem 3rem rgba(0, 0, 0, 0.06) !important; /* 20px, 48px */
  overflow: visible !important;
  transform: translateZ(0);
  will-change: transform;
  border-radius: 2rem !important; /* 32px -> 2rem */
}

.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;
}

/* ═══════════════════════════════════════════════════════
   SHOP-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════ */
.shop-hero {
  position: relative; 
  width: 100%; 
  border-radius: 1.75rem; /* 28px */ 
  overflow: hidden; 
  height: 18.75rem; /* 300px */
}
@media (min-width: 48rem) { .shop-hero { height: 22.5rem; border-radius: 2.25rem; } } /* 360px -> 22.5rem, 36px */
@media (min-width: 64rem) { .shop-hero { height: 26.25rem; border-radius: 2.5rem; } } /* 420px -> 26.25rem, 40px */

/* ── Filter Pill (category tabs) — Liquid Glass ── */
.filter-pill {
  position: relative;
  display: inline-flex; 
  align-items: center; 
  gap: 0.3125rem; /* 5px */ 
  padding: 0.4375rem 0.875rem; /* 7px 14px */
  border-radius: 6.1875rem; /* 99px */ 
  font-family: 'Outfit', sans-serif; 
  font-size: 0.75rem; /* 12px -> 0.75rem */
  font-weight: 700; 
  border: 0.0625rem solid rgba(255, 255, 255, 0.18); /* 1px */
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(1.25rem) saturate(180%); /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  color: #64748b; 
  cursor: pointer; 
  outline: none; 
  white-space: nowrap; 
  flex-shrink: 0;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.25), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18), /* 2px, 4px */
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14); /* 4px, 12px */
  overflow: visible;
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}
.filter-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;
}
.filter-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;
}
.filter-pill > * {
  position: relative;
  z-index: 2;
}
.filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.30);
  color: #4f46e5;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.35), /* 1px */
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20), /* 4px, 8px */
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.18); /* 8px, 20px */
  transform: translateY(-0.03125rem); /* -0.5px -> -0.03125rem */
}
.filter-pill.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), /* 1px */
    0 0.125rem 0.375rem rgba(0, 0, 0, 0.16), /* 2px, 6px */
    0 0.375rem 1rem rgba(79, 70, 229, 0.28); /* 6px, 16px */
}

/* ── Sort dropdown — Liquid Glass ── */
.sort-select {
  position: relative;
  appearance: none;
  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 */
  border-radius: 6.1875rem; /* 99px */
  padding: 0.4375rem 0.75rem 0.4375rem 0.875rem; /* 7px 12px 7px 14px */
  font-family: 'Outfit', sans-serif; 
  font-size: 0.75rem; /* 12px -> 0.75rem */
  font-weight: 700; 
  color: #64748b;
  cursor: pointer; 
  outline: none;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.25), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18), /* 2px, 4px */
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14); /* 4px, 12px */
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}
.sort-select:hover {
  border-color: rgba(255, 255, 255, 0.30);
  color: #4f46e5;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.35), /* 1px */
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20), /* 4px, 8px */
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.18); /* 8px, 20px */
  transform: translateY(-0.03125rem); /* -0.5px -> -0.03125rem */
}
.sort-select:focus, .sort-select.open {
  border: 0.15625rem solid rgba(79, 70, 229, 0.70); /* 2.5px */
  color: #4f46e5;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.30), /* 1px */
    0 0.125rem 0.375rem rgba(0, 0, 0, 0.16), /* 2px, 6px */
    0 0.375rem 1rem rgba(79, 70, 229, 0.28); /* 6px, 16px */
}

/* ── Series badge (shop specific overrides) ── */
.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 -> 0.5rem */
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 0.07em; 
  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, 1px */
.series-badge.mgglide { background: rgba(79,70,229,0.10); color: #4f46e5; border: 0.0625rem solid rgba(79,70,229,0.20); } /* 1px, 1px */
.series-badge .series-dot { width: 0.25rem; height: 0.25rem; border-radius: 50%; flex-shrink: 0; } /* 4px -> 0.25rem */
.series-badge.mgweave .series-dot { background: #b45309; }
.series-badge.mgglide .series-dot { background: #4f46e5; }

/* ── Pagination — Liquid Glass ── */
.page-btn {
  position: relative;
  width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; /* 36px -> 2.25rem */
  border-radius: 0.625rem; font-family: 'Outfit', sans-serif; font-size: 0.8125rem; font-weight: 700; /* 10px -> 0.625rem, 13px -> 0.8125rem */
  border: 0.0625rem solid rgba(255, 255, 255, 0.18); /* 1px */
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(1.25rem) saturate(180%); /* 20px */
  -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
  color: #64748b;
  cursor: pointer; outline: none;
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.25), /* 1px */
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.18), /* 2px, 4px */
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.14); /* 4px, 12px */
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}
.page-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;
}
.page-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;
}
.page-btn > * {
  position: relative;
  z-index: 2;
}
.page-btn:hover {
  border-color: rgba(255, 255, 255, 0.30);
  color: #4f46e5;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.35), /* 1px */
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.20), /* 4px, 8px */
    0 0.5rem 1.25rem rgba(79, 70, 229, 0.18); /* 8px, 20px */
  transform: translateY(-0.03125rem); /* -0.5px */
}
.page-btn.active { 
  background: #4f46e5; 
  border-color: #4f46e5; 
  color: #fff; 
  box-shadow: 0 0.25rem 0.75rem rgba(79, 70, 229, 0.3); /* 4px, 12px -> 0.25rem, 0.75rem */
}

/* ── Active filter tag ── */
.active-tag {
  display: inline-flex; 
  align-items: center; 
  gap: 0.3125rem; /* 5px */
  padding: 0.25rem 0.625rem 0.25rem 0.75rem; /* 4px, 10px, 12px */
  border-radius: 6.1875rem; /* 99px */
  font-family: 'Outfit', sans-serif; 
  font-size: 0.625rem; /* 10px */
  font-weight: 700;
  background: rgba(79,70,229,0.08); 
  border: 0.0625rem solid rgba(79,70,229,0.2); /* 1px */
  color: #4f46e5;
}
.active-tag button { display: flex; align-items: center; justify-content: center; outline: none; background: none; border: none; cursor: pointer; padding: 0; color: inherit; transition: color 0.15s; }
.active-tag button:hover { color: #ef4444; }

/* ── Price range slider ── */
input[type=range] { -webkit-appearance: none; appearance: none; height: 0.1875rem; /* 3px */ border-radius: 6.1875rem; background: #e2e8f0; outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1rem; height: 1rem; border-radius: 50%; background: #4f46e5; border: 0.125rem solid #fff; box-shadow: 0 0.0625rem 0.25rem rgba(79,70,229,0.4); cursor: pointer; } /* 16px, 2px, 1px, 4px */

/* ── Sidebar filter panel ── */
.filter-section-title { font-family: 'Outfit', sans-serif; font-size: 0.625rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.10em; color: #94a3b8; margin-bottom: 0.625rem; display: block; } /* 10px, 10px */
.filter-check-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0; cursor: pointer; border-radius: 0.5rem; transition: background 0.15s; } /* 8px, 6px, 8px */
.filter-check-row:hover { background: rgba(79,70,229,0.03); padding-left: 0.25rem; padding-right: 0.25rem; margin-left: -0.25rem; margin-right: -0.25rem; } /* 4px */
.filter-check-row input[type=checkbox] {
  width: 0.9375rem; height: 0.9375rem; border-radius: 0.25rem; /* 15px, 4px */
  color: #4646af; accent-color: #4646af;
  cursor: pointer; flex-shrink: 0;
}
.filter-check-row input[type=checkbox]:focus { outline: none; box-shadow: none; }
.filter-check-label { font-family: 'Outfit', sans-serif; font-size: 0.8125rem; font-weight: 600; color: #334155; flex-grow: 1; cursor: pointer; } /* 13px */
.filter-check-count { font-family: 'Outfit', sans-serif; font-size: 0.625rem; font-weight: 700; color: #94a3b8; background: #f1f5f9; padding: 0.0625rem 0.375rem; border-radius: 6.1875rem; } /* 10px, 1px, 6px */

/* ── Product card hide/show ── */
.product-card { transition: all 0.35s cubic-bezier(0.15,0,0.2,1); }
.product-card.filtered-out { opacity: 0.2 !important; transform: scale(0.97) !important; pointer-events: none; }

/* ── Wishlist button active ── */
.wishlist-btn.wishlisted { color: #ef4444 !important; }
.wishlist-btn.wishlisted .material-symbols-outlined { font-variation-settings: 'FILL' 1; }

/* ── Hero stat pills ── */
.hero-stat-pill { display: inline-flex; align-items: center; gap: 0.375rem; /* 6px */ }

/* ── Product count badge on filter pills ── */
.pill-count {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  min-width: 1.125rem; height: 1rem; border-radius: 6.1875rem; /* 18px, 16px */
  font-size: 0.5625rem; font-weight: 800; padding: 0 0.25rem; /* 9px, 4px */
  background: rgba(79,70,229,0.12); color: #4f46e5; transition: all 0.18s;
}
.filter-pill.active .pill-count { background: #4f46e5; color: #fff; }

/* ── Floating badge for new products ── */
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(79,70,229,0.3); }
  50% { box-shadow: 0 0 0 0.3125rem rgba(79,70,229,0); } /* 5px */
}
.badge-new-pulse { animation: badgePulse 2.5s infinite; }

/* ── "Add to cart" micro-animation ── */
@keyframes cartBounce {
  0%,100% { transform: scale(1); }
  30% { transform: scale(0.92); }
  60% { transform: scale(1.06); }
}
.cart-btn-animate { animation: cartBounce 0.35s ease; }

/* ── Mobile filter drawer ── */
#filter-drawer {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0;
  transition: opacity 0.3s ease;
}
#filter-drawer.open { pointer-events: all; opacity: 1; }
#filter-drawer-panel {
  position: absolute; bottom: 0; left: 0; right: 0; background: #fff;
  border-radius: 1.75rem 1.75rem 0 0; padding: 0.375rem 1.5rem 1.75rem; /* 28px, 6px, 24px */
  max-height: 88vh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.25,1,0.3,1);
  box-shadow: 0 -0.5rem 2.5rem rgba(0,0,0,0.12); /* -8px, 40px */
}
#filter-drawer.open #filter-drawer-panel { transform: translateY(0); }
.drawer-handle { width: 2.25rem; height: 0.25rem; border-radius: 6.1875rem; background: #e2e8f0; margin: 0 auto 1.25rem; } /* 36px, 4px, 20px */

/* ── Scrollbar hide for filter rows ── */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ── Skeleton loader ── */
@keyframes shimmer {
  0% { background-position: -25rem 0; } /* -400px */
  100% { background-position: 25rem 0; } /* 400px */
}
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf2 50%, #f1f5f9 75%);
  background-size: 50rem 100%; animation: shimmer 1.5s infinite; border-radius: 0.75rem; /* 800px, 12px */
}

/* ── Filter bar ── */
#filter-bar { position: relative; z-index: 40; background: transparent; border-bottom: 0.0625rem solid rgba(226,232,240,0.6); } /* 1px */
#filter-bar.scrolled { box-shadow: 0 0.125rem 0.75rem rgba(0,0,0,0.06); } /* 2px, 12px */

/* ── Shop Search Wrap ── */
.shop-search-wrap {
  position: relative; border-radius: 6.1875rem; /* 99px */
  transition: box-shadow 0.35s cubic-bezier(0.25,1,0.5,1) !important;
  box-shadow:
    0 0 0 0.0625rem rgba(255,255,255,0), /* 1px */
    0 0 0.625rem 0.125rem rgba(255,255,255,0), /* 10px, 2px */
    0 0 1.125rem 0.25rem rgba(70,70,175,0), /* 18px, 4px */
    inset 0 0.09375rem 0 rgba(255,255,255,0.70), /* 1.5px */
    0 0.125rem 0.375rem rgba(0,0,0,0.03), /* 2px, 6px */
    0 0.375rem 1.25rem rgba(0,0,0,0.04) !important; /* 6px, 20px */
}
.shop-search-wrap:focus-within {
  box-shadow:
    0 0 0 0.0625rem rgba(255,255,255,0.5), /* 1px */
    0 0 0.625rem 0.125rem rgba(255,255,255,0.4), /* 10px, 2px */
    0 0 1.125rem 0.25rem rgba(70,70,175,0.4), /* 18px, 4px */
    inset 0 0.09375rem 0 rgba(255,255,255,0.70), /* 1.5px */
    0 0.125rem 0.375rem rgba(0,0,0,0.03), /* 2px, 6px */
    0 0.375rem 1.25rem rgba(0,0,0,0.04) !important; /* 6px, 20px */
}

/* ═══════════════════════════════════════════════════════
   COLLECTION RAIL — product type navigation
   ═══════════════════════════════════════════════════════ */
.collection-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; /* 8px */
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  outline: none;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  transition: z-index 0s;
}
.collection-card:hover {
  z-index: 20;
}
.collection-card .collection-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.15,0,0.2,1);
  will-change: transform;
}
.collection-card:hover .collection-img-wrap {
  transform: scale(1.05) translateY(-0.5rem); /* -8px */
}
.collection-card img {
  transition: filter 0.4s cubic-bezier(0.15,0,0.2,1);
}
.collection-card:hover img {
  --tw-drop-shadow: drop-shadow(0 1.25rem 0.8125rem rgba(0, 0, 0, 0.15)) drop-shadow(0 0.5rem 0.3125rem rgba(0, 0, 0, 0.08)); /* 20px, 13px, 8px, 5px */
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.collection-card.active .collection-img-wrap {
  transform: scale(1.05) translateY(-0.25rem); /* -4px */
}
.collection-card.active img {
  --tw-drop-shadow: drop-shadow(0 0.625rem 0.9375rem rgba(79, 70, 229, 0.3)); /* 10px, 15px */
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.collection-card .collection-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
  transition: color 0.18s ease;
  line-height: 1;
}
.collection-card:hover .collection-label {
  color: #64748b;
}
.collection-card.active .collection-label {
  color: #4f46e5;
}

/* ── Sort Dropdown Menu Panel — Liquid Glass ── */
#sort-dropdown-menu {
  background: rgba(255, 255, 255, 0.99) !important;
  backdrop-filter: blur(1.75rem) saturate(200%) brightness(1.05) !important; /* 28px */
  -webkit-backdrop-filter: blur(1.75rem) saturate(200%) brightness(1.05) !important;
  border: 0.0625rem solid rgba(255, 255, 255, 0.70) !important; /* 1px */
  border-radius: 1.25rem !important; /* 20px */
  box-shadow:
    inset 0 0.09375rem 0 rgba(255, 255, 255, 0.90), /* 1.5px */
    inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.05), /* 1px */
    0 0.25rem 1rem rgba(0, 0, 0, 0.10), /* 4px, 16px */
    0 0.75rem 2rem rgba(0, 0, 0, 0.08) !important; /* 12px, 32px */
}

/* ═══════════════════════════════════════════════════════
   FLUID MATERIAL ICONS OVERRIDE
   ═══════════════════════════════════════════════════════ */
.material-symbols-outlined {
  font-size: 1.5rem;
}