/* ==========================================================================
   SUPPLI.MA - Mobile-First Luxury Athletic (Default Dark Obsidian + Light Mode Toggle)
   ========================================================================== */

:root {
  /* ==========================================
     DEFAULT: DARK OBSIDIAN / CHARCOAL LUXURY
     ========================================== */
  --bg-page: #0a0b0e;
  --bg-card: #12151c;
  --bg-surface: #181c25;
  --bg-surface-hover: #212734;
  --header-bg: rgba(10, 11, 14, 0.92);
  --drawer-bg: #10131a;
  --modal-bg: #12151c;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-inverse: #0a0b0e;

  --border-subtle: #1c212c;
  --border-medium: #28303f;
  --border-highlight: #3b465c;
  --border-glow: rgba(255, 255, 255, 0.12);

  --card-media-bg: radial-gradient(circle at 50% 50%, #1a1e29 0%, #0e1015 100%);
  --grad-hero: radial-gradient(circle at 50% 0%, rgba(36, 44, 60, 0.7) 0%, rgba(10, 11, 14, 0) 75%);
  --grad-aura: radial-gradient(circle, rgba(51, 65, 85, 0.4) 0%, rgba(10, 11, 14, 0) 70%);

  --btn-primary-bg: #ffffff;
  --btn-primary-text: #0a0b0e;
  --btn-primary-border: #ffffff;
  --btn-primary-hover: #e2e8f0;

  --btn-outline-bg: rgba(255, 255, 255, 0.04);
  --btn-outline-text: #f8fafc;
  --btn-outline-border: #28303f;
  --btn-outline-hover: rgba(255, 255, 255, 0.1);

  --input-bg: #181c25;
  --input-border: #28303f;
  --input-text: #f8fafc;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.85);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s var(--ease-spring);
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Helvetica, Arial, sans-serif;
}

/* ==========================================
   LIGHT MODE OVERRIDES
   ========================================== */
[data-theme="light"] {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-surface-hover: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.94);
  --drawer-bg: #ffffff;
  --modal-bg: #ffffff;
  
  --text-main: #090a0c;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-highlight: #94a3b8;
  --border-glow: rgba(0, 0, 0, 0.08);

  --card-media-bg: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
  --grad-hero: radial-gradient(circle at 50% -10%, rgba(203, 213, 225, 0.5) 0%, rgba(248, 250, 252, 0) 70%);
  --grad-aura: radial-gradient(circle, rgba(148, 163, 184, 0.25) 0%, rgba(241, 245, 249, 0) 70%);

  --btn-primary-bg: #090a0c;
  --btn-primary-text: #ffffff;
  --btn-primary-border: #090a0c;
  --btn-primary-hover: #1e293b;

  --btn-outline-bg: #ffffff;
  --btn-outline-text: #090a0c;
  --btn-outline-border: #cbd5e1;
  --btn-outline-hover: #f1f5f9;

  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-text: #090a0c;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
  --shadow-float: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes floatHeroMobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes shimmerWave {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ==========================================================================
   Announcement Bar (Mobile Ergonomic)
   ========================================================================== */

.announcement-bar {
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmerWave 6s infinite linear;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 40;
  transition: var(--transition);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-badge {
  background: var(--bg-surface-hover);
  color: var(--text-secondary);
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
  border: 1px solid var(--border-medium);
}

.nav-links {
  display: none; /* Mobile first: hidden on mobile, shown on desktop */
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.cart-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text-main);
  outline: none;
}

.cart-btn:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface-hover);
}

