/* ============================================
   350 SHIRT — Premium E-Commerce Design System
   Dark Luxury Theme · Glassmorphism · Gold Accents
   ============================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- Number-specific font (Inter for digits only) ---------- */
@font-face {
  font-family: 'NumberFont';
  src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+002E, U+002C, U+20B9;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors — Dark Luxury Palette */
  --bg-primary: #070709;
  --bg-secondary: #0e0e12;
  --bg-card: #141418;
  --bg-card-hover: #1a1a20;
  --bg-glass: rgba(20, 20, 24, 0.65);
  --bg-glass-border: rgba(201, 169, 110, 0.12);
  --bg-glass-light: rgba(255, 255, 255, 0.04);
  --bg-overlay: rgba(0, 0, 0, 0.55);

  --text-primary: #f5f0eb;
  --text-secondary: #a8a3a0;
  --text-muted: #6b6764;

  --gold: #c9a96e;
  --gold-light: #e0ca9e;
  --gold-dark: #a08445;
  --gold-glow: rgba(201, 169, 110, 0.25);

  --accent-rose: #c97087;
  --accent-teal: #6ec9b5;
  --success: #4ade80;
  --danger: #f87171;
  --warning: #fbbf24;

  /* Typography */
  --font-family: 'NumberFont', 'Playfair Display', 'Times New Roman', serif;
  --fs-xs: clamp(0.65rem, 0.6rem + 0.25vw, 0.75rem);
  --fs-sm: clamp(0.75rem, 0.7rem + 0.3vw, 0.875rem);
  --fs-base: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
  --fs-xl: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.8rem + 2.5vw, 3.5rem);
  --fs-hero: clamp(2.75rem, 2rem + 4vw, 5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(201, 169, 110, 0.15);
  --shadow-glow: 0 0 40px rgba(201, 169, 110, 0.1);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 72px;
  --ticker-height: 36px;
}

/* ---------- Light Mode Overrides ---------- */
.light-mode {
  --bg-primary: #f5f2ed;
  --bg-secondary: #ece8e2;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f6f2;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --bg-glass-border: rgba(0, 0, 0, 0.07);
  --bg-glass-light: rgba(0, 0, 0, 0.03);
  --bg-overlay: rgba(0, 0, 0, 0.15);

  --text-primary: #1a1816;
  --text-secondary: #6b6560;
  --text-muted: #a69e98;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 20px rgba(201, 169, 110, 0.25);
  --shadow-glow: 0 0 30px rgba(201, 169, 110, 0.15);
}

/* Smooth theme transitions */
.light-mode,
.light-mode * {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-secondary);
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Promo Ticker Bar ---------- */
.ticker-bar {
  width: 100%;
  height: var(--ticker-height);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  white-space: nowrap;
  padding: 0 var(--space-3xl);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--bg-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Header / Navbar ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--bg-glass-border);
  height: var(--header-height);
  transition: background var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-brand .brand-mark {
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.header-brand .brand-text {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) 0;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}

.nav-dropdown-item img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* Header icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background: rgba(201, 169, 110, 0.1);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 1.8;
  fill: none;
  transition: stroke var(--transition-fast);
}

.action-btn:hover svg {
  stroke: var(--gold);
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  background: transparent;
}

.theme-toggle:hover {
  background: rgba(201, 169, 110, 0.1);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 1.8;
  fill: none;
  transition: stroke var(--transition-fast), transform 0.4s var(--ease-spring);
}

.theme-toggle:hover svg {
  stroke: var(--gold);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

.light-mode .theme-toggle .sun-icon {
  display: block;
}

.light-mode .theme-toggle .moon-icon {
  display: none;
}

/* Mobile theme toggle */
.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  width: 100%;
  text-align: left;
}

.mobile-theme-toggle:hover {
  color: var(--gold);
}

.mobile-theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.mobile-theme-toggle .sun-icon {
  display: none;
}

.mobile-theme-toggle .moon-icon {
  display: block;
}

.light-mode .mobile-theme-toggle .sun-icon {
  display: block;
}

.light-mode .mobile-theme-toggle .moon-icon {
  display: none;
}

.action-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform var(--transition-fast);
}

.action-btn .badge.visible {
  transform: scale(1);
  animation: badge-pop 0.4s var(--ease-spring);
}

@keyframes badge-pop {
  0% {
    transform: scale(0);
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 90%;
  max-width: 640px;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.search-overlay.active .search-container {
  transform: translateY(0);
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  padding-left: 56px;
  font-size: var(--fs-xl);
  font-weight: 300;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--gold);
}

.search-input-wrapper svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

.search-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}

.search-results {
  margin-top: var(--space-lg);
  max-height: 50vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(201, 169, 110, 0.06);
}

.search-result-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-item .result-info h4 {
  font-size: var(--fs-sm);
  font-weight: 500;
}

.search-result-item .result-info p {
  font-size: var(--fs-xs);
  color: var(--gold);
  margin-top: 2px;
}

