:root {
  --bg-0: #ece2c8;          /* beige/cream page */
  --bg-1: #e3d7b7;          /* deeper cream alt section */
  --bg-2: #fbf5e4;           /* warm cream card */
  --bg-3: #d4c59f;           /* warm gold-beige */
  --line: #d6c8a6;           /* warm beige hairline */
  --text: #1a1512;           /* deep warm charcoal */
  --text-muted: #645a4d;     /* warm medium taupe */
  --text-dim: #8f8470;       /* warm light taupe */
  --accent: #c8102e;         /* Leavin red */
  --accent-soft: #e8415a;
  --wood-warm: #8a5a33;      /* deepened to read on beige */
  --wood-deep: #5c3c20;
  --cream: #b8996e;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: 0.01em; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; line-height: 1.1; }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Layout */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 80px 0; } .container { padding: 0 20px; } }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(236,226,200,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(236,226,200,0.94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; }
.logo-img {
  height: 38px; width: auto; display: block;
  transition: opacity 0.3s var(--ease);
}
.logo:hover .logo-img { opacity: 0.82; }
@media (max-width: 480px) { .logo-img { height: 32px; } }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); transition: color 0.3s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-current { color: var(--text); }
.nav-links a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--wood-warm);
}
.nav-cta {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 10px 20px; border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { border-color: var(--accent); color: var(--text); background: rgba(200,16,46,0.06); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(236,226,200,0.98); backdrop-filter: blur(20px);
    padding: 24px 32px; border-top: 1px solid var(--line);
  }
  .nav-links.open a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open a:last-child { border-bottom: 0; }
}

/* Hero */
.hero {
  min-height: 100vh; position: relative; padding: clamp(110px, 12vw, 160px) 0 80px;
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(176,138,99,0.16), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(200,16,46,0.06), transparent 55%),
    linear-gradient(180deg, #ece2c8 0%, #dccea5 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,21,18,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,21,18,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero .eyebrow { display: block; margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 300; letter-spacing: -0.02em;
  margin-bottom: 24px; line-height: 1.05;
}
.hero h1 .accent { font-style: italic; color: var(--wood-warm); font-weight: 400; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 44px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--line); border-radius: 2px;
  transition: all 0.35s var(--ease); cursor: pointer;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #a80d25; border-color: #a80d25; transform: translateY(-1px); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn svg { width: 14px; height: 14px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-dim);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--text-dim), transparent); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Section headers */
.section-head { margin-bottom: 64px; max-width: 800px; }
@media (max-width: 640px) { .section-head { margin-bottom: 40px; } }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.01em; line-height: 1.08;
  margin-bottom: 18px;
}
.section-head h2 .accent { font-style: italic; color: var(--wood-warm); }
.section-head p { color: var(--text-muted); max-width: 640px; font-size: 1.02rem; }

/* About section */
.about { background: linear-gradient(180deg, #ece2c8 0%, #e3d7b7 100%); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 28px; }
.about-copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }
.about-copy p.lead { color: var(--text); font-size: 1.2rem; font-weight: 300; margin-bottom: 28px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 44px; padding-top: 44px;
  border-top: 1px solid var(--line);
}
.stat .num { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem, 2.4vw, 2.4rem); color: var(--wood-warm); line-height: 1; margin-bottom: 8px; }
.stat .lbl { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
@media (max-width: 560px) {
  .about-stats { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; padding-top: 32px; }
  .stat { display: grid; grid-template-columns: max-content 1fr; align-items: baseline; gap: 14px; }
  .stat .num { font-size: 1.6rem; margin-bottom: 0; }
  .stat .lbl { letter-spacing: 0.18em; font-size: 0.68rem; }
}

.about-visual {
  aspect-ratio: 4/5;
  background-image: url('images/brand/about-showroom.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d9c9a0;
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -20px rgba(92,60,32,0.22);
}
.about-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,21,18,0.05) 0%, transparent 35%, transparent 70%, rgba(26,21,18,0.15) 100%);
  pointer-events: none;
}
.about-visual .badge {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  padding: 6px 12px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text); border: 1px solid rgba(26,21,18,0.08); border-radius: 2px;
}

/* Product sections */
.products { background: var(--bg-1); }
.products:nth-of-type(even) { background: var(--bg-0); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
@media (max-width: 640px) {
  .product-grid { gap: 20px; }
}
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26,21,18,0.03);
}
.product-card:hover { border-color: var(--wood-warm); transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(26,21,18,0.18); }
.product-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #ddd0af;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-img::before {
  content: ""; position: absolute; inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-img::before { transform: scale(1.04); }
