:root {
  --navy: #032d5d;
  --navy-btn: #09468f;
  --teal: #00b4c2;
  --teal-deep: #087f8a;
  --dot: #ef4b5a;
  --ink: #1a1a1a;
  --muted: #5c6b7a;
  --line: #e4e8ef;
  --chip: #f3f2f6;
  --tint: #e7f8fa;
  --soft: #f6f8fb;
  --white: #fff;
  --shadow: 0 16px 40px rgba(3, 45, 93, 0.08);
  --radius: 22px;
  --wrap: 1120px;
  --font: "Montserrat", system-ui, sans-serif;
  --display: "Fredoka", "Montserrat", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}

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

a { color: var(--navy-btn); }

a:hover { color: var(--teal-deep); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.15rem); letter-spacing: -0.03em; }

h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.03em; }

h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }

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

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

.skip:focus { top: 0.7rem; color: var(--white); }

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

.dot { color: var(--dot); }

.accent { color: var(--teal); }

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede { font-size: 1.05rem; color: #314255; max-width: 38rem; }

.topbar {
  background: var(--soft);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.topbar-inner,
.footer-grid,
.about-grid,
.size-grid,
.contact-grid,
.depot-inner {
  display: grid;
  gap: 1rem;
}

[hidden] { display: none !important; }

section, .hero { scroll-margin-top: 130px; }

.topbar-inner {
  min-height: 42px;
  align-items: center;
  grid-template-columns: 1fr;
  padding-block: 0.45rem;
}

.topbar a { color: var(--navy); text-decoration: none; font-weight: 700; }

.topbar p { margin: 0; }

.topbar-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }

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

.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(3, 45, 93, 0.05); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 118px;
}

.brand { display: flex; align-items: center; }

.brand img { height: 102px; width: auto; }

.nav {
  display: none;
  gap: 0.2rem 1.15rem;
  align-items: center;
  justify-content: flex-end;
}

.menu-toggle { margin-left: auto; }

.nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem 1rem;
  box-shadow: var(--shadow);
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0;
}

.nav a[aria-current="true"] { color: var(--teal-deep); }

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only),
.menu-toggle > span:not(.sr-only)::before,
.menu-toggle > span:not(.sr-only)::after { display: block; }

.menu-toggle > span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.menu-toggle > span:not(.sr-only)::before,
.menu-toggle > span:not(.sr-only)::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
}

.menu-toggle > span:not(.sr-only)::before { top: -6px; }
.menu-toggle > span:not(.sr-only)::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 0.95rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
}

.btn-navy { background: var(--navy-btn); color: var(--white); }
.btn-navy:hover { background: var(--navy); color: var(--white); }
.btn-line { background: var(--white); color: var(--navy-btn); border-color: #d5deea; }
.btn-line:hover { border-color: var(--navy-btn); color: var(--navy); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); color: var(--white); }
.btn-sm { min-height: 42px; padding-inline: 1rem; }
.shop-long { display: none; }

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f3f7fb;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 34%, rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0) 74%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem 7rem;
}

.hero-copy .lede { max-width: 36rem; }

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.trust {
  position: relative;
  z-index: 2;
  margin-top: -3.2rem;
}

.trust-grid, .pillars, .tips, .supply-grid, .product-grid {
  display: grid;
  gap: 0.9rem;
}

.trust-grid {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
}

.trust-grid p, .pillar, .tip, .supply-card, .faq-item, .product, .finder, .panel {
  margin: 0;
  background: var(--white);
}

.trust-grid p {
  padding: 1rem 1.1rem;
  border-radius: 22px;
}

.trust-grid strong, .contact-list span {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.trust-grid span, .fine, .product p, .tip p, .supply-card p, .faq-item p, .about-grid p { color: var(--muted); }

section { padding: 4.4rem 0; }

.about { padding-top: 3.2rem; }

.about-grid { align-items: center; }

.motto {
  margin: 1.2rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--tint);
  border-radius: 18px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.35rem;
}

.pillars { margin-top: 1.4rem; }

.pillar, .tip, .supply-card, .faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.section-head { max-width: 40rem; margin-bottom: 1.4rem; }

.filters, .seg, .size-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filters { margin-bottom: 1.1rem; }

