@font-face { font-family: "Instrument Sans"; src: url("/fonts/sans-400.woff2") format("woff2"); font-weight: 400; font-display: optional; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/sans-600.woff2") format("woff2"); font-weight: 600; font-display: optional; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/mono-400.woff2") format("woff2"); font-weight: 400; font-display: optional; }

:root {
  --ink: #1c1f23;
  --blue: #4a7fa7;
  --blue-dark: #3a6788;
  --white: #ffffff;
  --paper: #f4f6f8;
  --card: #f7f8f9;
  --line: rgba(28, 31, 35, 0.1);
  --muted: #5c656e;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(28, 31, 35, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.8rem); }
p { margin: 0 0 0.85rem; }
.muted { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -120px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 80; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--pad); }
.band { background: var(--ink); color: var(--white); }
.band-inner { width: min(var(--max), 100%); margin-inline: auto; padding: 10px var(--pad); font-size: 0.95rem; }

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; margin-left: -10px; margin-right: 22px; padding: 0 16px 0 8px; height: 46px; background: #e4eef6; color: var(--ink); border: 1px solid rgba(74, 127, 167, 0.38); border-radius: 999px; text-decoration: none; flex: none; line-height: 1; }
.logo svg { width: 28px; height: 28px; display: block; flex: none; }
.logo-name { color: var(--ink); font-weight: 600; font-size: 1rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo:hover, .logo:focus-visible { color: var(--ink); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.bag {
  margin-left: auto;
  appearance: none;
  border: 0;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 220ms var(--ease), transform 200ms var(--ease);
}
.bag:hover, .bag:focus-visible { background: var(--blue-dark); color: var(--white); }
.bag:active { transform: scale(0.98); }
.bag.is-bump { animation: bump 600ms var(--ease); }
@keyframes bump { 50% { transform: scale(1.06); } }
.basket-count {
  min-width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

main { padding-bottom: 72px; }

.btn, a.btn, button.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 180ms var(--ease);
}
a.btn:hover, a.btn:focus-visible, button.btn:hover, button.btn:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}
.btn:active { transform: scale(0.98); }
.btn.secondary, a.btn.secondary, button.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(28, 31, 35, 0.18);
}
a.btn.secondary:hover, button.btn.secondary:hover, a.btn.secondary:focus-visible, button.btn.secondary:focus-visible {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--blue);
}
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.paypal-btn, .paypal-btn:hover, a.paypal-btn:hover {
  width: 100%;
  min-height: 52px;
  background: #ffc439;
  color: #1c1f23;
  border-color: #1c1f23;
}
.paypal-btn img { width: 84px; height: 22px; }

