/* Storefront: search, filters, sort and the hardware coming-soon panel.
   Loaded only by /products/ and product detail pages. Uses the site tokens. */

.store { margin: 42px 0 10px; }
.store-head h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; color: var(--text-primary); }
.store-head p { margin: 0 0 22px; color: var(--text-dim); max-width: 62ch; }

.store-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--line-soft); border-radius: 14px;
  background: rgba(255, 255, 255, .02); margin-bottom: 12px;
}
.store-search { flex: 1 1 260px; min-width: 0; }
.store-search input {
  width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 15px;
  border: 1px solid var(--line-soft); background: var(--ink-900, #0b0f12);
  color: var(--text-primary); font-family: inherit;
}
.store-search input::placeholder { color: var(--text-dim); }
.store-search input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

.store-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.store-chip {
  appearance: none; cursor: pointer; font: inherit; font-size: 13px; line-height: 1;
  padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-soft);
  background: transparent; color: var(--text-dim); transition: color .18s, border-color .18s, background .18s;
}
.store-chip:hover { color: var(--text-primary); border-color: var(--line); }
.store-chip.is-on { background: rgba(25, 232, 222, .12); border-color: var(--cyan); color: var(--text-primary); }
.store-chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.store-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.store-sort select {
  font: inherit; font-size: 13px; padding: 9px 11px; border-radius: 10px;
  border: 1px solid var(--line-soft); background: var(--ink-900, #0b0f12); color: var(--text-primary);
}
.store-count { font-size: 13px; color: var(--text-dim); margin: 0 0 18px; }
.store-count b { color: var(--text-primary); }

.store-empty { margin: 26px 0; color: var(--text-dim); }
.store-reset {
  font: inherit; background: none; border: 0; padding: 0; margin-left: 6px;
  color: var(--cyan); cursor: pointer; text-decoration: underline;
}

.store-grid[data-filtered="1"] .shop-card { transition: none; }
.store-grid .shop-card[hidden] { display: none !important; }

/* monogram cover for products without artwork */
.shop-card__cover--mono {
  display: grid; place-items: center; width: 84px; height: 84px; flex: none;
  border-radius: 8px; border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(25, 232, 222, .16), rgba(25, 232, 222, .04));
  color: var(--text-primary); font-family: var(--font-display); font-weight: 800;
  font-size: 24px; letter-spacing: .02em;
}
.shop-card__pricefrom { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-primary); }

/* hardware: honestly labelled, not purchasable */
.store-soon {
  margin: 44px 0 10px; padding: 26px; border-radius: 16px;
  border: 1px dashed rgba(25, 232, 222, .38);
  background: linear-gradient(145deg, rgba(25, 232, 222, .05), rgba(255, 255, 255, .01));
}
.store-soon__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; }
.store-soon h2 { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px); margin: 0; color: var(--text-primary); }
.store-soon__badge {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; color: #070606; background: var(--cyan);
}
.store-soon p { color: var(--text-dim); max-width: 70ch; margin: 0 0 10px; }
.store-soon__list { color: var(--text-dim); margin: 0 0 12px 18px; padding: 0; }
.store-soon__list li { margin-bottom: 4px; }
.store-soon__note { font-size: 13px; }
.store-soon__cta { color: var(--cyan); text-decoration: none; font-weight: 600; }
.store-soon__cta:hover { text-decoration: underline; }

/* product detail page */
.store-hero { padding-bottom: 26px; }
.store-eyebrow { font-family: var(--font-display); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.store-buy { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 18px 0 14px; }
.store-price { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--text-primary); }
.store-price small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.store-body h2 { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 22px); margin: 30px 0 10px; color: var(--text-primary); }
.store-features, .store-related { color: var(--text-dim); margin: 0 0 8px; padding-left: 20px; list-style: disc; }
.store-features li, .store-related li { margin-bottom: 7px; list-style: disc outside; }
.store-features li::marker, .store-related li::marker { color: var(--cyan); }
.store-steps { color: var(--text-dim); margin: 0 0 8px; padding-left: 22px; list-style: decimal; }
.store-steps li { margin-bottom: 8px; list-style: decimal outside; }
.store-steps li::marker { color: var(--cyan); font-weight: 700; }
.store-steps b { color: var(--text-primary); }
.store-related a { color: var(--cyan); text-decoration: none; }
.store-related a:hover { text-decoration: underline; }
.store-back { margin-top: 26px; }
.store-back a { color: var(--text-dim); text-decoration: none; }
.store-back a:hover { color: var(--text-primary); }

@media (max-width: 620px) {
  .store-bar { padding: 12px; }
  .store-sort { width: 100%; justify-content: space-between; }
  .store-sort select { flex: 1; }
}

