/* Fonts are self-hosted (SIL OFL, see static/fonts/*-OFL.txt): no third-party requests. */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/fredoka-latin-wght-normal.f927be6ddd92.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/nunito-latin-wght-normal.86b73ab5f530.woff2") format("woff2-variations");
}

:root {
  /* Brand, from the logo */
  --navy: #0a2e57;
  --blue: #0b5cad;
  --blue-2: #1a6cbf;
  --orange: #e05a10; /* white text on it passes 3:1 at 19px bold, which is how buttons and step numbers use it */
  --orange-ink: #b84a0c; /* orange that passes 4.5:1 as text on white */

  /* Soft surfaces */
  --sky: #cdebff;
  --sky-2: #e3f4ff;
  --sky-3: #eaf6ff;
  --sky-4: #f2f9ff;
  --sky-edge: #9acff2;
  --peach: #fff1e6;
  --peach-edge: #ffd9bd;
  --mint: #dff5e6;
  --mint-ink: #1e7a43;
  --lilac: #f1ecff;
  --lilac-ink: #5b3fb8;
  --lemon: #fff4c7;
  --rose: #ffe0ea;

  --ink: var(--navy);
  --ink-2: #24466d;
  --muted: #3d5a7a;
  --line: #e3f1fb;
  --error: #b42318;

  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bounce: cubic-bezier(.34, 1.8, .64, 1);
  --radius: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--blue); }

a:hover { color: var(--orange-ink); }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 0 0.8rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  z-index: 10;
}

.skip:focus { top: 0.8rem; }

.wrap {
  width: min(80rem, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap { width: min(80rem, calc(100% - 4rem)); }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--orange-ink);
  transition: transform .3s var(--bounce), box-shadow .3s var(--bounce);
}

.button:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 9px 0 var(--orange-ink); }

.button:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--orange-ink); }

.button-blue { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--navy); }

.button-blue:hover { color: #fff; box-shadow: 0 8px 0 var(--navy); }

.button-blue:active { box-shadow: 0 2px 0 var(--navy); }

.button-white { background: #fff; color: var(--navy); box-shadow: 0 6px 0 var(--sky-edge); }

.button-white:hover { color: var(--navy); box-shadow: 0 9px 0 var(--sky-edge); }

.button-small { font-size: 1rem; font-weight: 600; padding: 0.7rem 1.2rem; }

.button svg, .link-arrow svg { flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* ---------- Header ---------- */

.sky {
  background: var(--sky);
  position: relative;
  overflow: hidden;
}

.sky::before, .sky::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--sky-2);
  pointer-events: none;
}

.sky::before { width: 32rem; height: 32rem; top: -8rem; right: -5rem; }

.sky::after { width: 22rem; height: 22rem; bottom: 4rem; left: -9rem; }

.site-header { position: relative; z-index: 2; padding: 1rem 0; }

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.logo { flex: none; display: block; width: 64px; }

.logo img { width: 64px; height: auto; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  flex: 1;
  min-width: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

.main-nav a { color: var(--navy); text-decoration: none; }

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

.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--orange); }

.sky-wave {
  display: block;
  width: 100%;
  height: 56px;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .header-row { gap: 0.75rem 1rem; }
  .logo, .logo img { width: 52px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 0.4rem 1.2rem; font-size: 1rem; }
  .header-cta { margin-left: auto; }
}

/* ---------- Page head (inner pages) ---------- */

.page-head {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 1rem;
  max-width: 46rem;
}

.page-head h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); }

.lede { font-size: 1.2rem; max-width: 40rem; margin: 0; color: var(--ink-2); }

.eyebrow, .pill {
  display: inline-block;
  margin: 0 0 1rem;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--sky-edge);
}

.page { padding: 2.5rem 0 4rem; }

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0 5rem;
}

.hero-copy { flex: 1 1 28rem; min-width: 0; }

.hero-copy h1 em { font-style: normal; color: var(--blue); }

.hero-copy .lede { font-size: 1.25rem; max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero-figure { flex: 1 1 24rem; min-width: 0; position: relative; margin: 0; }

.hero-photo {
  aspect-ratio: 5 / 4;
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  box-shadow: 0 18px 0 var(--sky-edge);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  left: -0.75rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border-radius: 20px;
  padding: 0.75rem 1rem;
  box-shadow: 0 6px 0 var(--sky-edge);
  line-height: 1.25;
}

.badge strong { display: block; font-size: 0.95rem; }

.badge span:last-child span { font-size: 0.82rem; color: var(--muted); }

.icon-bubble {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--peach);
  color: var(--orange-ink);
}

