/* =========================================================
   WallHaus — brand stylesheet
   Edit the tokens in :root to re-skin the whole site.
   ========================================================= */
:root {
  --ink: #141414;
  --ink-2: #2a2a2a;
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --concrete: #d9d3c7;
  --steel: #6b6b6b;
  --signal: #ff5a1f;
  --signal-dark: #d94512;
  --white: #ffffff;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 120px);
  --border: 2px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--alt { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--signal);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--steel); max-width: 60ch; }
.section--ink .lead { color: #b9b4aa; }
.section-head { max-width: 720px; margin-bottom: 56px; }

/* Layer stripes — the brand's signature motif */
.layers { display: grid; gap: 6px; }
.layers span { height: 10px; background: var(--ink); border-radius: 2px; }
.layers span:nth-child(3) { background: var(--signal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border: var(--border); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  background: var(--ink); color: var(--paper);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--signal); }
.btn--signal { background: var(--signal); border-color: var(--signal); color: var(--white); }
.btn--signal:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.section--ink .btn--ghost { color: var(--paper); border-color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .92); backdrop-filter: blur(8px);
  border-bottom: var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--signal); }
.nav-toggle { display: none; background: none; border: var(--border); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-top: 1px solid var(--concrete); }
  .nav .btn { margin: 16px var(--gutter); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 var(--section); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--signal); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .stack { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hero-art .stack span {
  display: block; height: 9%; background: var(--ink); border-radius: 3px;
  animation: build .6s cubic-bezier(.2,.8,.2,1) both;
}
.hero-art .stack span:nth-child(odd) { margin-right: 12%; }
.hero-art .stack span:nth-child(3n) { background: var(--signal); }
.hero-art .stack span:nth-child(1) { animation-delay: .70s; width: 40%; margin-left: 30%; }
.hero-art .stack span:nth-child(2) { animation-delay: .60s; width: 56%; margin-left: 22%; }
.hero-art .stack span:nth-child(3) { animation-delay: .50s; width: 72%; margin-left: 14%; }
.hero-art .stack span:nth-child(4) { animation-delay: .40s; width: 86%; margin-left: 7%; }
.hero-art .stack span:nth-child(5) { animation-delay: .30s; width: 100%; }
.hero-art .stack span:nth-child(6) { animation-delay: .20s; width: 100%; }
.hero-art .stack span:nth-child(7) { animation-delay: .10s; width: 100%; }
@keyframes build { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-art .stack span { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; }
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--signal); color: var(--white); border-block: var(--border); overflow: hidden; }
.strip-track { display: flex; gap: 48px; padding: 14px 0; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.strip-track span { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.strip-track span::after { content: "■"; margin-left: 48px; font-size: 10px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: var(--border); border-radius: var(--radius); padding: 28px; }
.section--ink .card { background: var(--ink-2); border-color: #3a3a3a; }
.card .num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--signal); letter-spacing: .1em; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--steel); }
.card p { color: var(--steel); margin: 0; }
.section--ink .card p, .section--ink .card ul { color: #b9b4aa; }

.value-icon { width: 44px; height: 44px; margin-bottom: 18px; }

/* ---------- Shop ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  padding: 8px 16px; border: var(--border); border-radius: 999px; background: transparent;
  font-family: var(--font-display); font-weight: 500; font-size: 14px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.product { display: flex; flex-direction: column; background: var(--white); border: var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.product:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.product-media { aspect-ratio: 1; background: var(--paper-2); border-bottom: var(--border); display: grid; place-items: center; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .placeholder { width: 45%; }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); }
.product h3 { font-size: 19px; margin: 0; }
.product p { color: var(--steel); font-size: 15px; margin: 0; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.shop-note { margin-top: 32px; color: var(--steel); font-size: 15px; }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.process .card { position: relative; padding-top: 64px; }
.process .card::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 20px; left: 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--signal);
}

/* ---------- Materials table ---------- */
.table-wrap { overflow-x: auto; border: var(--border); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--concrete); vertical-align: top; }
th { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-art { aspect-ratio: 4/5; background: var(--ink); border-radius: var(--radius); display: grid; place-items: center; padding: 15%; }
@media (max-width: 860px) { .about .container { grid-template-columns: 1fr; } .about-art { aspect-ratio: 16/9; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: var(--border); padding: 4px 0; }
.faq details:last-child { border-bottom: var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; color: var(--signal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--steel); padding-bottom: 12px; margin: 0; }

/* ---------- Quote form ---------- */
.quote .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
@media (max-width: 860px) { .quote .container { grid-template-columns: 1fr; } }
form.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { form.quote-form { grid-template-columns: 1fr; } }
label { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: var(--border); border-radius: var(--radius); padding: 13px 14px; width: 100%;
}
.section--ink input, .section--ink select, .section--ink textarea { background: var(--ink-2); color: var(--paper); border-color: #4a4a4a; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--signal); outline-offset: 1px; }
textarea { min-height: 130px; resize: vertical; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); background: var(--signal); color: var(--white); font-weight: 600; display: none; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b4aa; padding: 72px 0 32px; border-top: 6px solid var(--signal); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: var(--paper); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { background: var(--ink-2); border-color: #4a4a4a; color: var(--paper); padding: 10px 12px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #333; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- Utilities ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   v2 additions: local section, product pages, uploads
   ========================================================= */
.h3 { font-size: 22px; font-weight: 600; margin-top: 32px; }
.label { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.stars { color: var(--signal); font-size: 15px; letter-spacing: 1px; }
.muted-sm { font-size: 13px; color: var(--steel); }
.product h3 a { text-decoration: none; }
.product h3 a:hover { color: var(--signal); }
.product-media { text-decoration: none; }

/* Address / NAP */
.nap { font-style: normal; line-height: 1.7; margin: 18px 0; }
.site-footer .nap { color: #b9b4aa; font-size: 15px; }
.site-footer .nap strong { color: var(--paper); }

/* Local section + map */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.map-wrap { display: grid; gap: 14px; justify-items: start; }
.map-wrap iframe { width: 100%; aspect-ratio: 4/3; border: var(--border); border-radius: var(--radius); background: var(--paper-2); }
.area-list { columns: 2; padding-left: 18px; color: var(--steel); }
@media (max-width: 860px) { .local-grid { grid-template-columns: 1fr; } }

/* Upload dropzone */
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 32px 20px; border: 2px dashed var(--steel); border-radius: var(--radius);
  background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .15s, background .15s;
  font-weight: 400;
}
.dropzone strong { font-family: var(--font-display); font-size: 17px; }
.dropzone > span { font-size: 14px; color: #b9b4aa; }
.dropzone:hover, .dropzone.drag { border-color: var(--signal); background: rgba(255, 90, 31, .08); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 3px solid var(--signal); outline-offset: 2px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #4a4a4a; border-radius: var(--radius); background: var(--ink-2); font-size: 15px; }
.file-list .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fsize { color: #b9b4aa; font-size: 13px; }
.file-list button { background: none; border: 0; color: var(--signal); font-size: 22px; line-height: 1; cursor: pointer; }
.file-list li.err { border-color: var(--signal); color: var(--signal); }
.form-msg.err { background: #8a1f00; }
button[disabled] { opacity: .6; cursor: wait; }

/* Product detail pages */
.crumbs { padding-top: 24px; font-size: 14px; color: var(--steel); }
.crumbs a { color: var(--steel); }
.pdp { padding-top: 32px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-media { aspect-ratio: 1; background: var(--white); border: var(--border); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; position: sticky; top: 96px; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .placeholder { width: 50%; }
.pdp-title { font-size: clamp(32px, 4.5vw, 52px); }
.pdp-price { font-size: 34px; margin: 8px 0 18px; }
.pdp .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(-45deg); }
.pdp td:first-child { white-space: normal; width: 38%; }
@media (max-width: 860px) { .pdp-grid { grid-template-columns: 1fr; } .pdp-media { position: static; } }
.hero--sm .container { grid-template-columns: 1fr; }
.hero--sm .container > div { max-width: 860px; }
.hero--sm .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* =========================================================
   v3: instant quote, locations, CTA
   ========================================================= */
.qt-section { padding-top: 48px; }
.qt-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.qt-left { display: grid; gap: 20px; }
.qt-right { position: sticky; top: 92px; }
@media (max-width: 960px) { .qt-grid { grid-template-columns: 1fr; } .qt-right { position: static; } }
.qt-drop { background: var(--white); border-color: var(--ink); color: var(--ink); padding: 44px 20px; }
.qt-drop > span { color: var(--steel); }
.qt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
@media (max-width: 560px) { .qt-row { grid-template-columns: 1fr; } }
.qt-opts select, .qt-opts input, .qt-product select, .qt-product input { background: var(--paper); }
.qt-items { display: grid; gap: 10px; }
.qt-items:empty { display: none; }
.qt-item { display: flex; gap: 14px; align-items: center; background: var(--white); border: var(--border); border-radius: var(--radius); padding: 14px 16px; }
.qt-item-main { flex: 1; display: grid; gap: 2px; min-width: 0; }
.qt-item-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-qty { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.qt-qty input { width: 76px; padding: 8px 10px; }
.qt-remove { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--steel); cursor: pointer; }
.qt-remove:hover { color: var(--signal); }
.qt-err { color: var(--signal-dark); font-size: 13px; font-weight: 600; }
.qt-summary { border-width: 3px; }
.qt-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15px; }
.qt-table td { padding: 10px 0; border-bottom: 1px solid var(--concrete); vertical-align: top; font-family: var(--font-body); font-weight: 400; white-space: normal; }
.qt-table td:first-child { font-family: var(--font-body); font-weight: 400; }
.qt-table td.amt, .qt-table tr td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.qt-table .qt-sub { font-size: 12px; color: var(--steel); margin-top: 2px; }
.qt-table tr.good td { color: #1f7a3f; font-weight: 600; }
.qt-table tr.total td { border-bottom: 0; border-top: 3px solid var(--ink); font-size: 20px; padding-top: 14px; font-family: var(--font-display); }
.qt-nudge { background: rgba(255, 90, 31, .1); border-left: 4px solid var(--signal); padding: 10px 14px; margin: 14px 0 0; font-size: 15px; }
.qt-tiers { margin: 18px 0 8px; font-size: 14px; }
.qt-tiers summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; }
.qt-tiers table { min-width: 0; margin-top: 8px; }
.qt-tiers td { padding: 6px 10px; font-family: var(--font-body) !important; font-weight: 400 !important; }
.qt-tiers tr.on td { background: var(--ink); color: var(--paper); }
.qt-cta { width: 100%; margin-top: 12px; }
.qt-summary .muted-sm { margin-top: 10px; }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
.order-total-wrap { font-size: 20px; margin: 24px 0; }
.order-total-wrap strong { color: var(--signal); font-family: var(--font-display); font-size: 30px; margin-left: 6px; }
.section--ink .checks li { color: #d8d3c8; }

/* Home CTA mock breakdown */
.quote-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.quote-cta .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-breakdown { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 10px 10px 0 var(--signal); display: grid; gap: 0; }
.cta-breakdown div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--concrete); font-size: 16px; }
.cta-breakdown .good { color: #1f7a3f; font-weight: 700; }
.cta-breakdown .tot { border: 0; border-top: 3px solid var(--ink); margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
@media (max-width: 860px) { .quote-cta { grid-template-columns: 1fr; } }

.loc-card .nap { margin: 10px 0; }
.steps { padding-left: 22px; display: grid; gap: 6px; }

/* =========================================================
   v4: trust bar, reviews, comparison, articles
   ========================================================= */
.trust { border-top: var(--border); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: grid; gap: 2px; padding: 22px 20px; border-left: 1px solid var(--concrete); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.trust-item span { font-size: 14px; color: var(--steel); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3) { border-left: 0; padding-left: 0; } .trust-item { padding: 16px 12px; } }

.rev-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: -24px 0 32px; }
.rev-big { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; }
.rev-summary .stars { font-size: 24px; }
.rev-prod { display: grid; gap: 8px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.rev-prod:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.rev-prod strong { font-family: var(--font-display); font-size: 19px; }
.review blockquote { margin: 12px 0 16px; font-size: 17px; line-height: 1.55; }
.review figcaption { font-size: 15px; }
.rev-cta { margin-top: 24px; }

.compare table { min-width: 640px; }
.compare td, .compare th { padding: 14px 18px; }
.section--ink .compare { background: var(--ink-2); border-color: #3a3a3a; }
.section--ink .compare td { border-color: #3a3a3a; color: #d8d3c8; }
.compare td.yes { color: var(--paper); font-weight: 600; }
.compare td.yes::before { content: "✓ "; color: var(--signal); }
.compare td.no { color: #8e897f; }
.compare th { background: #000; }
.compare th:nth-child(2), .compare td:nth-child(2) { background: rgba(255, 90, 31, .12); }

.article { padding-top: 32px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: 92px; display: grid; gap: 18px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }
.article-title { font-size: clamp(34px, 5vw, 56px); }
.article-meta { color: var(--steel); font-size: 14px; margin-top: -8px; }
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 48px; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--signal-dark); text-underline-offset: 3px; }
.prose table { min-width: 0; margin: 24px 0; background: var(--white); border: var(--border); font-size: 16px; }
.prose td:first-child { white-space: normal; }
.prose .answer { font-size: 21px; line-height: 1.55; border-left: 5px solid var(--signal); padding: 4px 0 4px 20px; margin: 8px 0 32px; }
.prose .btn { margin: 8px 8px 0 0; }
.aside-card h2 { font-size: 20px; }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.guide-card { display: grid; gap: 6px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.guide-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.foot-links a { margin: 0 4px; }

.card-link { display: inline-block; margin-top: 16px; color: var(--signal); font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
@media (max-width: 1100px) and (min-width: 961px) { .nav { gap: 16px; } .nav a { font-size: 14px; } }

/* v5: order recap */
.order-recap { background: var(--ink-2); border-color: #3a3a3a; color: var(--paper); margin: 20px 0 24px; }
.recap-title { font-size: 18px; margin: 0 0 12px; }
.recap-files { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.recap-files li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: rgba(255,255,255,.05); border-radius: var(--radius); font-size: 15px; }
.recap-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recap-settings { font-size: 14px; color: #b9b4aa; margin: 0 0 10px; }
.recap-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #3a3a3a; font-size: 15px; color: #d8d3c8; }
.recap-row.good span:last-child { color: #7ad69a; font-weight: 600; }
.recap-row.tot { border: 0; border-top: 2px solid var(--paper); margin-top: 4px; padding-top: 10px; font-family: var(--font-display); font-size: 20px; color: var(--paper); }
.recap-row.tot span:last-child { color: var(--signal); }
.recap-id { font-size: 13px; color: #8e897f; margin: 10px 0 0; }
.recap-id a, .recap-empty a { color: var(--signal); }
.recap-empty { margin: 0; color: #d8d3c8; }
.more-opts { border: 1px dashed #4a4a4a; border-radius: var(--radius); padding: 10px 14px; }
.more-opts summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #d8d3c8; }
.more-opts .field { margin-top: 12px; }
.btn--big { width: 100%; padding: 18px 26px; font-size: 18px; }
#order .order-total-wrap { margin: 14px 0 0; text-align: center; font-size: 17px; }
#order .quote-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { #order .quote-grid { grid-template-columns: 1fr; } }
form.quote-form { align-content: start; }
.recap-files li { flex-wrap: wrap; }
.recap-name { white-space: normal; word-break: break-word; flex: 1 1 60%; }
.recap-files li > span:last-child { white-space: nowrap; }
.order-recap .recap-files { padding-left: 0; margin-top: 0; }

/* v6: 3D viewer, quote tools, print */
.qt-viewer { padding: 0; overflow: hidden; position: relative; background: linear-gradient(180deg, #fff, var(--paper-2)); }
.qv-canvas { height: 340px; cursor: grab; }
.qv-canvas:active { cursor: grabbing; }
.qv-label { position: absolute; left: 14px; top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 14px; background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; }
.qv-hint { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--steel); }
.qt-view { background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.qt-item.is-viewing { box-shadow: inset 4px 0 0 var(--signal); }
.qt-item.is-viewing .qt-view { background: var(--ink); color: var(--paper); }
.qt-shipby { margin: 16px 0 0; font-size: 15px; }
.qt-tools { display: flex; gap: 8px; margin-top: 10px; }
.qt-tool { flex: 1; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer; }
.qt-tool:hover { background: var(--ink); color: var(--paper); }
@media print {
  body.printing-quote .site-header, body.printing-quote .site-footer, body.printing-quote .qt-hero,
  body.printing-quote .qt-left, body.printing-quote #order, body.printing-quote .qt-cta, body.printing-quote .qt-tools,
  body.printing-quote main > section:not(.qt-section) { display: none !important; }
  body.printing-quote .qt-grid { display: block; }
  body.printing-quote .qt-right { position: static; }
  body.printing-quote .qt-summary::before { content: "WallHaus · Instant 3D printing quote"; display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 12px; }
  body.printing-quote .qt-tiers { display: block; }
}

.site-footer .foot-title { color: var(--paper); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-display); }

/* v7: cart + checkout */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: var(--border); border-radius: var(--radius); color: var(--ink); }
.cart-link:hover { background: var(--ink); color: var(--paper); }
.cart-count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--signal); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
@media (max-width: 960px) { .nav .cart-link { margin: 12px var(--gutter); } }
.cart-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 12px 14px 12px 18px; border-radius: 8px; display: flex; gap: 16px; align-items: center; z-index: 100; transition: transform .25s; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.cart-toast.show { transform: translate(-50%, 0); }
.cart-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-grid > div { display: grid; gap: 20px; }
.cart-items { padding: 8px 20px; }
.cart-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--concrete); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img, .cart-thumb-ph { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; background: var(--paper-2); flex: none; }
.cart-info { flex: 1; display: grid; gap: 2px; min-width: 0; }
.cart-info a { text-decoration: none; }
.cart-line { font-family: var(--font-display); font-weight: 700; min-width: 72px; text-align: right; }
.checkout-form { display: grid; gap: 12px; margin-top: 18px; }
.checkout-note { margin: 0; }
.cart-empty { max-width: 560px; }
.buybox { border: var(--border); border-radius: var(--radius); background: var(--white); padding: 18px; margin: 22px 0 8px; display: grid; gap: 12px; }
.buybox-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buybox-row .field { flex: 1; min-width: 120px; }
.buybox-row input, .buybox-row select { padding: 10px 12px; }
.buybox-note { margin: 0; }

/* v8: product photo gallery */
.pdp-gallery { position: sticky; top: 96px; display: grid; gap: 12px; }
.pdp-gallery .pdp-media { position: static; }
.pdp-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid var(--concrete); border-radius: var(--radius); background: var(--white); cursor: pointer; overflow: hidden; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.on, .pdp-thumb:hover { border-color: var(--signal); }
@media (max-width: 860px) { .pdp-gallery { position: static; } }
