/* ============================================================
   Happy Republic — Premium B2B Relatiegeschenken
   Main Stylesheet — Apple Glassmorphism Design
   ============================================================ */

:root {
  --color-bg-primary: #080b12;
  --color-bg-secondary: #0d1117;
  --color-bg-tertiary: #151c28;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-surface-active: rgba(255, 255, 255, 0.12);
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-glass-border-hover: rgba(255, 255, 255, 0.18);
  --color-text-primary: #f5f5f7;
  --color-text-secondary: #a1a1a6;
  --color-text-tertiary: #6e6e73;
  --color-text-inverse: #1d1d1f;
  --color-accent: #F56300;
  --color-accent-hover: #D95500;
  --color-accent-navy: #1a1a1a;
  --color-accent-secondary: #2c2c2e;
  --color-accent-warm: #ff9f0a;
  --color-accent-danger: #ff453a;
  --color-accent-success: #30d158;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.15);
  --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-text: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --text-hero: clamp(2.5rem, 6vw, 5rem);
  --text-h1: clamp(2rem, 4vw, 3.5rem);
  --text-h2: clamp(1.5rem, 3vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-h4: 1.25rem;
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-caption: 0.75rem;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --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;
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;
  --nav-height: 64px;
  --sidebar-width: 340px;
  --blur-sm: blur(10px);
  --blur-md: blur(20px);
  --blur-lg: blur(40px);
  --blur-xl: blur(60px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(245, 99, 0, 0.15);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* --- Light Mode --- */
[data-theme="light"] {
  --color-bg-primary: #eaeaef;
  --color-bg-secondary: #f5f5f7;
  --color-bg-tertiary: #dddde3;
  --color-surface: rgba(0, 0, 0, 0.04);
  --color-surface-hover: rgba(0, 0, 0, 0.07);
  --color-surface-active: rgba(0, 0, 0, 0.10);
  --color-glass: rgba(255, 255, 255, 0.65);
  --color-glass-border: rgba(0, 0, 0, 0.10);
  --color-glass-border-hover: rgba(0, 0, 0, 0.18);
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #515154;
  --color-text-tertiary: #86868b;
  --color-text-inverse: #f5f5f7;
  --color-border: rgba(0, 0, 0, 0.10);
  --color-border-strong: rgba(0, 0, 0, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 30px rgba(245, 99, 0, 0.10);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}
html[data-theme="light"] {
  color-scheme: light;
}
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

body {
  font-family: var(--font-text);
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
body.catalog-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body.catalog-page .catalog-layout {
  flex: 1;
  min-height: 0;
  height: auto;
}
body.catalog-page .footer {
  flex-shrink: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--color-accent-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

/* --- Layout --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-xl); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-xl); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-xl); }
.section { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }
.text-center { text-align: center; }
.text-secondary { color: var(--color-text-secondary); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Glass Components --- */
.glass-panel {
  background: var(--color-glass);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: var(--color-glass);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
}
.glass-card:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 9999;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 0 var(--space-xl); height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--space-sm);
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: var(--weight-semibold); color: var(--color-text-primary);
  text-decoration: none; white-space: nowrap;
}
.nav-logo img {
  height: 36px; width: auto;
}
.nav-logo span {
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-text-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: var(--space-sm); }
.nav-links a {
  font-size: var(--text-body-sm); color: var(--color-text-secondary);
  font-weight: var(--weight-medium); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm); transition: all var(--duration-fast) var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--color-text-primary); background: var(--color-surface); }

.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }
.nav-search {
  display: flex; align-items: center; gap: var(--space-sm);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-full); padding: var(--space-sm) var(--space-md);
  transition: all var(--duration-normal) var(--ease-out); width: 220px;
}
.nav-search:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(245,99,0,0.1); width: 300px; }
.nav-search input { background: none; border: none; outline: none; color: var(--color-text-primary); font-size: var(--text-body-sm); width: 100%; }
.nav-search input::placeholder { color: var(--color-text-tertiary); }
.nav-search .material-symbols-outlined { font-size: 20px; color: var(--color-text-tertiary); }

.nav-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  color: var(--color-text-secondary); transition: all var(--duration-fast) var(--ease-out); position: relative;
}
.nav-icon-btn:hover { color: var(--color-text-primary); background: var(--color-surface); }
.nav-icon-btn .badge {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  border-radius: var(--radius-full); background: var(--color-accent); color: white;
  font-size: 10px; font-weight: var(--weight-bold);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* --- Account Dropdown --- */
.account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  padding: var(--space-xs) 0;
  z-index: 200;
  overflow: hidden;
}

.account-dropdown.open {
  display: block;
  animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
  font-family: inherit;
  text-align: left;
}

.account-dropdown-item:hover {
  background: var(--color-surface);
  color: var(--color-text-primary);
}

.account-dropdown-item .material-symbols-outlined {
  font-size: 18px;
}

.account-dropdown-danger {
  color: var(--color-accent-danger);
}
.account-dropdown-danger:hover {
  background: rgba(220,38,38,0.1);
  color: var(--color-accent-danger);
}

.account-dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xs) 0;
}

.nav-mobile-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--color-text-secondary);
}
.nav-mobile {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.97); backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg); z-index: var(--z-overlay);
  padding: var(--space-xl); flex-direction: column; gap: var(--space-xs);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-md) var(--space-lg); color: var(--color-text-secondary);
  font-size: 1.125rem; font-weight: var(--weight-medium);
  border-radius: var(--radius-md); transition: all var(--duration-fast) var(--ease-out);
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--color-text-primary); background: var(--color-surface); }