.product-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,21,18,0.12) 100%);
}
.product-img .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text); border: 1px solid rgba(26,21,18,0.08); border-radius: 2px;
}
.product-body { padding: 24px 22px 26px; }
.product-body h3 { font-size: 1.55rem; margin-bottom: 6px; letter-spacing: -0.005em; }
.product-body .meta { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.product-body p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }
.product-body .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--wood-warm);
  transition: gap 0.3s var(--ease);
}
.product-card:hover .product-body .arrow { gap: 14px; }

/* Full-bleed photo variant — image fills the card, text overlays at bottom */
.product-card--photo {
  position: relative;
  aspect-ratio: 4/5;
  padding: 0;
  background-color: var(--bg-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.product-card--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(26,21,18,0.35) 68%, rgba(26,21,18,0.88) 100%);
  transition: opacity 0.5s var(--ease);
}
.product-card--photo > .tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  padding: 6px 12px;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(8px);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text); border: 1px solid rgba(26,21,18,0.08); border-radius: 2px;
}
.product-overlay {
  position: relative; z-index: 2;
  padding: 28px 26px 26px;
  color: #fbf5e4;
}
.product-overlay h3 {
  font-size: 1.55rem; margin-bottom: 6px; letter-spacing: -0.005em;
  color: #fbf5e4;
}
.product-overlay .meta {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #e8c48a; margin-bottom: 12px;
}
.product-overlay p {
  font-size: 0.88rem; line-height: 1.55;
  color: rgba(251,245,228,0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-overlay .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: #e8c48a;
  transition: gap 0.3s var(--ease);
}
.product-card--photo:hover .product-overlay .arrow { gap: 14px; }
.product-card--photo:hover { transform: translateY(-4px); border-color: var(--wood-warm); }

@media (max-width: 640px) {
  .product-card--photo { aspect-ratio: 3/4; }
  .product-overlay { padding: 22px 20px 20px; }
  .product-overlay h3 { font-size: 1.3rem; }
  .product-overlay .meta { font-size: 0.66rem; margin-bottom: 8px; }
  .product-overlay p { font-size: 0.82rem; line-height: 1.45; }
  .product-overlay .arrow { margin-top: 12px; font-size: 0.66rem; }
}

/* "See all" call-to-action below each homepage section grid */
.see-all-wrap {
  display: flex; justify-content: center;
  margin-top: 56px;
}
@media (max-width: 640px) { .see-all-wrap { margin-top: 36px; } }
.see-all-btn {
  background: transparent;
  color: var(--text);
}
.see-all-btn:hover {
  border-color: var(--wood-warm);
  color: var(--wood-warm);
  background: rgba(138,90,51,0.04);
}
.see-all-btn svg { transition: transform 0.3s var(--ease); }
.see-all-btn:hover svg { transform: translateX(4px); }

/* Collection (sub-page) hero */
.collection-hero {
  padding: clamp(140px, 14vw, 180px) 0 60px;
  background:
    radial-gradient(circle at 18% 20%, rgba(176,138,99,0.18), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(200,16,46,0.05), transparent 55%),
    linear-gradient(180deg, #ece2c8 0%, #e3d7b7 100%);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) { .collection-hero { padding: 110px 0 40px; } }
.collection-hero .section-head { margin-bottom: 0; }
.collection-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.collection-back:hover { color: var(--wood-warm); gap: 12px; }
.collection-back svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* Placeholder visual variants — light, photographic-feeling tints */
.ph-desk-light {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(176,138,99,0.45), transparent 65%),
    linear-gradient(180deg, #f7f1e4 0%, #e7d9bd 100%);
}
.ph-desk-dark {
  background:
    radial-gradient(ellipse at 50% 65%, rgba(107,74,47,0.38), transparent 60%),
    linear-gradient(180deg, #efe4cf 0%, #d4bf9c 100%);
}
.ph-desk-exec {
  background:
    radial-gradient(ellipse at 60% 70%, rgba(200,140,80,0.32), transparent 55%),
    linear-gradient(135deg, #f3ecdd 0%, #dccdb1 100%);
}
.ph-desk-curved {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(184,153,110,0.30), transparent 60%),
    linear-gradient(180deg, #f5efe1 0%, #e3d4b8 100%);
}
.ph-chair-mesh {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(90,110,140,0.22), transparent 60%),
    linear-gradient(180deg, #edeff4 0%, #d6dce6 100%);
}
.ph-chair-exec {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(150,100,70,0.32), transparent 60%),
    linear-gradient(180deg, #f2e9d8 0%, #dfcaab 100%);
}
.ph-chair-lounge {
  background:
    radial-gradient(ellipse at 45% 60%, rgba(60,60,70,0.22), transparent 60%),
    linear-gradient(180deg, #ecebe6 0%, #d1cec4 100%);
}
.ph-chair-visitor {
  background:
    radial-gradient(ellipse at 55% 55%, rgba(160,90,60,0.28), transparent 55%),
    linear-gradient(180deg, #f1e6dc 0%, #e1c7b1 100%);
}
.ph-cab-tall {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(140,90,50,0.32), transparent 60%),
    linear-gradient(180deg, #f0e5d1 0%, #dbc6a4 100%);
}
.ph-cab-low {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(176,138,99,0.28), transparent 60%),
    linear-gradient(180deg, #f5eddc 0%, #e2d2b3 100%);
}
.ph-cab-glass {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(120,150,180,0.22), transparent 55%),
    linear-gradient(180deg, #edeef1 0%, #d7dbe1 100%);
}
.ph-cab-credenza {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(107,74,47,0.36), transparent 60%),
    linear-gradient(180deg, #ebdfca 0%, #d4bf9c 100%);
}
.ph-tpl-exec {
  background:
    radial-gradient(ellipse at 40% 50%, rgba(200,16,46,0.10), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(176,138,99,0.32), transparent 55%),
    linear-gradient(180deg, #f3ead7 0%, #dcc9a8 100%);
}
.ph-tpl-open {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(180,200,220,0.25), transparent 55%),
    linear-gradient(180deg, #eceff4 0%, #d4dae3 100%);
}
.ph-tpl-meet {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(107,74,47,0.30), transparent 60%),
    linear-gradient(180deg, #efe4cf 0%, #d6c19d 100%);
}
.ph-tpl-reception {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(216,201,176,0.35), transparent 60%),
    linear-gradient(180deg, #f4ecdb 0%, #ddcdb0 100%);
}

/* Templates */
.templates { background: linear-gradient(180deg, #ece2c8, #dfd2ae 50%, #ece2c8); }
.template-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
@media (max-width: 800px) { .template-grid { grid-template-columns: 1fr; gap: 20px; } }
.template-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line); border-radius: 2px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  transition: all 0.5s var(--ease);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26,21,18,0.03);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.template-card.featured {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  padding: 48px;
}
@media (max-width: 800px) { .template-card.featured { aspect-ratio: 4/3; padding: 32px; } }
.template-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(26,21,18,0.25) 70%, rgba(26,21,18,0.82) 100%);
  pointer-events: none;
}
.template-card h3, .template-card .num, .template-card p, .template-card .pieces { color: #fbf5e4; }
.template-card .num { color: #e8c48a; }
.template-card p { color: rgba(251,245,228,0.85); }
.template-card .pieces { color: rgba(251,245,228,0.65); }
.template-card.featured h3 { font-size: 2.6rem; }
@media (max-width: 800px) { .template-card.featured h3 { font-size: 2rem; } }
.template-card:hover { border-color: var(--wood-warm); box-shadow: 0 18px 44px -20px rgba(26,21,18,0.28); transform: translateY(-2px); }
.template-card > * { position: relative; z-index: 2; }
.template-card .num {
  font-family: 'Cormorant Garamond', serif; font-size: 0.95rem;
  letter-spacing: 0.25em; margin-bottom: 12px; font-style: italic;
}
.template-card h3 { font-size: 2rem; margin-bottom: 10px; letter-spacing: -0.005em; }
.template-card p { max-width: 560px; font-size: 0.95rem; line-height: 1.55; }
.template-card .pieces {
  margin-top: 16px; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.template-card .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: #e8c48a;
  transition: gap 0.3s var(--ease);
}
.template-card:hover .arrow { gap: 14px; }
/* Fallback background while real images are not yet saved */
.template-card { background-color: #2b211a; }

/* Mobile polish — keep text compact so the composition image stays visible */
@media (max-width: 640px) {
  .template-card { padding: 18px 16px; aspect-ratio: 4/3; }
  .template-card.featured { padding: 20px 18px; aspect-ratio: 4/3; }
  .template-card::before {
    background: linear-gradient(180deg, transparent 30%, rgba(26,21,18,0.35) 60%, rgba(26,21,18,0.88) 100%);
  }
  .template-card .num { font-size: 0.78rem; letter-spacing: 0.22em; margin-bottom: 8px; }
  .template-card h3,
  .template-card.featured h3 { font-size: 1.35rem; margin-bottom: 8px; line-height: 1.15; }
  .template-card p {
    font-size: 0.82rem; line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .template-card .pieces {
    margin-top: 10px; font-size: 0.6rem; letter-spacing: 0.18em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 380px) {
  .template-card p { -webkit-line-clamp: 2; }
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(200,16,46,0.08), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(176,138,99,0.16), transparent 55%),
    linear-gradient(180deg, #ece2c8, #e3d7b7);
  padding-bottom: 0;
}
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 24px; }
.contact .lead { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 44px; max-width: 520px; }

.contact-details { display: flex; flex-direction: column; gap: 36px; padding-top: 8px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--wood-warm);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item .label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.contact-item .value { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--text); line-height: 1.3; overflow-wrap: anywhere; }
.contact-item .value a:hover { color: var(--wood-warm); }
.contact-item .value .sep { color: var(--text-dim); margin: 0 10px; font-size: 0.9em; }
@media (max-width: 560px) {
  .contact-details { gap: 28px; }
  .contact-item { gap: 16px; }
  .contact-icon { width: 42px; height: 42px; }
  .contact-icon svg { width: 18px; height: 18px; }
  .contact-item .value { font-size: 1.1rem; }
  .contact-item .value .sep { margin: 0 6px; }
}

/* Map widget */
.map-link {
  position: relative;
  display: block;
  margin-top: 12px;
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #ddd0af;
  box-shadow: 0 1px 2px rgba(26,21,18,0.03);
  transition: all 0.5s var(--ease);
  cursor: pointer;
}
.map-link:hover { border-color: var(--wood-warm); box-shadow: 0 18px 40px -20px rgba(26,21,18,0.18); transform: translateY(-2px); }
.map-link iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  pointer-events: none; /* let clicks pass through to the anchor */
  filter: grayscale(0.15) contrast(0.96);
}
.map-link .map-badge {
  position: absolute; right: 14px; bottom: 14px;
  padding: 9px 14px;
  background: rgba(251,245,228,0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(26,21,18,0.08);
  border-radius: 2px;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s var(--ease);
}
.map-link:hover .map-badge { gap: 12px; color: var(--wood-warm); }
.map-link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26,21,18,0.12) 100%);
  pointer-events: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 32px;
  margin-top: 80px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.1em; }
.footer-inner .socials { display: flex; gap: 16px; }
.footer-inner .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
  color: var(--text-muted);
}
.footer-inner .socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-inner .socials svg { width: 16px; height: 16px; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Consultation modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,21,18,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px; opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 100%; max-width: 520px;
  padding: 48px 48px 40px;
  box-shadow: 0 50px 120px -30px rgba(26,21,18,0.5);
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-backdrop.open .modal { transform: translateY(0); }
@media (max-width: 560px) { .modal { padding: 36px 26px 30px; } }
.modal .close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px;
  border: 1px solid var(--line); background: transparent;
  border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: all 0.3s var(--ease);
}
.modal .close:hover { color: var(--text); border-color: var(--wood-warm); }
.modal .close svg { width: 14px; height: 14px; stroke-width: 1.5; }
.modal-eyebrow {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--wood-warm);
  margin-bottom: 14px;
}
.modal h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; letter-spacing: -0.005em;
  margin-bottom: 8px; color: var(--text);
  line-height: 1.15;
}
.modal .lead-small {
  font-size: 0.92rem; color: var(--text-muted);
  margin-bottom: 28px; line-height: 1.55;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 7px; font-weight: 500;
}
.form-row input {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}
.form-row input::placeholder { color: #b8ac92; }
.form-row input:focus { outline: none; border-color: var(--wood-warm); }
.form-row input:user-invalid,
.form-row input.invalid { border-color: var(--accent); }
.form-row .field-hint {
  display: none;
  font-size: 0.76rem; color: var(--accent);
  margin-top: 6px;
}
.form-row .field-hint.show { display: block; }

/* International phone input — theme overrides */
.iti { width: 100%; display: block; }
.iti__tel-input {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}
.iti__tel-input:focus { outline: none; border-color: var(--wood-warm); }
.iti--separate-dial-code .iti__tel-input { padding-left: 96px; }
.iti__selected-country {
  background: #faf3de !important;
  border-right: 1px solid var(--line);
  border-radius: 2px 0 0 2px;
  padding: 0 10px;
}
.iti__selected-country:hover,
.iti__selected-country[aria-expanded="true"] {
  background: #f3e9c9 !important;
}
.iti__selected-dial-code { color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.92rem; }
.iti__country-list {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 24px 48px -18px rgba(26,21,18,0.25);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  max-height: 280px;
}
.iti__country { padding: 8px 12px; }
.iti__country.iti__highlight,
.iti__country:hover { background: #f3e9c9 !important; }
.iti__dial-code { color: var(--text-dim); }
.iti__search-input {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
}
.iti__search-input:focus { outline: none; border-color: var(--wood-warm); }
.form-row input.iti__tel-input.invalid { border-color: var(--accent); }
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.form-actions .btn { justify-content: center; width: 100%; }
.form-alt {
  display: block; text-align: center;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 18px;
}
.form-alt a { color: var(--wood-warm); transition: color 0.3s var(--ease); }
.form-alt a:hover { color: var(--accent); }
.form-error {
  display: none;
  font-size: 0.82rem; color: var(--accent);
  margin-top: 12px; text-align: center;
}
.form-error.show { display: block; }
.form-success { display: none; text-align: center; padding: 14px 0 6px; }
.form-success.show { display: block; }
.form-success .tick {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--wood-warm);
  display: grid; place-items: center;
  color: var(--wood-warm);
}
.form-success h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; margin-bottom: 8px; color: var(--text);
}
.form-success p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }
body.modal-open { overflow: hidden; }

/* Locked product banner inside the consultation modal (shown when opened
   from "Enquire about this piece" on a product page). */
.modal-product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  margin: 0 0 24px;
  background: linear-gradient(180deg, rgba(176,138,99,0.10), rgba(176,138,99,0.04));
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood-warm);
  border-radius: 2px;
}
.modal-product[hidden] { display: none; }
.modal-product-cat {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--wood-warm);
  font-weight: 500;
}
.modal-product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

