:root {
  --sky: #38bdf8;
  --sky-dark: #0284c7;
  --sky-soft: #e0f2fe;
  --sky-softer: #f0f9ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .logo {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h3, h4 { font-weight: 700; letter-spacing: -0.2px; }
h1, h2 { text-wrap: balance; } /* evens out line lengths so one word is never left alone */

/* Jost has small lowercase letters, so scale them up a little everywhere for easy reading.
   Serif headings keep their own sizes. */
body { font-size-adjust: 0.53; }
h1, h2, .logo, .marquee em, .rank, .value-num,
.cat-card h3, .map-card h3, .shop-empty h3 { font-size-adjust: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--sky-dark); }
.btn-outline { border-color: var(--sky); color: var(--sky-dark); background: var(--white); }
.btn-outline:hover { background: var(--sky-soft); }

/* Top bar */
.topbar {
  background: var(--sky-dark);
  color: var(--white);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}

/* Header: wide and transparent over the hero, floating glass pill after scroll */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  margin-bottom: -80px; /* lets the hero sit behind the navbar */
  display: flow-root; /* keeps the pill's top gap inside the header */
  pointer-events: none;
}
.header .nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  max-width: 1440px;
  height: 80px;
  margin: 0 auto;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  transition: max-width .45s ease, height .45s ease, margin-top .45s ease, padding .45s ease,
    border-radius .45s ease, background .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.header.scrolled .nav {
  max-width: 1000px;
  height: 62px;
  margin-top: 12px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 40px rgba(2, 132, 199, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.logo { font-size: 28px; }
.logo span { color: var(--sky); font-style: italic; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--sky-dark); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
}
.nav-call { padding: 10px 20px; font-size: 14px; }
.header.scrolled .nav-call { box-shadow: none; }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  color: var(--ink);
}

/* Section basics */
section { padding: 80px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky-dark);
  background: var(--sky-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.2; margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 560px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-sub { margin-inline: auto; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #d7eafb; /* matches the left side of the hero photo */
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-content { position: relative; z-index: 1; }
.hero-text { max-width: 540px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.1; margin-bottom: 18px; }
.hero h1 span { color: var(--sky); font-style: italic; }
.hero p { color: var(--muted); font-size: 17px; margin-bottom: 30px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 26px; color: var(--sky-dark); }
.hero-stats small { color: var(--muted); }

/* Features strip */
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sky-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* Marquee ribbon under the hero */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--sky-dark), var(--sky), var(--sky-dark));
  color: var(--white);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}
.marquee i {
  font-style: normal;
  font-size: 14px;
  opacity: .75;
  margin: 0 32px;
  display: inline-block;
  animation: spin 6s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .marquee { padding: 14px 0; }
  .marquee span { font-size: 12px; }
  .marquee em { font-size: 22px; }
  .marquee i { margin: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .marquee i { animation: none; }
}

/* Categories */
/* Categories section: big heading with a faint solid word behind it */
.cats { position: relative; overflow: hidden; }
.cats .container { position: relative; z-index: 1; }
.watermark {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(90px, 17vw, 260px);
  line-height: .9;
  white-space: nowrap;
  color: rgba(2, 132, 199, 0.06);
  pointer-events: none;
  user-select: none;
  animation: drift 14s ease-in-out infinite alternate;
}
/* Faint diagonal grid behind the watermark sections, fading out at the edges */
.cats::before, .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(2, 132, 199, 0.07) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(-45deg, rgba(2, 132, 199, 0.07) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
}
.about-hero::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 25%, transparent 80%);
}

/* Label with thin lines on both sides: —— SHOP BY STYLE —— */
.cats-head .eyebrow, .about-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 3px;
}
.cats-head .eyebrow::before, .cats-head .eyebrow::after,
.about-hero .eyebrow::before, .about-hero .eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

@keyframes drift {
  from { transform: translateX(-53%); }
  to { transform: translateX(-47%); }
}
.cats-head .section-title {
  font-size: clamp(38px, 5.8vw, 66px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cats-head .section-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--sky), var(--sky-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .12em; /* keeps the italic letter from getting clipped */
  margin-right: -.06em;
}
.cats-head .section-sub { font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .watermark { animation: none; } }

/* Bento grid: big photo card on the left, four smaller cards on the right */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 20px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(160deg, var(--sky-softer) 0%, var(--sky-soft) 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s;
}
.cat-card::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  left: 50%; top: -50px;
  margin-left: -110px; /* centred glow behind the shoe */
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
  z-index: -1;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(2, 132, 199, .18); border-color: var(--sky); }
.cat-card:hover::before { transform: scale(1.6); }
/* Shoe picture sits centred in the top part of the card, text stays at the bottom */
.cat-emoji {
  position: absolute;
  top: 26px; left: 0; right: 0;
  text-align: center;
  font-size: 84px;
  line-height: 1;
  filter: drop-shadow(0 12px 16px rgba(2, 132, 199, .25));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.cat-card:hover .cat-emoji { transform: translateY(-6px) rotate(-12deg) scale(1.1); }
/* Real shoe photo, centred, edges faded into the card */
.cat-photo {
  position: absolute;
  top: 4%; left: 0; right: 0;
  margin-inline: auto;
  height: 66%;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.cat-card:hover .cat-photo { transform: translateY(-6px) rotate(-4deg) scale(1.06); }
/* Wide card across the two right columns */
.cat-wide { grid-column: span 2; }
.cat-count {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 4px;
}
.cat-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 28px; line-height: 1.15; }
.cat-card p { font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 80%; }
.cat-arrow {
  position: absolute;
  right: 20px; bottom: 20px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--sky-dark);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(2, 132, 199, .15);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s;
}
.cat-card:hover .cat-arrow { background: var(--sky); color: var(--white); transform: rotate(-45deg); }

/* Big photo card */
.cat-feature { grid-column: span 2; grid-row: span 2; padding: 32px; border: 0; }
.cat-feature img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 75% center;
  z-index: -2;
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.cat-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(15, 23, 42, .7) 0%, rgba(15, 23, 42, .15) 45%, transparent 70%);
}
.cat-feature::before { display: none; }
.cat-feature:hover img { transform: scale(1.06); }
.cat-feature .cat-info { color: var(--white); }
.cat-feature .cat-count { color: var(--sky-soft); }
.cat-feature h3 { font-size: 42px; }
.cat-feature p { color: rgba(255, 255, 255, .85); font-size: 15px; }
.cat-feature .cat-arrow { right: 28px; bottom: 28px; width: 52px; height: 52px; }