/* --- Light Mode Overrides --- */
[data-theme="light"] body {
  background: linear-gradient(180deg, #e8e8ef 0%, #dcdce4 40%, #e4e4ec 100%);
}
[data-theme="light"] .nav {
  background: rgba(240, 240, 245, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.10);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .nav-logo span {
  background: linear-gradient(135deg, #1d1d1f, #515154);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="light"] .nav-mobile {
  background: rgba(240, 240, 245, 0.97);
}
[data-theme="light"] .glass-panel,
[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-theme="light"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
[data-theme="light"] .product-card-image {
  background: linear-gradient(145deg, #e6e6ee, #d8d8e2);
}
[data-theme="light"] .product-card-body {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .product-card:hover .product-card-body {
  background: rgba(255, 255, 255, 0.8);
}
[data-theme="light"] .product-card-image .product-actions button {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .product-card-image .product-actions button:hover {
  background: var(--color-accent); color: white;
}
[data-theme="light"] .product-gallery-main {
  background: linear-gradient(145deg, #e6e6ee, #d8d8e2);
}
[data-theme="light"] .product-gallery-thumb {
  background: linear-gradient(145deg, #e6e6ee, #dcdce4);
}
[data-theme="light"] .gallery-arrow {
  background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
[data-theme="light"] .section-sm,
[data-theme="light"] .section {
  position: relative;
}
[data-theme="light"] .category-card {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .category-card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .category-card .category-icon {
  background: linear-gradient(135deg, rgba(245,99,0,0.12), rgba(245,99,0,0.05));
}
[data-theme="light"] .footer {
  background: linear-gradient(180deg, #e0e0e8, #d8d8e0);
  border-top-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .hero-with-image .hero-bg::before {
  background:
    linear-gradient(to right, rgba(234,234,239,0.95) 0%, rgba(234,234,239,0.85) 40%, rgba(234,234,239,0.5) 70%, rgba(234,234,239,0.2) 100%),
    linear-gradient(to top, rgba(234,234,239,0.9) 0%, rgba(234,234,239,0.3) 50%);
}
[data-theme="light"] .hero-bg::before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(245,99,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(26,26,26,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(42,80,144,0.04) 0%, transparent 60%);
}
[data-theme="light"] .cta-banner::before {
  background: linear-gradient(135deg, rgba(245,99,0,0.06), rgba(26,26,26,0.04));
}
[data-theme="light"] .about-image {
  background: linear-gradient(145deg, #e6e6ee, #d8d8e2);
}
[data-theme="light"] .cart-item-image {
  background: linear-gradient(145deg, #e6e6ee, #dcdce4);
}
[data-theme="light"] .filter-section {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .usp-card {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer; position: relative;
}
.theme-toggle:hover {
  color: var(--color-text-primary); background: var(--color-surface);
}
.theme-toggle .material-symbols-outlined {
  font-size: 22px;
  transition: transform var(--duration-normal) var(--ease-out);
}
.theme-toggle:hover .material-symbols-outlined {
  transform: rotate(30deg);
}

/* --- Hero Carousel --- */
.hero-carousel {
  position: relative;
  width: 100%; height: 100vh; max-height: 600px;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.carousel-track {
  position: relative; width: 100%; height: 100%;
}
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.carousel-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,11,18,0.88) 0%, rgba(8,11,18,0.6) 40%, rgba(8,11,18,0.2) 70%, transparent 100%),
    linear-gradient(to top, rgba(8,11,18,0.7) 0%, transparent 40%);
}
[data-theme="light"] .carousel-content .hero-subtitle {
  color: rgba(0,0,0,0.75);
  text-shadow: none;
}
[data-theme="light"] .carousel-overlay {
  background:
    linear-gradient(to right, rgba(234,234,239,0.92) 0%, rgba(234,234,239,0.75) 40%, rgba(234,234,239,0.3) 70%, transparent 100%),
    linear-gradient(to top, rgba(234,234,239,0.8) 0%, transparent 40%);
}
.carousel-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-start;
  max-width: var(--container-wide); width: 100%;
  margin: 0 auto; padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) 0;
  z-index: 2;
}
.carousel-content .hero-title {
  max-width: 600px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.carousel-content .hero-subtitle {
  max-width: 520px; margin: 0 0 var(--space-2xl);
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}
.carousel-content .hero-actions {
  justify-content: flex-start;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.carousel-slide.active .carousel-content .hero-title,
.carousel-slide.active .carousel-content .hero-subtitle,
.carousel-slide.active .carousel-content .hero-actions {
  opacity: 1; transform: translateY(0);
}
.carousel-nav {
  position: absolute; bottom: var(--space-lg); left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-xl);
  z-index: 5;
  pointer-events: none;
}
.carousel-nav > * { pointer-events: auto; }
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
[data-theme="light"] .carousel-btn {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-text-primary);
  border-color: rgba(0, 0, 0, 0.08);
}
.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}
[data-theme="light"] .carousel-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}
.carousel-btn .material-symbols-outlined { font-size: 24px; }
.carousel-dots {
  display: flex; gap: var(--space-sm);
  align-items: center;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none; cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}
[data-theme="light"] .carousel-dot {
  background: rgba(0, 0, 0, 0.2);
}
.carousel-dot.active {
  width: 32px;
  background: var(--color-accent);
}
.carousel-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
}
[data-theme="light"] .carousel-dot:hover:not(.active) {
  background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
  .carousel-content { padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) 0; }
  .carousel-content .hero-title { max-width: 100%; font-size: clamp(2rem, 5vw, 3rem); }
  .carousel-content .hero-subtitle { max-width: 100%; }
  .carousel-nav { padding: 0 var(--space-lg); }
}
@media (max-width: 768px) {
  .hero-carousel { height: 60vh; max-height: 420px; }
  .carousel-overlay {
    background:
      linear-gradient(to top, rgba(8,11,18,0.85) 0%, rgba(8,11,18,0.4) 50%, rgba(8,11,18,0.15) 100%);
  }
  [data-theme="light"] .carousel-overlay {
    background:
      linear-gradient(to top, rgba(234,234,239,0.92) 0%, rgba(234,234,239,0.6) 50%, rgba(234,234,239,0.25) 100%);
  }
  .carousel-content {
    justify-content: flex-start;
    padding: var(--space-xl) var(--space-md) 0;
    text-align: left;
  }
  .carousel-content .hero-title { max-width: 100%; font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .carousel-content .hero-subtitle { max-width: 100%; font-size: var(--text-body-sm); margin-bottom: var(--space-md); }
  .carousel-content .hero-actions { justify-content: flex-start; }
  .carousel-content .hero-actions .btn { width: auto; font-size: var(--text-body-sm); padding: var(--space-sm) var(--space-lg); }
  .carousel-btn { display: none; }
  .carousel-nav { padding: 0 var(--space-md); justify-content: center; }
  .carousel-dots { gap: var(--space-xs); }
  .carousel-dot { width: 8px; height: 8px; }
}
@media (max-width: 480px) {
  .hero-carousel { height: 50vh; max-height: 360px; }
  .carousel-content { padding: var(--space-lg) var(--space-sm) 0; }
  .carousel-content .hero-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .carousel-content .hero-subtitle { font-size: 0.8125rem; }
  .carousel-nav { bottom: var(--space-sm); padding: 0 var(--space-sm); }
}

/* --- Hero (legacy) --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(245,99,0,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(26,26,26,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(42,80,144,0.06) 0%, transparent 60%);
  animation: heroGlow 20s ease-in-out infinite alternate;
}
.hero-with-image .hero-bg { z-index: 0; }
.hero-bg-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-with-image .hero-bg::before {
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8,11,18,0.92) 0%, rgba(8,11,18,0.75) 40%, rgba(8,11,18,0.4) 70%, rgba(8,11,18,0.15) 100%),
    linear-gradient(to top, rgba(8,11,18,0.85) 0%, rgba(8,11,18,0.3) 50%);
  top: 0; left: 0; width: 100%; height: 100%;
  animation: none;
}
.hero-with-image .hero-content { text-align: left; max-width: var(--container-wide); width: 100%; padding: 0 var(--space-xl); }
.hero-with-image .hero-title { max-width: 600px; }
.hero-with-image .hero-subtitle { margin: 0 0 var(--space-2xl); max-width: 520px; }
.hero-with-image .hero-actions { justify-content: flex-start; }
.hero-with-image .hero-badge { margin-bottom: var(--space-xl); }
@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, -1%) rotate(1deg); }
  100% { transform: translate(1%, 2%) rotate(-1deg); }
}
.hero-content { max-width: 860px; position: relative; z-index: var(--z-base); }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg); background: var(--color-glass);
  border: 1px solid var(--color-glass-border); border-radius: var(--radius-full);
  font-size: var(--text-body-sm); color: var(--color-text-secondary);
  margin-bottom: var(--space-xl); backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
}
.hero-badge .material-symbols-outlined { font-size: 18px; color: var(--color-accent); }
.hero-title {
  font-size: var(--text-hero); font-weight: var(--weight-bold);
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--space-lg);
  text-shadow: none;
}
[data-theme="light"] .hero-title {
  text-shadow: none;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #FF8C00 0%, var(--color-accent) 50%, #FFB347 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  -webkit-text-stroke: 0;
}
[data-theme="light"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #E05800 0%, var(--color-accent) 50%, #FF8C00 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  -webkit-text-stroke: 0;
}
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem); color: var(--color-text-secondary);
  line-height: 1.6; max-width: 640px; margin: 0 auto var(--space-2xl);
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl); border-radius: var(--radius-full);
  font-size: var(--text-body); font-weight: var(--weight-semibold);
  transition: all var(--duration-normal) var(--ease-out); white-space: nowrap; text-decoration: none;
}
.btn .material-symbols-outlined { font-size: 20px; }
.btn-primary { background: var(--color-accent); color: white; box-shadow: 0 4px 16px rgba(245,99,0,0.3); }
.btn-primary:hover { background: var(--color-accent-hover); color: white; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245,99,0,0.4); }
.btn-secondary {
  background: var(--color-glass); color: var(--color-text-primary);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
}
.btn-secondary:hover { background: var(--color-surface-hover); color: var(--color-text-primary); border-color: var(--color-glass-border-hover); }
.btn-ghost { background: transparent; color: var(--color-accent); padding: var(--space-sm) var(--space-md); }
.btn-ghost:hover { background: var(--color-surface); }
.btn-sm { padding: var(--space-sm) var(--space-md); font-size: var(--text-body-sm); }
.btn-lg { padding: var(--space-sm) var(--space-xl); font-size: var(--text-body-sm); }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); }
.btn-danger { background: var(--color-accent-danger); color: white; }
.btn-danger:hover { background: #e0342b; color: white; }
.btn-success { background: var(--color-accent-navy); color: white; }
.btn-success:hover { background: #1A3560; color: white; }
.btn-block { width: 100%; }

/* --- Section Headers --- */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--space-lg); gap: var(--space-md);
}
.section-header .section-title { font-size: var(--text-h2); font-weight: var(--weight-bold); }
.section-header .section-subtitle { color: var(--color-text-secondary); font-size: var(--text-body); margin-top: var(--space-sm); max-width: 600px; }
.section-header .section-link {
  display: flex; align-items: center; gap: var(--space-xs);
  color: var(--color-accent); font-weight: var(--weight-medium);
  font-size: var(--text-body-sm); white-space: nowrap; flex-shrink: 0;
}
.section-header .section-link .material-symbols-outlined { font-size: 18px; transition: transform var(--duration-fast) var(--ease-out); }
.section-header .section-link:hover .material-symbols-outlined { transform: translateX(4px); }

/* --- Categories --- */
.categories-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-sm); }
.category-card {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm); text-align: center;
  text-decoration: none; color: var(--color-text-primary); cursor: pointer;
}
.category-card .category-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(245,99,0,0.15), rgba(245,99,0,0.05));
  color: var(--color-accent); transition: all var(--duration-normal) var(--ease-out);
}
.category-card .category-icon .material-symbols-outlined { font-size: 20px; }
.category-card:hover .category-icon { background: linear-gradient(135deg, rgba(245,99,0,0.25), rgba(245,99,0,0.1)); transform: scale(1.08); }
.category-card .category-name { font-size: var(--text-caption); font-weight: var(--weight-medium); line-height: 1.3; }
.category-card .category-count { font-size: var(--text-caption); color: var(--color-text-tertiary); }

/* --- Category Links Bar (Contact, Over ons) --- */
.category-links-bar {
  padding: var(--space-md) 0;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}
.category-links-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-sm);
}
.category-link-item {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm); font-weight: var(--weight-medium);
  color: var(--color-text-secondary); text-decoration: none;
  background: var(--color-glass); border: 1px solid var(--color-glass-border);
  transition: all var(--duration-fast) var(--ease-out);
}
.category-link-item:hover {
  color: var(--color-accent); background: rgba(245,99,0,0.08);
  border-color: rgba(245,99,0,0.2);
}
.category-link-item .material-symbols-outlined { font-size: 18px; }
[data-theme="light"] .category-link-item {
  background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .category-link-item:hover {
  background: rgba(245,99,0,0.06); border-color: rgba(245,99,0,0.2);
}

/* --- Limited Edition Grid --- */
.limited-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}
.limited-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none; color: inherit;
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  transition: all var(--duration-normal) var(--ease-out);
}
.limited-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-glass-border-hover);
  box-shadow: var(--shadow-md);
}
[data-theme="light"] .limited-card {
  background: rgba(240, 240, 245, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .limited-card:hover {
  background: rgba(235, 235, 240, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.limited-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
}
[data-theme="light"] .limited-card-image {
  background: linear-gradient(145deg, #e8e8ed, #dddde5);
}
.limited-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.limited-card:hover .limited-card-image img {
  transform: scale(1.06);
}
.limited-card-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex; flex-direction: column; gap: 3px;
  border-top: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .limited-card-body {
  border-top-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}
.limited-card-cat {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.limited-card-name {
  font-family: var(--font-display);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-theme="light"] .limited-card-name {
  color: #1a1a1a;
}
.limited-card-colors {
  display: flex; align-items: center; gap: 3px;
  margin-top: 2px;
}
.limited-color-dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.limited-color-more {
  font-size: 9px;
  color: var(--color-text-tertiary);
}
.limited-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2px;
}
.limited-card-price {
  font-family: var(--font-display);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: #ffffff !important;
  white-space: nowrap;
}
.limited-card-ref {
  font-size: 10px;
  color: var(--color-text-secondary);
}
[data-theme="light"] .limited-card-ref {
  color: #666;
}
[data-theme="light"] .limited-card-price {
  color: #1a1a1a !important;
  font-weight: var(--weight-bold);
}
@media (max-width: 1024px) {
  .limited-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .limited-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Product Cards --- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-sm); }
.product-card { overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; border-radius: var(--radius-lg); }
.product-card-image {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--duration-slow) var(--ease-out); background: rgba(255,255,255,0.02); }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-image .product-badge {
  position: absolute; top: var(--space-md); left: var(--space-md);
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm);
  font-size: var(--text-caption); font-weight: var(--weight-semibold); background: var(--color-accent); color: white;
}
.product-card-image .product-badge.eco { background: var(--color-accent-success); }
.product-card-image .product-badge.new { background: var(--color-accent-warm); }
.product-card-badge {
  position: absolute; top: var(--space-sm); left: var(--space-sm); z-index: 2;
  padding: 2px 8px; border-radius: var(--radius-sm);
  font-size: 10px; font-weight: var(--weight-semibold); letter-spacing: 0.5px; text-transform: uppercase;
  background: #96bf48; color: white;
}
.shopify-variant-btn {
  padding: 6px 14px; border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  font-size: var(--text-body-sm); color: var(--color-text-secondary);
  cursor: pointer; transition: all var(--duration-fast) var(--ease-out);
}
.shopify-variant-btn:hover { border-color: var(--color-accent); color: var(--color-text-primary); }
.shopify-variant-btn.active {
  border-color: var(--color-accent); background: rgba(255,149,0,0.1);
  color: var(--color-accent); font-weight: var(--weight-semibold);
}
.product-card-image .product-actions {
  position: absolute; top: var(--space-md); right: var(--space-md);
  display: flex; flex-direction: column; gap: var(--space-xs);
  opacity: 0; transform: translateX(8px); transition: all var(--duration-normal) var(--ease-out);
}
.product-card:hover .product-card-image .product-actions { opacity: 1; transform: translateX(0); }
.product-card-image .product-actions button {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(0,0,0,0.5); backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm); color: white;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}
.product-card-image .product-actions button:hover { background: var(--color-accent); }
.product-card-image .product-actions button .material-symbols-outlined { font-size: 18px; }

