:root {
  --paper: #f3f6f8;
  --white: #ffffff;
  --ink: #152033;
  --slate: #3a4a62;
  --line: #d5dde6;
  --line-strong: #b7c3d1;
  --cobalt: #0b5fff;
  --cobalt-dark: #0847c2;
  --wash: #e7eefb;
  --danger: #8d1d32;
  --ok: #0d6b45;
  --shadow: 0 18px 40px rgba(21, 32, 51, 0.06);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --max: 1120px;
  --header: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--cobalt);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cobalt-dark); text-underline-offset: 0.18em; }

a:hover { color: var(--cobalt); }

button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 8px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.utility {
  background: var(--white);
  color: var(--slate);
  font-size: 13px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
}

.utility .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header);
}

.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 0;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 18px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.logo span {
  font-weight: 400;
  color: var(--slate);
  transition: color 0.18s ease;
}

.logo:hover,
.logo:hover * {
  color: var(--cobalt);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--cobalt); }

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: var(--cobalt);
}
.lang-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.18s ease;
}
.lang-dropdown[open] .lang-toggle svg {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  min-width: 140px;
  z-index: 100;
  padding: 6px 0;
}
.lang-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: var(--wash);
  color: var(--cobalt);
}
.lang-menu a[aria-current="true"] {
  font-weight: 600;
  color: var(--cobalt);
}

.langs {
  display: none;
}

.cart-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.1;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--cobalt);
  border: none;
  border-radius: 999px;
  padding: 8px 14px 8px 12px;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 0 1px 0 rgba(12, 18, 36, 0.12);
}
.cart-link:hover,
.cart-link:focus-visible {
  background: var(--ink);
  box-shadow: 0 4px 14px rgba(35, 64, 142, 0.28);
  outline: none;
}
.cart-link:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.cart-icon {
  flex-shrink: 0;
  display: block;
}

.cart-link-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cart-dot {
  opacity: 0.85;
}

.cart-count {
  display: inline-block;
  min-width: 3ch;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.menu { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0 28px;
}

.hero-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
  align-items: center;
  min-height: 0;
  padding: 24px 0 20px;
}

.hero-split .hero-copy {
  order: -1;
}

.hero-split .media-frame {
  max-height: min(70vh, 520px);
  overflow: hidden;
}

.hero-split .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: min(70vh, 520px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--cobalt);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2, h3, .lede, .fine, p, td, th, a, figcaption, .legal-id {
  hyphens: none;
  overflow-wrap: anywhere;
}
h1 .line {
  display: block;
  background: none;
  padding: 0;
  margin: 0;
}
.hero figcaption {
  display: none;
}
#cart-root, #summary-root, #checkout-root, #capture-root { min-height: 120px; }
.product-row.no-thumb, .line { grid-template-columns: 1fr auto; }
.checkout-form { display: grid; gap: 8px; margin: 12px 0; }
.paypal-slot { max-width: 420px; min-height: 52px; margin: 4px 0 8px; }
.paypal-buttons { max-width: 420px; }
.paypal-note { min-height: 1.2em; margin: 8px 0 0; }
.checkout-form input, .checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--white);
}
.accept-line a { margin-right: 0.3em; }
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
  size-adjust: 105%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
h1, h2, h3, .price, .row-price, .line-price, .arith-total, .spec-rail strong {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

table, th, td,
.compare, .compare th, .compare td,
.arith, .arith td,
.totals, .totals td,
.specs, .specs dt, .specs dd,
.specs-compact, .specs-compact dt, .specs-compact dd,
.summary, .line, .line-info, .checkout-form, .field,
#cart-root, #summary-root, #checkout-root, #capture-root {
  font-family: var(--sans);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.98;
  margin: 0 0 18px;
  font-optical-sizing: auto;
}

h1 .line { display: block; }

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 90px 0 12px;
}
.section h2:first-child,
.panel h2:first-child,
.preland-faq-block h2:first-child {
  margin-top: 0;
}

h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.02em; }

.lede { font-size: 1.12rem; color: var(--slate); max-width: 38rem; margin: 0 0 22px; }

.hero-actions, .buy-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.price-row { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 16px; }