/* ---------- Hero Section — Premium Luxury Panel Layout ---------- */
.hero {
  position: relative;
  height: 72vh;
  min-height: 500px;
  max-height: 850px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 169, 110, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 30%),
    linear-gradient(180deg, #0d0d0f 0%, #161412 30%, #1a1712 50%, #161412 70%, #0d0d0f 100%);
}

.light-mode .hero {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 110, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 169, 110, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 30%),
    linear-gradient(180deg, #f5f2ed 0%, #ece8e2 30%, #f0ece6 50%, #ece8e2 70%, #f5f2ed 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 40%, rgba(201, 169, 110, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(201, 169, 110, 0.04) 0%, transparent 35%);
  z-index: 0;
  pointer-events: none;
}

/* Panels Container */
.hero-panels {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 7px;
  padding: 16px 22px;
  z-index: 1;
  will-change: transform;
}

/* Individual Panel */
.hero-panel {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition:
    flex 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
  background: #111;
  border: 1px solid rgba(201, 169, 110, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.015);
  will-change: flex;
}

.light-mode .hero-panel {
  background: var(--bg-card);
  border-color: var(--bg-glass-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-panel:hover {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(201, 169, 110, 0.04),
    inset 0 1px 0 rgba(201, 169, 110, 0.06);
}

.hero-panel-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.6s ease;
  filter: brightness(0.82) saturate(1.15) contrast(1.12);
  will-change: transform;
}

.light-mode .hero-panel-img {
  filter: brightness(0.95) saturate(1.05) contrast(1.02);
}

/* Panel hover states — subtle expansion & image pop */
.hero-panels:hover .hero-panel {
  flex: 0.88;
}

.hero-panel:hover {
  flex: 1.48 !important;
}

.hero-panel:hover .hero-panel-img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1.2) contrast(1.08);
}

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.06) 20%,
      rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.35) 65%,
      rgba(0, 0, 0, 0.55) 85%, rgba(0, 0, 0, 0.72) 100%);
  transition: background 0.5s ease;
}

.light-mode .hero-panel-overlay {
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.03) 20%,
      rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.12) 65%,
      rgba(0, 0, 0, 0.18) 85%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-panel:hover .hero-panel-overlay {
  background: linear-gradient(180deg,
      transparent 0%, rgba(0, 0, 0, 0.02) 20%,
      rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.22) 65%,
      rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 14px;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 70%, transparent 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.light-mode .hero-panel-content {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 70%, transparent 100%);
}

.hero-panel-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.hero-panel:hover .hero-panel-label {
  transform: translateY(-2px);
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(201, 169, 110, 0.08);
}

.hero-panel-tagline {
  display: block;
  font-size: 10px;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, color 0.4s ease;
}

.hero-panel:hover .hero-panel-tagline {
  transform: translateY(-2px);
  color: var(--gold);
}

.hero-panel-cta {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 20px;
  opacity: 0.85;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-decoration: none;
  background: rgba(201, 169, 110, 0.04);
}

.hero-panel:hover .hero-panel-cta {
  opacity: 1;
  background: rgba(201, 169, 110, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.08);
}

.hero-panel-cta:hover {
  background: rgba(201, 169, 110, 0.18);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

/* Panel page-load animation */
.hero-panel {
  opacity: 0;
  animation: heroPanelIn 0.65s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.hero-panel:nth-child(1) {
  animation-delay: 0.04s;
}

.hero-panel:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-panel:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-panel:nth-child(4) {
  animation-delay: 0.22s;
}

.hero-panel:nth-child(5) {
  animation-delay: 0.28s;
}

@keyframes heroPanelIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pagination dots (mobile/tablet) */
.hero-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 4px 0;
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.3);
}

/* ---------- Section Titles ---------- */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  font-weight: 300;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-lg) auto 0;
}