.product-card-body {
  padding: var(--space-sm) var(--space-sm) var(--space-md); flex: 1;
  display: flex; flex-direction: column;
  background: var(--color-glass); border: 1px solid var(--color-glass-border); border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.product-card-category { font-size: var(--text-caption); color: var(--color-text-tertiary); margin-bottom: 2px; line-height: 1.3; }
.product-card-name { font-family: var(--font-display); font-size: var(--text-body-sm); font-weight: var(--weight-medium); margin-bottom: 2px; line-height: 1.3; }
.product-card-desc { font-size: 11px; color: var(--color-text-tertiary); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-colors { display: flex; gap: 4px; margin-bottom: var(--space-sm); }
.color-dot { width: 12px; height: 12px; border-radius: var(--radius-full); border: 1.5px solid var(--color-border); transition: transform var(--duration-fast) var(--ease-out); }
.color-dot:hover { transform: scale(1.3); }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--space-sm); }
.product-card-price { font-family: var(--font-display); font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: #ffffff; white-space: nowrap; }
[data-theme="light"] .product-card-price { color: #1a1a1a !important; }
.product-card-price .from { font-size: var(--text-caption); font-weight: var(--weight-regular); color: var(--color-text-tertiary); }
.product-card-stock { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-caption); color: var(--color-accent-success); }
.product-card-stock .material-symbols-outlined { font-size: 14px; }
.product-card-stock.low { color: var(--color-accent-warm); }
.product-card-stock.out { color: var(--color-accent-danger); }

/* --- USP --- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-lg); }
.usp-card { padding: var(--space-2xl); text-align: center; }
.usp-card .usp-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-lg); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245,99,0,0.12), rgba(245,99,0,0.04)); color: var(--color-accent);
}
.usp-card .usp-icon .material-symbols-outlined { font-size: 28px; }
.usp-card h3 { font-size: var(--text-h4); margin-bottom: var(--space-sm); }
.usp-card p { font-size: var(--text-body-sm); color: var(--color-text-secondary); line-height: 1.6; }

/* --- CTA Banner --- */
.cta-banner { position: relative; overflow: hidden; padding: var(--space-4xl) var(--space-2xl); text-align: center; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(245,99,0,0.08), rgba(26,26,26,0.06)); z-index: -1; }
.cta-banner h2 { margin-bottom: var(--space-md); }
.cta-banner p { color: var(--color-text-secondary); max-width: 560px; margin: 0 auto var(--space-2xl); }

