/* Structure for every inner page, shared by all looks. It only lays things out and keeps them usable.
   Each look's inner.css loads after this file and gives the pages their character.
   Variables a look may set: --x-max, --x-pad, --x-gap, --x-line, --x-accent, --x-on-accent, --x-surface, --x-muted, --x-radius, --x-font-display. */
.x-main { --x-max: 1200px; --x-pad: clamp(16px, 4vw, 48px); --x-gap: clamp(16px, 2.4vw, 32px); --x-line: color-mix(in srgb, currentColor 16%, transparent);
  --x-accent: currentColor; --x-on-accent: #fff; --x-surface: color-mix(in srgb, currentColor 4%, transparent); --x-muted: color-mix(in srgb, currentColor 62%, transparent); --x-radius: 0px;
  display: block; min-width: 0; }
.x-main *, .x-main *::before, .x-main *::after { box-sizing: border-box; }
.x-main img { max-width: 100%; height: auto; display: block; }
.x-page { max-width: var(--x-max); margin: 0 auto; padding: 0 var(--x-pad) clamp(48px, 8vw, 96px); }
.x-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 20px 0; font-size: 14px; color: var(--x-muted); }
.x-crumbs a { color: inherit; }
.x-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--x-gap) clamp(24px, 5vw, 72px); align-items: center; padding: clamp(16px, 3vw, 40px) 0 clamp(32px, 6vw, 72px); }
.x-lead-text { min-width: 0; }
.x-lead-plain { grid-template-columns: minmax(0, 1fr); }
.x-lead-plain .x-lead-text { max-width: 820px; }
.x-title { margin: 0 0 16px; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.05; overflow-wrap: anywhere; }
.x-sub { margin: 0 0 16px; color: var(--x-muted); font-size: 18px; }
.x-answer { margin: 0 0 24px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 62ch; }
.x-lead-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 0; }
.x-lead-photo { margin: 0; }
.x-lead-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--x-radius); }
.x-lead-product .x-lead-photo img { aspect-ratio: 1 / 1; }
.x-lead-product { align-items: start; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 2px solid var(--x-accent); background: var(--x-accent); color: var(--x-on-accent); font: inherit; font-weight: 700; text-decoration: none; border-radius: var(--x-radius); cursor: pointer; }
.x-btn:hover { filter: brightness(0.92); }
.x-btn:focus-visible, .x-main a:focus-visible, .x-main input:focus-visible, .x-main select:focus-visible, .x-main textarea:focus-visible, .x-main button:focus-visible { outline: 3px solid var(--x-accent); outline-offset: 2px; }
.x-btn[disabled] { opacity: 0.6; cursor: default; }
.x-btn-wide { width: 100%; }
.x-link { color: inherit; text-underline-offset: 4px; }
.x-block { padding: clamp(32px, 6vw, 72px) 0; border-top: 1px solid var(--x-line); }
.x-h2 { margin: 0 0 clamp(16px, 2.5vw, 32px); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; }
.x-h3 { margin: 0 0 16px; font-size: 20px; }
.x-note { margin: 12px 0 0; color: var(--x-muted); font-size: 15px; line-height: 1.5; }
.x-price { margin: 0; font-weight: 700; }
.x-price-big { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.x-from { font-weight: 400; color: var(--x-muted); font-size: 0.8em; }

/* product cards */
.x-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--x-gap); }
.x-card { max-width: 420px; }
.x-card a { display: grid; gap: 6px; color: inherit; text-decoration: none; height: 100%; align-content: start; }
.x-card-photo { display: block; background: var(--x-surface); border-radius: var(--x-radius); overflow: hidden; margin-bottom: 8px; }
.x-card-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.x-card-name { font-weight: 700; font-size: 18px; line-height: 1.25; }
.x-card-sub { color: var(--x-muted); font-size: 15px; line-height: 1.4; }
.x-card a:hover .x-card-name { text-decoration: underline; text-underline-offset: 4px; }

