/* ==========================================================
   CUBEZO DIGITAL — MAIN THEME STYLESHEET
   ========================================================== */

/* Google Fonts loaded via <link> in wp_head (non-blocking preload) — see inc/setup.php */

/* ===== DESIGN TOKENS ===== */
:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --ink-muted: #6b6b6b;
  --ink-faint: #9a9a9a;
  --paper: #f5f1ea;
  --paper-warm: #ebe5d8;
  --paper-card: #faf7f1;
  --white: #ffffff;
  --accent: #d64521;
  --accent-dark: #b93717;
  --accent-soft: #fde7df;
  --line: #1a1a1a;
  --line-soft: #d9d2c2;
  --success: #2f7d4f;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max: 1400px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.96;
  font-variation-settings: "opsz" 144;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .container { padding: 0 22px; } }

section { padding: 110px 0; }
@media (max-width: 720px) { section { padding: 70px 0; } }

/* ===== TOP BAR ===== */
.site-topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 0;
  overflow: hidden;
}
.topbar-inner { width: 100%; overflow: hidden; }
.topbar-ticker-wrap { overflow: hidden; width: 100%; }
.topbar-ticker {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(245,241,234,0.96);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 40px;
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  transform: rotate(-4deg);
  transition: transform .4s var(--ease);
}
.site-logo:hover .logo-mark { transform: rotate(4deg); }
.logo-accent { font-style: italic; font-weight: 300; color: var(--accent); }

/* Nav links */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.current-menu-item::after,
.primary-nav a.current_page_item::after { width: 100%; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 18px; }

/* Cart button */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  transition: all .2s;
  color: var(--ink);
  text-decoration: none;
}
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  padding: 0 6px;
}
.cart-count.empty { display: none; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: none;
  cursor: pointer;
}
@media (max-width: 1060px) {
  .primary-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .cart-btn .cart-label { display: none; }
  .cart-btn { padding: 10px 12px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.mobile-menu-close {
  width: 42px; height: 42px;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  background: none; cursor: pointer;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu ul a {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
}

/* ===== BUTTONS ===== */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: 1px solid var(--ink);
  white-space: nowrap;
  text-decoration: none;
  border-radius: 0;
}
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--accent) !important;
  color: white !important;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-lg { padding: 20px 34px; font-size: 13px; }
.btn-outline { background: transparent !important; color: var(--ink) !important; }
.btn-outline:hover { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink); }
.btn-accent,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
#place_order { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; color: white !important; }
.btn-accent:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
#place_order:hover { background: #9c2c0f !important; border-color: #9c2c0f !important; }
.btn-arrow { font-size: 14px; transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Inline CTA link */
.inline-cta-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
  text-decoration: none;
}
.inline-cta-link:hover { color: var(--accent); }

/* ===== SECTION HEADS ===== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
.section-head h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.section-head-right { max-width: 420px; justify-self: end; }
.section-head-right p { font-size: 16px; color: var(--ink-muted); margin-bottom: 20px; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .section-head-right { justify-self: start; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--ink); }
.hero-heading {
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.94;
  margin-bottom: 32px;
  letter-spacing: -0.035em;
  font-family: var(--font-display);
  font-weight: 400;
}
.hero-heading em { font-style: italic; font-weight: 300; color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 42px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta-item { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.hero-meta-item strong {
  font-family: var(--font-display);
  display: block;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 4px;
}

/* Hero visual */
.hero-visual { position: relative; height: 580px; }
.print-sample {
  position: absolute;
  background: var(--white);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15), 0 10px 20px -10px rgba(0,0,0,0.1);
  transition: transform .6s var(--ease);
}
.print-sample:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 10 !important; }

.sample-1 {
  width: 280px; height: 380px; top: 20px; right: 120px;
  transform: rotate(-6deg); z-index: 2;
  background: linear-gradient(135deg, #d64521 0%, #e87c4f 50%, #f5c78c 100%);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: white;
}
.sample-1 .sample-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.8; }
.sample-1 h3 { font-family: var(--font-display); font-size: 44px; line-height: 0.95; font-style: italic; font-weight: 300; color: white; }
.sample-2 {
  width: 240px; height: 320px; bottom: 40px; right: 20px;
  transform: rotate(5deg); z-index: 3;
  background: var(--ink); color: var(--paper);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
}
.sample-2 h3 { font-family: var(--font-display); font-size: 52px; color: var(--paper); line-height: 0.9; }
.sample-2 .sample-num { font-family: var(--font-mono); font-size: 11px; opacity: 0.6; }
.sample-3 {
  width: 200px; height: 130px; top: 180px; left: 20px;
  transform: rotate(-3deg); z-index: 4;
  background: var(--paper-card); padding: 18px; border: 1px solid var(--line-soft);
}
.sample-3 .card-logo { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.sample-3 .card-info { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--ink-muted); line-height: 1.6; }
.sample-4 {
  width: 160px; height: 220px; bottom: 60px; left: 60px;
  transform: rotate(8deg); z-index: 1;
  background: linear-gradient(160deg, #2a4858 0%, #1a2e3a 100%);
  padding: 18px; color: white; display: flex; align-items: flex-end;
}
.sample-4 h4 { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 24px; color: white; line-height: 1.1; }
.hero-decoration {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.hero-decoration.top-right { top: 30px; right: 0; writing-mode: vertical-rl; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 480px; max-width: 500px; margin: 0 auto; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .sample-1 { right: 60px; }
  .sample-4 { left: 20px; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 60px; }
  .hero-visual { height: 420px; }
  .sample-1 { width: 220px; height: 300px; right: 20px; top: 10px; }
  .sample-1 h3 { font-size: 34px; }
  .sample-2 { width: 190px; height: 250px; right: 10px; bottom: 30px; }
  .sample-2 h3 { font-size: 38px; }
  .sample-3 { width: 170px; height: 110px; left: 10px; top: 130px; }
  .sample-4 { width: 130px; height: 170px; left: 20px; bottom: 40px; }
  .sample-4 h4 { font-size: 20px; }
}

/* ===== MARQUEE ===== */
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
  background: var(--paper);
}
.marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.marquee .dot { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: 36px 30px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .5s var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.cat-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.cat-card:hover .cat-card-arrow { background: var(--accent); color: white; transform: translate(4px,-4px); }
.cat-card:hover .cat-visual { transform: scale(1.05) rotate(2deg); }
.cat-card:hover h3,
.cat-card:hover p { color: var(--paper); }
.cat-card:hover p { opacity: .7; }
.cat-card:hover .cat-num { color: var(--paper); }

.cat-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--ink-faint); text-transform: uppercase; transition: color .3s; }
.cat-card h3 { font-size: 38px; font-weight: 400; letter-spacing: -0.025em; line-height: 1; margin-top: 20px; margin-bottom: 14px; transition: color .3s; }
.cat-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 20px; max-width: 320px; transition: color .3s; }
.cat-card-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.cat-price { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.cat-card-arrow {
  width: 46px; height: 46px; border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease); flex-shrink: 0;
}
.cat-visual { position: absolute; transition: transform .6s var(--ease); pointer-events: none; }