/* --- Policy Content --- */
.policy-content h2 { font-size: var(--text-h3); font-weight: var(--weight-bold); margin: var(--space-xl) 0 var(--space-sm); }
.policy-content h3 { font-size: var(--text-body); font-weight: var(--weight-semibold); margin: var(--space-lg) 0 var(--space-xs); }
.policy-content p { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: var(--space-md); }
.policy-content ul { list-style: disc; padding-left: var(--space-xl); margin-bottom: var(--space-md); }
.policy-content ul li { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: var(--space-xs); }
.policy-content a { color: var(--color-accent); text-decoration: underline; }
.policy-content a:hover { opacity: 0.8; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--color-border); padding: var(--space-4xl) 0 var(--space-xl); background: var(--color-bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-3xl); margin-bottom: var(--space-3xl); }
.footer-brand p { color: var(--color-text-secondary); font-size: var(--text-body-sm); margin-top: var(--space-md); max-width: 300px; line-height: 1.6; }
.footer-heading { font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: var(--color-text-primary); margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { color: var(--color-text-secondary); font-size: var(--text-body-sm); transition: color var(--duration-fast) var(--ease-out); }
.footer-links a:hover { color: var(--color-text-primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-xl); border-top: 1px solid var(--color-border); font-size: var(--text-caption); color: var(--color-text-tertiary); }
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a { color: var(--color-text-tertiary); }
.footer-bottom-links a:hover { color: var(--color-text-secondary); }

/* --- Forms --- */
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: var(--text-body-sm); font-weight: var(--weight-medium); color: var(--color-text-secondary); margin-bottom: var(--space-sm); }
.form-input {
  width: 100%; padding: var(--space-md) var(--space-lg);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); color: var(--color-text-primary);
  font-size: var(--text-body); transition: all var(--duration-fast) var(--ease-out); outline: none;
}
.form-input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(245,99,0,0.1); }
.form-input::placeholder { color: var(--color-text-tertiary); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-select {
  width: 100%; padding: var(--space-md) var(--space-lg);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); color: var(--color-text-primary);
  font-size: var(--text-body); appearance: none; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a1a1a6' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--space-md) center;
}
.form-select:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(245,99,0,0.1); }
.form-checkbox { display: flex; align-items: center; gap: var(--space-sm); cursor: pointer; font-size: var(--text-body-sm); color: var(--color-text-secondary); }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--color-accent); cursor: pointer; }

/* --- Tags --- */
.tag {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md); border-radius: var(--radius-full);
  font-size: var(--text-caption); font-weight: var(--weight-medium);
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text-secondary); transition: all var(--duration-fast) var(--ease-out); cursor: pointer;
}
.tag.active, .tag:hover { background: rgba(245,99,0,0.12); border-color: var(--color-accent); color: var(--color-accent); }

/* --- Tables --- */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: var(--space-md) var(--space-lg); font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: var(--color-text-secondary); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
td { padding: var(--space-md) var(--space-lg); font-size: var(--text-body-sm); border-bottom: 1px solid var(--color-border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--color-surface); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-body); color: var(--color-text-tertiary); padding: var(--space-xs) 0 var(--space-sm); }
.breadcrumb a { color: var(--color-text-tertiary); }
.breadcrumb a:hover { color: var(--color-text-primary); }
.breadcrumb .separator { font-size: 12px; }

