/* ═══════════════════════════════════════════════════════════
   AURELIAN — Premium Men's Fashion
   Design System & Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --color-black: #0A0A0A;
  --color-charcoal: #1A1A1A;
  --color-dark-grey: #2A2A2A;
  --color-medium-grey: #4A4A4A;
  --color-grey: #7A7A7A;
  --color-light-grey: #B0B0B0;
  --color-silver: #D5D5D5;
  --color-off-white: #EDECE8;
  --color-ivory: #F5F0E8;
  --color-white: #FAFAF8;
  --color-pure-white: #FFFFFF;
  --color-stone: #B5A99A;
  --color-taupe: #A69585;
  --color-bronze: #B08D57;
  --color-bronze-light: #C9A96E;
  --color-warm-bg: #F8F6F1;

  /* Semantic */
  --color-bg: var(--color-warm-bg);
  --color-surface: var(--color-pure-white);
  --color-text: var(--color-charcoal);
  --color-text-secondary: var(--color-grey);
  --color-text-muted: var(--color-light-grey);
  --color-accent: var(--color-bronze);
  --color-accent-hover: var(--color-bronze-light);
  --color-border: #E5E2DC;
  --color-border-light: #F0EDE7;
  --color-overlay: rgba(10, 10, 10, 0.6);
  --color-success: #4A7C59;
  --color-error: #9B3B3B;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.6875rem;     /* 11px */
  --text-sm: 0.75rem;       /* 12px */
  --text-base: 0.875rem;    /* 14px */
  --text-md: 1rem;          /* 16px */
  --text-lg: 1.125rem;      /* 18px */
  --text-xl: 1.5rem;        /* 24px */
  --text-2xl: 2rem;         /* 32px */
  --text-3xl: 2.75rem;      /* 44px */
  --text-4xl: 3.5rem;       /* 56px */
  --text-5xl: 4.5rem;       /* 72px */

  /* 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;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1400px;
  --header-height: 72px;
  --gutter: clamp(1rem, 4vw, 3rem);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

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

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

input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Focus Styles (Accessibility) ── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── Selection ── */
::selection {
  background: var(--color-bronze);
  color: var(--color-pure-white);
}

/* ═══ LOADING SCREEN ═══ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--color-ivory);
  text-transform: uppercase;
  animation: loadFadeIn 0.8s var(--ease-out) both;
}

.loading-bar-track {
  width: 120px;
  height: 1px;
  background: var(--color-medium-grey);
  margin-top: var(--space-xl);
  overflow: hidden;
  border-radius: 1px;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--color-bronze);
  animation: loadProgress 1.6s var(--ease-in-out) 0.3s forwards;
}

@keyframes loadFadeIn {
  from { opacity: 0; transform: translateY(10px); letter-spacing: 0.8em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: 0.5em; }
}

@keyframes loadProgress {
  to { width: 100%; }
}

/* ═══ CUSTOM CURSOR ═══ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-bronze);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-bronze);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, opacity 0.3s;
}

.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: var(--color-bronze-light);
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

body.cursor-active,
body.cursor-active a,
body.cursor-active button {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-active, body.cursor-active a, body.cursor-active button { cursor: auto; }
}

/* ═══ HEADER ═══ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  transition: transform 0.4s var(--ease-out), background 0.3s;
}

.header.scrolled {
  background: rgba(248, 246, 241, 0.97);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  flex-shrink: 0;
  transition: color var(--duration-fast);
}

.logo:hover {
  color: var(--color-bronze);
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-bronze);
  transition: width 0.4s var(--ease-out);
}

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

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

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

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

.header-action-btn:hover {
  background: var(--color-border-light);
}

.header-action-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-medium-grey);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--duration-fast);
}

.header-action-btn:hover svg {
  stroke: var(--color-charcoal);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-charcoal);
  color: var(--color-pure-white);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.badge-count:empty {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 8px 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-charcoal);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ═══ MAIN CONTENT ═══ */
.main-content {
  padding-top: var(--header-height);
  min-height: 100vh;
}

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

/* ═══ HERO ═══ */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 1000px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.3) 40%,
    rgba(10, 10, 10, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4xl) var(--gutter);
  width: 100%;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-bronze-light);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-ivory);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.hero-desc {
  font-size: var(--text-base);
  color: var(--color-silver);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  border: 1px solid var(--color-charcoal);
}