/* Category card specific sizes */
.cat-canvas { grid-column: span 7; background: linear-gradient(135deg, #f5f1ea 0%, #ebe5d8 100%); }
.cat-canvas .cat-visual {
  right: 30px; top: 50%; transform: translateY(-50%) rotate(-4deg);
  width: 280px; height: 200px;
  background: linear-gradient(135deg, #d64521, #f5a572);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
}
.cat-canvas .cat-visual::after { content: ''; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,0.3); }

.cat-poster { grid-column: span 5; }
.cat-poster .cat-visual {
  right: 20px; bottom: 20px; width: 140px; height: 190px;
  background: linear-gradient(160deg, #e8dcc4 0%, #d4c088 50%, #8a6b3b 100%);
  transform: rotate(-3deg); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.2);
}
.cat-pvc { grid-column: span 5; background: var(--ink); color: var(--paper); }
.cat-pvc h3, .cat-pvc p { color: var(--paper); }
.cat-pvc p { opacity: 0.7; }
.cat-pvc .cat-num { color: var(--paper); opacity: 0.6; }
.cat-pvc .cat-visual {
  right: 20px; bottom: 30px; width: 160px; height: 160px;
  background: linear-gradient(135deg, #c0c4c8, #888c90);
  transform: rotate(4deg); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5);
}
.cat-pvc:hover { background: var(--accent); }
.cat-pvc:hover .cat-card-arrow { background: var(--ink); color: var(--paper); }

.cat-leaflet { grid-column: span 4; }
.cat-leaflet .cat-visual {
  right: 20px; bottom: 20px; width: 130px; height: 170px;
  background: white; transform: rotate(5deg);
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.15);
  border: 1px solid var(--line-soft); padding: 12px;
}
.cat-leaflet .cat-visual::before { content: ''; display: block; height: 30%; background: var(--accent); margin-bottom: 8px; }
.cat-leaflet .cat-visual::after { content: ''; display: block; height: 4px; background: var(--ink); width: 60%; box-shadow: 0 10px 0 0 var(--ink-muted), 0 20px 0 0 var(--ink-muted), 0 30px 0 0 var(--ink-muted); }

.cat-cards { grid-column: span 8; background: linear-gradient(135deg, #faf7f1 0%, #ebe5d8 100%); }
.cat-cards .cat-visual { right: 40px; top: 50%; width: 220px; height: 130px; transform: translateY(-50%) rotate(-6deg); }
.cat-cards .cat-visual::before { content: ''; position: absolute; inset: 0; background: var(--ink); box-shadow: -16px 16px 0 -4px var(--accent), -32px 32px 0 -8px var(--ink-soft); }

@media (max-width: 1060px) {
  .cat-canvas { grid-column: span 12; }
  .cat-poster, .cat-pvc, .cat-leaflet { grid-column: span 6; }
  .cat-cards { grid-column: span 12; }
}
@media (max-width: 680px) {
  .cat-poster, .cat-pvc, .cat-leaflet { grid-column: span 12; }
  .cat-card { min-height: 280px; }
  .cat-card h3 { font-size: 30px; }
  .cat-visual { transform: scale(0.7) rotate(-4deg) !important; right: 0 !important; }
}

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 100%;
  background: rgba(255,255,255,0.1);
}
.how-section .section-head h2 { color: var(--paper); }
.how-section .section-head-right p { color: rgba(245,241,234,0.7); }
.how-section .eyebrow { color: rgba(245,241,234,0.5); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.step { background: var(--ink); padding: 50px 36px; transition: background .3s; }
.step:hover { background: #1a1a1a; }
.step-num { font-family: var(--font-display); font-size: 72px; font-weight: 300; font-style: italic; color: var(--accent); line-height: 1; margin-bottom: 40px; }
.step h3 { font-size: 24px; color: var(--paper); margin-bottom: 14px; line-height: 1.1; }
.step p { color: rgba(245,241,234,0.65); font-size: 14px; line-height: 1.55; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { padding: 36px 28px; } .step-num { font-size: 56px; margin-bottom: 24px; } }

/* ===== PRODUCT CARDS ===== */
.product-card,
.woocommerce ul.products li.product {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: all .4s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  list-style: none;
}
.product-card:hover,
.woocommerce ul.products li.product:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}

.product-img-wrap,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
}

.product-img-wrap {
  aspect-ratio: 4/3;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background .3s;
}
.product-card:hover .product-img-wrap { background: var(--paper-warm); }

.woocommerce ul.products li.product img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform .5s var(--ease);
}
.woocommerce ul.products li.product:hover img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}
.product-badge.accent { background: var(--accent); }
.onsale { background: var(--accent) !important; color: white !important; font-family: var(--font-mono) !important; font-size: 10px !important; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px !important; border-radius: 0 !important; }