/* ---------- Categories — Premium Showcase ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  padding: var(--space-sm) 0;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 600px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  aspect-ratio: 3 / 4;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
  will-change: transform;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.12), var(--shadow-gold);
}

.category-card-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
  filter: brightness(0.85) saturate(1.1);
}

.category-card:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.15);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg-overlay) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) var(--space-lg);
}

.category-card-overlay h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.category-card-overlay .cat-count {
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.category-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  color: var(--text-muted);
  gap: var(--space-sm);
}

.category-card-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
  opacity: 0.4;
}

/* ---------- Product Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--bg-glass-border);
  box-shadow: var(--shadow-gold);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-secondary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card[data-hover-image]:hover .product-card-image img {
  transform: none;
}

.product-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image-stack > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-secondary {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%);
  transition: clip-path 0.38s ease-out;
  will-change: clip-path;
}

@media (hover: hover) {
  .product-card[data-hover-image]:hover .product-image-secondary {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.product-card[data-hover-image].image-tapped .product-image-secondary {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.product-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
  opacity: 0;
  transition: opacity 0.38s ease-out;
  pointer-events: none;
}

@media (hover: hover) {
  .product-card[data-hover-image]:hover .product-image-secondary::after {
    opacity: 1;
  }
}

.product-card[data-hover-image].image-tapped .product-image-secondary::after {
  opacity: 1;
}

.product-view-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  z-index: 3;
  pointer-events: none;
  cursor: pointer;
  user-select: none;
}

@media (hover: hover) {
  .product-card[data-hover-image]:hover .product-view-more {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }
}

.product-card[data-hover-image].image-tapped .product-view-more {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-badge.new {
  background: var(--gold);
  color: var(--bg-primary);
}

.product-badge.sale {
  background: var(--accent-rose);
  color: #fff;
}

.product-badge.bestseller {
  background: var(--accent-teal);
  color: var(--bg-primary);
}

.product-badge.out-of-stock-badge {
  background: var(--accent-rose);
  color: #fff;
}

.product-stock {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

.product-stock.low-stock {
  color: var(--accent-rose);
}

.quick-add-btn.disabled {
  background: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.5;
}

.product-wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
}

.product-card:hover .product-wishlist {
  opacity: 1;
  transform: translateY(0);
}

.product-wishlist svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
  transition: all var(--transition-fast);
}

.product-wishlist.active svg {
  fill: var(--accent-rose);
  stroke: var(--accent-rose);
}

.product-wishlist:hover svg {
  stroke: var(--accent-rose);
}

.product-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(7, 7, 9, 0.9), transparent);
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 2;
}

.product-card:hover .product-quick-add {
  transform: translateY(0);
  opacity: 1;
}

.quick-add-btn {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--gold);
  color: var(--bg-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.quick-add-btn:hover {
  background: var(--gold-light);
}

.product-card-info {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
}

.product-name {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
}

.product-price .current {
  font-weight: 700;
  color: var(--gold);
}

.product-price .original {
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: var(--fs-xs);
}

.product-price .discount {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--success);
}

/* ---------- Promo Banner ---------- */
.promo-banner {
  position: relative;
  padding: var(--space-4xl) 0;
  text-align: center;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(201, 169, 110, 0.08) 0%,
      rgba(7, 7, 9, 0) 40%,
      rgba(201, 169, 110, 0.05) 100%);
  z-index: 1;
}

.promo-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.promo-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.promo-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.promo-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
}

.promo-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition-fast);
}

.promo-btn:hover svg {
  transform: translateX(4px);
}

/* ---------- Features Strip ---------- */
.features-strip {
  padding: var(--space-3xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-lg);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.feature-item h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.feature-item p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding: var(--space-4xl) 0;
  text-align: center;
}

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top right, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.newsletter-box>* {
  position: relative;
  z-index: 1;
}

.newsletter h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.newsletter p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: var(--space-md) var(--space-xl);
  background: var(--gold);
  color: var(--bg-primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-section {
  min-width: 0;
}

/* --- Brand --- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
}

.footer-brand>p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

/* --- Contact --- */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-contact-icon {
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

/* --- Columns --- */
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* --- Payments & Delivery --- */
.footer-payments p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 20px 0;
}

.footer-payments ul li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.footer-payments ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.5;
}

/* --- Bottom Bar --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 48px;
  padding: 20px var(--space-lg);
}

.footer-bottom-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-copy strong {
  color: var(--text-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-credit {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-credit strong {
  color: var(--text-secondary);
}

/* ---------- Cart Drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  border-left: 1px solid var(--bg-glass-border);
  z-index: 10002;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-drawer-header h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.cart-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cart-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-xl);
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

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

.cart-item-info h4 {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.cart-item-info .cart-item-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.cart-item-info .cart-item-price {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-item-size {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-glass-border);
  padding: 1px 8px;
  border-radius: 4px;
}

.cart-item-info .cart-item-subtotal {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold);
  margin-top: var(--space-xs);
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: var(--space-xs);
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.cart-qty-value {
  min-width: 32px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  padding: 0 var(--space-xs);
  height: 30px;
  line-height: 30px;
}

.wishlist-cart-btn {
  margin-top: var(--space-xs);
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wishlist-cart-btn:hover {
  box-shadow: 0 2px 12px rgba(201, 169, 110, 0.35);
  transform: translateY(-1px);
}

.cart-item-remove {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  transition: all var(--transition-fast);
  color: var(--text-muted);
  font-size: 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.cart-item-remove:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.15);
}

.cart-item-remove .remove-label {
  font-size: 11px;
  font-weight: 600;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--space-md);
  color: var(--text-muted);
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1;
  opacity: 0.4;
}

.cart-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.cart-total span:first-child {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.cart-total span:last-child {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--gold);
}

.checkout-btn {
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.checkout-btn:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ---------- Mobile Menu Overlay ---------- */
body.no-scroll {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height) + var(--ticker-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  stroke-width: 2;
  fill: none;
}

#admin-link {
  display: none;
}

#admin-link.visible {
  display: inline;
}

#admin-logout-link {
  display: none;
  color: var(--gold);
  font-weight: 600;
}

#admin-logout-link.visible {
  display: inline;
}

.mobile-admin-link {
  display: none !important;
}

.mobile-admin-link.visible {
  display: block !important;
}

.mobile-menu .nav-link {
  color: #ffffff !important;
  font-size: var(--fs-xl);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--transition-base);
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:active {
  color: var(--gold) !important;
}

