/* ==========================================================================
   DODOCRAFT DESIGN SYSTEM
   Complete unified stylesheet for the Dodocraft WordPress theme.
   Extracted and deduplicated from homepage, boutique, product & modeles mockups.
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* --- Colors --- */
  --bg: #FAFAF7;
  --bg-alt: #F2F0EB;
  --surface: #FFFFFF;
  --ink: #1A1714;
  --ink-muted: #6B635A;
  --ink-light: #9A918A;
  --coral: #FF6B4A;
  --coral-deep: #E8523A;
  --coral-glow: rgba(255, 107, 74, 0.25);
  --electric: #3B5CFF;
  --electric-glow: rgba(59, 92, 255, 0.2);
  --charcoal: #2D2A32;
  --border: #E8E2D9;
  --border-dark: #D4CCC0;
  --success: #43B02A;

  /* --- Typography --- */
  --font-display: 'Silkscreen', cursive;
  --font-body: 'DM Sans', sans-serif;

  /* --- Border Radius --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(26, 23, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 23, 20, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 23, 20, 0.12);
  --shadow-glow: 0 0 40px var(--coral-glow);

  /* --- Easing --- */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);

  /* --- Layout --- */
  --nav-h: 68px;
  --nav-offset: 68px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* WordPress screen-reader-text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  clip: auto !important;
  clip-path: none;
  color: var(--ink);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 1rem 1.5rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

/* Display headings — Silkscreen */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
h4 { font-size: 0.9rem; }
h5 { font-size: 0.8rem; }
h6 { font-size: 0.7rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 700;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* WordPress alignment classes */
.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(3, 10px);
  gap: 2px;
  transform: rotate(-3deg);
}

.logo-grid span {
  border-radius: 2px;
  animation: pixelPop 0.5s var(--ease-spring) both;
}

.logo-grid span:nth-child(1) { background: #F9423A; animation-delay: 0.05s; }
.logo-grid span:nth-child(2) { background: #FCE300; animation-delay: 0.1s; }
.logo-grid span:nth-child(3) { background: #43B02A; animation-delay: 0.15s; }
.logo-grid span:nth-child(4) { background: #EF6A00; animation-delay: 0.2s; }
.logo-grid span:nth-child(5) { background: #FF6B4A; animation-delay: 0.25s; }
.logo-grid span:nth-child(6) { background: #0047BB; animation-delay: 0.3s; }
.logo-grid span:nth-child(7) { background: #9063CD; animation-delay: 0.35s; }
.logo-grid span:nth-child(8) { background: #E31C79; animation-delay: 0.4s; }
.logo-grid span:nth-child(9) { background: #05C3DD; animation-delay: 0.45s; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav .nav-links > li {
  list-style: none;
  position: relative;
}

.nav .nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color 0.25s;
  position: relative;
}

.nav .nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s var(--ease-smooth);
}

.nav .nav-links > li > a:hover { color: var(--ink); }
.nav .nav-links > li > a:hover::after { width: 100%; }
.nav .nav-links > li > a.active { color: var(--coral); }
.nav .nav-links > li > a.active::after { width: 100%; }

/* Chevron on parent items */
.nav .nav-links > li.menu-item-has-children > a {
  padding-right: 1rem;
}

.nav .nav-links > li.menu-item-has-children > a::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.25s;
}

/* Dropdown sub-menu */
.nav .nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-smooth);
  z-index: 1000;
  list-style: none;
}

/* Arrow pointer on dropdown */
.nav .nav-links .sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}

/* Invisible bridge to prevent mouseout gap */
.nav .nav-links > li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

/* Show dropdown on hover */
.nav .nav-links > li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}

.nav .nav-links > li.menu-item-has-children:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

.nav .nav-links .sub-menu li {
  list-style: none;
}

.nav .nav-links .sub-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav .nav-links .sub-menu a::after { display: none; }

.nav .nav-links .sub-menu a:hover {
  color: var(--coral);
  background: var(--bg-alt);
  padding-left: 1.5rem;
}

/* 3rd-level flyout sub-menu */
.nav .nav-links .sub-menu .menu-item-has-children {
  position: relative;
}

.nav .nav-links .sub-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 4px solid currentColor;
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform 0.25s;
}

.nav .nav-links .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  transform: none;
  margin-top: 0;
  margin-left: 4px;
  min-width: 200px;
  max-height: 70vh;
  overflow-y: auto;
}

.nav .nav-links .sub-menu .sub-menu::before {
  display: none;
}

.nav .nav-links .sub-menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  margin-left: 4px;
}

/* Invisible bridge for flyout (horizontal) */
.nav .nav-links .sub-menu .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.25s;
}

.cart-btn:hover { background: var(--bg-alt); }
.cart-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-size: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-switch {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--ink-muted);
  padding: 0.3rem 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}

.lang-switch:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* WPML language switcher */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  padding: 0.35rem 0.55rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  transition: all 0.25s;
}

.lang-current:hover {
  border-color: var(--ink-light);
  color: var(--ink);
}

.lang-arrow {
  transition: transform 0.25s;
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s;
  z-index: 100;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  transition: all 0.2s;
}

.lang-option:hover {
  background: var(--bg-alt);
  color: var(--coral);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Color signature strip under nav */
.nav-color-strip {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 3px;
  display: flex;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s;
}

.nav.scrolled + .nav-color-strip,
.nav-color-strip.visible { opacity: 1; }

.nav-color-strip span { flex: 1; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 247, 0.98);
  backdrop-filter: blur(16px);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-links li {
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-links li:last-child { border-bottom: none; }

.mobile-menu-links > li > a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s;
}

.mobile-menu-links > li > a:hover { color: var(--coral); }

/* Parent items with toggle arrow */
.mobile-menu-links > li.menu-item-has-children {
  position: relative;
}

.mobile-menu-links > li.menu-item-has-children > a {
  padding-right: 2.5rem;
}

/* Toggle button for mobile submenu */
.mobile-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 46px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  transition: color 0.25s;
}

.mobile-submenu-toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s var(--ease-smooth);
}

.mobile-submenu-toggle.open::after {
  transform: rotate(180deg);
}

.mobile-submenu-toggle:hover { color: var(--coral); }

/* Sub-menu accordion */
.mobile-menu-links .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.mobile-menu-links .sub-menu.open {
  max-height: 2000px;
  margin-bottom: 0.5rem;
}

.mobile-menu-links .sub-menu li {
  border-bottom: none;
}

.mobile-menu-links .sub-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s;
}

.mobile-menu-links .sub-menu a:hover {
  color: var(--coral);
  padding-left: 1.5rem;
}

/* 3rd-level mobile accordion */
.mobile-menu-links .sub-menu .menu-item-has-children {
  position: relative;
}

.mobile-menu-links .sub-menu .sub-menu {
  background: var(--surface);
  border-radius: 0;
  margin-left: 0.75rem;
  border-left: 2px solid var(--border);
}

.mobile-menu-links .sub-menu .sub-menu a {
  padding-left: 1.75rem;
  font-size: 0.8rem;
}

/* Legacy: direct anchor fallback for mobile-menu */
.mobile-menu a {
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s;
}

.mobile-menu a:hover { color: var(--coral); }

/* ==========================================================================
   6. HERO (Homepage)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-offset);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 23, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 23, 20, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Floating decorative pixels — used across hero, shop-hero, page-hero */
.hero-pixel,
.shop-hero-pixel,
.banner-pixel,
.cta-banner-pixel {
  position: absolute;
  border-radius: 3px;
  opacity: 0.12;
  animation: floatPixel 8s ease-in-out infinite;
  pointer-events: none;
}

.shop-hero-pixel { opacity: 0.08; }
.banner-pixel { border-radius: 4px; opacity: 0.15; }
.cta-banner-pixel { opacity: 0.08; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { padding: 2rem 0; }

.hero-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--coral);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: slideUp 0.7s var(--ease-smooth) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.35s; }
.hero-title .line:nth-child(3) { animation-delay: 0.5s; }