@media (max-width: 720px) {
  .hero { padding-bottom: 4rem; gap: 2.5rem; }
  .badge { left: 0.5rem; bottom: -0.5rem; }
}

/* ---------- Home: quick quote card ---------- */

.quick {
  position: relative;
  z-index: 3;
  margin-top: -4.5rem;
}

.quick-card {
  max-width: 68rem;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 0 var(--sky), 0 20px 40px rgba(10, 46, 87, .10);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.quick-card .field { flex: 0 1 15rem; }

.quick-note { flex: 1 1 18rem; margin: 0; color: var(--muted); font-size: 0.97rem; align-self: center; }

.quick-card .button { flex: none; min-height: 3.3rem; }

.seg {
  display: flex;
  background: var(--sky-4);
  border: 2px solid var(--sky);
  border-radius: 999px;
  padding: 4px;
  min-height: 3.1rem;
}

.seg label {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0 0.6rem;
}

.seg input { position: absolute; opacity: 0; pointer-events: none; }

.seg label:has(input:checked) { background: var(--blue); color: #fff; }

.seg label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Sections ---------- */

.section { padding: 5rem 0 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.section-head h2, .section-title { font-size: clamp(2rem, 3.5vw, 2.75rem); margin: 0; }

.section-title { margin: 3rem 0 1.25rem; }

.section-head p { margin: 0.35rem 0 0; color: var(--muted); }

.ghost-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--blue);
  background: var(--sky-3);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
}

.ghost-link:hover { background: var(--sky); color: var(--navy); }

/* Path cards */

.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 36px;
  padding: 2.25rem;
  text-decoration: none;
  color: var(--navy);
  background: var(--sky-3);
  transition: transform .3s var(--bounce);
}

.card:hover { color: var(--navy); transform: translateY(-4px); }

.card h2 { font-size: 2rem; margin: 0.4rem 0 0; }

.card p { margin: 0; color: var(--ink-2); max-width: 44ch; }

.card .link-arrow { color: var(--blue); margin-top: 0.4rem; }

.card-peach { background: var(--peach); }

.card-peach .link-arrow { color: var(--orange-ink); }

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: 0 4px 0 var(--sky);
}

.card-peach .card-icon { color: var(--orange-ink); box-shadow: 0 4px 0 var(--peach-edge); }

/* Product cards (home + catalog) */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.85rem 1.25rem;
  box-shadow: 0 6px 0 var(--line);
  text-decoration: none;
  color: var(--navy);
  transition: transform .3s var(--bounce), box-shadow .3s var(--bounce);
}

a.product-card:hover { color: var(--navy); transform: translateY(-4px); box-shadow: 0 10px 0 var(--sky); }

.product-card .photo { border-radius: 22px; }

.product-card .body { padding: 0.25rem 0.5rem 0; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }

.product-card h2, .product-card h3 { margin: 0.25rem 0 0; font-size: 1.4rem; }

.product-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--sky-3);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sky-4);
  width: 100%;
}

.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  background: radial-gradient(circle at 30% 30%, var(--sky-3), var(--sky-4) 70%);
}

.price, .product-card .price {
  margin-top: auto !important;
  padding-top: 0.5rem;
  color: var(--navy) !important;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem !important;
}

/* Category chips */

.filters, .chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--sky-3);
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform .3s var(--bounce);
}

.chip:hover { color: var(--navy); transform: translateY(-3px); }

.chip.is-current { background: var(--blue); color: #fff; }

.chip .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.9rem;
  margin-left: -0.6rem;
}

.chips .chip { padding-left: 0.5rem; }

.chips .chip:nth-child(6n+2) { background: #ffe3cf; }
.chips .chip:nth-child(6n+3) { background: var(--mint); }
.chips .chip:nth-child(6n+4) { background: var(--lilac); }
.chips .chip:nth-child(6n+5) { background: var(--lemon); }
.chips .chip:nth-child(6n+6) { background: var(--rose); }

/* Custom design band */

.band-peach { background: var(--peach); margin-top: 5rem; }

.band-wave { display: block; width: 100%; height: 56px; }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0 5.5rem;
}

.split > * { flex: 1 1 26rem; min-width: 0; }

.split h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0 0 1rem; }

.split .eyebrow { color: var(--orange-ink); box-shadow: 0 3px 0 var(--peach-edge); }

.split-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.6rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.9rem;
}