/* Baby card: darker sky so it stands out */

/* Scroll reveal: cards fade up one after another */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(30px); }
.reveal-on [data-reveal].revealed {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s;
  transition-delay: var(--delay, 0s);
}
.reveal-on [data-reveal].revealed:hover { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
}

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--sky-softer), var(--sky-soft));
  display: grid;
  place-items: center;
  font-size: 90px;
  position: relative;
}
.badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--sky);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 12px; color: var(--sky-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.product h3 { font-size: 16px; }
.price { font-weight: 700; font-size: 17px; }
.price del { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.product .btn { margin-top: auto; justify-content: center; padding: 10px; font-size: 14px; }

/* Shop filters */
.page-hero {
  background: linear-gradient(135deg, var(--sky-softer), var(--sky-soft));
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(36px, 5.6vw, 54px); margin-bottom: 8px; }
.page-hero p { color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--sky); color: var(--sky-dark); }
.filter-btn.active { background: var(--sky); border-color: var(--sky); color: var(--white); }
.filter-divider { width: 1px; background: var(--line); margin: 4px 4px; }
.baby-btn { border-style: dashed; border-color: var(--sky); color: var(--sky-dark); }
.baby-btn.active { background: var(--sky-dark); border: 1px solid var(--sky-dark); color: var(--white); }

/* Product image: real photo or emoji placeholder */
/* Product photos: whole shoe visible, white photo background blends into the card */
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
}

/* Best Sellers slider */
.bestsellers { padding-top: 0; }
.bs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.bs-head .section-title em { font-style: italic; color: var(--sky); }
.bs-controls { display: flex; gap: 10px; flex-shrink: 0; }
.bs-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s, opacity .3s;
}
.bs-arrow:hover:not(:disabled) { background: var(--sky); color: var(--white); border-color: var(--sky); transform: scale(1.06); }
.bs-arrow:disabled { opacity: .35; cursor: default; }
.bs-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  padding: 10px 4px 24px; /* room for the hover lift and shadow */
  margin: -10px -4px 0;
}
.bs-track::-webkit-scrollbar { display: none; }
.bs-track .product { scroll-snap-align: start; }
.bs-footer { display: flex; align-items: center; gap: 24px; margin-top: 16px; }
.rank {
  position: absolute;
  top: 10px; right: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--sky);
  opacity: .55;
}

/* Product card polish: glow behind the shoe, shoe floats up on hover */
.product-img { overflow: hidden; isolation: isolate; }
.product-img::before {
  content: "";
  position: absolute;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
  z-index: -1;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.product:hover .product-img::before { transform: scale(1.35); }
.product-emoji { display: inline-block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 14px 14px rgba(2, 132, 199, .25)); }
.product:hover .product-emoji { transform: translateY(-8px) rotate(-10deg) scale(1.08); }
.product-img img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.product:hover .product-img img { transform: scale(1.06); }
.is-baby:hover .product-emoji { transform: translateY(-6px) rotate(-10deg) scale(.72); }

@media (max-width: 960px) {
  .bs-track { grid-auto-columns: 42%; gap: 18px; }
}
@media (max-width: 600px) {
  .bs-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .bs-controls { display: none; } /* swipe on phones */
  .bs-track { grid-auto-columns: 68%; gap: 14px; }
  .bs-footer { flex-direction: column; align-items: stretch; gap: 20px; }
  .bs-footer .btn { justify-content: center; }
  .rank { font-size: 26px; }
}
.product-emoji { transition: transform .35s ease; }
.is-baby .product-emoji { transform: scale(.65); }
.badge-baby { background: var(--sky-dark); }
.product { animation: card-in .45s ease backwards; } /* backwards: hidden during its delay, hover still works after */
.product-img img { animation: card-in .35s ease; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Italic sky accent word inside any heading */
.section-title em, .page-hero h1 em { font-style: italic; color: var(--sky); }

/* About */
.about-hero { position: relative; overflow: hidden; padding-bottom: 90px; }
.about-hero .container { position: relative; z-index: 1; }
.about-hero .watermark { top: 70px; font-size: clamp(90px, 15vw, 220px); }
.about-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 14px; }
.about-hero p { max-width: 560px; margin-inline: auto; font-size: 17px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { color: var(--muted); margin-bottom: 14px; }
.story .section-title { font-size: clamp(33px, 4.4vw, 48px); line-height: 1.1; margin-bottom: 18px; }
.story-lead { font-size: 18px; color: var(--ink) !important; font-weight: 500; }
.story-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.story-media { position: relative; }
.story-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(2, 132, 199, .18);
}
.story-badge {
  position: absolute;
  left: -24px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 14px 34px rgba(2, 132, 199, .18);
  animation: float 5s ease-in-out infinite;
}
.story-badge > span {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sky-soft);
  font-size: 20px;
}
.story-badge strong { display: block; font-size: 15px; }
.story-badge small { color: var(--muted); font-size: 13px; }
@keyframes float { 50% { transform: translateY(-8px); } }

.values { background: var(--sky-softer); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 24px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(2, 132, 199, .15); border-color: var(--sky); }
.value-num {
  position: absolute;
  top: 14px; right: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: var(--sky-soft);
  transition: color .5s;
}
.value-card:hover .value-num { color: var(--sky); }
.value-card .feature-icon { margin-bottom: 18px; width: 54px; height: 54px; font-size: 24px; border-radius: 16px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.value-card:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }
.value-card h3 { margin-bottom: 8px; font-size: 20px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* How it works */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  counter-reset: step;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 17%; right: 17%;
  border-top: 2px dashed var(--sky);
  opacity: .5;
}
.step { text-align: center; position: relative; counter-increment: step; }
.step-icon {
  position: relative;
  width: 92px; height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(2, 132, 199, .14);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .5s;
}
.step-icon::after {
  content: counter(step);
  position: absolute;
  top: -2px; right: -2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
}
.step:hover .step-icon { transform: translateY(-6px) scale(1.05); border-color: var(--sky); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; max-width: 260px; margin-inline: auto; }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: var(--white);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}
.cta h2 { font-size: clamp(30px, 4.6vw, 42px); margin-bottom: 10px; }
.cta p { opacity: .9; margin-bottom: 26px; max-width: 560px; margin-inline: auto; }
.cta .btn { background: var(--white); color: var(--sky-dark); }
.cta .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.about-cta::before, .about-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  z-index: -1;
}
.about-cta::before { width: 280px; height: 280px; top: -120px; left: -80px; }
.about-cta::after { width: 200px; height: 200px; bottom: -90px; right: -40px; }