.hero-stage { background: var(--paper); width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 56px);
}
.reel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #e7ebef;
  box-shadow: var(--shadow);
}
.reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: none;
  transition: none;
  animation: none;
}
.reel img.is-on { opacity: 1; }
.reel.is-live img { transition: opacity 700ms var(--ease); }
.hero-copy h1 { font-style: italic; }
.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.price { font-size: clamp(1.8rem, 2vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; margin: 0.2rem 0 0.8rem; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.section { padding: clamp(28px, 3.8vw, 56px) 0; }
.section + .section { padding-top: clamp(12px, 2vw, 28px); }
.section-wash { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shell { background: #eef1f4; border-radius: 28px; padding: 8px; }
.card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(28, 31, 35, 0.04);
}
.card .media { aspect-ratio: 4 / 3; overflow: hidden; background: #e7ebef; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover img { transform: scale(1.045); }
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.25rem; margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card .actions { margin-top: auto; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.7fr);
  gap: 36px;
  align-items: start;
  padding-top: 28px;
}
.stage { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #e7ebef; touch-action: pan-y; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 450ms var(--ease); }
.stage img.is-on { opacity: 1; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 84px; height: 64px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: #e7ebef; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(1.8rem, 2.4vw, 2.5rem); }
.buy {
  position: sticky;
  top: 96px;
  background: var(--white);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.qty-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty-step button { width: 42px; height: 42px; border: 0; background: transparent; font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; }
.qty-step input { width: 42px; height: 42px; border: 0; text-align: center; font: inherit; font-weight: 600; background: transparent; padding: 0; }
.qty-step input::-webkit-outer-spin-button, .qty-step input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.qty-step input { -moz-appearance: textfield; appearance: textfield; }

.acc { border-top: 1px solid var(--line); }
.acc button.acc-btn {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.acc-btn span.mark { font-family: "IBM Plex Mono", monospace; font-weight: 400; color: var(--muted); transition: transform 320ms var(--ease); }
.acc.is-open .mark { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.acc.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; min-height: 0; }
@media (scripting: none) {
  .acc-panel { grid-template-rows: 1fr; }
}
.acc-body { padding: 0 0 22px; display: grid; grid-template-columns: minmax(160px, 280px) minmax(0, 1fr); gap: 22px; align-items: start; }
.acc-body img { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; }
.spec-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.spec-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spec-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; line-height: 1.35; }
.spec-facts svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--blue); }
.spec-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec-thumbs.one { grid-template-columns: 1fr; }
.acc-body .spec-thumbs img { height: 104px; border-radius: 12px; }
.spec { width: 100%; border-collapse: collapse; font-family: inherit; font-size: 1rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 38%; color: var(--ink); font-weight: 600; font-size: 1.12rem; }
.spec td { font-weight: 400; }

.basket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.basket-lines, .basket-summary, .basket-empty {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.basket-lines { padding: 8px 18px 12px; }
.basket-empty { padding: 28px; max-width: 520px; }
.basket-head, .basket-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.4fr) 148px 7rem 7rem auto;
  gap: 12px;
  align-items: center;
}
.basket-head { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 14px 0; }
.basket-row { padding: 14px 0; border-top: 1px solid var(--line); }
.basket-thumb { width: 96px; height: 72px; border-radius: 16px; overflow: hidden; }
.basket-thumb img { width: 96px; height: 72px; object-fit: cover; }
.basket-name h2 { font-size: 1.05rem; margin: 0; }
.basket-name a { color: var(--ink); text-decoration: none; }
.basket-unit, .basket-line { text-align: right; font-variant-numeric: tabular-nums; }
.basket-line { font-weight: 600; }
.basket-remove { border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.basket-summary { position: sticky; top: 96px; padding: 22px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sum-row.grand { border-bottom: 0; font-weight: 600; font-size: 1.2rem; padding-top: 14px; }
.continue { text-align: center; margin: 12px 0 0; }

.drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; pointer-events: none; transition: visibility 0s linear 400ms; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(28, 31, 35, 0.46); opacity: 0; transition: opacity 380ms var(--ease); }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--white);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  box-shadow: -20px 0 60px rgba(28, 31, 35, 0.12);
}
.drawer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s linear 0s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.drawer-line img { width: 72px; height: 56px; object-fit: cover; border-radius: 12px; }
.drawer-actions { margin-top: auto; display: grid; gap: 8px; }
.fly-img { position: fixed; z-index: 70; width: 72px; height: 54px; object-fit: cover; border-radius: 12px; pointer-events: none; transition: transform 520ms var(--ease), opacity 520ms var(--ease); }

form .row { margin-bottom: 14px; }
label.field { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(28, 31, 35, 0.16);
  background: var(--white);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 120px; }
.phone-row { display: grid; grid-template-columns: 12.5rem 1fr; gap: 10px; }
.hint { color: var(--muted); font-size: 0.92rem; }
.error { margin-top: 6px; font-size: 0.92rem; }
.banner-error, .banner-ok { border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; background: var(--paper); }
.banner-ok { background: #eef4f8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; flex: none; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--ink); }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.summary { position: sticky; top: 96px; background: var(--white); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6rem; font-size: 1.6rem; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.shots figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.disclosure { border-radius: 24px; padding: 22px; background: var(--paper); margin-top: 28px; }
.admark { display: inline-block; background: var(--ink); color: var(--white); border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; }
.table-wrap { overflow-x: auto; max-width: 100%; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.data th { font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; font-weight: 400; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; padding: 18px 0; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

.footer { background: var(--ink); color: var(--white); padding: 28px 0 16px; font-size: 0.92rem; }
.footer a { color: var(--white); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px 18px; }
.footer h2 { color: #c5d4e0; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 4px 0; }
.footer .btn.secondary, .footer .btn.secondary:hover { color: var(--white); background: transparent; border-color: rgba(255,255,255,0.4); }
.subfoot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12); }

.cookie {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  margin: 0;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.cookie p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 640ms var(--ease), transform 640ms var(--ease); }

.mobile-bar { display: none; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .hero-grid, .product-layout, .feature, .feature.reverse, .basket-layout, .checkout-layout, .split, .acc-body, .phone-row, .shots { grid-template-columns: 1fr; direction: ltr; }
  .grid { grid-template-columns: 1fr; }
  .buy, .summary { position: static; }
  .basket-summary { position: sticky; top: auto; bottom: 0; z-index: 20; }
  .nav { display: none; }
  .basket-head { display: none; }
  .basket-row { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "thumb name" "thumb unit" "qty qty" "line remove"; }
  .basket-thumb { grid-area: thumb; width: 88px; height: 68px; }
  .basket-thumb img { width: 88px; height: 68px; }
  .basket-name { grid-area: name; }
  .basket-unit { grid-area: unit; text-align: left; color: var(--muted); }
  .basket-qty { grid-area: qty; }
  .basket-line { grid-area: line; text-align: left; }
  .basket-remove { grid-area: remove; justify-self: end; }
  .cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; width: auto; transform: none; bottom: 8px; padding: 10px 12px; font-size: 0.92rem; }
  .cookie .btn { min-height: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .mobile-bar {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 25;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .mast { height: 68px; }
  .mast-inner { height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .reel img { transform: none; opacity: 0; }
  .reel img.is-on { opacity: 1; }
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.mast-inner { position: relative; }
.nav-toggle {
  display: none;
  appearance: none;
  border: 1.5px solid rgba(28, 31, 35, 0.18);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
}
#drawer-body {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 31, 35, 0.42) transparent;
  flex: 1;
  min-height: 0;
}
#drawer-body::-webkit-scrollbar { width: 8px; }
#drawer-body::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
#drawer-body::-webkit-scrollbar-thumb {
  background: rgba(28, 31, 35, 0.38);
  border-radius: 999px;
  border: 2px solid #fff;
}
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: var(--white); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.panel label { display: block; font-weight: 600; margin-bottom: 12px; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 8px 0 12px; }
.calc-out div { background: var(--paper); border-radius: 18px; padding: 14px; }
.calc-out span { display: block; color: var(--muted); font-size: 0.85rem; }
.calc-out strong { display: block; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pick-result { background: var(--paper); border-radius: 18px; padding: 16px; margin-top: 8px; }
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 20px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 600; }
.compare a { font-weight: 600; }
.callout-photo { position: relative; margin: 0; }
.callout-photo > img, .callout-photo picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.pins { list-style: none; margin: 0; padding: 0; }
.pin { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px; max-width: 240px; transform: translate(0, -50%); }
.pin-left { flex-direction: row-reverse; transform: translate(-100%, -50%); }
.dot { width: 14px; height: 14px; border-radius: 999px; background: var(--blue); box-shadow: 0 0 0 6px rgba(74, 127, 167, 0.28); flex: none; }
.pin-label { background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 12px; font-size: 0.92rem; font-weight: 600; box-shadow: var(--shadow); }
.gift-band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: 28px; align-items: center; background: var(--paper); border-radius: 28px; padding: clamp(18px, 3vw, 40px); }
.gift-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.byline { color: var(--muted); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.92rem; }
.was { color: var(--muted); text-decoration: line-through; font-weight: 400; }
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: calc(var(--pad) * -1);
    right: calc(var(--pad) * -1);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--pad) 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 40;
  }
  .nav.is-open { display: flex; }
  .tool-grid, .gift-band, .calc-out { grid-template-columns: 1fr; }
  .pins { position: static; display: grid; gap: 8px; margin-top: 12px; }
  .pin, .pin-left { position: static; transform: none; max-width: none; flex-direction: row; }
}
@media (max-width: 520px) {
  .logo { height: 40px; margin-left: -6px; margin-right: 12px; padding: 0 12px 0 6px; }
  .logo svg { width: 26px; height: 26px; }
  .logo-name { font-size: 0.92rem; }
  .mast, .mast-inner { height: 60px; }
  .bag { padding: 0 12px; min-height: 42px; }
  .bag-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .bag::before { content: "Bag"; font-size: 0.95rem; }
  .basket-count { font-size: 0.85rem; }
  .nav-toggle { min-height: 42px; padding: 0 12px; }
}

/* v3 polish */
.wrap.section { padding-inline: var(--pad); }
.section-head { margin-bottom: clamp(14px, 2vw, 24px); }
.callout-photo { max-width: 1040px; margin-inline: auto; }
.callout-photo + p, .callout-photo ~ .muted { max-width: 1040px; margin-inline: auto; }
.btn, a.btn, button.btn { transition: background 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease), transform 200ms var(--ease); white-space: nowrap; line-height: 1.1; }
a.btn:not(.secondary):hover, button.btn:not(.secondary):hover { box-shadow: 0 10px 24px rgba(74, 127, 167, 0.28); }
.actions { align-items: center; }
.card { box-shadow: 0 1px 2px rgba(28, 31, 35, 0.04), 0 12px 32px rgba(28, 31, 35, 0.06); transition: box-shadow 320ms var(--ease), transform 320ms var(--ease); }
.card:hover { box-shadow: 0 2px 4px rgba(28, 31, 35, 0.05), 0 22px 48px rgba(28, 31, 35, 0.1); transform: translateY(-3px); }
.card .body { padding: 18px 20px 20px; }
.card .actions .btn { flex: 1 1 0; padding-inline: 14px; }
.thumbs button { transition: border-color 220ms var(--ease), transform 220ms var(--ease); }
.thumbs button:hover { transform: translateY(-2px); }
.qty-step { height: 46px; }
.qty-step button { transition: background 200ms var(--ease); }
.qty-step button:hover { background: var(--paper); }
.qty-step input[type="number"] { width: 44px; min-height: 0; height: 42px; border: 0; border-radius: 0; padding: 0; background: transparent; text-align: center; box-shadow: none; }
.buy .qty-step { margin-bottom: 14px; }
.buy .actions .btn { flex: 1 1 0; }
button.btn.paypal-btn, button.btn.paypal-btn:hover, button.btn.paypal-btn:focus-visible { background: #ffc439; border-color: #ffc439; color: var(--ink); min-height: 54px; width: 100%; font-size: 1.05rem; }
button.btn.paypal-btn:hover { background: #f5b72a; border-color: #f5b72a; box-shadow: 0 10px 24px rgba(245, 183, 42, 0.32); }
.error { color: #b3261e; margin: 6px 0 0; }
.error:not(:empty)::before { content: "! "; font-weight: 600; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.1); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74, 127, 167, 0.16); }
.banner-error { background: #fbeceb; color: #7d1a14; margin: 4px 0 12px; }
#checkout-form .row { margin-bottom: 16px; }
.summary h2, .basket-summary h2 { font-size: 1.5rem; margin-bottom: 12px; }
.sum-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sum-item img { width: 56px; height: 44px; object-fit: cover; border-radius: 10px; }
.sum-item small { display: block; color: var(--muted); }
.basket-summary .btn.block, .summary .btn.block { margin-top: 14px; min-height: 54px; }
.drawer-panel { padding: 22px 22px 18px; border-radius: 24px 0 0 24px; }
.drawer-top { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.drawer-top h2 { margin: 0; font-size: 1.6rem; }
.drawer-line { grid-template-columns: 72px minmax(0, 1fr) auto; }
.drawer-line a { color: var(--ink); text-decoration: none; font-weight: 600; }
.drawer-line .qty-step { height: 38px; margin-top: 6px; }
.drawer-line .qty-step button { width: 34px; height: 34px; }
.drawer-line .qty-step input[type="number"] { width: 34px; height: 34px; }
.drawer-line .line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.drawer-line .basket-remove { min-height: 32px; font-size: 0.88rem; padding: 0; }
.drawer-actions { padding-top: 14px; border-top: 1px solid var(--line); }
.drawer-actions .btn { min-height: 52px; }
.drawer.is-empty .drawer-actions { display: none; }
.drawer.is-open .drawer-panel { transition-duration: 460ms; }
.basket-row { transition: background 200ms var(--ease); }
.footer { padding: 36px 0 18px; }
.subfoot { position: relative; border-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; }
.subfoot::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.subfoot p { margin: 0; color: #c5d4e0; font-size: 0.88rem; }
.mbar { display: none; }
@media (max-width: 800px) {
  .nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s; }
  .basket-summary { position: static; }
  .checkout-layout .summary { order: -1; }
  .mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(28, 31, 35, 0.08);
    transform: translateY(110%); transition: transform 360ms var(--ease);
  }
  .mbar.is-shown { transform: none; }
  .mbar-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .mbar-info span { color: var(--muted); font-size: 0.85rem; }
  .mbar-info strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .btn { flex: 0 0 auto; min-width: 54%; min-height: 50px; }
  body.has-mbar main { padding-bottom: 110px; }
  .drawer-panel { border-radius: 0; }
  .card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .thumbs button:hover { transform: none; }
}
#checkout-form .error { min-height: 1.45em; }
#checkout-form .error[hidden] { display: block !important; visibility: hidden; }
#checkout-form .paypal-btn + .banner-error { margin: 12px 0 0; }
.mast { overflow-x: clip; }
.about-hero { grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: 0 1px 2px rgba(28, 31, 35, 0.04), 0 12px 32px rgba(28, 31, 35, 0.06); }
.value h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.value p { color: var(--muted); margin: 0; }
.value-num { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--blue); font-size: 0.85rem; letter-spacing: 0.1em; }
.about-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.about-split p { max-width: 62ch; }
.company-card { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.mail-list { list-style: none; margin: 16px 0 0; padding: 0; }
.mail-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.mail-list span { color: var(--muted); }
.section + .section > .wrap > .disclosure:only-child { margin-top: 0; }
article.prose { max-width: var(--max); }
article.prose > p, article.prose > h1, article.prose > h2, article.prose > h3, article.prose > ul, article.prose > ol { max-width: 760px; }
article.prose > picture img, article.prose > img { width: 100%; max-height: 560px; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 28px; margin: 18px 0 8px; }
article.prose .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 8px; }
article.prose .shots img { aspect-ratio: 1 / 1; }
article.prose .tool-grid, article.prose .table-wrap, article.prose .callout-photo { margin: 22px 0 10px; }
article.prose h2 { margin-top: 1.35rem; }
article.prose > h2:first-child { margin-top: 0; }
.cutout-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(18px, 3vw, 36px); align-items: center; margin: 4px 0 0; }
.cutout-grid h2 { margin-top: 0; }
.cutout-grid ul { margin: 0; padding-left: 1.15rem; }
.cutout-grid li { margin: 0.4rem 0; }
.cutout-grid .callout-photo { max-width: none; margin: 0; }
@media (max-width: 1100px) { .values { grid-template-columns: 1fr; } article.prose .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .cutout-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .about-hero, .about-split { grid-template-columns: 1fr; } .about-hero .about-photo { order: -1; } article.prose > picture img { aspect-ratio: 4 / 3; } }
@media (max-width: 800px) { .compare { min-width: 680px; } .table-wrap { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); } }
article.prose > picture img { aspect-ratio: 16 / 9; max-height: 640px; object-position: 50% 12%; }
.buy .actions { display: grid; grid-template-columns: 1fr 1fr; }