.mobile-menu.active .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.active .nav-link:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-menu.active .nav-link:nth-child(3) {
  transition-delay: 0.15s;
}

.mobile-menu.active .nav-link:nth-child(4) {
  transition-delay: 0.2s;
}

.mobile-menu.active .nav-link:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-menu.active .nav-link:nth-child(6) {
  transition-delay: 0.3s;
}

.mobile-menu.active .nav-link:nth-child(7) {
  transition-delay: 0.35s;
}

.mobile-menu.active .nav-link:nth-child(8) {
  transition-delay: 0.4s;
}

.mobile-menu.active .nav-link:nth-child(9) {
  transition-delay: 0.45s;
}

.mobile-menu.active .nav-link:nth-child(10) {
  transition-delay: 0.5s;
}

.mobile-menu.active .nav-link:nth-child(11) {
  transition-delay: 0.55s;
}

.mobile-menu.active .nav-link:nth-child(12) {
  transition-delay: 0.6s;
}

.mobile-menu.active .nav-link:nth-child(13) {
  transition-delay: 0.65s;
}

.mobile-menu.active .nav-link:nth-child(14) {
  transition-delay: 0.7s;
}

.mobile-menu.active .nav-link:nth-child(15) {
  transition-delay: 0.75s;
}

.mobile-menu.active .nav-link:nth-child(16) {
  transition-delay: 0.8s;
}

.mobile-menu.active .nav-link:nth-child(17) {
  transition-delay: 0.85s;
}

.mobile-menu-socials {
  margin-top: auto;
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 700px) {
  .mobile-menu {
    padding-bottom: 90px;
  }

  .mobile-menu .nav-link {
    font-size: 1rem;
  }
}

/* --- Light Mode: Mobile Menu --- */
.light-mode .mobile-menu {
  background: #ffffff;
}

.light-mode .mobile-menu-close {
  border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.04);
}

.light-mode .mobile-menu-close svg {
  stroke: #1a1a1a;
}

.light-mode .mobile-menu .nav-link {
  color: #1a1a1a !important;
  border-bottom-color: #e5e5e5;
}

.light-mode .mobile-menu .nav-link:hover,
.light-mode .mobile-menu .nav-link:active {
  color: var(--gold) !important;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

@media (min-width: 769px) {
  .animate-in {
    opacity: 0;
    transform: translateY(20px);
  }
  .animate-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- View All Button ---------- */
.view-all-wrap {
  text-align: center;
  margin-top: var(--space-2xl);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.view-all-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.view-all-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition-fast);
}

.view-all-btn:hover svg {
  transform: translateX(4px);
}

/* ---------- Toast Notification ---------- */
.toast-container {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--space-xl);
  z-index: 400;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-sm);
  pointer-events: none;
  transition: bottom 0.3s ease;
}

.toast-item {
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  pointer-events: auto;
  white-space: nowrap;
}

.toast-item.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-panels {
    gap: 6px;
    padding: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-panels::-webkit-scrollbar {
    display: none;
  }

  .hero-panel {
    flex: 0 0 calc(33.33% - 6px) !important;
    scroll-snap-align: start;
    border-radius: 14px;
    margin-right: 6px;
  }

  .hero-panel-img {
    filter: brightness(0.85) saturate(1.12) contrast(1.1);
  }

  .hero-panel-content {
    padding: 16px 14px;
  }

  .hero-panel-label {
    font-size: 13px;
  }

  .hero-panel-cta {
    opacity: 1;
  }

  .hero-dots {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .category-card {
    flex: 0 0 180px;
  }

  .category-card img {
    height: 220px;
  }

  .hero {
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    overflow: hidden;
  }

  .hero-panels {
    gap: 0;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-panels::-webkit-scrollbar {
    display: none;
  }

  .hero-panel {
    flex: 0 0 calc(100% - 20px) !important;
    scroll-snap-align: start;
    border-radius: 14px;
    margin-right: 10px;
  }

  .hero-panel-img {
    filter: brightness(0.88) saturate(1.1) contrast(1.08);
  }

  .hero-panel-content {
    padding: 16px 14px;
  }

  .hero-panel-label {
    font-size: 16px;
  }

  .hero-panel-cta {
    opacity: 1;
  }

  .hero-dots {
    display: flex;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 var(--space-md);
  }

  .footer {
    padding-top: 48px;
  }

  .footer-brand>p {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-wishlist {
    opacity: 1;
    transform: translateY(0);
  }

  .product-quick-add {
    transform: translateY(0);
    opacity: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(7, 7, 9, 0.9), transparent);
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 68px;
    --space-lg: 1rem;
  }

  .products-grid {
    gap: var(--space-sm);
  }

  .product-card {
    border-radius: 0;
  }

  .product-card-image {
    border-radius: 0;
  }

  .product-card-info {
    padding: var(--space-sm) var(--space-md);
  }

  .product-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(7, 7, 9, 0.9), transparent);
    padding: var(--space-md);
  }
}

/* ====================================================
   Header Additions & Search Bar (Dark Theme)
   ==================================================== */

/* --- Top Header Bar --- */
.top-header-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px var(--space-lg);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.top-header-links {
  display: flex;
  gap: 20px;
}