/* --- Pagination --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-top: var(--space-2xl); }
.pagination button, .pagination a {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 var(--space-sm);
  border-radius: var(--radius-sm); font-size: var(--text-body-sm);
  color: var(--color-text-secondary); background: var(--color-surface);
  border: 1px solid var(--color-border); transition: all var(--duration-fast) var(--ease-out); text-decoration: none;
}
.pagination button:hover, .pagination a:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }
.pagination .active { background: var(--color-accent); color: white; border-color: var(--color-accent); }

/* --- Catalog Layout --- */
.catalog-layout {
  display: flex; gap: 0;
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  overflow: hidden;
}
.catalog-layout.home-layout {
  padding-top: 0;
  height: auto;
  overflow: visible;
}
.home-layout .filter-sidebar {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.home-layout .catalog-main {
  overflow: visible;
}
.catalog-main {
  flex: 1; min-width: 0;
  overflow-y: auto; overflow-x: hidden;
  padding: var(--space-sm) var(--space-xl) var(--space-2xl);
}
.filter-sidebar {
  width: var(--sidebar-width); flex-shrink: 0;
  overflow-y: auto; overflow-x: hidden;
  padding: var(--space-lg) var(--space-lg) var(--space-2xl);
  border-right: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}
[data-theme="light"] .filter-sidebar {
  background: rgba(255, 255, 255, 0.45);
}
.filter-sidebar::-webkit-scrollbar,
.catalog-main::-webkit-scrollbar {
  width: 6px;
}
.filter-sidebar::-webkit-scrollbar-track,
.catalog-main::-webkit-scrollbar-track {
  background: transparent;
}
.filter-sidebar::-webkit-scrollbar-thumb,
.catalog-main::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
}
.filter-sidebar::-webkit-scrollbar-thumb:hover,
.catalog-main::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}
.filter-section { padding: var(--space-lg); margin-bottom: var(--space-md); }
.filter-section h4 { font-size: var(--text-body-sm); font-weight: var(--weight-semibold); margin-bottom: var(--space-md); display: flex; align-items: center; justify-content: space-between; }
.filter-options { display: flex; flex-direction: column; gap: var(--space-sm); }
.filter-cat-link {
  display: block; padding: var(--space-sm) var(--space-md);
  color: var(--color-text-secondary); font-size: var(--text-body-sm);
  text-decoration: none; border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out); cursor: pointer;
}
.filter-cat-link:hover { color: var(--color-text-primary); background: var(--color-surface); }
.filter-cat-link.active { color: var(--color-accent); background: rgba(245,99,0,0.1); font-weight: var(--weight-medium); }
.filter-cat-group { margin-bottom: 2px; }
.filter-cat-main {
  display: flex; align-items: flex-start;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  text-decoration: none; border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer; font-weight: var(--weight-medium);
  line-height: 1.4;
}
.filter-cat-main-name {
  flex: 1; min-width: 0;
}
.filter-cat-main .material-symbols-outlined {
  flex-shrink: 0; margin-top: 1px;
}
.filter-cat-main:hover { color: var(--color-text-primary); background: var(--color-surface); }
.filter-cat-main.active { color: var(--color-accent); background: rgba(245,99,0,0.1); }
.filter-cat-arrow { transition: transform var(--duration-fast) var(--ease-out); }
.filter-cat-group.open .filter-cat-arrow { transform: rotate(180deg); }
.filter-cat-subs {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: var(--space-lg);
}
.filter-cat-group.open .filter-cat-subs { max-height: 500px; }
.filter-cat-sub {
  display: block;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  text-decoration: none; border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
}
.filter-cat-sub:hover { color: var(--color-text-primary); background: var(--color-surface); }
.filter-cat-sub.active { color: var(--color-accent); background: rgba(245,99,0,0.06); font-weight: var(--weight-medium); }
.filter-color-options { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.filter-color-btn { width: 28px; height: 28px; border-radius: var(--radius-full); border: 2px solid var(--color-border); cursor: pointer; transition: all var(--duration-fast) var(--ease-out); }
.filter-color-btn:hover, .filter-color-btn.active { border-color: var(--color-text-primary); transform: scale(1.15); }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.catalog-toolbar .results-count { font-size: var(--text-body-sm); color: var(--color-text-secondary); }
.catalog-toolbar .sort-select {
  padding: var(--space-sm) var(--space-2xl) var(--space-sm) var(--space-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); color: var(--color-text-primary);
  font-size: var(--text-body-sm); appearance: none; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a1a1a6' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--space-sm) center;
}

/* --- Product Detail --- */
.product-detail { padding-top: var(--space-sm); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(320px, 1fr); gap: var(--space-xl); align-items: start; }
.product-gallery { position: sticky; top: var(--space-sm); max-width: 100%; min-width: 0; }
.product-gallery-main { aspect-ratio: 4/3; max-height: 400px; border-radius: var(--radius-xl); overflow: hidden; background: var(--color-bg-secondary); margin-bottom: var(--space-sm); border: 1px solid var(--color-border); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-md); }
.product-gallery-thumbs {
  display: flex; align-items: center; gap: var(--space-xs); position: relative;
}
.gallery-track {
  display: flex; gap: var(--space-sm); overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; flex: 1; padding: var(--space-xs) 0;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-arrow {
  width: 36px; height: 36px; border-radius: var(--radius-full); flex-shrink: 0;
  background: var(--color-glass); backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--color-glass-border); color: var(--color-text-primary);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out); z-index: 2;
}
.gallery-arrow:hover { background: var(--color-accent); color: white; border-color: var(--color-accent); }
.gallery-arrow .material-symbols-outlined { font-size: 20px; }
.product-gallery-thumb {
  width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden;
  border: 2px solid var(--color-border); cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out); background: var(--color-bg-secondary); flex-shrink: 0;
}
.product-gallery-thumb.active, .product-gallery-thumb:hover { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info { padding: var(--space-sm) 0; min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
.product-info .product-ref { font-size: var(--text-caption); color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.product-info h1 { margin-bottom: var(--space-sm); font-size: 1.6rem; }
.product-info .product-description { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: var(--space-md); }

.pdp-desc {
  color: var(--color-text-secondary);
  line-height: 1.5;
  font-size: var(--text-body-sm);
  margin-bottom: var(--space-sm);
}
.desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: var(--space-xs);
  padding: 0;
  border: none;
  background: none;
  color: var(--color-accent);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
}
.desc-toggle:hover { opacity: 0.7; }

.pdp-section {
  margin-bottom: var(--space-sm);
}
.pdp-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}
.pdp-label .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-accent);
}
.pdp-color-btn {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.2s;
}
.pdp-color-btn:hover { transform: scale(1.15); }

.pdp-print-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-lg);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
}
.pdp-print-badge.available {
  background: rgba(245,99,0,0.08);
  color: var(--color-accent);
  border: 1px solid rgba(245,99,0,0.2);
}
.pdp-print-badge.unavailable {
  background: var(--color-surface-secondary);
  color: var(--color-text-tertiary);
  border: 1px solid var(--color-border);
}
.pdp-print-badge .material-symbols-outlined {
  font-size: 20px;
}

.pdp-order-btn {
  width: 100%;
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  justify-content: center;
}

.wiz-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
  cursor: pointer;
  margin-bottom: var(--space-lg);
  transition: color 0.2s;
}
.wiz-back-link:hover { color: var(--color-accent); }
.wiz-back-link .material-symbols-outlined { font-size: 18px; }
.product-options { margin-bottom: var(--space-xl); }
.product-option-group { margin-bottom: var(--space-lg); }
.product-option-label { font-size: var(--text-body-sm); font-weight: var(--weight-medium); margin-bottom: var(--space-sm); display: flex; align-items: center; gap: var(--space-sm); }
.product-option-label span { color: var(--color-text-tertiary); font-weight: var(--weight-regular); }
.product-colors { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.product-color-btn { width: 36px; height: 36px; border-radius: var(--radius-full); border: 3px solid var(--color-border); cursor: pointer; transition: all var(--duration-fast) var(--ease-out); }
.product-color-btn:hover { transform: scale(1.1); }
.product-color-btn.active { border-color: var(--color-accent); box-shadow: 0 0 0 2px var(--color-bg-primary), 0 0 0 4px var(--color-accent); }
.product-quantity { display: flex; align-items: center; gap: var(--space-sm); }
.product-quantity button { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-text-secondary); background: var(--color-surface); transition: all var(--duration-fast) var(--ease-out); }
.product-quantity button:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }
.product-quantity input { width: 72px; height: 40px; text-align: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); font-weight: var(--weight-medium); outline: none; }
.product-quantity input:focus { border-color: var(--color-accent); }
.product-price-display { padding: var(--space-md); margin-bottom: var(--space-md); }
.product-price-display .price-label { font-size: var(--text-body-sm); color: var(--color-text-tertiary); margin-bottom: var(--space-xs); }
.product-price-display .price-value { font-family: var(--font-display); font-size: var(--text-h2); font-weight: var(--weight-bold); }
.product-price-display .price-note { font-size: var(--text-caption); color: var(--color-text-tertiary); margin-top: var(--space-xs); }
.product-add-actions { display: flex; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.product-add-actions .btn { flex: 1; font-size: var(--text-body-sm); padding: var(--space-sm) var(--space-md); }
.product-accordions { margin-top: var(--space-sm); }
.product-specs { margin-top: 0; border-top: none; padding-top: 0; }
.product-spec-row { display: flex; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); font-size: var(--text-body-sm); }
.product-spec-row:last-child { border-bottom: none; }
.product-spec-row dt { width: 180px; color: var(--color-text-tertiary); flex-shrink: 0; }
.product-spec-row dd { color: var(--color-text-primary); }

/* --- Pricing Table --- */
.pricing-table { width: 100%; }
.pricing-table th, .pricing-table td { text-align: center; padding: var(--space-xs) var(--space-sm); }
.pricing-table .highlight { background: rgba(245,99,0,0.08); font-weight: var(--weight-semibold); color: var(--color-accent); }