/* Optional message textarea inside the consultation modal */
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  resize: vertical;
  min-height: 96px;
  transition: border-color 0.3s var(--ease);
}
.form-row textarea::placeholder { color: #b8ac92; }
.form-row textarea:focus { outline: none; border-color: var(--wood-warm); }
.form-row-optional {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  background: rgba(176,138,99,0.10);
  border: 1px solid rgba(176,138,99,0.28);
  border-radius: 999px;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--wood-warm);
  text-transform: uppercase;
  font-weight: 500;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* =========================================================
   Product detail page
   ========================================================= */

.product-hero {
  padding: clamp(120px, 12vw, 160px) 0 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(176,138,99,0.16), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(200,16,46,0.04), transparent 55%),
    linear-gradient(180deg, #ece2c8 0%, #e3d7b7 100%);
}
@media (max-width: 768px) { .product-hero { padding-top: 100px; } }
.product-breadcrumb {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--line);
}
.product-breadcrumb .collection-back { margin-bottom: 0; }
.product-breadcrumb .collection-back svg { transform: rotate(180deg); }
@media (max-width: 560px) {
  .product-breadcrumb { gap: 16px; padding-bottom: 22px; }
  .product-breadcrumb .collection-back { font-size: 0.66rem; letter-spacing: 0.22em; }
}

