/* Stow & Sort — storage shopping site
   Style: modern-editorial (clize design method). Warm cream paper, slate-green +
   terracotta accents, Playfair Display headlines + Source Sans Pro body, pill CTAs,
   color-blocked sections. Functional catalog kept clean. See /DESIGN.md.
   Card radius <= 8px. Mobile-first, no overflow. */

:root {
  /* Style: 1C Modern Editorial (2026-07-01). Near-white paper + near-black ink + slate
     accent, Fraunces display + Hanken Grotesk body, hairline rules, near-square corners,
     flat surfaces, grid precision. Var names kept so the whole site re-skins from here. */
  --ink: #141311;        /* near-black ink */
  --ink-soft: #55524b;
  --muted: #6b6459;      /* taupe grey (AA on --paper) */
  --faint: #9c998f;
  --line: #dddbd4;       /* hairline */
  --line-strong: #c6c2b7;/* crisp control border (inputs, ghost btn, chips) */
  --paper: #faf9f6;      /* near-white paper */
  --panel: #ffffff;
  --panel-2: #edebe5;    /* bone */
  /* var names kept; values are now ink (brand+CTA) + slate (accent) */
  --teal: #141311;       /* ink — brand + primary CTA (white text) */
  --teal-ink: #141311;
  --teal-wash: #edebe5;  /* neutral bone wash */
  --coral: #3e4a66;      /* slate — accent (white 6.4:1, on-paper 8.1:1) */
  --coral-ink: #2f3a52;  /* darker slate for hovers */
  --coral-wash: #e6e9f0; /* slate wash */
  --gold: #6b6459;       /* sourcing badge — muted, de-emphasized */
  --gold-wash: #edebe5;
  --sky: #6b6459;
  --shadow-sm: none;     /* flat (editorial) */
  --shadow: 0 12px 30px -22px rgba(20, 19, 17, 0.22);
  --radius: 2px;         /* near-square (editorial) */
  --radius-sm: 2px;
  --maxw: 1160px;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-headline: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* visible keyboard focus (a11y) */
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; border-radius: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
/* display-serif headlines on editorial surfaces (constitution signature) */
.finder h1, .page-head h1, .section-head h2, .prose h2, .pdp .info h1,
h1.serif, h2.serif { font-family: var(--font-headline); letter-spacing: -0.005em; font-weight: 600; }
.finder h1 { line-height: 1.08; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Top notice ---------- */
.topbar {
  background: var(--teal-ink);
  color: #eafaf4;
  font-size: 13px;
  text-align: center;
  padding: 7px 16px;
}
.topbar strong { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--teal); color: #fff; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name strong { font-family: var(--font-headline); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.brand-name small { font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.header-search { flex: 1; max-width: 420px; position: relative; }
.header-search input {
  width: 100%; border: 1px solid var(--line-strong); background: var(--panel);
  border-radius: var(--radius); padding: 9px 14px 9px 38px; font-size: 14px; color: var(--ink);
}
.header-search input:focus { outline: 2px solid var(--teal-wash); border-color: var(--teal); }
.header-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); }
.header-actions { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink);
  border-radius: var(--radius); padding: 8px 13px; font-size: 14px; font-weight: 600;
}
.cart-btn .cart-count {
  background: var(--coral); color: #fff; border-radius: 999px; min-width: 19px; height: 19px;
  display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; padding: 0 5px;
}
.menu-toggle { display: none; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); width: 40px; height: 38px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Primary nav ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.nav-inner { display: flex; gap: 4px; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  white-space: nowrap; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.nav-inner a:hover { color: var(--teal-ink); }
.nav-inner a.active { color: var(--teal-ink); border-bottom-color: var(--teal); }

/* ---------- Buttons (pill — constitution "Book Me" pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 9999px; padding: 11px 22px; font-size: 14px; font-weight: 700; border: 1px solid transparent;
  letter-spacing: 0.01em; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); }
.btn-ghost { background: var(--panel); color: var(--teal-ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-ink); background: var(--teal-wash); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 0; display: flex; gap: 7px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--teal-ink); }
.crumbs span { color: var(--line-strong); }

/* ---------- Color-blocked section "rooms" (modern-editorial) ---------- */
.band-forest { background: var(--teal-wash); border-top: 1px solid #d7e1da; border-bottom: 1px solid #d7e1da; }
.band-terra { background: var(--coral-wash); border-top: 1px solid #efd8cb; }
.band-oat { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Section headers ---------- */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(20px, 2.4vw, 26px); }
.section-head .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 6px; }
.section-head .more { font-size: 14px; font-weight: 600; color: var(--teal-ink); white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }
.section-sub { color: var(--muted); max-width: 640px; margin-top: 2px; font-size: 15px; }

/* ---------- Hero / problem finder (first screen, not marketing) ---------- */
.finder { padding: 30px 0 10px; position: relative; overflow: hidden; }
.finder .wrap { position: relative; z-index: 1; }
.hero-shape { position: absolute; top: -50px; right: clamp(-80px, -2vw, -20px); width: min(44vw, 480px); z-index: 0; pointer-events: none; }
.hero-shape svg { width: 100%; height: auto; }
.finder h1 { font-size: clamp(28px, 4.6vw, 52px); max-width: 720px; }
.finder .lede { color: var(--ink-soft); max-width: 620px; margin-top: 12px; font-size: clamp(15px, 1.6vw, 17px); }
/* hero: text + lifestyle image (clize-generated) */
.finder-top { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding-top: 6px; }
.finder-hero img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
/* photo "shop by space" cards */
.spaces-ph { margin-top: 30px; }
.more-rooms { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.more-rooms .mr-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; }
.room-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); transition: border-color .15s, transform .15s; }
.room-chip:hover { border-color: var(--teal); transform: translateY(-1px); }
.room-chip .rc-n { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 7px; }
.space-ph { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.space-ph:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.sph-img { display: block; aspect-ratio: 4/3; background: var(--panel-2); }
.sph-img img { width: 100%; height: 100%; object-fit: cover; }
.sph-b { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 3px; }
.sph-b b { font-family: var(--font-headline); font-size: 15px; font-weight: 600; color: var(--ink); }
.sph-b span { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .finder-top { grid-template-columns: 1fr; } .finder-hero { order: -1; } .finder-hero img { aspect-ratio: 16/10; } }
/* shop by product type — distinct icons, complements the room photos above */
.type-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, 1fr); margin-top: 4px; }
.type-card { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.type-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal-ink); }
.type-card .ic svg { width: 22px; height: 22px; }
.tcard-b { display: flex; flex-direction: column; gap: 2px; }
.tcard-b b { font-family: var(--font-headline); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.tcard-b span { font-size: 12px; color: var(--muted); }
.tcard-tag { position: absolute; top: 10px; right: 10px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral-ink); background: var(--coral-wash); border-radius: 999px; padding: 2px 7px; }
/* collection-page hero header */
.col-header { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
.col-header .page-head { padding-top: 6px; }
.ch-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .col-header { grid-template-columns: 1fr; } .ch-img { order: -1; } .ch-img img { aspect-ratio: 16/9; } }