.hero-title .accent {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 0.8s 0.65s var(--ease-smooth) forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 0.8s 0.8s var(--ease-smooth) forwards;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  opacity: 0;
  animation: fadeIn 0.8s 0.95s var(--ease-smooth) forwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.trust-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

.trust-icon .pixel-icon {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 1px;
}

.trust-icon .pixel-icon span {
  border-radius: 1px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s 0.4s var(--ease-smooth) forwards;
}

.hero-board {
  width: 380px;
  height: 460px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-board-inner {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(32, 1fr);
  gap: 1px;
  padding: 10px;
  width: 100%;
  height: 100%;
}

.hero-board-inner span {
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
  transition: transform 0.15s var(--ease-spring);
  animation: pixelPop 0.4s var(--ease-spring) both;
}

.hero-board-inner span:hover {
  transform: scale(1.1);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.15);
}

/* Floating pixel grid overlay */
.hero-float-grid {
  position: absolute;
  top: -20px;
  right: -40px;
  width: 200px;
  padding: 16px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-float-grid .mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.hero-float-grid .mini-grid span {
  aspect-ratio: 1;
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}

.hero-float-grid .grid-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.06em;
}

/* Second floating element */
.hero-float-colors {
  position: absolute;
  bottom: 30px;
  left: -30px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  animation: floatCard 7s ease-in-out infinite;
  animation-delay: -2s;
}

.hero-float-colors .color-row {
  display: flex;
  gap: 4px;
}

.hero-float-colors .color-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

.hero-float-colors .colors-label {
  font-family: var(--font-display);
  font-size: 0.5rem;
  color: var(--ink-light);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */
.btn-primary {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: white;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: all 0.3s;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover::after {
  opacity: 1;
  right: 14px;
}

.btn-secondary {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--coral);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--coral-glow);
}

.btn-coral {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2.25rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-coral:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--coral-glow);
}

.btn-coral .arrow {
  transition: transform 0.3s;
}

.btn-coral:hover .arrow {
  transform: translateX(4px);
}

.btn-white {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  background: white;
  color: var(--coral);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.btn-outline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  border-color: white;
  transform: translateY(-3px);
}

/* ==========================================================================
   8. SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.section-underline {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 0.75rem;
}

.section-underline span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-top: 1rem;
}

/* ==========================================================================
   9. PRODUCT CARDS
   ========================================================================== */
.products-section {
  padding: 6rem 0;
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

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

.products-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  border: 1px solid transparent;
}

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

.product-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-smooth);
}

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

/* Pixel corner accents on product cards */
.product-card-image::before,
.product-card-image::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-card-image::before,
.product-card:hover .product-card-image::after { opacity: 1; }

.product-card-image::before {
  top: 12px;
  left: 12px;
  border-top: 3px solid var(--coral);
  border-left: 3px solid var(--coral);
}

.product-card-image::after {
  bottom: 12px;
  right: 12px;
  border-bottom: 3px solid var(--coral);
  border-right: 3px solid var(--coral);
}

/* Badge */
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  color: white;
  z-index: 3;
}

.badge-new { background: var(--coral); }
.badge-best { background: var(--electric); }
.badge-promo { background: var(--success); }
.badge-exclu { background: #9063CD; }

/* Quick-add overlay (boutique page) */
.quick-add-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(26,23,20,0.7), transparent);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease-smooth);
}

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

.quick-add-btn {
  flex: 1;
  padding: 0.65rem;
  background: white;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.2s;
}

.quick-add-btn:hover {
  background: var(--coral);
  color: white;
}

.quick-view-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.quick-view-btn:hover { background: white; }

.quick-view-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
}

/* Card body */
.product-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-card-cat {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 0.3rem;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-card-sales {
  font-family: var(--font-display);
  font-size: 0.5rem;
  color: var(--ink-light);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.product-card-sales strong {
  color: var(--ink-muted);
  font-weight: 700;
}

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

.product-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.product-card-price .currency { font-size: 0.7rem; }

.product-card-price-old {
  font-size: 0.8rem;
  color: var(--ink-light);
  text-decoration: line-through;
  margin-left: 0.4rem;
  font-weight: 400;
}

/* Star ratings */
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card-rating .mini-stars {
  display: flex;
  gap: 2px;
}

.product-card-rating .mini-star {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}

.product-card-rating .rating-num {
  font-family: var(--font-display);
  font-size: 0.55rem;
  color: var(--ink-muted);
}

/* Simple add button (homepage cards) */
.product-add-btn {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  background: var(--charcoal);
  color: white;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-spring);
}

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

.product-add-btn:hover {
  background: var(--coral);
}

/* ==========================================================================
   10. PALETTE
   ========================================================================== */
.palette-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--surface);
}

.palette-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.palette-strip {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.palette-strip span,
.palette-swatch {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.18);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  display: inline-block;
}

.palette-strip span:hover,
.palette-swatch:hover {
  transform: scale(1.25) translateY(-6px);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.15);
  z-index: 2;
}

.palette-strip span[data-color="blanc"],
.palette-swatch[data-color="blanc"] {
  border: 2px solid var(--border);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.06);
}

/* Tooltip on hover */
.palette-swatch::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  font-family: var(--font-display);
  font-size: 0.5rem;
  color: var(--ink);
  background: var(--surface);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease-spring);
}

.palette-swatch:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ==========================================================================
   11. GENERATOR CTA
   ========================================================================== */
.generator-section {
  padding: 6rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.generator-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.generator-visual {
  position: relative;
}

.generator-mockup {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mockup-logo {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 2px;
}

.mockup-logo span { border-radius: 2px; }

.mockup-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.mockup-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mockup-tab {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  color: var(--ink-muted);
  transition: all 0.25s;
}

.mockup-tab.active {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255, 107, 74, 0.06);
}

.mockup-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.mockup-upload-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.mockup-upload-text {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.mockup-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mockup-format {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.mockup-format.active {
  border-color: var(--coral);
  background: rgba(255, 107, 74, 0.04);
}

.mockup-format-size {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.mockup-format-label {
  font-size: 0.65rem;
  color: var(--ink-muted);
}

.mockup-btn {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--charcoal), #1a1820);
  color: white;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  text-align: center;
}

/* Generator text content */
.generator-content { padding: 1rem 0; }

.generator-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.generator-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--coral);
}

.generator-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.generator-desc {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.generator-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1px;
  padding: 4px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.step-number span {
  border-radius: 1px;
}

.step-text h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ==========================================================================
   12. HOW IT WORKS / PILLARS
   ========================================================================== */
.how-section {
  padding: 6rem 0;
  background: var(--surface);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting dashed line */
.how-grid::before {
  content: '';
  position: absolute;
  top: 65px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0, var(--border) 6px,
    transparent 6px, transparent 12px
  );
  z-index: 1;
}

.how-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 2;
}

.how-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.how-icon .pixel-art {
  display: grid;
  gap: 2px;
}

.how-icon .pixel-art span {
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}

.how-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-size: 0.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px var(--coral-glow);
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.how-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.5); }

.testimonials-section .section-underline span {
  box-shadow: inset 0 -2px 0 rgba(255,255,255,0.2);
}

.testimonials-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 2rem 2rem;
  margin: 0 -2rem;
  scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar { display: none; }

.testimonial-card {
  min-width: 340px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  scroll-snap-align: start;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial-star {
  width: 14px;
  height: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
}

.testimonial-star span {
  border-radius: 1px;
}

.testimonial-star .filled { background: #FCE300; }
.testimonial-star .empty { background: rgba(255,255,255,0.1); }

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
}

.testimonial-avatar span {
  border-radius: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.testimonial-role {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.testimonial-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ==========================================================================
   14. GALLERY
   ========================================================================== */
.gallery-section {
  padding: 6rem 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 180px);
  gap: 1rem;
}

.gallery-item {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-smooth);
  image-rendering: pixelated;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after { opacity: 1; }

.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.gallery-cta a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s;
}

.gallery-cta a:hover { color: var(--coral); }

/* ==========================================================================
   14b. FAQ
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: var(--bg);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: color 0.2s;
}

.faq-item[open] .faq-question-text {
  color: var(--coral);
}

.faq-question:hover .faq-question-text {
  color: var(--coral);
}

/* Pixel plus/minus toggle */
.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  border-radius: 4px;
  background: var(--bg-alt);
  transition: background 0.2s, transform 0.3s var(--ease-spring);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--ink-muted);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-spring), background 0.2s;
}