.product-detail {
  padding: 64px 0 120px;
  background: linear-gradient(180deg, #e3d7b7 0%, #ece2c8 30%, #ece2c8 100%);
}
@media (max-width: 768px) { .product-detail { padding: 40px 0 80px; } }

.product-not-found {
  max-width: 640px;
  padding: 60px 0 40px;
}
.product-not-found .eyebrow { display: block; margin-bottom: 18px; }
.product-not-found h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.01em; line-height: 1.08;
  margin-bottom: 18px;
}
.product-not-found h2 .accent { font-style: italic; color: var(--wood-warm); }
.product-not-found p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.02rem; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 36px; } }

/* Gallery */
.product-gallery { position: sticky; top: 96px; }
@media (max-width: 900px) { .product-gallery { position: static; } }
.product-photo {
  aspect-ratio: 4/5;
  background: var(--bg-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 18px 50px -28px rgba(26,21,18,0.28);
  position: relative;
  overflow: hidden;
}
.product-photo--main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(26,21,18,0.06) 100%);
  pointer-events: none;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.product-thumb {
  aspect-ratio: 1/1;
  background: var(--bg-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0; cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}
.product-thumb:hover:not(.is-placeholder) { border-color: var(--wood-warm); transform: translateY(-1px); }
.product-thumb.is-active {
  border-color: var(--wood-warm);
  box-shadow: 0 0 0 1px var(--wood-warm);
}
.product-thumb.is-placeholder {
  cursor: default;
  background: repeating-linear-gradient(45deg, rgba(214,200,166,0.45) 0 6px, rgba(236,226,200,0.6) 6px 12px);
  display: grid; place-items: center;
}
.thumb-placeholder-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--text-dim);
  line-height: 1;
}