.product-info { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-category-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); }
.product-info h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: var(--font-display);
  color: var(--ink);
  padding: 0;
  margin: 0;
}
.product-info p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; flex: 1; }
.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.product-price,
.woocommerce ul.products li.product .price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.product-price span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 4px; }
.woocommerce ul.products li.product .price .from { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 4px; }
.product-cta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.product-card:hover .product-cta { gap: 10px; color: var(--accent); }

/* Bestsellers grid (homepage — always 4 up) */
.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* WooCommerce product loop — 2 columns */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
}
@media (max-width: 1060px) {
  .bestsellers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bestsellers-grid,
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

/* ===== WHY US ===== */
.why-section { background: var(--paper-warm); position: relative; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 36px;
  background: var(--paper-warm);
  transition: background .3s;
}
.why-item:hover { background: var(--paper-card); }
.why-icon {
  width: 50px; height: 50px; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 28px; transition: all .3s;
}
.why-item:hover .why-icon { background: var(--ink); color: var(--paper); }
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; }
.why-item p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== ARTWORK CTA SECTION ===== */
.artwork-cta {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.artwork-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(214,69,33,0.15), transparent 70%);
  pointer-events: none;
}
.artwork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.artwork-grid h2 { font-size: clamp(40px,5.5vw,72px); color: var(--paper); line-height: 1; margin-bottom: 26px; letter-spacing: -0.03em; }
.artwork-grid h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.artwork-grid p { color: rgba(245,241,234,0.75); font-size: 17px; line-height: 1.6; max-width: 480px; margin-bottom: 34px; }
.artwork-grid .eyebrow { color: rgba(245,241,234,0.5); margin-bottom: 20px; display: inline-block; }

/* File mock */
.file-mock { position: relative; padding: 40px; border: 1px dashed rgba(255,255,255,0.3); }
.file-mock-inner { display: flex; flex-direction: column; gap: 14px; }
.file-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); transition: all .3s;
}
.file-item:hover { border-color: var(--accent); background: rgba(214,69,33,0.1); }
.file-icon { width: 40px; height: 50px; background: rgba(245,241,234,0.1); position: relative; flex-shrink: 0; }
.file-icon::before { content: ''; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: var(--ink); border-bottom: 1px solid rgba(245,241,234,0.2); border-left: 1px solid rgba(245,241,234,0.2); }
.file-icon span { position: absolute; bottom: 6px; left: 4px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.05em; color: var(--accent); font-weight: 600; }
.file-details { flex: 1; min-width: 0; }
.file-name { font-family: var(--font-mono); font-size: 12px; color: var(--paper); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-family: var(--font-mono); font-size: 10px; color: rgba(245,241,234,0.5); letter-spacing: 0.05em; }
.file-check { width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: white; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
@media (max-width: 900px) { .artwork-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--paper); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi { padding: 36px 32px; background: var(--paper-card); border: 1px solid var(--line-soft); position: relative; }
.testi .testi-stars { display: flex; gap: 2px; color: var(--accent); font-size: 14px; margin-bottom: 18px; }
.testi-text { font-family: var(--font-display); font-size: 19px; line-height: 1.4; color: var(--ink); font-weight: 400; margin-bottom: 28px; letter-spacing: -0.015em; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 680px) { .testi-grid { grid-template-columns: 1fr; } }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 140px 0;
  background: var(--paper-warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 { font-size: clamp(48px,8vw,120px); line-height: 0.95; letter-spacing: -0.035em; margin-bottom: 32px; }
.final-cta h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.final-cta p { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 40px; }
.final-cta-ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand h3 { font-family: var(--font-display); font-size: 44px; color: var(--paper); line-height: 1; margin-bottom: 20px; letter-spacing: -0.03em; }
.footer-brand h3 em { font-style: italic; color: var(--accent); font-weight: 300; }
.footer-brand p { color: rgba(245,241,234,0.6); font-size: 14px; max-width: 340px; margin-bottom: 26px; }
.newsletter { display: flex; border: 1px solid rgba(255,255,255,0.15); max-width: 380px; transition: border-color .2s; }
.newsletter:focus-within { border-color: var(--accent); }
.newsletter input { flex: 1; background: transparent; border: none; padding: 14px 16px; color: var(--paper); font-size: 13px; outline: none; }
.newsletter input::placeholder { color: rgba(245,241,234,0.4); }
.newsletter button { background: var(--accent); color: white; padding: 0 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; transition: background .2s; border: none; cursor: pointer; }
.newsletter button:hover { background: var(--accent-dark); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,241,234,0.5); margin-bottom: 22px; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--paper); font-size: 14px; transition: color .2s; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,241,234,0.5); flex-wrap: wrap; gap: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a { color: rgba(245,241,234,0.4); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: rgba(245,241,234,0.8); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .footer-brand { grid-column: span 2; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } }

/* ===== COOKIE CONSENT BANNER ===== */
.cz-cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  z-index: 9999; width: calc(100% - 48px); max-width: 820px;
  background: var(--ink); color: var(--paper);
  border: 1px solid rgba(245,241,234,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
  opacity: 0;
}
.cz-cookie-banner.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.cz-cookie-inner { display: flex; align-items: center; gap: 24px; padding: 20px 24px; flex-wrap: wrap; }
.cz-cookie-text { flex: 1; min-width: 240px; }
.cz-cookie-text strong { display: block; font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; color: var(--paper); }
.cz-cookie-text p { font-size: 13px; color: rgba(245,241,234,0.7); margin: 0; line-height: 1.5; }
.cz-cookie-text a { color: rgba(245,241,234,0.7); text-decoration: underline; }
.cz-cookie-text a:hover { color: var(--paper); }
.cz-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cz-cookie-btn { padding: 10px 20px; font-size: 13px; font-family: var(--font-body); font-weight: 500; cursor: pointer; border: none; background: var(--accent); color: #fff; letter-spacing: 0.01em; transition: background .2s; white-space: nowrap; }
.cz-cookie-btn:hover { background: var(--accent-dark); }
.cz-cookie-btn--ghost { background: transparent; border: 1px solid rgba(245,241,234,0.25); color: rgba(245,241,234,0.8); }
.cz-cookie-btn--ghost:hover { background: rgba(245,241,234,0.08); border-color: rgba(245,241,234,0.5); color: var(--paper); }
@media (max-width: 560px) { .cz-cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; } .cz-cookie-actions { width: 100%; } .cz-cookie-btn { flex: 1; text-align: center; } }

/* ===== PAGE HEADER ===== */
.page-header-section { padding: 80px 0 60px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 30px; display: flex; gap: 10px; align-items: center; }
.breadcrumb a { color: var(--ink-muted); transition: color .2s; text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: 0.4; }
.page-header-section h1 { font-size: clamp(48px,7vw,96px); line-height: 0.95; letter-spacing: -0.035em; margin-bottom: 24px; }
.page-header-section h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.page-header-section p { max-width: 600px; font-size: 17px; color: var(--ink-muted); line-height: 1.5; }

/* ===== SHOP PAGE ===== */
.shop-layout { padding: 70px 0 100px; display: grid; grid-template-columns: 240px 1fr; gap: 60px; }
.shop-main { min-width: 0; }
.woocommerce-page .woocommerce { padding: 0; }

.shop-section-title {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 30px 0 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
  list-style: none;
}
.shop-section-title:first-child { padding-top: 0; }
.shop-section-title h2 { font-size: 42px; letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 400; }
.shop-section-title span { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-muted); }

.shop-sidebar { position: sticky; top: 110px; align-self: start; }
.shop-sidebar h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink-muted); padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.shop-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 40px; }
.shop-sidebar ul a { display: block; padding: 10px 0; font-size: 14px; color: var(--ink-soft); transition: all .2s; border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; text-decoration: none; }
.shop-sidebar ul a:hover { color: var(--ink); border-left-color: var(--accent); }
.shop-sidebar ul a.active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }

@media (max-width: 1060px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .shop-sidebar ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .shop-sidebar ul a { padding: 8px 14px; border: 1px solid var(--line-soft); margin: 0; }
  .shop-sidebar ul a.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
}
@media (max-width: 620px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* ===== SINGLE PRODUCT PAGE ===== */
.single-product-layout { padding: 40px 0 100px; }
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 80px;
  row-gap: 60px;
  align-items: start;
}

/* Gallery — col 1, row 1, sticky */
.woocommerce div.product div.images { grid-column: 1; grid-row: 1; position: sticky; top: 110px; }

/* Main image container — 1:1 square with background and border (matches HTML .gallery-main) */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  aspect-ratio: 1 / 1;
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image { width: 100%; height: 100%; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; border: none; display: block; }

/* Thumbs — 1:1 square, border on container (matches HTML .thumb) */
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { aspect-ratio: 1/1; background: var(--paper-card); border: 1px solid var(--line-soft); overflow: hidden; cursor: pointer; transition: border-color .2s; display: flex; align-items: center; justify-content: center; }
.woocommerce div.product div.images .flex-control-thumbs li img { width: 100%; height: 100%; object-fit: cover; border: none; }
.woocommerce div.product div.images .flex-control-thumbs li:hover { border-color: var(--ink); }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li.flex-active-slide { border-color: var(--accent); border-width: 2px; }

/* Summary — col 2, row 1 */
.woocommerce div.product div.summary { grid-column: 2; grid-row: 1; }
.woocommerce div.product .product_title { font-size: clamp(42px,5vw,64px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 18px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 30px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  display: block;
}

/* Variations */
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 0; }
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th { padding: 0 0 14px 0; }
.woocommerce div.product form.cart .variations label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.woocommerce div.product form.cart .variations select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  font-family: var(--font-body);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.woocommerce div.product form.cart .variations select:focus { border-color: var(--ink); }
.woocommerce div.product form.cart .reset_variations { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); display: inline-block; margin-bottom: 20px; text-decoration: none; }
.woocommerce div.product form.cart .reset_variations:hover { color: var(--accent); }

