/* Lume Stands, the shop pages around the sky world (gate 3b): catalog, product pages with the try-on, the cart
   drawer and page, custom stand, FAQ, about, shipping and refunds, and the email line.
   Built on css/world.css (its tokens, nav, logo and footer) and loaded only on the shop pages; the drawer, the
   picker and the cart lines are in css/shop-overlay.css (they also open over the home page). Phones are laid out
   first. Nothing glows. */

html.shop {
  --glass: rgba(255, 255, 255, .58);
  --glass-solid: rgba(250, 251, 253, .94);
  --glass-line: rgba(22, 38, 58, .12);
  --shadow: 0 12px 40px rgba(16, 30, 60, .14);
  --text-shadow: none;
  background: #bcd3ea;
}
html.shop.night {
  --glass: rgba(20, 28, 58, .62);
  --glass-solid: rgba(22, 30, 62, .95);
  --glass-line: rgba(243, 239, 229, .16);
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  --focus: #A9C7FF;
  --text-shadow: 0 1px 10px rgba(6, 10, 30, .55);
  background: #1c2550;
}
:root {
  --btn: #EE9A2F;
  --btn-hover: #F2A847;
  --btn-ink: #16263A;
  --radius: 20px;
  --radius-s: 14px;
}

/* ---- the sky behind every page (the world's photograph; at night the same photo in deep blue) */
/* One continuous sky surface for travel and landing. Keep the scrollbar gutter
   for the whole product visit so revealing the page never resizes the canvas. */
.pd-arrival { display: none; }
html.pd-route { scrollbar-gutter: stable; }
html.pd-arriving { overflow: hidden; }
html.pd-arriving .pd-arrival {
  display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden;
  opacity: 1; transition: opacity .3s ease; touch-action: none;
}
html.pd-arriving:not(.pd-revealing) body > :not(.sky):not(.pd-arrival):not(script) { opacity: 0 !important; visibility: hidden; }
html.pd-arriving:not(.pd-revealing) .sky { animation: pd-sky-pan 12s linear both; }
.pd-arrival-back { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: var(--gut); min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 14px; text-decoration: none; opacity: 0; animation: pd-route-exit .3s ease 5s forwards; }
.pd-arrival-back:focus-visible { opacity: 1; animation: none; }
html.pd-arriving .pd-arrival.leaving { opacity: 0; pointer-events: none; }
html.pd-arriving .pd-gl, html.pd-arriving .pd-poster { transition: none !important; }
html.pd-arriving .pd-name { view-transition-name: none !important; }
html.pd-arriving::view-transition-group(root) { animation: none; }
html.pd-arriving::view-transition-old(root), html.pd-arriving::view-transition-new(root) { object-fit: none; object-position: left top; }
/* A feathered sky passage across the full viewport. The old page keeps its size
   and position: no shrinking screenshot, rectangular edge, or double horizon. */
html.pd-arriving::view-transition-old(root) { animation: pd-depart-focus .85s ease-in both; mix-blend-mode: normal; }
html.pd-arriving::view-transition-new(root) {
  animation: pd-sky-pass .85s cubic-bezier(.4, 0, .2, 1) both; mix-blend-mode: normal;
  mask-image: linear-gradient(90deg, transparent 40%, #000 60%);
  mask-size: 300% 100%; mask-repeat: no-repeat;
}
html.pd-arriving::view-transition-group(stand-name) { display: none; }
html.pd-revealing .pd-stage { animation: pd-island-emerge .4s cubic-bezier(.4, 0, .2, 1) both; }
html.pd-flight .nav { animation: pd-interface-land .35s ease-out .1s both; }
html.pd-flight :is(.pd-buy, .pd-tools, .swap) { animation: pd-interface-land .4s cubic-bezier(.16, 1, .3, 1) .55s both; }
@keyframes pd-sky-pass { from { mask-position: 0% 0; } to { mask-position: 100% 0; } }
@keyframes pd-depart-focus { from { filter: blur(0); } to { filter: blur(3px); } }
@keyframes pd-sky-pan { from { background-position: 38% 47%; } to { background-position: 50% 47%; } }
@keyframes pd-island-emerge { from { opacity: 0; } to { opacity: 1; } }
@keyframes pd-interface-land { from { opacity: 0; } to { opacity: 1; } }
@keyframes pd-route-exit { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.pd-arriving::view-transition-old(root) { animation: none; }
  html.pd-arriving .pd-arrival { transition-duration: .12s; }
  html.pd-arriving:not(.pd-revealing) .sky,
  html.pd-flight :is(.nav, .pd-buy, .pd-tools, .swap, .buybar) { animation: none; will-change: auto; }
  html.pd-revealing .pd-stage { animation-duration: .12s; }
}

.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #bcd3ea url('../assets/sky/sky-day-1200.jpg') center 47% / cover no-repeat;
  transition: background-color 1s ease;
}
html.night .sky { background-color: #1c2550; background-blend-mode: multiply; }
.sky::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(243, 239, 229, .8), transparent 60%),
    radial-gradient(1px 1px at 31% 9%, rgba(243, 239, 229, .7), transparent 60%),
    radial-gradient(1.4px 1.4px at 47% 22%, rgba(243, 239, 229, .8), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(243, 239, 229, .6), transparent 60%),
    radial-gradient(1.2px 1.2px at 78% 26%, rgba(243, 239, 229, .7), transparent 60%),
    radial-gradient(1px 1px at 88% 7%, rgba(243, 239, 229, .8), transparent 60%),
    radial-gradient(1px 1px at 22% 33%, rgba(243, 239, 229, .5), transparent 60%),
    radial-gradient(1px 1px at 92% 38%, rgba(243, 239, 229, .5), transparent 60%),
    linear-gradient(rgba(8, 12, 36, .55), rgba(8, 12, 36, 0) 55%);
}
html.night .sky::after { opacity: 1; }

