/* ═══════════════════════════════════════════════════════════════════════════════
   ZONEX STORE — EDITORIAL SPLIT STOREFRONT MASTHEAD + GLASS CATEGORY DOCK
   Clean Apple/Linear-style open split header (zero bulky card wrapper)
   ═══════════════════════════════════════════════════════════════════════════════ */

.sx-store-hero {
  position: relative;
  padding: 110px 0 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid rgba(225, 29, 46, 0.14);
  margin-bottom: 22px;
}

/* Soft asymmetric warm gold ambient bloom on left */
.sx-store-hero::before {
  content: "";
  position: absolute;
  top: 40px;
  left: -40px;
  width: 440px;
  height: 190px;
  background: radial-gradient(ellipse at 30% 50%, rgba(225, 29, 46, 0.16) 0%, transparent 72%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

/* Precision hairline gold accent glow along the bottom border */
.sx-store-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(360px, 60%);
  height: 1.5px;
  background: linear-gradient(90deg, #E11D2E 0%, rgba(255, 240, 180, 0.7) 45%, transparent 100%);
  pointer-events: none;
}

.sx-hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}

/* Inline Breadcrumb + Live Telemetry Micro-Row */
.sx-micro-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(215, 210, 232, 0.72);
}

.sx-micro-bar a {
  color: #E11D2E;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sx-micro-bar a:hover {
  opacity: 0.8;
}

.sx-micro-sep {
  width: 1px;
  height: 11px;
  background: rgba(225, 29, 46, 0.35);
}

.sx-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

.sx-live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.sx-live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #10B981;
  animation: sxPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes sxPing {
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

/* Sculpted Editorial Split Headline */
.sx-hero-h1 {
  font-family: 'Passion One', 'Inter', sans-serif !important;
  font-size: clamp(42px, 5.4vw, 66px) !important;
  font-weight: 900 !important;
  line-height: 0.94 !important;
  letter-spacing: 0.035em !important;
  margin: 0 0 10px !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.sx-hero-h1 .sx-pearl {
  background: linear-gradient(180deg, #FFFFFF 18%, #F3F1EC 58%, #B9B4A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 18px rgba(255, 255, 255, 0.14)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.9));
}

.sx-hero-h1 .sx-gold {
  background: linear-gradient(110deg, #E11D2E 0%, #FFF9E0 24%, #FFD65A 42%, #D99E1C 58%, #FFF5C8 78%, #E11D2E 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sxGoldFlow 5.4s linear infinite;
  filter: drop-shadow(0 0 24px rgba(225, 29, 46, 0.38)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9));
}

@keyframes sxGoldFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

.sx-hero-sub {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(212, 208, 228, 0.76);
  margin: 0;
}

/* Right Side — Floating Frosted Glass Store Telemetry Cluster */
.sx-hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sx-stat-dock {
  display: inline-flex;
  align-items: center;
  padding: 10px 6px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28, 23, 36, 0.72) 0%, rgba(12, 10, 18, 0.84) 100%);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(225, 29, 46, 0.24);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.sx-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sx-stat-cell:last-child {
  border-right: none;
}

.sx-stat-cell b {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
}

.sx-stat-cell b.gold {
  color: #E11D2E;
}

.sx-stat-cell span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(190, 185, 208, 0.7);
  margin-top: 3px;
}

.sx-quick-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(225, 29, 46, 0.3);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #F4F4F5 !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.sx-quick-track svg {
  width: 15px;
  height: 15px;
  stroke: #E11D2E;
}

.sx-quick-track:hover {
  background: rgba(225, 29, 46, 0.16);
  border-color: rgba(225, 29, 46, 0.65);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .sx-store-hero {
    padding: 96px 0 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .sx-hero-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .sx-stat-dock {
    width: 100%;
    justify-content: space-between;
  }
  .sx-stat-cell {
    padding: 0 10px;
  }
  .sx-quick-track {
    width: 100%;
    justify-content: center;
  }
}

/* ── Category Filter Dock ── */
body #chips.tabs {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 24px !important;
  padding: 7px 8px !important;
  border-radius: 20px !important;

  /* Frosted Crystal Glass Dock */
  background: linear-gradient(
    145deg,
    rgba(28, 23, 36, 0.72) 0%,
    rgba(13, 11, 18, 0.84) 55%,
    rgba(24, 18, 10, 0.78) 100%
  ) !important;
  backdrop-filter: blur(24px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(170%) !important;
  border: 1px solid rgba(225, 29, 46, 0.24) !important;
  box-shadow:
    0 20px 50px -12px rgba(0, 0, 0, 0.85),
    0 0 36px -8px rgba(225, 29, 46, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(225, 29, 46, 0.08) !important;
  box-sizing: border-box !important;
}

/* Subtle top specular reflection line on dock */
body #chips.tabs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 160, 0.55), transparent);
  pointer-events: none;
}

/* ── Individual Category Pill ── */
body #chips.tabs .tab {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 12px !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: rgba(232, 228, 240, 0.85) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.35px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  cursor: pointer !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Category Icon Bubble */
body #chips.tabs .tab .tab-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(225, 29, 46, 0.35));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Category Label */
body #chips.tabs .tab .tab-lbl {
  position: relative;
  z-index: 2;
}

/* Live Product Count Pill inside Tab */
body #chips.tabs .tab .tab-cnt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(225, 29, 46, 0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  transition: all 0.25s ease;
}

/* Hover State (Inactive Pill) */
body #chips.tabs .tab:hover:not(.on) {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.13) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
  border-color: rgba(225, 29, 46, 0.48) !important;
  color: #FFFFFF !important;
  box-shadow:
    0 8px 20px -4px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(225, 29, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body #chips.tabs .tab:hover:not(.on) .tab-ico {
  transform: scale(1.18) rotate(-5deg);
}

body #chips.tabs .tab:hover:not(.on) .tab-cnt {
  background: rgba(225, 29, 46, 0.2);
  border-color: rgba(225, 29, 46, 0.45);
  color: #FFE485;
}

/* ── Active 24K Liquid Gold Tab ── */
body #chips.tabs .tab.on {
  background: linear-gradient(135deg, #F4F4F5 0%, #E11D2E 46%, #C88A12 100%) !important;
  border: 1px solid rgba(255, 248, 214, 0.72) !important;
  color: #0A0A0B !important;
  font-weight: 800 !important;
  box-shadow:
    0 10px 28px -4px rgba(225, 29, 46, 0.62),
    0 0 22px rgba(225, 29, 46, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(140, 88, 6, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Glossy Animated Shimmer Sweep on Active Tab */
body #chips.tabs .tab.on::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: skewX(-24deg);
  animation: royalTabSheen 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes royalTabSheen {
  0%, 62% { left: -120%; }
  100% { left: 160%; }
}

body #chips.tabs .tab.on .tab-ico {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transform: scale(1.1);
}

body #chips.tabs .tab.on .tab-cnt {
  background: rgba(11, 9, 5, 0.18);
  border-color: rgba(11, 9, 5, 0.22);
  color: #0A0A0B;
}

body #chips.tabs .tab:active {
  transform: scale(0.97) !important;
}

/* ── Responsive Adjustments ── */
@media (max-width: 768px) {
  body #chips.tabs {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 7px !important;
    gap: 6px !important;
    border-radius: 18px !important;
  }
  body #chips.tabs::-webkit-scrollbar {
    display: none;
  }
  body #chips.tabs .tab {
    flex-shrink: 0 !important;
    padding: 9px 13px !important;
    font-size: 11.5px !important;
    border-radius: 13px !important;
  }
}