.btn-primary:hover {
  background: var(--color-bronze);
  border-color: var(--color-bronze);
  color: var(--color-pure-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-charcoal);
  border: 1px solid var(--color-charcoal);
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

.btn-light {
  background: var(--color-ivory);
  color: var(--color-charcoal);
  border: 1px solid var(--color-ivory);
}

.btn-light:hover {
  background: var(--color-pure-white);
  border-color: var(--color-pure-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-charcoal);
  border: 1px solid transparent;
  padding: 8px 0;
}

.btn-ghost:hover {
  color: var(--color-bronze);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 18px 42px;
  font-size: var(--text-base);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

/* ═══ SECTION COMMONS ═══ */
.section {
  padding: var(--space-4xl) 0;
}

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

.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.section-desc {
  max-width: 520px;
  margin: var(--space-md) auto 0;
  color: var(--color-grey);
  line-height: 1.7;
}

/* ═══ COLLECTION GRID (Home) ═══ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.collection-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.55) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  transition: background 0.4s;
}

.collection-card:hover .collection-card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
}

.collection-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-ivory);
  margin-bottom: var(--space-xs);
}

.collection-card-count {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-silver);
}

/* ═══ PRODUCT CARDS ═══ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl) var(--space-md);
}

.product-card {
  position: relative;
  cursor: pointer;
}

.product-card-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  margin-bottom: var(--space-md);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.5s;
}

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

.product-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 5px 12px;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-card-actions {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 2;
}

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

.product-card-actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: var(--text-xs);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: var(--color-charcoal);
  border: none;
  border-radius: var(--radius-sm);
}

.product-card-actions .btn:hover {
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

.product-card-wishlist {
  flex: 0 0 40px !important;
  width: 40px;
  padding: 0 !important;
}

.product-card-wishlist.active svg {
  fill: var(--color-error);
  stroke: var(--color-error);
}

.product-card-info {
  padding: 0 var(--space-xs);
}

.product-card-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
  transition: color var(--duration-fast);
}

.product-card:hover .product-card-name {
  color: var(--color-bronze);
}

.product-card-category {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-light-grey);
  margin-bottom: var(--space-sm);
}

.product-card-price {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-charcoal);
}

.product-card-colors {
  display: flex;
  gap: 6px;
  margin-top: var(--space-sm);
}

.product-card-color {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  transition: transform var(--duration-fast);
}

.product-card-color:hover {
  transform: scale(1.3);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--color-off-white) 25%, var(--color-border-light) 50%, var(--color-off-white) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-image {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-sm);
  width: 70%;
}

.skeleton-text-short {
  height: 14px;
  width: 40%;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ═══ CAMPAIGN SECTION ═══ */
.campaign-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: var(--space-4xl) 0;
}

.campaign-image {
  position: relative;
  overflow: hidden;
}

.campaign-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.campaign-section:hover .campaign-image img {
  transform: scale(1.03);
}

.campaign-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl);
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

.campaign-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-bronze-light);
  margin-bottom: var(--space-lg);
}

.campaign-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.campaign-desc {
  font-size: var(--text-base);
  color: var(--color-light-grey);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 400px;
}

/* ═══ FEATURES BAR ═══ */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.feature-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.feature-icon,
.feature-item > svg {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-md);
  stroke: var(--color-bronze);
  fill: none;
  stroke-width: 1.5;
}

.feature-title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--color-grey);
}

/* ═══ SHOP PAGE ═══ */
.shop-header {
  padding: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
}

.shop-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 300;
  color: var(--color-charcoal);
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-4xl);
}

/* Filters Sidebar */
.filters-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  align-self: start;
  max-height: calc(100vh - var(--header-height) - var(--space-2xl));
  overflow-y: auto;
  padding-right: var(--space-md);
}

.filters-sidebar::-webkit-scrollbar {
  width: 3px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
  background: var(--color-silver);
  border-radius: 3px;
}

.filter-group {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group-title button {
  font-size: var(--text-xs);
  color: var(--color-bronze);
  text-transform: none;
  letter-spacing: 0;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  color: var(--color-medium-grey);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.filter-option:hover {
  color: var(--color-charcoal);
}

.filter-option.active {
  color: var(--color-charcoal);
  font-weight: 500;
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-silver);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.filter-option.active .filter-checkbox {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.filter-checkbox svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-pure-white);
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.filter-option.active .filter-checkbox svg {
  opacity: 1;
}

.filter-count {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-light-grey);
}

/* Color filter swatches */
.filter-colors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.filter-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  cursor: pointer;
  transition: border-color var(--duration-fast);
}

