/* ═══════════════════════════════════════════════════════════════
   ImranBD Shop — Premium Dark Streetwear UI
   Stadium Goods × Kicks Crew × BD Market
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ───────────────────────────────────── */
:root, [data-theme="light"] {
  --bg: #F8F8F6;
  --surface: #FFFFFF;
  --surface-2: #F0F0ED;
  --border: #E5E5E0;
  --text-primary: #0A0A0A;
  --text-muted: #6B6B6B;
  --accent: #111111;
  --accent-text: #FFFFFF;
  --announcement-bg: #0A0A0A;
  --announcement-text: #FFFFFF;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --nav-bg: rgba(255,255,255,0.95);
  --badge-sale-bg: #FF3D00;
  --badge-sale-text: #FFFFFF;
  --input-bg: #FFFFFF;
  --input-border: #D5D5D0;
  
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
  --s0: 4px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 80px;
  --s8: 96px;
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 64px;
  --announce-h: 36px;
  --success: #00C853;
  --wa-green: #25D366;
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --border: #222222;
  --text-primary: #FFFFFF;
  --text-muted: #888888;
  --accent: #E8FF00;
  --accent-text: #000000;
  --announcement-bg: #E8FF00;
  --announcement-text: #000000;
  --card-shadow: none;
  --nav-bg: rgba(10,10,10,0.9);
  --badge-sale-bg: #FF3D00;
  --badge-sale-text: #FFFFFF;
  --input-bg: #1A1A1A;
  --input-border: #333333;
}


/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--text-primary); text-decoration: none; transition: color var(--t-fast); }
ul { list-style: none; }
main { flex: 1; }
::selection { background: var(--accent); color: var(--accent-text); }

/* ── Container ───────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--s3); }

/* ════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════════════════════════════════════════ */
.announce-bar {
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 300;
}
.announce-bar span { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════════
   SITE HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background var(--t), border-color var(--t);
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3);
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s3);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.5rem; line-height: 1; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo-text strong { color: var(--accent); }

/* Desktop nav — centered */
.main-nav { display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: var(--s1); }
.nav-item {}
.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--accent);
  transition: transform var(--t-fast);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--accent); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s1);
  justify-content: flex-end;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}
.icon-btn:hover { color: var(--text-primary); background: var(--surface-2); }
.icon-btn:hover { text-decoration: none; }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Logout button */
.btn-ghost-sm {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn-ghost-sm:hover { color: var(--text-primary); border-color: var(--text-muted); }

/* Search bar */
.search-bar {
  border-top: 1px solid var(--border);
  background: var(--surface);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}
.search-bar.open { max-height: 80px; }
.search-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px var(--s3);
  display: flex;
  gap: var(--s1);
}
.search-form input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--t-fast);
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form input:focus { border-color: var(--accent); }
.search-form button {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity var(--t-fast);
}
.search-form button:hover { opacity: 0.85; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: all var(--t-fast);
}

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 299;
  opacity: 0;
  transition: opacity var(--t);
}
.nav-overlay.open { display: block; opacity: 1; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 300;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3);
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.drawer-close:hover { background: var(--surface-2); color: var(--text-primary); }

.drawer-nav {
  padding: var(--s2);
  display: flex;
  flex-direction: column;
  gap: var(--s0);
  flex: 1;
}
.drawer-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.drawer-nav a:hover { color: var(--text-primary); background: var(--surface-2); }
.drawer-nav a:hover { text-decoration: none; }