@media (max-width: 960px) {
  .story { gap: 40px; }
  .story-media { max-width: 460px; width: 100%; margin-inline: auto; }
  .story-badge { left: 12px; bottom: 16px; }
}
@media (max-width: 760px) {
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid::before { top: 46px; bottom: 46px; left: 50%; right: auto; border-top: 0; border-left: 2px dashed var(--sky); }
  .step-icon { z-index: 1; }
}
@media (max-width: 600px) {
  .story-media img { aspect-ratio: 1; }
  .story-lead { font-size: 16px; }
  .story-actions { flex-direction: column; }
  .story-actions .btn { justify-content: center; }
  .value-card { padding: 28px 22px; }
  .steps-grid::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .story-badge { animation: none; } }

/* Contact */
.contact-hero .hero-quick { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn-wa { background: #25d366; color: var(--white); box-shadow: 0 10px 26px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #1ebe5a; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-side .section-title { font-size: clamp(33px, 4vw, 46px); line-height: 1.1; margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .45s;
}
a.contact-card:hover { transform: translateX(6px); border-color: var(--sky); box-shadow: 0 16px 36px rgba(2, 132, 199, .14); }
.contact-card small { color: var(--muted); display: block; font-size: 13px; }
.contact-card strong { font-size: 16px; }
.contact-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--sky-softer), var(--sky-soft));
}
.icon-wa { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.contact-go {
  margin-left: auto;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sky-dark);
  background: var(--sky-softer);
  font-weight: 700;
  transition: background .3s, color .3s, transform .45s cubic-bezier(.2, .8, .2, 1);
}
a.contact-card:hover .contact-go { background: var(--sky); color: var(--white); transform: rotate(-45deg); }

/* Form */
.form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  gap: 18px;
  box-shadow: 0 30px 60px rgba(2, 132, 199, .12);
}
.form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--sky), var(--sky-dark));
}
.form-head h2 { font-size: 31px; }
.form-head p { color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--sky-softer);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--sky-soft);
}
.form input:user-invalid { border-color: #f87171; }
.form textarea { min-height: 120px; resize: vertical; }
.form-submit { justify-content: center; padding: 15px; font-size: 16px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Map with a floating info card */
.visit { padding-top: 0; }
.map-wrap { position: relative; }
.map {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card {
  position: absolute;
  bottom: 28px; left: 28px;
  width: 280px;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 20px 44px rgba(15, 23, 42, .15);
}
.map-pin { font-size: 28px; display: inline-block; animation: float 3s ease-in-out infinite; }
.map-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 27px; margin: 6px 0 4px; }
.map-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.map-card .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq { padding-top: 0; }
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: border-color .3s, box-shadow .3s;
}
.faq details[open] { border-color: var(--sky); box-shadow: 0 14px 30px rgba(2, 132, 199, .1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
/* Plus sign drawn with two lines (a "+" character never sits exactly in the middle of a circle);
   it turns 45 degrees into a cross when the answer is open */
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--sky-dark);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--sky-softer);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), background-color .3s, color .3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--white);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--sky);
}
.faq details p { padding: 0 24px 22px; color: var(--muted); animation: faq-open .4s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 960px) {
  .contact-grid { gap: 40px; }
  .map { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .map { aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; }
  .map-card { position: static; width: auto; border-radius: 0 0 22px 22px; border: 1px solid var(--line); border-top: 0; box-shadow: var(--shadow); }
}
@media (max-width: 600px) {
  .contact-hero .hero-quick { flex-direction: column; margin-top: 22px; }
  .contact-hero .hero-quick .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-head h2 { font-size: 27px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq details p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .map-pin { animation: none; } }

/* Footer */
.footer { background: var(--ink); color: #cbd5e1; padding: 60px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo { color: var(--white); margin-bottom: 12px; display: inline-block; }
.footer p { font-size: 14px; max-width: 320px; }
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 15px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.footer a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 13px;
  text-align: center;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  z-index: 60;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
/* Below laptop width the photo moves under the text so the shoes never cover it */
/* Below laptop width: photo on top (navbar floats over it), text underneath */
@media (max-width: 1180px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 0 0 56px; }
  .hero-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 62vh;
    object-position: 80% 45%;
  }
  .hero-content { padding-top: 32px; }
  .hero-text { max-width: 640px; }
}
@media (max-width: 600px) {
  .topbar { font-size: 12px; padding: 7px 12px; }
  .topbar-extra { display: none; }
  .hero { padding-bottom: 44px; }
  .hero-img { aspect-ratio: 5 / 4; object-position: 78% 50%; }
  .hero-content { padding-top: 24px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { margin-bottom: 14px; }
  .hero p { font-size: 15px; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1; justify-content: center; padding: 12px 16px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(2, 132, 199, .15);
  }
  .hero-stats strong { font-size: 20px; }
  .hero-stats small { font-size: 12px; line-height: 1.3; display: block; }

  /* Inner page headers */
  main .page-hero { padding: 110px 0 44px; }
  .page-hero h1 { font-size: 38px; line-height: 1.15; margin-bottom: 10px; }
  .page-hero p { font-size: 15px; }

  /* Shop filters: one swipeable row instead of three wrapped rows */
  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px 28px;
    padding: 2px 16px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; padding: 8px 18px; }

  /* Smaller WhatsApp button so it covers less text */
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; font-size: 24px; }
}

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 340px repeat(2, 200px); }
  .cat-feature { grid-row: span 1; }
}

@media (max-width: 600px) {
  .cat-grid { gap: 12px; grid-template-rows: 300px repeat(2, 190px); }
  .cat-card { padding: 16px; border-radius: 20px; }
  .cat-emoji { font-size: 56px; top: 18px; }
  .cat-card h3 { font-size: 21px; }
  .cat-card p { display: none; }
  .cat-arrow { width: 34px; height: 34px; right: 14px; bottom: 14px; font-size: 14px; }
  .cat-feature { padding: 22px; }
  .cat-feature h3 { font-size: 33px; }
  .cat-feature p { display: block; max-width: 75%; font-size: 13px; }
  .cat-feature .cat-arrow { right: 20px; bottom: 20px; width: 44px; height: 44px; }
  .values-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-call { display: none; }
  .header .nav { width: calc(100% - 24px); }
  .header.scrolled .nav { padding: 0 8px 0 20px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.15);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; border-radius: 12px; }
  .nav-links a.active { background: var(--sky-soft); }
  .nav-links a.active::after { display: none; }
  section { padding: 56px 0; }
  /* hero spacing is set in the 1180px and 600px blocks */
  .page-hero { padding: 120px 0 50px; }
  .form { padding: 24px; }
  .cta { padding: 40px 22px; }
}