@media (max-width: 1080px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .type-grid { grid-template-columns: 1fr; } }
.pool-stat { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.pool-stat b { color: var(--ink); font-weight: 800; }
.pool-stat .pending { display: inline-block; background: var(--gold-wash); color: #8a5d10; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.ext-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.ext-label { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ext-chip { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px; }
.ext-chip:hover { border-color: var(--teal); color: var(--teal-ink); }
.space-grid {
  display: grid; gap: 12px; margin-top: 22px;
  grid-template-columns: repeat(6, 1fr);
}
.space-card {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 14px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.space-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.space-card .ic { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal-ink); }
.space-card .ic svg { width: 22px; height: 22px; }
.space-card b { font-size: 14.5px; }
.space-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- Product card ---------- */
.product-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .media { position: relative; aspect-ratio: 1 / 1; background-color: var(--panel-2); }
.pcard .media img { width: 100%; height: 100%; object-fit: cover; }
.pcard .media .ph { width: 100%; height: 100%; }
/* placeholder shown for products without an image, and for images that fail to
   load (onerror adds .ph to the parent). Icon drawn via CSS so no markup needed. */
.ph {
  display: grid; place-items: center;
  background-color: var(--panel-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397a4a0' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='1.5'/%3E%3Cpath d='M3 11h18M9 7V4h6v3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 40%;
}
.ph svg { display: none; }
.pcard .badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--coral); color: #fff; padding: 4px 9px; border-radius: 999px;
}
.pcard .badge.alt { background: var(--teal); }
.pcard .badge.gold { background: var(--gold); }
.pcard .badge.cand { background: rgba(255,255,255,0.92); color: var(--teal-ink); border: 1px solid var(--line-strong); font-weight: 600; }
.pcard .body { padding: 13px 13px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .fitfor { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral); }
.pcard .title { font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.pcard .why { font-size: 13px; color: var(--muted); line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .meta-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 11px; font-weight: 600; color: var(--ink-soft); background: var(--panel-2); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag.plat { color: var(--teal-ink); background: var(--teal-wash); border-color: transparent; }
.tag.bucket { color: var(--muted); }
.pcard .foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 6px; }
.cost { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cost b { font-size: 16px; font-weight: 800; color: var(--ink); }
.cost .cl { font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--faint); }
.cost .ship { font-size: 11.5px; color: var(--muted); }
.price { font-size: 16px; font-weight: 800; color: var(--ink); }
.price .est { font-size: 11px; font-weight: 600; color: var(--faint); }
/* load more + result toolbar */
.load-more-wrap { display: flex; justify-content: center; padding: 26px 0 8px; }
#loadMore { min-width: 240px; }

/* ---------- Solution / scenario cards ---------- */
.sol-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.sol-card {
  display: flex; flex-direction: column; gap: 8px; padding: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sol-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.sol-card .kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral-ink); }
.sol-card h3 { font-size: 17px; }
.sol-card p { font-size: 13.5px; color: var(--muted); }
.sol-card .go { font-size: 13.5px; font-weight: 700; color: var(--teal-ink); margin-top: 4px; }

/* ---------- Guide / best cards ---------- */
.guide-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.guide-card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.guide-card:hover { border-color: var(--teal); }
.guide-card .type { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.guide-card h3 { font-size: 15.5px; }
.guide-card p { font-size: 13px; color: var(--muted); }

/* ---------- Catalog layout (filters + grid) ---------- */
.catalog { display: grid; grid-template-columns: 248px 1fr; gap: 26px; align-items: start; padding: 22px 0 60px; }
.filters { position: sticky; top: 116px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px 16px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-soft); padding: 4px 0; cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--teal); }
.check .ct { margin-left: auto; font-size: 11.5px; color: var(--faint); }
.catalog-main {}
.catalog-toolbar { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }
.catalog-toolbar .count { font-size: 14px; color: var(--muted); }
.catalog-toolbar .count b { color: var(--ink); }
.catalog-toolbar select { border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); padding: 8px 11px; font-size: 13.5px; color: var(--ink); }
.filter-toggle { display: none; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-wash); color: var(--teal-ink); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; border: none; }
.chip button { border: none; background: none; color: var(--teal-ink); font-size: 14px; line-height: 1; padding: 0; }
.chip.clear { background: none; color: var(--coral); }