.store-hint { font-size: 12.5px; color: var(--text-dim); margin: 0 0 4px; }
.store-hint__term {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--cyan); text-decoration: underline; text-underline-offset: 2px;
}
.store-hint__term:hover { color: var(--text-primary); }

/* ── enquiry form ─────────────────────────────────────────────────────────── */
.store-enquiry {
  margin: 34px 0 10px; padding: 26px; border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.store-enquiry__head h2 { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px); margin: 0 0 8px; color: var(--text-primary); }
.store-enquiry__head p { color: var(--text-dim); margin: 0 0 20px; max-width: 62ch; font-size: 14px; }
.store-enquiry__head p .shop-card__price { display: inline; font-size: inherit; }

.store-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store-field { display: block; }
.store-field--full { grid-column: 1 / -1; }
.store-field > span {
  display: block; font-size: 12.5px; color: var(--text-primary); font-weight: 550; margin-bottom: 7px;
}
.store-field > span b { color: var(--cyan); font-weight: 700; }
.store-field input, .store-field select, .store-field textarea {
  width: 100%; background: var(--ink-900, #0b0f12); color: var(--text-primary);
  border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px 12px;
  font: inherit; font-size: 15px;
}
.store-field textarea { resize: vertical; min-height: 96px; }
.store-field input:focus-visible, .store-field select:focus-visible, .store-field textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent;
}
.store-field__help { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-dim); line-height: 1.5; }

.store-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.store-form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.store-form-status { margin: 0; font-size: 13px; color: var(--text-dim); }
.store-form-status.is-error { color: #ff9a9a; }
.store-form-status.is-busy { color: var(--text-primary); }
.store-form-note { margin: 14px 0 0; font-size: 11.5px; color: var(--text-dim); line-height: 1.6; }
.store-form-note a { color: var(--cyan); }

.store-confirm {
  padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(25,232,222,.45);
  background: linear-gradient(145deg, rgba(25,232,222,.08), rgba(255,255,255,.01));
}
.store-confirm h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; color: var(--text-primary); }
.store-confirm p { margin: 0 0 8px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.store-confirm__ref { font-family: ui-monospace, monospace; color: var(--cyan) !important; font-size: 13px !important; }
.store-confirm__next { font-size: 12.5px !important; }

@media (max-width: 640px) {
  .store-form-grid { grid-template-columns: 1fr; }
  .store-enquiry { padding: 20px 18px; }
}

.store-field input.is-invalid, .store-field select.is-invalid, .store-field textarea.is-invalid {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 1px rgba(255,138,138,.30);
}
.store-field__error { display: block; margin-top: 6px; font-size: 11.5px; color: #ff9a9a; line-height: 1.45; }

/* ---- product illustration ------------------------------------------------
   Concept artwork, always captioned directly beneath so the reader is never
   expected to work out whether it is a screenshot. The intrinsic size is
   reserved by the width/height attributes, so the caption never jumps. */
.store-figure { margin: 26px auto 6px; }
.store-figure img {
  display: block; width: 100%; max-width: 700px; height: auto; margin: 0 auto;
  border-radius: 14px; border: 1px solid var(--line-soft);
  background: #0b0d0d;
}
.store-figure figcaption {
  max-width: 700px; margin: 9px auto 0; font-size: 11.5px; line-height: 1.5;
  color: var(--text-muted); text-align: center;
}
@media (max-width: 700px) {
  .store-figure img, .store-figure figcaption { max-width: 100%; }
}

/* ---- questions ----------------------------------------------------------- */
.store-faq { margin: 6px 0 4px; }
.store-faq dt {
  font-weight: 600; color: var(--text); font-size: 14.5px; margin-top: 16px;
}
.store-faq dt:first-child { margin-top: 4px; }
.store-faq dd {
  margin: 5px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.62;
  max-width: 68ch;
}

/* ---- what it is not ------------------------------------------------------ */
.store-not { margin: 6px 0 4px; padding-left: 1.15em; }
.store-not li {
  list-style: disc; color: var(--text-muted); font-size: 14px; line-height: 1.6;
  margin: 6px 0; max-width: 68ch;
}

/* Product artwork in a card tile. 224x168 is 4:3, the same shape as the image,
   so object-fit has nothing to crop and the composition stays intact. */
/* Two classes, deliberately: the page's own .shop-card__cover rule sets 84x84
   and comes later in the cascade, so a single-class override loses on order. */
.shop-card .shop-card__cover--art {
  width: 112px; height: 84px; flex: none; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line-soft); background: #0b0d0d;
}
@media (max-width: 520px) {
  .shop-card .shop-card__cover--art { width: 96px; height: 72px; }
}