.chip, .seg button, .size-picks button, .product-sizes button {
  border: 0;
  background: var(--chip);
  color: var(--teal-deep);
  font: 600 0.92rem/1 var(--font);
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.chip[aria-pressed="true"],
.seg button[aria-pressed="true"],
.size-picks button[aria-pressed="true"],
.product-sizes button[aria-pressed="true"] {
  background: var(--navy-btn);
  color: var(--white);
}

.product-grid { grid-template-columns: 1fr; }

.cat-row {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 1.3rem 1.15rem;
  border: 1px solid #d5ebee;
  border-radius: 28px;
  background: linear-gradient(180deg, #f3fbfb 0%, #fff 80%);
}

.cat-feature {
  margin-top: 0.2rem;
}

.cat-copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.45rem; }

.cat-feature h3 { font-size: clamp(2.1rem, 4vw, 3rem); }

.cat-copy p { color: #314255; max-width: 38rem; }

.cat-copy .btn { margin-top: 0.4rem; }

.cat-count {
  margin: 0 0 0.35rem;
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cat-photo {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.cat-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: linear-gradient(180deg, #f8fbfd, #fff);
  padding: 0.8rem;
}

.cat-photo figcaption {
  margin: 0;
  padding: 0.15rem 1rem 0.95rem;
  color: var(--navy);
  font-weight: 700;
}

.product {
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(3, 45, 93, 0.04);
}

.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: linear-gradient(180deg, #f8fbfd, #fff);
  padding: 0.8rem;
}

.product-body { padding: 0.2rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }

.product h3 { font-size: 1.2rem; }

.meta { margin: 0; color: var(--navy); font-weight: 700; font-size: 0.92rem; }

.product-sizes { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.product .btn { margin-top: auto; align-self: flex-start; }

.product.is-fit { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 180, 194, 0.18); }

.product.is-out { opacity: 0.48; }

.fit-flag {
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.product.is-out .fit-flag { color: var(--muted); }

.sizes { background: linear-gradient(180deg, #f3fbfb 0%, #fff 28%); }

.size-grid { align-items: center; }

.measure-card img {
  width: 100%;
  border-radius: 24px;
  background: #eaf6fb;
}

.steps { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }

.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; color: #314255; }

.steps b {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
}

.finder {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.finder label { font-weight: 700; color: var(--navy); display: block; margin: 0.9rem 0 0.4rem; }

.measure-row { display: flex; align-items: center; gap: 0.6rem; }

.measure-row input {
  flex: 1;
  min-width: 0;
  font: 600 1.6rem/1 var(--display);
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  background: var(--soft);
}

#unit { font-family: var(--display); font-size: 1.3rem; color: var(--teal-deep); }

.result {
  margin-top: 1rem;
  background: var(--tint);
  border-radius: 20px;
  padding: 1rem 1.05rem 1.1rem;
}

.result .eyebrow { margin-bottom: 0.2rem; }

#size-name { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--teal-deep); margin: 0 0 0.35rem; }

#size-detail { margin: 0 0 0.8rem; color: #245055; }

.table-wrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid #d7e7ea; border-radius: 22px; }

table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }

caption { text-align: left; }

th, td { text-align: left; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }

th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody th { color: var(--navy); font-size: 1rem; text-transform: none; letter-spacing: 0; }

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2rem;
  margin-right: 0.45rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--teal-deep);
  font-weight: 800;
}

tr.is-rec { background: #f3fbfb; }
tr.is-rec th, tr.is-near th { color: var(--navy-btn); }
tr.is-near { background: #f7fcfd; }

.tips { margin-top: 1rem; }

.depot { padding-top: 0.4rem; }

.depot-inner {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: 1.6rem 1.3rem;
}

.depot h2, .depot p { color: var(--white); }

.depot p { max-width: 40rem; }

.supply-card a, .faq-item a { font-weight: 700; }

.faq-list { display: grid; gap: 0.8rem; }

.faq-item h3 { font-family: var(--font); font-size: 1.05rem; }

.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.85rem; }

.contact-list a { font-weight: 700; text-decoration: none; }

address { font-style: normal; }

.enquiry {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.enquiry label { display: grid; gap: 0.35rem; font-weight: 700; color: var(--navy); font-size: 0.92rem; }

.enquiry input, .enquiry textarea {
  font: 500 1rem/1.4 var(--font);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  color: var(--ink);
  background: var(--soft);
}

.form-note { min-height: 1.2rem; margin: 0; color: var(--teal-deep); font-weight: 600; }

.map-wrap { margin-top: 1.4rem; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }

.map-label { margin: 0; padding: 0.8rem 1rem; background: var(--soft); color: var(--navy); font-weight: 700; }

.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

.site-footer { background: var(--soft); padding: 2rem 0 5rem; color: var(--muted); }

.footer-brand { height: 95px; width: auto; }

.site-footer a { font-weight: 700; }

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 12;
  background: #1ea85a;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  box-shadow: 0 10px 24px rgba(16, 90, 48, 0.28);
}

.wa-float:hover { color: var(--white); background: #17864a; }

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

@media (min-width: 720px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .trust-grid, .pillars, .tips { grid-template-columns: 1fr 1fr; }
  .product-grid, .supply-grid { grid-template-columns: 1fr 1fr; }
  .shop-long { display: inline; }
  .shop-short { display: none; }
}

@media (max-width: 719px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0.28) 100%);
  }
  .hero { min-height: 620px; }
  .hero-photo { object-position: 78% 42%; }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; background: transparent; border: 0; box-shadow: none; padding: 0; margin-left: auto; }
  .hero { min-height: 620px; }
  .about-grid, .size-grid, .contact-grid, .depot-inner, .footer-grid, .cat-row { grid-template-columns: 1.15fr 0.85fr; }
  .cat-feature { grid-template-columns: 1.2fr 0.8fr; padding: 1.6rem 1.4rem; }
  .cat-flip { grid-template-columns: 0.85fr 1.15fr; }
  .cat-flip .cat-photo { order: -1; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .tips, .supply-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { align-items: center; }
}

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