/* Quantity */
.woocommerce div.product form.cart .quantity { display: flex; border: 1px solid var(--ink); width: fit-content; }
.woocommerce div.product form.cart .quantity input.qty { width: 60px; height: 44px; text-align: center; border: none; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); background: transparent; font-family: var(--font-mono); font-size: 14px; font-weight: 600; outline: none; }

/* Simple product: qty + button in a row */
.woocommerce div.product form.cart:not(.variations_form) { display: flex; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); align-items: flex-start; }
.woocommerce div.product form.cart:not(.variations_form) .single_add_to_cart_button { flex: 1; justify-content: center; }

/* Variable product: block so config sections stack vertically */
.woocommerce div.product form.variations_form.cart { display: block; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
/* qty + button row inside variable form */
.woocommerce div.product form.variations_form .woocommerce-variation-add-to-cart { display: flex; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); align-items: flex-start; }
.woocommerce div.product form.variations_form .single_add_to_cart_button { flex: 1; justify-content: center; }

/* Product tabs — col 2, row 2 (right column, below summary — matches HTML) */
.woocommerce-tabs { grid-column: 2; grid-row: 2; margin-top: 0; }

.woocommerce-tabs ul.tabs { display: flex; gap: 30px; margin-bottom: 0; padding: 0; border-bottom: 1px solid var(--line-soft); list-style: none; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs li { background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 0; color: var(--ink-muted); display: block; text-decoration: none; transition: color .2s; }
.woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--accent); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs .panel { padding: 30px 0 0; max-width: 800px; border: none; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.woocommerce-tabs .panel h2 { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; color: var(--ink); margin: 26px 0 14px; }
.woocommerce-tabs .panel h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 24px 0 10px; }

/* Trust row */
.product-trust-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.trust-item { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* Related / upsells — outside the product grid, separator below product content */
.related.products,
.upsells.products {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--line-soft);
}

/* Eyebrow above heading via ::before */
.related.products > h2::before,
.upsells.products > h2::before {
  content: '— You May Also Like';
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  font-style: normal;
  margin-bottom: 18px;
}
.related.products > h2,
.upsells.products > h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 40px;
}
.related.products > h2 em,
.upsells.products > h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

/* Related product cards — 4 columns matching .bestsellers in HTML */
.related.products .products,
.upsells.products .products { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) {
  .related.products .products,
  .upsells.products .products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1060px) {
  .woocommerce div.product { grid-template-columns: 1fr; column-gap: 0; row-gap: 50px; }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary,
  .woocommerce-tabs { grid-column: 1; grid-row: auto; }
  .woocommerce div.product div.images { position: static; }
}

/* WooCommerce page body — provides vertical rhythm without locking horizontal padding */
.wc-page-body { padding-top: 60px; padding-bottom: 100px; }

/* ===== CART ===== */

/* Empty state */
.woocommerce .wc-empty-cart-message,
.woocommerce .cart-empty { font-family: var(--font-body); font-size: 17px; color: var(--ink-muted); background: none; border: none; padding: 0; }

/* Two-column page layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

/* Column labels */
.cart-col-labels {
  display: grid;
  grid-template-columns: 1fr 90px 130px 80px;
  gap: 0 16px;
  padding: 0 44px 12px 116px; /* align with item content: 100px thumb + 16px gap = 116 */
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.cart-col-labels span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ccl-price, .ccl-qty, .ccl-total { text-align: center; }

/* Item rows */
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr 90px 130px 80px 28px;
  gap: 0 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ci-thumb { width: 100px; height: 100px; overflow: hidden; background: var(--paper-card); border: 1px solid var(--line-soft); flex-shrink: 0; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ci-info { min-width: 0; }
.ci-name {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
}
.ci-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); line-height: 1.7; }
.ci-meta dl, .ci-meta .variation { display: block; }
.ci-meta dt, .ci-meta .variation dt { display: inline; font-weight: 700; }
.ci-meta dd, .ci-meta .variation dd { display: inline; margin: 0; }
.ci-artwork { font-family: var(--font-mono); font-size: 10px; color: var(--success); display: flex; align-items: center; gap: 5px; margin-top: 6px; }
.ci-price, .ci-total { text-align: center; font-family: var(--font-display); font-size: 17px; }
.ci-total { font-weight: 500; }
.ci-qty { display: flex; justify-content: center; }
.ci-qty-single { font-family: var(--font-display); font-size: 17px; }

/* Qty stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
}
.qty-stepper .qty-btn {
  width: 36px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: var(--font-body);
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  transition: background .15s;
}
.qty-stepper .qty-btn:hover { background: var(--paper-warm); }
.qty-stepper input.qty {
  width: 46px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  -moz-appearance: textfield;
  outline: none;
}
.qty-stepper input.qty::-webkit-outer-spin-button,
.qty-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Remove links */
a.ci-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  padding: 4px;
  transition: color .15s;
  text-decoration: none;
}
a.ci-remove:hover { color: var(--ink); }
a.ci-remove-mobile { display: none; }