.price { font-size: 2.4rem; margin: 0; font-variant-numeric: tabular-nums; }

.usd {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--slate);
  font-weight: 600;
}

.fine { color: var(--slate); font-size: 14px; max-width: 40rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  padding: 12px 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  line-height: 1.2;
}

.btn-primary { background: var(--cobalt); color: white; }
.btn-primary:hover { background: var(--cobalt-dark); color: white; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.figure-panel {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(21, 32, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 51, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid var(--line);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
}

.figure-panel img { width: min(100%, 460px); }

.figure-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.spec-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.spec-rail div { padding: 22px 18px; border-right: 1px solid var(--line); }
.spec-rail div:last-child { border-right: 0; }
.spec-rail strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.spec-rail span { color: var(--slate); font-size: 14px; }

.section { padding: 28px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; align-items: end; margin-bottom: 16px; }
.section-head > div { flex: 1 1 auto; min-width: 0; }
.section-head p { margin: 0; color: var(--slate); max-width: 36rem; }
.section-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.section-title-row h2 { margin: 0; }
.section-head h2 { margin-top: 0; }
.section-more { font-weight: 650; white-space: nowrap; }

.catalog { display: grid; grid-template-columns: 1fr; gap: 16px; }
.catalog-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.product-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

.product-row:hover { border-color: var(--cobalt); }
.product-row .thumb {
  width: 160px;
  height: 160px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}
.product-row .thumb img,
.product-row .thumb .media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-row h3 { font-size: 1.45rem; font-family: var(--serif); font-weight: 560; }
.product-row p { margin: 0; color: var(--slate); }
.sku { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt); font-weight: 600; }
.row-price { font-family: var(--serif); font-size: 1.8rem; margin: 0; text-align: right; white-space: nowrap; }
.row-price small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; color: var(--slate); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split-dock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}
.split-dock .media-frame {
  aspect-ratio: 4 / 3 !important;
  height: auto;
  max-height: 420px;
  overflow: hidden;
}
.split-dock .media-frame img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split-dock { grid-template-columns: 1fr; }
  .split-dock .media-frame { max-height: 320px; }
  .split-dock .media-frame img { max-height: 320px; }
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.pair { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 8px; align-items: center; }
.pair img { width: 100%; }

.arith { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.arith td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.arith td:last-child { text-align: right; }
.arith .save td { color: var(--ok); font-weight: 600; border-bottom: 0; }
.arith-total { font-size: 2rem; }

.limits { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; }
.limits ul, .prose ul { margin: 0; padding-left: 18px; }
.limits li, .prose li { margin: 8px 0; }

.ship-band {
  background: var(--ink);
  color: white;
  padding: 36px 0;
}
.ship-band a { color: white; }
.ship-band p { margin: 8px 0 0; color: #d5deea; max-width: 46rem; }

.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 22px 0 14px;
  margin-top: 12px;
}
.footer-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding-bottom: 10px;
}
.footer-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer-group a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--cobalt);
}
.footer-line, .footer-email {
  margin: 0 auto;
  padding: 10px 0 6px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 13px;
  max-width: var(--max);
  width: min(var(--max), calc(100% - 32px));
}
.footer-email {
  padding-top: 4px;
  border-top: 0;
}
.footer-email a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.contact-form { max-width: 32rem; margin-top: 18px; }
.contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--white);
  font: inherit;
}
.product-card .added { color: var(--ok); min-height: 1.2em; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--slate); font-size: 14px; padding-top: 22px; }
.crumbs a { color: var(--slate); }

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 12px 0 28px;
  align-items: start;
}
.product-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 12px;
}
.under-gallery h2 {
  font-size: 1.35rem;
  margin: 16px 0 8px;
}
.under-gallery h2:first-child { margin-top: 0; }
.under-gallery ul { margin: 0 0 4px; padding-left: 18px; }
.under-gallery li { margin: 6px 0; }
.under-gallery p { margin: 0; color: var(--slate); }
.spec-fold {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.spec-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 650;
  list-style: none;
}
.spec-fold summary::-webkit-details-marker { display: none; }
.spec-fold-body { padding-top: 8px; }
.under-gallery .spec-fold {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px 14px;
}
.under-gallery .spec-fold ul { margin: 0; }