/* Info column */
.product-info { padding-top: 4px; }
.product-info .eyebrow { display: block; margin-bottom: 14px; }
.product-info h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 10px;
}
.product-meta {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.product-description {
  font-size: 1.04rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
@media (max-width: 560px) { .product-description { font-size: 0.98rem; } }

.product-specs {
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) {
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}
.spec-row dt {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  padding-top: 2px;
}
.spec-row dd {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.55;
}

.variant-list {
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.variant {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: border-color 0.3s var(--ease);
}
.variant:hover { border-color: var(--wood-warm); }
.variant--size,
.variant--config {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(26,21,18,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.variant-label { white-space: nowrap; }
.mock-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.product-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.product-cta-row .btn { padding: 14px 26px; }

/* Pieces (sets) */
.product-pieces {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) { .product-pieces { margin-top: 64px; padding-top: 48px; } }
.pieces-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.piece-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex;
}
.piece-card--linked:hover {
  border-color: var(--wood-warm);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -18px rgba(26,21,18,0.18);
}
.piece-link {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  padding: 0;
  color: inherit;
}
.piece-card:not(.piece-card--linked) { padding: 0; align-items: stretch; }
.piece-card:not(.piece-card--linked) > .piece-thumb { flex-shrink: 0; }
.piece-card:not(.piece-card--linked) > .piece-text { padding: 18px 18px 18px 4px; }
.piece-thumb {
  width: 96px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ddd0af;
}
.piece-thumb--placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(214,200,166,0.45) 0 8px, rgba(236,226,200,0.6) 8px 16px);
}
.piece-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px 16px 0;
  flex: 1;
  min-width: 0;
}
.piece-tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.piece-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}
.piece-meta {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.piece-arrow {
  align-self: center;
  padding: 0 18px 0 4px;
  color: var(--wood-warm);
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease);
}
.piece-card--linked:hover .piece-arrow { transform: translateX(4px); }