html.shop body { min-height: 100vh; display: flex; flex-direction: column; text-shadow: var(--text-shadow); }
/* the world's footer stays light at night: no night text shadow on it, and its day rules and focus ring */
html.shop .foot { text-shadow: none; --rule: rgba(22, 38, 58, .16); --focus: #2F6FD6; }
html.shop main { flex: 1 0 auto; padding: calc(var(--nav-h) + env(safe-area-inset-top)) var(--gut) 24px; }
html.shop .nav-logo { opacity: 1; transform: none; display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--fg); }
html.shop .nav-word { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
html.logo-on .nav-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.shop .nav { background: linear-gradient(rgba(188, 211, 234, .0), rgba(188, 211, 234, 0)); transition: background .3s ease, box-shadow .3s ease; }
html.shop.scrolled .nav { background: var(--lg-fill); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: inset 0 -1px 0 var(--lg-lo), 0 8px 20px -16px rgba(16, 30, 60, .35); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
/* the way back to the 3D world: "Islands", a glass pill first in the main links, by the logo (both go back through the
   tab's history when the world is there, so it returns as it was left: the head script, proof/pd-gap). Phones keep
   only it in the bar, with All stands on its own row below; wider screens keep Stands and More from us on the right */
html.shop .nav-links { flex: 1 0 auto; margin-left: 4px; }   /* never squeezed under its links: the logo gives way */
html.shop .nav-links .nav-home + a { margin-left: auto; }
html.shop .nav-links a.nav-home {
  flex: none; gap: 3px; padding: 0 14px 0 9px; white-space: nowrap;
  background: var(--lg-sheen) 0 0 / 220% 220% no-repeat, var(--lg-fill);
  box-shadow: inset 1px 1px 0 var(--lg-hi), inset -1px -1px 0 var(--lg-lo), inset 0 -10px 14px -12px var(--lg-in), var(--lg-drop);
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
}
html.shop .nav-links a.nav-home:hover { background-position: 80% 80%, 0 0; background-color: var(--lg-fill-up); }
html.shop .nav-links a.nav-home:focus-visible { border-radius: 999px; }
.nav-home .back-i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) { html.shop .nav-links a.nav-home { padding: 0 12px 0 7px; } }
/* the narrowest phones: the word alone, so the logo keeps its size */
@media (max-width: 374px) { html.shop .nav-links a.nav-home { padding: 0 12px; } .nav-home .back-i { display: none; } }
@media (prefers-reduced-transparency: reduce) { html.shop .nav-links a.nav-home { background: var(--lg-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.cart-btn.bump b { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---- shared parts */
/* a glass panel: the Liquid Glass material (css/world.css --lg tokens) with more body under its words */
.glass {
  background: var(--lg-sheen) 0 0 / 220% 220% no-repeat, var(--glass); border: 0; border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 1px 1px 0 var(--lg-hi), inset -1px -1px 0 var(--lg-lo), inset 0 -18px 26px -22px var(--lg-in), var(--shadow);
  color: var(--fg); transition: background-color 1s ease, color 1s ease;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 650; font-size: 16.5px;
  text-decoration: none; text-shadow: none; cursor: pointer; transition: background .2s ease, transform .15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; }
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { background: var(--btn); }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid currentColor; color: var(--fg); text-decoration: none; font-weight: 600; background: transparent; cursor: pointer;
}
.btn-line:hover { background: var(--chip); }
.link-btn { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.watch-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 16px; border-radius: 999px;
  color: var(--fg); cursor: pointer; font-size: 15px; text-shadow: none; max-width: 100%;
}
.watch-chip b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* gate 3d: "Your watch:" never breaks onto two lines, and a watch name too long for a narrow column (the desktop buy
   column, a 360 px phone) wraps in full instead of being cut off ("Forerunner 265 · 46 ..."). One line looks as before. */
.watch-chip { white-space: nowrap; border-radius: 22px; text-align: left; }
.watch-chip b { min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; padding: 4px 0; }
.pd-buy .watch-chip { font-size: 14px; padding-left: 14px; }
.chev { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-h { margin: 0 0 6px; font-family: var(--serif-text); font-variation-settings: 'opsz' 60; font-size: 27px; font-weight: 540; letter-spacing: -.012em; line-height: 1.15; }
.sec-note { margin: 0 0 14px; color: var(--fg-soft); font-size: 15px; }
.draft-tag {
  display: inline-block; margin: 6px 0 0; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: #FFE7B8; color: #5A3B00; text-shadow: none; border: 1px dashed #C98A1A;
}
.form-msg { margin: 8px 0 0; min-height: 1.4em; font-size: 15px; color: var(--fg); }
.form-msg.err { color: #9B2C1F; }
html.night .form-msg.err { color: #FFB3A1; }
input[type="email"], input[type="search"], textarea {
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid rgba(22, 38, 58, .22); border-radius: 12px;
  min-height: 48px; padding: 10px 14px; width: 100%; box-sizing: border-box; text-shadow: none;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5D6B7D; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B8412F; }

/* ---- the email line (every shop page) */
.signup { margin: 40px auto 8px; max-width: 760px; }
.signup-in { padding: 22px 20px; }
.signup h2 { margin: 0 0 12px; font-family: var(--serif-text); font-variation-settings: 'opsz' 48; font-size: 23px; font-weight: 540; letter-spacing: -.01em; line-height: 1.2; }
.signup-form { display: grid; grid-template-columns: 1fr; gap: 10px; }
.signup-form .form-msg { grid-column: 1 / -1; margin: 0; }
.signup-nojs { margin: 0; color: var(--fg-soft); font-size: 15px; }
html.js .signup-nojs { display: none; }

/* ---- catalog */
.cat-head { padding-top: 18px; max-width: 1200px; }
.cat-h { margin: 0; font-size: clamp(40px, 10.6vw, 52px); }
.cat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters-gap { width: 6px; }
.tog {
  min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--fg);
  font-size: 14.5px; font-weight: 500; cursor: pointer; text-shadow: none; position: relative;
}
.tog::before { content: ''; position: absolute; inset: -3px 0; }   /* a 44 px tall tap area */
/* a picked filter is lit glass: the ink colour of the page behind the same rim */
.tog[aria-pressed="true"], .tog[aria-pressed="true"]:hover { background: var(--fg); color: var(--ink); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .28), inset 0 -8px 12px -10px rgba(0, 0, 0, .35), var(--lg-drop); }
html:not(.night) .tog[aria-pressed="true"] { color: #fff; }
.cat-gift { margin: 10px 0 0; font-size: 14.5px; color: var(--fg-soft); }
.shelves { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 20px; margin: 30px 0 0; }
.shelf { flex: 0 1 auto; min-width: 0; }
.shelf[hidden] { display: none; }
.shelf-label { margin: 0 0 4px 4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-soft); }
.shelf-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 12px; }
.card { width: calc((100vw - 2 * var(--gut) - 20px) / 2); max-width: 300px; }
.card[hidden] { display: none; }
.card-link { display: block; text-decoration: none; color: var(--fg); border-radius: var(--radius); padding: 0 0 10px; }
.card-pic { display: block; position: relative; aspect-ratio: 5 / 4; transform: translateY(var(--bob, 0px)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card-pic img, .card-pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  /* the island's cut edges melt into the sky along a rounded edge (the stand and the strap stay whole). No tiling:
     a repeating mask paints the top of the next tile on the last pixel row, a hairline under the picture. */
  -webkit-mask-image: radial-gradient(ellipse 50% 58% at 50% 42%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 58% at 50% 42%, #000 70%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.card-pic img.fade { transition: opacity .45s ease; }
.card-link:hover .card-pic { transform: translateY(calc(var(--bob, 0px) - 6px)); }
.card-name { display: block; margin: 2px 0 0; padding: 0 6px; font-family: var(--serif-text); font-variation-settings: 'opsz' 40; font-size: 20px; font-weight: 540; letter-spacing: -.008em; line-height: 1.2; }
.card-price { display: block; padding: 0 6px; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.card-fit { display: block; padding: 0 6px; font-size: 13.5px; color: var(--fg-soft); }
.shelves-empty { width: 100%; margin: 0; padding: 16px 4px; color: var(--fg); }
.cat-custom { margin: 36px 0 0; padding: 20px; max-width: 760px; }
.cat-custom h2 { margin: 0; font-family: var(--serif-text); font-variation-settings: 'opsz' 48; font-size: 23px; font-weight: 540; letter-spacing: -.01em; }
.cat-custom p { margin: 4px 0 14px; color: var(--fg-soft); }
.cat-trust { margin: 26px 0 0; font-size: 14.5px; color: var(--fg-soft); max-width: 760px; }

/* ---- product page */
html.shop main.pd { padding: 0 0 24px; }
@media (max-width: 760px) { html.shop body[data-page="product"] { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }   /* room for the buy bar */
.pd-hero { position: relative; padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); }
.pd-stage { position: relative; height: 62vh; height: 62svh; min-height: 340px; overflow: hidden; --fade: 82%; }
/* gate 3h: on phones the stage keeps one shape, 1.12 times as tall as it is wide (shorter where the screen is short),
   so the poster and the live stage frame the stand the same way on every phone (js/shop/product.js DESIGN_K) */
@media (max-width: 760px) { .pd-stage { height: clamp(340px, 112vw, 72vh); height: clamp(340px, 112vw, 72svh); } }
/* the picture fades into the sky at the bottom; the buttons over it do not */
.pd-gl, .pd-poster { -webkit-mask-image: linear-gradient(#000 var(--fade), transparent); mask-image: linear-gradient(#000 var(--fade), transparent); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.pd-poster, .pd-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .7s ease; }
.pd-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; outline: none; opacity: 0; transition: opacity .7s ease; cursor: grab; }
.pd-gl:active { cursor: grabbing; }
.pd-gl.on { opacity: 1; }
.pd-gl.on + .pd-tools, .pd-stage.live .pd-tools { opacity: 1; }
/* the live stage fades in over the poster, which stays whole until then and only goes once the stage is in: both fading
   at once let the sky show through the stand halfway (proof/pd-gap) */
.pd-stage.live .pd-poster { opacity: 0; transition: opacity .3s ease .7s; }
html.night .pd-poster:not(.own-night) img { filter: brightness(.5) saturate(.7); }   /* until the live stage takes over */
.pd-gl:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); border-radius: 6px; }
.pd-tools { position: absolute; left: 0; right: 0; top: 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; pointer-events: none; }
.pd-tools > * { pointer-events: auto; }
.pd-hint { margin: 0; padding: 5px 13px; border-radius: 999px; font-size: 13.5px; color: var(--fg); transition: opacity .6s ease; text-shadow: none; }
.pd-hint.gone { opacity: 0; }
.swap { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
/* centred while the buttons fit; once they overflow, the auto margins drop to 0 so the first one can still be
   scrolled to (justify-content: center would push it out of reach past the left edge) */
.swap > :first-child { margin-left: auto; }
.swap > :last-child { margin-right: auto; }
.swap::-webkit-scrollbar { display: none; }
.swap[hidden], .pd-tools[hidden] { display: none; }
/* while an Apple Watch is picked the stands not made for it step out of the row (js/shop/product.js paintSwap); the
   first and last buttons still shown carry the centring margins then */
.swap-btn[hidden] { display: none; }
.swap > .edge-l { margin-left: auto; }
.swap > .edge-r { margin-right: auto; }
.swap-btn {
  flex: none; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 3px 14px 3px 4px; border-radius: 999px;
  color: var(--fg); cursor: pointer; font-size: 14.5px; font-weight: 500; text-shadow: none;
}
/* this stand's button: the same glass, ringed in ink */
.swap-btn[aria-current="true"] { box-shadow: inset 0 0 0 1.5px var(--fg), inset 0 -10px 14px -12px var(--lg-in), var(--lg-drop); background-color: var(--lg-fill-up); font-weight: 600; }
.swap-pic { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .5); flex: none; }
.swap-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-buy { position: relative; margin: -12px var(--gut) 0; padding: 20px 18px 18px; }
.pd-theme { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-soft); }
.pd-name { margin: 4px 0 2px; font-size: 38px; }
.pd-price { margin: 6px 0 0; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-fit { margin: 2px 0 12px; font-size: 15.5px; color: var(--fg); }
.pd-fit.no { color: #9B2C1F; font-weight: 600; }
html.night .pd-fit.no { color: #FFB3A1; }
.pd-colours { margin: 14px 0 0; }
.pd-colours-h { margin: 0 0 6px; font-size: 14px; color: var(--fg-soft); }
.swatches { display: flex; flex-wrap: wrap; gap: 4px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); background: var(--sw-band); position: relative;
  transition: box-shadow .22s cubic-bezier(.33, 1, .68, 1), transform .16s cubic-bezier(.33, 1, .68, 1); }
.swatch:active i { transform: scale(.88); }   /* the colour answers the tap; its ring follows to the new pick */
.swatch i::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--sw-case); box-shadow: 0 0 0 2px var(--sw-bezel); }
.swatch[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--glass-solid), 0 0 0 4px var(--fg); }
html.night .swatch:not([aria-pressed="true"]) i { box-shadow: inset 0 0 0 1px rgba(243, 239, 229, .34); }   /* dark bands on the night panel */
.btn-buy { width: 100%; margin-top: 16px; }
.pd-added { margin: 6px 0 0; min-height: 1.3em; font-size: 14.5px; }
.pd-trust, .pd-ship, .pd-gift { margin: 4px 0 0; font-size: 14px; color: var(--fg-soft); }
.pd-trust { margin-top: 2px; color: var(--fg); }
.pd-nojs { margin: 8px 0 0; font-size: 14px; }
.pd-photos, .pd-details, .pd-faq, .pd-pairs { margin: 40px var(--gut) 0; }
.shots { list-style: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); }
.shot { flex: none; width: 78vw; max-width: 460px; position: relative; scroll-snap-align: start; border-radius: var(--radius-s); overflow: hidden; background: rgba(255, 255, 255, .35); border: 1px solid var(--glass-line); }
.shot-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot-tag { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(22, 38, 58, .72); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-shadow: none; }
.pd-details { max-width: 820px; }
.pd-desc { margin: 0 0 14px; font-size: 17px; max-width: 60ch; }
.dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.dl dt { font-weight: 600; font-size: 15px; }
.dl dd { margin: 0; color: var(--fg); font-size: 15.5px; }
.pd-faq { max-width: 820px; }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 32px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { margin: 0 0 14px; color: var(--fg); max-width: 60ch; }
.more-link { margin: 14px 0 0; }
.more-link a { display: inline-flex; min-height: 44px; align-items: center; }
.pd-legal { margin: 36px var(--gut) 0; font-size: 13.5px; color: var(--fg-soft); max-width: 70ch; }
.buybar {
  position: fixed; z-index: 20; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px; border-radius: 999px; transform: translateY(0); transition: transform .35s ease, opacity .35s ease;
}
.buybar[hidden] { display: flex; transform: translateY(130%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .35s ease, opacity .35s ease, visibility 0s .35s; }
.buybar-name { font-family: var(--serif-text); font-variation-settings: 'opsz' 30; font-weight: 540; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.buybar-price { font-weight: 600; font-variant-numeric: tabular-nums; margin-left: auto; }
.buybar .btn { min-height: 46px; padding: 0 18px; font-size: 15.5px; flex: none; }

/* Phone shop: a calm utility row, two clear destinations, then the product.
   Width sets the stage height, so browser-toolbar movement cannot resize it. */
@media (max-width: 760px) {
  .sky { bottom: auto; height: 100vh; height: 100lvh; }
  html.shop .nav { padding-right: var(--gut); }
  html.shop .nav-logo { flex: 0 0 112px; width: 112px; }
  html.shop .nav-links { position: absolute; top: calc(56px + env(safe-area-inset-top)); left: var(--gut); right: var(--gut); margin: 0; gap: 8px; }
  html.shop .nav-links a.nav-home, html.shop .nav-links a.nav-all { position: static; min-height: 44px; padding: 0 16px; margin: 0; }
  html.shop .nav-links a.nav-all { margin-left: auto; }
  html.shop .nav-links + .nav-tools { margin-left: auto; }
  .pd-stage { height: clamp(300px, 96vw, 420px); min-height: 0; }
  .pd-poster img { object-fit: contain; }
  .pd-tools { top: 8px; padding-inline: var(--gut); }
  .pd-hint { font-size: 12px; padding: 4px 10px; }
  .swap { left: var(--gut); right: var(--gut); bottom: 8px; width: auto; display: flex; flex-wrap: nowrap; gap: 6px; padding: 2px 0; overflow-x: auto; overflow-y: hidden; scroll-padding-inline: 2px; }
  .swap > :first-child, .swap > :last-child, .swap > .edge-l, .swap > .edge-r { margin: 0; }
  .swap-btn { flex: 0 0 calc((100% - 12px) / 3); min-width: 0; min-height: 76px; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 4px; border-radius: 16px; font-size: 13px; line-height: 1.15; text-align: center; }
  .swap-pic { width: 30px; height: 30px; }
  .swap-name { min-height: 28px; display: grid; align-content: center; }
  .pd-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; margin: 8px var(--gut) 0; padding: 20px; border-radius: 18px; }
  .pd-buy > * { grid-column: 1 / -1; min-width: 0; }
  .pd-theme { display: none; }
  .pd-name { grid-column: 1; margin: 0 0 8px; font-size: clamp(29px, 8vw, 34px); line-height: 1.08; }
  .pd-price { grid-column: 2; grid-row: 1; margin: 3px 0 8px; font-size: 22px; }
  .pd-fit { margin: 0 0 8px; font-size: 14px; }
  .pd-buy .watch-chip { width: 100%; min-height: 48px; justify-content: space-between; }
  .pd-colours { margin-top: 16px; }
  .pd-added:empty { min-height: 0; margin: 0; }
  .pd-trust { margin-top: 12px; }
  .pd-ship, .pd-gift, .pd-trust { font-size: 13px; line-height: 1.5; }
  .pd-photos, .pd-details, .pd-faq, .pd-pairs { margin-top: 32px; }
  .buybar { left: var(--gut); right: var(--gut); }
  html.shop main { padding-bottom: 40px; }
  html.shop input, html.shop textarea, html.shop select { font-size: 16px; }
}

/* ---- words pages (FAQ, about, shipping) and the cart page */
.page-head { padding-top: 22px; max-width: 820px; margin: 0 auto; }
.page-head h1 { margin: 0 0 18px; font-size: clamp(38px, 10.2vw, 54px); }
html.shop main.words .draft-tag { display: block; width: fit-content; margin: 14px auto 0; max-width: 820px; }
.words-body { max-width: 820px; margin: 0 auto; padding: 8px 20px; box-sizing: border-box; }
.words-sec { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.words-sec:last-child { border-bottom: 0; }
.words-sec h2 { margin: 0 0 6px; font-family: var(--serif-text); font-variation-settings: 'opsz' 40; font-size: 21px; font-weight: 540; letter-spacing: -.008em; line-height: 1.2; }
.words-sec p { margin: 0 0 8px; max-width: 64ch; font-size: 16.5px; }
.words-sec p:last-child { margin-bottom: 0; }
.cart-page { max-width: 820px; margin: 0 auto; padding: 8px 18px 18px; box-sizing: border-box; }
.cart-nojs { margin: 12px 0; }
html.js .cart-nojs { display: none; }
/* More from us: the lede, then one row per listing (its words, and a link out to Etsy), then the way out */
.more-lede { font-size: 18px; line-height: 1.5; }
.listings { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.listing { display: grid; gap: 10px; align-items: center; padding: 16px 0; }
.listing + .listing { border-top: 1px solid var(--rule); }
.listing-title { margin: 0 0 4px; font-family: var(--serif-text); font-variation-settings: 'opsz' 40; font-size: 21px; font-weight: 540; letter-spacing: -.008em; line-height: 1.2; }
.listing-line { margin: 0; max-width: 56ch; font-size: 16px; }
.listing-link { justify-self: start; font-size: 15.5px; }
.more-out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 18px 0 16px; }
.more-back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 761px) {
  .listing { grid-template-columns: 1fr auto; gap: 24px; padding: 18px 0; }
  .listing-link { justify-self: end; }
}
/* About: the asset credits, quiet, at the very bottom (every footer links here) */
.credits { max-width: 820px; margin: 36px auto 4px; padding: 0 4px; scroll-margin-top: calc(var(--nav-h) + 16px); color: var(--fg); }
.credits h2 { margin: 0 0 4px; font-family: var(--serif-text); font-variation-settings: 'opsz' 30; font-size: 17px; font-weight: 520; }
.credits p { margin: 0; max-width: 78ch; font-size: 13px; line-height: 1.55; }

/* ---- custom stand */
html.shop main.cu { padding: 0 0 24px; }
.cu-hero { position: relative; padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); }
.cu-stage { position: relative; height: 46vh; height: 46svh; min-height: 300px; }
.cu-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
.cu-gl.on { opacity: 1; }
.cu-copy { margin: 0 var(--gut); padding: 20px 18px; }
.cu-copy h1 { margin: 0 0 2px; font-size: 38px; }
.cu-line { margin: 4px 0 14px; font-size: 16.5px; }
.cu-form { display: grid; gap: 6px; }
.cu-form label { font-weight: 600; font-size: 15px; margin-top: 8px; }
.cu-form .watch-chip { justify-self: start; }
.cu-form .btn { margin-top: 12px; justify-self: start; }
.cu-note { margin: 14px 0 0; font-size: 14.5px; color: var(--fg-soft); }
html.shop main.cu .draft-tag { position: absolute; z-index: 3; left: var(--gut); top: calc(var(--nav-h) + 8px); max-width: calc(100% - 2 * var(--gut)); box-sizing: border-box; }

/* ---- the poster tool's view of a product page (tools/shop/posters.py): the stage alone, nothing over it */
html.posterize, html.posterize body { background: transparent !important; }
html.posterize .sky, html.posterize .nav, html.posterize .pd-buy, html.posterize .pd-tools, html.posterize .swap, html.posterize .pd-poster,
html.posterize .foot, html.posterize main > :not(.pd-hero), html.posterize .skip, html.posterize .buybar { visibility: hidden !important; }
html.posterize .pd-gl { -webkit-mask-image: none; mask-image: none; }
html.posterize .pd-gl { transition: none; }

/* ---- the product page's questions open and close smoothly where the browser can size to auto (Chrome); elsewhere
   they open at once, as before */
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .34s cubic-bezier(.33, 1, .68, 1), content-visibility .34s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---- reduced motion: no lifts, bobs or sliding sheets */
@media (prefers-reduced-motion: reduce) {
  .card-pic, .buybar, .pd-gl, .pd-poster, .pd-poster img, .cu-gl, .glass, .sky, .sky::after { transition: none !important; }
  .card-link:hover .card-pic { transform: none; }
  .cart-btn.bump b { animation: none; }
  .swatch i, .qa::details-content { transition: none; }
  .swatch:active i { transform: none; }
}
/* ---- reduced transparency: the panels turn solid */
@media (prefers-reduced-transparency: reduce) {
  .glass, .port-slide, html.shop.scrolled .nav { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- charging ports (gate 3d): the version line, and the "Cut for your watch's port" row. Our own drawings: a
   watch from the face, its four pins, and the stand's cut-out around them. */
html.shop { --pin: #B07A1E; --cut: rgba(238, 154, 47, .22); --cut-line: #C8761C; --ps-case: rgba(255, 255, 255, .9); --ps-strap: rgba(22, 38, 58, .1); }
html.shop.night { --pin: #E2B45A; --cut: rgba(238, 154, 47, .2); --cut-line: #F0A54A; --ps-case: rgba(36, 46, 86, .95); --ps-strap: rgba(243, 239, 229, .12); }
.port-i { width: 18px; height: 18px; flex: none; vertical-align: -4px; margin-right: 6px; }
.pi-case { fill: none; stroke: currentColor; stroke-width: 1.6; }
.pi-cut { fill: var(--cut-line); }
.pd-port { margin: -8px 0 12px; font-size: 14.5px; color: var(--fg); display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.pd-port.no { color: var(--fg-soft); display: block; }
.pd-port-why { color: var(--fg-soft); margin-left: 4px; text-underline-offset: 3px; display: inline-flex; min-height: 32px; align-items: center; }
.card-port { display: flex; align-items: center; padding: 2px 6px 0; font-size: 13px; color: var(--fg-soft); }
.card-port .port-i { width: 15px; height: 15px; margin-right: 5px; }
.card-port:empty { display: none; }
.port-empty { max-width: 60ch; }

.ports { margin: 40px var(--gut) 0; max-width: 1100px; }
.cat .ports { margin: 44px 0 0; }
.port-wrap { position: relative; }
.port-track { list-style: none; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; outline: none; }
.port-track::-webkit-scrollbar { display: none; }
.port-track:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); border-radius: var(--radius-s); }
.port-slide { flex: none; width: 64vw; max-width: 250px; scroll-snap-align: start; box-sizing: border-box; padding: 14px 14px 16px;
  border-radius: var(--radius-s); color: var(--fg);
  background: var(--lg-sheen) 0 0 / 220% 220% no-repeat, var(--glass);
  box-shadow: inset 1px 1px 0 var(--lg-hi), inset -1px -1px 0 var(--lg-lo), inset 0 -14px 20px -18px var(--lg-in);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); transition: box-shadow .3s ease; }
.port-slide.you { box-shadow: inset 0 0 0 1.5px var(--fg), inset 0 -14px 20px -18px var(--lg-in); }
.port-svg { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto 8px; overflow: visible; }
.ps-strap { fill: var(--ps-strap); }
.ps-case { fill: var(--ps-case); stroke: var(--fg); stroke-width: 2.2; }
.ps-dial { fill: none; stroke: var(--fg-soft); stroke-width: 1; opacity: .7; }
.ps-tick { fill: none; stroke: var(--fg-soft); stroke-width: 1.4; stroke-linecap: round; opacity: .75; }
.ps-twelve { fill: var(--fg-soft); }
.ps-cut { fill: var(--cut); stroke: var(--cut-line); stroke-width: 1.4; stroke-dasharray: 3 2.2; }
.ps-pins circle { fill: var(--pin); }
.port-you { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: var(--fg); color: var(--glass-solid);
  font-size: 12.5px; font-weight: 600; text-shadow: none; }
.port-you[hidden] { display: none; }
.port-name { margin: 0; font-family: var(--serif-text); font-variation-settings: 'opsz' 36; font-size: 20px; font-weight: 540; letter-spacing: -.008em; line-height: 1.2; }
.port-line { margin: 2px 0 6px; font-size: 14.5px; }
.port-models { margin: 0; font-size: 13px; color: var(--fg-soft); line-height: 1.4; }
.port-none { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #9B2C1F; }
html.night .port-none { color: #FFB3A1; }
.port-nav { position: absolute; top: 34%; width: 44px; height: 44px; border-radius: 50%;
  color: var(--fg); display: grid; place-items: center; cursor: pointer; }
.port-nav[hidden] { display: none; }
.port-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.port-nav:disabled { opacity: 0; pointer-events: none; }
.port-nav.prev { left: -6px; }
.port-nav.next { right: -6px; }
.port-foot { margin: 4px 0 0; font-size: 13px; color: var(--fg-soft); }
.port-unsure { margin: 6px 0 0; font-size: 13.5px; color: var(--fg); max-width: 70ch; }
.port-unsure.you { font-weight: 600; }
@media (hover: none) { .port-nav { display: none; } }
@media (min-width: 761px) {
  .port-slide { width: 236px; max-width: none; }
  .port-nav.prev { left: -18px; }
  .port-nav.next { right: -18px; }
}
@media (min-width: 1100px) {
  .pd .ports { margin-left: calc(var(--gut) + 2vw); margin-right: calc(var(--gut) + 2vw); }
}

/* ---- wider screens */
@media (min-width: 761px) {
  html.shop .nav-word { font-size: 18px; }
  .signup-in { padding: 26px 28px; }
  .signup-form { grid-template-columns: 1fr auto; }
  .cat-head { padding-top: 4vh; }
  .cat-h { font-size: clamp(52px, 5vw, 80px); }
  .shelves { gap: 40px 28px; margin-top: 4vh; }
  .card { width: 290px; max-width: none; }
  .card-name { font-size: 21px; }
  /* product: the stage fills the page behind, the buy column on the right */
  .pd-hero { min-height: 100vh; min-height: 100svh; padding-top: 0; box-sizing: border-box; display: grid; grid-template-columns: 1fr min(400px, 32vw); align-items: center; }
  .pd-stage { position: absolute; inset: 0; height: auto; min-height: 0; --fade: 88%; }
  .pd-tools { top: auto; bottom: 92px; left: var(--gut); right: auto; width: calc(100% - min(400px, 32vw) - 3 * var(--gut)); padding: 0; }
  .swap { bottom: 26px; left: var(--gut); right: auto; width: calc(100% - min(400px, 32vw) - 3 * var(--gut)); }
  .pd-buy { grid-column: 2; margin: calc(var(--nav-h) + 16px) var(--gut) 24px 0; padding: 26px 26px 22px; }
  .pd-name { font-size: clamp(40px, 3.4vw, 52px); }
  .shot { width: 420px; }
  .dl > div { grid-template-columns: 180px 1fr; gap: 16px; }
  .buybar { display: none !important; }
  /* custom */
  .cu-hero { min-height: 100vh; min-height: 100svh; box-sizing: border-box; display: grid; grid-template-columns: 1fr min(460px, 38vw); align-items: center; padding-top: 0; }
  .cu-stage { position: absolute; inset: 0; height: auto; }
  .cu-copy { grid-column: 2; margin: calc(var(--nav-h) + 16px) var(--gut) 24px 0; padding: 26px; }
  .cu-copy h1 { font-size: 48px; }
}
@media (min-width: 1100px) {
  .card { width: 340px; }
  .pd-photos, .pd-details, .pd-faq, .pd-pairs, .pd-legal { margin-left: calc(var(--gut) + 2vw); margin-right: calc(var(--gut) + 2vw); }
}

/* ---- Garmin | Apple Watch (2026-11-19, Seb's mockup): the brand switch, listing-photo cards, the Apple Watch box */
.brand-seg { display: inline-flex; gap: 4px; padding: 4px; margin-top: 14px; border-radius: 999px; }
.brand-btn {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--fg);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-shadow: none; position: relative;
}
.brand-btn::before { content: ''; position: absolute; inset: -2px 0; }   /* a 44 px tall tap area */
.brand-btn:hover { background: var(--chip); }
.brand-btn[aria-pressed="true"], .brand-btn[aria-pressed="true"]:hover { background: var(--fg); color: var(--ink); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .28), inset 0 -8px 12px -10px rgba(0, 0, 0, .35), var(--lg-drop); }
html:not(.night) .brand-btn[aria-pressed="true"] { color: #fff; }
.brand-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pd-buy .brand-seg { margin: 6px 0 10px; }
.pd-buy .brand-btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
/* a listing photo on a card: the whole square photo with rounded corners, no island fade */
.card-pic img.photo { object-fit: cover; border-radius: var(--radius-s, 12px); -webkit-mask-image: none; mask-image: none; }
.apple-fit { margin: 44px 0 0; padding: 20px; max-width: 760px; }
.apple-fit[hidden] { display: none; }
.pd .apple-fit { margin: 40px var(--gut) 0; }
.apple-fit .sec-h { margin-top: 0; }
.apple-models { margin: 10px 0 0; font-size: 14.5px; color: var(--fg-soft); }
/* the stand page: a listing photo in place of the try-on (no model yet, or an Apple Watch picked) */
.pd-photo-hero, .pd-photo-hero img, .pd-poster.photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.pd-photo-hero[hidden] { display: none; }
.pd-stage.brand-photo .pd-gl, .pd-stage.brand-photo .pd-poster, .pd-stage.brand-photo .pd-tools, .pd-stage.brand-photo .swap { visibility: hidden; }
.pd-photo-hero, .pd-poster.photo { -webkit-mask-image: linear-gradient(#000 var(--fade), transparent); mask-image: linear-gradient(#000 var(--fade), transparent); }
html.night .pd-poster.photo img { filter: none; }
@media (min-width: 761px) {
  /* the photo sits left of the buy column, whole */
  .pd-photo-hero img, .pd-poster.photo img { object-fit: contain; object-position: 28% 60%; padding: calc(var(--nav-h) + 12px) 0 24px; }
}
.shot.photo .shot-img { aspect-ratio: 1 / 1; }
.shots[hidden], [data-ver-photos][hidden] { display: none; }
.shot.photo .shot-img { height: auto; }
.card-pic img.photo { height: 100%; }
/* a sale price: the list price struck through, then the sale price (Black Friday 2026) */
s.was { font-weight: 400; color: var(--fg-soft); margin-right: 0.15em; }
.sale-tag { font-style: normal; font-size: 0.85em; color: var(--fg-soft); }