.product-extra {
  padding-top: 8px;
  padding-bottom: 28px;
}

.product-extra .prose h2:first-child {
  margin-top: 0;
}

.buy { position: sticky; top: 84px; background: var(--white); border: 1px solid var(--line); padding: 20px; box-shadow: var(--shadow); }
.buy .price { font-size: 3rem; }

.product-tabs-band { padding-top: 4px; padding-bottom: 8px; }
.product-tabs {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tablist [role="tab"] {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.tablist [role="tab"][aria-selected="true"] {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}
.tabpanel {
  font-size: 15px;
}
.tab-inbox {
  font-size: 1rem;
  margin: 14px 0 8px;
}
.specs-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
  font-size: 14px;
  margin: 0;
}
.specs-compact div {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.specs-compact dt { color: var(--slate); margin: 0; }
.specs-compact dd { margin: 0; }

.qty {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.qty-lg button,
.qty-lg .qty-btn {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.qty-lg button:hover,
.qty-lg button:focus-visible {
  background: var(--wash);
  color: var(--cobalt);
}
.qty-lg button:active {
  background: var(--cobalt);
  color: #fff;
}
.qty input {
  width: 4.25ch;
  min-width: 3.6rem;
  max-width: 4.5rem;
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); padding-right: 18px; }
.specs dt { color: var(--slate); }
.specs dd { margin: 0; }

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  max-width: 100%;
  position: relative;
}
.media-frame img,
.thumb .media-img {
  width: 100%;
  height: 100%;
  display: block;
}
.media-fit-cover img,
.thumb .media-img {
  object-fit: cover;
}
.media-fit-contain img {
  object-fit: contain;
  background: #fff;
}
.thumb.media-frame {
  width: 112px;
  flex-shrink: 0;
}
.catalog .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose { max-width: 44rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1.15em; }
.page-intro { padding: 28px 0 6px; }

.field-error {
  display: block;
  color: var(--danger);
  font-size: 13px;
  margin-top: 4px;
  font-weight: 600;
}
.field-invalid input,
.field-invalid textarea,
.field-invalid select {
  border-color: var(--danger);
}
.page-intro .lede { margin-bottom: 0; }

.notice {
  background: var(--wash);
  border: 1px solid #c9d8f5;
  padding: 12px 14px;
  font-size: 15px;
}

.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding-bottom: 32px; align-items: start; }
.lines { display: grid; gap: 12px; }
.line {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px;
  align-items: center;
}
.line-thumb {
  width: 80px;
  height: 80px;
  background: var(--paper);
  border: 1px solid var(--line);
  flex-shrink: 0;
  overflow: hidden;
}
.line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line-info h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.line-info h3 a {
  color: inherit;
  text-decoration: none;
}
.line-info h3 a:hover {
  color: var(--cobalt);
}
.line-info p { margin: 0; color: var(--slate); font-size: 14px; }
.line-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.line-price {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 560;
  white-space: nowrap;
}
.line-remove {
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
}
.line-remove:hover {
  color: var(--danger);
}
.summary { background: var(--white); border: 1px solid var(--line); padding: 18px; height: fit-content; position: sticky; top: 84px; }
.summary label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.summary select, .field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 4px;
  padding: 10px 12px;
}
.totals { width: 100%; border-collapse: collapse; margin: 14px 0; font-variant-numeric: tabular-nums; }
.totals td { padding: 7px 0; }
.totals td:last-child { text-align: right; }
.totals tr:last-child td { border-top: 1px solid var(--line); font-weight: 650; padding-top: 10px; }

.field { margin: 0 0 14px; }
.field span { display: block; font-weight: 600; margin-bottom: 6px; }

.faq details,
.faq .faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.faq details:hover,
.faq .faq-item:hover {
  background: var(--wash);
  border-color: #c9d8f5;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-icon::before {
  content: "+";
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cobalt);
  transition: transform 0.15s ease;
}
details[open] .faq-icon::before {
  content: "−";
}
.faq-body p { margin: 10px 0 0; color: var(--slate); }
.faq .media-frame,
.faq-body .media-frame,
.faq-body img {
  margin-top: 12px;
  max-width: 320px;
  max-height: 240px;
  object-fit: contain;
  overflow: hidden;
}

