/* WristFit SG Store — Dedicated Companion to wristfitsg.com */
:root {
  --navy-950: #0a0f1a;
  --navy-900: #0f1729;
  --navy-850: #121c30;
  --navy-800: #162033;
  --navy-700: #1e2d45;
  --navy-600: #2a3f5c;
  --gold-500: #b88d36;
  --gold-400: #d4a84b;
  --gold-300: #e8c06a;
  --gold-200: #f0d89a;
  --cream: #f5f0e6;
  --cream-muted: #c8c0b0;
  --text: #e8e4dc;
  --text-muted: #9e988c;
  --border: rgba(212, 168, 75, 0.2);
  --border-strong: rgba(212, 168, 75, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --wide: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(212, 168, 75, 0.15);
  --green: #2ecc71;
  --amber: #f39c12;
  --red: #e74c3c;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--gold-200);
}

/* Header & Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #121c30 0%, #1e2d45 50%, #121c30 100%);
  border-bottom: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--gold-200);
  text-align: center;
  padding: 0.45rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.announcement-bar strong {
  color: var(--cream);
  font-weight: 600;
}
.announcement-bar a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.brand-logo span.gold {
  color: var(--gold-400);
}
.brand-badge {
  background: rgba(212, 168, 75, 0.15);
  border: 1px solid var(--border);
  color: var(--gold-300);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--cream-muted);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-200);
  background: rgba(212, 168, 75, 0.08);
}
.nav-links a.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold-300);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn {
  background: var(--navy-800);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-btn:hover {
  background: var(--navy-700);
  border-color: var(--gold-400);
  transform: translateY(-1px);
}
.cart-badge {
  background: var(--gold-400);
  color: var(--navy-950);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 50% 20%, rgba(30, 45, 69, 0.85) 0%, var(--navy-950) 80%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tagline {
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-tagline::before,
.hero-tagline::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold-400);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--cream-muted);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill-badge {
  background: rgba(18, 28, 48, 0.75);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  color: var(--gold-200);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Main Container */
.main-content {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  width: 100%;
}

/* Two Column Layout: Calculator & Recommendations */
.finder-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .finder-grid {
    grid-template-columns: 1fr;
  }
}

.panel-card {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.panel-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.panel-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Form Controls */
.control-group {
  margin-bottom: 1.25rem;
}
.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.control-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--cream);
}
.control-val {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--gold-300);
  font-weight: 700;
  background: rgba(212, 168, 75, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--navy-700);
  outline: none;
  transition: background 0.2s;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-300);
  border: 2px solid var(--navy-950);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 168, 75, 0.4);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-300);
  border: 2px solid var(--navy-950);
  cursor: pointer;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Button Group Toggles */
.btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 0.4rem;
  background: var(--navy-950);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.btn-toggle {
  background: transparent;
  border: none;
  color: var(--cream-muted);
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-toggle.active {
  background: var(--navy-700);
  color: var(--gold-200);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Interactive SVG Wrist Profile Visualizer */
.visualizer-box {
  background: var(--navy-950);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: center;
}
.visualizer-svg-wrap {
  width: 100%;
  max-width: 380px;
  height: 190px;
  margin: 0 auto;
}
.visualizer-legend {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Recommendations Panel */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 500px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}
.spec-box {
  background: var(--navy-850);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.spec-box-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-400);
  margin-bottom: 0.25rem;
}
.spec-box-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.spec-box-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.fit-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.fit-alert.success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #a3e9b9;
}
.fit-alert.warning {
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.35);
  color: #f7cb73;
}

.tail-comparison {
  background: var(--navy-950);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.85rem;
}
.tail-comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.tail-comparison-row:last-child {
  border-bottom: none;
}
.tail-bar-wrap {
  width: 140px;
  background: var(--navy-800);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.tail-bar {
  height: 100%;
  border-radius: 4px;
}

/* Catalog Filter Bar */
.catalog-section {
  margin-top: 2rem;
}
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.catalog-title-wrap h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--cream);
}
.catalog-title-wrap p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