.drawer-contact {
  padding: var(--s2) var(--s3) var(--s4);
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════════
   FLASH / ALERTS
   ══════════════════════════════════════════════════════════════ */
.flash-wrap { position: sticky; top: var(--header-h); z-index: 150; }
.flash {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 14px var(--s3);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.flash-success {
  background: rgba(0, 200, 83, 0.1);
  color: #00C853;
  border-bottom-color: rgba(0, 200, 83, 0.2);
}
.flash-error {
  background: rgba(255, 61, 0, 0.1);
  color: #FF6040;
  border-bottom-color: rgba(255, 61, 0, 0.2);
}
.flash-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  font-size: 1rem;
  padding: 0 4px;
}
.flash-dismiss:hover { opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}
.btn-primary:hover { background: var(--accent-dk); color: var(--accent-text); opacity: 0.92; }

.btn-dark {
  background: var(--text-primary);
  color: var(--accent-text);
}
.btn-dark:hover { background: #e0e0e0; color: var(--accent-text); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); background: var(--surface-2); }

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--badge-sale-text);
}
.btn-whatsapp:hover { background: #1ebe5a; color: var(--badge-sale-text); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border); }

.btn-sm  { padding: 8px 16px; font-size: 0.75rem; }
.btn-lg  { padding: 16px 32px; font-size: 0.88rem; }
.btn-xl  { padding: 18px 40px; font-size: 0.92rem; letter-spacing: 0.12em; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; width: 40px; height: 40px; border-radius: var(--radius-sm); }

/* ════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-control {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 255, 0, 0.08);
}
select.form-control { cursor: pointer; appearance: none; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ════════════════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;          /* vertically centered for cover-photo feel */
  padding-top: 60px;            /* offset for navbar */
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3);
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--s2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);  /* tighter for 65vh cover-photo */
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  margin-bottom: var(--s2);
  text-transform: uppercase;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: var(--s3);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }

.hero-cod-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.35);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.hero-cod-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: var(--s4);
  right: var(--s3);
  display: flex;
  gap: var(--s1);
  z-index: 10;
}
.hero-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  padding: 0;
}
.hero-dot.active { background: var(--accent); width: 40px; }

/* Slider arrow nav */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
}
.hero-arrow:hover { background: rgba(232,255,0,0.15); border-color: var(--accent); }
.hero-arrow-prev { left: var(--s3); }
.hero-arrow-next { right: var(--s3); }

/* ════════════════════════════════════════════════════════════════
   TRUST STRIP
   ══════════════════════════════════════════════════════════════ */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--s3) var(--s2);
  border-right: 1px solid var(--border);
}
.trust-card:last-child { border-right: none; }
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232, 255, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.trust-text h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  color: var(--text-primary);
}
.trust-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */
.section-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--s6) var(--s3) var(--s3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}
.section-title span { color: var(--accent); }
.section-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.products-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3) var(--s6);
}
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
}

/* ════════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s2);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  box-shadow: var(--card-shadow);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--accent), var(--card-shadow);
  text-decoration: none;
  color: var(--text-primary);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}
/* Blur-up: only when img-loading class is present */
.product-img-wrap img.img-loading {
  filter: blur(8px);
  transform: scale(1.06);
}
.product-img-wrap img.img-loaded {
  filter: blur(0);
  transform: scale(1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* Shimmer skeleton behind image while loading */
.product-img-wrap {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-2) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
.product-img-wrap.img-wrap-ready {
  background: var(--surface-2);
  animation: none;
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: var(--s3) var(--s2) var(--s2);
  transform: translateY(100%);
  transition: transform var(--t);
}
.product-card:hover .product-actions { transform: translateY(0); }

.product-info {
  padding: var(--s2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-category-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.product-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--s1);
}
.price-current  { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.price-sale     { font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.price-original { font-size: 0.95rem; color: var(--text-muted); text-decoration: line-through; }

/* ── Product List View ────────────────────────────────────────── */
.product-list { display: flex; flex-direction: column; gap: var(--s2); }
.product-list .product-card {
  flex-direction: row;
  min-height: 140px;
}
.product-list .product-img-wrap {
  width: 160px;
  min-width: 160px;
  aspect-ratio: auto;
  height: auto;
  border-radius: 0;
}
.product-list .product-info { padding: var(--s3); justify-content: center; }
.product-list .product-actions {
  transform: none;
  background: none;
  position: static;
  padding: 0;
  margin-top: var(--s2);
}
.product-list .product-card:hover .product-actions { transform: none; }

/* ════════════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════════ */
.badge {
  position: absolute;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  z-index: 5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-sale, .badge-off {
  top: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0;
}
.badge-oos     { top: var(--s1); right: var(--s1); background: rgba(0,0,0,0.7); color: var(--text-muted); border: 1px solid var(--border); }
.badge-new     { top: var(--s1); right: var(--s1); background: var(--accent); color: var(--accent-text); }

/* Status badges — inline (not absolute) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-pending    { background: rgba(255,193,7,0.12);  color: #FFC107; }
.badge-processing { background: rgba(33,150,243,0.12); color: #42A5F5; }
.badge-shipped    { background: rgba(0,200,83,0.12);   color: var(--success); }
.badge-delivered  { background: rgba(0,200,83,0.15);   color: var(--success); }
.badge-completed  { background: rgba(0,200,83,0.15);   color: var(--success); }
.badge-cancelled  { background: rgba(255,61,0,0.12);   color: #FF6040; }
.badge-failed     { background: rgba(255,61,0,0.12);   color: #FF6040; }
.badge-on-hold, .badge-on_hold { background: rgba(255,193,7,0.12); color: #FFC107; }
.badge-refunded   { background: rgba(156,39,176,0.12); color: #CE93D8; }
.badge-admin      { background: var(--accent); color: var(--accent-text); }

/* ════════════════════════════════════════════════════════════════
   CATEGORY TILES
   ══════════════════════════════════════════════════════════════ */
.category-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3) var(--s6);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s2);
}
.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color var(--t);
}
.category-tile:hover { border-color: var(--accent); text-decoration: none; }
.category-tile-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-tile:hover .category-tile-bg { transform: scale(1.06); }
.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 100%);
  transition: background var(--t);
}
.category-tile:hover .category-tile-overlay { background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(232,255,0,0.08) 100%); }
.category-tile-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s3);
}
.category-tile-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  display: block;
  transition: color var(--t-fast);
}
.category-tile:hover .category-tile-label { color: var(--accent); }
.category-tile-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   COD BANNER
   ══════════════════════════════════════════════════════════════ */
