/* ============================================
   SVK Works — Master Stylesheet (combined)
   All partials inlined — no @import waterfall.
   ============================================ */
/* ============================================
   SVK Works — Design Tokens
   ============================================ */

:root {
  /* Primary Palette */
  --magenta: #e91e8c;
  --magenta-dark: #c4176f;
  --magenta-light: #f54daa;
  --magenta-glow: rgba(233, 30, 140, 0.35);
  --magenta-subtle: rgba(233, 30, 140, 0.08);

  /* Backgrounds */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --bg-elevated: #1e1e2a;
  --bg-overlay: rgba(10, 10, 15, 0.85);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b5;
  --text-muted: #6b6b80;
  --text-inverse: #0a0a0f;

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-magenta: rgba(233, 30, 140, 0.3);

  /* Status */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

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

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-magenta: 0 4px 20px rgba(233, 30, 140, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 70px;
  --header-top-height: 36px;
}
/* ============================================
   SVK Works — Base / Reset Styles
   ============================================ */

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

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

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

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

a {
  color: var(--magenta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--magenta-light); }

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button { cursor: pointer; }

/* Keyboard focus: visible ring for tab navigation, hidden for mouse/touch */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Form elements have their own box-shadow focus style — suppress the outline there */
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible,
.search-input:focus-visible {
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--magenta);
  color: #fff;
}

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

.container-narrow {
  max-width: var(--container-narrow);
}

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

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

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: var(--shadow-magenta);
}

.btn-primary:hover {
  background: var(--magenta-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(233, 30, 140, 0.35);
}

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

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

.btn-ghost {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}

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

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  background: var(--magenta-subtle);
  color: var(--magenta);
  border: 1px solid var(--border-magenta);
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.3);
}

/* Form elements */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-glow);
}

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

/* Utility classes */
.text-center { text-align: center; }
.text-magenta { color: var(--magenta); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.grid { display: grid; }

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

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--magenta); }

/* Page content offset for fixed header */
main {
  min-height: calc(100vh - 200px);
}

/* Page hero banners */
.page-hero {
  padding: var(--space-4xl) 0 var(--space-3xl);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  margin-top: calc(var(--header-height) + var(--header-top-height));
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.page-hero .breadcrumb a {
  color: var(--text-muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--magenta);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

/* Skip to main content — accessibility */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: var(--magenta);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-to-content:focus {
  top: var(--space-md);
}
/* ============================================
   SVK Works — Header Styles
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000;
}

/* Top bar */
.header-top {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--header-top-height);
  display: flex;
  align-items: center;
}

.header-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #fff;
}

.header-top-links {
  display: flex;
  gap: var(--space-lg);
}

.header-top-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-xs);
  transition: color var(--transition-fast);
}

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

/* Main nav */
.header-main {
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--magenta);
  font-weight: var(--weight-bold);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #fff;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--magenta);
  background: var(--magenta-subtle);
}

.nav-link.active {
  color: var(--magenta);
}

/* Dropdown indicator — small CSS triangle, no SVG needed */
.has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: var(--space-sm) 0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.dropdown li a:hover {
  color: var(--magenta);
  background: var(--magenta-subtle);
  padding-left: 1.5rem;
}

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

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

.nav-action-btn:hover {
  color: var(--magenta);
  background: var(--magenta-subtle);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: #fff;
  background: var(--magenta);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Search overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.search-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  font-size: var(--text-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-glow);
}

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

.search-submit,
.search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.search-submit:hover,
.search-close:hover {
  color: var(--magenta);
  background: var(--magenta-subtle);
}

/* Header scroll state */
.site-header.scrolled .header-top {
  display: none;
}

.site-header.scrolled .header-main {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
/* ============================================
   SVK Works — Footer Styles
   ============================================ */

/* Carbon fiber pattern background */
.site-footer {
  background-color: #0d0d0d;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 4px,
      rgba(255, 255, 255, 0.015) 4px,
      rgba(255, 255, 255, 0.015) 5px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 4px,
      rgba(255, 255, 255, 0.015) 4px,
      rgba(255, 255, 255, 0.015) 5px
    );
  background-size: 6px 6px, 6px 6px, 8px 8px, 8px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-4xl) 0 var(--space-3xl);
  margin: 0;
}

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