/* kit card */
.x-kitcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--x-gap) clamp(24px, 4vw, 56px); align-items: center; margin: 0 0 clamp(24px, 4vw, 48px); padding: clamp(16px, 2.5vw, 32px); background: var(--x-surface); border-radius: var(--x-radius); }
.x-kitcard figure { margin: 0; }
.x-kitcard figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.x-kitcard h3 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.x-kitcard h3 a { color: inherit; text-decoration: none; }
.x-kit-for { margin: 0 0 16px; color: var(--x-muted); }
.x-kit-items { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--x-line); }
.x-kit-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--x-line); }
.x-kit-items a { color: inherit; }
.x-kitcard .x-price { margin: 0 0 16px; font-size: 24px; }
.x-kits { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--x-gap); }
.x-kits .x-kitcard { margin: 0; }

/* tiles (pages) */
.x-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--x-gap); }
.x-tile a { display: block; color: inherit; text-decoration: none; }
.x-tile-photo { display: block; overflow: hidden; border-radius: var(--x-radius); margin-bottom: 10px; background: var(--x-surface); }
.x-tile-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.x-tile-name { display: block; font-weight: 700; font-size: 18px; line-height: 1.25; }
.x-tile-sub { display: block; color: var(--x-muted); font-size: 15px; margin-top: 4px; }
.x-tile a:hover .x-tile-name { text-decoration: underline; text-underline-offset: 4px; }
.x-links { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: var(--x-gap); }
.x-links li { padding: 8px 0; border-bottom: 1px solid var(--x-line); break-inside: avoid; }
.x-links a { color: inherit; text-decoration: none; }
.x-links a:hover { text-decoration: underline; }

/* tables */
.x-table-wrap { overflow-x: auto; }
.x-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.x-table th, .x-table td { padding: 14px 16px 14px 0; text-align: left; border-bottom: 1px solid var(--x-line); vertical-align: top; }
.x-table thead th { font-size: 14px; color: var(--x-muted); font-weight: 600; border-bottom-width: 2px; }
.x-table td.x-num, .x-table th.x-num { text-align: right; padding-right: 0; padding-left: 16px; white-space: nowrap; }
.x-table a { color: inherit; }
.x-table-prices th[scope=row] { white-space: nowrap; }

/* prose, faq, facts, steps */
.x-prose { max-width: 72ch; }
.x-prose h2 { margin: 1.6em 0 0.5em; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.x-prose h2:first-child { margin-top: 0; }
.x-prose p { margin: 0 0 1em; line-height: 1.65; font-size: 17px; }
.x-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(24px, 5vw, 72px); }
.x-qa h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.x-qa p { margin: 0; line-height: 1.6; }
.x-includes { margin: 0 0 clamp(20px, 3vw, 32px); padding: 0 0 0 20px; display: grid; gap: 8px; line-height: 1.5; }
.x-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 var(--x-gap); }
.x-facts > div { padding: 16px 0; border-top: 1px solid var(--x-line); }
.x-facts dt { font-weight: 700; margin-bottom: 4px; }
.x-facts dd { margin: 0; line-height: 1.55; }
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--x-gap); counter-reset: xstep; }
.x-steps li { counter-increment: xstep; padding-top: 16px; border-top: 2px solid currentColor; }
.x-steps li::before { content: counter(xstep); display: block; font-weight: 700; font-size: 28px; line-height: 1; margin-bottom: 12px; }
.x-steps h3 { margin: 0 0 8px; font-size: 19px; }
.x-steps p { margin: 0; line-height: 1.55; }
.x-updated { margin: 24px 0 0; color: var(--x-muted); font-size: 14px; }