.empty { background: var(--white); border: 1px dashed var(--line-strong); padding: 28px; }

#cart-root {
  min-height: 400px;
}

.compare { width: 100%; border-collapse: collapse; background: var(--white); }
.compare th, .compare td { border-bottom: 1px solid var(--line); text-align: left; padding: 12px; vertical-align: top; }
.compare th { font-size: 14px; color: var(--slate); font-weight: 600; }

.added { color: var(--ok); font-weight: 600; font-size: 14px; }

.ad-flag { background: var(--ink); color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.ad-flag .wrap { padding: 8px 0; }
.story-photo { margin: 8px 0 22px; }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.gallery {
  position: relative;
}
.gallery-slides {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.gallery-slide {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
  max-height: 440px;
}
.gallery-slide.active {
  display: block;
}
.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-height: 440px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
}
.gallery-nav:hover {
  background: var(--cobalt);
  color: #fff;
  border-color: var(--cobalt);
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.gallery-dot.active,
.gallery-dot:hover {
  background: var(--cobalt);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.lightbox-img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-nav, .lightbox-zoom {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox-nav:hover, .lightbox-zoom:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-zoom {
  bottom: -50px;
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox-zoom-in { left: 50%; transform: translateX(calc(-100% - 5px)); }
.lightbox-zoom-out { left: 50%; transform: translateX(5px); }

/* Product card for shop */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  border-color: var(--cobalt);
  box-shadow: 0 4px 16px rgba(11,95,255,0.1);
}
.product-card-img {
  display: block;
  aspect-ratio: 1;
  background: var(--paper);
  overflow: hidden;
  flex: 0 0 auto;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.product-card h3 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.2;
}
.product-card h3 a {
  color: inherit;
  text-decoration: none;
}
.product-card h3 a:hover { color: var(--cobalt); }
.product-card-btn {
  margin-top: auto;
  width: 100%;
}
.product-card .price {
  font-size: 1.4rem;
  margin: 0;
  color: var(--ink);
}
.product-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}
.product-card .added { color: var(--ok); font-weight: 600; min-height: 1.2em; }
.cart-layout:has(#summary-root:empty) { grid-template-columns: 1fr; }
#summary-root:empty { display: none; }
.preland-photos,
.about-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 8px;
}
.about-photos {
  grid-template-columns: 1fr 1fr;
}
.panel > .media-frame {
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .catalog-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .catalog-cards .product-card {
    flex: 0 1 calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .menu summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] { position: relative; }
  .menu-panel {
    position: absolute;
    right: 0;
    top: 42px;
    background: var(--white);
    border: 1px solid var(--line);
    min-width: 220px;
    padding: 10px;
    display: grid;
    box-shadow: var(--shadow);
  }
  .menu-panel a { color: var(--ink); text-decoration: none; padding: 8px; }
  .hero, .split, .limits, .product, .cart-layout { grid-template-columns: 1fr; }
  .hero-split .hero-copy { order: 0; }
  .product { display: flex; flex-direction: column; }
  .product-side { display: contents; }
  .gallery { order: 1; }
  .buy { order: 2; }
  .under-gallery { order: 3; }
  .section { padding: 32px 0; }
  .product-row { grid-template-columns: 1fr; }
  .row-price { text-align: left; }
  .spec-rail { grid-template-columns: 1fr 1fr; }
  .spec-rail div:nth-child(odd) { border-right: 1px solid var(--line); }
  .spec-rail div:nth-child(1),
  .spec-rail div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .specs { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 2px; padding-right: 0; }
  .buy, .summary { position: static; }
  .langs { display: none; }
  .menu .langs { display: flex; padding: 8px; }
}

@media (max-width: 700px) {
  .preland-photos, .about-photos { grid-template-columns: 1fr; }
  .catalog-cards .product-card {
    flex: 0 1 100%;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .spec-rail { grid-template-columns: 1fr; }
  .spec-rail div { border-right: 0; border-bottom: 1px solid var(--line); }
  .line { grid-template-columns: 1fr; }
  .line .line-side { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