/* --- Cart --- */
.cart-page { padding-top: calc(var(--nav-height) + var(--space-2xl)); min-height: 100vh; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-2xl); align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: var(--space-md); }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: var(--space-lg); padding: var(--space-lg); align-items: center; }
.cart-item-image { width: 100px; height: 100px; border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg-secondary); }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-sm); }
.cart-item-info h4 { font-size: var(--text-body); margin-bottom: var(--space-xs); }
.cart-item-info .cart-item-variant { font-size: var(--text-body-sm); color: var(--color-text-tertiary); margin-bottom: var(--space-sm); }
.cart-item-actions { display: flex; flex-direction: row; align-items: center; gap: var(--space-md); }
.cart-item-price { font-family: var(--font-display); font-size: 1.125rem; font-weight: var(--weight-semibold); }
.cart-summary { padding: var(--space-xl); position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.cart-summary h3 { margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-border); }
.cart-summary-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; font-size: var(--text-body-sm); color: var(--color-text-secondary); }
.cart-summary-total { display: flex; justify-content: space-between; padding: var(--space-md) 0; margin-top: var(--space-md); border-top: 1px solid var(--color-border); font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--weight-bold); }

/* --- Page Hero --- */
.page-hero { padding: var(--nav-height) 0 var(--space-md); text-align: center; }
.page-hero h1 { margin-bottom: var(--space-sm); }
.page-hero p { color: var(--color-text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.125rem; }

/* --- Contact --- */
.contact-form-panel { padding: var(--space-2xl); }
.contact-form-title { margin-bottom: var(--space-xl); }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-md); }
.contact-form-full { grid-column: 1 / -1; }
.contact-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.contact-info-card { display: flex; align-items: flex-start; gap: var(--space-lg); padding: var(--space-xl); }
.contact-info-card .contact-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-lg); background: rgba(245,99,0,0.1); color: var(--color-accent); flex-shrink: 0; font-size: 24px; }
.contact-info-card h4 { margin-bottom: var(--space-xs); font-size: var(--text-body); font-weight: var(--weight-semibold); }
.contact-info-card p { font-size: var(--text-body-sm); color: var(--color-text-secondary); line-height: 1.6; }
.contact-card-link { font-size: var(--text-body-sm); color: var(--color-accent); display: inline-block; margin-top: var(--space-sm); word-break: break-all; }
.contact-card-link:hover { color: var(--color-accent-hover); }
.contact-card-detail { font-size: var(--text-caption); color: var(--color-text-tertiary); display: inline-block; margin-top: var(--space-xs); }
.contact-map { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); height: 250px; }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.about-image { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary)); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; }
.about-image .material-symbols-outlined { font-size: 80px; color: var(--color-text-tertiary); }
.about-text h2 { margin-bottom: var(--space-lg); }
.about-text p { color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-md); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.stat-card { text-align: center; padding: var(--space-xl); }
.stat-card .stat-value { font-family: var(--font-display); font-size: var(--text-h2); font-weight: var(--weight-bold); color: var(--color-accent); margin-bottom: var(--space-xs); }
.stat-card .stat-label { font-size: var(--text-body-sm); color: var(--color-text-secondary); }

/* --- Toast --- */
.toast-container { position: fixed; top: calc(var(--nav-height) + var(--space-md)); right: var(--space-xl); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--space-sm); pointer-events: none; }
.toast { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); background: var(--color-bg-secondary); border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); animation: toastIn var(--duration-normal) var(--ease-out); min-width: 320px; pointer-events: auto; }
.toast.success .toast-icon { color: var(--color-accent-success); }
.toast.error .toast-icon { color: var(--color-accent-danger); }
.toast.info .toast-icon { color: var(--color-accent); }
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

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

/* --- Empty State --- */
.empty-state { text-align: center; padding: var(--space-4xl) var(--space-xl); }
.empty-state .material-symbols-outlined { font-size: 64px; color: var(--color-text-tertiary); margin-bottom: var(--space-lg); }
.empty-state h3 { margin-bottom: var(--space-sm); }
.empty-state p { color: var(--color-text-secondary); margin-bottom: var(--space-xl); }

/* --- Responsive --- */
@media (max-width: 1280px) {
  .container { padding: 0 var(--space-lg); }
  .product-detail-grid { gap: var(--space-lg); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .product-detail-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .filter-sidebar { width: 260px; padding: var(--space-md); }
  .contact-form-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .catalog-layout { flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: visible; }
  .catalog-main { overflow-y: visible; overflow-x: hidden; padding: var(--space-md); }
  .filter-sidebar { width: 100%; overflow: visible; border-right: none; border-bottom: 1px solid var(--color-border); padding: var(--space-md); }
  body.catalog-page { display: block; overflow-x: hidden; }
  body.catalog-page .catalog-layout { flex: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --space-xl: 1.5rem; --space-2xl: 2rem; --space-3xl: 2.5rem; --space-4xl: 3rem; --space-5xl: 4rem; }
  .nav-links { display: none; }
  .nav-search { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { min-height: auto; padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-md) var(--space-3xl); }
  .hero-with-image { min-height: 80vh; }
  .hero-with-image .hero-content { text-align: center; }
  .hero-with-image .hero-title { max-width: 100%; }
  .hero-with-image .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-with-image .hero-actions { justify-content: center; }
  .hero-with-image .hero-bg::before { background: linear-gradient(to top, rgba(8,11,18,0.95) 0%, rgba(8,11,18,0.7) 50%, rgba(8,11,18,0.4) 100%); }
  [data-theme="light"] .hero-with-image .hero-bg::before { background: linear-gradient(to top, rgba(234,234,239,0.98) 0%, rgba(234,234,239,0.85) 50%, rgba(234,234,239,0.5) 100%); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-panel { padding: var(--space-lg); }
  .contact-map { height: 200px; }
  .container { padding: 0 var(--space-md); }
}
@media (max-width: 640px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xs); }
  .stats-grid { grid-template-columns: 1fr; }
  .product-gallery-thumb { width: 64px; height: 64px; }
  .gallery-arrow { width: 30px; height: 30px; }
  .gallery-arrow .material-symbols-outlined { font-size: 18px; }
  .product-detail-grid { gap: var(--space-md); }
  .container { padding: 0 var(--space-sm); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-card-meta {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

.product-card-ref {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
}

/* --- Accordion / Collapsible Sections --- */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  text-align: left;
  transition: background var(--duration-fast) var(--ease-out);
  font-family: var(--font-text);
}
.accordion-trigger:hover {
  background: var(--color-surface-hover);
}
.accordion-trigger .material-symbols-outlined {
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.accordion-trigger .accordion-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--color-text-tertiary);
  transition: transform var(--duration-normal) var(--ease-out);
}
.accordion.open .accordion-trigger .accordion-arrow {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}
.accordion.open .accordion-body {
  max-height: 2000px;
  transition: max-height var(--duration-slow) var(--ease-out);
}
.accordion-content {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* --- Printing / Bedrukking Section --- */
.printing-section {
  margin-top: var(--space-lg);
}
.printing-section-header {
  display: none;
}

.printing-tabs {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}
.printing-tab {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.printing-tab:hover {
  color: var(--color-text-primary);
}
.printing-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.printing-technique {
  display: none;
}
.printing-technique.active {
  display: block;
}

.printing-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.printing-area-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.printing-area-card:hover {
  border-color: var(--color-glass-border-hover);
}
.printing-area-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.printing-area-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  z-index: 1;
}
.printing-area-spinner .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-accent);
  animation: spin 1s linear infinite;
}
.printing-area-img:not(.loading) .printing-area-spinner {
  display: none;
}
.printing-area-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-sm);
}
.printing-area-info {
  padding: var(--space-md);
}
.printing-area-name {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xs);
}
.printing-area-dims {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.printing-area-colors {
  font-size: var(--text-caption);
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

.printing-price-calc {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-bottom: var(--space-md);
}
.printing-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}
.printing-calc-row.total {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  font-size: var(--text-body);
}
.printing-calc-value {
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}
.printing-calc-row.total .printing-calc-value {
  color: var(--color-accent);
  font-size: 1.125rem;
}

.printing-lead-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.printing-lead-time .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-accent-warm);
}