/* ---------- Editorial content blocks ---------- */
.page-head { padding: 6px 0 8px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); max-width: 820px; }
.page-head .lede { color: var(--ink-soft); max-width: 700px; margin-top: 12px; font-size: 16.5px; }
.page-head .meta { color: var(--faint); font-size: 13px; margin-top: 12px; }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; padding: 8px 0 50px; }
.prose { font-size: 16px; color: var(--ink-soft); max-width: 740px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 22px; color: var(--ink); margin-top: 36px; }
.prose h3 { font-size: 18px; color: var(--ink); margin-top: 26px; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li { margin: 7px 0; }
.prose .callout { background: var(--teal-wash); border-left: 3px solid var(--teal); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink-soft); font-size: 14.5px; }
.toc { position: sticky; top: 116px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; font-size: 13.5px; color: var(--ink-soft); padding: 5px 0; }
.toc a:hover { color: var(--teal-ink); }

/* embedded product module inside content */
.pick-module { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 22px 0; }
.pick-module .ph-head { margin-bottom: 4px; }
.pick-module .ph-head h3 { font-size: 17px; line-height: 1.3; }
.pick-module .ph-head .role { display: block; font-size: 12px; font-weight: 700; color: var(--coral-ink); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; }
.pick-module .ph-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
/* A best-of "pick-single" module holds exactly one product, so it renders as a flat
   image + buy-box on one row — not a 1-of-4 catalog grid (which left 3/4 of the row
   empty). The heading above already names the product, so the card's own title/fit
   line are hidden to avoid duplication. Multi-card .pick-module grids (guide pages)
   are untouched. */
