:root {
  color-scheme: light;
  --background: #d8d4c9;
  --panel: #e6e1d5;
  --watch-backdrop: #cbc5b7;
  --line: #aaa397;
  --text: #252823;
  --muted: #51534a;
  --accent: #4e5940;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 12px; z-index: 2; transform: translateY(-200%); background: var(--background); padding: 10px; }
.skip:focus { transform: translateY(0); }
.top, .section-heading, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top { min-height: 78px; }
.wordmark { font-weight: 800; text-decoration: none; }
.wordmark span { color: var(--muted); font-weight: 500; }
nav { display: flex; gap: clamp(12px, 3vw, 34px); }
nav a { font-size: .9rem; text-decoration: none; }
.draft { background: #cbc9b8; color: var(--accent); text-align: center; padding: 10px 16px; font: .77rem/1.5 ui-monospace, monospace; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 500px; margin-top: 30px; padding: clamp(24px, 6vw, 76px); border: 1px solid var(--line); background: radial-gradient(ellipse at 83% 50%, #a1a08c, #c2bfac 52%, #d4cbb8 80%); }
.eyebrow, .section-heading p, .model, .product-media span, .price { font-family: ui-monospace, monospace; }
.eyebrow { color: var(--accent); font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 18px 0; font: 900 clamp(3.6rem, 10vw, 8.6rem)/.84 system-ui, sans-serif; letter-spacing: -.085em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; gap: 20px; min-height: 46px; margin-top: 12px; padding: 10px 16px; background: var(--accent); color: #faf7ef; font-weight: 750; text-decoration: none; }
.button:hover { background: #3b4832; color: #faf7ef; }
#collection { margin: 62px 0 74px; }
.section-heading { border-bottom: 1px solid var(--line); margin-bottom: 18px; }
h2 { font-size: clamp(1.5rem, 4vw, 2.6rem); letter-spacing: -.045em; margin: 0 0 14px; }
.section-heading p { color: var(--muted); font-size: .8rem; white-space: nowrap; margin: 0 0 14px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.product { min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.product-media { display: grid; place-items: center; aspect-ratio: 4/3; background: var(--watch-backdrop); isolation: isolate; border-bottom: 1px solid var(--line); }
.product-media span { color: var(--muted); font-size: .75rem; border: 1px dashed #69745f; padding: 10px; }
.product-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.product-copy { padding: 20px; overflow-wrap: anywhere; }
h3 { margin: 0; font-size: 1.25rem; }
.product-copy p { font-size: .9rem; line-height: 1.5; }
.model, .description, #catalog-status { color: var(--muted); }
.price { color: var(--accent); margin-bottom: 0; }
footer { border-top: 1px solid var(--line); padding: 32px 0; }
footer h2 { margin: 0; font-size: 1.35rem; }
footer p { margin-bottom: 0; color: var(--muted); }
footer a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .top { flex-wrap: wrap; padding-block: 16px; gap: 10px; }
  .hero { min-height: 400px; margin-top: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}



.product-media { color: inherit; text-decoration: none; overflow: hidden; }
.product-media img { min-width: 0; min-height: 0; mix-blend-mode: multiply; }
.product h3 a { text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }
.view-details { display: inline-block; margin-top: 14px; color: var(--accent); }
.detail { padding-block: 30px 64px; }
.back { display: inline-block; margin-bottom: 25px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); }
.detail-photo { aspect-ratio: 1; border: 1px solid var(--line); }
.detail-copy h1 { font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.055em; text-transform: none; }
.detail-copy .price { font-size: 1.35rem; }
.detail-copy .description { line-height: 1.65; max-width: 55ch; }
.detail-gallery.has-thumbnails { display: grid; grid-template-columns: minmax(0, 1fr) clamp(44px, 12%, 74px); gap: clamp(8px, 2vw, 14px); align-items: start; }
.detail-gallery.has-thumbnails .detail-photo { grid-column: 1; grid-row: 1; }
.photo-picker { display: flex; flex-direction: column; gap: 8px; grid-column: 2; grid-row: 1; }
.photo-picker button { display: block; width: 100%; aspect-ratio: 1; min-height: 44px; padding: 3px; border: 2px solid transparent; background: var(--watch-backdrop); isolation: isolate; cursor: pointer; }
.photo-picker img, .cart-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.photo-picker button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.photo-picker button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.specifications { margin-top: 52px; }
.specifications dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; padding: 1px; background: var(--line); }
.specifications dl div { padding: 14px; background: var(--panel); }
.specifications dt { font-size: .85rem; color: var(--muted); }
.specifications dd { margin: 5px 0 0; }
@media (max-width: 700px) { .detail-layout { grid-template-columns: 1fr; } }

.header-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.currency-picker { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; }
.currency-picker select { min-height: 40px; padding: 5px 8px; background: var(--panel); color: var(--text); border: 1px solid var(--line); font: inherit; }
.currency-picker select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.section-heading { flex-wrap: wrap; }
.section-heading .exchange-note { white-space: normal; }
.exchange-note { color: var(--muted); font-size: .83rem; line-height: 1.5; }

.photo-dialog { width: min(96vw, 1120px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--line); background: var(--watch-backdrop); color: var(--text); }
.photo-dialog::backdrop { background: #252823bd; }
.photo-dialog form { display: flex; justify-content: flex-end; gap: 8px; padding: 8px; }
.photo-dialog button { min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; }
.photo-dialog button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-dialog-media { background: var(--watch-backdrop); isolation: isolate; }
.photo-dialog img { display: block; width: 100%; height: min(82vh, 1050px); object-fit: contain; mix-blend-mode: multiply; }

.hero { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 84px); }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 7.5vw, 7.8rem); }
.hero-watch { display: grid; place-items: center; isolation: isolate; min-width: 0; }
.hero-watch img { display: block; width: 100%; max-width: 460px; max-height: 430px; object-fit: contain; mix-blend-mode: multiply; }
.collection-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.collection-nav button { min-height: 44px; padding: 9px 14px; background: var(--panel); color: var(--text); border: 1px solid var(--line); font: inherit; font-weight: 650; cursor: pointer; }
.collection-nav button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #faf7ef; }
.collection-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.collection-empty { padding: 20px; background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
.add-to-cart { border: 0; cursor: pointer; font: inherit; font-weight: 750; }
.add-to-cart:focus-visible, .cart-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cart-feedback:empty { display: none; }
.cart-page { padding-block: 32px 70px; }
.cart-page h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1; }
.cart-list { padding: 0; list-style: none; }
.cart-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding: 18px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px; }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cart-controls input, .cart-controls button { min-height: 40px; padding: 5px 8px; border: 1px solid var(--line); background: var(--background); color: var(--text); font: inherit; }
.cart-controls input { width: 65px; }
.cart-controls button { cursor: pointer; }
.cart-summary { padding: 18px; border-top: 1px solid var(--line); }
.cart-subtotal { margin-inline-start: 10px; }
@media (max-width: 670px) { .hero { grid-template-columns: 1fr; gap: 30px; } .hero h1 { text-align: center; font-size: clamp(2.5rem, 11vw, 4.6rem); } .hero-watch img { max-height: 300px; } }

.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-thumbnail { display: block; width: 64px; height: 64px; flex: 0 0 64px; background: var(--watch-backdrop); isolation: isolate; }

.photo-dialog-media { overflow: auto; max-height: 82vh; }
.photo-dialog button.photo-zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-dialog.is-zoomed button.photo-zoom { width: 155%; cursor: zoom-out; }
.photo-dialog.is-zoomed img { height: auto; }
.catalog-collection > h3 { margin-bottom: 14px; }


.store-footer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(200px, 1.4fr); align-items: start; gap: 16px; }
.footer-details, .footer-contact { min-width: 0; border-top: 1px solid var(--line); }
.footer-details summary, .footer-contact h2 { margin: 0; padding-block: 10px; font-size: 1rem; line-height: 1.45; font-weight: 750; letter-spacing: normal; }
.footer-details summary { cursor: pointer; }
.footer-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-details p, .footer-details li, .footer-contact { font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.footer-details ul { padding-inline-start: 19px; }
.footer-details li { margin-block: 7px; }
.footer-details video { display: block; width: 100%; aspect-ratio: 16/9; margin-top: 12px; background: #34362d; }
.footer-contact p { margin: 0 0 6px; }
@media (max-width: 850px) { .store-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .store-footer { grid-template-columns: 1fr; } }