/* Horizontal bar */
.faq-toggle::before {
  width: 10px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Vertical bar (becomes horizontal when open) */
.faq-toggle::after {
  width: 2px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-toggle {
  background: var(--coral);
  transform: rotate(45deg);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: white;
}

/* Answer panel */
.faq-answer {
  padding: 0 0 1.5rem;
  animation: faqSlideDown 0.3s var(--ease-smooth);
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin: 0 0 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.faq-answer a:hover {
  color: var(--coral-deep);
}

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

/* ==========================================================================
   15. NEWSLETTER
   ========================================================================== */
.newsletter-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.newsletter-text p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  min-width: 280px;
  backdrop-filter: blur(4px);
  transition: all 0.25s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }

.newsletter-input:focus {
  outline: none;
  border-color: white;
  background: rgba(255,255,255,0.25);
}

.newsletter-submit {
  padding: 0.85rem 1.5rem;
  background: white;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
}

.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ==========================================================================
   16. SHIPPING BANNER
   ========================================================================== */
.shipping-banner {
  padding: 2rem 0;
  background: var(--charcoal);
  color: white;
  text-align: center;
}

.shipping-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.shipping-inner .pixel-truck {
  display: grid;
  grid-template-columns: repeat(5, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 1px;
}

.shipping-inner .pixel-truck span { border-radius: 1px; }

.shipping-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   17. BENEFITS SECTION
   ========================================================================== */
.benefits-section {
  padding: 5rem 0;
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.benefit-icon .pixel-art {
  display: grid;
  gap: 2px;
}

.benefit-icon .pixel-art span {
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.footer,
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.footer-palette {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  max-width: 220px;
}

.footer-palette span {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--coral); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  transition: all 0.25s;
}

.footer-social a:hover {
  border-color: var(--coral);
  background: rgba(255, 107, 74, 0.1);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom .made-with {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-bottom .pixel-heart {
  display: inline-grid;
  grid-template-columns: repeat(5, 3px);
  grid-template-rows: repeat(4, 3px);
  gap: 1px;
}

.footer-bottom .pixel-heart span { border-radius: 0; }
.footer-bottom .pixel-heart .h { background: var(--coral); }
.footer-bottom .pixel-heart .e { background: transparent; }

.footer-creator {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
}

.footer-creator a {
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
}

.footer-creator a:hover {
  color: var(--coral);
}

.footer-color-bar {
  height: 3px;
  display: flex;
}

.footer-color-bar span { flex: 1; }

/* ==========================================================================
   19. SHOP PAGE
   ========================================================================== */

/* Shop hero */
.shop-hero {
  padding: calc(var(--nav-offset) + 4rem) 0 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 23, 20, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 23, 20, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.shop-hero-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.shop-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.shop-hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* Category pills / filter pills */
.category-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-pill {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--ink-muted);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
}

.category-pill:hover {
  border-color: var(--ink-light);
  color: var(--ink);
  transform: translateY(-2px);
}

.category-pill.active {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255, 107, 74, 0.06);
}

.category-pill .pill-count {
  background: var(--bg-alt);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.3rem;
  font-size: 0.5rem;
}

.category-pill.active .pill-count {
  background: rgba(255, 107, 74, 0.12);
}

/* Shop toolbar */
.shop-toolbar {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.toolbar-left {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.toolbar-left strong {
  color: var(--ink);
  font-weight: 600;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sort dropdown */
.woocommerce-ordering {
  display: inline-block;
}

.sort-select,
.woocommerce-ordering select {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B635A' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.2s;
}

.sort-select:hover,
.woocommerce-ordering select:hover { border-color: var(--ink-light); }
.sort-select:focus,
.woocommerce-ordering select:focus { outline: none; border-color: var(--coral); }

/* Grid / list view toggle */
.view-toggle {
  display: flex;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.view-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.view-btn:hover { background: var(--bg-alt); }

.view-btn.active {
  background: var(--charcoal);
}

.view-btn .view-icon {
  display: grid;
  gap: 2px;
}

.view-btn .view-icon span {
  background: var(--ink-muted);
  border-radius: 1px;
}

.view-btn.active .view-icon span {
  background: white;
}

.shop-section {
  padding-bottom: 4rem;
}

/* Generator banner (used on boutique + product pages) */
.generator-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  position: relative;
  overflow: hidden;
}

.generator-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.generator-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.generator-banner p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ==========================================================================
   20. SINGLE PRODUCT PAGE
   ========================================================================== */

/* Breadcrumb */
.breadcrumb-bar {
  padding-top: var(--nav-offset);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.breadcrumb-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,23,20,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,23,20,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.breadcrumb-bar .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.breadcrumb a {
  transition: color 0.2s;
}

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

.breadcrumb-sep {
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 1px;
  display: inline-block;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* Product hero (breadcrumb with grid bg) */
.product-hero {
  padding: calc(var(--nav-offset) + 1rem) 0 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,23,20,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,23,20,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.product-hero .breadcrumb {
  position: relative;
  z-index: 2;
}

/* Product layout */
.product-section {
  padding: 3rem 0 4rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

/* Pixel corner brackets on gallery */
.gallery-main::before,
.gallery-main::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 24px;
}

.gallery-main::before {
  top: 16px;
  left: 16px;
  border-top: 4px solid var(--coral);
  border-left: 4px solid var(--coral);
}

.gallery-main::after {
  bottom: 16px;
  right: 16px;
  border-bottom: 4px solid var(--coral);
  border-right: 4px solid var(--coral);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

/* Product info */
.product-info {
  padding-top: 0.5rem;
}

.product-category {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-category::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--coral);
}

.product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.product-sku {
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

.product-sku strong {
  font-weight: 600;
  color: var(--ink-muted);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
}

.product-price .currency {
  font-size: 1.1rem;
}

.product-price-badge {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  background: var(--success);
  color: white;
  border-radius: var(--radius-sm);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-desc ul {
  margin-top: 0.5rem;
  list-style: none;
  padding: 0;
}

.product-desc ul li {
  padding: 0.2rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.product-desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

/* Pixel divider */
.pixel-divider {
  display: flex;
  gap: 3px;
  margin: 1.5rem 0;
}

.pixel-divider span {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
}

/* Bulk pricing table — mockup classes */
.bulk-pricing {
  margin-bottom: 1.75rem;
}

.bulk-pricing .variant-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.bulk-pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
}

.bulk-pricing-table thead th {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background: var(--bg-alt);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.bulk-pricing-table thead th:last-child {
  text-align: right;
}

.bulk-pricing-table tbody td {
  font-size: 0.85rem;
  color: var(--ink);
  padding: 0.6rem 0.85rem;
  border-top: 1px solid var(--border);
}

.bulk-pricing-table tbody td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}

.bulk-pricing-table tbody tr:first-child td {
  border-top: none;
}

.bulk-pricing-table tbody tr.active-tier {
  background: rgba(255, 107, 74, 0.04);
}

.bulk-pricing-table tbody tr.active-tier td:first-child {
  position: relative;
}

.bulk-pricing-table tbody tr.active-tier td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--coral);
}

.bulk-discount-badge {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  background: var(--success);
  color: white;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}

/* WDP Plugin bulk table → mapped to mockup design */
.bulk_table {
  margin-bottom: 1.75rem;
}

.wdp_pricing_table_caption {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.wdp_pricing_table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  font-size: inherit;
  table-layout: auto;
}

.wdp_pricing_table thead {
  background: var(--bg-alt);
}

.wdp_pricing_table thead td {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background: var(--bg-alt);
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: none;
}

.wdp_pricing_table thead td:last-child {
  text-align: right;
}

.wdp_pricing_table tbody td {
  font-size: 0.85rem;
  color: var(--ink);
  padding: 0.6rem 0.85rem;
  border: none;
  border-top: 1px solid var(--border);
  text-align: left;
}

.wdp_pricing_table tbody td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}

.wdp_pricing_table tbody tr:first-child td {
  border-top: none;
}

.wdp_pricing_table tbody tr.active-tier td {
  background: rgba(255, 107, 74, 0.04);
}

.wdp_pricing_table tbody tr.active-tier td:first-child {
  position: relative;
}

.wdp_pricing_table tbody tr.active-tier td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--coral);
}

.wdp_pricing_table .clickable_bulk:hover > * {
  background-color: rgba(255, 107, 74, 0.04) !important;
  color: var(--ink) !important;
}

.wdp_pricing_table del {
  color: var(--ink-light);
  font-weight: 400;
}

.wdp_pricing_table_footer {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* WooCommerce form.cart — layout */
form.cart {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

form.cart .quantity-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

form.cart .quantity-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* WooCommerce quantity wrapper → quantity-control style */
form.cart .quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: auto;
  float: none;
  margin: 0;
}

/* Hide native number input spinners */
form.cart .quantity input[type="number"]::-webkit-inner-spin-button,
form.cart .quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

form.cart .quantity input[type="number"] {
  -moz-appearance: textfield;
  width: 56px;
  height: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  padding: 0;
  margin: 0;
  line-height: 44px;
}

/* Custom +/- buttons added via hooks */
form.cart .quantity .qty-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all 0.2s;
  background: var(--bg);
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-family: var(--font-body);
}

form.cart .quantity .qty-btn:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

/* Stock info next to quantity */
.stock-info {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stock-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Unit price indicator */
.unit-price-indicator {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.unit-price-indicator strong {
  color: var(--coral);
  font-weight: 600;
}

/* Quantity section (mockup classes) */
.quantity-section {
  margin-bottom: 1.5rem;
}

.variant-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

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

.quantity-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all 0.2s;
  background: var(--bg);
}

.quantity-btn:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.quantity-value {
  width: 56px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
}

/* WooCommerce add-to-cart button → mockup style */
form.cart .single_add_to_cart_button,
.add-to-cart-btn {
  width: 100%;
  padding: 1.15rem 2rem;
  background: linear-gradient(135deg, var(--charcoal), #1a1820);
  color: white;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

form.cart .single_add_to_cart_button::before,
.add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s;
}

form.cart .single_add_to_cart_button:hover,
.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

form.cart .single_add_to_cart_button:hover::before,
.add-to-cart-btn:hover::before {
  left: 100%;
}

form.cart .single_add_to_cart_button .btn-icon,
.add-to-cart-btn .btn-icon {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 1px;
}

form.cart .single_add_to_cart_button .btn-icon span,
.add-to-cart-btn .btn-icon span {
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
}

form.cart .single_add_to_cart_button .btn-icon span:nth-child(5),
.add-to-cart-btn .btn-icon span:nth-child(5) {
  background: var(--coral);
}

/* WooCommerce stock display override */
.product-info .stock,
.product-info .in-stock,
.product-info .out-of-stock {
  display: none; /* We show stock info inline with quantity row instead */
}

/* Secondary actions */
.secondary-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.action-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s;
}

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

.action-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}

.trust-badge {
  text-align: center;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon .pixel-icon {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 1px;
}

.trust-badge-icon .pixel-icon span { border-radius: 1px; }

.trust-badge-text {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* Product tabs */
.product-tabs-section {
  padding: 4rem 0;
  background: var(--surface);
}

.tabs-nav {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
}

.tab-btn {
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  position: relative;
  transition: all 0.25s;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}

.tab-btn:hover { color: var(--ink); }

.tab-btn.active {
  color: var(--coral);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-count {
  font-size: 0.55rem;
  background: var(--bg-alt);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-left: 0.4rem;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s var(--ease-smooth);
}

.tab-panel.active { display: block; }

/* Description tab content */
.tab-description {
  max-width: 740px;
}

.tab-description h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.tab-description h3:first-child { margin-top: 0; }

.tab-description p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tab-description .includes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}

.includes-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--ink);
}

.includes-check {
  width: 18px;
  height: 18px;
  background: var(--success);
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.includes-check::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

/* Benefits list (product tab) */
.benefits-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--coral);
}

.benefit-item .benefit-icon {
  width: 24px;
  height: 24px;
  background: var(--coral);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15);
}

.benefit-item .benefit-icon .pixel-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 2px;
}

.benefit-item p {
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* Specs tab */
.specs-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 1rem 0;
  font-size: 0.9rem;
  vertical-align: top;
}

.specs-table td:first-child {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  width: 200px;
}

.specs-table td:last-child {
  color: var(--ink);
}

/* Reviews tab empty state */
.reviews-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.reviews-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.reviews-empty-icon .pixel-speech {
  display: grid;
  grid-template-columns: repeat(5, 5px);
  grid-template-rows: repeat(4, 5px);
  gap: 1px;
}

.reviews-empty-icon .pixel-speech span {
  border-radius: 1px;
}

.reviews-empty h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.reviews-empty p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.reviews-empty .btn-review {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
}

.reviews-empty .btn-review:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Description tab — WC content styling */
.tab-description h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.tab-description h2:first-child { margin-top: 0; }

/* WC Additional Information tab → specs table styling */
.tab-panel .shop_attributes {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.tab-panel .shop_attributes tr {
  border-bottom: 1px solid var(--border);
}

.tab-panel .shop_attributes th,
.tab-panel .shop_attributes td {
  padding: 1rem 0;
  font-size: 0.9rem;
  vertical-align: top;
  border: none;
  background: none;
}

.tab-panel .shop_attributes th {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  width: 200px;
  text-transform: uppercase;
  text-align: left;
}

.tab-panel .shop_attributes td {
  color: var(--ink);
}

.tab-panel .shop_attributes td p {
  margin: 0;
}

/* WC Reviews tab — styled to match mockup */
.woocommerce-Reviews {
  /* Remove WC defaults */
}

.woocommerce-Reviews > h2,
.woocommerce-Reviews .woocommerce-Reviews-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

/* Reviews list */
.woocommerce-Reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-Reviews .commentlist .review {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.woocommerce-Reviews .commentlist .review:last-child {
  border-bottom: none;
}

.woocommerce-Reviews .comment_container {
  display: flex;
  gap: 1rem;
}

.woocommerce-Reviews .comment_container > img.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  object-fit: cover;
}

.woocommerce-Reviews .comment-text {
  flex: 1;
  min-width: 0;
}

/* Star rating — pixel art squares */
.woocommerce-Reviews .star-rating,
.product-tabs-section .star-rating {
  display: inline-flex;
  gap: 3px;
  font-size: 0;
  overflow: hidden;
  position: relative;
  height: 14px;
  width: auto;
  margin-bottom: 0.5rem;
}

.woocommerce-Reviews .star-rating::before,
.product-tabs-section .star-rating::before {
  content: '';
  display: flex;
  gap: 3px;
  background:
    linear-gradient(var(--border), var(--border)) 0 0 / 12px 12px no-repeat,
    linear-gradient(var(--border), var(--border)) 15px 0 / 12px 12px no-repeat,
    linear-gradient(var(--border), var(--border)) 30px 0 / 12px 12px no-repeat,
    linear-gradient(var(--border), var(--border)) 45px 0 / 12px 12px no-repeat,
    linear-gradient(var(--border), var(--border)) 60px 0 / 12px 12px no-repeat;
  width: 72px;
  height: 12px;
  border-radius: 0;
  float: none;
  position: absolute;
  top: 1px;
  left: 0;
}

.woocommerce-Reviews .star-rating span,
.product-tabs-section .star-rating span {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 0;
}

.woocommerce-Reviews .star-rating span::before,
.product-tabs-section .star-rating span::before {
  content: '';
  display: block;
  background:
    linear-gradient(#FCE300, #FCE300) 0 0 / 12px 12px no-repeat,
    linear-gradient(#FCE300, #FCE300) 15px 0 / 12px 12px no-repeat,
    linear-gradient(#FCE300, #FCE300) 30px 0 / 12px 12px no-repeat,
    linear-gradient(#FCE300, #FCE300) 45px 0 / 12px 12px no-repeat,
    linear-gradient(#FCE300, #FCE300) 60px 0 / 12px 12px no-repeat;
  width: 72px;
  height: 12px;
  position: absolute;
  top: 1px;
  left: 0;
  float: none;
}

/* Review meta */
.woocommerce-Reviews .woocommerce-review__author {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.woocommerce-Reviews .woocommerce-review__dash {
  display: none;
}

.woocommerce-Reviews .woocommerce-review__published-date {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-top: 0.15rem;
}

.woocommerce-Reviews .woocommerce-review__verified {
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 500;
}

/* Review description text */
.woocommerce-Reviews .description p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0.5rem 0 0;
}

/* Review form */
#review_form_wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

#review_form .comment-reply-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  display: block;
}

#review_form label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.35rem;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--bg);
  transition: border-color 0.2s;
}

#review_form input[type="text"]:focus,
#review_form input[type="email"]:focus,
#review_form textarea:focus {
  outline: none;
  border-color: var(--coral);
}

#review_form textarea {
  min-height: 120px;
  resize: vertical;
}

#review_form .form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
}

#review_form .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--coral-deep);
}

/* Review stars selector (rating input) */
#review_form .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

#review_form .stars a {
  display: block;
  width: 20px;
  height: 20px;
  background: var(--border);
  border-radius: 4px;
  text-indent: -9999px;
  overflow: hidden;
  transition: background 0.15s;
}

#review_form .stars a:hover,
#review_form .stars a.active {
  background: #FCE300;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12);
}

/* WC "no reviews yet" message */
.woocommerce-noreviews {
  text-align: center;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Desc palette swatches */
.desc-palette {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.desc-palette-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15);
}

/* Related products */
.related-section {
  padding: 5rem 0;
  background: var(--bg);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.related-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  border: 1px solid transparent;
}

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

.related-card-image {
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.related-card-image::before,
.related-card-image::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.related-card:hover .related-card-image::before,
.related-card:hover .related-card-image::after { opacity: 1; }

.related-card-image::before {
  top: 10px;
  left: 10px;
  border-top: 3px solid var(--coral);
  border-left: 3px solid var(--coral);
}

.related-card-image::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 3px solid var(--coral);
  border-right: 3px solid var(--coral);
}

.related-card-image img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.related-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: white;
  z-index: 3;
}

.related-card-badge.best { background: var(--coral); }
.related-card-badge.new { background: var(--electric); }

.related-card-body {
  padding: 1.15rem;
}

.related-card-name {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.related-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.related-card-price .currency { font-size: 0.7rem; }

/* ==========================================================================
   21. MODELS ARCHIVE PAGE
   ========================================================================== */

/* Page hero (shared by models + other inner pages) */
.page-hero {
  padding: calc(var(--nav-offset) + 4rem) 0 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero--compact {
  padding: var(--nav-offset) 0 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,23,20,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,23,20,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.page-hero-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
}

.hero-stat { text-align: center; }

.hero-stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--coral);
}

.hero-stat-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* Downloads bar */
.downloads-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.download-btn {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.25rem;
  background: var(--charcoal);
  color: white;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Filters section (models page) */
.filters-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  transition: box-shadow 0.3s;
}

.filters-section.stuck { box-shadow: var(--shadow-sm); }

.filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-right: 0.25rem;
}

.filter-pill {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--ink-muted);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
}

