/* =========================================================
   Fast Windows & Doors — Main Stylesheet
   Aesthetic: Architectural editorial. Warm off-white base,
   deep midnight ink, brass accent. Serif display + clean grotesque.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #FAF8F4;
  --bg-card: #FFFFFF;
  --bg-deep: #0E1B2C;
  --ink: #0E1B2C;
  --ink-soft: #2C3848;
  --muted: #6E7681;
  --line: #E8E2D5;
  --line-soft: #F0EBDF;
  --brass: #B08D57;
  --brass-deep: #8E6F3F;
  --success: #2F6B4A;
  --danger: #B23A3A;

  --font-display: "Instrument Serif", "Playfair Display", Georgia, serif;
  --font-body: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "DM Mono", ui-monospace, monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 44, 0.05);
  --shadow: 0 8px 24px rgba(14, 27, 44, 0.08);
  --shadow-lg: 0 20px 60px rgba(14, 27, 44, 0.12);

  --container: 1240px;
  --container-narrow: 920px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass-deep);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section.section-tight { padding: 64px 0; }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .brand-dot {
  width: 8px; height: 8px; background: var(--brass); border-radius: 50%;
  display: inline-block; transform: translateY(-3px);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.nav-primary a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-primary a:hover { color: var(--ink); }
.nav-primary a.has-menu { display: inline-flex; align-items: center; gap: 4px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.2s;
  position: relative;
}
.cart-btn:hover { background: var(--ink-soft); }
.cart-count {
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.menu-toggle { display: none; }

/* Mega menu */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 280px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  display: grid;
  gap: 4px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--line-soft); color: var(--ink); }
.dropdown a .arrow { color: var(--brass); opacity: 0; transform: translateX(-4px); transition: 0.15s; }
.dropdown a:hover .arrow { opacity: 1; transform: translateX(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-deep); color: var(--bg); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 0; }
.btn-ghost:hover { color: var(--brass-deep); }
.btn-large { padding: 18px 36px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero h1 em { font-style: italic; color: var(--brass-deep); }
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .stat { flex: 1; }
.hero-meta .stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--ink);
  line-height: 1;
}
.hero-meta .stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a2940 0%, #0e1b2c 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(176, 141, 87, 0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(47, 107, 74, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 107, 74, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(47, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 107, 74, 0); }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 28px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item .icon {
  width: 36px; height: 36px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
  flex-shrink: 0;
}
.trust-item .label {
  font-size: 0.85rem;
  line-height: 1.3;
}
.trust-item .label strong { display: block; color: var(--bg); font-weight: 500; }
.trust-item .label span { color: rgba(250, 248, 244, 0.65); font-size: 0.8rem; }

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head .head-text { max-width: 640px; }
.section-head h2 { margin-bottom: 0.2em; }
.section-head .lead { margin: 0; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card .pc-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f0e3 0%, #e8e2d5 100%);
  position: relative;
  overflow: hidden;
}
.product-card .pc-image svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-card .pc-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.product-card .pc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin-bottom: 0.3em; }
.product-card .pc-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; flex: 1; }
.product-card .pc-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.product-card .pc-price {
  display: flex; align-items: baseline; gap: 6px;
}
.product-card .pc-from {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card .pc-amount { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.product-card .pc-link {
  color: var(--brass-deep);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card .pc-link:hover { color: var(--ink); }

/* ---------- Process steps ---------- */
.process {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 96px 0;
}
.process h2 { color: var(--bg); }
.process .eyebrow { color: var(--brass); }
.process .lead { color: rgba(250, 248, 244, 0.7); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(176, 141, 87, 0.25);
}
.process-step { position: relative; }
.process-step .num {
  width: 48px; height: 48px;
  background: var(--brass);
  color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}
.process-step h4 { color: var(--bg); margin-bottom: 8px; }
.process-step p { color: rgba(250, 248, 244, 0.65); font-size: 0.95rem; }

/* ---------- Supply vs Install ---------- */
.options-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.option-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.option-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.option-card.featured h3 { color: var(--bg); }
.option-card.featured .lead { color: rgba(250, 248, 244, 0.75); }
.option-card .opt-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 16px;
  display: inline-block;
}
.option-card.featured .opt-tag { color: var(--brass); }
.option-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}
.option-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.option-card.featured li { border-color: rgba(250, 248, 244, 0.1); }
.option-card li::before {
  content: "✓";
  color: var(--brass);
  font-weight: 700;
}

/* ---------- Configurator (product detail page) ---------- */
.product-page { padding: 56px 0 96px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 10px; opacity: 0.5; }

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-visual {
  position: sticky;
  top: 96px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #f5f0e3 0%, #e8e2d5 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual svg { width: 100%; height: 100%; }

.product-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.2em;
}
.product-info .product-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 12px;
  display: inline-block;
}
.product-info .product-blurb {
  color: var(--ink-soft);
  margin: 16px 0 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* Configurator fields */
.config-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.config-section:last-of-type { border-bottom: 0; }
.config-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}
.config-label .selected-value {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill:hover { border-color: var(--ink); }
.pill.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.pill .upcharge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.7;
}