.pick-module.pick-single .product-grid { display: block; }
.pick-module.pick-single .pcard { flex-direction: row; align-items: stretch; gap: 18px; max-width: 540px; border: 0; background: transparent; border-radius: 0; }
.pick-module.pick-single .pcard:hover { box-shadow: none; transform: none; }
.pick-module.pick-single .pcard .media { flex: 0 0 180px; width: 180px; height: 180px; border-radius: 10px; overflow: hidden; }
.pick-module.pick-single .pcard .body { flex: 1; min-width: 0; padding: 2px 0; }
.pick-module.pick-single .pcard .fitfor, .pick-module.pick-single .pcard .title { display: none; }
@media (max-width: 560px) {
  .pick-module.pick-single .pcard { flex-direction: column; gap: 12px; max-width: none; }
  .pick-module.pick-single .pcard .media { flex: none; width: 100%; height: auto; }
}

/* comparison table */
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
table.cmp th, table.cmp td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp th { background: var(--panel-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp .pname { font-weight: 700; color: var(--ink); }
table.cmp .winner { color: var(--teal-ink); font-weight: 700; }

/* FAQ */
.faq { margin: 18px 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 10px; background: var(--panel); }
.faq summary { padding: 14px 16px; font-weight: 650; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 800; font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 16px 15px; color: var(--muted); font-size: 14.5px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 14px 0 40px; align-items: start; }
.pdp .gallery { position: sticky; top: 116px; }
.pdp .gallery .main { aspect-ratio: 1/1; background-color: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pdp .gallery .main img, .pdp .gallery .main .ph { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(22px, 2.8vw, 30px); margin-top: 6px; }
.pdp .fitfor { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--coral); }
.pdp .price-row { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; }
.pdp .price-row .price { font-size: 28px; }
.pdp .price-row .note { font-size: 12.5px; color: var(--faint); }
.pdp .lead { font-size: 16px; color: var(--ink-soft); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0; }
.spec-list div { background: var(--panel); padding: 11px 14px; }
.spec-list dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.spec-list dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.block { margin: 22px 0; }
.block h3 { font-size: 16px; margin-bottom: 9px; }
.block ul { padding-left: 19px; color: var(--ink-soft); font-size: 14.5px; }
.block li { margin: 6px 0; }
.notewarn { background: var(--gold-wash); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 13px 15px; font-size: 14px; color: var(--ink-soft); }
.buybox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.buybox .ship { font-size: 13px; color: var(--muted); margin: 10px 0; display: flex; gap: 8px; align-items: center; }
.buybox .ship svg { width: 20px; height: 20px; flex: none; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); margin-top: 30px; padding: 40px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 12px; }
.foot-grid a { display: block; font-size: 13.5px; color: var(--ink-soft); padding: 4px 0; }
.foot-grid a:hover { color: var(--teal-ink); }
.foot-grid p { font-size: 13.5px; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: 12.5px; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(20, 35, 31, 0.4); opacity: 0; visibility: hidden; transition: .2s; z-index: 60; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 100%); background: var(--panel); z-index: 61; transform: translateX(100%); transition: transform .24s ease; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(20,35,31,.14); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer header h3 { font-size: 17px; }
.cart-drawer .close { border: none; background: none; font-size: 24px; line-height: 1; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 20px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img, .cart-item .ph { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex: none; background: var(--panel-2); }
.cart-item .ci-body { flex: 1; min-width: 0; }
.cart-item .ci-body b { font-size: 13.5px; font-weight: 650; display: block; line-height: 1.3; }
.cart-item .ci-body span { font-size: 12.5px; color: var(--muted); }
.cart-item .rm { border: none; background: none; color: var(--coral); font-size: 12px; align-self: flex-start; padding: 0; }
.ci-qty { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.ci-qty button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ci-qty button:hover { border-color: var(--ink-soft); }
.ci-qty b { color: var(--ink); font-size: 13px; min-width: 14px; text-align: center; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.cart-foot .row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 12px; }
.cart-foot .row b { font-weight: 800; }
.cart-note { font-size: 12px; color: var(--faint); text-align: center; margin-top: 10px; }

/* ---------- Mobile nav panel ---------- */
.mnav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .space-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); padding: 9px 14px; font-size: 14px; font-weight: 600; }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .pdp .gallery { position: static; }
  .sol-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .header-search { display: none; }
  .header-search.mobile { display: block; max-width: none; margin: 0 0 4px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid, .guide-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .pcard .why { -webkit-line-clamp: 3; }
  .mnav.open { display: block; border-bottom: 1px solid var(--line); background: var(--panel); }
  .mnav a { display: block; padding: 13px clamp(16px,4vw,40px); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line); }
}
@media (max-width: 360px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   1C Modern Editorial overrides (2026-07-01)
   Shape/detail that design tokens alone can't reach: rect buttons,
   masthead rule, flat cards, crisp grid, neutral badges.
   ============================================================ */
.btn { border-radius: var(--radius); letter-spacing: .02em; font-weight: 600; }
.btn-primary:hover { background: #000; }
/* masthead rule under the primary nav (editorial signature) */
.nav { border-bottom: 1px solid var(--ink); }
.site-header { border-bottom: none; }
/* sharpen the rounded hero/media corners */
.finder-hero img, .ch-img img, .pdp .gallery .main, .cart-item img, .cart-item .ph { border-radius: var(--radius); }
.brand-mark { border-radius: var(--radius); box-shadow: none; }
/* flat, no-bounce cards — border emphasis instead of lift + shadow */
.pcard, .type-card, .space-ph, .sol-card, .space-card, .room-chip, .guide-card { box-shadow: none; }
.pcard:hover, .type-card:hover, .space-ph:hover, .sol-card:hover, .space-card:hover, .guide-card:hover, .room-chip:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.type-card .ic, .space-card .ic { border-radius: var(--radius); }
/* neutral candidate badge (drop the coral fill) */
.pcard .badge { background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); font-weight: 600; }
.pcard .badge.gold { background: var(--panel-2); color: var(--muted); }
/* crisp editorial labels + table rules */
.eyebrow, .section-head .eyebrow, .foot-grid h5, .filter-group h4, .toc h4, .spec-list dt { letter-spacing: .14em; }
table.cmp th { border-bottom: 1.5px solid var(--ink); }
.tag { border-radius: var(--radius); }
/* de-emphasise "cost" wording; consumer price leads */
.cost .cl { color: var(--faint); }

/* ============================================================
   Three-door components (Phase A): Space room-hero + zones,
   Situation numbered steps. Reuses .pick-module (already styled).
   ============================================================ */
.door-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--panel-2); color: var(--ink-soft); border-radius: var(--radius); padding: 5px 11px; margin-bottom: 14px; }
.eyebrow.acc { color: var(--coral); }
/* Space door — full-bleed room hero */
.room-hero { position: relative; min-height: 360px; display: flex; align-items: flex-end; background-size: cover; background-position: center; background-color: var(--panel-2); }
.room-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,.05), rgba(20,19,17,.66)); }
.room-hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 34px; }
.room-hero h1 { color: #fff; font-family: var(--font-headline); font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); max-width: 640px; letter-spacing: -0.01em; }
.room-hero p { color: rgba(255,255,255,.92); max-width: 520px; margin-top: 12px; font-size: 16px; }
.room-hero .door-tag { background: var(--paper); color: var(--ink); }
/* zone module (Space) — neutral role, left accent rule */
.pick-module.zone { border-left: 2px solid var(--ink); }
.pick-module.zone .ph-head .role { color: var(--ink-soft); }
/* step module (Situation) — slate accent, numbered */
.pick-module.step { border-left: 2px solid var(--coral); }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 800; margin-right: 8px; vertical-align: -4px; }
.kit-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--coral-wash); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 10px; }
.kit-cta p { font-size: 14.5px; color: var(--ink); max-width: 520px; margin: 0; }