.cod-banner-section {
  max-width: 1280px;
  margin: 0 auto var(--s6);
  padding: 0 var(--s3);
}
.cod-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
}
.cod-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,255,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cod-banner-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cod-banner-title span { color: var(--accent); }
.cod-banner-sub { font-size: 0.85rem; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════════
   SHOP PAGE — filter sidebar + grid
   ══════════════════════════════════════════════════════════════ */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s4);
  max-width: 1280px;
  margin: var(--s4) auto;
  padding: 0 var(--s3);
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
}
.filter-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: var(--s3); }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.filter-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-muted);
  transition: all var(--t-fast);
  background: transparent;
}
.filter-chip:hover { border-color: var(--text-muted); color: var(--text-primary); text-decoration: none; }
.filter-chip.active {
  border-color: var(--accent);
  background: rgba(232, 255, 0, 0.1);
  color: var(--accent);
}

/* Price range */
.price-inputs {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
}
.price-inputs input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  /* hide number spinners */
  -moz-appearance: textfield;
}
.price-inputs input::-webkit-outer-spin-button,
.price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-inputs input::placeholder { color: var(--text-muted); }
.price-inputs input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,255,0,0.08);
}
.price-sep { color: var(--text-muted); font-size: 0.9rem; flex-shrink: 0; }


/* Price range slider */
.range-slider-wrap {
  position: relative;
  height: 36px;
  margin-top: var(--s2);
  padding: 0 2px; /* prevent thumb clip at edges */
}
.range-slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  pointer-events: none;
}
.range-slider-fill {
  position: absolute;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
input[type="range"].price-range {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
}
/* Min thumb — sits below max thumb in z order */
input[type="range"].price-range:first-of-type  { z-index: 3; }
input[type="range"].price-range:last-of-type   { z-index: 4; }

/* Webkit thumb */
input[type="range"].price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 0 0 3px rgba(232,255,0,0.12);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
input[type="range"].price-range::-webkit-slider-thumb:hover,
input[type="range"].price-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
  cursor: grabbing;
  box-shadow: 0 0 0 5px rgba(232,255,0,0.2);
}
/* Firefox thumb */
input[type="range"].price-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 0 0 3px rgba(232,255,0,0.12);
}
/* Hide default track so our custom track shows */
input[type="range"].price-range::-webkit-slider-runnable-track { background: transparent; }
input[type="range"].price-range::-moz-range-track { background: transparent; }


/* Active filter tags */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s2);
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,255,0,0.08);
  border: 1px solid rgba(232,255,0,0.2);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.filter-tag-remove {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.7;
  padding: 0;
}
.filter-tag-remove:hover { opacity: 1; }