/* Recommendations */
.product-recs {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) { .product-recs { margin-top: 64px; padding-top: 48px; } }
.recs-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Clickable card wrappers */
.product-card-link,
.template-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card-link:focus-visible,
.template-card-link:focus-visible {
  outline: 2px solid var(--wood-warm);
  outline-offset: 4px;
  border-radius: 2px;
}

/* =========================================================
   Nav cart icon + badge
   ========================================================= */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.nav-cart:hover { color: var(--text); border-color: var(--wood-warm); background: rgba(138,90,51,0.06); }
.nav-cart.is-current { color: var(--text); border-color: var(--wood-warm); background: rgba(138,90,51,0.06); }
.nav-cart svg { width: 18px; height: 18px; }
.nav-cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 10px;
  border: 2px solid var(--bg-0);
  line-height: 1;
}
.nav-cart-badge[hidden] { display: none; }
@media (max-width: 900px) {
  /* Keep the cart visible even when the nav links collapse */
  .nav-cart { display: inline-flex; }
}

/* =========================================================
   Add-to-RFQ button on the product page
   ========================================================= */
.product-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.btn-rfq {
  background: var(--bg-2);
  border-color: var(--wood-warm);
  color: var(--wood-deep);
}
.btn-rfq:hover {
  background: var(--wood-warm);
  border-color: var(--wood-warm);
  color: #fff;
  transform: translateY(-1px);
}
.btn-rfq.btn-rfq-added {
  background: rgba(138,90,51,0.08);
  border-color: var(--wood-warm);
  color: var(--wood-deep);
}
.btn-rfq svg { width: 14px; height: 14px; }