.colour-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: center;
  width: 78px;
}
.swatch .swatch-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.swatch:hover .swatch-circle { transform: scale(1.05); }
.swatch.selected .swatch-circle {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink);
}
.swatch-name {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.2;
}

/* Size inputs */
.size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.size-input {
  display: block;
  position: relative;
}
.size-input label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.size-input input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 1rem;
  font-family: var(--font-mono);
  transition: border-color 0.2s;
}
.size-input input:focus {
  outline: none;
  border-color: var(--ink);
}
.size-suffix {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(2px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  pointer-events: none;
}

/* Quantity */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink-soft);
  transition: background 0.15s;
}
.qty-control button:hover { background: var(--line-soft); }
.qty-control input {
  width: 56px;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1rem;
  outline: none;
  padding: 0;
}

/* Install toggle */
.install-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--line-soft);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 12px;
}
.install-toggle button {
  padding: 14px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.install-toggle button.active {
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.install-toggle button .opt-meta {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.install-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--line-soft);
  padding: 12px 14px;
  border-radius: var(--radius);
  border-left: 2px solid var(--brass);
}

/* Price summary */
.price-summary {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}
.price-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-line.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--ink);
}
.price-line.total .label { font-family: var(--font-body); font-size: 0.95rem; }

.add-cart-btn {
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  font-size: 1rem;
}
.add-cart-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Specs table */
.specs-table {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
}
.specs-table th, .specs-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
}
.specs-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  width: 40%;
}

/* ---------- Cart ---------- */
.cart-page { padding: 56px 0 96px; }
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cart-item-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5f0e3 0%, #e8e2d5 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cart-item-info h4 { font-size: 1.1rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.cart-item-meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 8px;
}
.cart-item-meta span:not(:last-child)::after { content: "·"; margin-left: 14px; opacity: 0.5; }
.install-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.install-tag.supply { background: #ECE6D6; color: var(--brass-deep); }
.install-tag.installed { background: #D7E4DA; color: var(--success); }
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}
.cart-item-price { font-family: var(--font-display); font-size: 1.35rem; }
.cart-remove {
  background: none;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: var(--line);
}
.cart-remove:hover { color: var(--danger); }

.cart-summary {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.cart-summary h3 { margin-bottom: 24px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--ink-soft);
}
.summary-line.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 18px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  align-items: baseline;
}
.summary-line.total .label { font-family: var(--font-body); font-size: 1rem; }
.checkout-btn { width: 100%; margin-top: 24px; }
.empty-cart {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty-cart h3 { margin-bottom: 12px; }
.empty-cart p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-grid h4.brand-foot {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--bg);
  font-weight: 400;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(250, 248, 244, 0.7);
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-grid a:hover { color: var(--brass); }
.footer-grid p { color: rgba(250, 248, 244, 0.7); font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(250, 248, 244, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(250, 248, 244, 0.5);
  font-size: 0.85rem;
}

/* ---------- Forms / contact ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Page header generic ---------- */
.page-head {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-head .lead { font-size: 1.2rem; }

/* ---------- Content prose ---------- */
.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 70ch;
}
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 24px; }
.prose ul li { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.4rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--brass);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--ink-soft); margin-top: 16px; padding-right: 32px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 200;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .toast-icon {
  width: 24px; height: 24px;
  background: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.fade-up.d-1 { animation-delay: 0.1s; }
.fade-up.d-2 { animation-delay: 0.2s; }
.fade-up.d-3 { animation-delay: 0.3s; }
.fade-up.d-4 { animation-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .hero-grid, .product-layout, .cart-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-visual, .cart-summary { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .options-split { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-primary { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }
  .menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
  .nav-primary.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 14px; padding: 16px; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .option-card { padding: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