.filter-pill:hover {
  border-color: var(--ink-light);
  color: var(--ink);
  transform: translateY(-1px);
}

.filter-pill.active {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255,107,74,0.06);
}

.filter-pill .count {
  background: var(--bg-alt);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  margin-left: 0.25rem;
  font-size: 0.5rem;
}

.filter-pill.active .count {
  background: rgba(255,107,74,0.12);
}

/* Search box */
.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  transition: border-color 0.25s;
  background: var(--surface);
}

.search-box:focus-within { border-color: var(--coral); }

.search-box svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  width: 160px;
  color: var(--ink);
}

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

/* Theme pills */
.theme-pills-wrapper {
  padding: 1rem 0 0;
}

.theme-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.theme-pill {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--ink-light);
  transition: all 0.25s;
  cursor: pointer;
}

.theme-pill:hover {
  border-color: var(--ink-muted);
  color: var(--ink-muted);
}

.theme-pill.active {
  border-color: var(--electric);
  color: var(--electric);
  background: rgba(59,92,255,0.05);
}

/* Models grid */
.models-section { padding: 2.5rem 0 4rem; }

.models-count {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.models-count strong {
  color: var(--ink);
  font-weight: 600;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Model card */
.model-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  border: 1px solid transparent;
  position: relative;
}

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

.model-card-image {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

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

/* Pixel corners on model cards */
.model-card-image::before,
.model-card-image::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.model-card:hover .model-card-image::before,
.model-card:hover .model-card-image::after { opacity: 1; }

.model-card-image::before {
  top: 10px;
  left: 10px;
  border-top: 3px solid var(--coral);
  border-left: 3px solid var(--coral);
}

.model-card-image::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 3px solid var(--coral);
  border-right: 3px solid var(--coral);
}

/* Format badge */
.model-format-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

/* Format-specific badge colors */
.model-format-badge.model-format-2000-pixels {
  background: var(--coral);
  color: white;
}

.model-format-badge.model-format-10x10 {
  background: var(--ink);
  color: white;
}

/* Download overlay on hover */
.model-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.65), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s;
}

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