.drawer-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) max-content;
  grid-template-areas: "thumb name price" "thumb qty remove";
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
}
.dl-thumb { grid-area: thumb; width: 72px; min-width: 72px; height: 56px; }
.dl-thumb img { width: 72px; height: 56px; object-fit: cover; border-radius: 12px; }
.dl-name { grid-area: name; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 600; text-wrap: wrap; line-height: 1.25; }
.dl-qty { grid-area: qty; justify-self: start; }
.dl-price, .basket-unit, .basket-line { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-price { grid-area: price; width: auto; min-width: 6.5rem; max-width: none; padding-left: 8px; text-align: right; }
.dl-remove { grid-area: remove; justify-self: end; width: auto; min-width: 6.5rem; max-width: none; padding-left: 8px; text-align: right; white-space: nowrap; }
.drawer-line .qty-step, .basket-qty .qty-step { width: 132px; min-width: 132px; max-width: 132px; flex: none; }
.qty-step input[type="number"] { width: 2.8rem; min-width: 2.8rem; max-width: 2.8rem; flex: 0 0 2.8rem; font-variant-numeric: tabular-nums; }
.basket-head, .basket-row {
  grid-template-columns: 96px minmax(0, 1fr) 152px 8.75rem 8.75rem 6.75rem;
  grid-template-areas: "thumb name qty unit line remove";
}
.basket-thumb { grid-area: thumb; width: 96px; min-width: 96px; }
.basket-name { grid-area: name; min-width: 0; }
.basket-name h2, .basket-name a { text-wrap: wrap; }
.basket-qty { grid-area: qty; width: 152px; min-width: 152px; max-width: 152px; }
.basket-unit { grid-area: unit; width: 8.75rem; min-width: 8.75rem; max-width: 8.75rem; text-align: right; }
.basket-line { grid-area: line; width: 8.75rem; min-width: 8.75rem; max-width: 8.75rem; text-align: right; }
.basket-remove { grid-area: remove; width: 6.75rem; min-width: 6.75rem; white-space: nowrap; text-align: right; }
.fold { border-top: 0; }
.fold .acc-btn { min-height: 76px; font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
.fold-body { padding: 0 0 12px; }
.stage-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 1.6rem; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow);
}
.stage-arrow.prev { left: 12px; }
.stage-arrow.next { right: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.72fr); gap: 22px; align-items: start; }
.contact-card { background: var(--white); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.contact-card h1 { font-size: clamp(2rem, 3vw, 2.7rem); }
.contact-card h2 { font-size: 1.35rem; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card .phone-row { grid-template-columns: 1fr; }
@media (max-width: 800px) {
  .basket-head { display: none; }
  .basket-row {
    grid-template-columns: 88px minmax(0, 1fr) 7.75rem;
    grid-template-areas: "thumb name line" "thumb unit remove" "qty qty qty";
  }
  .basket-thumb { width: 88px; min-width: 88px; height: 68px; }
  .basket-thumb img { width: 88px; height: 68px; }
  .basket-line, .basket-remove { width: 7.75rem; min-width: 7.75rem; max-width: 7.75rem; }
  .basket-unit { width: auto; min-width: 0; max-width: none; text-align: left; }
  .basket-qty { width: auto; min-width: 0; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