.filter-color-swatch:hover,
.filter-color-swatch.active {
  border-color: var(--color-charcoal);
}

.filter-color-swatch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

/* Size filter pills */
.filter-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.filter-size-pill {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.filter-size-pill:hover {
  border-color: var(--color-charcoal);
}

.filter-size-pill.active {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-ivory);
}

/* Price range */
.price-range-display {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-grey);
  margin-bottom: var(--space-sm);
}

.price-range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--color-border);
  border-radius: 3px;
  outline: none;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-charcoal);
  cursor: pointer;
  border: 2px solid var(--color-pure-white);
  box-shadow: var(--shadow-sm);
}

/* Sort & product count bar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.shop-product-count {
  font-size: var(--text-sm);
  color: var(--color-grey);
}

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

.shop-sort label {
  font-size: var(--text-sm);
  color: var(--color-grey);
}

.shop-sort select {
  padding: 8px 28px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--text-sm);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7A7A' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.mobile-filter-toggle {
  display: none;
}

/* ═══ PRODUCT DETAIL ═══ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  align-self: start;
}

.product-gallery-main {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-off-white);
  margin-bottom: var(--space-md);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
}

.product-gallery-thumb {
  width: 72px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--duration-fast), border-color var(--duration-fast);
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--color-charcoal);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product info */
.product-info {
  padding-top: var(--space-md);
}

.product-breadcrumb {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-light-grey);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.product-breadcrumb a {
  transition: color var(--duration-fast);
}

.product-breadcrumb a:hover {
  color: var(--color-charcoal);
}

.product-breadcrumb .separator {
  color: var(--color-silver);
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.product-price {
  font-size: var(--text-xl);
  font-weight: 500;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-grey);
}

.product-rating .stars {
  color: var(--color-bronze);
  letter-spacing: 2px;
}

.product-desc {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-medium-grey);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

/* Options */
.product-option {
  margin-bottom: var(--space-xl);
}

.product-option-label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-option-label span {
  font-weight: 400;
  color: var(--color-grey);
  text-transform: none;
  letter-spacing: 0;
}

.product-colors {
  display: flex;
  gap: var(--space-sm);
}

.product-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 3px;
  cursor: pointer;
  transition: border-color var(--duration-fast);
}

.product-color-swatch:hover,
.product-color-swatch.active {
  border-color: var(--color-charcoal);
}

.product-color-swatch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.product-size-btn {
  min-width: 52px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.product-size-btn:hover {
  border-color: var(--color-charcoal);
}

.product-size-btn.active {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-ivory);
}

.product-size-btn.out-of-stock {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.size-guide-link {
  font-size: var(--text-sm);
  color: var(--color-bronze);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--duration-fast);
}

.size-guide-link:hover {
  color: var(--color-charcoal);
}

/* Quantity */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--color-medium-grey);
  transition: background var(--duration-fast), color var(--duration-fast);
}

.quantity-btn:hover {
  background: var(--color-off-white);
  color: var(--color-charcoal);
}

.quantity-value {
  width: 52px;
  text-align: center;
  font-size: var(--text-base);
  font-weight: 500;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stock indicator */
.stock-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
}

.stock-dot.low {
  background: #C4882F;
}

.stock-dot.out {
  background: var(--color-error);
}

/* Add to cart row */
.product-add-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.product-add-row .btn {
  flex: 1;
}

.product-wishlist-btn {
  flex-shrink: 0;
}

.product-wishlist-btn.active svg {
  fill: var(--color-error);
  stroke: var(--color-error);
}

/* Accordion details */
.product-details-accordion {
  border-top: 1px solid var(--color-border-light);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border-light);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.accordion-trigger svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-grey);
  stroke-width: 2;
  transition: transform 0.3s var(--ease-out);
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.accordion-item.open .accordion-content {
  max-height: 500px;
}

.accordion-content-inner {
  padding-bottom: var(--space-lg);
}

.accordion-content-inner ul {
  list-style: disc;
  padding-left: var(--space-lg);
}

.accordion-content-inner li {
  font-size: var(--text-base);
  color: var(--color-medium-grey);
  line-height: 1.8;
}

.accordion-content-inner p {
  font-size: var(--text-base);
  color: var(--color-medium-grey);
  line-height: 1.8;
}