.model-overlay-btn {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.1rem;
  background: white;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.model-overlay-btn:hover {
  background: var(--coral);
  color: white;
}

.model-overlay-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Model card body */
.model-card-body { padding: 1rem 1.15rem 1.25rem; }

.model-card-theme {
  font-family: var(--font-display);
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  color: var(--electric);
  margin-bottom: 0.25rem;
}

.model-card-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.model-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.model-meta-item {
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.model-meta-item .color-dots {
  display: flex;
  gap: 2px;
}

.model-meta-item .color-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
}

/* No results state */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.no-results h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.no-results p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* CTA banner (models page) */
.cta-banner {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--charcoal), #1a1820);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-banner-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   22. SINGLE MODEL (Detail page layout)
   ========================================================================== */
.model-detail-section {
  padding: 3rem 0 4rem;
}

.model-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.model-detail-preview {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
}

.model-detail-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

.model-detail-info {
  padding-top: 0.5rem;
}

.model-detail-theme {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--electric);
  margin-bottom: 0.5rem;
}

.model-detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.model-detail-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.model-detail-colors-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  margin-bottom: 1.5rem;
}

.color-legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.color-legend-dot {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

.color-legend-name {
  flex: 1;
  color: var(--ink);
  font-weight: 500;
}

.color-legend-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  min-width: 2ch;
  text-align: right;
}

.model-detail-download {
  margin-top: 2rem;
}

/* ==========================================================================
   23. UTILITY PAGES (page.php, 404, search, archive)
   ========================================================================== */

/* Generic page content */
.page-content {
  padding: calc(var(--nav-offset) + 4rem) 0 4rem;
}

.page-content--has-hero {
  padding: 3rem 0 4rem;
}

.page-hero--compact + .page-content--has-hero {
  padding-top: 2rem;
}

.page-content .container {
  max-width: 840px;
}

.page-hero--compact + .page-content .container {
  max-width: 1240px;
}

.page-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page-content a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.page-content a:hover {
  color: var(--coral-deep);
}

.page-content ul,
.page-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--ink-muted);
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.page-content blockquote {
  border-left: 4px solid var(--coral);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--ink-muted);
}

.page-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.page-content table th,
.page-content table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.page-content table th {
  background: var(--bg-alt);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 404 Page */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-offset) + 4rem) 2rem 4rem;
}

.error-404-inner {
  max-width: 500px;
}

.error-404-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

/* Search results */
.search-results {
  padding: calc(var(--nav-offset) + 4rem) 0 4rem;
}

.search-results-header {
  margin-bottom: 2rem;
}

.search-results-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
}

.search-results-header .search-query {
  color: var(--coral);
}

.search-result-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.search-result-item h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.search-result-item h2 a {
  color: var(--ink);
  transition: color 0.2s;
}

.search-result-item h2 a:hover {
  color: var(--coral);
}

.search-result-item .excerpt {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Archive / Blog */
.archive-header {
  padding: calc(var(--nav-offset) + 3rem) 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.archive-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.archive-header .archive-description {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Archive grid & cards */
.archive-posts {
  padding: 3rem 0 4rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.archive-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.archive-card-thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.archive-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.archive-card-date {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.archive-card-title {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.archive-card-title a {
  color: var(--ink);
  transition: color 0.2s;
}

.archive-card-title a:hover {
  color: var(--coral);
}

.archive-card-excerpt {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.archive-card-excerpt p {
  margin: 0;
}

/* Single post */
.single-post {
  padding: calc(var(--nav-offset) + 3rem) 0 4rem;
}

.single-post .container {
  max-width: 840px;
}

.post-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.post-featured-image {
  margin: -2.5rem -2.5rem 2rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-meta-sep {
  color: var(--ink-light);
}

.post-content .entry-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.post-content .entry-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.post-content .entry-content p { color: var(--ink-muted); line-height: 1.7; }
.post-content .entry-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.post-content .entry-content a:hover { color: var(--coral-deep); }
.post-content .entry-content ul,
.post-content .entry-content ol { margin: 1rem 0; padding-left: 1.5rem; color: var(--ink-muted); }
.post-content .entry-content ul { list-style: disc; }
.post-content .entry-content ol { list-style: decimal; }
.post-content .entry-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.post-content .entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.post-content .entry-content blockquote {
  border-left: 4px solid var(--coral);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--ink-muted);
}

/* Post navigation */
.post-nav {
  margin-top: 2rem;
}

.post-nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, transform 0.25s var(--ease-spring);
}

.post-nav-link:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.post-nav-next {
  text-align: right;
}

.post-nav-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}

.post-nav-title {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}

/* Pixel-art 404 digits */
.pixel-404 {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 24px);
  margin-bottom: 2rem;
}

.pixel-digit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: clamp(3px, 0.6vw, 5px);
  width: clamp(48px, 12vw, 84px);
  height: clamp(80px, 20vw, 140px);
}

.pixel-digit span {
  border-radius: clamp(2px, 0.3vw, 3px);
  animation: pixelPop 0.5s var(--ease-spring) both;
}

.pixel-digit span:nth-child(1)  { animation-delay: 0.05s; }
.pixel-digit span:nth-child(2)  { animation-delay: 0.08s; }
.pixel-digit span:nth-child(3)  { animation-delay: 0.11s; }
.pixel-digit span:nth-child(4)  { animation-delay: 0.14s; }
.pixel-digit span:nth-child(5)  { animation-delay: 0.17s; }
.pixel-digit span:nth-child(6)  { animation-delay: 0.20s; }
.pixel-digit span:nth-child(7)  { animation-delay: 0.23s; }
.pixel-digit span:nth-child(8)  { animation-delay: 0.26s; }
.pixel-digit span:nth-child(9)  { animation-delay: 0.29s; }
.pixel-digit span:nth-child(10) { animation-delay: 0.32s; }
.pixel-digit span:nth-child(11) { animation-delay: 0.35s; }
.pixel-digit span:nth-child(12) { animation-delay: 0.38s; }
.pixel-digit span:nth-child(13) { animation-delay: 0.41s; }
.pixel-digit span:nth-child(14) { animation-delay: 0.44s; }
.pixel-digit span:nth-child(15) { animation-delay: 0.47s; }

.pixel-digit span.empty {
  background: transparent;
  animation: none;
}

.error-404-search {
  margin-top: 2.5rem;
}

/* Search form */
.search-form-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  transition: border-color 0.25s;
  max-width: 400px;
  margin: 0 auto;
}

.search-form-inner:focus-within {
  border-color: var(--coral);
}

.search-form-inner > svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink-light);
  flex-shrink: 0;
}

