/* Harmony Coops & Shelter Co.
   Farm-supply storefront layout. Colours come from the builds: forest green, barn red, gold, sage. */
:root {
  color-scheme: light;
  --font: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;   /* matches the HARMONY wordmark */

  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #1d251c;
  --muted: #5b6456;
  --line: #e2e2d6;
  --forest: #2f5733;
  --forest-ink: #f2f6ee;
  --grass: #4f8a25;
  --grass-dark: #3f7219;
  --barn: #9d2b1f;
  --barn-dark: #7e2117;
  --gold: #eab93f;
  --cream: #fbf3dc;
  --charcoal: #1f1f1d;
  --sage: #dfe6cc;
  --error: #b3261e;

  --radius: 14px;
  --shadow: 0 10px 40px rgba(30, 30, 20, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--slab); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.005em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
/* The build wraps photos in <picture> for WebP copies; it shouldn't change the layout */
picture { display: contents; }
/* ...and its <source> lines must not become empty grid or flex items (that pushed photos and text out of line) */
picture > source { display: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(16px, 4vw); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kicker.green { color: var(--grass-dark); }
.kicker.red { color: var(--barn); }
.sub { color: var(--muted); max-width: 62ch; }
.center .sub { margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 8px; }
.stack > * + * { margin-top: 14px; }
.section { padding-block: 64px; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 28px; }
.section-head > div { max-width: 64ch; }
.section-head .sub { margin-top: 8px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1 var(--font);
  padding: .95em 1.4em; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--grass); color: #fff; }
.btn-green:hover { background: var(--grass-dark); }
.btn-red { background: var(--barn); color: #fff; }
.btn-red:hover { background: var(--barn-dark); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--surface); }
.btn-arrow::after { content: "→"; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.text-link { font-weight: 700; color: var(--grass-dark); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Notice bar */
.notice { background: var(--gold); color: #2b2206; font-size: .875rem; font-weight: 600; }
.notice ul { list-style: none; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.notice li + li::before { content: "•"; margin-right: 28px; color: var(--barn); }
.notice a { text-decoration: none; }
@media (max-width: 700px) { .notice li:not(:first-child) { display: none; } }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-block: 8px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { width: 76px; height: 76px; filter: brightness(1.06) contrast(1.25); mix-blend-mode: multiply; }
.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input { width: 100%; font: 500 .95rem var(--font); padding: 12px 16px 12px 44px; border: 2px solid #b9d49b; border-radius: 999px; background: var(--surface); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--grass); }
.search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 40; max-height: 70vh; overflow: auto; }
.search-results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--bg); }
.search-results small { display: block; color: var(--muted); font-size: .8rem; }
.search-results .empty { padding: 10px 12px; color: var(--muted); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.head-actions .btn { padding: .75em 1.1em; font-size: .95rem; gap: .28em; }
.head-phone { font-weight: 700; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 0; font: 700 .95rem var(--font); color: var(--ink); cursor: pointer; padding: 6px 0; }
.menu-btn svg { width: 22px; height: 22px; }
nav.main { border-top: 1px solid var(--line); }
nav.main ul { list-style: none; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4px; padding-block: 2px; }
nav.main a { display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 3px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--grass); }
nav.main a.hl { color: var(--barn); }
.has-menu { position: relative; }
.menu-toggle { font: 600 .95rem/1.6 var(--font); color: var(--ink); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.menu-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.menu-toggle:hover, .menu-toggle[data-current="true"] { border-bottom-color: var(--grass); }
nav.main .submenu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 35; display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s; }
nav.main .menu-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s ease, visibility 0s; }
nav.main .submenu a { border: 0; border-radius: 8px; padding: 10px 12px; }
nav.main .submenu a:hover, nav.main .submenu a[aria-current="page"] { background: var(--bg); }
.submenu b { display: block; font-weight: 700; }
.submenu small { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; }
@media (max-width: 1080px) { .head-phone { display: none; } }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .logo { justify-self: center; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .head-actions .btn { padding: .65em .9em; font-size: .85rem; }
  nav.main { display: grid; grid-template-rows: 0fr; visibility: hidden; border-top-color: transparent;
    transition: grid-template-rows .35s ease, visibility 0s linear .35s, border-color .35s; }
  nav.main.open { grid-template-rows: 1fr; visibility: visible; border-top-color: var(--line);
    transition: grid-template-rows .35s ease, visibility 0s, border-color .35s; }
  nav.main > ul { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .35s ease; }
  nav.main.open > ul { opacity: 1; transform: none; }
  nav.main ul { flex-direction: column; flex-wrap: nowrap; padding-block: 0; }
  nav.main > ul > li:last-child { padding-bottom: 12px; }
  nav.main a { border-bottom: 1px solid var(--line); padding-inline: 0; }
  .menu-toggle { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
  nav.main .submenu { position: static; box-shadow: none; border: 0; border-radius: 0; min-width: 0; padding: 0 0 0 12px;
    transform: none; max-height: 0; overflow: hidden; transition: max-height .3s ease, opacity .25s ease, visibility 0s linear .3s; }
  nav.main .menu-toggle[aria-expanded="true"] + .submenu { max-height: 420px; transition: max-height .35s ease, opacity .25s ease, visibility 0s; }
  /* Tinted panel with a thin green edge so the Shop items read as a sub-list */
  nav.main .submenu { background: var(--bg); border-left: 3px solid #b9d49b; border-radius: 0 8px 8px 0; margin: 0; }
  nav.main .menu-toggle[aria-expanded="true"] + .submenu { margin: 6px 0 10px; padding: 4px 0 4px 14px; }
  nav.main .submenu b { font-size: .95rem; }
  nav.main .submenu small { font-size: .8rem; }
  nav.main .submenu a { border-bottom: 0; padding: 8px 0; }
}
@media (max-width: 480px) { .logo img { width: 60px; height: 60px; } .head-actions .btn .long { display: none; } }

/* Hero (home) */
.hero { position: relative; color: #fff; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); background: var(--charcoal); }
.hero > img, .hero > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,20,10,.25) 0%, rgba(10,20,10,.55) 70%, rgba(10,20,10,.65) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(72px, 12vw, 150px) clamp(96px, 14vw, 180px); text-align: center; }
.hero .kicker { color: var(--gold); margin-bottom: 12px; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero p.lead { font-size: 1.15rem; max-width: 52ch; margin: 14px auto 0; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.picker { margin: 32px auto 0; max-width: 820px; }
.picker-label { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.picker form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.select { width: 100%; font: 600 .95rem var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 40px 14px 16px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.hero .select { border: 0; }
.hero .custom-link { display: inline-block; margin-top: 18px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 760px) { .picker form { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { background: var(--forest); color: var(--forest-ink); padding-block: 48px 56px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.page-head .kicker { color: var(--gold); }
.page-head h1 { margin-top: 8px; }
.page-head p { margin-top: 12px; max-width: 62ch; font-size: 1.1rem; opacity: .92; }
.crumbs { font-size: .85rem; margin-bottom: 10px; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; min-height: 460px; min-width: 0; transition: transform .2s; }
.cat:hover { transform: translateY(-4px); }
.cat-text { padding: 24px 24px 16px; display: flex; flex-direction: column; gap: 8px; }
.cat-text p { font-size: .95rem; opacity: .9; }
.cat-img { flex: 1; min-height: 220px; position: relative; }
.cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat .go { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.cat.green { background: var(--forest); color: var(--forest-ink); }
.cat.cream { background: var(--cream); color: var(--ink); }
.cat.sage { background: var(--sage); color: var(--ink); }
.cat.red { background: var(--barn); color: #fff; }
.cat-soon { display: grid; place-items: center; background: repeating-linear-gradient(90deg, #8e2419 0 30px, #7e2117 30px 32px); color: #ffe3dd; font-size: .95rem; font-weight: 700; text-align: center; padding: 16px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat { min-height: 420px; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* Home: one section per idea */
.home-cats { padding-top: 40px; }
.home-cats h2 { margin-bottom: 24px; }
.home-cats .cat-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .home-cats .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.make-yours { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 32px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.make-yours h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 4px 0 8px; }
.make-yours-text p:last-child { color: var(--muted); max-width: 56ch; }
.make-yours-side { display: grid; gap: 16px; justify-items: start; }
.paint-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.paint-dots i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.built .check-list { margin: 10px 0 0; max-width: none; }
.built .cta-card { gap: 10px; }
@media (max-width: 760px) {
  .make-yours { grid-template-columns: 1fr; }
  /* Categories become compact rows on phones */
  .home-cats .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-cats .cat { flex-direction: row; min-height: 0; border-radius: 14px; }
  .home-cats .cat-img { order: -1; flex: 0 0 38%; min-height: 140px; }
  .home-cats .cat-text { padding: 14px 44px 14px 16px; gap: 4px; justify-content: center; }
  .home-cats .cat-text h3 { font-size: 1.2rem; }
  .home-cats .cat-text p { font-size: .88rem; }
  .home-cats .cat .go { width: 32px; height: 32px; right: 10px; bottom: auto; top: 50%; transform: translateY(-50%); }
  /* Popular coops swipe sideways on phones instead of stacking */
  .coop-grid.home-popular { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * max(16px, 4vw)); padding: 4px max(16px, 4vw) 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .coop-grid.home-popular::-webkit-scrollbar { display: none; }
  .coop-grid.home-popular .coop-card { flex: 0 0 82%; scroll-snap-align: start; scroll-margin-left: max(16px, 4vw); }
}

/* Coop cards */
.coop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coop-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; }
.coop-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.coop-card > a.img { text-decoration: none; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.coop-card > a.img img { width: 100%; height: 100%; object-fit: cover; }
.photo-soon { display: grid; place-items: center; width: 100%; height: 100%; text-align: center; padding: 16px; font-weight: 700; color: var(--forest); text-decoration: none;
  background: repeating-linear-gradient(90deg, var(--sage) 0 30px, #d4ddbd 30px 32px); }
.gallery-main.photo-soon { font-size: 1.2rem; }
.coop-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.coop-body h2, .coop-body h3 { font-size: 1.45rem; }
.coop-body :is(h2, h3) a, table.compare a { text-decoration: none; }
.coop-body :is(h2, h3) a:hover, table.compare a:hover { text-decoration: underline; text-underline-offset: 3px; }
.coop-body > p { color: var(--muted); font-size: .95rem; }
.price { font-weight: 800; font-size: 1.25rem; }
.price small { font-weight: 600; font-size: .8rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.card-actions .btn { padding: .75em 1em; font-size: .92rem; flex: 1; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--sage); color: var(--forest); }
.pill.gold { background: #fbe6a8; color: #5a4300; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-link { text-decoration: none; }
.pill-link:hover { background: var(--forest); color: #fff; }
.coop-card.dim { opacity: .45; }
@media (max-width: 960px) { .coop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .coop-grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: 600 .9rem var(--font); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--grass); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--forest-ink); }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .92rem; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { font-family: var(--slab); font-size: 1.05rem; background: var(--bg); }
table.compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
table.compare tr:last-child > * { border-bottom: 0; }
.ask { color: var(--muted); font-style: italic; font-weight: 500; }

/* Two paths */
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.path { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.path.a { background: var(--cream); }
.path.b { background: var(--bg); border: 1px solid var(--line); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.path .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .paths-grid { grid-template-columns: 1fr; } }

/* CTA over photo */
.cta { position: relative; padding-bottom: 64px; }
.cta-photo { height: clamp(320px, 42vw, 560px); overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.cta-card { position: relative; margin-top: -140px; background: var(--cream); border-radius: 18px; padding: clamp(24px, 4vw, 44px); max-width: 960px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.cta-card .note { font-size: .85rem; color: var(--muted); }
.cta-card .btn { justify-self: start; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.split img.rounded { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split p { color: var(--muted); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 28px auto 32px; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; text-align: left; }
.check-list li { padding-left: 34px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='none' stroke='%234f8a25' stroke-width='2'/%3E%3Cpath d='M6.5 11.3l3 3 6-6.5' fill='none' stroke='%234f8a25' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.check-list b { display: block; font-size: 1.05rem; }
.check-list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .check-list { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review figcaption { font-weight: 700; font-size: .92rem; }
.review figcaption span { font-weight: 500; color: var(--muted); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Photo grids */
.builds-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.builds-grid figure, .gallery figure { margin: 0; min-width: 0; }
.builds-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.builds-grid figcaption { font-size: .82rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .builds-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .builds-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; }
.gallery figcaption { padding: 12px 16px 14px; font-size: .92rem; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--ink); font-size: 1rem; }

/* FAQ */
.faq-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-box details { border-bottom: 1px solid var(--line); }
.faq-box details:last-child { border-bottom: 0; }
.faq-box summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq-box details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq-box .answer { padding: 0 22px 18px; color: var(--muted); }
.faq-box .answer .pill { margin-top: 10px; }
.faq-tools { display: grid; gap: 14px; margin-bottom: 20px; }
.faq-empty { padding: 22px; color: var(--muted); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.post-card h3 { font-size: 1.25rem; }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.post-card p { font-size: .95rem; color: var(--muted); }
.post-card-meta { font-size: .8rem; color: var(--muted); font-weight: 600; margin: 0; }
.post-card-meta .kicker { font-size: .72rem; }
.post-card-noimg { display: block; aspect-ratio: 16 / 10; border-radius: 12px; background: repeating-linear-gradient(90deg, var(--sage) 0 30px, #d4ddbd 30px 32px); }
.post-card time { font-size: .8rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose a { color: var(--grass-dark); font-weight: 600; }
.post-meta { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* Coop detail */
.detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.detail > * { min-width: 0; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--sage); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; }
.thumbs button[aria-current="true"] { border-color: var(--grass); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; position: sticky; top: 160px; }
.buy-box .price { font-size: 1.8rem; }
.buy-box .btns { display: grid; gap: 10px; }
.buy-box .fine { font-size: .85rem; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; padding-right: 16px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .buy-box { position: static; } }
.addon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.addon { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.addon img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--sage); }
.addon-noimg { aspect-ratio: 4 / 3; width: 100%; background: var(--sage) url("/images/logo.png") center / 30% no-repeat; opacity: .9; }
.addon div { padding: 14px 16px 16px; display: grid; gap: 6px; }
.addon h3 { font-size: 1.1rem; }
.addon p { font-size: .9rem; color: var(--muted); }
.addon .price { font-size: 1rem; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
/* Narrow forms (the coop page's side column, phones): name on its own line, then phone and email */
.product-body .form-row--3 { grid-template-columns: 1fr 1fr; }
.product-body .form-row--3 > :first-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-row--3 { grid-template-columns: 1fr 1fr; } .form-row--3 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input, .textarea { width: 100%; font: 500 1rem var(--font); padding: 12px 14px; border: 1px solid #cfd3c3; border-radius: 8px; background: var(--surface); color: var(--ink); }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--grass); outline-offset: 0; border-color: var(--grass); }
.field .error { color: var(--error); font-size: .88rem; font-weight: 600; }
.input[aria-invalid="true"] { border-color: var(--error); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.hp { display: none; }
.privacy { font-size: .82rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-size: 1.2rem; font-weight: 700; text-decoration: none; word-break: break-word; }
.copy-btn { font: 600 .8rem var(--font); margin-left: 8px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); cursor: pointer; vertical-align: middle; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Build Yours flow: category → design → order */
.build-head { padding-block: 22px 8px; }
.build-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 10px; }
.build-head .sub { margin-top: 8px; }
.bsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; font-weight: 700; counter-reset: bs; }
.bsteps li { counter-increment: bs; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.bsteps li::before { content: counter(bs); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .72rem; }
.bsteps li + li { padding-left: 4px; }
.bsteps li + li::after { content: none; }
.bsteps li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #b8bdad; }
.bsteps li[aria-current="step"] { color: var(--ink); }
.bsteps li[aria-current="step"]::before { background: var(--forest); color: #fff; }
.bsteps a { text-decoration: none; color: var(--grass-dark); }
.bsteps a:hover { text-decoration: underline; }

.build-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 18px 8px; }
@media (max-width: 1100px) { .build-cats { grid-template-columns: repeat(2, 1fr); } }
.bcat { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; min-width: 0; }
.bcat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bcat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bcat-text { display: grid; gap: 6px; padding: 18px 20px 20px; }
.bcat-text b { font-family: var(--slab); font-size: 1.5rem; line-height: 1.15; }
.bcat-text > span:not(.kicker):not(.bcat-go) { color: var(--muted); font-size: .95rem; }
.bcat-go { font-weight: 800; color: var(--grass-dark); margin-top: 4px; }
.build-more { padding-block: 18px 56px; }
.build-more p { background: var(--cream); border-radius: 12px; padding: 14px 18px; }
@media (max-width: 860px) { .build-cats { grid-template-columns: 1fr; } .bcat { flex-direction: row; } .bcat img { width: 42%; aspect-ratio: auto; min-height: 100%; } .bcat-text b { font-size: 1.25rem; } }
@media (max-width: 480px) { .bcat { flex-direction: column; } .bcat img { width: 100%; aspect-ratio: 16 / 10; } }

/* Big design cards */
.bcards { display: grid; gap: 22px; padding-block: 18px 40px; }
.bcard { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-margin-top: 20px; }
.bcard-img { position: relative; display: block; background: var(--sage); min-height: 300px; text-decoration: none; }
.bcard-img img, .bcard-img .photo-soon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard-count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.bcard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bcard-top { display: grid; gap: 10px; }
.bcard-top .pills { margin-bottom: 6px; }
.bcard h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.bcard h2 a { text-decoration: none; }
.bcard h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bcard-tag { color: var(--muted); margin-top: 4px; }
.bcard-price { font-weight: 800; font-size: 1.5rem; line-height: 1.2; }
.bcard-price small { font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 8px; white-space: nowrap; }
.bcard-body > p { color: var(--muted); }
.bcard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
.bcard-actions .btn { flex: 1 1 180px; }
.specs-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 12px; }
.specs-dl dt { color: var(--muted); }
.specs-dl dd { margin: 0; font-weight: 600; }
.explain { display: grid; gap: 8px; font-size: .92rem; line-height: 1.55; }
.explain p { color: var(--ink); }
.explain b { font-weight: 800; }
.explain-no { background: #fbeeea; border-radius: 8px; padding: 8px 12px; }
@media (max-width: 860px) {
  .bcard { grid-template-columns: 1fr; }
  .bcard-img { min-height: 0; aspect-ratio: 4 / 3; }
  .bcard-body { padding: 18px 16px 20px; }
}

/* Order page */
.order-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 18px 28px; }
.order-gallery, .order-info { min-width: 0; }
.order-info { display: grid; gap: 14px; }
.order-info .bcard-price { text-align: left; }
.order-info > p { color: var(--muted); }
.order-wrap { padding-block: 0 56px; scroll-margin-top: 16px; }
.order-form { max-width: 860px; margin-inline: auto; display: grid; gap: 18px; }
.order-form h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.order-custom { display: grid; gap: 4px; padding-top: 4px; }
.pick-grid--mini { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.pick-grid--mini .pick-box { padding: 10px 4px 8px; }
.pick-grid--mini i { width: 36px; height: 36px; }
.pick--swatch small { display: block; font-size: .66rem; font-weight: 700; color: var(--forest); margin-top: 2px; }
.adv-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--cream); border-radius: 12px; padding: 16px 18px; margin-top: 6px; }
.adv-card > div { flex: 1 1 260px; }
.adv-card p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.order-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; background: var(--bg); border-radius: 12px; padding: 12px 16px; }
.order-total b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.order-total p { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.order-send { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-send .privacy { flex: 1 1 240px; }
@media (max-width: 860px) {
  .order-top { grid-template-columns: 1fr; gap: 18px; }
  .order-send .btn { width: 100%; }
}
.cfg-head { flex-wrap: wrap; row-gap: 4px; }
.cfg-head-note { flex-basis: 100%; font-size: .85rem; color: var(--muted); }
.cfg-back { font-size: .9rem; flex-basis: 100%; }

/* Coop order page: gallery (photos or 3D) beside the details and order form */
.product { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 18px 56px; }
.product-media, .product-body { min-width: 0; }
.product-body { display: grid; gap: 14px; }
.product-summary { color: var(--muted); }
.product-body .order-form { margin-top: 10px; scroll-margin-top: 170px; }
.media-frame { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sage); }
.media-frame .gallery-main { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.stage3d { position: absolute; inset: 0; background: #e3ebec; }
.stage3d-label { position: absolute; left: 12px; bottom: 12px; margin: 0; background: rgba(255,255,255,.94); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .82rem; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.stage3d-tools { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.stage3d-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; background: rgba(255,255,255,.95); padding: 10px 16px; border-radius: 999px; font-weight: 700; color: var(--forest); box-shadow: var(--shadow); white-space: nowrap; }
/* Photos | 3D switch */
.media-switch { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; padding: 3px; gap: 2px; background: rgba(255,255,255,.94); border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.media-switch button { font: 700 .85rem var(--font); color: var(--ink); background: none; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.media-switch button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.media-switch button:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.media-hint { position: absolute; left: 12px; bottom: 12px; z-index: 2; font: 700 .88rem var(--font); color: #fff; background: rgba(31,48,33,.88); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); animation: hint-in .35s ease-out; }
.media-hint:hover { background: var(--forest); }
@keyframes hint-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.media-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.pick-set.flash { animation: flash 1s ease-out; border-radius: 10px; }
@keyframes flash { 0% { background: var(--cream); box-shadow: 0 0 0 8px var(--cream); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.size-rows { display: grid; gap: 8px; }
.size-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; }
.size-label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.size-row .pick-grid--chip { gap: 6px; }
.size-row .pick--chip .pick-box { padding: 8px 11px; min-width: 46px; justify-content: center; }
@media (min-width: 901px) and (min-height: 700px) {
  .product-media { position: sticky; top: 164px; }
}
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 18px; }
  /* In 3D the coop pins to the top of the screen while the options scroll underneath */
  body.media-3d header.site { position: relative; }
  body.media-3d .product-media { position: sticky; top: 0; z-index: 8; background: var(--bg); margin-inline: calc(-1 * max(16px, 4vw)); padding: 0 0 8px; }
  body.media-3d .media-frame { aspect-ratio: auto; height: max(240px, 42vh); border-radius: 0; }
  @supports (height: 1svh) { body.media-3d .media-frame { height: max(240px, 42svh); } }
  body.media-3d .media-note { display: none; }
  .product-body .order-form { scroll-margin-top: calc(42vh + 12px); }
}
@media (prefers-reduced-motion: reduce) { .media-hint, .pick-set.flash { animation: none; } }

/* Builder: configurator. The coop stays in view; one category of options at a time. */
body.page-build header.site { position: relative; }            /* let the page scroll the header away */
.cfg-head { max-width: 1500px; margin: 0 auto; padding: 20px max(16px, 3vw) 4px; display: flex; align-items: baseline; gap: 14px; }
.cfg-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cfg { --stage-h: min(calc(100vh - 36px), 780px); max-width: 1500px; margin: 0 auto; padding: 12px max(16px, 3vw) 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 22px; align-items: start; }
.cfg-stage { position: sticky; top: 18px; min-width: 0; }
.stage-view { position: relative; height: var(--stage-h); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #e3ebec 0%, #e3ebec 58%, #9dbb6a 58%, #7da14b 100%); border: 1px solid var(--line); }
.stage-view.is-3d { background: #e3ebec; }
.stage-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent; }
.stage-canvas:active { cursor: grabbing; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-soon { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: var(--forest);
  background: repeating-linear-gradient(90deg, var(--sage) 0 30px, #d4ddbd 30px 32px); }
.stage-label { position: absolute; top: 14px; left: 14px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; font-size: .9rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); max-width: calc(100% - 200px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.stage-btn { font: 700 .82rem var(--font); background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.stage-btn[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.stage-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; background: rgba(255,255,255,.95); padding: 10px 16px; border-radius: 999px; font-weight: 700; color: var(--forest); box-shadow: var(--shadow); }
.stage-note { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; background: rgba(255,255,255,.94); border-radius: 10px; padding: 8px 12px; font-size: .82rem; font-weight: 600; }
.stage-note i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); margin: 0 4px -1px 6px; }

.cfg-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; min-width: 0; display: flex; flex-direction: column; min-height: var(--stage-h); }
.cfg-tabs { position: sticky; top: 0; z-index: 6; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px; background: var(--surface);
  border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0; -webkit-overflow-scrolling: touch; }
.cfg-tabs::-webkit-scrollbar { display: none; }
.cfg-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 700 .86rem var(--font); color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 12px 8px 8px; cursor: pointer; }
.cfg-tab span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: .74rem; }
.cfg-tab:hover { color: var(--ink); }
.cfg-tab[aria-current="step"] { background: var(--forest); color: #fff; }
.cfg-tab[aria-current="step"] span { background: rgba(255,255,255,.2); color: #fff; }
.cfg-body { flex: 1; }
.cfg-cat { padding: 20px 20px 24px; }
.cat-head { margin-bottom: 16px; }
.cat-head h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.cat-sub { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.cat-sub-h { font-family: var(--font); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.cat-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.pick-set { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.pick-set legend { font-weight: 800; font-size: .95rem; margin-bottom: 10px; padding: 0; }

/* Option pickers: one component, several shapes */
.pick-grid { display: grid; gap: 10px; }
.pick-grid--type { grid-template-columns: 1fr 1fr; }
.pick-grid--card { grid-template-columns: 1fr 1fr; }
.pick-grid--swatch { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.pick-grid--chip { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; display: block; cursor: pointer; min-width: 0; -webkit-tap-highlight-color: transparent; }
.pick-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pick-box { position: relative; display: flex; height: 100%; background: var(--surface); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pick:hover .pick-box { border-color: #b9d49b; }
.pick-input:checked + .pick-box { border-color: var(--grass); box-shadow: 0 0 0 3px rgba(79,138,37,.18); }
.pick-input:focus-visible + .pick-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.pick-input:disabled + .pick-box { cursor: default; }
.pick-text { display: grid; gap: 2px; min-width: 0; }
.pick-text b { font-size: .95rem; line-height: 1.25; }
.pick-text small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.pick-price { font-weight: 800; font-size: .88rem; white-space: nowrap; }
.pick-included { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); background: var(--sage); padding: 3px 8px; border-radius: 999px; }
.pick-badge { position: absolute; top: 8px; left: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.94); color: var(--forest); padding: 3px 7px; border-radius: 999px; }
.pick-check { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #cfd3c3; background: var(--surface); }
.pick-input[type="radio"] + .pick-box .pick-check { border-radius: 50%; }
.pick-input:checked + .pick-box .pick-check { background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--grass); }
/* type + card: photo on top */
.pick--type .pick-box, .pick--card .pick-box { flex-direction: column; }
.pick--type img, .pick--card img, .pick--card .photo-soon { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pick--card .photo-soon { height: auto; font-size: .82rem; }
.pick--type .pick-text, .pick--card .pick-text { padding: 10px 12px 4px; }
.pick--card .pick-price { padding: 0 12px 10px; margin-top: auto; }
.pick--type .pick-text { padding-bottom: 12px; }
/* row: thumbnail left, check right */
.pick--row .pick-box { align-items: center; gap: 12px; padding: 10px 12px 10px 10px; }
.pick--row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.pick-noimg { width: 64px; height: 64px; border-radius: 8px; flex: none; background: var(--sage) url("/images/logo.png") center / 70% no-repeat; }
.pick--row .pick-text { flex: 1; }
.pick--noimg .pick-box { padding-left: 14px; }
/* swatch: paint chip */
.pick--swatch .pick-box { flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.2; }
.pick--swatch i { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 -6px 10px rgba(0,0,0,.12); }
/* chip: size numbers, counts */
.fin-galvalume { background-image: linear-gradient(135deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 35%, rgba(120,126,132,.35) 50%, rgba(255,255,255,.6) 65%, rgba(255,255,255,0) 100%), repeating-linear-gradient(60deg, rgba(255,255,255,.18) 0 3px, rgba(0,0,0,.06) 3px 6px); }
.fin-metallic { background-image: linear-gradient(135deg, rgba(255,220,180,.55) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,.25) 70%, rgba(255,200,150,.35) 100%); }
/* Find another Glidden colour */
.cc { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cc summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: .92rem; color: var(--grass-dark); list-style: none; display: flex; align-items: center; gap: 8px; }
.cc summary::-webkit-details-marker { display: none; }
.cc summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); color: var(--forest); font-weight: 800; }
.cc[open] summary::before { content: "−"; }
/* Order form: the less common add-ons fold away under "More add-ons" */
.more-addons { margin-top: 12px; }
.more-addons > .pick-grid { padding: 4px 12px 12px; }
.cc-body { padding: 0 14px 14px; display: grid; gap: 10px; }
.cc-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cc-search { flex: 1 1 220px; }
.cc-match { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; cursor: pointer; border: 1px solid #cfd3c3; border-radius: 8px; padding: 6px 12px 6px 6px; background: var(--surface); }
.cc-match input { width: 34px; height: 30px; border: 0; padding: 0; background: none; cursor: pointer; }
.cc-status { font-size: .85rem; color: var(--muted); margin: 0; }
.cc-status:empty { display: none; }
.cc-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; }
.cc-results:empty { display: none; }
.cc-item { display: flex; align-items: center; gap: 8px; text-align: left; font: 600 .82rem var(--font); color: var(--ink); background: var(--bg); border: 2px solid transparent; border-radius: 8px; padding: 6px; cursor: pointer; }
.cc-item:hover { border-color: #b9d49b; }
.cc-item[aria-pressed="true"] { border-color: var(--grass); background: var(--surface); }
.cc-item i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.cc-item small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.cc-note { font-size: .75rem; color: var(--muted); margin: 0; }
.legend-note { font-weight: 600; font-size: .8rem; color: var(--muted); margin-left: 6px; }
.pick--chip .pick-box { border-radius: 999px; padding: 9px 16px; font-weight: 800; font-variant-numeric: tabular-nums; align-items: baseline; gap: 6px; }
.pick--chip .std { font-size: .7rem; font-weight: 700; color: var(--forest); }

.review-list { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; background: var(--bg); border-radius: 12px; padding: 6px 14px; font-size: .92rem; }
.review-list dt, .review-list dd { padding: 9px 0; border-bottom: 1px solid var(--line); }
.review-list dt { color: var(--muted); padding-right: 14px; }
.review-list dd { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-weight: 600; min-width: 0; }
.review-list dd span { min-width: 0; overflow-wrap: anywhere; }
.review-list dt:nth-last-child(2), .review-list dd:last-child { border-bottom: 0; }
.review-edit { font: 700 .8rem var(--font); color: var(--grass-dark); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.review-edit:hover { text-decoration: underline; }
.review-total { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.review-total b { font-size: 1.4rem; }
.review-total p { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }

.cfg-bar { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; }
.bar-sum { display: grid; min-width: 0; }
.bar-name { font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-total { font-size: 1.3rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.bar-btns { display: flex; gap: 8px; flex: none; }
.bar-btns .btn { padding: .8em 1.1em; }
.bar-back { padding-inline: .9em !important; }

/* Without JavaScript every category shows as one long form */
body:not(.cfg-ready) .cfg-cat { border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .cfg-head { display: none; }
  .cfg { --stage-h: max(240px, 40vh); display: block; padding: 0; }
  @supports (height: 1svh) { .cfg { --stage-h: max(240px, 40svh); } }
  .cfg-stage { position: sticky; top: 0; z-index: 8; }
  .stage-view { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
  .stage-label { top: 10px; left: 10px; font-size: .82rem; padding: 5px 11px; max-width: calc(100% - 170px); }
  .stage-tools { top: 10px; right: 10px; }
  .stage-btn { padding: 6px 10px; font-size: .78rem; }
  .cfg-panel { border: 0; border-radius: 0; min-height: calc(100vh - var(--stage-h)); }
  .cfg-tabs { top: var(--stage-h); border-radius: 0; padding: 8px 12px; }
  .cfg-cat { padding: 18px 16px 22px; }
  .cfg-bar { border-radius: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .bar-btns .btn { padding: .8em 1em; font-size: .92rem; }
}
@media (max-width: 420px) {
  .pick-grid--swatch { grid-template-columns: repeat(3, 1fr); }
  .pick--row img { width: 52px; height: 52px; }
  .pick-text small { font-size: .78rem; }
  #btn-next { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Alerts */
.alert { border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.alert.info { background: var(--cream); }
.alert.error { background: #fde8e6; color: var(--error); font-weight: 600; }

/* Footer */
footer.site { background: var(--forest); color: var(--forest-ink); padding-block: 48px 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
footer.site b { display: block; font-size: 1rem; margin-bottom: 10px; }
footer.site a { display: block; text-decoration: none; opacity: .88; padding: 3px 0; }
footer.site a:hover { opacity: 1; text-decoration: underline; }
footer.site p { opacity: .88; }
.foot-logo { width: 120px; height: 120px; filter: brightness(1.06) contrast(1.25) invert(1); mix-blend-mode: screen; margin-bottom: 12px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.18); margin-top: 32px; padding-top: 18px; font-size: .82rem; opacity: .8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Delivery: the calculator on /delivery/ and the delivery check in order forms (delivery.js, order.js) */
.btn-small { padding: .6em .95em; font-size: .88rem; }
.delivery-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 2px; }
.delivery-check .btn { flex: none; }
.delivery-line { font-size: .9rem; font-weight: 600; color: var(--grass-dark); flex: 1 1 200px; }
.delivery-line.is-problem { color: var(--error); }
.delivery-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.delivery-calc { display: grid; gap: 18px; }
.delivery-calc h2, .delivery-rates h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.dc-input { display: flex; gap: 10px; }
.dc-input .input { flex: 1 1 auto; min-width: 0; }
.dc-input .btn { flex: none; }
.delivery-calc .error { color: var(--error); font-size: .9rem; font-weight: 600; }
.dc-result { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.dc-miles { font-size: 1.05rem; }
.dc-miles b { font-size: 1.35rem; }
.dc-time, .dc-approx { color: var(--muted); font-size: .9rem; }
.dc-free { background: var(--cream); border-radius: 10px; padding: 10px 14px; font-weight: 700; }
.dc-trailers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.dc-trailer { display: grid; gap: 4px; background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.dc-trailer small { color: var(--muted); font-size: .84rem; }
.dc-cost { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.delivery-rates { display: grid; gap: 14px; }
.dc-rate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dc-rate-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.dc-rate-list small { grid-column: 1 / -1; color: var(--muted); font-size: .86rem; }
.dc-rate { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--grass-dark); }
.delivery-cta { max-width: 560px; }
@media (max-width: 860px) { .delivery-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dc-input { flex-direction: column; } .dc-input .btn { width: 100%; } }
.route-map { height: 260px; border-radius: 12px; overflow: hidden; background: var(--sage); border: 1px solid var(--line); margin-top: 10px; }
.dc-result .route-map { height: 300px; }
.map-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
/* Address suggestions under the delivery address box (delivery.js) */
.addr-wrap { position: relative; display: block; flex: 1 1 auto; min-width: 0; }
.addr-wrap > .input { width: 100%; }
.addr-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.addr-suggest [role=option] { display: grid; gap: 1px; padding: 9px 10px; border-radius: 7px; cursor: pointer; }
.addr-suggest [role=option] b { font-weight: 700; font-size: .95rem; }
.addr-suggest [role=option] small { color: var(--muted); font-size: .82rem; }
.addr-suggest [role=option]:hover, .addr-suggest [aria-selected=true] { background: var(--sage); }
.addr-credit { text-align: right; font-size: .72rem; color: var(--muted); padding: 4px 8px 2px; }
.gallery--three { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery--three figure { margin: 0; }
.gallery--three img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) { .gallery--three { grid-template-columns: 1fr; } }