.top-header-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-header-links a:hover {
  color: var(--gold);
}

/* --- Integrated Search Bar --- */
.header-search-container {
  position: relative;
  width: 260px;
}

.header-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 8px 16px;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-search-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.header-search-wrapper .search-icon {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2.5;
  margin-right: 10px;
}

.header-search-wrapper input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.header-search-wrapper input::placeholder {
  color: var(--text-muted);
}

/* Search results popup dropdown */
.header-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 120%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  max-height: 350px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.header-search-results.active {
  display: block;
}

.header-search-results p {
  color: var(--text-secondary);
  padding: var(--space-md);
  font-size: var(--fs-sm);
  text-align: center;
}

.header-search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-search-result-item:last-child {
  border-bottom: none;
}

.header-search-result-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.header-search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.header-search-result-item .result-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.header-search-result-item .result-info p {
  font-size: 12px;
  color: var(--gold);
  text-align: left;
  padding: 0;
  margin-top: 2px;
}

/* ---------- Mobile Search Bar ---------- */
.mobile-search-bar {
  display: none;
  position: relative;
  padding: 10px 16px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--bg-glass-border);
  z-index: 10;
}

.mobile-search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 30px;
  padding: 8px 14px;
  transition: border-color 0.2s;
}

.mobile-search-wrapper:focus-within {
  border-color: var(--gold);
}

.mobile-search-wrapper .search-icon {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  flex-shrink: 0;
}

.mobile-search-wrapper input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  width: 100%;
  font-family: inherit;
}

.mobile-search-wrapper input::placeholder {
  color: var(--text-muted);
}

.mobile-my-orders-btn {
  background: var(--gold);
  color: #070709;
  border: none;
  border-radius: 30px;
  padding: 0 16px;
  height: 38px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.mobile-my-orders-btn:hover {
  background: var(--gold-light);
}

.mobile-my-orders-btn:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.light-mode .mobile-my-orders-btn {
  background: #1a1816;
  color: #f5f2ed;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.light-mode .mobile-my-orders-btn:hover {
  background: #2b2825;
}

.mobile-search-results {
  position: absolute;
  top: calc(100% - 4px);
  left: 16px;
  right: 16px;
  max-height: 360px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
}

.mobile-search-results.active {
  display: block;
}

.mobile-search-results .header-search-result-item {
  padding: 10px 14px;
}

/* ---------- Product Quick-View Modal ---------- */
.qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.qv-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 100001;
  width: 92%;
  max-width: 820px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.qv-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.qv-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.qv-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

/* ===== Ad Popup ===== */
.ad-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.ad-popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 100003;
  width: 90%;
  max-width: 460px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ad-popup-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.ad-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.ad-popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.ad-popup-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.ad-popup-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.ad-popup-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ad-popup-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.ad-popup-slide {
  flex: 0 0 100%;
  width: 100%;
}

.ad-popup-slide a {
  display: block;
  width: 100%;
  line-height: 0;
}

.ad-popup-slide img {
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.ad-popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.ad-popup-nav.visible {
  display: flex;
}

.ad-popup-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.ad-popup-nav svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

.ad-popup-prev {
  left: 8px;
}

.ad-popup-next {
  right: 8px;
}

.ad-popup-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 16px;
}

.ad-popup-dots.visible {
  display: flex;
}

.ad-popup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.ad-popup-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.3);
}

@media (max-width: 600px) {
  .ad-popup-modal {
    width: 92%;
    max-width: 92%;
  }
}

/* ===== Image Gallery Modal (VIEW MORE) ===== */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 100004;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.gallery-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 100005;
  width: 94%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.gallery-body {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  flex: 1;
  overflow: hidden;
}

.gallery-body img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

.gallery-nav-prev {
  left: 14px;
}

.gallery-nav-next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.gallery-nav-hidden {
  display: none;
}

@media (max-width: 600px) {
  .gallery-modal {
    width: 96%;
    max-width: 96%;
    border-radius: 12px;
  }
  .gallery-nav {
    width: 36px;
    height: 36px;
  }
  .gallery-nav svg {
    width: 18px;
    height: 18px;
  }
  .gallery-nav-prev {
    left: 8px;
  }
  .gallery-nav-next {
    right: 8px;
  }
}

.qv-body {
  display: flex;
  overflow: hidden;
  max-height: 90vh;
  height: 100%;
}

.qv-image {
  flex: 1;
  min-height: 400px;
  max-height: 560px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qv-details {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 90vh;
}

.qv-details h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.qv-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.qv-price .qv-oprice {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 10px;
}

.qv-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.qv-stock {
  font-size: 12px;
  font-weight: 600;
}

.qv-stock.in-stock {
  color: #10b981;
}

.qv-stock.out-of-stock {
  color: #ef4444;
}

.qv-size-section label,
.qv-qty-section label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.qv-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qv-size-group {
  margin-bottom: 12px;
}

.qv-size-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.qv-size-btn {
  min-width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--bg-glass-border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.qv-size-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.qv-size-btn.active {
  border-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.qv-size-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.qv-size-error.show {
  display: block;
}

.qv-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--bg-glass-border);
  border-radius: 8px;
  overflow: hidden;
}

.qv-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}