.search-field {
  border: none;
  outline: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
  color: var(--ink);
}

.search-field::placeholder {
  color: var(--ink-light);
}

.search-submit {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-spring);
  flex-shrink: 0;
  padding: 0;
}

.search-submit:hover {
  background: var(--coral);
  transform: scale(1.05);
}

.search-submit svg {
  width: 16px;
  height: 16px;
  stroke: white;
}

/* Search result product items */
.search-result-product {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.search-result-thumb {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-body {
  flex: 1;
  min-width: 0;
}

.search-result-body .price {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

/* No-results search section */
.no-results-search {
  margin-top: 1.5rem;
}

/* ==========================================================================
   24. ANIMATIONS
   ========================================================================== */
@keyframes pixelPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatPixel {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

@keyframes pixelWave {
  0% { transform: scale(1); }
  50% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

@keyframes floatCard {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

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

/* ==========================================================================
   25. RESPONSIVE
   ========================================================================== */

/* --- 1200px breakpoint --- */
@media (max-width: 1200px) {
  .products-grid,
  .products-grid.grid-4 { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .models-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-board { width: 320px; height: 400px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 768px breakpoint --- */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner { padding: 0 1rem; }
  .nav .nav-links { display: none; }
  .nav-actions { gap: 0.75rem; }
  .brand-name { font-size: 1rem; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-board { width: 280px; height: 340px; }
  .hero-float-grid { display: none; }
  .hero-float-colors { display: none; }

  /* Generator */
  .generator-inner { grid-template-columns: 1fr; }
  .generator-visual { order: 2; }
  .generator-content { order: 1; text-align: center; }
  .generator-desc { margin: 0 auto 2rem; }

  /* Products */
  .products-grid,
  .products-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* How it works */
  .how-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .how-grid::before { display: none; }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 160px);
  }
  .gallery-item:nth-child(1) { grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }

  /* Testimonials */
  .testimonial-card { min-width: 290px; max-width: 290px; }

  /* Newsletter */
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; }
  .newsletter-input { min-width: 0; flex: 1; }

  /* Shipping */
  .shipping-inner { flex-direction: column; gap: 0.5rem; }

  /* Shop */
  .shop-toolbar { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .toolbar-right { justify-content: space-between; }
  .category-pills { gap: 0.4rem; }
  .category-pill { font-size: 0.55rem; padding: 0.5rem 0.85rem; }

  /* Product page */
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-gallery { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-description .includes-list { grid-template-columns: 1fr; }
  .tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { white-space: nowrap; padding: 0.75rem 1.25rem; }
  .bulk-pricing-table { font-size: 0.85rem; }
  .generator-banner-inner { flex-direction: column; text-align: center; }

  /* Models */
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-inner { flex-direction: column; align-items: stretch; }
  .filter-group { flex-wrap: wrap; }
  .hero-stats { gap: 1.5rem; }
  .downloads-bar { flex-direction: column; align-items: center; }
  .cta-banner-btns { flex-direction: column; align-items: center; }

  /* Model detail */
  .model-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .model-detail-preview { position: static; }

  /* Archive / Blog */
  .archive-grid { grid-template-columns: 1fr 1fr; }

  /* Single post */
  .post-content { padding: 1.5rem; }
  .post-featured-image { margin: -1.5rem -1.5rem 1.5rem; }
  .post-nav-inner { grid-template-columns: 1fr; gap: 1rem; }
  .post-nav-next { text-align: left; }

  /* Search results product */
  .search-result-product { flex-direction: column; gap: 1rem; }
  .search-result-thumb { width: 80px; height: 80px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* --- 600px breakpoint --- */
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }

  /* Hero */
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.75rem; }

  /* Products */
  .products-grid,
  .products-grid.grid-4 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Palette */
  .palette-swatch { width: 36px; height: 36px; }
  .palette-strip { gap: 4px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid .gallery-item { height: 180px; }

  /* Shop */
  .shop-hero { padding: 3rem 0 2rem; }
  .shop-hero-title { font-size: 1.8rem; }
  .view-toggle { display: none; }

  /* Product page */
  .product-section { padding: 1.5rem 0 3rem; }
  .product-layout { gap: 1.5rem; }
  .trust-badges { grid-template-columns: 1fr; gap: 0.5rem; }
  .secondary-actions { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

  /* Models */
  .models-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .search-box input { width: 120px; }

  /* Archive / Blog */
  .archive-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* Single post */
  .post-content { padding: 1.25rem; }
  .post-featured-image { margin: -1.25rem -1.25rem 1.25rem; }
  .post-meta { flex-direction: column; gap: 0.25rem; }
  .post-meta-sep { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ==========================================================================
   26. WORDPRESS / WOOCOMMERCE OVERRIDES
   ========================================================================== */

/* --- WordPress Core --- */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption img {
  border-radius: var(--radius-md);
}

.wp-caption-text {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Gutenberg blocks */
.wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-image img {
  border-radius: var(--radius-md);
}

.wp-block-image figcaption {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.wp-block-quote {
  border-left: 4px solid var(--coral);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.wp-block-quote p {
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.wp-block-quote cite {
  font-size: 0.8rem;
  color: var(--ink-light);
  font-style: normal;
}

.wp-block-separator {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2rem 0;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
}

.wp-block-table th {
  background: var(--bg-alt);
  font-weight: 600;
}

.wp-block-button__link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: white;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  display: inline-block;
}

.wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.wp-block-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.wp-block-gallery {
  margin: 1.5rem 0;
}

.wp-block-gallery .wp-block-image img {
  border-radius: var(--radius-sm);
}

.has-text-align-center {
  text-align: center;
}

.has-text-align-right {
  text-align: right;
}

/* --- WooCommerce Notices --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.woocommerce-message {
  background: rgba(67, 176, 42, 0.08);
  border: 2px solid var(--success);
  color: var(--ink);
}

.woocommerce-message::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

.woocommerce-info {
  background: rgba(59, 92, 255, 0.06);
  border: 2px solid var(--electric);
  color: var(--ink);
}

.woocommerce-info::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--electric);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

.woocommerce-error {
  background: rgba(255, 107, 74, 0.06);
  border: 2px solid var(--coral);
  color: var(--ink);
  list-style: none;
  padding-left: 1.5rem;
}

.woocommerce-error li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.woocommerce-error li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}

/* WooCommerce button links inside notices */
.woocommerce-message a.button,
.woocommerce-info a.button {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  background: var(--charcoal);
  color: white;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: all 0.2s;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
  background: var(--coral);
}

/* --- Pagination (WooCommerce + WordPress) --- */
.woocommerce-pagination,
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.woocommerce-pagination ul,
.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.pagination .nav-links a,
.pagination .nav-links span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
}

.woocommerce-pagination ul li a:hover,
.pagination .nav-links a:hover {
  border-color: var(--ink-light);
  color: var(--ink);
  transform: translateY(-2px);
}

.woocommerce-pagination ul li span.current,
.pagination .nav-links span.current {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

/* Prev / Next arrow buttons */
.pagination .nav-links a.prev,
.pagination .nav-links a.next {
  width: auto;
  padding: 0 1rem;
  border-color: transparent;
  font-size: 0.65rem;
  gap: 0.35rem;
}

.pagination .nav-links a.prev:hover,
.pagination .nav-links a.next:hover {
  border-color: transparent;
  color: var(--coral);
}

/* Dots */
.pagination .nav-links .dots {
  border-color: transparent;
  pointer-events: none;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* --- WooCommerce Prices --- */
.price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.price del {
  color: var(--ink-light);
  font-weight: 400;
  text-decoration: line-through;
  margin-right: 0.3rem;
}

.price ins {
  text-decoration: none;
  color: var(--coral);
}

/* Sale badge */
.onsale {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  background: var(--success);
  color: white;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

/* Star rating (WooCommerce native) */
.star-rating {
  display: inline-flex;
  gap: 2px;
  font-size: 0;
  overflow: hidden;
  position: relative;
  height: 1em;
  width: 5.4em;
  font-size: 0.85rem;
  line-height: 1;
}

.star-rating::before {
  content: '\2605\2605\2605\2605\2605';
  color: var(--border);
  letter-spacing: 2px;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}

.star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}

.star-rating span::before {
  content: '\2605\2605\2605\2605\2605';
  color: #FCE300;
  letter-spacing: 2px;
  top: 0;
  position: absolute;
  left: 0;
}

/* ==========================================================================
   27. PRINT
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .nav,
  .nav-color-strip,
  .mobile-menu,
  .hamburger,
  .cart-btn,
  .lang-switch,
  .footer,
  .site-footer,
  .newsletter-section,
  .shipping-banner,
  .generator-banner,
  .cta-banner,
  .hero-pixel,
  .shop-hero-pixel,
  .banner-pixel,
  .hero-float-grid,
  .hero-float-colors,
  .hero-bg-grid,
  .shop-hero-bg,
  .page-hero-bg,
  .quick-add-overlay,
  .model-card-overlay,
  .product-add-btn,
  .quick-add-btn,
  .quick-view-btn {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .product-layout,
  .model-detail-layout {
    display: block;
  }

  .product-gallery {
    position: static;
  }

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

/* ==========================================================================
   28. WORDPRESS ADMIN BAR OFFSET
   ========================================================================== */

body.admin-bar {
  --nav-offset: 100px; /* 68 + 32 admin-bar */
}

body.admin-bar .nav {
  top: 32px;
}

body.admin-bar .nav-color-strip {
  top: 100px;
}

body.admin-bar .mobile-menu {
  top: 100px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --nav-offset: 114px; /* 68 + 46 admin-bar mobile */
  }

  body.admin-bar .nav {
    top: 46px;
  }

  body.admin-bar .nav-color-strip {
    top: 114px;
  }

  body.admin-bar .mobile-menu {
    top: 114px;
  }
}

/* ==========================================================================
   28b. POLAROID GALLERY (Homepage)
   ========================================================================== */

.polaroid-section {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.polaroid-track {
  position: relative;
  padding: 2rem 0 1rem;
}

/* Fade edges */
.polaroid-track::before,
.polaroid-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.polaroid-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.polaroid-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.polaroid-slider {
  display: flex;
  gap: 2rem;
  padding: 1rem 2rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.polaroid-slider::-webkit-scrollbar {
  display: none;
}

.polaroid-slider:active {
  cursor: grabbing;
}

/* Polaroid card */
.polaroid {
  flex-shrink: 0;
  width: 220px;
  background: white;
  padding: 12px 12px 0;
  border-radius: 4px;
  box-shadow:
    0 2px 8px rgba(26, 23, 20, 0.08),
    0 12px 32px rgba(26, 23, 20, 0.06);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s;
  scroll-snap-align: center;
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.04);
  box-shadow:
    0 8px 24px rgba(26, 23, 20, 0.12),
    0 24px 48px rgba(26, 23, 20, 0.08);
  z-index: 3;
}

.polaroid-frame {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-alt);
}

.polaroid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.polaroid:hover .polaroid-frame img {
  transform: scale(1.06);
}

.polaroid-caption {
  display: block;
  padding: 10px 4px 14px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--ink-muted);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .polaroid {
    width: 180px;
    padding: 10px 10px 0;
  }

  .polaroid-slider {
    gap: 1.25rem;
    padding: 1rem 1rem 2rem;
  }

  .polaroid-track::before,
  .polaroid-track::after {
    width: 40px;
  }
}

/* ==========================================================================
   28c. ORDER TRACKING PAGE
   ========================================================================== */

/* Hide page title on tracking page */
.page-content:has(.dc-tracking-widget) h1 {
  display: none;
}

.page-content:has(.dc-tracking-widget) {
  padding-top: 1.5rem;
}

.dc-tracking-widget {
  max-width: 640px;
  margin: 0 auto;
}

.dc-tracking-illustration {
  text-align: center;
  margin-bottom: 1.5rem;
}

.dc-tracking-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.dc-tracking-form {
  text-align: center;
}

.dc-tracking-label {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}

.dc-tracking-input-row {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.dc-tracking-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.25s;
}

.dc-tracking-input:focus {
  outline: none;
  border-color: var(--coral);
}

.dc-tracking-input::placeholder {
  color: var(--ink-light);
}

.dc-tracking-btn {
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  border: 2px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
}

.dc-tracking-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--coral-glow);
}

.dc-tracking-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

#YQContainer {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .dc-tracking-input-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .dc-tracking-input {
    border-right: 2px solid var(--border);
    border-radius: var(--radius-md);
  }

  .dc-tracking-input:focus {
    border-color: var(--coral);
  }

  .dc-tracking-btn {
    border-radius: var(--radius-md);
    width: 100%;
  }
}

/* ==========================================================================
   28d. CHECKOUT PAGE (FunnelKit / WFACP)
   ========================================================================== */

/* Layout */
.checkout-content {
  padding: 2rem 0 4rem;
  background: var(--bg);
}

.checkout-content .container {
  max-width: 1240px;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.checkout-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 500;
}

/* Trust badges */
.checkout-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.checkout-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* FunnelKit form wrapper */
#wfacp-e-form,
.wfacp_main_form {
  font-family: var(--font-body);
}

#wfacp-e-form .wfacp-main-container {
  max-width: 100%;
  padding: 0;
}

/* Section headings */
.wfacp_main_form .wfacp_section_heading,
.wfacp_main_form .wfacp_section_title {
  font-family: var(--font-display);
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

/* Form sections */
.wfacp_main_form .wfacp-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.wfacp_main_form .wfacp-comm-form-detail {
  padding: 0;
}

/* Form rows */
.wfacp_main_form .wfacp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Form fields */
.wfacp_main_form .form-row {
  margin-bottom: 0.5rem;
}

.wfacp_main_form label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: block;
}

.wfacp_main_form input[type="text"],
.wfacp_main_form input[type="email"],
.wfacp_main_form input[type="tel"],
.wfacp_main_form input[type="number"],
.wfacp_main_form input[type="password"],
.wfacp_main_form input[type="search"],
.wfacp_main_form textarea,
.wfacp_main_form select,
.wfacp_main_form .select2-selection {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.wfacp_main_form input:focus,
.wfacp_main_form textarea:focus,
.wfacp_main_form select:focus,
.wfacp_main_form .select2-container--focus .select2-selection {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

/* Select2 dropdown */
.wfacp_main_form .select2-selection {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.wfacp_main_form .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%);
}

/* Animated labels (inside mode) */
.wfacp_main_form .wfacp-inside label.wfacp-form-control-label {
  position: absolute;
  top: 0.7rem;
  left: 0.85rem;
  transition: all 0.2s;
  pointer-events: none;
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.wfacp_main_form .wfacp-inside .wfacp-anim-wrap label.wfacp-form-control-label {
  top: 0.2rem;
  font-size: 0.65rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-family: var(--font-display);
}

.wfacp_main_form .wfacp-inside .wfacp-anim-wrap input,
.wfacp_main_form .wfacp-inside .wfacp-anim-wrap select {
  padding-top: 1.2rem;
  padding-bottom: 0.3rem;
}

/* Product switcher */
.wfacp_main_form .wfacp-product-switch-panel {
  border: none;
  margin: 0;
}

.wfacp_main_form .wfacp-product-switch-panel .product-name {
  font-size: 0.9rem;
}

.wfacp_main_form .wfacp-product-switch-panel .product-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
}

.wfacp_main_form .wfacp-product-switch-panel .product-quantity {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Order summary / review table */
.wfacp_main_form .shop_table,
.wfacp_main_form .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.wfacp_main_form .shop_table thead th {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.wfacp_main_form .shop_table tbody td,
.wfacp_main_form .shop_table tfoot td,
.wfacp_main_form .shop_table tfoot th {
  padding: 0.65rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.wfacp_main_form .shop_table .order-total td,
.wfacp_main_form .shop_table .order-total th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  padding-top: 1rem;
  border-bottom: none;
}

/* Shipping methods */
.wfacp_main_form .wfacp_shipping_table label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
}

/* Coupon */
.wfacp_main_form .woocommerce-form-coupon-toggle .woocommerce-info {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.wfacp_main_form .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--coral);
  font-weight: 500;
}

.wfacp_main_form .checkout_coupon input[type="text"] {
  max-width: 250px;
}

.wfacp_main_form .checkout_coupon .button {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.wfacp_main_form .checkout_coupon .button:hover {
  background: var(--charcoal);
}

/* Payment section */
.wfacp_main_form #payment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 0.25rem;
}

.wfacp_main_form #payment .payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--border);
}

.wfacp_main_form #payment .payment_methods li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.wfacp_main_form #payment .payment_methods li:last-child {
  border-bottom: none;
}

.wfacp_main_form #payment .payment_methods label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wfacp_main_form #payment .payment_box {
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Place order button */
.wfacp_main_form #place_order,
.wfacp_main_form .wfacp_order_place_btn,
.wfacp_main_form .wfacp-order-place-btn-wrap button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 16px var(--coral-glow);
}

.wfacp_main_form #place_order:hover,
.wfacp_main_form .wfacp_order_place_btn:hover,
.wfacp_main_form .wfacp-order-place-btn-wrap button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--coral-glow);
}

/* Terms & privacy */
.wfacp_main_form .woocommerce-terms-and-conditions-wrapper {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.wfacp_main_form .woocommerce-terms-and-conditions-wrapper a {
  color: var(--coral);
}

/* WC notices */
.wfacp_main_form .woocommerce-error,
.wfacp_main_form .woocommerce-message,
.wfacp_main_form .woocommerce-info {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.wfacp_main_form .woocommerce-error {
  background: #FFF0F0;
  border: 1px solid #F9423A;
  color: #CB000F;
}

/* Inner form wrapper */
#wfacp-e-form .wfacp-inner-form-detail-wrap {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Step bar */
#wfacp-e-form .wfacp-payment-title {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

#wfacp-e-form .wfacp-payment-tab-list {
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

#wfacp-e-form .wfacp-payment-tab-list.wfacp-active {
  border-bottom-color: var(--coral);
}

#wfacp-e-form .wfacp-order2StepTitle {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

#wfacp-e-form .wfacp-order2StepNumber {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
}

#wfacp-e-form .wfacp-payment-tab-list.wfacp-active .wfacp-order2StepNumber {
  background: var(--coral);
  color: white;
}

/* Radio & checkbox */
.wfacp_main_form input[type="radio"],
.wfacp_main_form input[type="checkbox"] {
  accent-color: var(--coral);
}

/* Responsive */
@media (max-width: 768px) {
  .checkout-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .checkout-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .wfacp_main_form .wfacp-section {
    padding: 1rem;
  }

  .wfacp_main_form .wfacp-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   29. CART PAGE
   ========================================================================== */

/* Override page-content constraints on cart page */
body.woocommerce-cart .page-content .container {
  max-width: 1240px;
}

body.woocommerce-cart .page-content h1 {
  display: none; /* Hide generic page title, cart has its own header */
}

body.woocommerce-cart .page-content a {
  text-decoration: none;
  color: inherit;
}

body.woocommerce-cart .page-content p {
  color: inherit;
  line-height: inherit;
  margin-bottom: 0;
}

body.woocommerce-cart .page-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-cart .page-content li {
  margin-bottom: 0;
}

body.woocommerce-cart .page-content img {
  border-radius: 0;
  margin: 0;
}

body.woocommerce-cart .page-content table {
  margin: 0;
  border-collapse: collapse;
}

body.woocommerce-cart .page-content table th,
body.woocommerce-cart .page-content table td {
  border: none;
  padding: 0;
}

/* --- Layout --- */
.dc-cart-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

/* --- Cart Header --- */
.dc-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.dc-cart-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.dc-cart-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--coral);
  fill: none;
  stroke-width: 1.8;
}

.dc-continue-shopping {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s;
}

.dc-continue-shopping:hover {
  color: var(--coral);
}

/* --- Cart Item --- */
.dc-cart-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dc-cart-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.dc-cart-item:first-child {
  padding-top: 0;
}

/* Thumbnail */
.dc-cart-item-image {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  border: 2px solid var(--border);
}

.dc-cart-item-image a,
.dc-cart-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.dc-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.dc-cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.dc-cart-item-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.dc-cart-item-name a {
  color: inherit;
  transition: color 0.25s;
}

.dc-cart-item-name a:hover {
  color: var(--coral);
}

.dc-cart-item-name dl.variation {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.dc-cart-item-name dl.variation dt,
.dc-cart-item-name dl.variation dd {
  display: inline;
  margin: 0;
}

.dc-cart-item-name dl.variation dd p {
  display: inline;
  margin: 0;
}

/* Remove button */
.dc-cart-item-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  color: var(--ink-light);
}

.dc-cart-item-remove svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dc-cart-item-remove:hover {
  background: #FEE;
  color: #D32F2F;
}

/* Unit price */
.dc-cart-item-price-unit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.dc-cart-item-price-unit .woocommerce-Price-amount {
  font-weight: 500;
}

/* Bottom row */
.dc-cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Quantity control in cart */
.dc-cart-item-qty .quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dc-cart-item-qty .quantity .qty-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--bg);
  color: var(--ink-muted);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-family: var(--font-body);
}