@media (max-width: 480px) {
  .product-grid { gap: 12px; }
  .product-img { font-size: 64px; }
  .product-body { padding: 12px; }
  .product h3 { font-size: 14px; }
  .product .btn { font-size: 12px; padding: 9px 6px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Contact form dropdown with a custom arrow */
.form select, .form select:focus {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230284c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Shop page */
.shop-hero .watermark { font-size: clamp(70px, 13vw, 200px); }
.shop-search {
  position: relative;
  max-width: 520px;
  margin: 28px auto 0;
}
.shop-search span {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}
.shop-search input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 16px 22px 16px 50px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(2, 132, 199, .12);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.shop-search input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft), 0 14px 34px rgba(2, 132, 199, .12); }

.shop-section { padding-top: 48px; }
.shop-toolbar { display: grid; gap: 18px; margin-bottom: 32px; }
.shop-toolbar .filters { margin-bottom: 0; justify-content: flex-start; }
.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.shop-count { color: var(--muted); font-size: 14px; font-weight: 500; }
.shop-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.shop-sort select {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 40px 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230284c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}
.shop-sort select:focus { border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }

.shop-empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: 24px; background: var(--sky-softer); }
.shop-empty-icon { font-size: 48px; margin-bottom: 10px; }
.shop-empty h3 { font-family: "Playfair Display", Georgia, serif; font-size: 29px; margin-bottom: 6px; }
.shop-empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }

@media (max-width: 600px) {
  .shop-search { margin-top: 22px; }
  .shop-search input { padding: 14px 18px 14px 46px; }
  .shop-section { padding-top: 32px; }
  .shop-toolbar .filters { margin: 0 -16px; }
  .shop-sort select { padding: 8px 36px 8px 14px; font-size: 13px; }
  .shop-count { font-size: 13px; }
}
@media (max-width: 600px) {
  .cat-photo { height: 62%; top: 6%; }
}

/* Glass pill behind the category name on product cards */
.product-cat {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.2px;
  background: linear-gradient(135deg, rgba(186, 230, 253, .55), rgba(224, 242, 254, .35));
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(56, 189, 248, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 4px 12px rgba(2, 132, 199, .1);
}

/* Quick view popup */
.quick-view {
  margin: auto;
  border: 0;
  padding: 0;
  width: min(880px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(15, 23, 42, .3);
  overflow: auto;
}
.quick-view[open] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: qv-in .45s cubic-bezier(.2, .8, .2, 1);
}
.quick-view::backdrop {
  background: rgba(15, 23, 42, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes qv-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.qv-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-size: 16px;
  transition: background .2s, transform .3s;
}
.qv-close:hover { background: var(--sky-soft); transform: rotate(90deg); }
.qv-media {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky-softer), var(--sky-soft));
  font-size: 140px;
  isolation: isolate;
}
.qv-media::before {
  content: "";
  position: absolute;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
  z-index: -1;
}
.qv-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
}
.qv-media.is-baby .product-emoji { transform: scale(.7); }
.qv-body { padding: 40px 36px; display: flex; flex-direction: column; gap: 12px; }
.qv-body h2 { font-size: 34px; line-height: 1.15; }
.qv-price { font-size: 24px; }
.qv-label { font-size: 14px; font-weight: 700; margin-top: 6px; }
.qv-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.qv-size {
  width: 48px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
}
.qv-size:hover { border-color: var(--sky); color: var(--sky-dark); }
.qv-size.active { background: var(--sky); border-color: var(--sky); color: var(--white); }
.qv-note { font-size: 13px; color: var(--muted); }
.qv-order { justify-content: center; padding: 15px; font-size: 16px; margin-top: 6px; }
.qv-points { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 700px) {
  .quick-view[open] { grid-template-columns: 1fr; }
  .qv-media { min-height: 0; aspect-ratio: 4 / 3; font-size: 100px; }
  .qv-body { padding: 24px 22px 28px; }
  .qv-body h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { .quick-view[open] { animation: none; } }

/* Home CTA: small white shoes falling slowly behind the text */
.cta-rain > :not(.shoe-rain) { position: relative; z-index: 1; }
.shoe-rain { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shoe-rain span {
  position: absolute;
  top: -40px;
  left: var(--x);
  font-size: var(--s);
  line-height: 1;
  filter: grayscale(1) brightness(0) invert(1); /* turns the coloured emoji into a plain white shoe */
  opacity: 0;
  animation: shoe-fall var(--d) linear var(--delay) infinite;
}
@keyframes shoe-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: .35; }
  85% { opacity: .35; }
  100% { transform: translateY(420px) rotate(var(--r)); opacity: 0; }
}
@media (max-width: 600px) {
  .shoe-rain span { font-size: calc(var(--s) * .8); }
  .shoe-rain span:nth-child(even) { display: none; } /* fewer shoes on small screens */
}
@media (prefers-reduced-motion: reduce) {
  .shoe-rain span { animation: none; opacity: .2; top: calc(var(--x) * 2); }
}

/* Smooth custom dropdown (wraps a hidden native <select>) */
.dd { position: relative; display: inline-block; }
.form .dd { display: block; }
.dd select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dd-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.dd-toggle::after {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230284c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.dd-toggle:hover, .dd.open .dd-toggle { border-color: var(--sky); }
.dd-toggle:focus-visible, .dd.open .dd-toggle { outline: none; box-shadow: 0 0 0 4px var(--sky-soft); }
.dd.open .dd-toggle::after { transform: rotate(180deg); }

.dd-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  list-style: none;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(2, 132, 199, .18);
  max-height: 280px;
  overflow-y: auto;
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.96);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}
.dd.open .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.dd-menu li {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  outline: none;
  transition: background .2s, color .2s;
  /* options slide in one after another */
  opacity: 0;
  transform: translateY(-4px);
}
.dd.open .dd-menu li {
  opacity: 1;
  transform: none;
  transition: background .2s, color .2s, opacity .3s ease calc(var(--i) * 30ms), transform .3s ease calc(var(--i) * 30ms);
}
.dd-menu li:hover, .dd-menu li:focus { background: var(--sky-softer); color: var(--sky-dark); }
.dd-menu li[aria-selected="true"] { color: var(--sky-dark); font-weight: 600; }
.dd-menu li[aria-selected="true"]::after { content: "✓"; color: var(--sky); font-weight: 700; }