/* Related products */
.related-products {
  padding: var(--space-4xl) 0;
}

/* ═══ SEARCH MODAL ═══ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2001;
  background: var(--color-surface);
  padding: var(--space-xl) var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: var(--shadow-xl);
}

.search-overlay.active + .search-modal,
.search-modal.active {
  transform: translateY(0);
}

.search-inner {
  max-width: 680px;
  margin: 0 auto;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-charcoal);
}

.search-input-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-grey);
  stroke-width: 1.5;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  background: transparent;
  color: var(--color-charcoal);
}

.search-input::placeholder {
  color: var(--color-light-grey);
}

.search-close-btn {
  padding: var(--space-sm);
  border-radius: 50%;
  transition: background var(--duration-fast);
}

.search-close-btn:hover {
  background: var(--color-off-white);
}

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

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

.search-result-item:hover {
  background: var(--color-off-white);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.search-result-img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-off-white);
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.search-result-category {
  font-size: var(--text-xs);
  color: var(--color-light-grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.search-result-price {
  font-weight: 500;
}

.search-empty {
  text-align: center;
  padding: var(--space-3xl) 0;
  color: var(--color-grey);
}

.search-empty svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-silver);
  margin-bottom: var(--space-md);
}

/* ═══ CART DRAWER ═══ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100%;
  z-index: 3001;
  background: var(--color-surface);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  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-xl);
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
}

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

.cart-close-btn:hover {
  background: var(--color-off-white);
}

.cart-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-medium-grey);
  stroke-width: 1.5;
}

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

.cart-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 90px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--color-off-white);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-weight: 500;
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.cart-item-variant {
  font-size: var(--text-xs);
  color: var(--color-grey);
  margin-bottom: auto;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.cart-item-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-md);
  color: var(--color-grey);
  transition: color var(--duration-fast);
}

.cart-item-qty button:hover {
  color: var(--color-charcoal);
}

.cart-item-qty span {
  padding: 0 var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  height: 32px;
  display: flex;
  align-items: center;
  min-width: 32px;
  justify-content: center;
}

.cart-item-price {
  font-weight: 500;
}

.cart-item-remove {
  font-size: var(--text-xs);
  color: var(--color-light-grey);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: var(--space-xs);
  align-self: flex-start;
  transition: color var(--duration-fast);
}

.cart-item-remove:hover {
  color: var(--color-error);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--color-grey);
  padding: var(--space-3xl);
}

.cart-empty svg {
  width: 56px;
  height: 56px;
  stroke: var(--color-silver);
  margin-bottom: var(--space-lg);
}

.cart-empty p {
  margin-bottom: var(--space-lg);
}

.cart-drawer-footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-sm);
}

.cart-subtotal-label {
  font-size: var(--text-sm);
  color: var(--color-grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cart-subtotal-value {
  font-size: var(--text-lg);
  font-weight: 600;
}

.cart-shipping-note {
  font-size: var(--text-xs);
  color: var(--color-light-grey);
  margin-bottom: var(--space-lg);
}

.cart-drawer-footer .btn {
  width: 100%;
}

/* ═══ WISHLIST PAGE ═══ */
.wishlist-page {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

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

.wishlist-empty {
  text-align: center;
  padding: var(--space-4xl) 0;
  color: var(--color-grey);
}

.wishlist-empty svg {
  width: 56px;
  height: 56px;
  stroke: var(--color-silver);
  margin-bottom: var(--space-lg);
}

/* ═══ CHECKOUT ═══ */
.checkout-page {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-3xl);
}

.checkout-steps {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-light-grey);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-step.active {
  color: var(--color-charcoal);
}

.checkout-step.completed {
  color: var(--color-success);
}

.checkout-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
}

.checkout-step.active .checkout-step-number {
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-ivory);
}

.checkout-step.completed .checkout-step-number {
  background: var(--color-success);
  border-color: var(--color-success);
  color: var(--color-pure-white);
}

.checkout-step-divider {
  width: 24px;
  height: 1px;
  background: var(--color-border);
  align-self: center;
}

.checkout-form-section {
  margin-bottom: var(--space-2xl);
}

.checkout-section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-medium-grey);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-charcoal);
  outline: none;
}

.form-group input::placeholder {
  color: var(--color-light-grey);
}

.checkout-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* Order summary sidebar */
.order-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  align-self: start;
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.order-summary-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.order-summary-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

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