.dc-cart-item-qty .quantity .qty-btn:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.dc-cart-item-qty .quantity input[type="number"] {
  -moz-appearance: textfield;
  width: 44px;
  height: 36px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  margin: 0;
  padding: 0;
  line-height: 36px;
  background: var(--surface);
  color: var(--ink);
}

.dc-cart-item-qty .quantity input[type="number"]::-webkit-outer-spin-button,
.dc-cart-item-qty .quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Subtotal */
.dc-cart-item-subtotal {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

/* --- Actions Bar --- */
.dc-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* Coupon */
.dc-coupon {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 360px;
}

.dc-coupon-input {
  flex: 1;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.25s;
}

.dc-coupon-input:focus {
  outline: none;
  border-color: var(--coral);
}

.dc-coupon-input::placeholder {
  color: var(--ink-light);
}

.dc-coupon-btn {
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--charcoal);
  color: white;
  border: 2px solid var(--charcoal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.dc-coupon-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* Update button */
.dc-update-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.dc-update-cart svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dc-update-cart:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

/* --- Sidebar: Cart Totals --- */
.dc-cart-sidebar {
  position: sticky;
  top: 88px;
}

.dc-totals {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.dc-totals-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

/* Totals rows */
.dc-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dc-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.dc-totals-row:last-child {
  border-bottom: none;
}

.dc-totals-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.dc-totals-value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* WC shipping row compatibility */
.dc-totals .shipping th,
.dc-totals .shipping td {
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.dc-totals .shipping th {
  color: var(--ink-muted);
  font-weight: 400;
  text-align: left;
}

.dc-totals .shipping td {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.dc-totals .shipping ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-totals .shipping li {
  margin-bottom: 0.3rem;
}

.dc-totals .shipping label {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* WC shop_table within totals (for shipping display) */
.dc-totals .shop_table {
  width: 100%;
  border: none;
}

.dc-totals .shop_table tr {
  border-bottom: 1px solid var(--border);
}

.dc-totals .shop_table tr:last-child {
  border-bottom: none;
}

.dc-totals .shop_table th,
.dc-totals .shop_table td {
  padding: 0.85rem 0;
  border: none;
}

.dc-totals .shop_table th {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-muted);
  text-align: left;
}

.dc-totals .shop_table td {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Total row */
.dc-totals-total {
  margin-top: 0.5rem;
  padding-top: 1rem !important;
  border-top: 2px solid var(--border) !important;
  border-bottom: none !important;
}

.dc-totals-total .dc-totals-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.dc-totals-total .dc-totals-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--coral);
}

/* Coupon row */
.dc-totals-coupon .dc-totals-value {
  color: var(--success);
}

/* --- Trust Signals --- */
.dc-cart-trust {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 0;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

.dc-cart-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.dc-cart-trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--success);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* --- Checkout Button --- */
.dc-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 2rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-transform: uppercase;
}

.dc-checkout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s;
}

.dc-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--coral-glow);
  color: white;
}