/* buy box */
.x-buy { display: grid; gap: 20px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--x-line); }
.x-opt { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.x-opt legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.x-choice { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--x-line); border-radius: var(--x-radius); cursor: pointer; }
.x-choice input { margin: 0; width: 18px; height: 18px; accent-color: var(--x-accent); }
.x-choice-name { font-weight: 600; }
.x-choice-note { grid-column: 2; color: var(--x-muted); font-size: 14px; }
.x-choice-price { grid-column: 3; grid-row: 1; font-variant-numeric: tabular-nums; }
.x-choice:has(input:checked) { border-color: var(--x-accent); box-shadow: inset 0 0 0 1px var(--x-accent); }
.x-opt-inline { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.x-opt-inline legend { grid-column: 1 / -1; }
.x-buy-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.x-qty { display: grid; gap: 6px; font-size: 14px; }
.x-qty input { width: 84px; min-height: 44px; padding: 8px 10px; font: inherit; border: 1px solid var(--x-line); background: transparent; color: inherit; border-radius: var(--x-radius); }
.x-added { margin: 0; padding: 12px 14px; border: 1px solid var(--x-accent); border-radius: var(--x-radius); }
.x-added a { color: inherit; font-weight: 700; }
.x-sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.x-sizes li { padding: 8px 14px; border: 1px solid var(--x-line); border-radius: var(--x-radius); }
[hidden] { display: none !important; }

/* cart and checkout */
.x-cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--x-line); }
.x-cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto auto; gap: 12px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--x-line); }
.x-cart-photo img { width: 88px; height: 88px; object-fit: cover; background: var(--x-surface); border-radius: var(--x-radius); }
.x-cart-info { display: grid; gap: 4px; min-width: 0; }
.x-cart-name { font-weight: 700; color: inherit; text-decoration: none; }
.x-cart-spec, .x-cart-qty { color: var(--x-muted); font-size: 15px; }
.x-cart-price { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; min-width: 88px; }
.x-remove { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 15px; color: var(--x-muted); text-decoration: underline; cursor: pointer; }
.x-cart-lines-compact .x-cart-line { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 12px; }
.x-cart-lines-compact .x-cart-photo img { width: 56px; height: 56px; }
.x-cart-lines-compact .x-cart-qty { grid-column: 2; grid-row: 2; }
.x-cart-lines-compact .x-cart-price { grid-column: 3; grid-row: 1; }
.x-cart-total { margin: 24px 0 0 auto; max-width: 420px; }
.x-totals { margin: 0; }
.x-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--x-line); font-variant-numeric: tabular-nums; }
.x-totals dd { margin: 0; white-space: nowrap; }
.x-totals small { color: var(--x-muted); }
.x-totals .x-total { font-weight: 700; font-size: 20px; border-bottom: 0; }
.x-cart-total .x-btn { margin-top: 16px; }
.x-empty { font-size: 20px; margin: 0 0 20px; }
.x-checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.x-summary { padding: clamp(16px, 2.5vw, 28px); background: var(--x-surface); border-radius: var(--x-radius); position: sticky; top: 16px; }
.x-form { display: grid; gap: 28px; min-width: 0; }
.x-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.x-form legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 20px; }
.x-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.x-field { display: grid; gap: 6px; font-size: 15px; min-width: 0; }
.x-field input, .x-field select, .x-field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: inherit; background: transparent; border: 1px solid var(--x-line); border-radius: var(--x-radius); }
.x-field textarea { min-height: 96px; resize: vertical; }
.x-field input[type=file] { padding: 10px; }
.x-field .x-error, .x-field input.x-error, .x-field select.x-error { border-color: #c62828; box-shadow: inset 0 0 0 1px #c62828; }
.x-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.x-status { margin: 0; padding: 12px 14px; border: 1px solid var(--x-line); }
.x-status-error { border-color: #c62828; color: #c62828; }
.x-confirm { max-width: 720px; }
.x-confirm .x-totals { margin: 24px 0; }

@media (max-width: 860px) {
  .x-lead, .x-kitcard, .x-checkout { grid-template-columns: minmax(0, 1fr); }
  .x-lead-photo { order: -1; }
  .x-lead-product .x-lead-photo { order: 0; }
  .x-faq, .x-steps { grid-template-columns: minmax(0, 1fr); }
  .x-summary { position: static; order: -1; }
  .x-cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .x-cart-photo img { width: 64px; height: 64px; }
  .x-cart-line .x-qty { grid-column: 2; grid-row: 2; }
  .x-cart-line .x-qty span { display: none; }
  .x-cart-line .x-cart-price { grid-column: 3; grid-row: 1; }
  .x-cart-line .x-remove { grid-column: 3; grid-row: 2; justify-self: end; }
  .x-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .x-tiles, .x-cards { gap: 16px 12px; }
  .x-card-name, .x-tile-name { font-size: 16px; }
}