.footer-about p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-top: var(--space-lg);
  line-height: var(--leading-normal);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo .logo-img {
  height: 32px;
  width: auto;
}

.footer-logo .logo-text {
  font-size: var(--text-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Colorful social link backgrounds */
.social-link--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.social-link--facebook {
  background: #1877f2;
  color: #fff;
}

.social-link--youtube {
  background: #ff0000;
  color: #fff;
}

.social-link--instagram:hover {
  background: linear-gradient(45deg, #f5a623, #e87040, #e03050, #d42e70, #c42095);
}

.social-link--facebook:hover {
  background: #2884f5;
}

.social-link--youtube:hover {
  background: #ff2020;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

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

/* Bottom bar — plain black background */
.footer-bottom-bar {
  background: #000;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 24px;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}

.footer-tagline {
  position: absolute;
  right: var(--space-xl);
  font-size: var(--text-xs);
  color: #fff;
  font-style: italic;
}

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

  .footer-bottom-bar .container {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-tagline {
    position: static;
    text-align: center;
  }
}
/* ============================================
   SVK Works — Component Styles
   ============================================ */

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(var(--header-height) + var(--header-top-height));
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-tight);
}

.hero-content h1 .accent {
  color: var(--magenta);
}

.hero-content p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-color);
}

.hero-stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--magenta);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---- Product Cards ---- */
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--border-magenta);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--magenta-glow);
}

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

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

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

.product-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: rgba(20, 20, 30, 0.85);
  color: var(--magenta-light);
  border-color: var(--magenta);
  backdrop-filter: blur(6px);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card-title a:hover {
  color: var(--magenta);
}

.product-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--magenta);
}

.product-card-price .original {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: var(--space-sm);
  font-weight: var(--weight-normal);
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--magenta);
  color: #fff;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.add-to-cart-btn:hover {
  background: var(--magenta-light);
  transform: scale(1.08);
}

/* ---- Product Grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* ---- Category Cards ---- */
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  text-decoration: none;
}

.category-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.category-card:hover {
  border-color: var(--magenta);
  transform: translateY(-4px);
  box-shadow: var(--shadow-magenta);
}

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

.category-card h3 {
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.category-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.category-card .card-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.category-card:hover .card-link {
  gap: var(--space-sm);
}

/* ---- Feature Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-magenta);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta-subtle);
  color: var(--magenta);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ---- Testimonials ---- */
.testimonial-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.testimonial-stars {
  color: var(--magenta);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-style: italic;
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--magenta-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
}

.testimonial-name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
}

.testimonial-vehicle {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---- Newsletter / CTA ---- */
.cta-section {
  padding: var(--space-4xl) 0;
}

.cta-box {
  padding: var(--space-3xl);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-magenta);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta), transparent);
}

.cta-box h2 {
  margin-bottom: var(--space-md);
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

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

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

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  overflow: hidden;
}

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

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.blog-card-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.blog-card-title a {
  color: var(--text-primary);
}

.blog-card-title a:hover {
  color: var(--magenta);
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Build Gallery Cards ---- */
.build-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-base);
}

.build-card:hover {
  border-color: var(--magenta);
  transform: translateY(-3px);
  box-shadow: var(--shadow-magenta);
}

.build-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.build-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.build-card:hover .build-card-overlay {
  opacity: 1;
}

.build-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.build-card-specs {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---- Specs Table ---- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.specs-table th,
.specs-table td {
  padding: 0.6rem 0.75rem;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.specs-table th {
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  width: 140px;
}

.specs-table td {
  color: var(--text-primary);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* ---- Resource / Diagram Cards ---- */
.resource-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.resource-card:hover {
  border-color: var(--border-magenta);
  background: var(--bg-card-hover);
}

.resource-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta-subtle);
  color: var(--magenta);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.resource-info h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.resource-download {
  flex-shrink: 0;
}

.resource-download-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.resource-card:hover .resource-download-icon {
  color: var(--magenta);
}

/* ---- Resource Grid (resources page) ---- */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.resource-grid-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), background var(--transition-base),
              transform var(--transition-fast), box-shadow var(--transition-base);
}