/* Shop top bar */
.shop-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
  flex-wrap: wrap;
  gap: var(--s2);
}
.shop-count { font-size: 0.82rem; color: var(--text-muted); }
.shop-count strong { color: var(--text-primary); }

.shop-controls { display: flex; align-items: center; gap: var(--s1); }
.sort-select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.sort-select:focus { border-color: var(--accent); }

/* Grid/List toggle */
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}
.view-btn.active { background: rgba(232,255,0,0.1); border-color: var(--accent); color: var(--accent); }
.view-btn:hover:not(.active) { color: var(--text-primary); border-color: var(--text-muted); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--s7) var(--s3);
}
.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s3);
  color: var(--text-muted);
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--s1);
}
.empty-state p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: var(--s3); }

/* Pagination */
.pagination { display: flex; gap: 6px; align-items: center; margin-top: var(--s4); flex-wrap: wrap; }
.page-btn {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast);
  padding: 0 10px;
}
.page-btn:hover { color: var(--text-primary); border-color: var(--text-muted); text-decoration: none; }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

/* Loading spinner */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--radius-lg);
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile filter drawer */
.filter-mobile-btn {
  display: none;
  width: 100%;
  margin-bottom: var(--s3);
}
.filter-bottom-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 350;
  transform: translateY(100%);
  transition: transform var(--t-slow);
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--s3);
}
.filter-bottom-drawer.open { transform: translateY(0); }
.filter-drawer-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto var(--s3);
}

/* ════════════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ══════════════════════════════════════════════════════════════ */
.product-detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--s4) var(--s3);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: calc(var(--announce-h) + var(--header-h) + 24px); }
.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: var(--s2);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: var(--s1); flex-wrap: wrap; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--t-fast);
  flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb:hover { border-color: var(--text-muted); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product detail info */
.detail-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.detail-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: var(--s2);
}
.detail-price-row {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
}
.detail-price-current { font-family: var(--font-display); font-size: 2rem; color: var(--text-primary); letter-spacing: 0.04em; }
.detail-price-sale    { font-family: var(--font-display); font-size: 2rem; color: var(--accent); letter-spacing: 0.04em; }
.detail-price-original { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }

.detail-section { margin-bottom: var(--s3); }
.detail-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 52px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
  padding: 0 10px;
}
.size-btn:hover { border-color: var(--accent); color: var(--accent); }
.size-btn.active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

.detail-divider { border: none; border-top: 1px solid var(--border); margin: var(--s3) 0; }
.detail-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════════════════ */
.cart-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--s5) var(--s3);
}
.cart-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--s4);
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: var(--s2); }
.cart-item {
  display: flex;
  gap: var(--s2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s2);
  transition: border-color var(--t-fast);
}
.cart-item:hover { border-color: var(--border); }
.cart-item-img {
  width: 100px;
  min-width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.cart-item-meta { font-size: 0.75rem; color: var(--text-muted); }
.cart-item-price { font-size: 0.95rem; font-weight: 700; color: var(--accent); margin-top: auto; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s1);
}
.qty-btn {
  width: 30px;
  height: 30px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-display {
  min-width: 32px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px;
  transition: color var(--t-fast);
  align-self: flex-start;
}
.remove-btn:hover { color: var(--sale); }

/* Cart summary */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) + 20px);
}
.cart-summary-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: var(--s2);
  padding-top: var(--s2);
  border-top: 1px solid var(--border);
}
.summary-total span:last-child { color: var(--accent); }

.empty-cart {
  text-align: center;
  padding: var(--s7) var(--s3);
}
.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: var(--s3);
  opacity: 0.3;
}
.empty-cart h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.empty-cart p { color: var(--text-muted); margin-bottom: var(--s4); }

/* ════════════════════════════════════════════════════════════════
   CHECKOUT / ORDER PAGES
   ══════════════════════════════════════════════════════════════ */
.checkout-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--s5) var(--s3);
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--s4);
  align-items: start;
}
.checkout-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.checkout-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  margin-bottom: var(--s3);
}
.checkout-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }

/* Order summary sidebar */
.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) + 20px);
}
.order-summary-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}
.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.order-line:last-of-type { border-bottom: none; }
.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  padding-top: var(--s2);
  margin-top: var(--s1);
  border-top: 1px solid var(--border);
}
.order-total span:last-child { color: var(--accent); }

/* COD badge in checkout */
.cod-info {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(0,200,83,0.08);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: var(--radius);
  padding: var(--s2);
  margin-bottom: var(--s3);
}
.cod-info-icon { color: var(--success); flex-shrink: 0; }
.cod-info-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.cod-info-text strong { color: var(--success); }

/* Confirmation */
.confirmation-wrap {
  max-width: 600px;
  margin: var(--s6) auto;
  padding: 0 var(--s3);
  text-align: center;
}
.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,200,83,0.1);
  border: 2px solid rgba(0,200,83,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s3);
  color: var(--success);
}
.confirmation-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.confirmation-id {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s4);
}
.confirmation-id strong { color: var(--accent); }
.confirmation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  margin-bottom: var(--s3);
  text-align: left;
}

/* ════════════════════════════════════════════════════════════════
   AUTH PAGES
   ══════════════════════════════════════════════════════════════ */
.auth-wrap {
  min-height: calc(100vh - var(--header-h) - var(--announce-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s5) var(--s3);
  background: radial-gradient(ellipse at 50% 0%, rgba(232,255,0,0.04) 0%, transparent 70%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s5);
}
.auth-logo {
  text-align: center;
  margin-bottom: var(--s4);
}
.auth-logo span {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-logo span strong { color: var(--accent); }
.auth-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--s1);
}
.auth-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--s4);
}
.auth-form { display: flex; flex-direction: column; gap: var(--s3); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: var(--text-muted);
  font-size: 0.75rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-link {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--s2);
}
.auth-link a { color: var(--accent); font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   ACCOUNT PAGE
   ══════════════════════════════════════════════════════════════ */
.account-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--s5) var(--s3);
}
.account-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s4);
  align-items: start;
}
.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) + 20px);
}
.account-user-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.account-user-email { font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--s3); }
.account-nav-link {
  display: block;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: all var(--t-fast);
}
.account-nav-link:hover { color: var(--text-primary); background: var(--surface-2); text-decoration: none; }
.account-nav-link.active { color: var(--accent); background: rgba(232,255,0,0.08); }

/* Orders list */
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  margin-bottom: var(--s2);
  transition: border-color var(--t-fast);
}
.order-card:hover { border-color: var(--border); }
.order-card-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s2);
  flex-wrap: wrap;
}
.order-card-id {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.order-card-date { font-size: 0.75rem; color: var(--text-muted); margin-left: auto; }
.order-item-list { margin-bottom: var(--s2); }
.order-item-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.order-item-list li:last-child { border-bottom: none; }
.order-card-total {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: right;
}
.order-card-total span { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   ORDER TRACKING
   ══════════════════════════════════════════════════════════════ */
.track-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--s6) var(--s3);
}
.track-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--s1);
}
.track-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: var(--s4);
}
.track-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s4);
  margin-bottom: var(--s4);
}
.track-form .form-group { margin-bottom: var(--s3); }

/* Status timeline */
.status-timeline { padding: var(--s3) 0; }
.timeline-step {
  display: flex;
  gap: var(--s2);
  position: relative;
  padding-bottom: var(--s3);
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.timeline-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.timeline-dot.done {
  background: rgba(0,200,83,0.15);
  border-color: var(--success);
  color: var(--success);
}
.timeline-content { padding-top: 6px; }
.timeline-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.timeline-date { font-size: 0.72rem; color: var(--text-muted); }

/* Track result card */
.track-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s4);
}
.track-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--s2);
}
.track-order-id {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.about-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--s6) var(--s3);
}
.about-hero {
  text-align: center;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s5);
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--s2);
}
.about-hero-title span { color: var(--accent); }
.about-hero-sub { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  transition: border-color var(--t-fast);
}
.about-card:hover { border-color: var(--border); }
.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(232,255,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s1);
}
.about-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ════════════════════════════════════════════════════════════════
   404 / ERROR PAGES
   ══════════════════════════════════════════════════════════════ */