.printing-tiers-table {
  width: 100%;
  margin-bottom: var(--space-xl);
}
.printing-tiers-table th {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  color: var(--color-text-tertiary);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.printing-tiers-table td {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-body-sm);
  border-bottom: 1px solid var(--color-border);
}
.printing-tiers-table tr:last-child td {
  border-bottom: none;
}

/* --- Logo Upload --- */
.logo-upload-hint {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.logo-dropzone {
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  background: var(--color-surface);
  margin-bottom: var(--space-md);
}
.logo-dropzone:hover,
.logo-dropzone.dragover {
  border-color: var(--color-accent);
  background: rgba(245, 99, 0, 0.04);
}
.logo-dropzone .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-sm);
}
.logo-dropzone.dragover .material-symbols-outlined {
  color: var(--color-accent);
}
.logo-dropzone-title {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xs);
}
.logo-dropzone-subtitle {
  font-size: var(--text-body-sm);
  color: var(--color-text-tertiary);
}
.logo-dropzone-formats {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.logo-format-tag {
  display: inline-block;
  padding: 2px var(--space-sm);
  background: var(--color-surface-hover);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo-format-tag.vector {
  background: rgba(48, 209, 88, 0.12);
  color: var(--color-accent-success);
}
.logo-format-tag.raster {
  background: rgba(255, 159, 10, 0.12);
  color: var(--color-accent-warm);
}

.logo-preview {
  display: none;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}
.logo-preview.visible {
  display: flex;
}
.logo-preview-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}
.logo-preview-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-preview-thumb .material-symbols-outlined {
  font-size: 28px;
  color: var(--color-text-tertiary);
}
.logo-preview-info {
  flex: 1;
  min-width: 0;
}
.logo-preview-name {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-preview-meta {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
}
.logo-preview-remove {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-tertiary);
  background: var(--color-surface);
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}
.logo-preview-remove:hover {
  color: var(--color-accent-danger);
  border-color: var(--color-accent-danger);
}

.logo-upload-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.logo-upload-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.logo-upload-form .form-group.full-width {
  grid-column: 1 / -1;
}
.logo-upload-form .form-group label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}
.logo-upload-form .form-group .required {
  color: var(--color-accent);
}
.logo-upload-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}
.logo-upload-success {
  display: none;
  padding: var(--space-md);
  background: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
}
.logo-upload-success.visible {
  display: block;
}
.logo-upload-success .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-accent-success);
  margin-bottom: var(--space-xs);
}
.logo-upload-success h4 {
  color: var(--color-accent-success);
  margin-bottom: var(--space-xs);
  justify-content: center;
}
.logo-upload-success p {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .printing-areas {
    grid-template-columns: 1fr;
  }
  .logo-upload-form {
    grid-template-columns: 1fr;
  }
  .logo-upload-form .form-group.full-width {
    grid-column: 1;
  }
  .logo-upload-actions {
    grid-column: 1;
    flex-direction: column;
  }
  .logo-preview {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   BESTELWIZARD
   ============================================================ */
.wiz-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-lg);
  position: relative;
}
.wiz-step {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  background: var(--color-surface-secondary);
  border: 1px solid var(--color-border);
  font-size: 11px;
  color: var(--color-text-tertiary);
  transition: all 0.3s ease;
  cursor: default;
}
.wiz-step.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.wiz-step.done {
  background: rgba(245, 99, 0, 0.1);
  color: var(--color-accent);
  border-color: var(--color-accent);
  cursor: pointer;
}
.wiz-step.done:hover {
  background: rgba(245, 99, 0, 0.18);
}
.wiz-step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: 10px;
  flex-shrink: 0;
}
.wiz-step.active .wiz-step-num {
  background: rgba(255,255,255,0.2);
}
.wiz-step.done .wiz-step-num {
  background: var(--color-accent);
  color: #fff;
}
.wiz-step-label {
  font-weight: var(--weight-medium);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

#wizardView {
  min-height: calc(100vh - var(--nav-height) - 120px);
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.wiz-panel {
  min-height: 200px;
  animation: wizFadeIn 0.3s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
@keyframes wizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wiz-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}
.wiz-title .material-symbols-outlined {
  color: var(--color-accent);
  font-size: 24px;
}

.wiz-colors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.wiz-color-btn {
  width: 40px;
  height: 40px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wiz-color-btn:hover {
  transform: scale(1.15);
}
.wiz-color-btn.active {
  box-shadow: 0 0 0 3px var(--color-accent);
  transform: scale(1.15);
}
.wiz-size-grid {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-md);
}
.wiz-size-btn {
  min-width: 56px; padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--color-text-primary);
  font-family: var(--font-display); font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  cursor: pointer; transition: all var(--duration-fast) var(--ease-out);
  text-align: center;
}
.wiz-size-btn:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.10);
}
.wiz-size-btn.active {
  border-color: var(--color-accent);
  background: rgba(245,99,0,0.15);
  color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(245,99,0,0.25);
}
.wiz-color-label {
  margin-top: var(--space-sm);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

.wiz-tiers-table {
  margin-bottom: var(--space-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wiz-tiers-table .pricing-table {
  width: 100%;
  min-width: auto;
}
.wiz-tiers-table .pricing-table th,
.wiz-tiers-table .pricing-table td {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}
.wiz-tiers-table .pricing-table th:first-child,
.wiz-tiers-table .pricing-table td:first-child {
  text-align: left;
}

.wiz-qty-input-group {
  margin-bottom: var(--space-md);
}
.wiz-qty-input-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: 280px;
}
.wiz-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.wiz-qty-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.wiz-qty-field {
  flex: 1;
  height: 44px;
  text-align: center;
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
  appearance: textfield;
}
.wiz-qty-field::-webkit-inner-spin-button,
.wiz-qty-field::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.wiz-qty-field:focus {
  border-color: var(--color-accent);
}
.wiz-qty-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 280px;
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(245, 99, 0, 0.06);
  border-radius: var(--radius-lg);
  font-size: var(--text-body-sm);
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
}
.wiz-qty-result-total {
  color: var(--color-text-primary);
}

.wiz-qty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-sm);
}
.wiz-qty-card {
  text-align: center;
  padding: var(--space-sm) var(--space-xs);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
}
.wiz-qty-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.wiz-qty-card.active {
  border-color: var(--color-accent);
  background: rgba(245, 99, 0, 0.06);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.wiz-qty-amount {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}
.wiz-qty-price {
  font-size: var(--text-body-sm);
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  margin-top: 2px;
}
.wiz-qty-total {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

.wiz-toggle-group {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.wiz-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.wiz-toggle-btn:hover {
  border-color: var(--color-accent);
}
.wiz-toggle-btn.active {
  border-color: var(--color-accent);
  background: rgba(245, 99, 0, 0.06);
  color: var(--color-accent);
}

.wiz-print-options {
  animation: wizFadeIn 0.3s ease;
}
.wiz-sub-label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}
.wiz-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.wiz-tech-card {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  transition: all 0.2s;
}
.wiz-tech-card:hover { border-color: var(--color-accent); }
.wiz-tech-card.active {
  border-color: var(--color-accent);
  background: rgba(245, 99, 0, 0.06);
  color: var(--color-accent);
}
.wiz-tech-card .material-symbols-outlined { font-size: 18px; }

.wiz-area-card {
  cursor: pointer;
  transition: all 0.2s;
}
.wiz-area-card:hover,
.wiz-area-card.active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.wiz-note {
  font-size: var(--text-body-sm);
  color: var(--color-text-tertiary);
  padding: var(--space-md);
  background: var(--color-surface-secondary);
  border-radius: var(--radius-lg);
  margin-top: var(--space-sm);
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}
.wiz-btn-prev,
.wiz-btn-next,
.wiz-btn-order {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-body-sm);
}
.wiz-btn-next.disabled,
.wiz-btn-next[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.wiz-btn-order {
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
}

.wiz-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}
.wiz-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.wiz-summary-row span:first-child {
  flex-shrink: 0;
}
.wiz-summary-row span:last-child {
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  min-width: 0;
  text-align: right;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.wiz-summary-total {
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
}
.wiz-summary-total span:last-child {
  color: var(--color-accent);
  font-size: var(--text-h4);
}
.wiz-summary-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-sm) 0;
}