.catalog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  background: var(--navy-900);
  border: 1px solid var(--border-subtle);
  color: var(--cream-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover {
  border-color: var(--gold-400);
  color: var(--cream);
}
.filter-btn.active {
  background: var(--gold-400);
  color: var(--navy-950);
  border-color: var(--gold-400);
  font-weight: 700;
}

.match-filter-toggle {
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid var(--gold-400);
  color: var(--gold-200);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}
.match-filter-toggle.active {
  background: var(--gold-300);
  color: var(--navy-950);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.card-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.fit-badge {
  background: #1b4d3e;
  border: 1px solid #2ecc71;
  color: #a3e9b9;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.type-badge {
  background: var(--navy-850);
  border: 1px solid var(--border-subtle);
  color: var(--cream-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.product-media {
  background: var(--navy-950);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.product-media svg {
  max-height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}
.product-card:hover .product-media svg {
  transform: scale(1.05);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 0.75rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.product-specs {
  font-size: 0.825rem;
  color: var(--cream-muted);
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.spec-tag {
  background: var(--navy-850);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  margin-top: auto;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-300);
}
.product-price-currency {
  font-size: 0.8rem;
  color: var(--cream-muted);
  font-weight: 500;
}

.add-cart-btn {
  background: var(--navy-800);
  border: 1px solid var(--border);
  color: var(--gold-200);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.add-cart-btn:hover {
  background: var(--gold-400);
  color: var(--navy-950);
  border-color: var(--gold-400);
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--navy-900);
  border-left: 1px solid var(--border);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
}
.cart-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
}
.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}
.drawer-close:hover {
  color: var(--cream);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: var(--navy-950);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  position: relative;
}
.cart-item-media {
  width: 60px;
  height: 60px;
  background: var(--navy-900);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-media svg {
  max-width: 80%;
  max-height: 80%;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.cart-item-spec {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.cart-item-price {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-top: 0.4rem;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 8px;
}
.cart-item-remove:hover {
  color: var(--red);
}

.drawer-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  background: var(--navy-950);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
}
.cart-subtotal-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-300);
}

.checkout-btn {
  width: 100%;
  background: #25d366;
  color: #063116;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.checkout-btn:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.checkout-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
}

/* Cross-Promotion Banner to wristfitsg.com */
.cross-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-850) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cross-banner-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.cross-banner-content p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  max-width: 620px;
}
.cross-banner-action .btn-primary {
  background: var(--gold-400);
  color: var(--navy-950);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.cross-banner-action .btn-primary:hover {
  background: var(--gold-300);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  padding: 3rem 1.25rem 2rem;
  margin-top: auto;
  font-size: 0.875rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-links a {
    font-size: 0.825rem;
    padding: 0.25rem 0.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.footer-brand h4 {
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 420px;
}
.footer-links h5 {
  font-size: 0.9rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--cream-muted);
}
.footer-bottom {
  max-width: var(--wide);
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: var(--navy-850);
  border: 1px solid var(--gold-400);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: auto;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Shopee Affiliate Styling */
.shopee-btn {
  background: linear-gradient(135deg, #ee4d2d 0%, #ff5722 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(238, 77, 45, 0.35);
  cursor: pointer;
}
.shopee-btn:hover {
  background: linear-gradient(135deg, #d73211 0%, #e64a19 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.5);
  color: #ffffff !important;
}
.btn-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.affiliate-disclosure-box {
  background: rgba(30, 45, 69, 0.35);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  font-size: 0.825rem;
  color: var(--cream-muted);
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.5;
}
.affiliate-disclosure-box strong {
  color: var(--gold-300);
}

.shopee-btn.full-width {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.shopee-info-banner {
  background: linear-gradient(135deg, rgba(238, 77, 45, 0.1) 0%, rgba(30, 45, 69, 0.5) 100%);
  border: 1px solid rgba(238, 77, 45, 0.35);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.5;
}
.shopee-info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.shopee-info-text {
  font-size: 0.85rem;
  color: var(--cream);
}
.shopee-info-text strong {
  color: #ff8566;
}

.shopee-header-badge {
  background: rgba(238, 77, 45, 0.15);
  border: 1px solid rgba(238, 77, 45, 0.4);
  color: #ff9478;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.shopee-header-badge:hover {
  background: #ee4d2d;
  color: #ffffff;
  border-color: #ee4d2d;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ee4d2d;
  box-shadow: 0 0 6px #ee4d2d;
}

.shopee-query-tag {
  font-size: 0.78rem;
  color: var(--cream-muted);
  background: var(--navy-950);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.3;
}
.shopee-query-tag svg {
  flex-shrink: 0;
  stroke: var(--gold-400);
}
.shopee-query-tag strong {
  color: var(--gold-300);
  font-weight: 600;
}

.shopee-click-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

/* Under Construction / Launching Soon Holding Page */
.holding-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(30, 45, 69, 0.75) 0%, var(--navy-950) 75%);
}

.holding-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100vw);
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.holding-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 12px rgba(212, 168, 75, 0.1);
}

.launch-badge .pulse-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
  display: inline-block;
}

.holding-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.holding-headline .gold {
  color: var(--gold-400);
}

.holding-lead {
  color: var(--cream-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.holding-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  text-align: left;
}

@media (max-width: 820px) {
  .holding-pillars {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: rgba(15, 23, 41, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-400);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold-400);
}

.pillar-card h3 {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.holding-hub-box {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-850) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.holding-hub-header {
  text-align: center;
  margin-bottom: 2rem;
}

.holding-hub-header h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.holding-hub-header p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto;
}

.holding-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 680px) {
  .holding-guides-grid {
    grid-template-columns: 1fr;
  }
}

.holding-guide-card {
  display: block;
  background: var(--navy-850);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.holding-guide-card:hover {
  border-color: var(--gold-400);
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.holding-guide-card .guide-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.holding-guide-card .guide-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.holding-guide-card .guide-arrow {
  color: var(--gold-400);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.holding-guide-card:hover .guide-arrow {
  transform: translate(2px, -2px);
}

.holding-guide-card .guide-summary {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.holding-action-wrap {
  text-align: center;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hub-primary-btn {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-950) !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(212, 168, 75, 0.3);
}

.hub-primary-btn:hover {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 168, 75, 0.45);
}

.hub-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}