.step {
  background: #fff;
  border-radius: 24px;
  padding: 1.1rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-num {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
}

.step h3 { font-size: 1.15rem; margin: 0 0 0.2rem; }

.step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Trust points */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2rem;
}

.point h3 { font-size: 1.3rem; margin: 0.75rem 0 0.35rem; }

.point p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.point-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-3);
  color: var(--blue);
}

.point-icon.mint { background: var(--mint); color: var(--mint-ink); }
.point-icon.peach { background: var(--peach); color: var(--orange-ink); }
.point-icon.lilac { background: var(--lilac); color: var(--lilac-ink); }

/* CTA panel */

.cta {
  position: relative;
  overflow: hidden;
  margin: 5rem 0 4rem;
  background: var(--blue);
  color: #fff;
  border-radius: 48px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 10px 0 var(--navy);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.cta::before {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: var(--blue-2);
}

.cta h2 { position: relative; margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.75rem); }

.cta .button { position: relative; }

/* ---------- Product detail ---------- */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.detail-photo { border-radius: var(--radius); border: 8px solid #fff; box-shadow: 0 10px 0 var(--sky); }

.panel {
  background: var(--sky-4);
  border: 2px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.panel .price { font-size: 1.6rem !important; margin: 0 0 0.25rem !important; padding: 0; }

dl { display: grid; grid-template-columns: 9rem 1fr; gap: 0.45rem 1rem; margin: 1.25rem 0; }

dt { color: var(--muted); }

dd { margin: 0; font-weight: 700; }

/* ---------- Forms ---------- */

form.stack {
  display: grid;
  gap: 1.1rem;
  max-width: 44rem;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: 0 8px 0 var(--sky);
}

.field { display: grid; gap: 0.35rem; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

label, legend { font-weight: 800; font-size: 0.95rem; padding: 0; }

legend { margin-bottom: 0.35rem; }

.req { color: var(--orange-ink); }

.input {
  width: 100%;
  min-height: 3.1rem;
  border: 2px solid var(--sky);
  background: var(--sky-4);
  color: var(--navy);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.input:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 4px var(--sky-3); }

.input::placeholder { color: #6a85a3; }

.textarea { min-height: 9rem; resize: vertical; }

.help, .muted { color: var(--muted); font-size: 0.92rem; margin: 0; }

.field-error, .errors { color: var(--error); margin: 0; font-weight: 700; }

.errors { background: #fdeceb; padding: 0.8rem 1rem; border-radius: 16px; }

.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header cart count ---------- */

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 0.9rem;
}

.header-cta[aria-current="page"] { transform: none; }

/* ---------- Product list: filters, cards, cart buttons ---------- */

.page-overlap { position: relative; z-index: 3; margin-top: -4rem; padding-top: 0; }

.filter-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 0 var(--sky), 0 20px 40px rgba(10, 46, 87, .10);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: flex-end;
}

.filter-group { flex: 1 1 32rem; min-width: 0; }

.filter-label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 0.5rem; padding: 0; }

.filter-card .filters { margin: 0; gap: 0.5rem; }

.filter-card .chip { font-size: 0.98rem; padding: 0.55rem 1rem; }

.filter-card .chip:not(.is-current):nth-child(6n+2) { background: var(--sky); }
.filter-card .chip:not(.is-current):nth-child(6n+3) { background: #ffe3cf; }
.filter-card .chip:not(.is-current):nth-child(6n+4) { background: var(--mint); }
.filter-card .chip:not(.is-current):nth-child(6n+5) { background: var(--lilac); }
.filter-card .chip:not(.is-current):nth-child(6n+6) { background: var(--lemon); }
.filter-card .chip:not(.is-current):nth-child(6n+1) { background: var(--rose); }
.filter-card .chip:first-child:not(.is-current) { background: var(--sky-3); }

.chip.is-current { box-shadow: 0 4px 0 var(--navy); }

.filter-form { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: flex-end; flex: 1 1 26rem; }

.filter-form fieldset { flex: 1 1 16rem; }

.filter-form .field { flex: 0 1 12rem; }

.result-note { font-weight: 700; color: var(--muted); margin: 2rem 0 1.25rem; }

.product-card { position: relative; }

.product-card h2 a, .product-card h3 a { color: inherit; text-decoration: none; }

.product-card h2 a:hover { color: var(--blue); }

.photo-link { position: relative; display: block; border-radius: 22px; overflow: hidden; text-decoration: none; }

.badge-avail {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.badge-avail.is-free { background: var(--mint); color: #14532d; }

.badge-avail.is-busy { background: #fff; color: var(--muted); }

.price small { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; color: var(--muted); }

.price-net { font-size: 0.85rem !important; color: var(--muted) !important; margin: 0 !important; }

.cart-form { margin: 0; }

.cart-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 var(--navy);
  transition: transform .3s var(--bounce);
}

.cart-button:hover { color: #fff; transform: translateY(-2px); }

.cart-button.is-in { background: var(--mint); color: #14532d; box-shadow: 0 4px 0 #a8ddba; }

.cart-button.is-in:hover { color: #14532d; }

.cart-button.is-quote { background: var(--peach); color: var(--navy); box-shadow: 0 4px 0 var(--peach-edge); }

.cart-button.is-quote:hover { color: var(--navy); }

.cart-button.is-busy { background: #eef2f6; color: var(--muted); box-shadow: none; cursor: default; }

.cart-button.is-busy:hover { transform: none; }

.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.25rem 0 0.75rem; }

.detail-actions .cart-form { flex: 0 1 16rem; }

/* ---------- Booking + quote pages ---------- */

.page-head-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-bottom: 5rem;
}

.page-head-row .page-head { flex: 1 1 30rem; padding-bottom: 0; }

.mode-tabs {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 5px 0 var(--sky-edge);
  flex: 0 1 24rem;
}

.mode-tabs a {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}

.mode-tabs a[aria-current="page"] { background: var(--blue); color: #fff; }

.booking-layout { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start; }

.booking-form { flex: 999 1 34rem; min-width: 0; display: grid; gap: 1.5rem; }

form.stack.booking-form { max-width: none; }

.form-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 8px 0 var(--sky);
  display: grid;
  gap: 1.25rem;
}

.step-title { display: flex; align-items: center; gap: 0.85rem; font-size: 1.6rem; margin: 0; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; align-items: start; }

.chips-select { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chips-select label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--sky-4);
  box-shadow: inset 0 0 0 2px var(--sky);
}

.chips-select input, .choice-cards input:not([type=radio]) { position: absolute; opacity: 0; pointer-events: none; }

.chips-select label:has(input:checked) { background: var(--blue); color: #fff; box-shadow: none; }

.chips-select label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }

.choice-cards { display: grid; gap: 0.6rem; }

.choice-cards label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 700;
  background: var(--sky-4);
  box-shadow: inset 0 0 0 2px var(--sky);
}

.choice-cards input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--blue); }

.choice-cards label:has(input:checked) { background: var(--sky-3); box-shadow: inset 0 0 0 2px var(--blue); }

.pills-field.has-error .seg, .pills-field.has-error .chips-select label { box-shadow: inset 0 0 0 2px var(--error); }

/* Company and e-invoice fields only when they apply (CSS :has, no JS needed). */
.booking-form:has(input[name="customer_type"][value="private"]:checked) .company-only { display: none; }

.booking-form .einvoice-only { display: none; }

.booking-form:has(input[name="customer_type"][value="company"]:checked):has(input[name="payment_method"][value="invoice"]:checked) .einvoice-only { display: grid; }

.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.submit-row .muted { flex: 1 1 18rem; }

.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.summary {
  flex: 1 1 21rem;
  min-width: 0;
  position: sticky;
  top: 1.5rem;
  background: var(--sky-4);
  border: 2px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.summary-inner { display: grid; gap: 0.9rem; }

.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }

.summary-head h2 { font-size: 1.6rem; margin: 0; }

.summary-length { font-size: 0.82rem; font-weight: 800; background: #fff; padding: 0.3rem 0.75rem; border-radius: 999px; }

.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.summary-lines li {
  background: #fff;
  border-radius: 20px;
  padding: 0.7rem 0.6rem 0.7rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 2.5rem;
  gap: 0.6rem;
  align-items: center;
}

.summary-lines form { margin: 0; }

.summary-name { display: flex; flex-direction: column; min-width: 0; }

.summary-name span { font-size: 0.82rem; color: var(--muted); }

.summary-amount { font-weight: 800; font-variant-numeric: tabular-nums; }

.icon-button {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--sky-3);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button:hover { background: var(--sky); }

.summary-empty { background: #fff; border-radius: 22px; padding: 1.25rem; display: grid; gap: 0.75rem; justify-items: start; }

.summary-empty p { margin: 0; }

.summary-totals { grid-template-columns: 1fr auto; margin: 0.25rem 0 0; font-size: 0.95rem; }

.summary-totals dd { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 20px;
  padding: 0.9rem 1.1rem;
  font-weight: 800;
}

.summary-total strong { font-family: var(--display); font-weight: 600; font-size: 1.75rem; font-variant-numeric: tabular-nums; }

.summary .ghost-link { justify-self: start; background: #fff; }

.steps-card {
  flex: 1 1 21rem;
  min-width: 0;
  background: var(--peach);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}

.steps-card h2 { font-size: 1.6rem; margin: 0; }

.steps-card p { margin: 0; }

.steps-stack { grid-template-columns: 1fr; }

.success-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .page-overlap { margin-top: -3rem; }
  .summary { position: static; }
}

/* ---------- Info pages ---------- */

.page-head-tall { padding-bottom: 5rem; }

.section-title-lg { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 1.75rem; }

.section-tight { padding-top: 3.5rem; }

.narrow { max-width: 62rem; }

.ph {
  background: var(--peach);
  color: #8a3608;
  border: 2px dashed var(--orange);
  border-radius: 8px;
  padding: 0 0.35rem;
  font-weight: 800;
}

.ph-block {
  display: block;
  background: var(--peach);
  color: #8a3608;
  border: 2px dashed var(--orange);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.step-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
}

.step-cards li {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 8px 0 var(--sky), 0 20px 40px rgba(10, 46, 87, .08);
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.step-cards h2 { font-size: 1.5rem; margin: 0.4rem 0 0; }

.step-cards p { margin: 0; color: var(--ink-2); }

.step-num-lg { width: 3rem; height: 3rem; font-size: 1.4rem; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }

.info-card {
  background: var(--sky-3);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.info-card h2, .info-card h3 { font-size: 1.45rem; margin: 0.25rem 0 0; }

.info-card p, .info-card li { color: var(--ink-2); }

.info-card p { margin: 0; }

.info-card ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; }

.info-peach { background: var(--peach); }

.info-mint { background: var(--mint); }

.point-icon.on-white { background: #fff; }

.faq-lead { margin: -1rem 0 1.75rem; font-size: 1.05rem; }

.faq { display: grid; gap: 0.75rem; }

.faq details { background: var(--sky-4); border-radius: 24px; padding: 0.25rem 1.5rem; }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq-plus {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform .3s var(--bounce);
}

.faq details[open] .faq-plus { transform: rotate(45deg); }

.faq details p { margin: 0 0 1.25rem; color: var(--ink-2); line-height: 1.6; }

/* Business page */

.paths-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

.paths-3 .card h3 { font-size: 1.5rem; margin: 0; }

.paths-3 .card .link-arrow { margin-top: auto; }

.card-mint { background: var(--mint); }

.card-mint .link-arrow { color: var(--mint-ink); }

.hero-photo-alt { border-radius: 52% 48% 56% 44% / 46% 52% 48% 54%; }

.custom-band { display: grid; gap: 2.5rem; padding: 3rem 0 5.5rem; }

.custom-head { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; align-items: flex-end; }

.custom-head > * { flex: 1 1 26rem; min-width: 0; }

.custom-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 0; }

.eyebrow-peach { color: var(--orange-ink); box-shadow: 0 3px 0 var(--peach-edge); }

.steps-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.step-card { flex-direction: column; border-radius: 28px; padding: 1.5rem; }

/* Contact page */

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }

.contact-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 8px 0 var(--sky), 0 20px 40px rgba(10, 46, 87, .08);
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.contact-card h2 { font-size: 1.4rem; margin: 0.4rem 0 0; }

.contact-card p { margin: 0; }

.contact-big { font-size: 1.2rem; font-weight: 800; }

.contact-list { grid-template-columns: auto 1fr; gap: 0.3rem 0.9rem; margin: 0; font-size: 0.97rem; }

.contact-list dd { font-weight: 700; }

.contact-layout { margin-top: 3.5rem; }

.contact-form { flex: 999 1 32rem; min-width: 0; }

.stack-plain { display: grid; gap: 1.1rem; }

.contact-side { flex: 1 1 20rem; min-width: 0; display: grid; gap: 1.25rem; }

.contact-side .summary { position: static; }

.side-title { font-size: 1.4rem; margin: 0 0 0.5rem; }

.peach-link { color: var(--orange-ink); text-decoration: none; }

/* Legal pages */

.legal-layout { display: flex; flex-wrap: wrap-reverse; gap: 1.75rem; align-items: flex-end; }

.legal { flex: 999 1 34rem; min-width: 0; display: block; padding: clamp(1.4rem, 4vw, 2.75rem); }

.legal section { padding: 1.75rem 0; border-top: 2px solid var(--line); }

.legal section:first-child { padding-top: 0; border-top: 0; }

.legal section:last-child { padding-bottom: 0; }

.legal h2 { font-size: 1.6rem; margin: 0 0 0.6rem; scroll-margin-top: 1.5rem; }

.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }

.legal p { margin: 0 0 0.75rem; }

.legal ul { margin: 0 0 0.75rem; padding-left: 1.4rem; }

.legal-toc { flex: 1 1 16rem; min-width: 0; position: sticky; top: 1.5rem; display: grid; gap: 1rem; }

nav.legal-toc { padding: 1.4rem 1.5rem; }

.legal-toc ol, .legal-toc ul { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.4rem; font-weight: 700; font-size: 0.97rem; }

.legal-toc .summary { position: static; }

.emergency { gap: 0.25rem; }

.emergency-label { font-weight: 800; }

.emergency-number { font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1; }

/* Product page */

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-weight: 700; margin-bottom: 1.1rem; }

.breadcrumb span { color: var(--muted); }

.detail-main { flex: 999 1 34rem; min-width: 0; }

.detail-main .detail-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 40px;
  border: 8px solid #fff;
  box-shadow: 0 12px 0 var(--sky), 0 20px 40px rgba(10, 46, 87, .10);
}

.detail-main .placeholder { display: grid; place-items: center; font-size: 1.6rem; }

.buy-card {
  flex: 1 1 22rem;
  min-width: 0;
  position: sticky;
  top: 1.5rem;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 8px 0 var(--sky), 0 20px 40px rgba(10, 46, 87, .10);
  display: grid;
  gap: 1.1rem;
}

.buy-card p { margin: 0; }

.buy-price { font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1.05; }

.buy-price small { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--muted); }

.date-check { display: grid; gap: 0.4rem; }

.date-row { display: flex; gap: 0.5rem; }

.date-row .input { flex: 1; min-width: 0; }

.date-row .button { flex: none; }

.avail { justify-self: start; font-size: 0.9rem; font-weight: 800; padding: 0.3rem 0.8rem; border-radius: 999px; }

.avail.is-free { background: var(--mint); color: #14532d; }

.avail.is-busy { background: #eef2f6; color: var(--muted); }

.length-prices {
  grid-template-columns: 1fr auto;
  margin: 0;
  gap: 0.3rem 1rem;
  background: var(--sky-4);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  font-size: 0.97rem;
}

.length-prices dd { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }

.also-sale {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  background: var(--peach);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}

.also-sale a { font-weight: 800; color: var(--orange-ink); }

.checks { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 2px solid var(--line); display: grid; gap: 0.55rem; font-size: 0.95rem; }

.checks li { display: flex; gap: 0.6rem; align-items: center; }

.checks li::before {
  content: "✓";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; margin: 0; }

.facts div { background: var(--sky-3); border-radius: 24px; padding: 1.2rem 1.35rem; display: grid; gap: 0.2rem; }

.facts div:nth-child(5n+2) { background: var(--peach); }
.facts div:nth-child(5n+3) { background: var(--mint); }
.facts div:nth-child(5n+4) { background: var(--lilac); }
.facts div:nth-child(5n+5) { background: var(--lemon); }

.facts dt { font-size: 0.88rem; font-weight: 800; color: var(--ink-2); }

.facts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.35rem; }

.know-row { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.know-row > * { flex: 1 1 20rem; min-width: 0; }

.know-card { flex: 2 1 26rem; background: var(--sky-4); }

@media (max-width: 720px) {
  .buy-card, .legal-toc { position: static; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #d6e6f5; margin-top: 4rem; }

.site-footer .footer-wave { display: block; width: 100%; height: 56px; background: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 2.5rem;
  padding: 2rem 0 3.5rem;
  font-size: 0.97rem;
  line-height: 1.9;
}

.footer-grid h2 { font-size: 1.15rem; color: #fff; margin: 0 0 0.25rem; }

.footer-grid p { margin: 0; }

.footer-grid a { color: #d6e6f5; }

.footer-grid a:hover { color: #ffb27a; }

.footer-grid ul { list-style: none; margin: 0; padding: 0; }

.footer-logo { width: 72px; margin-bottom: 0.75rem; }

.site-footer :focus-visible { outline-color: #ffb27a; }

@media (max-width: 800px) {
  .detail { grid-template-columns: 1fr; }
  dl { grid-template-columns: 1fr; }
  dd { margin-bottom: 0.5rem; }
}