.resource-grid-card:hover {
  border-color: var(--border-magenta);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.resource-grid-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.resource-grid-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--magenta-subtle);
  border: 1px solid var(--border-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
  flex-shrink: 0;
}

.resource-grid-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-sm);
}

.resource-grid-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  flex: 1;
}

.resource-grid-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.resource-grid-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-grid-download {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--magenta);
  white-space: nowrap;
  transition: gap var(--transition-fast);
}

.resource-grid-card:hover .resource-grid-download {
  gap: var(--space-xs);
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.pagination a:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.pagination .active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

/* ---- Filter Bar ---- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: var(--magenta-subtle);
}

.filter-tab.active {
  color: var(--magenta);
  background: var(--magenta-subtle);
  border-color: var(--border-magenta);
}

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

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

.filter-sort select {
  padding: 0.4rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

/* ---- Notification Toast ---- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-magenta);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-magenta);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
}

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

.toast-icon {
  color: var(--magenta);
}

/* ---- FAQ / Accordion ---- */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--magenta);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--text-muted);
}

.empty-state h3 {
  margin-bottom: var(--space-sm);
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* ---- Tags ---- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tag:hover,
.tag.active {
  color: var(--magenta);
  border-color: var(--magenta);
  background: var(--magenta-subtle);
}

/* ---- Product Feature List ---- */
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.product-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-snug);
}

.product-features li svg {
  flex-shrink: 0;
}

/* ---- Gallery Nav Buttons ---- */
.product-gallery-main {
  position: relative;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.gallery-nav:hover {
  background: var(--magenta);
  border-color: var(--magenta);
}

.gallery-prev { left: var(--space-md); }
.gallery-next { right: var(--space-md); }

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

.calculator-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: 0.6rem var(--space-md);
  border-radius: 0;
  border: none;
  border-left: 3px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.calc-group.selected {
  background: var(--magenta-subtle);
  border-left-color: var(--magenta);
}

.calc-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--magenta);
}

.calc-hint {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-normal);
  margin-top: 2px;
}

.calc-select {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.calc-select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-glow);
}

.calc-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.calculator-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--header-top-height) + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.calc-total-card {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-magenta);
  border-radius: var(--radius-lg);
  text-align: center;
}

.calc-total-card h3 {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-md);
}

.calc-total-price {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--magenta);
  line-height: 1;
}

.calc-contact-card {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.calc-contact-card h4 {
  margin-bottom: var(--space-sm);
}

/* ---- Calculator Responsive ---- */
@media (max-width: 1024px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .calculator-summary {
    position: static;
  }
}

/* ======================================
   Calculator Option Image Thumbnails
   ====================================== */

/* Strip of thumbnails shown below each calc-group select */
.option-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-bottom: 2px;
}

/* Individual thumbnail wrapper */
.option-thumb {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.option-thumb img {
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: block;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

/* Label below each thumbnail */
.option-thumb-label {
  display: block;
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 3px;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* Active/selected thumbnail */
.option-thumb.active img {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px var(--magenta);
}

.option-thumb.active .option-thumb-label {
  color: var(--magenta);
}

/* Hover state */
.option-thumb:hover img {
  border-color: rgba(204, 20, 132, 0.6);
  opacity: 0.9;
}

/* ---- Floating image popup (4x preview on hover/click) ---- */
.option-img-popup {
  position: fixed;
  width: 256px;
  height: 256px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.85), 0 0 0 2px var(--magenta);
  background: var(--bg-card);
}

.option-img-popup.visible {
  opacity: 1;
  transform: scale(1);
}

.option-img-popup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.option-img-popup-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-primary);
}

/* Pinned popup (stays visible after click) */
.option-img-popup.pinned {
  pointer-events: auto;
  cursor: default;
}

.option-img-popup-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  display: none;
}

.option-img-popup.pinned .option-img-popup-close {
  display: block;
}