/* home three-door triptych — each door → its index (not the full list on the home) */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.door { background: var(--panel); padding: 30px 26px 26px; display: flex; flex-direction: column; min-height: 218px; transition: background .15s; }
.door:hover { background: var(--panel-2); }
.door.door-sit { background: var(--coral-wash); }
.door.door-sit:hover { background: #dde1ea; }
.door .dn { font: 700 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.door h3 { font-family: var(--font-headline); font-weight: 600; font-size: 23px; margin: 14px 0 8px; }
.door p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.door .dgo { margin-top: auto; font: 700 12.5px var(--font); letter-spacing: .02em; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* EEAT byline + TL;DR (content-commerce / AI-citable signals) */
.byline { display: flex; gap: 13px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 18px; margin: 28px 0; font-size: 13.5px; color: var(--ink-soft); }
.byline .av { width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-headline); font-weight: 600; font-size: 13px; flex: none; }
.byline b { color: var(--ink); }
.tldr { border: 1px solid var(--line); border-left: 2px solid var(--coral); background: var(--panel); padding: 14px 16px; margin: 18px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.tldr .tldr-l { font: 700 11px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.tldr p { font-size: 15.5px; color: var(--ink); margin-top: 6px; line-height: 1.5; }

/* PDP "as seen in" internal-link strip (products as cited evidence) */
.seen-in { font-size: 13px; color: var(--muted); margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seen-in .si-l { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; color: var(--coral); margin-right: 8px; }
.seen-in a { color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); }
.seen-in a:hover { color: var(--ink); }
/* email / notify capture band (capture cold traffic that won't convert on first visit) */
.capture { background: var(--panel-2); border-top: 1px solid var(--line); }
.capture-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px clamp(20px, 5vw, 44px); max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; }
.capture-copy h3 { font-family: var(--font-headline); font-weight: 600; font-size: 22px; }
.capture-copy p { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; max-width: 440px; }
.capture-f { display: flex; gap: 8px; }
.capture-f input { border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); padding: 11px 14px; font-size: 14px; min-width: 220px; color: var(--ink); }
.capture-f input:focus { outline: 2px solid var(--coral-wash); border-color: var(--coral); }
.capture-ok { font-size: 14px; color: var(--coral-ink); font-weight: 600; }
@media (max-width: 640px) { .capture-f { flex: 1; } .capture-f input { min-width: 0; flex: 1; } }

/* "Find your storage" guided finder (client-side interactive tool) */
.finder-tool { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 8px 0 40px; }
.ft-q { display: flex; gap: 18px; padding: 24px clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--line); }
.ft-n { font: 500 26px var(--font-headline); color: var(--coral); line-height: 1; flex: none; }
.ft-body { flex: 1; }
.ft-body h3 { font-family: var(--font-headline); font-weight: 600; font-size: 19px; margin-bottom: 12px; }
.ft-body h3 em { font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-left: 8px; }
.ft-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-opts button { border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink-soft); border-radius: var(--radius); padding: 8px 14px; font: 600 13px var(--font); transition: border-color .12s, background .12s, color .12s; }
.ft-opts button:hover { border-color: var(--ink); color: var(--ink); }
.ft-opts button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ft-result { padding: 24px clamp(18px, 3vw, 30px); background: var(--panel-2); }
.ft-head { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.ft-head b { color: var(--ink); font-weight: 700; }
.ft-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 560px) { .ft-q { flex-direction: column; gap: 8px; } }

