:root {
  color-scheme: light dark;
  --page: #f5f4ef;
  --surface: #fbfaf5;
  --ink: #22221e;
  --muted: #59594f;
  --line: #cfcec3;
  --accent: #fb743e;
  --accent-ink: #241a16;
  --radius: 8px;
  --body: "Segoe UI", Arial, sans-serif;
  --display: "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #22221e;
    --surface: #2a2a25;
    --ink: #f5f4ef;
    --muted: #c0bfb4;
    --line: #57574e;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .7rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font-weight: 650; text-decoration: none; cursor: pointer;
}
button:hover, .button:hover { border-color: var(--ink); }
button:active, .button:active { transform: translateY(1px); }
.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.shell { width: min(100% - 80px, 1240px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; transform: translateY(-150%); background: var(--surface); padding: 8px; }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; min-height: 76px; gap: clamp(.65rem,2vw,1.5rem); }
.brand { display: inline-flex; align-items: center; width: max-content; font: 800 1.65rem/1 var(--display); letter-spacing: -.07em; text-decoration: none; }
.brand img { margin-inline-end: 9px; }
.brand span { font-weight: 600; }
nav { display: flex; align-items: center; gap: clamp(.65rem,2vw,1.5rem); }
nav a { font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.cart-link { margin-left: auto; }
.shop-search { display: flex; flex: 1; min-width: 0; gap: 6px; }
.shop-search input[type=search] { min-width: 0; }
.shop-search input::placeholder { color: var(--muted); opacity: 1; }
.cart-link span { font: 700 .9rem/1.6 monospace; padding-inline: .32rem; background: var(--accent); color: var(--accent-ink); border-radius: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem,1fr); align-items: stretch; gap: 20px; padding-block: 30px 24px; }
.hero-banner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(18px,3vw,42px); }
.eyebrow { font-family: Consolas, monospace; font-size: .85rem; letter-spacing: .02em; margin: 0 0 .9rem; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.055em; line-height: 1.06; margin: 0 0 .65em; }
h1 { font-weight: 800; font-size: clamp(2.4rem,6vw,5rem); }
.hero h1 { margin-bottom: .3em; font-size: clamp(1.8rem,3.2vw,3.65rem); }
.hero .lead { max-width: 30ch; margin: 0 0 1.35rem; font-size: clamp(1rem,1.5vw,1.25rem); }
.hero-image { position: relative; display: block; background: var(--surface); overflow: hidden; min-height: 280px; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.hero-image:focus-visible { outline-offset: -4px; }
.quick-buy { display: flex; flex-direction: column; justify-content: center; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px,2.5vw,32px); }
.quick-buy h2 { font-size: clamp(1.5rem,2.4vw,2rem); }
.quick-specs { width: 100%; margin: .1rem 0; }
.quick-specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: .35rem; font-size: .9rem; }
.quick-specs dd { font-size: .95rem; white-space: nowrap; }
.quick-price { margin: 1rem 0 .85rem; }
.fact-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.fact-strip span { padding: 15px 18px; color: var(--muted); font-size: .9rem; }
.fact-strip span:first-child { padding-left: 0; }
.fact-strip span + span { border-left: 1px solid var(--line); }
.fact-strip strong { display: block; font-size: 1.08rem; color: var(--ink); }
.section { margin-block: 54px 62px; }
h2 { font-size: clamp(1.75rem,4vw,2.9rem); }
h3 { font-size: clamp(1.35rem,2.7vw,2rem); }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }
.product-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 290px),1fr)); gap: 18px; }
.catalog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-photo { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--surface); }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px,2vw,24px); }
.card-body > p:first-child { margin-top: 0; font-size: .9rem; }
.card-bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-size: clamp(1.8rem,4vw,2.55rem); letter-spacing: -.045em; line-height: 1.1; }
.muted, figcaption, dt { color: var(--muted); }
.pickup { padding-top: 32px; border-top: 1px solid var(--line); }
.pickup ol { padding-left: 1.4rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 36px; }
.pickup li::marker { font-weight: bold; }
.pickup li p { margin-top: .25rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; color: var(--muted); }
.footer-grid a:last-child { margin-left: auto; }
.breadcrumb { margin-block: 22px 0; }
.detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px clamp(24px,5vw,75px); align-items: start; }
.detail-heading { grid-column: 2; grid-row: 1; }
.detail-heading > p:first-child { margin-top: 0; }
.detail-price { margin-bottom: 0; }
.detail .product-gallery { grid-column: 1; grid-row: 1 / span 2; }
.product-purchase { grid-column: 2; grid-row: 2; min-width: 0; }
.detail h1, .flow h1 { font-size: clamp(2rem,5vw,3.65rem); }
.product-gallery { display: grid; gap: 20px; }
.product-gallery [data-image-viewer] { display: block; cursor: zoom-in; }
.image-viewer { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 20px 80px #0006; }
.image-viewer::backdrop { background: #000c; }
.image-viewer-content { position: relative; padding: 60px 20px 16px; }
.image-viewer-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; font-size: 2rem; line-height: 1; }
.image-viewer-image { width: 100%; height: auto; max-height: calc(100dvh - 164px); object-fit: contain; }
.image-viewer-caption { margin: 12px 0 0; color: var(--muted); font-size: .9rem; text-align: center; overflow-wrap: anywhere; }
html.image-viewer-open { overflow: hidden; }
.detail figure { margin: 0; }
.detail img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; padding: 24px; background: var(--surface); border-radius: var(--radius); }
figcaption { font-size: .88rem; margin-top: .55rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 18px; border-block: 1px solid var(--line); }
dd { margin: 0; font: 700 1.2rem/1.5 Consolas, monospace; }
.buy { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.quantity-prices { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; }
.quantity-prices ul { margin: 6px 0 0; padding-left: 1.2rem; }
.quantity-summary { flex-basis: 100%; margin: 0; }
.color-picker { flex-basis: 100%; min-width: 0; padding: 0; margin: 0 0 8px; border: 0; }
.color-picker legend { font-weight: 600; margin-bottom: 8px; }
.color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-option { display: inline-block; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.color-option.selected { border: 2px solid var(--accent); padding: 8px 15px; font-weight: 700; }
label { display: grid; gap: 5px; font-weight: 600; }
input:not([type=checkbox]), textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); min-height: 44px; padding: .55rem .7rem; background: var(--surface); color: var(--ink); }
.buy input, .cart-item input { width: 6rem; }
.flow { min-height: 47vh; }
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 24px; align-items: start; }
.cart-item { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-block: 14px; border-top: 1px solid var(--line); }
.cart-item img { width: 110px; height: 100px; object-fit: contain; background: var(--surface); border-radius: var(--radius); }
.cart-item p { margin: 0; }
.cart-item label { margin-left: auto; }
.text-button { border: 0; background: transparent; text-decoration: underline; }
.summary { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.summary h2 { font-size: 1.45rem; }
.summary .button { display: flex; margin-top: 16px; }
.order { margin-top: 16px; max-width: 740px; overflow-wrap: anywhere; }
.fields { display: grid; gap: 17px; max-width: 550px; }
.fields button { justify-self: start; }
.check { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .65rem; font-weight: 400; }
.message { padding: .75rem 1rem; border-left: 4px solid var(--accent); background: var(--surface); }
.legal { max-width: 65ch; }
.page-content { max-width: 75ch; overflow-wrap: anywhere; }
.page-content h2 { margin-top: 1.4em; }
.page-image { max-height: 460px; object-fit: contain; margin-bottom: 24px; }
.contact-block { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(28px,4vw,60px); padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.contact-photo { overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-copy { padding-block: 12px; min-width: 0; }
.contact-copy h2 { margin-bottom: 18px; max-width: 15ch; font-size: clamp(2rem,3.6vw,3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.contact-intro { color: var(--muted); max-width: 43ch; }
.contact-phone { display: inline-block; margin: 0 0 24px; font-size: clamp(1.45rem,2.5vw,2rem); font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-form { max-width: none; }
.contact-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.contact-form .check { font-size: .85rem; color: var(--muted); }
.contact-form textarea { resize: vertical; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 767px) {
  .shell { width: min(100% - 32px, 1240px); }
  .nav { flex-wrap: wrap; gap: 6px 12px; padding-block: 10px; }
  nav { order: 3; font-size: .9rem; }
  .shop-search { order: 4; flex-basis: 100%; }
  .brand { font-size: 1.45rem; }
  .hero, .detail, .checkout-grid, .catalog-card, .pickup ol { grid-template-columns: minmax(0,1fr); }
  .detail { grid-template-columns: minmax(104px,.75fr) minmax(0,1.25fr); gap: 18px 14px; }
  .detail-heading { grid-column: 2; grid-row: 1; }
  .detail h1 { font-size: clamp(1.4rem,5.6vw,2rem); overflow-wrap: anywhere; }
  .detail-heading .muted { font-size: .85rem; }
  .detail .product-gallery { grid-column: 1; grid-row: 1; display: flex; overflow-x: auto; gap: 12px; }
  .detail .product-gallery figure { flex: 0 0 100%; min-width: 0; }
  .detail .product-gallery img { height: 170px; aspect-ratio: auto; padding: 8px; }
  .detail .product-gallery figcaption { font-size: .75rem; }
  .product-purchase { grid-column: 1 / -1; grid-row: 2; }
  .hero { padding-block: 20px; gap: 14px; }
  .hero h1 { font-size: clamp(1.8rem,6.7vw,3.25rem); }
  .fact-strip { grid-template-columns: minmax(0,1fr); }
  .fact-strip span { padding: 8px 0; }
  .fact-strip span + span { border-left: 0; border-top: 1px solid var(--line); }
  .section { margin-block: 35px 44px; }
  .card-photo { min-height: 0; aspect-ratio: 3 / 2; max-height: 280px; }
  .footer-grid a:last-child { margin-left: 0; }
  .contact-block { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 28px; }
  .contact-photo { max-height: 480px; aspect-ratio: 4 / 5; }
  .contact-photo img { object-position: center 42%; }
  .contact-copy { padding: 0; }
  .contact-copy h2 { max-width: 18ch; }
}
@media (max-width: 480px) {
  .hero-banner { grid-template-columns: minmax(0,1fr); }
  .hero-image { min-height: 0; aspect-ratio: 3 / 2; }
  .contact-fields { grid-template-columns: minmax(0,1fr); }
}
