@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/latin-ext-400-normal.woff2") format("woff2"), url("/fonts/latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/latin-ext-600-normal.woff2") format("woff2"), url("/fonts/latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/latin-ext-700-normal.woff2") format("woff2"), url("/fonts/latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #e7eef4;
  --bg-2: #f5f8fb;
  --ink: #172033;
  --muted: #314056;
  --line: #c5d0dc;
  --accent: #1e4e86;
  --accent-ink: #f4f8fc;
  --card: #f7fafc;
  --tint: #d5e3f2;
  --danger: #8d2b2b;
  --radius: 10px;
  --max: 1120px;
  --nav: 68px;
  --shadow: 0 14px 32px rgb(23 32 51 / 8%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121820;
    --bg-2: #1a222c;
    --ink: #e6edf4;
    --muted: #c5d0dc;
    --line: #314155;
    --accent: #d5e4f5;
    --accent-ink: #122033;
    --card: #1a222c;
    --tint: #1c2c3e;
    --danger: #f0b4b4;
    --shadow: 0 14px 32px rgb(0 0 0 / 32%);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #121820;
  --bg-2: #1a222c;
  --ink: #e6edf4;
  --muted: #c5d0dc;
  --line: #314155;
  --accent: #d5e4f5;
  --accent-ink: #122033;
  --card: #1a222c;
  --tint: #1c2c3e;
  --danger: #f0b4b4;
  --shadow: 0 14px 32px rgb(0 0 0 / 32%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.nav {
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand { color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.03em; font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn, .nav-toggle {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 0 12px;
  cursor: pointer;
}
.nav-toggle { display: none; }
.cart-link { text-decoration: none; color: var(--ink); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 36px;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.04em; margin: 0 0 12px; font-weight: 700; }
.lede { margin: 0 0 18px; max-width: 42rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.paypal-mark { height: 18px; width: auto; }
.hero-photo { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: rise 0.6s ease; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.cats {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cats a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 16px;
  color: var(--ink);
  text-decoration: none;
  min-height: 96px;
}
.cats a + a { border-left: 1px solid var(--line); }
.cats strong { font-size: 1.25rem; letter-spacing: -0.03em; }
.cats span { color: var(--muted); font-size: 0.92rem; }

section { padding: 48px 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin: 0 0 8px; }
.note { color: var(--muted); margin: 0 0 20px; max-width: 65ch; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product div { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product h3 { margin: 0; font-size: 1rem; letter-spacing: -0.02em; }
.product a { color: var(--ink); text-decoration: none; }
.product a:hover { text-decoration: underline; }
.price { font-weight: 700; margin-top: auto; }

.steps { display: grid; gap: 0; max-width: 40rem; }
.steps li { list-style: none; padding: 16px 0; border-top: 1px solid var(--line); }
.steps { margin: 0; padding: 0; }
.steps strong { display: block; }

.band { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.band p { margin: 8px 0 0; max-width: 62ch; }

.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.95rem; }
.footer a { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.legal-id { margin-top: 18px; }

.crumbs { color: var(--muted); font-size: 0.92rem; margin: 18px 0; }
.crumbs a { color: var(--muted); }
.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; padding-bottom: 48px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.facts div { background: var(--card); border-radius: var(--radius); padding: 12px; }
.facts dt { color: var(--muted); font-size: 0.85rem; }
.facts dd { margin: 4px 0 0; font-weight: 700; }

.pager { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pager a, .filters a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.pager a[aria-current="page"], .filters a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink); }
.form { display: grid; gap: 14px; max-width: 38rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  min-height: 48px;
  border: 1px solid #7f93a8;
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 10px 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.phone-row { display: grid; grid-template-columns: 180px 1fr; gap: 8px; }
.err { color: var(--danger); margin: 0; min-height: 1.2em; font-weight: 700; }
.ok { background: var(--tint); border-radius: var(--radius); padding: 14px; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cart-row img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius); }
.qty { width: 72px; min-height: 44px; border: 1px solid #7f93a8; border-radius: var(--radius); background: var(--bg-2); padding: 8px; }
.banner {
  position: sticky;
  bottom: 0;
  z-index: 6;
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.banner .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 0; }
.banner p { margin: 0; max-width: 62ch; }
.preland-hero { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide article { background: var(--card); border-radius: var(--radius); padding: 16px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .hero, .product-layout, .preland-hero, .footer-grid, .guide { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
  .hero-photo { order: 2; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cats a:nth-child(odd) { border-left: 0; }
  .cats a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr 1fr; }
  .banner .wrap { flex-direction: column; align-items: stretch; }
  .phone-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