@media (max-width: 768px) {
  .option-thumbs {
    gap: 5px;
  }

  .option-thumb {
    flex: 0 0 54px;
    width: 54px;
  }

  .option-thumb img {
    width: 54px;
    height: 54px;
    max-width: 54px;
    max-height: 54px;
  }

  .option-thumb-label {
    max-width: 54px;
  }

  .option-img-popup {
    width: 200px;
    height: 200px;
  }
}

/* ======================================
   Account Button (header)
   ====================================== */

.account-btn {
  position: relative;
}

.account-btn.logged-in svg {
  stroke: var(--magenta);
}

/* ======================================
   Auth Pages (login.html)
   ====================================== */

.auth-wrap {
  display: flex;
  justify-content: center;
  padding: var(--space-2xl) 0;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

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

.auth-tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: var(--space-xl);
}

.auth-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.auth-error {
  padding: 0.6rem var(--space-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #fca5a5;
  font-size: var(--text-sm);
}

.auth-success {
  padding: 0.6rem var(--space-md);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  color: #86efac;
  font-size: var(--text-sm);
}

.auth-link {
  color: var(--magenta);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-notice {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  color: #fcd34d;
  font-size: var(--text-sm);
}

.auth-notice a {
  color: inherit;
  text-decoration: underline;
}

/* ======================================
   Account Page (account.html)
   ====================================== */

.account-hero {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--magenta-subtle);
  border: 2px solid var(--border-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
  flex-shrink: 0;
  font-weight: var(--weight-bold);
}

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

.account-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.account-section-header h2 {
  margin: 0;
  font-size: var(--text-2xl);
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.account-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
}

.account-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.account-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.account-links a:hover {
  color: var(--magenta);
}

.account-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-muted);
  text-align: center;
}

.account-empty-icon {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Order cards */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-fast);
}

.order-card:hover {
  border-color: var(--border-hover);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.order-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.order-product {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  font-size: var(--text-base);
}

.order-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

.order-total {
  font-weight: var(--weight-bold);
  color: var(--magenta);
  font-size: var(--text-lg);
}

.order-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pending  { background: rgba(245,158,11,0.12); color: #fcd34d; }
.status-progress { background: rgba(59,130,246,0.12); color: #93c5fd; }
.status-complete { background: rgba(34,197,94,0.12);  color: #86efac; }
.status-shipped  { background: rgba(233,30,140,0.12); color: var(--magenta-light); }
.status-cancelled { background: rgba(239,68,68,0.12); color: #fca5a5; }

.order-options-details {
  margin-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
}

.order-options-details summary {
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.order-options-details summary:hover {
  color: var(--text-secondary);
}

.order-options-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-options-list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.opt-key {
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

.order-notes {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-sm);
}

.order-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 2px;
}

.order-id {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: monospace;
  background: var(--bg-secondary);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

/* ======================================
   Account Hero Section
   ====================================== */

.account-hero-section {
  background: var(--bg-secondary);
  padding-bottom: var(--space-xl);
}

/* ======================================
   Account Stats Row
   ====================================== */

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.account-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.account-stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: 1;
}

.account-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-xs);
}

/* ======================================
   Account Info Card
   ====================================== */

.account-info-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.account-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.account-info-key {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--weight-medium);
}

.account-info-val {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  word-break: break-all;
}

.account-info-mono {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
}

/* ======================================
   Order Status Pipeline
   ====================================== */

.order-pipeline {
  display: flex;
  align-items: flex-start;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.pipeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
}

/* Connecting line from center of this step to center of next */
.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.pipeline-step.done:not(:last-child)::after {
  background: var(--magenta);
}

.pipeline-step.active:not(:last-child)::after {
  background: var(--border-color);
}

.pipeline-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pipeline-step.done .pipeline-dot {
  background: var(--magenta);
  border-color: var(--magenta);
}

.pipeline-step.active .pipeline-dot {
  background: var(--bg-card);
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-subtle);
}

.pipeline-label {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.pipeline-step.done .pipeline-label,
.pipeline-step.active .pipeline-label {
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}

.order-pipeline-cancelled {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  font-size: var(--text-xs);
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--weight-semibold);
}

/* Quick links with chevrons */
.account-links a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.account-links svg {
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.account-links a:hover svg {
  opacity: 0.8;
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    order: -1;
  }

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

@media (max-width: 600px) {
  .account-hero {
    flex-wrap: wrap;
  }

  .account-hero button {
    width: 100%;
    justify-content: center;
  }

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

  .account-stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-align: left;
    padding: var(--space-md) var(--space-lg);
  }

  .account-stat-value {
    font-size: var(--text-xl);
  }

  .order-card-header {
    flex-direction: column;
  }

  .order-card-right {
    align-items: flex-start;
    flex-direction: row;
    gap: var(--space-md);
  }

  .pipeline-label {
    display: none;
  }

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

  .quote-calculator {
    padding: var(--space-lg);
  }
}

/* ======================================
   Wishlist Button (on product cards)
   ====================================== */

.wishlist-btn {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast),
              background var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
  flex-shrink: 0;
}