.error-wrap {
  min-height: calc(100vh - var(--header-h) - var(--announce-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s5) var(--s3);
  text-align: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 1;
  color: var(--border);
  letter-spacing: 0.04em;
}
.error-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.error-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--s4); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--s6) var(--s3) var(--s5);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s5);
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--s2);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--s3);
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-contact { display: flex; flex-direction: column; gap: var(--s2); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-contact-item svg { flex-shrink: 0; color: var(--text-muted); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--s2) var(--s3);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-accent { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   INLINE FORM UTILITY
   ══════════════════════════════════════════════════════════════ */
.inline-form { display: inline; }
.d-none-mobile { }

/* ════════════════════════════════════════════════════════════════
   RELATED PRODUCTS
   ══════════════════════════════════════════════════════════════ */
.related-section {
  border-top: 1px solid var(--border);
  padding: var(--s5) 0;
  margin-top: var(--s5);
}
.related-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

/* ════════════════════════════════════════════════════════════════
   SKELETON LOADERS
   ══════════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-2) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.text-accent  { color: var(--accent) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-sale    { color: var(--sale) !important; }
.text-center  { text-align: center; }
.mt-auto      { margin-top: auto; }
.gap-1        { gap: var(--s1); }
.gap-2        { gap: var(--s2); }
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full       { width: 100%; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card:nth-child(2) { border-right: none; }
  .shop-layout { grid-template-columns: 240px 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
    --announce-h: 32px;
  }

  /* Header: hide desktop nav */
  .main-nav  { display: none; }
  .d-none-mobile { display: none !important; }
  .hamburger { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }

  /* ── HERO MOBILE FIXES ────────────────────────────────────── */
  .hero-slider { height: 55vh; min-height: 360px; }
  /* Force ALL slides to left-align on mobile (overrides inline styles on slide 1) */
  .hero-slide {
    justify-content: flex-start !important;
  }
  .hero-content {
    text-align: left !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-actions {
    justify-content: flex-start !important;
    gap: var(--s1);
    flex-wrap: wrap;
  }
  .hero-sub { margin-left: 0 !important; max-width: 100%; }
  .hero-arrow { display: none; }

  /* ── PRODUCT ACTIONS — Always visible on touch ───────────── */
  /* Touch screens can't hover; show the order button always */
  .product-actions {
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 100%);
    padding: var(--s2) var(--s1) var(--s1);
  }
  .product-actions .btn { font-size: 0.7rem; padding: 8px 10px; }

  /* ── SECTION SPACING ─────────────────────────────────────── */
  .section-header { padding: var(--s4) var(--s3) var(--s2); }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  /* Category */
  .category-grid { grid-template-columns: 1fr; }

  /* Shop — stack */
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .filter-mobile-btn { display: flex; }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s1); }
  .product-list .product-img-wrap { width: 120px; min-width: 120px; }

  /* Cart */
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  /* Checkout */
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .form-row { grid-template-columns: 1fr; }

  /* Account */
  .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }

  /* Product detail */
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: var(--s4); }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --s3: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .auth-card { padding: var(--s3); }
  .section-header { padding: var(--s4) var(--s3) var(--s2); }

  /* ── HERO SMALL PHONE ───────────────────────────────────── */
  .hero-title { font-size: clamp(2.2rem, 11vw, 3.5rem); line-height: 0.95; }
  .hero-sub   { font-size: 0.8rem; margin-bottom: var(--s2); }
  .hero-tag   { font-size: 0.62rem; padding: 4px 10px; margin-bottom: var(--s1); }
  /* Shrink hero buttons on tiny screens */
  .hero-actions .btn { padding: 11px 18px !important; font-size: 0.76rem !important; letter-spacing: 0.06em !important; }
  /* Hide COD badge to save space on small phones */
  .hero-cod-badge { display: none; }

  /* ── TRUST STRIP — single column on tiny phones ──────────── */
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-card:last-child { border-bottom: none; }

  /* Cart */
  .cart-item-img { width: 80px; min-width: 80px; height: 80px; }
}

/* ── Announce Bar Marquee (mobile scrolling text) ─────────────── */
@media (max-width: 640px) {
  .announce-bar { overflow: hidden; }
  .announce-bar .announce-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 18s linear infinite;
  }
  .announce-bar .announce-track span {
    padding-right: 60px;
    flex-shrink: 0;
  }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
