:root {
  color-scheme: light;
  --ink: #143a40;
  --muted: #495e5c;
  --line: #ced7d0;
  --paper: #f6f5ef;
  --accent: #007477;
  font: 16px/1.55 system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit }
button { font: inherit; color: inherit; cursor: pointer }
a:focus-visible, button:focus-visible { outline: 3px solid #007c86; outline-offset: 3px }
.skip { position: absolute; top: -6rem; left: 1rem; z-index: 2; background: white; padding: .75rem }
.skip:focus { top: .75rem }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px,5vw,70px) }
header { border-bottom: 1px solid var(--line) }
.header-row, .nav, .crumb, .footer-row { display: flex; align-items: center; flex-wrap: wrap }
.header-row, .footer-row { justify-content: space-between; gap: 12px 24px; padding-block: 19px }
.brand { font-size: 28px; line-height: 1.2; font-weight: 750; letter-spacing: -2px; text-decoration: none; white-space: nowrap }
.brand b { color: #008080 }
.nav { gap: 8px 18px }
.nav a { text-decoration: none; font-size: .98rem }
.nav [aria-current], .nav a:hover { text-decoration: underline; text-underline-offset: 5px }
.crumb { gap: 9px; margin-block: 23px; font-size: .87rem; color: var(--muted) }
.crumb a { text-underline-offset: 3px }
.crumb span[aria-hidden] { color: #7a908a }
.product { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,1fr); gap: clamp(30px,5vw,66px); align-items: start }
.gallery, .summary { min-width: 0 }
.stage { position: relative; background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden }
.photo { display: block; aspect-ratio: 1.17; cursor: zoom-in }
.photo img { width: 100%; height: 100%; display: block; object-fit: contain }
.zoom { position: absolute; bottom: 12px; right: 12px; padding: 5px 11px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 9px #163d4020; pointer-events: none; font-size: .76rem; font-weight: 650 }
.caption { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; margin: 10px 0 }
.counter { white-space: nowrap; font-variant-numeric: tabular-nums }
.thumb-row { display: flex; align-items: center; gap: 8px }
.thumbs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; padding: 4px; flex: 1; min-width: 0 }
.thumb { flex: none; display: block; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff }
.thumb [aria-hidden] { display: block; width: 56px; height: 56px; background-image: var(--sheet); background-size: 448px auto; background-position: var(--pos) }
.thumb[aria-current] { outline: 2px solid var(--accent); outline-offset: 1px }
.arrow { flex: none; border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; background: white; font-size: 20px }
.arrow:hover, .close:hover { background: #e8f3ed }
.line-name { margin: 2px 0 14px; display: flex; align-items: center; gap: 9px; font-size: .77rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) }
.line-name::before { content: ''; height: 2px; width: 23px; background: currentColor }
h1,h2,h3,p { overflow-wrap: break-word }
h1 { font: normal clamp(2.35rem,4.4vw,4.25rem)/1.04 Georgia,serif; letter-spacing: -.043em; margin: 0 0 18px; text-wrap: balance }
.intro { font-size: clamp(1rem,1.5vw,1.18rem); color: var(--muted); margin: 0 }
.buy { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px }
.buy h2 { margin: 0 0 12px; font-size: 1.05rem }
.channels { display: grid; gap: 12px }
.shop { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; border: 1px solid #c3d0ca; border-radius: 12px; padding: 15px 17px; min-height: 70px; background: #fff; transition: border-color .15s }
.shop:hover { border-color: #497970; box-shadow: 0 2px 8px #1b403810 }
.market-logo { display: flex; gap: 6px; align-items: center; flex-shrink: 0; color: #28336c; font-size: .9rem; font-weight: 780; line-height: .94; letter-spacing: -.035em }
.market-logo img { width: 38px; height: auto }
.market-logo .amazon { width: 79px; height: auto }
.seller { font-size: .78rem; color: var(--muted); text-align: right; line-height: 1.45 }
.seller strong { display: block; font-size: .86rem; color: var(--ink) }
.options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 1px 1px }
.options span { color: var(--muted); font-size: .78rem }
.options a { font-size: .82rem; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none }
.options a:hover { background: #e7eee7 }
.availability { color: var(--muted); margin: 10px 0 }
.contact { text-underline-offset: 3px; font-weight: 650 }
.facts { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,1fr); gap: clamp(30px,5vw,66px); border-top: 1px solid var(--line); padding-top: 26px; margin: 44px 0 58px }
.facts h2 { font: normal 1.75rem/1.16 Georgia,serif; letter-spacing: -.035em; margin: 0 0 17px }
.facts dl { margin: 0 }
.facts dl div { display: grid; grid-template-columns: minmax(95px,.85fr) minmax(0,1.25fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .91rem }
.facts dt { font-weight: 650 }
.facts dd { margin: 0; color: var(--muted) }
.notes p { color: var(--muted); margin: 0 0 22px }
.notes h2:not(:first-child) { margin: 25px 0 12px }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem }
footer a { text-underline-offset: 3px }
.lightbox { border: none; border-radius: 16px; padding: 0; max-width: min(1120px,97vw); width: 100%; max-height: 94dvh; background: #fff; color: var(--ink) }
.lightbox::backdrop { background: #101e21cf }
.dialog-bar { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 10px 16px }
.dialog-bar p { margin: 0; font-size: .9rem }
.dialog-body { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 5px; padding-inline: 8px }
.dialog-body img { display: block; width: 100%; height: min(70dvh,820px); object-fit: contain }
.close { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 7px 13px; flex-shrink: 0 }
[hidden] { display: none !important }
@media (max-width: 760px) {
  .product,.facts { grid-template-columns: minmax(0,1fr); gap: 26px }
  .product { display: flex; flex-direction: column; align-items: stretch }
  .summary { display: contents }
  .overview { order: -1 }
  .photo { aspect-ratio: 1.23 }
  .line-name { margin-bottom: 7px }
  h1 { margin-bottom: 10px }
  .buy { margin-top: 0 }
  .crumb { margin-block: 15px 18px }
  .facts { margin-top: 28px; margin-bottom: 38px }
  .nav { gap: 7px 13px }
  .nav a { font-size: .86rem }
  .header-row { padding-block: 15px }
  .dialog-body { padding: 0; gap: 0 }
  .dialog-body .arrow { width: 32px; height: 32px }
}
@media (max-width: 420px) {
  .header-row { gap: 11px }
  .thumb-row { gap: 4px }
  .thumb-row .arrow { width: 32px; height: 32px }
}