/* Sort dropdown on the shop page: pill, menu opens to the left edge of the screen side */
.shop-sort .dd-toggle { min-width: 190px; }
.shop-sort .dd-menu { left: auto; right: 0; min-width: 220px; }

/* Shoe size dropdown in the contact form: looks like the other form fields */
.form .dd-toggle {
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--sky-softer);
}
.form .dd.open .dd-toggle { background: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .dd-menu, .dd-menu li, .dd-toggle::after { transition: none !important; }
}

/* Shop landing: 4 equal category cards */
.shop-cat-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: none;
  grid-auto-rows: 380px;
}
.shop-cat-grid .cat-feature { grid-column: auto; grid-row: auto; padding: 24px; }
.shop-cat-grid .cat-feature h3 { font-size: 30px; }
.shop-cat-grid .cat-feature p { font-size: 14px; max-width: 85%; }
.shop-cat-grid .cat-feature .cat-arrow { right: 20px; bottom: 20px; width: 42px; height: 42px; }
.shop-cat-grid .cat-emoji { top: 60px; font-size: 100px; }
.shop-cat-grid .cat-photo { top: 12%; height: 50%; }

/* Category pages */
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a { color: var(--sky-dark); }
.crumbs a:hover { text-decoration: underline; }
a.filter-btn { display: inline-flex; align-items: center; }

@media (max-width: 960px) {
  .shop-cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }
  .shop-cat-grid .cat-feature { grid-column: auto; }
}
@media (max-width: 600px) {
  .shop-cat-grid { grid-template-rows: none; grid-auto-rows: 230px; }
  .shop-cat-grid .cat-feature { padding: 16px; }
  .shop-cat-grid .cat-feature h3 { font-size: 22px; }
  .shop-cat-grid .cat-feature p { display: none; }
  .shop-cat-grid .cat-feature .cat-arrow { right: 14px; bottom: 14px; width: 34px; height: 34px; }
  .shop-cat-grid .cat-emoji { top: 34px; font-size: 64px; }
}

