/* wetsuits.neoprenecustom.com — navy + orange, mobile-first.
   Design system (2026-11-27 redesign): one section rhythm, one type scale,
   one card system, shared .section / .section-head / .section-alt classes
   on every template — no one-off spacing. */
:root {
  --navy: #0f2a4a; --navy-2: #16365e; --orange: #f26a1b; --orange-d: #d9550f;
  --ink: #1c2733; --muted: #5a6b7c; --line: #e3e8ee; --bg: #ffffff; --soft: #f4f7fa;
  --radius: 14px; --shadow: 0 6px 24px rgba(15, 42, 74, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); font-size: 1rem; line-height: 1.65; background: var(--bg); overflow-x: clip; /* page-level sideways scroll is never acceptable — wide tables scroll inside their own wrap */ }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--orange-d); }
h1, h2, h3 { font-weight: 800; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: 2rem; margin: .4em 0 .5em; }
h2 { font-size: 1.6rem; margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .35em; }
p { margin: .5em 0 .9em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.lede { font-size: 1.08rem; color: #33465a; }
.fine { font-size: .85rem; color: var(--muted); }

/* ---- Section rhythm: alternate white / soft, one padding, one header ---- */
.section { padding: 40px 16px; }
.section-alt { background: var(--soft); }
.section-head { margin-bottom: 24px; max-width: 760px; }
.section-head h2 { margin: 0 0 8px; }
.section-head .lede, .section-lede { margin: 0; color: var(--muted); }
.eyebrow { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-d); }
.subhead { margin: 32px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.subhead:first-of-type { margin-top: 8px; padding-top: 0; border-top: none; }

/* Header — sticky on all widths, brand mark + hierarchical nav */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,.2); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; white-space: nowrap; flex: none; }
.brand-mark { font-weight: 900; font-size: 1.12rem; letter-spacing: .09em; color: #fff; border-left: 4px solid var(--orange); padding-left: 9px; line-height: 1.1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: #fff; }
.brand-co { font-size: .68rem; font-weight: 400; color: #a9bdd2; letter-spacing: .02em; }
.main-nav { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.nav-list { display: flex; gap: 2px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link { display: inline-block; color: #dbe6f2; text-decoration: none; padding: 9px 11px; border-radius: 8px; font-size: .95rem; font-weight: 600; white-space: nowrap; background: none; border: none; cursor: pointer; font-family: inherit; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.14); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }
.nav-drop-btn .caret { font-size: .7em; margin-left: 2px; }
.nav-quote { flex: none; margin-left: 6px; }
/* Dropdowns: hover/focus on desktop, tap (.open) on touch + mobile */
.nav-drop { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(15,42,74,.22); padding: 14px 16px; z-index: 60; }
.nav-drop-wide { min-width: 620px; display: none; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; }
.nav-drop-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.nav-drop-foot a { font-weight: 700; color: var(--orange-d); }
.nav-group h4 { margin: 10px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.nav-group h4:first-child { margin-top: 0; }
.nav-group h4 a { color: var(--muted); text-decoration: none; padding: 0; }
.nav-group h4 a:hover { color: var(--orange-d); }
.nav-group > a { display: block; color: var(--navy-2); text-decoration: none; padding: 5px 6px; border-radius: 6px; font-size: .95rem; font-weight: 600; }
.nav-group > a:hover { color: var(--orange-d); background: var(--soft); }
@media (min-width: 901px) {
  .has-drop:hover .nav-drop, .has-drop:focus-within .nav-drop { display: block; }
  .has-drop:hover .nav-drop-wide, .has-drop:focus-within .nav-drop-wide { display: grid; }
}
.has-drop.open .nav-drop { display: block; }
.has-drop.open .nav-drop-wide { display: grid; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 1.1rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--orange-d); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-light:hover { color: #fff; border-color: var(--orange); }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-danger { background: #b3261e; }

/* Hero copy — the headline and CTAs live inside the carousel slides
   (carousel-copy); the proof facts live in slide 4. */
/* Intro band — 3-step start + trust line as ONE band below the carousel
   (2026-11-28 fix: the loose steps and plain proof line read as disconnected
   text). One shared container, one background, one type scale; the steps are
   a connected process row (hairline behind the numbers), the trust facts
   evenly spaced items with dividers. */
.hero-steps { list-style: none; margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.hero-steps li { display: flex; flex-direction: column; gap: 2px; }
.hero-steps .step-num { font-size: 1.5rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero-steps li strong { display: block; color: var(--navy); font-size: 1.05rem; }
.hero-steps li span { color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) {
  .hero-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; position: relative; }
  .hero-steps::before { content: ""; position: absolute; left: 16.666%; right: 16.666%; top: .75rem; height: 1px; background: var(--line); }
  .hero-steps li { align-items: center; }
  .hero-steps .step-num { background: var(--soft); padding: 0 12px; position: relative; z-index: 1; }
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0; }

/* Hero carousel — full-bleed photo slides, matching neoprenecustom.com
   (see carousel-study.md): the photo IS the slide — no panel, card,
   shadow or container; minimal white text over a left-side dark scrim;
   14 px white-bordered dots overlaid on the photo at bottom 4%; small
   quiet arrows overlaid at left/right 10 px; horizontal translateX slide,
   500 ms ease, auto-rotate ~5 s, pause on hover/focus, keyboard
   accessible; prefers-reduced-motion disables auto-rotate + transition
   (see the inline script in home.ejs). Inactive slides are
   visibility:hidden so their links leave the tab order. */
.hero-carousel { position: relative; overflow: hidden; background: var(--navy); }
.carousel-track { display: flex; transition: transform .5s ease; will-change: transform; }
.carousel-slide { position: relative; flex: 0 0 100%; height: 560px; overflow: hidden; visibility: hidden; transition: visibility 0s linear .5s; }
.carousel-slide.is-active { visibility: visible; transition: visibility 0s; }
.carousel-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-slide--product .carousel-photo { object-position: center 22%; } /* flat product shot: keep the chest zip and torso in frame */
.carousel-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,32,.74) 0%, rgba(4,18,32,.48) 46%, rgba(4,18,32,.08) 78%, rgba(4,18,32,0) 100%); }
.carousel-copy { position: absolute; inset: 0; display: flex; align-items: center; }
.carousel-copy-in { width: 100%; color: #fff; }
.carousel-copy-in h1, .carousel-copy-in h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.75rem, 4vw, 2.7rem); }
.carousel-copy .eyebrow { color: #ffd9bd; }
.carousel-line { color: #e8eff6; font-size: 1.05rem; max-width: 560px; margin: 0 0 16px; }
.carousel-copy .hero-cta { margin: 0; }
.carousel-dots { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: #fff; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 32px; height: 32px; padding: 0; border: none; background: transparent; color: #fff; opacity: .65; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-arrow:focus-visible, .carousel-dot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 639px) {
  .carousel-slide { height: 420px; }
  .carousel-slide:first-child .carousel-photo { object-position: 68% 50%; } /* mobile hero: keep the surfer in frame (2026-11-28 visual review) */
  .carousel-scrim { background: linear-gradient(90deg, rgba(4,18,32,.78) 0%, rgba(4,18,32,.6) 55%, rgba(4,18,32,.35) 85%, rgba(4,18,32,.18) 100%); } /* mobile: keep the scrim dark further right so line-ends stay readable over bright spray */
  .carousel-copy { padding-bottom: 48px; } /* lifts the CTAs clear of the floating contact cluster */
  .carousel-next { right: 74px; } /* clears the 3-button floating contact cluster so the next-slide arrow stays tappable */
  .carousel-copy-in h1, .carousel-copy-in h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .carousel-line { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .carousel-slide { transition: none; }
}

/* Trust bar — 5-column grid with dividers */
.trust-bar { display: grid; grid-template-columns: 1fr; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-bar div { display: flex; flex-direction: column; }
.trust-bar div + div { border-top: 1px solid var(--line); padding-top: 16px; }
.trust-bar strong { font-size: 1.05rem; }
.trust-bar span { font-size: .9rem; color: #55606e; }
@media (min-width: 640px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar div + div { border-top: none; padding-top: 0; }
}
@media (min-width: 900px) {
  .trust-bar { grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
  .trust-bar div + div { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* Services strip — compact 4-item list folded into the product showcase. */
.services-strip { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.services-strip li { font-size: .95rem; color: var(--muted); }
.services-strip strong { color: var(--navy); }
@media (min-width: 900px) {
  .services-strip { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
  .services-strip li + li { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* Cards — 3-col desktop / 2-col tablet / 1-col mobile, fixed 4/3 image,
   uniform card body, fixed spec rows in the same order every time. */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 12px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; flex: none; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); }
.card:hover h3 { color: var(--orange-d); }
.kind-tag { display: inline-block; align-self: flex-start; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-d); border: 1px solid var(--orange); border-radius: 999px; }
.spec-rows { margin: 4px 0 0; }
.spec-rows div { display: flex; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.spec-rows div:first-child { border-top: none; }
.spec-rows dt { flex: none; width: 88px; font-weight: 700; color: var(--navy); }
.spec-rows dd { margin: 0; color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy); }
.card-img-link { display: block; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body h3 a:hover { color: var(--orange-d); }
.card-actions { margin: 10px 0 0; }
.card-actions .btn { display: block; text-align: center; }
.no-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: var(--soft); color: var(--muted); padding: 16px; text-align: center; font-size: .95rem; flex: none; }
.no-photo.big { min-height: 320px; }

/* Finder — light card (2026-11-28 visual review: the dark navy panel stacked
   a second dark block under the dark hero, and the form hugged the left with
   ~60% empty dark space on the right). White card, navy text, two-column
   form on desktop so the selects fill the width. */
.finder-panel { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.finder-panel h2 { color: var(--navy); }
.finder-panel .eyebrow { color: var(--orange-d); }
.finder-panel .section-lede { color: var(--muted); }
.finder-panel a { color: var(--navy-2); }
.finder-form { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 16px 0; }
@media (max-width: 639px) { .finder-form { margin-right: 34px; } /* keeps the selects clear of the floating contact cluster at the viewport bottom */ }
@media (min-width: 640px) { .finder-form { grid-template-columns: 1fr 1fr; } }
.finder-form label { font-weight: 700; color: var(--navy); }
.finder-form select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; border: 1px solid #c6d0db; border-radius: 10px; background: #fff; color: var(--ink); }
.finder-result { border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 12px 16px; margin: 12px 0; background: var(--soft); }
.finder-result p { margin: 6px 0; color: var(--ink); }
.finder-note { color: var(--muted); font-size: .95rem; }

/* Category browser — one uniform tile grid, same tile size, same label style */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.tile { display: flex; align-items: center; min-height: 64px; padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--navy-2); font-size: 1rem; }
.tile:hover { color: var(--orange-d); border-color: var(--orange); background: #fff; }
.tile-group-label { margin: 20px 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }

/* Tables — no sideways scroll on desktop; full width, wrapping cells.
   On phones a table that still needs to scroll does so inside its own
   wrap only (never the page): the edge shadow is the visible cue that
   more columns lie that way — it appears only on the side(s) with more
   to scroll to, and the body overflow-x guard is the backstop. */
.table-wrap { margin: 12px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto;
  background-image: linear-gradient(to right, #fff, #fff), linear-gradient(to right, #fff, #fff), linear-gradient(to right, rgba(15,42,74,.20), rgba(15,42,74,0)), linear-gradient(to left, rgba(15,42,74,.20), rgba(15,42,74,0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 32px 100%, 32px 100%, 18px 100%, 18px 100%;
  background-attachment: local, local, scroll, scroll; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; }
tbody th { background: var(--soft); color: var(--navy); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
@media (min-width: 900px) { .table-wrap { overflow-x: visible; } }
/* Thickness ↔ temperature and seam tables: clean tables on desktop,
   stacked lists on mobile (Xcel-style) — no horizontal scroll on phones. */
.temp-list, .seam-list { display: none; list-style: none; margin: 12px 0 0; padding: 0; }
.temp-list li, .seam-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.temp-list li:first-child, .seam-list li:first-child { border-top: none; }
.temp-list strong, .seam-list strong { color: var(--navy); }
.temp-list span, .seam-list span { display: block; color: var(--muted); font-size: .95rem; }
@media (max-width: 639px) {
  .temp-table, .seam-table { display: none; }
  .temp-list, .seam-list { display: block; }
  table { font-size: .88rem; }
  th, td { padding: 8px 10px; }
}

/* Certifications — definition-style grid with short badges */
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 16px 0 0; }
.cert-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cert-badge { display: inline-block; margin: 0 0 8px; padding: 3px 10px; font-size: .85rem; font-weight: 800; color: var(--orange-d); border: 1.5px solid var(--orange); border-radius: 999px; }
.cert-grid dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }

/* Definition grid — key attributes / factory spec, no table needed */
.def-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 12px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.def-grid div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; }
.def-grid div:first-child { border-top: none; }
.def-grid dt { font-weight: 700; color: var(--navy); }
.def-grid dd { margin: 0; }
@media (min-width: 900px) { .def-grid { grid-template-columns: 1fr 1fr; } .def-grid div:nth-child(2) { border-top: none; } }

/* Video / factory */
.video-block video { width: 100%; border-radius: var(--radius); background: #000; }
.factory-photos { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.factory-photos figure { margin: 0; }
.factory-photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.factory-photos figcaption { font-size: .9rem; color: var(--muted); padding-top: 6px; }
.colour-teaser { border-radius: var(--radius); }
.swatch { display: inline-block; width: 44px; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.2); }

/* Factory process flowchart — numbered steps on a vertical rail.
   Used by partials/factory-process.ejs on the how-to-order page. One line
   per step + what is checked. The homepage factory band shows the compact
   .process-strip below instead (8 step names, full flowchart linked). */
.process-flow { list-style: none; margin: 20px 0 0; padding: 0; }
.process-flow li { position: relative; padding: 0 0 22px 60px; }
.process-flow li::before { content: ""; position: absolute; left: 20px; top: 46px; bottom: 2px; width: 2px; background: var(--line); }
.process-flow li:last-child { padding-bottom: 0; }
.process-flow li:last-child::before { display: none; }
.process-num { position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; }
.process-flow strong { color: var(--navy); font-size: 1.08rem; }
.process-flow p { margin: .3em 0 0; }
.process-check { font-size: .92rem; color: var(--muted); }
.process-check strong { color: var(--orange-d); font-size: .92rem; }

/* Factory proof band — the 8 steps as a connected horizontal flow
   (2026-11-28 visual review: the pills wrapped as a tag cloud, step 8
   orphaned alone on row 2). Numbered cards in a 4-column grid on desktop
   (2 on phones), with an orange arrow between steps in the same row. The
   full flowchart with per-step checks stays on /how-to-order/. */
.process-strip { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 12px 0 0; padding: 0; counter-reset: pstep; }
.process-strip li { counter-increment: pstep; position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.process-strip li::before { content: counter(pstep); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 800; flex: none; }
.process-strip li:not(:nth-child(2n)):not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--orange); font-weight: 800; }
@media (min-width: 900px) {
  .process-strip { grid-template-columns: repeat(4, 1fr); }
  .process-strip li:not(:nth-child(2n)):not(:last-child)::after { content: none; }
  .process-strip li:not(:nth-child(4n)):not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--orange); font-weight: 800; }
}

/* Factory proof band — compact cert list (names + short detail). */
.cert-strip { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.cert-strip li { font-size: .95rem; }
.cert-strip strong { color: var(--navy); }
@media (min-width: 900px) {
  .cert-strip { grid-template-columns: 1fr 1fr; }
}

/* Steps / FAQ */
.steps { padding-left: 20px; }
.steps li { margin-bottom: 10px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
details summary { font-weight: 700; color: var(--navy); cursor: pointer; }
details p { margin: .6em 0 0; }

/* Product page */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.product-img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.key-facts { font-weight: 600; color: var(--navy); }
.key-meta { margin: 12px 0 0; font-size: .95rem; color: var(--muted); }
.confirm-note { background: #fff7ed; border: 1px solid #fdba74; border-radius: 10px; padding: 12px 14px; }
.page-head { padding-top: 40px; }
.page-img { border-radius: var(--radius); margin: 8px 0 16px; }
.article-body img { border-radius: var(--radius); }
.article-body h2 { margin: 1.4em 0 .5em; }
.next-links { margin-top: 24px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }

/* Breadcrumbs */
.breadcrumbs { padding: 14px 16px 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs a { color: var(--navy-2); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* Bottom of page — FAQ, cross-links and inquiry band separated by
   background and spacing, never run together. */
.cross-links p { margin: 0; }
.inquiry-band { background: var(--orange); color: #fff; }
.inquiry-in { display: flex; flex-direction: column; gap: 12px; padding: 28px 16px; align-items: flex-start; }
.inquiry-in h2 { color: #fff; margin: 0 0 6px; }
.inquiry-in p { margin: 0; }
.site-footer { background: var(--navy); color: #c8d6e5; padding: 28px 0 12px; }
.site-footer a { color: #dbe6f2; }
.site-footer strong { color: #fff; }
.footer-in { display: grid; grid-template-columns: 1fr; gap: 20px; }
.site-footer .fine { color: #8fa5bb; padding-bottom: 12px; }
/* Floating contact cluster — three round buttons (WhatsApp + phone + email),
   Topwetsuit-style, adopted 2026-11-28 (replaces the WhatsApp-only pill).
   Icon-only circles at rest; on hover/focus a button expands leftward into a
   labelled pill. Fully inside the viewport (right/bottom inset). On phones
   the buttons shrink to 40 px circles so they never cover form controls. */
.contact-cluster { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cc-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; min-width: 48px; max-width: 48px; padding: 0 12px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; box-shadow: 0 4px 16px rgba(0,0,0,.3); overflow: hidden; white-space: nowrap; transition: max-width .25s ease, background .15s ease; }
.cc-btn svg { width: 24px; height: 24px; flex: none; }
.cc-btn .cc-label { max-width: 0; opacity: 0; overflow: hidden; transition: max-width .25s ease, opacity .2s ease; }
.cc-btn:hover, .cc-btn:focus-visible { max-width: 180px; color: #fff; } /* color: white beats the global a:hover orange */
.cc-btn:hover .cc-label, .cc-btn:focus-visible .cc-label { max-width: 120px; opacity: 1; }
.cc-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.cc-whatsapp { background: #25d366; }
.cc-whatsapp:hover { background: #1eb856; }
.cc-phone { background: var(--navy); }
.cc-phone:hover { background: var(--navy-2); }
.cc-email { background: var(--orange); }
.cc-email:hover { background: var(--orange-d); }
@media (max-width: 639px) {
  .contact-cluster { right: 10px; bottom: 10px; gap: 8px; }
  .cc-btn { height: 40px; min-width: 40px; max-width: 40px; padding: 0 8px; }
  .cc-btn svg { width: 22px; height: 22px; }
}

/* Forms */
.inquiry-form { display: grid; gap: 14px; max-width: 640px; }
.inquiry-form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { font: inherit; padding: 10px 12px; border: 1px solid #c6d0db; border-radius: 10px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.success { background: #e8f5e9; border: 1px solid #81c784; border-radius: 10px; padding: 12px 14px; }
.error { background: #fdecea; border: 1px solid #f5a9a2; border-radius: 10px; padding: 12px 14px; }

/* Admin */
.admin-bar { background: var(--navy); color: #fff; padding: 10px 0; }
.admin-bar a { color: #dbe6f2; margin-right: 12px; }
.admin-bar strong { color: #fff; margin-right: 12px; }
.inquiry-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.status { background: var(--soft); border-radius: 999px; padding: 2px 10px; font-size: .85rem; }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .factory-photos { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .inquiry-in { flex-direction: row; align-items: center; }
  .inquiry-in div { flex: 1; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.6rem; }
  .section { padding: 56px 16px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header-in { position: relative; flex-wrap: wrap; }
  .menu-btn { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; margin-left: 0; }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-list > li { width: 100%; }
  .nav-link { display: block; width: 100%; text-align: left; padding: 11px 10px; }
  .nav-link.active { box-shadow: inset 3px 0 0 var(--orange); border-radius: 8px; }
  .nav-drop, .nav-drop-wide { position: static; display: none; min-width: 0; background: rgba(255,255,255,.06); border: none; box-shadow: none; padding: 4px 8px 10px 14px; margin: 2px 0 8px; }
  .has-drop.open .nav-drop, .has-drop.open .nav-drop-wide { display: block; }
  .nav-group h4 { color: #a9bdd2; }
  .nav-group h4 a { color: #a9bdd2; }
  .nav-group > a { color: #dbe6f2; }
  .nav-group > a:hover { color: #fff; background: rgba(255,255,255,.1); }
  .nav-drop-foot { border-top-color: rgba(255,255,255,.16); }
  .nav-drop-foot a { color: #ffb37e; }
  .nav-quote { margin: 8px 0 0; text-align: center; }
}

/* ---- 2026-11-28 visual-review fixes ---- */

/* Category cards — one compact row of 6 visual cards with photos
   (replaces the 20 grey text tiles). 6 across desktop, 3 tablet, 2 phone. */
.cat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.cat-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: #fff; box-shadow: var(--shadow); }
.cat-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cat-card span { display: block; padding: 10px 12px; font-weight: 700; color: var(--navy); }
.cat-card:hover span { color: var(--orange-d); }
@media (min-width: 640px) { .cat-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-cards { grid-template-columns: repeat(6, 1fr); } }

/* Short product cards — photo + name + 2 spec chips + quote button.
   Full spec tables live on the product pages. */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { display: inline-block; padding: 2px 10px; font-size: .85rem; font-weight: 700; color: var(--navy-2); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }

/* Colour swatch grid — the 16 numbered colours with their numbers. */
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.swatch-cell { text-align: center; }
.swatch-cell .swatch { display: block; width: 100%; height: 36px; border-radius: 8px; }
.swatch-no { display: block; font-weight: 800; color: var(--navy); font-size: .9rem; margin-top: 4px; }
.swatch-name { display: block; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .swatch-grid { grid-template-columns: repeat(8, 1fr); } }

/* Why choose us — factory photo proves the factory. */
.why-photo { margin: 20px 0 0; }
.why-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; max-height: 420px; object-fit: cover; }
.why-photo figcaption { font-size: .9rem; color: var(--muted); padding-top: 6px; }

/* Material photo grid — 4 photos in a complete 4-column row (was 3 columns
   with the 4th photo orphaned on row 2). The 3-photo factory group keeps 3. */
@media (min-width: 640px) { .factory-photos--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .factory-photos--4 { grid-template-columns: repeat(4, 1fr); } }