/* Actions row */
.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}
.cart-coupon { display: flex; gap: 8px; }
.cart-coupon input {
  padding: 11px 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
  font-size: 14px;
  width: 200px;
  outline: none;
}
.cart-coupon input:focus { border-color: var(--ink); }
.btn-ghost {
  padding: 11px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Right column: summary */
.cart-summary-col { position: sticky; top: 100px; }
.cart-collaterals { }
.cart_totals { background: var(--paper-card); border: 1px solid var(--line); padding: 30px; }
.cart_totals h2 { font-size: 22px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; vertical-align: middle; }
.cart_totals table th { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 400; width: 40%; }
.cart_totals table .order-total th,
.cart_totals table .order-total td { font-family: var(--font-display); font-size: 22px; font-weight: 500; border-bottom: none; padding-top: 16px; }
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; justify-content: center; display: flex; }

/* Responsive */
@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr; gap: 40px; }
  .cart-summary-col { position: static; }
  .cart_totals { max-width: 480px; margin-left: auto; }
}
@media (max-width: 640px) {
  .cart-col-labels { display: none; }
  .cart-item { grid-template-columns: 80px 1fr 28px; grid-template-rows: auto auto; gap: 0 12px; padding: 16px 0; }
  .ci-thumb { width: 80px; height: 80px; }
  .ci-info { grid-column: 2; grid-row: 1; padding-bottom: 10px; }
  .ci-remove { grid-column: 3; grid-row: 1; align-self: start; padding-top: 2px; }
  .ci-price { display: none; }
  .ci-qty { grid-column: 2; grid-row: 2; justify-content: start; }
  .ci-total { grid-column: 3; grid-row: 2; text-align: right; font-size: 16px; }
  a.ci-remove-mobile { display: inline; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); text-decoration: underline; }
  a.ci-remove { display: none; }
  .cart-coupon input { width: 150px; }
  .cart_totals { max-width: 100%; }
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%; max-width: 460px;
  height: 100vh;
  background: var(--paper);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 299; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer-header { padding: 24px 30px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-header h3 { font-size: 24px; }
.cart-drawer-close { width: 36px; height: 36px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; background: none; cursor: pointer; }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 20px 30px; }
.cart-drawer-footer { border-top: 1px solid var(--line); padding: 24px 30px; }
.cart-drawer-totals { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 20px; }
.cart-drawer-totals span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); font-weight: 400; align-self: end; padding-bottom: 6px; }
.cart-drawer-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.cart-drawer-item:last-child { border-bottom: none; }
.cart-drawer-img { width: 80px; height: 80px; background: var(--paper-card); border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cart-drawer-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-info { flex: 1; min-width: 0; }
.cart-drawer-info h4 { font-size: 16px; font-family: var(--font-display); font-weight: 500; margin-bottom: 4px; }
.cart-drawer-info .options { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-muted); text-transform: uppercase; margin-bottom: 8px; }
.cart-drawer-price { font-family: var(--font-display); font-weight: 500; font-size: 16px; }
.cart-drawer-empty { display: flex; flex-direction: column; align-items: center; padding: 60px 30px; text-align: center; color: var(--ink-muted); }
.cart-drawer-empty-icon { color: var(--ink-faint); margin-bottom: 20px; }
.cart-drawer-empty h4 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 8px; font-weight: 500; }
.cart-drawer-empty p { font-size: 14px; max-width: 220px; line-height: 1.5; }
.cart-drawer-empty .btn { padding: 14px 28px; }
#czd-cart-state.is-empty ~ .czd-fsb-wrap,
#czd-cart-state.is-empty ~ .cart-drawer-footer { display: none; }

/* ===== CHECKOUT ===== */
.woocommerce-checkout { }
.checkout-layout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; padding: 40px 0 100px; }
.woocommerce-checkout h3 { font-size: 24px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.woocommerce form.checkout .form-row { margin-bottom: 14px; }
.woocommerce form.checkout .form-row label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; display: block; }
.woocommerce form.checkout input[type="text"],
.woocommerce form.checkout input[type="email"],
.woocommerce form.checkout input[type="tel"],
.woocommerce form.checkout input[type="password"],
.woocommerce form.checkout select,
.woocommerce form.checkout textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
  font-family: var(--font-body);
  -webkit-appearance: none;
}
.woocommerce form.checkout input:focus,
.woocommerce form.checkout select:focus,
.woocommerce form.checkout textarea:focus { border-color: var(--ink); }

/* ── Radio buttons (site-wide) ─────────────────────────────────────────── */
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper-card);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s, background .2s;
  vertical-align: middle;
  margin-top: -1px;
}
input[type="radio"]:hover { border-color: var(--ink-soft); }
input[type="radio"]:checked { border-color: var(--ink); background: var(--ink); }
input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: white;
}
input[type="radio"]:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

/* ── Selects / dropdowns (site-wide) ───────────────────────────────────── */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111111' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px !important;
  cursor: pointer;
}
select:hover { border-color: var(--ink-soft); }

/* Checkout selects already get full border/bg from above — just ensure the arrow */
.woocommerce form.checkout select { color: var(--ink); }