.dc-checkout-btn:hover::before {
  left: 100%;
}

/* Pixel icon in checkout button */
.dc-checkout-btn-icon {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 1px;
}

.dc-checkout-btn-icon span {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 1px;
}

.dc-checkout-btn-icon span:nth-child(5) {
  background: white;
}

/* Back to shop link */
.dc-back-to-shop {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
  transition: color 0.25s;
}

.dc-back-to-shop:hover {
  color: var(--coral);
}

/* --- Empty Cart --- */
.dc-cart-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.dc-cart-empty-icon {
  margin-bottom: 1.5rem;
}

.dc-cart-empty-icon svg {
  width: 80px;
  height: 80px;
  stroke: var(--border-dark);
  fill: none;
  stroke-width: 1.2;
}

.dc-cart-empty-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.dc-cart-empty-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.dc-cart-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  text-transform: uppercase;
}

.dc-cart-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--coral-glow);
  color: white;
}

.dc-cart-empty-btn .arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.dc-cart-empty-btn:hover .arrow {
  transform: translateX(4px);
}

/* --- WC Notices in cart context --- */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: none;
}

.woocommerce-cart .woocommerce-message {
  background: #E8F5E9;
  color: #2E7D32;
}

.woocommerce-cart .woocommerce-info {
  background: #E3F2FD;
  color: #1565C0;
}

.woocommerce-cart .woocommerce-error {
  background: #FFEBEE;
  color: #C62828;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-error::before {
  display: none;
}

/* --- Cross-sells (full width below cart layout) --- */
.woocommerce-cart .cross-sells {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}

.woocommerce-cart .cross-sells h2 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.woocommerce-cart .cross-sells .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Responsive: Cart Page --- */
@media (max-width: 900px) {
  .dc-cart-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dc-cart-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .woocommerce-cart .cross-sells .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dc-cart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .dc-cart-item {
    gap: 1rem;
  }

  .dc-cart-item-image {
    width: 80px;
    height: 80px;
  }

  .dc-cart-item-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .dc-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-coupon {
    max-width: 100%;
  }

  .dc-update-cart {
    justify-content: center;
  }

  .dc-totals {
    padding: 1.5rem;
  }
}