.cart-counter {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

/* ==========================================================================
   Hero Section (Mobile-First Compact & Punchy)
   ========================================================================== */

.hero-section {
  position: relative;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 16px 48px;
  overflow: hidden;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.hero-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulseLive 2s infinite;
}

.hero-title {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Universal Buttons */
.btn-black {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
  padding: 14px 24px;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.btn-black:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

.btn-black:active {
  transform: scale(0.98);
}

.btn-outline {
  background: var(--btn-outline-bg);
  color: var(--btn-outline-text);
  border: 1px solid var(--btn-outline-border);
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
}

.btn-outline:hover {
  background: var(--btn-outline-hover);
  border-color: var(--border-highlight);
}

.btn-outline:active {
  transform: scale(0.98);
}

/* Hero Showcase Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 380px;
  position: relative;
  animation: floatHeroMobile 4.5s ease-in-out infinite;
}

.hero-badge-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 9px;
  font-weight: 900;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-bar {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 24px 16px;
}

.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.trust-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-main);
}

.trust-text p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   Products Catalog (Mobile-First Touch Cards)
   ========================================================================== */

.products-section {
  padding: 48px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 16px;
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-count {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Product Card */
.product-card {
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card-media {
  position: relative;
  background: var(--card-media-bg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease-spring);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 9px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.card-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-sku {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.product-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
}

.product-meta-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.spec-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-medium);
}

.current-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.card-variant-wrap {
  margin-bottom: 14px;
}

.card-field-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.card-variant-select {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 700;
  outline: none;
  transition: var(--transition);
}

.card-variant-select:focus {
  border-color: var(--border-highlight);
}

.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stock-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.card-actions-v2 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.card-qty-stepper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  height: 44px;
}

.card-qty-stepper .qty-btn {
  width: 32px;
  height: 100%;
  font-size: 16px;
  color: var(--text-main);
}

.card-qty-stepper .qty-num {
  min-width: 28px;
  font-size: 13px;
  font-weight: 900;
  color: var(--text-main);
}

.btn-card-add {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
  height: 44px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-card-add:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

.btn-card-add:active {
  transform: scale(0.97);
}

.btn-card-add.added {
  background: #22c55e !important;
  color: #ffffff !important;
  border-color: #22c55e !important;
}

/* ==========================================================================
   Sticky Bottom Multi-Product Order Bar
   ========================================================================== */

.sticky-order-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-medium);
  padding: 12px 16px;
  z-index: 95;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.45);
  transform: translateY(115%);
  transition: transform 0.35s var(--ease-spring);
}

.sticky-order-bar.active {
  transform: translateY(0);
}

.sticky-order-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-order-summary {
  display: flex;
  flex-direction: column;
}

.sticky-order-count {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.sticky-order-total {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-shipping-free {
  font-size: 10px;
  font-weight: 800;
  background: #22c55e;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sticky-shipping-fee {
  font-size: 10px;
  font-weight: 800;
  background: var(--bg-surface-hover);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.sticky-order-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-btn-view {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.sticky-btn-view:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
}

.sticky-btn-checkout {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.sticky-btn-checkout:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Slide-out Cart Drawer
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: var(--drawer-bg);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: right 0.35s var(--ease-spring);
}

.cart-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
}

.drawer-title {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-main);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.shipping-progress-wrap {
  padding: 14px 20px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
}

.shipping-progress-text {
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.progress-bar {
  height: 5px;
  background-color: var(--border-medium);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--btn-primary-bg);
  width: 0%;
  transition: width 0.4s var(--ease-spring);
}

.drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  background-color: var(--card-media-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 4px;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: var(--text-main);
}

.cart-item-variant {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  background: var(--bg-card);
}

.qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-main);
}

.qty-num {
  font-size: 11.5px;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
  color: var(--text-main);
}

.cart-item-price {
  font-size: 13px;
  font-weight: 900;
  color: var(--text-main);
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--drawer-bg);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
}

.btn-checkout-drawer {
  width: 100%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
  padding: 14px;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   Modals (COD Checkout & Quick Details)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end; /* Mobile bottom sheet style */
  justify-content: center;
  padding: 0;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--modal-bg);
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-float);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s var(--ease-spring);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
}

.modal-title {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-main);
}

.modal-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background-color: var(--input-bg);
  color: var(--input-text);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  border-color: var(--btn-primary-bg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.payment-method-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-badge {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
}

.order-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 12px;
}

/* Quick Details Modal */
.product-detail-modal-card {
  max-width: 800px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.detail-image {
  background: var(--card-media-bg);
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 48px 16px 96px;
  border-top: 1px solid var(--border-subtle);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #8492a6;
  font-size: 13px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #8492a6;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: #8492a6;
  text-align: center;
}

/* Floating WhatsApp Quick Action Pill */
.floating-wa-pill {
  display: none !important; /* Hidden for regular visitors, only shown after order confirmation */
}

/* Cart Notification Toast */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-spring), opacity 0.35s ease;
  max-width: 92vw;
}

.cart-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-toast-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toast-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-main);
  white-space: nowrap;
}

.toast-icon {
  background: #22c55e;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.toast-action {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
}

.toast-action:hover {
  opacity: 0.9;
}

/* Bounce for Counter */
.cart-counter.bounce {
  animation: counterBounce 0.35s var(--ease-spring);
}

@keyframes counterBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulseLive 2s infinite;
}

/* ==========================================================================
   DESKTOP ADAPTATIONS (>= 768px & >= 1024px)
   ========================================================================== */

@media (min-width: 768px) {
  .header-container {
    padding: 16px 24px;
  }
  .nav-links {
    display: flex;
  }
  .hero-section {
    padding: 72px 24px 84px;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-cta-group {
    flex-direction: row;
  }
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
  .modal-card {
    border-radius: var(--radius-md);
    transform: scale(0.96);
  }
  .modal-overlay.active .modal-card {
    transform: scale(1);
  }
  .detail-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 54px;
  }
  .trust-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