.qv-qty-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.qv-qty span {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.qv-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.qv-atc,
.qv-buy {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.qv-atc {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
}

.qv-atc:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qv-atc:hover:not(:disabled) {
  opacity: 0.88;
}

.qv-buy {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.qv-buy:hover {
  background: rgba(201, 169, 110, 0.08);
}

.qv-buy:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qv-secondary {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.qv-wish,
.qv-share {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s;
}

.qv-wish:hover {
  color: #ef4444;
}

.qv-wish.in-wishlist {
  color: #ef4444;
}

.qv-wish svg,
.qv-share svg {
  flex-shrink: 0;
}

.qv-share:hover {
  color: var(--gold);
}

@media (max-width: 700px) {
  .qv-body {
    flex-direction: column;
    max-height: 92vh;
  }

  .qv-image {
    flex: 0 0 220px;
    min-height: unset;
    max-height: unset;
    width: 100%;
  }

  .qv-image img {
    object-fit: contain;
  }

  .qv-details {
    padding: 20px 16px 18px;
    gap: 10px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: unset;
  }

  .qv-details h2 {
    font-size: 17px;
  }

  .qv-price {
    font-size: 18px;
  }

  .qv-modal {
    width: 96%;
    max-height: 92vh;
  }

  .qv-actions {
    flex-direction: column;
  }

  .qv-secondary {
    justify-content: center;
  }
}

/* ---------- Sticky Cart Bar ---------- */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 250;
  width: calc(100% - var(--space-xl));
  max-width: 720px;
  background: rgba(20, 20, 24, 0.92);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 169, 110, 0.06);
  padding: var(--space-md) var(--space-xl);
  visibility: hidden;
  transition: transform 0.45s var(--ease-spring), visibility 0.45s;
}

.light-mode .sticky-cart-bar {
  background: rgba(245, 242, 237, 0.92);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1), 0 0 40px rgba(201, 169, 110, 0.08);
}

.sticky-cart-bar.visible {
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sticky-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.sticky-cart-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.sticky-cart-icon {
  font-size: 18px;
  line-height: 1;
}

.sticky-cart-count {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.sticky-cart-view-btn {
  padding: var(--space-sm) var(--space-xl);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-cart-view-btn:hover {
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);
  transform: translateY(-1px);
}

.sticky-cart-total {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .sticky-cart-bar {
    left: 0;
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    padding: 8px 16px;
    border-radius: 0;
    transform: translateY(100%);
  }

  .sticky-cart-bar.visible {
    transform: translateY(0);
  }

  .sticky-cart-inner {
    min-height: 44px;
    gap: 12px;
  }

  .sticky-cart-view-btn {
    flex: 1;
    min-height: 48px;
    font-size: 16px;
    padding: 0 16px;
    border-radius: var(--radius-full);
  }

  .sticky-cart-total {
    font-size: var(--fs-md);
    flex-shrink: 0;
  }
}

/* --- WhatsApp Floating Widget --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform var(--transition-fast), background-color var(--transition-fast), bottom 0.45s ease-out;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.08) rotate(5deg);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

#sticky-cart-bar.visible~.whatsapp-float {
  bottom: 80px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .header-search-container {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .top-header-bar {
    display: none;
  }

  .header-search-container {
    display: none;
  }

  .mobile-search-bar {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-search-bar {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .header-search-container {
    width: 100px;
  }
}

/* --- Jersey Request Form Section --- */
.jersey-inquiry-section {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 50%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.08), transparent 50%),
    var(--bg-primary);
  padding: var(--space-4xl) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.jersey-inquiry-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.jersey-inquiry-card {
  background: #ffffff;
  border-radius: 28px;
  width: 100%;
  max-width: 680px;
  padding: var(--space-3xl) var(--space-2xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.jersey-inquiry-card .form-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #111111;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.jersey-inquiry-card .form-subtitle {
  font-size: var(--fs-sm);
  color: #666666;
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-weight: 500;
}

.badge-single {
  display: inline-block;
  color: #10b981;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-left: 4px;
}

.jersey-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.02em;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea,
.jersey-item-row select {
  background: #f0f0f4;
  border: 1px solid #e2e2e8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #111111;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8a8a9a;
}

.form-group input:focus,
.form-group textarea:focus,
.jersey-item-row select:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Dynamic rows styling */
.jersey-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.jersey-item-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  animation: rowFadeIn 0.35s var(--ease-out);
}

@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jersey-item-row select {
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}

.remove-row-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #ef4444;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.remove-row-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.remove-row-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.add-jersey-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  font-weight: 700;
  font-size: 13px;
  background: rgba(59, 130, 246, 0.08);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  width: max-content;
  transition: all var(--transition-fast);
  cursor: pointer;
  align-self: flex-start;
  margin-top: 6px;
}

.add-jersey-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.add-jersey-btn svg {
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

/* Submit button */
.submit-inquiry-btn {
  width: 100%;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
  cursor: pointer;
  margin-top: 10px;
}

.submit-inquiry-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.submit-inquiry-btn:active {
  transform: translateY(0);
}

/* --- Mobile Responsiveness for Form --- */
@media (max-width: 600px) {
  .jersey-inquiry-card {
    padding: var(--space-xl) var(--space-md);
    border-radius: 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jersey-item-row {
    grid-template-columns: 1fr;
    gap: 8px;
    position: relative;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e2e2e8;
  }

  .remove-row-btn {
    position: absolute;
    top: 0;
    right: 0;
  }
}

/* --- Checkout Payment Modal --- */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #ffffff;
  border-radius: 24px;
  width: 95%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #111827;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 16px;
  border-bottom: 1px solid #e5e7eb;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.checkout-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.checkout-modal-close:hover {
  background: #f3f4f6;
}

.checkout-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: #6b7280;
  stroke-width: 2.5;
  fill: none;
}

.checkout-modal-body {
  padding: 20px 28px 28px;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

/* Order Summary in Modal */
.checkout-order-summary {
  background: #fafafa;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 14px;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 14px;
  color: #111827;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-item .item-name {
  font-weight: 600;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
}

.checkout-order-summary .summary-item .item-price {
  font-weight: 700;
  color: #111827;
  flex-shrink: 0;
}

.checkout-order-summary .summary-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-subtotal-val {
  font-weight: 600;
  color: #111827;
}

.checkout-order-summary .summary-charge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: #4b5563;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-charge .summary-delivery-val {
  font-weight: 500;
  color: #4b5563;
}

.checkout-order-summary .summary-estimate {
  display: flex;
  justify-content: center;
  font-size: 12px;
  color: #6b7280;
  padding-top: 4px;
  padding-bottom: 8px;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid #e5e7eb;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-order-summary .summary-total .summary-total-val {
  font-weight: 700;
  color: #111827;
  font-size: 18px;
}

/* Checkout Form Fields */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-field label {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.02em;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-field input {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  outline: none;
  transition: all 0.2s;
  font-family: var(--font-family);
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-field input::placeholder {
  color: #9ca3af;
}

.checkout-field input:focus {
  background: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* Searchable Select Dropdowns */
.searchable-select {
  position: relative;
  width: 100%;
}

.searchable-select input {
  width: 100%;
  cursor: text;
}

.select-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}

.select-clear-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  z-index: 100;
  display: none;
}

.select-dropdown.active {
  display: block;
}

.select-dropdown .select-option {
  padding: 10px 14px;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
  transition: background 0.15s;
}

.select-dropdown .select-option:hover {
  background: #f3f4f6;
}

.select-dropdown .select-option.selected {
  background: #eff6ff;
  font-weight: 600;
  color: #111827;
}

.select-dropdown .select-option.no-match {
  color: #9ca3af;
  cursor: default;
  text-align: center;
}

/* Pay Now Button */
.checkout-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 6px;
  font-family: var(--font-family);
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

.checkout-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.checkout-pay-btn:active {
  transform: translateY(0);
}

.checkout-pay-btn svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.checkout-pay-btn.loading {
  pointer-events: none;
  opacity: 0.75;
}

.checkout-pay-btn.loading span {
  display: none;
}

.checkout-pay-btn.loading::after {
  content: 'Processing...';
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.checkout-secure-note {
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 2px;
  opacity: 1;
  visibility: visible;
  filter: none;
  text-shadow: none;
}

/* Mobile adjustments for checkout modal */
@media (max-width: 500px) {
  .checkout-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    top: auto;
    bottom: 0;
    transform: translate(-50%, 100%);
    max-height: 85vh;
  }

  .checkout-modal.active {
    transform: translate(-50%, 0);
  }

  .checkout-modal-body {
    padding: 16px 20px 24px;
  }
}

/* ====================================================
   Policy Pages (privacy, terms, refund, delivery, faq)
   ==================================================== */
.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.policy-page h1 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.policy-page .page-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-3xl);
  font-weight: 300;
}