/* =========================================================
   Cart page (cart.html)
   ========================================================= */
.cart-section { padding: 0 0 120px; }
@media (max-width: 768px) { .cart-section { padding: 0 0 80px; } }

.cart-empty {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 48px 32px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg-2);
}
.cart-empty .eyebrow { color: var(--text-muted); margin-bottom: 12px; display: inline-block; }
.cart-empty h3 {
  font-size: 1.8rem; margin-bottom: 12px;
  color: var(--text);
}
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }
.cart-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cart-empty-actions .btn { padding: 12px 18px; font-size: 0.72rem; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; gap: 24px; } }

.cart-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.3s var(--ease);
}
.cart-line:hover { border-color: var(--wood-warm); }
.cart-line-photo {
  width: 96px; height: 96px;
  background-size: cover; background-position: center;
  background-color: #2b211a;
  border-radius: 2px;
  display: block;
}
.cart-line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line-cat {
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.cart-line-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem; line-height: 1.15;
  color: var(--text);
  margin: 4px 0 4px;
}
.cart-line-name:hover { color: var(--wood-deep); }
.cart-line-meta {
  font-size: 0.85rem; color: var(--text-muted);
}
.cart-line-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--bg-0);
}
.qty-btn {
  width: 32px; height: 32px;
  background: transparent; border: 0;
  color: var(--text-muted);
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.qty-btn:hover { color: var(--text); background: rgba(138,90,51,0.08); }
.qty-input {
  width: 44px; height: 32px;
  border: 0; background: transparent;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; background: rgba(138,90,51,0.06); }

.cart-line-remove {
  width: 32px; height: 32px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
}
.cart-line-remove:hover { color: var(--accent); border-color: var(--accent); }
.cart-line-remove svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .cart-line {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      "photo info remove"
      "photo qty   qty";
    gap: 12px;
  }
  .cart-line-photo { width: 72px; height: 72px; grid-area: photo; }
  .cart-line-info { grid-area: info; }
  .cart-line-qty { grid-area: qty; justify-self: start; }
  .cart-line-remove { grid-area: remove; align-self: start; }
  .cart-line-name { font-size: 1.2rem; }
}

/* Summary card */
.cart-summary { position: sticky; top: 100px; }
@media (max-width: 900px) { .cart-summary { position: static; } }
.cart-summary-card {
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.cart-summary-card .eyebrow { display: inline-block; margin-bottom: 8px; }
.cart-summary-card h4 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.cart-summary-lead {
  font-size: 0.92rem; color: var(--text-muted);
  margin-bottom: 20px;
}
.cart-summary-dl {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cart-summary-dl > div {
  display: flex; justify-content: space-between;
  font-size: 0.86rem;
}
.cart-summary-dl dt { color: var(--text-muted); }
.cart-summary-dl dd { color: var(--text); font-weight: 500; }
.cart-submit-btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.cart-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.cart-clear-btn {
  width: 100%; padding: 10px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.cart-clear-btn:hover { color: var(--accent); }

/* =========================================================
   RFQ modal
   ========================================================= */
.modal-rfq { max-width: 600px; }
.rfq-items {
  margin: 12px 0 24px;
  padding: 16px;
  background: rgba(138,90,51,0.05);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.rfq-items-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.rfq-items-label {
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.rfq-items-count {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--wood-deep); font-weight: 500;
}
.rfq-items-list { list-style: none; max-height: 180px; overflow-y: auto; }
.rfq-items-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
  align-items: baseline;
}
.rfq-items-row:last-child { border-bottom: 0; }
.rfq-items-cat {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.rfq-items-name { color: var(--text); }
.rfq-items-qty { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rfq-items-empty {
  padding: 12px 0; color: var(--text-muted); font-size: 0.88rem; font-style: italic;
}

/* RFQ contact-preference radios */
.form-row-pref { border: 0; padding: 0; }
.form-row-pref legend {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
  margin-bottom: 10px; padding: 0;
}
.pref-option {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 18px; cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
}
.pref-option input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-0);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.pref-option input[type="radio"]:checked {
  border-color: var(--wood-warm);
}
.pref-option input[type="radio"]:checked::after {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wood-warm);
}

/* RFQ-specific textarea state */
.form-row textarea.invalid { border-color: var(--accent); }