/* ── WooCommerce payment + shipping method rows ─────────────────────────── */
.woocommerce-checkout #payment .payment_methods label,
.woocommerce-shipping-fields .shipping_method + label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.woocommerce-checkout #payment .payment_methods li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Order review */
#order_review_heading { font-size: 24px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.woocommerce-checkout-review-order { background: var(--paper-card); border: 1px solid var(--line); padding: 30px; }
.woocommerce-checkout-review-order-table { width: 100%; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.woocommerce-checkout-review-order-table .order-total td { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
@media (max-width: 980px) { .checkout-layout-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-section { margin-bottom: 36px; }
.form-section h3 { font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.shipping_address { margin-top: 16px; }
.woocommerce .input-text {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
  font-family: var(--font-body);
}
.woocommerce .input-text:focus { border-color: var(--ink); }

/* ===== CONTENT PAGES ===== */
.content-layout { padding: 40px 0 100px; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.content-sticky { position: sticky; top: 110px; align-self: start; }
.content-sticky h2 { font-size: clamp(40px,5vw,64px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 20px; }
.content-sticky h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.content-sticky p { color: var(--ink-muted); font-size: 15px; }

.content-body { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.content-body h3 { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 14px; }
.content-body h3:first-child { margin-top: 0; }
.content-body h4 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 24px 0 10px; }
.content-body p { margin-bottom: 16px; }
.content-body ul, .content-body ol { padding-left: 22px; margin-bottom: 20px; }
.content-body li { margin-bottom: 8px; list-style: disc; }
.content-body strong { color: var(--ink); }
.artwork-checklist { margin-top: 40px; padding: 32px; background: var(--paper-card); border: 1px solid var(--line); }
.artwork-checklist h4 { margin-top: 0; }
@media (max-width: 980px) { .content-layout { grid-template-columns: 1fr; gap: 40px; } .content-sticky { position: static; } }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); transition: color .2s; background: none; border: none; cursor: pointer; }
.faq-q:hover { color: var(--accent); }
.faq-toggle { flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: all .3s; position: relative; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; background: var(--ink); transition: transform .3s; }
.faq-toggle::before { width: 12px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 12px; }
.faq-item.is-open .faq-toggle { background: var(--ink); }
.faq-item.is-open .faq-toggle::before, .faq-item.is-open .faq-toggle::after { background: var(--paper); }
.faq-item.is-open .faq-toggle::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-item.is-open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 0 24px; max-width: 680px; color: var(--ink-muted); }

/* Contact */
.contact-layout { padding: 40px 0 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-size: clamp(40px,5vw,64px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 28px; }
.contact-info h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.contact-info > p { font-size: 17px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 40px; }
.contact-detail { padding: 22px 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: baseline; }
.contact-detail:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-detail h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.contact-detail p { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
.contact-detail p a { transition: color .2s; text-decoration: none; color: inherit; }
.contact-detail p a:hover { color: var(--accent); }
.contact-form-wrap { background: var(--paper-card); padding: 40px; border: 1px solid var(--line); }
.contact-form-wrap h3 { font-size: 24px; margin-bottom: 26px; }
.contact-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-wrap .form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-wrap label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; display: block; }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap select,
.contact-form-wrap textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-soft); background: white; font-size: 14px; outline: none; transition: border-color .2s; font-family: var(--font-body); border-radius: 0; }
.contact-form-wrap input:focus, .contact-form-wrap select:focus, .contact-form-wrap textarea:focus { border-color: var(--ink); }
.contact-form-wrap textarea { min-height: 140px; resize: vertical; }
@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } .contact-form-wrap { padding: 28px 22px; } .contact-detail { grid-template-columns: 1fr; gap: 4px; } }

/* ===== ABOUT PAGE ===== */
.about-stats { margin-top: 50px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.about-stat { padding: 24px; border: 1px solid var(--line); }
.about-stat .stat-num { font-family: var(--font-display); font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.about-stat .stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); }

/* ===== WOOCOMMERCE NOTICES ===== */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  background: var(--paper-card);
  border-top: 3px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  margin-bottom: 20px;
  list-style: none;
}
.woocommerce-notices-wrapper .woocommerce-error { border-top-color: #cc0000; }
.woocommerce-notices-wrapper .woocommerce-message { border-top-color: var(--success); }

/* ===== WOOCOMMERCE ACCOUNT ===== */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 60px; padding: 60px 0 100px; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation ul a { display: block; padding: 10px 0 10px 12px; font-size: 14px; color: var(--ink-soft); transition: all .2s; border-left: 2px solid transparent; margin-left: -12px; text-decoration: none; }
.woocommerce-MyAccount-navigation ul a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--ink); border-left-color: var(--accent); }
@media (max-width: 768px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 30px; } }

/* ===== PAGINATION ===== */
.woocommerce-pagination ul, nav.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; justify-content: center; margin-top: 60px; padding: 0; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 13px; text-decoration: none; color: var(--ink); transition: all .2s; }
.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.woocommerce-pagination ul li a:hover { border-color: var(--ink); }

/* ===== TOAST ===== */
.czd-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: var(--paper); padding: 16px 28px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 400; transition: transform .4s var(--ease);
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.czd-toast.is-visible { transform: translateX(-50%) translateY(0); }
.czd-toast-icon { width: 22px; height: 22px; background: var(--success); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ===== WOOCOMMERCE GENERAL CLEANUP ===== */
.woocommerce-page a:not(.btn):not(.button) { color: var(--ink); }
.woocommerce-page a:not(.btn):not(.button):hover { color: var(--accent); }
.woocommerce p.stars a { color: var(--accent); }
.woocommerce .star-rating span { color: var(--accent); }
.woocommerce .woocommerce-product-rating .star-rating { font-size: 14px; }
#add_payment_method .payment_methods, .woocommerce-checkout #payment .payment_methods { list-style: none; border: 1px solid var(--line-soft); }
#add_payment_method .payment_methods li, .woocommerce-checkout #payment .payment_methods li { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
#add_payment_method .payment_methods li:last-child, .woocommerce-checkout #payment .payment_methods li:last-child { border-bottom: none; }
.woocommerce #payment #place_order { display: flex; width: 100%; justify-content: center; margin-top: 20px; }

/* ── Stripe "save card" checkbox ───────────────────────── */
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew,
.woocommerce-checkout #payment .wc-stripe-new-payment-method-save-checkbox,
.woocommerce-checkout #payment p.form-row:has(#wc-stripe-new-payment-method) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper-warm, #fdf8f1);
}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"],
.woocommerce-checkout #payment p.form-row:has(#wc-stripe-new-payment-method) input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--ink);
  cursor: pointer;
  margin: 0;
}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label,
.woocommerce-checkout #payment p.form-row:has(#wc-stripe-new-payment-method) label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  margin: 0;
  line-height: 1.5;
}

