/* Original design system — "premium interior material catalogue".
   Direction: neutral background, product surface dominant, one accent colour,
   spec tables as the primary trust object, mobile first. */

/* Image Offensive — Owner-supplied photography.
   Every image carries intrinsic width/height so the box is reserved before load. */
.owner-media picture { display: block; }
.owner-hero-img img, .owner-hero .owner-media img {
  width: 100%; height: auto; border-radius: 14px; background: var(--line);
}
.owner-hero img { max-height: 460px; object-fit: cover; }
.owner-gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin: 12px 0 8px;
}
.owner-gallery img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: 12px; background: var(--line);
}
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #1d1c1a;
  --ink-soft: #5b5852;
  --line: #e3e0da;
  --accent: #0f6b4f;
  --accent-ink: #ffffff;
  --warn-bg: #fff7e6;
  --warn-line: #e6c98a;
  --radius: 14px;
  --maxw: 1120px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.62; font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* header */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.head-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
/* Owner brand logo (square, 1:1). Height-driven so the artwork never distorts. */
.brand .brand-logo { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.brand span { white-space: nowrap; }
.foot-brand { display: inline-block; margin-bottom: 12px; }
.foot-brand img { height: 72px; width: auto; object-fit: contain; }
@media (max-width: 720px) {
  .brand .brand-logo { height: 38px; }
  .brand span { white-space: normal; }
  .foot-brand img { height: 56px; }
}
.main-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.head-cta { background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; }

main { padding: 22px 18px 60px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 10px 0 18px; }
.crumbs a { color: var(--ink-soft); }
.page-h1 { font-size: clamp(26px, 4.2vw, 40px); line-height: 1.2; margin: 6px 0 18px; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--ink-soft); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--accent); font-weight: 700; margin: 0; }

/* hero */
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 26px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: center; }
.hero-lead { font-size: clamp(20px, 3vw, 28px); line-height: 1.3; margin: 8px 0 12px; }
.hero-media img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 780px) { .hero-inner { grid-template-columns: 1fr; } }

/* sections */
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.sec h2 { font-size: clamp(19px, 2.4vw, 24px); margin: 0 0 14px; }
.sec h3 { font-size: 18px; margin: 0 0 6px; }
.article p { max-width: 74ch; }
.article ol, .article ul { max-width: 78ch; }
.src { font-size: 13.5px; color: var(--ink-soft); border-left: 3px solid var(--line); padding-left: 10px; }

/* buyer routes */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.route { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-decoration: none; color: var(--ink); }
.route:hover { border-color: var(--accent); }
.route p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* spec strip */
.spec-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.spec-item { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.spec-k { font-size: 13px; color: var(--ink-soft); }
.spec-v { font-size: 17px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.catalog-table td:first-child { font-weight: 600; white-space: nowrap; }

/* price */
.price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.price small { font-weight: 400; color: var(--ink-soft); }
.price.quote { font-weight: 500; color: var(--ink-soft); }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.pdp-price .price { font-size: 24px; }
.pdp-m2 { color: var(--ink-soft); font-size: 15px; }
.pdp-sku { color: var(--ink-soft); margin: 0; }

/* CTA */
.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.btn { display: inline-block; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; padding: 11px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; font-size: 15px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost { background: transparent; }
.cta-code { font-size: 14px; color: var(--ink-soft); }

/* data pending */
.pending { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 12px 14px; margin: 14px 0; font-size: 15px; }
.pending-why { color: var(--ink-soft); }
.dev-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.notice { background: var(--bg); border-left: 3px solid var(--accent); padding: 10px 12px;
  border-radius: 0 8px 8px 0; font-size: 15px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip-mini { display: inline-block; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 8px; font-size: 12.5px; margin-right: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px;
  margin-top: 12px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; }
.pcard img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pcard h3 { font-size: 16px; margin: 8px 0 4px; }
.pcard-name { font-size: 14px; margin: 0 0 6px; color: var(--ink-soft); }
.pcard-pat { font-size: 13px; margin: 0 0 6px; }
.pcard-thick { margin: 0 0 6px; }
.pcard-price { font-weight: 700; margin: 0; }
.tag-warn { display: inline-block; background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: 999px; font-size: 11px; padding: 1px 7px; color: #8a6a1f; }
.dev-gated { border-style: dashed; }
.dev-tag { display: inline-block; background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: 999px; font-size: 11px; letter-spacing: .08em; padding: 2px 9px;
  vertical-align: middle; margin-left: 8px; color: #8a6a1f; }
.btn.dev-gated { opacity: .85; }

/* faq */
.faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; background: var(--surface); }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-a p { margin: 10px 0 2px; color: var(--ink-soft); }

/* calculator */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; align-items: end; }
.calc-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.calc-grid input, .calc-grid select, .filter-bar input, .filter-bar select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.calc-out { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-line:last-child { border-bottom: 0; }
.calc-line.total { background: var(--bg); font-size: 17px; }
.calc-note { font-size: 13.5px; color: var(--ink-soft); }

/* catalog filter */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin: 14px 0; }
.filter-bar label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.f-count { margin-left: auto; color: var(--ink-soft); font-size: 14px; }

/* pdp */
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .pdp-grid { grid-template-columns: 1fr; } }
.pdp-media img { border-radius: 10px; background: var(--bg); }

/* trust + footer */
.trust-list { list-style: none; padding: 0; margin: 0 0 10px; }
.trust-list li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.checklist { padding-left: 20px; }
.checklist li { margin-bottom: 8px; }
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 26px 0 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.site-foot h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 8px; }
.site-foot p { margin: 0; font-size: 15px; }
.foot-note { color: var(--ink-soft); font-size: 14px; }