/* PDP spec grid: a lone last item (odd count) spans full width — no empty cell */
.spec-list > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   /solve — the concierge door (entry page + private plan pages)
   -------------------------------------------------------------------------- */
.solve-band { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: 26px 28px; margin-top: 1px; }
.solve-band .dn { color: var(--coral); }
.solve-band h3 { font-family: var(--font-headline); font-weight: 600; font-size: clamp(19px, 2.4vw, 25px); margin: 10px 0 8px; color: var(--paper); max-width: 640px; }
.solve-band p { font-size: 14px; color: #c9c4bb; max-width: 620px; line-height: 1.5; }
.solve-band .btn { flex: none; }
.solve-band:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.solve-head { max-width: 760px; }
.solve-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 26px; }
.s-step { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.s-step h3 { font-family: var(--font-headline); font-weight: 600; font-size: 16.5px; margin-bottom: 4px; }
.s-step p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 760px) { .solve-steps { grid-template-columns: 1fr; } }

.solve-tool { margin-bottom: 34px; }
.solve-pre { background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 14px 16px; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-soft); white-space: pre-wrap; word-break: break-word; }
.solve-alt { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.solve-addr { color: var(--ink); font-weight: 700; user-select: all; }
.solve-privacy { font-size: 12.5px; color: var(--faint); margin-top: 8px; }
.solve-below { margin-bottom: 30px; }
.toc-note { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.sol-card.solve-card { background: var(--ink); }
.sol-card.solve-card h3, .sol-card.solve-card .go { color: var(--paper); }
.sol-card.solve-card p { color: #c9c4bb; }
.sol-card.solve-card .kicker { color: var(--coral); }

/* plan pages */
.plan-head { max-width: 860px; }
.plan-head .badge.gold { margin-bottom: 10px; display: inline-block; }
.plan-meta { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.plan-meta code { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-size: 12px; }
.constraint-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.cr-label { font: 700 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.constraint-chip { background: var(--teal-wash); color: var(--teal-ink); border: 1px solid #d7e1da; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.measure-card { background: var(--coral-wash); border: 1px solid #efd8cb; border-left: 3px solid var(--coral); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.measure-card h3 { font-family: var(--font-headline); font-weight: 600; font-size: 17.5px; margin-bottom: 8px; }
.measure-card ol { margin: 0 0 8px 18px; font-size: 14.5px; line-height: 1.65; }
.measure-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.plan-pick { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.plan-pick:first-of-type { border-top: 0; }
.p-idx { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 24px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 700 12px var(--font); }
.pp-media { flex: none; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.pp-media img { width: 100%; height: 100%; object-fit: cover; }
.pp-media .ph, .pp-media.ph { display: grid; place-items: center; height: 100%; }
.pp-media svg { width: 34px; height: 34px; color: var(--faint); }
.pp-body { flex: 1; min-width: 0; }
.pp-title { font-weight: 600; font-size: 14.5px; line-height: 1.35; display: block; }
.pp-title:hover { color: var(--teal-ink); }
.pp-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-size: 13.5px; }
.pp-body .dims { display: block; font: 12px ui-monospace, Menlo, monospace; color: var(--muted); margin-top: 5px; }
.pp-reason { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 7px; background: var(--panel-2); border-radius: var(--radius-sm); padding: 9px 12px; }
.pp-reason b { color: var(--ink); }
.plan-total { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 18px 20px; margin: 22px 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-total span { font-weight: 700; font-size: 15px; }
.plan-total b { font-family: var(--font-headline); font-size: 24px; }
.plan-total p { flex-basis: 100%; font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan-foot { font-size: 12.5px; color: var(--faint); margin: 18px 0 30px; max-width: 640px; }
@media (max-width: 560px) { .plan-pick { flex-wrap: wrap; } .pp-media { width: 72px; height: 72px; } }

/* /solve — on-page form (FormSubmit relay) + success state */
.solve-email-row { display: flex; gap: 10px; flex-wrap: wrap; }
.solve-email-row input { flex: 1; min-width: 220px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); padding: 11px 14px; font-size: 14.5px; color: var(--ink); }
.solve-email-row input:focus { outline: 2px solid var(--teal-wash); border-color: var(--teal); }
.solve-extra { width: 100%; margin-top: 10px; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 10px 14px; font-size: 13.5px; color: var(--ink); }
.solve-extra:focus { outline: 2px solid var(--teal-wash); border-color: var(--teal); }
.solve-status { font-size: 13.5px; color: var(--coral-ink); margin-top: 10px; min-height: 1em; }
.solve-alt-details { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.solve-alt-details summary { font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.solve-alt-details summary:hover { color: var(--ink); }
.solve-alt-details .solve-pre { margin-top: 12px; }
.solve-done-copy { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; max-width: 560px; }

/* /solve — photo picker (compressed client-side, rides the form as text chunks) */
.solve-photo { display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.solve-photo:hover { border-color: var(--teal); background: var(--teal-wash); }
.solve-photo span { font-size: 14px; font-weight: 600; color: var(--ink-soft); line-height: 1.45; }
.solve-photo span small { font-weight: 500; color: var(--faint); }
.solve-photo img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