/* Best sellers: a little road under the slider, the shoe walks along it while scrolling */
.bs-controls[hidden] { display: none; }
@media (min-width: 601px) { .bs-footer { align-items: flex-end; } }
.bs-road {
  position: relative;
  flex: 1;
  height: 14px;
  margin-top: 34px; /* room for the shoe standing on the road */
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 18px, transparent 18px 34px) center / 100% 2px no-repeat,
    linear-gradient(180deg, #475569, #334155);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25), 0 4px 10px rgba(15, 23, 42, .12);
  margin-bottom: 14px;
}
.bs-walker {
  position: absolute;
  left: 0;
  bottom: 9px;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 4px 3px rgba(15, 23, 42, .25));
  transition: left .25s ease-out;
  will-change: left;
}
.bs-road.walking .bs-walker { animation: step .32s ease-in-out infinite; }
@keyframes step {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-8deg); }
}
@media (max-width: 600px) {
  .bs-road { flex: none; width: 100%; margin-bottom: 0; }
  .bs-walker { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-road.walking .bs-walker { animation: none; }
  .bs-walker { transition: none; }
}

/* Shop pages: header fades softly into the page instead of ending in a hard line */
.shop-hero { background: linear-gradient(180deg, #eaf6fe 0%, #e0f2fe 55%, var(--white) 100%); }

/* Three big soft bubbles behind the shop header (moved by JS as you scroll) */
.bubbles {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  /* fade the bubbles out near the bottom so they never end in a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.bubbles span {
  position: absolute;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(56, 189, 248, .10) 0%, rgba(56, 189, 248, .16) 60%, rgba(56, 189, 248, .06) 100%);
  border: 1px solid rgba(56, 189, 248, .14);
  will-change: transform;
}
.bubbles span:nth-child(1) { width: min(1700px, 150vw); top: calc(400px - min(1700px, 150vw)); }
.bubbles span:nth-child(2) { width: min(1150px, 105vw); top: calc(310px - min(1150px, 105vw)); }
.bubbles span:nth-child(3) { width: min(680px, 70vw);  top: calc(220px - min(680px, 70vw)); }
.shop-hero .watermark, .shop-hero::before { z-index: 0; }
@media (max-width: 600px) {
  .bubbles span:nth-child(1) { width: 190vw; top: calc(290px - 190vw); }
  .bubbles span:nth-child(2) { width: 140vw; top: calc(225px - 140vw); }
  .bubbles span:nth-child(3) { width: 90vw;  top: calc(160px - 90vw); }
}

/* Shop headers: floating info chips and twinkling sparkles */
.hero-floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-item {
  position: absolute;
  translate: 0 0;
  transition: translate .6s cubic-bezier(.2, .8, .2, 1);
  opacity: 0;
  animation: pop-in .9s cubic-bezier(.2, 1.4, .4, 1) forwards, bob 6s ease-in-out infinite;
}
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-dark);
  white-space: nowrap;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 14px 30px rgba(2, 132, 199, .15);
}
.chip-left  { left: 4%;  top: 60%; animation-delay: .8s, -1s; animation-duration: .9s, 7s; }
.chip-right { right: 4%; top: 78%; animation-delay: .95s, -5s; animation-duration: .9s, 7s; }

.sparkle {
  position: absolute;
  font-style: normal;
  color: var(--sky);
  font-size: 18px;
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}
.s1 { left: 15%; top: 26%; animation-delay: 0s; }
.s2 { left: 25%; top: 52%; animation-delay: .8s; font-size: 12px; }
.s3 { left: 4%;  top: 50%; animation-delay: 1.6s; font-size: 14px; }
.s4 { right: 15%; top: 64%; animation-delay: .4s; }
.s5 { right: 25%; top: 40%; animation-delay: 1.2s; font-size: 12px; }
.s6 { right: 4%;  top: 30%; animation-delay: 2s; font-size: 14px; }

@keyframes pop-in {
  from { opacity: 0; transform: scale(.4) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -16px; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50% { opacity: .9; transform: scale(1) rotate(90deg); }
}

/* Not enough side space on smaller screens: only the sparkles stay */
@media (max-width: 1100px) {
  .hero-floats .chip, .s2, .s5 { display: none; } /* .hero-floats wins over the later ".chip { display: inline-flex }" */
}
@media (prefers-reduced-motion: reduce) {
  .float-item { animation: none; opacity: 1; }
  .sparkle { animation: none; opacity: .5; }
}

/* Shop headers: a dashed path with footprints walking across it, left to right */
.foot-trail {
  position: absolute;
  left: 3%; right: 3%;
  bottom: 26px;
  height: 40px;
  background: repeating-linear-gradient(90deg, rgba(2, 132, 199, .22) 0 10px, transparent 10px 20px) center / 100% 2px no-repeat;
}
.foot-trail span {
  position: absolute;
  left: calc(var(--i) * 7.1%);
  top: 0;
  width: 18px; height: 28px;
  /* single footprint (sole + toes), pointing right */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 44'%3E%3Cg fill='%230284c7'%3E%3Cellipse cx='14' cy='28' rx='9' ry='14'/%3E%3Ccircle cx='6' cy='8' r='3'/%3E%3Ccircle cx='11.5' cy='5' r='3.2'/%3E%3Ccircle cx='17.5' cy='5' r='3'/%3E%3Ccircle cx='22.5' cy='8.5' r='2.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  transform: rotate(90deg);
  opacity: 0;
  animation: footstep 7s ease-out infinite;
  animation-delay: calc(var(--i) * .35s);
}
/* left and right feet: alternate above and below the path */
.foot-trail span:nth-child(odd) { top: -10px; }
.foot-trail span:nth-child(even) { top: 22px; transform: rotate(90deg) scaleX(-1); }
@keyframes footstep {
  0% { opacity: 0; scale: .6; }
  4% { opacity: .7; scale: 1; }
  45% { opacity: .7; }
  70%, 100% { opacity: 0; }
}
@media (max-width: 600px) {
  .foot-trail { bottom: 10px; }
  main .shop-hero { padding-bottom: 72px; } /* room for the footprint path below the text */
  .foot-trail span { width: 10px; height: 16px; }
  .foot-trail span:nth-child(even) { top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .foot-trail span { animation: none; opacity: .35; }
}

/* Category pages: count on the left, Baby sizes switch + Sort on the right */
.shop-toolbar .shop-meta { border-top: 0; padding-top: 0; flex-wrap: wrap; }
.shop-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Baby sizes: a pill with a sliding switch inside */
.baby-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  border-style: solid; /* overrides the old dashed Baby button */
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s, box-shadow .3s;
}
.baby-toggle:hover { border-color: var(--sky); color: var(--sky-dark); }
.baby-toggle:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--sky-soft); }
.baby-switch {
  position: relative;
  width: 38px; height: 22px;
  border-radius: 999px;
  background: var(--line);
  transition: background .35s;
  flex-shrink: 0;
}
.baby-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(15, 23, 42, .25);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.baby-toggle.active {
  border-color: var(--sky);
  background: var(--sky-softer);
  color: var(--sky-dark);
  box-shadow: 0 8px 20px rgba(2, 132, 199, .15);
}
.baby-toggle.active .baby-switch { background: var(--sky); }
.baby-toggle.active .baby-switch::after { transform: translateX(16px); }

@media (max-width: 600px) {
  .shop-toolbar .shop-meta { gap: 12px; }
  .shop-count { width: 100%; }
  .shop-actions { width: 100%; justify-content: space-between; }
  .baby-toggle { font-size: 13px; padding: 6px 14px 6px 6px; }
  .shop-sort .dd-toggle { min-width: 150px; }
  .shop-actions { flex-wrap: nowrap; }
}

/* Contact form: the road replaces the thin blue stripe at the top of the form */
.form:has(.form-road)::before { display: none; }
.form-road { flex: none; width: 100%; margin: 10px 0 4px; }

/* SVG icons (from /assets/icons.svg) that replaced the emoji */
.icon {
  display: inline-block;
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.2em;
}
.footer ul a { display: inline-flex; align-items: center; gap: 8px; }
.footer ul a .icon { color: var(--sky); }
.wa-float .icon { width: 30px; height: 30px; }
.menu-btn { display: none; align-items: center; justify-content: center; }
.menu-btn .icon { width: 26px; height: 26px; }
@media (max-width: 760px) { .menu-btn { display: inline-flex; } }
.feature-icon .icon, .contact-icon .icon { width: 24px; height: 24px; color: var(--sky-dark); }
.contact-icon.icon-wa .icon { color: #16a34a; }
.step-icon .icon { width: 38px; height: 38px; color: var(--sky-dark); }
.map-pin .icon { width: 30px; height: 30px; color: var(--sky-dark); }
.story-badge > span .icon { width: 22px; height: 22px; color: var(--sky-dark); }
.shop-search .search-icon {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.shop-empty-icon .icon { width: 46px; height: 46px; color: var(--sky); }
.qv-close { display: grid; place-items: center; }
.qv-close .icon { width: 18px; height: 18px; }
.qv-points li { display: flex; align-items: center; gap: 8px; }
.qv-points .icon, .chip .icon, .form-note .icon { color: var(--sky-dark); }
.chip { display: inline-flex; align-items: center; gap: 8px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 600px) {
  .wa-float .icon { width: 26px; height: 26px; }
  .shop-search .search-icon { left: 18px; }
}

/* WhatsApp button (bottom right, every page): floats gently up and down */
.wa-float { animation: wa-float 3s ease-in-out infinite; }
.wa-float:hover { animation-play-state: paused; }
@keyframes wa-float {
  0%, 100% { translate: 0 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
  50% { translate: 0 -10px; box-shadow: 0 18px 30px rgba(0, 0, 0, .14); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* Real photos sit on plain white, without the blue background and glow */
.product-img.has-photo, .qv-media.has-photo { background: var(--white); }
.product-img.has-photo::before, .qv-media.has-photo::before { display: none; }

/* Home best sellers: only the View All button below the slider, centred */
.bestsellers .bs-footer { justify-content: center; }


/* Out of stock: label across the photo, photo faded, price muted */
.sold-out {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 3;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .85);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .25);
  pointer-events: none;
}
.is-sold-out .product-img > img, .is-sold-out .product-emoji { opacity: .35; filter: grayscale(1); }
.is-sold-out .price { color: var(--muted); }
.qv-soldout {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 600px) { .sold-out { font-size: 11px; padding: 6px 12px; } }

/* Popup: "Size chart" link next to "Choose your size" */
.qv-size-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.qv-size-head .qv-label { margin-top: 0; }
.qv-chart-link { font-size: 14px; font-weight: 600; color: var(--sky-dark); text-decoration: underline; text-underline-offset: 3px; }
.qv-chart-link:hover { color: var(--sky); }

/* Links inside FAQ answers */
.faq details p a { color: var(--sky-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Size chart page */
.measure-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.measure-step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s;
}
.measure-step:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(2, 132, 199, .14); border-color: var(--sky); }
.measure-num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  font-size-adjust: none;
}
.measure-step h3 { font-size: 20px; margin-bottom: 6px; }
.measure-step p { color: var(--muted); font-size: 15px; }

.size-table-wrap {
  max-width: 820px;
  margin: 0 auto 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.size-table { width: 100%; border-collapse: collapse; background: var(--white); }
.size-table caption {
  padding: 18px 20px;
  text-align: left;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  font-size-adjust: none;
  background: var(--sky-softer);
  border-bottom: 1px solid var(--line);
}
.size-table th, .size-table td { padding: 14px 20px; text-align: center; font-size: 16px; }
.size-table thead th {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky-dark);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.size-table tbody tr:nth-child(even) { background: var(--sky-softer); }
.size-table tbody tr { transition: background .2s; }
.size-table tbody tr:hover { background: var(--sky-soft); }
.size-table tbody th { font-weight: 700; color: var(--ink); }
.size-table tbody td:last-child { font-weight: 600; }

.size-tips { list-style: none; max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.size-tips li {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--sky-softer);
  color: var(--muted);
  font-size: 15px;
}
.size-tips strong { color: var(--ink); }

@media (max-width: 760px) {
  .measure-steps { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .size-table th, .size-table td { padding: 12px 8px; font-size: 14px; }
  .size-table thead th { font-size: 10px; letter-spacing: .5px; }
}

/* Arrow icons inside round buttons: fixed size, exactly centred */
.cat-arrow .icon, .contact-go .icon { width: 18px; height: 18px; vertical-align: 0; }
.cat-feature .cat-arrow .icon { width: 22px; height: 22px; }
.bs-arrow { display: grid; place-items: center; }
.bs-arrow .icon { width: 20px; height: 20px; vertical-align: 0; }
/* Number badges in round circles */
.step-icon::after, .measure-num { line-height: 1; font-size-adjust: none; }

/* Size chart: column lines like a printed chart */
.size-table th + th, .size-table td, .size-table tbody th { border-left: 1px solid var(--line); }
.size-table tbody th { border-left: 0; }
.size-table thead th small { font-size: 10px; letter-spacing: .5px; color: var(--muted); text-transform: none; font-weight: 500; }
.size-table tbody td:nth-child(2) { font-weight: 700; color: var(--sky-dark); }
.size-table tbody td:last-child { font-weight: 400; }
.size-table-note { padding: 12px 20px; font-size: 13px; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 760px) {
  .size-table th, .size-table td { padding: 11px 4px; font-size: 13px; white-space: nowrap; }
  .size-table thead th small { display: none; }
}

/* Size chart inside the "See More" popup (slides over the shoe details) */
.qv-chart-link {
  background: none; border: 0; padding: 0;
  font-family: inherit; cursor: pointer;
}
.qv-chart {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow-y: auto;
  padding: 24px 28px 28px;
  background: var(--white);
  animation: chart-in .4s cubic-bezier(.2, .8, .2, 1);
}
.qv-chart[hidden] { display: none; }
@keyframes chart-in { from { opacity: 0; transform: translateX(30px); } }
.qv-chart-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-right: 48px; }
.qv-chart-head h3 { font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-size-adjust: none; }
.qv-chart-back {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.qv-chart-back:hover { border-color: var(--sky); color: var(--sky-dark); }
.qv-chart-back .icon { width: 16px; height: 16px; vertical-align: 0; }
.qv-chart .size-table-wrap { margin: 0 0 14px; max-width: none; box-shadow: none; }
.qv-chart .size-table th, .qv-chart .size-table td { padding: 9px 10px; font-size: 14px; white-space: nowrap; }
.qv-chart-note { font-size: 13px; color: var(--muted); }
.qv-chart-note a { color: var(--sky-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.quick-view .qv-close { z-index: 6; }
@media (max-width: 700px) {
  .qv-chart { padding: 18px 14px 20px; }
  .qv-chart-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .qv-chart-head h3 { font-size: 20px; }
  .qv-chart .size-table th, .qv-chart .size-table td { padding: 8px 4px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .qv-chart { animation: none; } }

/* ===== "See More" popup: bigger, cleaner layout ===== */
.quick-view { width: min(1040px, calc(100% - 32px)); border-radius: 32px; }
.quick-view[open] { grid-template-columns: 1.05fr 1fr; }
.qv-media {
  min-height: 520px;
  font-size: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .9), transparent 40%),
    linear-gradient(160deg, var(--sky-softer) 0%, var(--sky-soft) 55%, #bae6fd 100%);
}
.qv-media::before { width: 85%; background: radial-gradient(circle, rgba(56, 189, 248, .4), transparent 68%); }
.qv-ring {
  position: absolute;
  width: 62%; aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(2, 132, 199, .18);
  z-index: -1;
  animation: qv-spin 50s linear infinite;
}
.qv-ring-2 { width: 88%; border: 1px solid rgba(255, 255, 255, .85); animation-direction: reverse; }
@keyframes qv-spin { to { transform: rotate(360deg); } }
.qv-media .product-emoji { position: relative; z-index: 1; animation: qv-float 4.5s ease-in-out infinite; }
.qv-media.is-baby .product-emoji { transform: none; font-size: 170px; }
@keyframes qv-float { 50% { transform: translateY(-14px) rotate(-6deg); } }
.qv-floor {
  position: absolute;
  left: 50%; top: 66%;
  width: 46%; height: 26px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 132, 199, .28), transparent);
  animation: qv-floor 4.5s ease-in-out infinite;
}
@keyframes qv-floor { 50% { transform: scale(.8); opacity: .6; } }
.qv-badges { position: absolute; top: 22px; left: 22px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.qv-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--sky-dark);
  font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(2, 132, 199, .15);
}
.qv-badge .icon { width: 14px; height: 14px; }
.qv-badge.sale { background: #f97316; color: var(--white); }
.qv-badge.out { background: #b91c1c; color: var(--white); }

.qv-body { padding: 44px 44px 34px; gap: 15px; justify-content: center; }
.qv-body h2 { font-size: 42px; line-height: 1.1; padding-right: 36px; }
.qv-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: -4px; }
.qv-price { font-size: 32px; }
.qv-price-row del { color: var(--muted); font-size: 17px; }
.qv-save { font-size: 13px; font-weight: 700; color: #c2410c; background: #fff7ed; padding: 4px 12px; border-radius: 999px; }
.qv-divider { border: 0; height: 1px; background: var(--line); margin: 2px 0; }
.qv-label { font-size: 15px; }
.qv-picked:not(:empty) { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--sky); color: var(--white); font-size: 13px; }
.qv-sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.qv-size { width: auto; height: 50px; border-radius: 14px; font-size: 16px; border-width: 1.5px; }
.qv-size.active { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(56, 189, 248, .4); }
.qv-note { font-size: 14px; }
.qv-info {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: var(--sky-softer);
  border: 1px solid var(--sky-soft);
}
.qv-info-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--sky-dark);
  box-shadow: 0 6px 14px rgba(2, 132, 199, .12);
}
.qv-info-icon .icon { width: 22px; height: 22px; }
.qv-info strong { display: block; font-size: 16px; margin-bottom: 4px; }
.qv-info p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.qv-soldout { font-size: 15px; padding: 16px 18px; border-radius: 18px; }
.qv-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 4px; }
.qv-order { margin-top: 0; padding: 17px 20px; font-size: 17px; }
.qv-order .icon { width: 20px; height: 20px; }
.qv-call {
  justify-content: center;
  padding: 0 24px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.qv-call:hover { border-color: var(--sky); color: var(--sky-dark); }
.qv-call .icon { width: 18px; height: 18px; color: var(--sky-dark); }
.qv-points { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 4px; border-top: 0; }
.qv-points li {
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 16px;
  background: var(--sky-softer);
  color: var(--ink);
  font-size: 12.5px; font-weight: 500; line-height: 1.35;
  text-align: center;
}
.qv-points li span {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(2, 132, 199, .12);
}
.qv-points .icon { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .qv-body { padding: 40px 30px 32px; }
  .qv-body h2 { font-size: 34px; }
  .qv-sizes { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .quick-view[open] { grid-template-columns: 1fr; }
  .qv-media { min-height: 0; aspect-ratio: 5 / 4; font-size: 115px; }
  .qv-media.is-baby .product-emoji { font-size: 95px; }
  .qv-order { white-space: nowrap; font-size: 16px; padding: 15px 14px; }
  /* Order buttons stay pinned to the bottom of the phone screen while scrolling */
  .qv-actions {
    position: sticky; bottom: 0; z-index: 4; order: 1;
    margin: 0 -20px -26px;
    padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, .06);
  }
  .qv-badges { top: 16px; left: 16px; }
  .qv-body { padding: 24px 20px 26px; gap: 16px; }
  .qv-body h2 { font-size: 28px; padding-right: 0; }
  .qv-price { font-size: 26px; }
  .qv-sizes { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .qv-size { height: 46px; font-size: 15px; }
  .qv-call span { display: none; }
  .qv-call { padding: 0 18px; }
  .qv-points li { font-size: 11.5px; padding: 12px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .qv-ring, .qv-media .product-emoji, .qv-floor { animation: none; }
}

/* ===== Product cards (shop pages + best sellers): softer, richer look ===== */
.product {
  border-radius: 24px;
  border: 1px solid rgba(186, 230, 253, .8);
  box-shadow: 0 2px 8px rgba(2, 132, 199, .05);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.product:hover { transform: translateY(-8px); border-color: var(--sky); box-shadow: 0 26px 50px rgba(2, 132, 199, .18); }
.product-img {
  margin: 10px 10px 0;
  border-radius: 18px;
  font-size: 104px;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .9), transparent 40%),
    linear-gradient(160deg, var(--sky-softer) 0%, var(--sky-soft) 60%, #bae6fd 100%);
}
.product-img.has-photo { background: var(--white); }
.p-ring {
  position: absolute;
  width: 66%; aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(2, 132, 199, .16);
  z-index: -1;
  animation: qv-spin 40s linear infinite paused;
}
.product:hover .p-ring { animation-play-state: running; }
.has-photo .p-ring { display: none; }
.product .product-emoji { position: relative; z-index: 1; }
.p-floor {
  position: absolute;
  left: 50%; top: 68%;
  width: 46%; height: 18px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 132, 199, .28), transparent);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s;
}
.product:hover .p-floor { transform: scale(.75); opacity: .6; }
.p-badges { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.p-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--sky-dark);
  font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(2, 132, 199, .14);
}
.p-badge .icon { width: 12px; height: 12px; }
.product-img:has(.rank) .p-badges { right: 56px; } /* leave room for the #1 number on best sellers */
.p-badge.sale { background: #f97316; color: var(--white); }
.product-body { padding: 16px 18px 18px; gap: 8px; }
.product h3 { font-family: "Playfair Display", Georgia, serif; font-size: 19px; line-height: 1.25; font-size-adjust: none; }
.p-sizes { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.p-sizes::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex: none; }
.product .price { font-size: 20px; margin-bottom: 4px; }
.product .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.product .price del { font-size: 14px; margin-left: 0; white-space: nowrap; }
.product .see-more {
  padding: 12px 16px;
  font-size: 14.5px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  box-shadow: 0 10px 22px rgba(2, 132, 199, .25);
}
.product .see-more .icon { width: 16px; height: 16px; transition: transform .3s; }
.product:hover .see-more .icon { transform: translateX(4px); }
.is-sold-out .p-floor { opacity: .3; }

@media (max-width: 480px) {
  .product { border-radius: 18px; }
  .product-img { margin: 6px 6px 0; border-radius: 14px; font-size: 70px; }
  .p-badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
  .p-badge { font-size: 9px; padding: 4px 7px; }
  .p-badge .icon { display: none; }
  .product-body { padding: 12px 12px 14px; gap: 6px; }
  .product h3 { font-size: 15px; }
  .p-sizes { font-size: 11px; }
  .product .price { font-size: 16px; }
  .product .price del { font-size: 12px; }
  .product .see-more { font-size: 13px; padding: 10px 8px; }
}

/* Shown only if the shoes could not be loaded at all */
.load-error { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: var(--muted); }
.load-error a { color: var(--sky-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* The whole shoe card opens the popup when tapped */
.product { cursor: pointer; }

/* Phones: the big faint word behind page headers fits the screen and sits behind the heading, below the menu bar */
@media (max-width: 600px) {
  main .page-hero .watermark { font-size: 11.5vw; top: 150px; }
}

/* Logo: crown + RR mark next to the shop name in the top bar */
.logo:has(.logo-mark) { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { height: 44px; width: auto; flex-shrink: 0; }
@media (max-width: 600px) {
  .logo:has(.logo-mark) { gap: 8px; }
  .logo-mark { height: 36px; }
}