.policy-section {
  margin-bottom: var(--space-3xl);
}

.policy-section h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.policy-section p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.policy-section ul {
  list-style: none;
  padding: 0;
}

.policy-section ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.6;
}

.policy-section ol {
  list-style: none;
  padding: 0;
  counter-reset: faq-counter;
}

.policy-section ol li {
  counter-increment: faq-counter;
  position: relative;
  padding-left: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-section ol li::before {
  content: counter(faq-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--gold);
}

.policy-section ol li strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.policy-section .highlight-box {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-top: var(--space-md);
}

.policy-section .highlight-box p {
  margin-bottom: 0;
}

.policy-footer-note {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  transition: opacity var(--transition-fast);
}

.back-link:hover {
  opacity: 0.7;
}

.back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.company-info {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-2xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.company-info div {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.company-info div strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

@media (max-width: 600px) {
  .policy-page {
    padding: var(--space-xl) var(--space-md);
  }

  .company-info {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ====================================================
   Hero Manager (Admin)
   ==================================================== */
.hero-mgr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.hero-mgr-save-all {
  padding: var(--space-sm) var(--space-xl);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.hero-mgr-save-all:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero-mgr-save-all:hover:not(:disabled) {
  opacity: 0.85;
}

.hero-mgr-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.hero-mgr-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-mgr-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.hero-mgr-item.enabled {
  border-color: rgba(201, 169, 110, 0.25);
  background: rgba(201, 169, 110, 0.03);
}

.hero-mgr-item.dragging {
  opacity: 0.4;
}

.hero-mgr-drag {
  cursor: grab;
  font-size: 18px;
  letter-spacing: -1px;
  color: var(--text-muted);
  user-select: none;
  padding: 4px 2px;
  flex-shrink: 0;
  line-height: 1;
}

.hero-mgr-drag:active {
  cursor: grabbing;
}

.hero-mgr-preview {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}

.hero-mgr-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mgr-info {
  flex: 1;
  min-width: 0;
}

.hero-mgr-cat-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mgr-prod-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-mgr-controls {
  flex-shrink: 0;
}

.hero-mgr-select {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-xs);
  max-width: 200px;
  min-width: 140px;
}

.hero-mgr-select:focus {
  outline: none;
  border-color: var(--gold);
}

.hero-mgr-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}

.hero-mgr-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.hero-mgr-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  transition: background var(--transition-fast);
}

.hero-mgr-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.hero-mgr-toggle input:checked+.hero-mgr-slider {
  background: var(--gold);
}

.hero-mgr-toggle input:checked+.hero-mgr-slider::before {
  transform: translateX(18px);
}

/* Skeleton loading */
.hero-mgr-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-mgr-skel-item {
  height: 76px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  animation: heroSkelPulse 1.2s ease-in-out infinite;
}

@keyframes heroSkelPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@media (max-width: 700px) {
  .hero-mgr-item {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .hero-mgr-controls {
    width: 100%;
    order: 10;
  }

  .hero-mgr-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-mgr-drag {
    display: none;
  }

  .hero-mgr-toggle {
    order: 5;
  }
}

/* ============================================
   SCROLL ANIMATIONS – ADD-ON
   ============================================ */

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
  pointer-events: none;
}

/* ---------- Header Scrolled State ---------- */
.header.scrolled {
  background: rgba(7, 7, 9, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.light-mode .header.scrolled {
  background: rgba(245, 242, 237, 0.92);
}

/* ---------- Hero Parallax ---------- */
.hero-parallax {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---------- Reveal Classes ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-4deg) scale(0.95);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-rotate.visible {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.section-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.glow-on-scroll.visible {
  animation: glowPulse 1.2s ease-out;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0);
  }

  30% {
    box-shadow: 0 0 40px 8px rgba(201, 169, 110, 0.15);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0);
  }
}

/* ---------- Stagger Children ---------- */
.stagger-children>* {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 80ms;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 160ms;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 240ms;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 320ms;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 400ms;
}

.stagger-children.visible>*:nth-child(7) {
  transition-delay: 480ms;
}

.stagger-children.visible>*:nth-child(8) {
  transition-delay: 560ms;
}

.stagger-children.visible>*:nth-child(9) {
  transition-delay: 640ms;
}

.stagger-children.visible>*:nth-child(10) {
  transition-delay: 720ms;
}

.stagger-children.visible>*:nth-child(11) {
  transition-delay: 800ms;
}

.stagger-children.visible>*:nth-child(12) {
  transition-delay: 880ms;
}

.stagger-children.visible>*:nth-child(13) {
  transition-delay: 960ms;
}

.stagger-children.visible>*:nth-child(14) {
  transition-delay: 1040ms;
}

.stagger-children.visible>*:nth-child(15) {
  transition-delay: 1120ms;
}

.stagger-children.visible>*:nth-child(16) {
  transition-delay: 1200ms;
}

.stagger-children.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive tweaks for animations ---------- */
@media (max-width: 768px) {
  /* Completely bypass and disable all scroll-reveal fade-ins on mobile phones so everything shows instantly */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-rotate,
  .section-fade,
  .stagger-children>*,
  .animate-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    transition-delay: 0ms !important;
  }
}

/* ============================================
   SKELETON LOADERS & LAZY LOADING FADE-IN
   ============================================ */

/* Shimmer Effect */
.shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 200% 100%;
  animation: shimmerAnimation 1.6s ease-in-out infinite;
}

.light-mode .shimmer {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.04) 100%);
  background-size: 200% 100%;
}

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

/* Product Skeleton Card */
.product-card-skeleton {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-skeleton-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.04);
}

.product-skeleton-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-skeleton-title {
  height: 16px;
  width: 75%;
  border-radius: 4px;
}

.product-skeleton-subcat {
  height: 12px;
  width: 45%;
  border-radius: 4px;
}

.product-skeleton-price {
  height: 20px;
  width: 35%;
  border-radius: 4px;
  margin-top: 4px;
}

/* Smooth Lazy Image Transition */
.lazy-image {
  opacity: 0;
  transition: opacity 0.4s ease-out;
  will-change: opacity;
}

.lazy-image.loaded {
  opacity: 1;
}