.wishlist-btn:hover {
  color: var(--magenta);
  border-color: var(--magenta);
  background: rgba(10, 10, 15, 0.88);
  transform: scale(1.1);
}

.wishlist-btn.active {
  color: var(--magenta);
  border-color: var(--magenta);
  background: var(--magenta-subtle);
}

/* ======================================
   Quote Calculator
   ====================================== */

.quote-calculator {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.qc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

.qc-checkbox input {
  accent-color: var(--magenta);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.quote-result {
  background: var(--bg-secondary);
  border: 1px solid var(--border-magenta);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.quote-result-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.quote-result-price {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--magenta);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.quote-result-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================
   Build Submission Form
   ====================================== */

.build-submit-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

/* ======================================
   Admin Order Cards
   ====================================== */

.admin-order-card {
  transition: border-color var(--transition-fast);
}

.admin-order-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.admin-order-customer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
}

.admin-customer-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--magenta-subtle);
  border: 1px solid var(--border-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--magenta);
  flex-shrink: 0;
}

.admin-customer-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.admin-customer-email {
  font-size: var(--text-xs);
  color: var(--text-muted);
  word-break: break-all;
}

.admin-order-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.admin-order-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .admin-order-top {
    flex-direction: column;
  }

  .admin-order-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-order-actions > div {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-status-select {
    width: 100%;
  }

  .admin-save-btn {
    width: 100%;
  }
}
/* ============================================
   SVK Works — Cart Styles
   ============================================ */

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

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

/* Cart items */
.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);
  align-items: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

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

.cart-item-image {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  overflow: hidden;
}

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

.cart-item-details h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

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

.cart-item-price {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--magenta);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.quantity-btn:hover {
  background: var(--magenta-subtle);
  color: var(--magenta);
}

.quantity-value {
  width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  background: var(--bg-card);
}

.cart-item-remove {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* Cart summary */
.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--header-top-height) + var(--space-lg));
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.cart-summary h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

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

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

.cart-summary-row.total .amount {
  color: var(--magenta);
  font-size: var(--text-xl);
}

.cart-summary .label {
  color: var(--text-secondary);
}

.cart-summary .amount {
  font-weight: var(--weight-semibold);
}

.cart-summary .btn {
  width: 100%;
  margin-top: var(--space-lg);
}

.cart-note {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}

/* Promo code */
.promo-form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.promo-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

/* Product detail page */
.product-detail {
  padding: var(--space-3xl) 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--header-top-height) + var(--space-lg));
}

.product-gallery-main {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

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

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.product-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--magenta);
}

.product-info .section-label {
  text-align: left;
}

.product-info h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

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

.product-price-current {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--magenta);
}

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

.product-description {
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-xl);
}

.product-options {
  margin-bottom: var(--space-xl);
}

.product-option-group {
  margin-bottom: var(--space-lg);
}

.product-option-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.option-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.option-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.option-btn:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.option-btn.selected {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.product-add-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

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

.product-specs {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-color);
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

/* Responsive cart */
@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cart-summary {
    position: static;
  }

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

  .product-gallery {
    position: static;
  }
}
/* ============================================
   SVK Works — Animations
   ============================================ */

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