/* ===== PRODUCT CONFIGURATION (single product) ===== */
.config-section { margin-bottom: 28px; }
.config-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.config-label h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.config-label .selected-value { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.08em; }

.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.option-btn {
  padding: 12px 10px;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  color: var(--ink);
}
.option-btn:hover { border-color: var(--ink); }
.option-btn.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.option-btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

/* File upload zone */
.file-upload {
  border: 1px dashed var(--ink-muted);
  padding: 28px 24px;
  text-align: center;
  background: var(--paper-card);
  cursor: pointer;
  transition: all .3s;
  position: relative;
  display: block;
}
.file-upload:hover, .file-upload.is-dragover { border-color: var(--accent); border-style: solid; background: var(--accent-soft); }
.file-upload input[type="file"] { display: none; }
.file-upload.dz-uploading, .file-upload.uploaded, .file-upload.dz-error { cursor: default; }
.file-upload-icon { width: 42px; height: 42px; margin: 0 auto 14px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.file-upload-content h5 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.file-upload-content p { font-size: 13px; color: var(--ink-muted); }

/* Uploading state */
.file-upload-progress { display: none; padding: 4px 0; }
.file-upload.dz-uploading .file-upload-content { display: none; }
.file-upload.dz-uploading .file-upload-progress { display: block; }
.file-upload.dz-uploading .file-upload-done { display: none !important; }
.file-upload.dz-uploading .file-upload-error { display: none !important; }
.up-filename { font-family: var(--font-mono); font-size: 12px; color: var(--ink); margin-bottom: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-track { height: 3px; background: var(--line-soft); }
.up-bar { height: 100%; background: var(--accent); width: 0%; transition: width .1s linear; }
.up-pct { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-align: right; margin-top: 8px; }

/* Done state */
.file-upload-done { display: none; align-items: center; gap: 14px; text-align: left; padding: 16px; background: white; border: 1px solid var(--success); }
.file-upload.uploaded .file-upload-content { display: none; }
.file-upload.uploaded .file-upload-done { display: flex; }
.file-upload.uploaded .file-upload-progress { display: none; }
.file-upload.uploaded .file-upload-error { display: none !important; }

/* Error state */
.file-upload-error { display: none; padding: 16px; }
.file-upload.dz-error .file-upload-content { display: none; }
.file-upload.dz-error .file-upload-error { display: block; }
.file-upload.dz-error .file-upload-progress { display: none; }
.file-upload.dz-error .file-upload-done { display: none !important; }
.file-upload.dz-error { border-color: var(--accent); border-style: solid; }
.up-error-text { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.up-retry-btn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); cursor: pointer; text-decoration: underline; background: none; border: none; padding: 0; }
.up-retry-btn:hover { color: var(--accent); }

/* Order notes */
.order-notes {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper-card);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
  min-height: 90px;
  display: block;
}
.order-notes:focus { border-color: var(--ink); }

/* Product actions row */
.product-actions { display: flex; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.product-actions .btn { flex: 1; justify-content: center; }

/* ===== FOCUS VISIBLE (accessibility) ===== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 1px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
  border-radius: 2px;
}

/* ==========================================================
   RESPONSIVE FIXES — additional breakpoints
   ========================================================== */

/* Testimonials: 3 → 2 columns at mid-range */
@media (max-width: 1100px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait (768px) — collapse layouts that broke too late */
@media (max-width: 768px) {
  .content-layout { grid-template-columns: 1fr; gap: 40px; }
  .content-sticky { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px 22px; }
  .contact-detail { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .newsletter { max-width: 100%; }
}

/* Prevent iOS auto-zoom on form inputs (font-size must be ≥16px) */
@media (max-width: 560px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important;
  }
  /* WC table: allow horizontal scroll rather than breaking layout */
  .woocommerce-cart-form { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .woocommerce table.shop_table { min-width: 480px; }
  /* Cart drawer inner padding reduction */
  .cart-drawer-items, .cart-drawer-footer { padding-left: 16px; padding-right: 16px; }
  .czd-fsb-wrap { padding: 0 16px !important; }
}

/* Small phones (480px) */
@media (max-width: 480px) {
  section { padding: 50px 0; }
  /* Mobile menu nav font size */
  .mobile-menu ul a { font-size: 28px; padding: 6px 0; }
  .mobile-menu { padding: 20px; }
  .mobile-menu-header { margin-bottom: 30px; }
  /* Buttons: reduce large padding */
  .btn-lg { padding: 16px 22px; }
  /* FAQ toggle touch target */
  .faq-toggle { width: 44px; height: 44px; }
  /* Artwork CTA buttons — stack vertically */
  .artwork-cta .btn { width: 100%; justify-content: center; }
  /* Product actions — stack */
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  /* Page header h1 — slightly tighter on smallest phones */
  .page-header-section h1 { font-size: clamp(36px, 10vw, 56px); }
}