@media (max-width: 768px) {
  .wiz-steps {
    flex-wrap: wrap;
  }
  .wiz-step {
    padding: 3px 6px;
    font-size: 10px;
  }
  .wiz-step-label {
    display: none;
  }
  .wiz-step-num {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .wiz-qty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wiz-toggle-group {
    flex-direction: column;
  }
  .wiz-nav {
    flex-direction: column;
    gap: var(--space-md);
  }
  .wiz-nav .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   Auth Pages (Login, Register)
   ============================================================ */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 200px);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}

.auth-container {
  width: 100%;
  max-width: 640px;
}

.auth-card {
  padding: var(--space-2xl);
}

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

.auth-icon {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.auth-header h1 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-sm);
}

.auth-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
}

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

.auth-footer {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

/* --- Form Elements --- */

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

.form-group label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.form-group label small {
  font-weight: var(--weight-regular);
  color: var(--color-text-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--color-text-primary);
  font-size: var(--text-body);
  transition: all var(--duration-fast) var(--ease-out);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 99, 0, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23a1a1a6' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-sm) center;
  padding-right: var(--space-2xl);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.form-row .form-group {
  margin-bottom: 0;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.input-wrapper:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 99, 0, 0.1);
}

.input-wrapper .material-symbols-outlined {
  font-size: 20px;
  color: var(--color-text-tertiary);
  padding-left: var(--space-md);
  flex-shrink: 0;
}

.input-wrapper input {
  background: none;
  border: none;
  padding: var(--space-md);
  color: var(--color-text-primary);
  font-size: var(--text-body);
  width: 100%;
  outline: none;
}

.password-toggle {
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

.password-toggle:hover {
  color: var(--color-text-secondary);
}

.form-error {
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--color-accent-danger);
  font-size: var(--text-body-sm);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --- Spin Animation --- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* --- Loading Spinner --- */
.loading-spinner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: center;
  padding: var(--space-2xl);
  color: var(--color-text-secondary);
}


/* ============================================================
   Checkout Page
   ============================================================ */

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

.checkout-form-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.checkout-step {
  padding: var(--space-2xl);
}

.checkout-step h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.checkout-step h3 .material-symbols-outlined {
  color: var(--color-accent);
}

.checkout-step .form-group {
  margin-bottom: 0;
}

.checkout-step > .form-group + .form-group,
.checkout-step > .form-row + .form-group,
.checkout-step > .form-group + .form-row,
.checkout-step > .form-row + .form-row,
.checkout-step form > .form-group + .form-group,
.checkout-step form > .form-row + .form-group,
.checkout-step form > .form-group + .form-row,
.checkout-step form > .form-row + .form-row {
  margin-top: var(--space-lg);
}

.checkout-step form,
.checkout-step > .form-group:first-child,
.checkout-step > .form-row:first-child {
  margin-top: 0;
}

.form-row > .form-group + .form-group {
  margin-top: 0;
}

.checkout-summary {
  padding: var(--space-xl);
}

.sticky-summary {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.checkout-summary h3 {
  margin-bottom: var(--space-xl);
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.checkout-summary-item + .checkout-summary-item {
  border-top: 1px solid var(--color-border);
}

.checkout-summary-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-surface);
  position: relative;
}

.checkout-summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: white;
  font-size: 10px;
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-summary-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-summary-item-name {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-summary-item-variant {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
}

.checkout-summary-item-price {
  font-weight: var(--weight-semibold);
  font-size: var(--text-body-sm);
  white-space: nowrap;
}

.checkout-summary-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-lg) 0;
}

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

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

.checkout-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
}

.checkout-security .material-symbols-outlined {
  font-size: 16px;
  color: var(--color-accent-success);
}

.chk-toggle-row {
  display: flex;
  gap: var(--space-sm);
}

.chk-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chk-toggle-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}

.chk-toggle-btn.active {
  border-color: var(--color-accent);
  background: rgba(245, 99, 0, 0.1);
  color: var(--color-accent);
}

.chk-toggle-btn .material-symbols-outlined {
  font-size: 20px;
}

.chk-checkbox-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--text-body);
  color: var(--color-text-primary);
  user-select: none;
}

.chk-checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   Order Confirmation Page
   ============================================================ */

.confirmation-page {
  display: flex;
  justify-content: center;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  min-height: calc(100vh - 300px);
}

.confirmation-card {
  max-width: 560px;
  width: 100%;
  padding: var(--space-3xl);
  text-align: center;
}

.confirmation-icon {
  margin-bottom: var(--space-xl);
}

.confirmation-icon .material-symbols-outlined {
  font-size: 72px;
  color: var(--color-accent-success);
}

.confirmation-card h1 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-md);
}

.confirmation-subtitle {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.confirmation-details {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.confirmation-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: var(--text-body-sm);
}

.confirmation-detail-row + .confirmation-detail-row {
  border-top: 1px solid var(--color-border);
}

.confirmation-info {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.confirmation-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}


/* ============================================================
   Account Page
   ============================================================ */

.account-page {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}

.account-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
}

.account-tab {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.account-tab:hover {
  color: var(--color-text-primary);
  background: var(--color-surface);
}

.account-tab.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

.account-tab .material-symbols-outlined {
  font-size: 20px;
}

.account-tab-content {
  display: none;
}

.account-tab-content.active {
  display: block;
}

.order-row:hover {
  background: var(--color-surface);
}

/* --- Modal Overlay --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-lg);
}

.modal-panel {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

/* --- Order Detail --- */
.order-detail-meta {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.order-detail-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-detail-label {
  font-size: var(--text-body-sm);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-detail-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.order-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
}

.order-detail-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.order-detail-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  color: var(--color-text-tertiary);
}

.order-detail-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.order-detail-item-info strong {
  font-size: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-detail-item-meta {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
}

.order-detail-item-total {
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.order-detail-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.order-detail-addresses h4 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-body);
}

.order-detail-addresses p {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .order-detail-addresses {
    grid-template-columns: 1fr;
  }
  .order-detail-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }
}


/* ============================================================
   Responsive: New pages
   ============================================================ */

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .sticky-summary {
    position: static;
  }

  .auth-card {
    padding: var(--space-xl);
  }

  .confirmation-card {
    padding: var(--space-xl);
  }

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

  .account-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .account-tabs::-webkit-scrollbar {
    display: none;
  }

  .account-tab {
    white-space: nowrap;
    padding: var(--space-sm) var(--space-md);
  }
}