/* Pulse glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px var(--magenta-glow); }
  50% { box-shadow: 0 0 30px var(--magenta-glow), 0 0 60px rgba(233, 30, 140, 0.15); }
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shimmer loading placeholder */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 0px, var(--bg-card-hover) 40px, var(--bg-card) 80px);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float {
  animation: float 4s ease-in-out infinite;
}

/* Line reveal */
@keyframes lineReveal {
  from { width: 0; }
  to { width: 100%; }
}

.line-reveal::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--magenta);
  width: 0;
  transition: width 0.6s ease;
}

.line-reveal.visible::after {
  width: 60px;
}

/* Spin for loading */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-top-color: var(--magenta);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

  .fade-in, .fade-in-left, .fade-in-right {
    opacity: 1;
    transform: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}
/* ============================================
   SVK Works — Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --space-4xl: 4rem;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

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

  .hero { min-height: 70vh; }

  .hero-stats {
    gap: var(--space-2xl);
  }
}

/* Mobile nav breakpoint */
@media (max-width: 768px) {
  :root {
    --space-4xl: 2.5rem;
    --space-3xl: 2rem;
    --space-2xl: 1.75rem;
    --space-xl: 1.5rem;
    --header-top-height: 0px; /* top bar hidden on mobile */
  }

  .container {
    padding: 0 var(--space-md);
  }

  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }
  h3 { font-size: var(--text-lg); }
  p  { font-size: var(--text-sm); }

  /* Hide header top bar on mobile — saves 36px of screen space */
  .header-top {
    display: none;
  }

  /* Adjust page/hero top margin since top bar is hidden */
  .page-hero {
    margin-top: var(--header-height);
  }

  .hero {
    margin-top: var(--header-height);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-primary);
    padding: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    gap: 0;
  }

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

  .nav-link {
    padding: 0.875rem var(--space-md);
    font-size: var(--text-base);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Chevron indicator for dropdowns */
  .has-dropdown > .nav-link .nav-chevron {
    transition: transform var(--transition-base);
    flex-shrink: 0;
    opacity: 0.6;
  }

  .has-dropdown.open > .nav-link .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .has-dropdown.open .dropdown {
    max-height: 400px;
  }

  /* Larger touch targets for dropdown links */
  .dropdown li a {
    padding: 0.75rem var(--space-md);
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
    /* Remove fixed attachment — causes flickering on iOS */
    background-attachment: scroll !important;
  }

  /* Also fix any section with fixed background */
  section[style*="fixed"] {
    background-attachment: scroll !important;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
  }

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

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

  /* Product grid mobile */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
  }

  /* Filter bar mobile */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-tabs {
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
  }

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

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

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

  /* Blog cards */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }

  /* Toast */
  .toast {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }

  /* Page hero */
  .page-hero {
    padding: var(--space-2xl) 0;
  }

  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Section headings — tighter line-height on mobile */
  .section-header {
    margin-bottom: var(--space-xl);
  }

  .section-header .section-label {
    font-size: var(--text-xs);
    margin-bottom: var(--space-sm);
  }

  /* Category cards — shorter image, less padding */
  .category-card-image {
    height: 150px;
  }

  .category-card-content {
    padding: var(--space-md);
  }

  .category-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
  }

  /* Feature cards — less padding */
  .feature-card {
    padding: var(--space-lg);
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-md);
  }

  /* CTA box — less padding */
  .cta-box {
    padding: var(--space-xl);
  }

  /* Testimonial cards — less padding */
  .testimonial-card {
    padding: var(--space-lg);
  }

  .testimonial-text {
    font-size: var(--text-sm);
  }

  /* Product card body — less padding */
  .product-card-body {
    padding: var(--space-md);
  }

  /* Blog card body — less padding */
  .blog-card-body {
    padding: var(--space-md);
  }

  .blog-card-title {
    font-size: var(--text-base);
  }

  /* Hero content — tighter */
  .hero-content p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
  }

  .hero-stat-value {
    font-size: var(--text-xl);
  }

  .hero-stat-label {
    font-size: var(--text-xs);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 { font-size: var(--text-xl); }

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

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

  /* Stack hero stats in a tighter 2-col grid on very small screens */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  /* Reduce category card image further */
  .category-card-image {
    height: 120px;
  }
}