.order-summary-item-info {
  flex: 1;
}

.order-summary-item-name {
  font-size: var(--text-sm);
  font-weight: 500;
}

.order-summary-item-variant {
  font-size: var(--text-xs);
  color: var(--color-grey);
}

.order-summary-item-price {
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: right;
}

.order-summary-totals {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
}

.order-summary-row.total {
  font-size: var(--text-md);
  font-weight: 600;
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

/* Checkout confirmation */
.checkout-confirmation {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
}

.confirmation-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-pure-white);
  stroke-width: 2;
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

.confirmation-order-num {
  font-size: var(--text-sm);
  color: var(--color-grey);
  margin-bottom: var(--space-xl);
}

.confirmation-message {
  color: var(--color-medium-grey);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.demo-notice {
  background: var(--color-off-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
  font-size: var(--text-sm);
  color: var(--color-grey);
  border: 1px dashed var(--color-border);
}

/* ═══ SIZE GUIDE MODAL ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: var(--space-xl);
}

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

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s var(--ease-out);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
}

.modal-body {
  padding: var(--space-xl);
}

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
}

.size-guide-table th {
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 2px solid var(--color-charcoal);
}

.size-guide-table td {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.size-guide-table tr:last-child td {
  border-bottom: none;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-dark-grey);
}

.footer-brand .logo {
  color: var(--color-ivory);
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.footer-brand p {
  color: var(--color-grey);
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 320px;
}

.footer-brand .footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-dark-grey);
  border-radius: 50%;
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  border-color: var(--color-bronze);
  background: var(--color-bronze);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--color-grey);
  transition: fill var(--duration-fast);
}

.footer-social a:hover svg {
  fill: var(--color-pure-white);
}

.footer-column h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ivory);
  margin-bottom: var(--space-lg);
}

.footer-column a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-grey);
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

.footer-column a:hover {
  color: var(--color-ivory);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  font-size: var(--text-xs);
  color: var(--color-medium-grey);
}

/* ═══ TOAST NOTIFICATIONS ═══ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-charcoal);
  color: var(--color-ivory);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.4s var(--ease-out);
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

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

/* ═══ SCROLL REVEALS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }

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

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .loading-screen { display: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ═══ RESPONSIVE ═══ */

/* Tablet */
@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: var(--space-xl);
  }

  .campaign-section {
    min-height: 400px;
  }

  .campaign-content {
    padding: var(--space-2xl);
  }

  .product-detail {
    gap: var(--space-2xl);
  }

  .checkout-layout {
    grid-template-columns: 1fr 340px;
    gap: var(--space-2xl);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Mobile landscape + small tablets */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile nav dropdown */
  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--color-surface);
    padding: var(--space-xl);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out);
  }

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

  .mobile-nav-link {
    display: block;
    padding: var(--space-lg) 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    border-bottom: 1px solid var(--color-border-light);
    transition: color var(--duration-fast);
  }

  .mobile-nav-link:hover {
    color: var(--color-bronze);
  }

  .hero {
    height: 75vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: clamp(var(--text-2xl), 7vw, var(--text-3xl));
  }

  .collections-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

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

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: var(--color-surface);
    padding: var(--space-xl);
    overflow-y: auto;
    max-height: none;
  }

  .filters-sidebar.mobile-active {
    display: block;
  }

  .mobile-filter-toggle {
    display: flex;
  }

  .campaign-section {
    grid-template-columns: 1fr;
  }

  .campaign-image {
    aspect-ratio: 16 / 9;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .product-gallery {
    position: static;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .checkout-steps {
    gap: var(--space-sm);
  }

  .checkout-step span:not(.checkout-step-number) {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .cart-drawer {
    width: 100%;
  }

  .toast-container {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }

  .toast {
    max-width: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero {
    height: 65vh;
    min-height: 420px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    aspect-ratio: 16 / 9;
  }

  .features-bar {
    grid-template-columns: 1fr;
  }

  .product-add-row {
    flex-direction: column;
  }

  .product-add-row .btn-icon {
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .checkout-steps {
    justify-content: center;
  }
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

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

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

/* ═══ PAGE TRANSITIONS ═══ */
.page-transition-enter {
  opacity: 0;
  transform: translateY(15px);
}

.page-transition-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

/* ═══ MISC ═══ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Notification dot animation */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.badge-count.bounce {
  animation: cartBounce 0.3s var(--ease-out);
}
