/* ==========================================================================
   WagWash — main stylesheet
   Design system derived from the approved "Self-Service Dog Wash" UI.

   Palette: "Navy & Warm Sand"
   ---------------------------
   Chosen for a US/EU business audience that buys industrial equipment.

   Why navy: across US and European B2B, deep blue is the most consistently
   trusted colour — it reads as reliable, institutional and calm rather than
   technical or trendy. It carries the authority a buyer expects when signing
   off on a several-thousand-dollar capital purchase.

   Why warm sand as the accent: pure blue-on-white feels cold and clinical.
   A muted bronze/sand accent adds warmth and a sense of craft without turning
   playful — it reads closer to premium equipment (think warm metal, timber,
   leather) than to a consumer app.

   Why off-white rather than pure white: #fbfdf8 has a very slight warm cast.
   Large white areas are the main reason B2B sites feel sterile; a hint of
   warmth makes long pages easier to read and feels friendlier.

   Accessibility: every text/background pair below is verified at or above
   WCAG AA (4.5:1 for body text). Figures are noted beside each token.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand ---------------------------------------------------------------- */
  --pw-deep: #35664a;          /* fresh forest green — headings, header, CTA */
  --pw-deep-2: #295138;        /* darker green for hover and gradients      */
  --pw-accent: #8fc46f;        /* leaf green — decorative fills, icons      */
  --pw-accent-text: #3f7a3a;   /* leaf darkened for text (5.18:1)           */
  --pw-honey: #eeb84d;         /* warm amber — one warm note, decoration    */
  --pw-honey-text: #8a5f14;    /* amber dark enough for text (5.63:1)       */

  /* Legacy aliases kept so existing rules keep working --------------- */
  --pw-accent-dark: #3f7a3a;
  --pw-accent-strong: #35664a; /* solid button background (6.66:1 w/white)  */

  /* Surfaces ------------------------------------------------------------- */
  --pw-tint: #eef7e6;          /* pale green panel                          */
  --pw-tint-border: #d6e9c6;
  --pw-bg: #fbfdf8;            /* near-white with a green cast              */
  --pw-white: #ffffff;
  --pw-surface-alt: #f4faf0;   /* alternate section band                    */

  /* Text ----------------------------------------------------------------- */
  --pw-ink: #1e2a22;           /* body copy — 14.90:1 on white              */
  --pw-ink-soft: #43544a;      /* secondary copy — 8.06:1 on white          */
  --pw-muted: #5d6e64;         /* captions — 5.41:1 on white, 5.29:1 on bg  */

  /* Lines ---------------------------------------------------------------- */
  --pw-line: #e2ebe0;
  --pw-line-soft: #f0f7ec;

  /* Feedback ------------------------------------------------------------- */
  --pw-warn-bg: #fef8e7;
  --pw-warn-border: #f2e2b8;
  --pw-warn-ink: #7a5210;
  --pw-focus: #35664a;

  /* RGB components — let translucent shadows/glows follow the scheme ---- */
  --pw-shadow-rgb: 53, 102, 74;
  --pw-accent-rgb: 143, 196, 111;
  --pw-honey-rgb: 238, 184, 77;

  /* Shape ---------------------------------------------------------------- */
  --pw-radius: 14px;
  --pw-radius-sm: 9px;
  --pw-shadow: 0 10px 30px rgba(var(--pw-shadow-rgb), .08);
  --pw-shadow-sm: 0 4px 14px rgba(var(--pw-shadow-rgb), .12);

  /* Primary button ---------------------------------------------------- */
  --pw-btn-a: #35664a;
  --pw-btn-b: #35664a;
  --pw-btn-a-hover: #295138;
  --pw-btn-b-hover: #295138;
  --pw-btn-rim: #eeb84d;
  --pw-btn-rim-hover: #f0c569;
  --pw-btn-glow: 0 0 0 rgba(0, 0, 0, 0);

  /* Solid action fills (tabs, badges, chat, form submits, pagination) -- */
  --pw-solid-a: #35664a;
  --pw-solid-b: #35664a;
  --pw-solid-hover-a: #295138;
  --pw-solid-hover-b: #295138;
  --pw-solid-rim: #eeb84d;

  /* Supporting surfaces ------------------------------------------------ */
  --pw-on-deep: #dcebc9;      /* copy on dark fills (footer, page hero)  */
  --pw-ink-deep: #2b3d33;     /* dense form labels / totals              */
  --pw-honey-soft: #f0c569;   /* honey highlight, shimmer                */
  --pw-field: #fbfdfc;        /* input / textarea background             */
  --pw-max: 1120px;
  --pw-gutter: 20px;
  --pw-header-h: 64px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pw-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--pw-ink);
  background: var(--pw-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pw-deep); }
a:hover { color: var(--pw-accent-dark); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  color: var(--pw-deep);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--pw-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pw-deep); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--pw-radius-sm) 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: var(--pw-max); margin: 0 auto; padding: 0 var(--pw-gutter); }

/* --------------------------------------------------------------------------
   3. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Warm off-white bar: still light and airy, but with a hint of cream so it
     belongs to the same family as the page background rather than floating
     as a stark white strip. Navy labels sit at ~10.8:1 contrast. */
  background: linear-gradient(180deg, #fdfefb 0%, #f4faf1 100%);
  border-bottom: 1px solid var(--pw-tint-border);
  box-shadow: 0 2px 12px rgba(var(--pw-shadow-rgb), .07);
}
/* Bronze hairline under the bar gives it a finished edge and echoes the
   accent used inside the page. */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--pw-honey-soft) 0%, #eeb84d 50%, var(--pw-honey-soft) 100%);
  opacity: .75;
}
.site-header .wrap {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  min-height: var(--pw-header-h);
}

.site-branding { display: flex; align-items: center; gap: 10px; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 44px; width: auto; }

.site-logo {
  font-weight: 800; font-size: 21px; color: var(--pw-deep);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  letter-spacing: -.01em;
  transition: color .15s;
}
.site-logo:hover { color: var(--pw-accent-strong); }
.site-logo svg { width: 30px; height: 30px; flex: none; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
}
.primary-nav li { position: relative; }
.primary-nav a {
  display: block; text-decoration: none; padding: 10px 14px;
  border-radius: var(--pw-radius-sm);
  /* Deep teal on the light bar = ~8.9:1. */
  font-size: 15px;
  font-weight: 600;
  color: var(--pw-deep);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  background: rgba(var(--pw-accent-rgb), .12);
  color: var(--pw-accent-strong);
}
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--pw-honey);
}

/* Dropdowns */
.primary-nav ul ul {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 210px; background: #fff; border: 1px solid var(--pw-line);
  border-radius: 12px; box-shadow: var(--pw-shadow); padding: 6px;
  flex-direction: column; align-items: stretch;
  margin-top: 4px;
}
.primary-nav li:hover > ul,
.primary-nav li:focus-within > ul { display: flex; }
.primary-nav ul ul a {
  padding: 9px 12px; font-size: 14.5px; font-weight: 500;
  color: var(--pw-ink);
}
.primary-nav ul ul a:hover { background: var(--pw-tint); color: var(--pw-accent-strong); }

/* --------------------------------------------------------------------------
   Account button in the header
   Deliberately styled unlike the text links so it reads as a distinct action,
   and it reflects the signed-in state.
   -------------------------------------------------------------------------- */
.nav-account {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--pw-tint-border);
}
.nav-account__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%);
  color: #fff;
  transition: background .15s, transform .15s;
}
.nav-account__btn:hover { background: linear-gradient(96deg, var(--pw-solid-hover-a) 0%, var(--pw-solid-hover-b) 100%); color: #fff; }
.nav-account__icon { display: flex; flex: none; opacity: .95; }
.nav-account__text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-account__label {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
.nav-account__name {
  font-size: 11px;
  font-weight: 500;
  opacity: .82;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Signed out: a lighter outline treatment so it invites rather than commits. */
.nav-account--out .nav-account__btn {
  background: transparent;
  color: var(--pw-deep);
  border: 1.5px solid var(--pw-deep);
}
.nav-account--out .nav-account__btn:hover {
  background: linear-gradient(96deg, var(--pw-solid-hover-a) 0%, var(--pw-solid-hover-b) 100%);
  color: #fff;
  border-color: transparent;
}
/* Signed in: a small dot confirms the active session at a glance. */
.nav-account--in .nav-account__label { position: relative; }
.nav-account--in .nav-account__label::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: #4ade80;
  vertical-align: middle;
}
.nav-account__signout {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pw-muted);
  text-decoration: none;
  padding: 6px 4px;
  white-space: nowrap;
  transition: color .15s;
}
.nav-account__signout:hover { color: var(--pw-accent-strong); text-decoration: underline; }

/* Signed out: "Join free" is the one warm invitation in the bar, so it takes
   the amber accent. Scoped to the signed-out block — the signed-in "Sign out"
   link keeps its quiet grey. */
.nav-account--out .nav-account__signout {
  color: #b8860b;
  font-weight: 700;
  letter-spacing: .01em;
}
.nav-account--out .nav-account__signout:hover {
  color: #8f6800;
  text-decoration: underline;
}

.nav-toggle {
  display: none; margin-left: auto;
  background: #fff;
  border: 1px solid var(--pw-tint-border);
  border-radius: var(--pw-radius-sm); width: 44px; height: 42px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--pw-tint); }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--pw-deep);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: var(--pw-radius-sm);
  font-size: 16px; font-weight: 700; text-decoration: none;
  border: none; transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
/* Primary action: a two-stop brand gradient with a warm underside. Both the
   stops and the rim come from tokens so a colour scheme can restyle the CTA
   without touching this rule (Green Spring = flat deep green + honey edge). */
.btn-primary {
  background: linear-gradient(96deg, var(--pw-btn-a) 0%, var(--pw-btn-b) 100%);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--pw-btn-rim), var(--pw-btn-glow);
}
.btn-primary:hover {
  background: linear-gradient(96deg, var(--pw-btn-a-hover) 0%, var(--pw-btn-b-hover) 100%);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--pw-btn-rim-hover), var(--pw-btn-glow);
}
/* Secondary action: a white button rimmed in honey, so it pairs with the
   yellow outline on the primary button instead of fading into the page. */
.btn-ghost {
  background: #fff;
  color: var(--pw-deep);
  border: 2px solid var(--pw-honey);
}
.btn-ghost:hover {
  background: var(--pw-tint);
  color: var(--pw-deep);
  border-color: var(--pw-honey-soft);
}
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 17px; }

/* --------------------------------------------------------------------------
   5. Sections
   -------------------------------------------------------------------------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
/* Alternating band in warm cream rather than stark white. The subtle contrast
   between #fff cards and this band is what gives long pages their rhythm
   without resorting to heavy borders. */
.section-alt {
  background: var(--pw-surface-alt);
  border-top: 1px solid var(--pw-line);
  border-bottom: 1px solid var(--pw-line);
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--pw-deep);
  margin: 0 0 14px;
  text-align: center;
  position: relative;
}
/* Short honey underline under each section heading — a small warm detail that
   ties the sections together without adding visual noise. */
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  margin: 12px auto 0;
  background: var(--pw-honey);
}
.section-lead {
  text-align: center; color: var(--pw-muted); margin: 0 auto 28px;
  max-width: 640px; font-size: 16.5px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
/* Hero sits on a very soft warm wash rather than flat page colour. The two
   radial glows (honey top-right, teal bottom-left) give the fold a bit of life
   without any hard shapes, and they carry the warm accent across a large area
   so the page does not read as cold blue. */
.hero {
  padding: 44px 0 40px;
  background:
    radial-gradient(ellipse 62% 72% at 88% 6%, rgba(var(--pw-honey-rgb), .16), transparent 64%),
    radial-gradient(ellipse 58% 64% at 4% 94%, rgba(var(--pw-accent-rgb), .26), transparent 62%),
    var(--pw-bg);
}
.hero-inner { max-width: 100%; }

/* Two-column hero on desktop: media left, copy right — keeps the fold
   compact so the value proposition and CTA are visible without scrolling. */
@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    /* Media leads at 70%; the copy column carries the headline and CTAs in the
       remaining 30%. */
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 32px;
    /* Top-align so the headline starts level with the top of the video. */
    align-items: start;
  }
  .hero-copy { min-width: 0; }
  .pw-video--hero { margin: 0; max-height: none; }
}
.hero-tagline { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pw-accent-strong); font-weight: 700; margin: 0 0 6px; }

/* --------------------------------------------------------------------------
   6b. Video block (poster + play → player)
   -------------------------------------------------------------------------- */
.pw-video {
  position: relative;
  width: 100%;
  aspect-ratio: var(--pw-video-ratio, 16 / 9);
  border-radius: var(--pw-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--pw-accent), var(--pw-deep));
  isolation: isolate;
}

/* Poster is the click target that swaps in the player. */
.pw-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  display: block;
  cursor: pointer;
  color: var(--pw-deep);
}
.pw-video-poster:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.pw-video-poster img,
.pw-video-poster > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pw-video-poster:hover img,
.pw-video-poster:hover > svg { transform: scale(1.02); }

/* Small label in the top-left, as in the reference design. */
.pw-video-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; line-height: 1.5;
  pointer-events: none;
}

/* Circular play button. */
.pw-video .play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .18s ease, background-color .18s ease;
}
.pw-video .play svg { width: 30px; height: 30px; display: block; }
.pw-video-poster:hover .play { transform: scale(1.08); background: #fff; }
.pw-video-poster[aria-disabled="true"] { cursor: default; }
.pw-video-poster[aria-disabled="true"]:hover > svg,
.pw-video-poster[aria-disabled="true"]:hover img { transform: none; }

/* Loaded player replaces the poster. */
.pw-video.is-playing .pw-video-poster { display: none; }
.pw-video-el {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; background: #000; display: block;
}
.pw-video-coming {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  background: #0f172a; color: var(--pw-tint); font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Hero product gallery (auto-scrolling strip beneath the hero)
   Images come from Appearance → WagWash Settings → Hero Gallery.
   -------------------------------------------------------------------------- */
.hero-media { min-width: 0; }

/* Benefit chips under the film, wrapping as needed. */
.hero-chips {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-chips .chip {
  /* Pale green pill with a leaf-green edge: reads as fresh and natural, and
     keeps the chips visually tied to the brand colour instead of floating as
     neutral white labels. */
  background: var(--pw-surface-alt);
  color: var(--pw-deep);
  border: 1px solid var(--pw-tint-border);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(var(--pw-shadow-rgb), .05);
}

/* Still swapped in by a gallery image, layered above the poster. */
.pw-video-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--pw-surface-alt), var(--pw-tint));
  z-index: 2;
}
.pw-video-slide[hidden] { display: none; }
.pw-video-slide svg,
.pw-video-slide img { width: 100%; height: 100%; object-fit: contain; }

/* While a still is shown, the poster's play affordance steps aside. */
.pw-video.has-slide .pw-video-poster { opacity: 0; pointer-events: none; }
.pw-video.has-slide .pw-video-tag { display: none; }

/* Return-to-video control, shown only while a gallery still is displayed. */
.pw-video-back {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(var(--pw-shadow-rgb), .88);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  transition: background .15s, transform .15s;
}
.pw-video-back:hover {
  background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%);
  transform: translateX(-2px);
}
.pw-video-back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.pw-video-back[hidden] { display: none; }

.hero-gallery-wrap { position: relative; margin-top: 26px; }
/* The track slides horizontally; the wrap clips it. Padding leaves room for
   the arrow buttons, which sit half outside the strip. */
.hero-gallery-wrap { padding: 0 22px; }
.hero-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  will-change: transform;
}
/* Outer clip layer so transformed slides never spill onto the page. */
.hero-gallery-clip { overflow: hidden; }
/* Four per view. Each slide is ~70% of the previous thumbnail width. */
.hero-gallery__slide {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
}
.hero-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid var(--pw-line);
  border-radius: var(--pw-radius-sm);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.hero-gallery__item svg,
.hero-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-gallery__item:hover {
  border-color: var(--pw-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--pw-shadow-rgb), .12);
}
.hero-gallery__item:focus-visible {
  outline: 3px solid var(--pw-accent-strong);
  outline-offset: 2px;
}
.hero-gallery__item.is-active {
  border-color: var(--pw-solid-rim);
  box-shadow: 0 0 0 3px rgba(var(--pw-accent-rgb), .2);
}
.hero-gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(17, 24, 39, .66);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrows sit fully inside the wrap and above the track. */
.hero-gallery__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.hero-gallery__nav[hidden] { display: none; }
.hero-gallery__btn {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--pw-line);
  background: #fff;
  color: var(--pw-deep);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(var(--pw-shadow-rgb), .18);
  transition: background .15s, color .15s, transform .15s;
}
.hero-gallery__btn:hover {
  background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%);
  color: #fff;
  transform: scale(1.06);
}
.hero-gallery__btn:focus-visible {
  outline: 2px solid var(--pw-accent-strong);
  outline-offset: 2px;
}

@media (max-width: 899px) {
  .hero-gallery__slide { flex-basis: calc((100% - 28px) / 3); }
  .hero-gallery__nav { display: none; }
}
@media (max-width: 600px) {
  .hero-gallery__slide { flex-basis: calc((100% - 14px) / 2); }
  .hero-chips .chip { font-size: 12px; }
}

.hero h1 { margin: 22px 0 10px; color: var(--pw-deep); }
/* Hero headline at 80% of the global h1 scale: keeps the statement strong
   without crowding the copy column beside the video. */
.hero h1 { font-size: clamp(22.4px, 3.2vw, 35.2px); line-height: 1.18; }

/* On the two-column hero the headline sits flush with the top of the video. */
@media (min-width: 900px) {
  .hero-copy h1 { margin-top: 0; }
}
.hero .hero-sub { color: var(--pw-ink-soft); margin: 0 0 18px; font-size: clamp(16px, 1.6vw, 19px); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  background: var(--pw-tint); color: var(--pw-accent-strong);
  border: 1px solid var(--pw-tint-border); border-radius: 999px;
  padding: 5px 14px; font-size: 13.5px; font-weight: 600;
}
/* Two CTAs side by side; they shrink rather than wrapping onto a second row so
   the copy column keeps a tidy block. */
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.hero-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 14.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 520px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   6c. Member configurator
   -------------------------------------------------------------------------- */
.member-gate { max-width: 640px; margin: 0 auto; text-align: left; }

/* Compact sign-in prompt shown in place of the configurator for guests.
   Sits directly under the product presentation, so it stays close to the
   heading and does not open a large empty block. */
.config-section--gate { padding: 40px 0 44px; }
.config-section--gate .section-lead { margin-bottom: 22px; }

.member-gate-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--pw-line);
  border-left: 4px solid var(--pw-accent);
  border-radius: var(--pw-radius);
  padding: 24px 26px;
  box-shadow: 0 6px 20px rgba(var(--pw-shadow-rgb), .06);
}
.member-gate-main { flex: 1 1 320px; min-width: 0; }
.member-gate-main h3 { margin: 0 0 6px; font-size: 18px; color: var(--pw-deep); }
.member-gate-main p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--pw-ink-soft); }
.member-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.member-gate-actions .btn { min-height: 44px; }

.member-gate-benefits {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
}
.member-gate-benefits li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pw-ink-soft);
}
.member-gate-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pw-tint);
  color: var(--pw-accent-strong);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .member-gate-row { padding: 20px; }
  .member-gate-actions { width: 100%; }
  .member-gate-actions .btn { flex: 1 1 auto; }
}

.configurator { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }

.config-group {
  border: 1px solid var(--pw-line); border-radius: var(--pw-radius);
  background: #fff; padding: 22px 24px; margin: 0 0 20px; grid-column: 1;
}
.config-group legend { font-weight: 800; color: var(--pw-deep); font-size: 17px; padding: 0 8px; }
.config-lead { margin: 0 0 16px; color: var(--pw-muted); font-size: 14.5px; }

.config-row { border-top: 1px solid var(--pw-line-soft); padding: 14px 0; }
.config-row:first-of-type { border-top: none; padding-top: 0; }

.config-field-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }

/* File upload with an English label.
   The native control renders "Choose file / No file chosen" in the browser's
   language, so the input itself is transparent and sits over a styled box. */
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px dashed #cbd5d1;
  border-radius: var(--pw-radius-sm);
  background: var(--pw-field);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
  margin: 0;
}
.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--pw-accent);
  background: var(--pw-tint);
}
.file-drop.has-file {
  border-style: solid;
  border-color: var(--pw-accent);
  background: var(--pw-tint);
}
.file-drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.file-drop__icon {
  display: flex;
  flex: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--pw-accent-strong);
  box-shadow: 0 1px 3px rgba(var(--pw-shadow-rgb), .1);
}
.file-drop__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}
.file-drop__text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--pw-deep);
}
.file-drop__text small {
  font-size: 12.5px;
  color: var(--pw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.file-drop.has-file .file-drop__text small { color: var(--pw-accent-strong); font-weight: 600; }
.config-field-head label { font-weight: 700; font-size: 14.5px; color: var(--pw-ink-deep); margin: 0; }
.config-fee {
  flex: none; font-size: 13px; font-weight: 700; color: var(--pw-accent-strong);
  background: var(--pw-tint); border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.config-help { margin: 6px 0 0; font-size: 13px; color: var(--pw-muted); }

.size-control { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.size-input {
  width: 120px; padding: 9px 12px; font: inherit; font-size: 16px;
  border: 1px solid var(--pw-tint-border); border-radius: var(--pw-radius-sm);
  background: var(--pw-field); color: var(--pw-ink);
}
.size-input:focus { outline: 2px solid var(--pw-accent); border-color: transparent; background: #fff; }
.size-unit { font-size: 14px; color: var(--pw-muted); font-weight: 600; }
.size-range { font-size: 12.5px; color: #9ca3af; margin-left: auto; }

.config-group select, .config-group input[type="file"] {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 15.5px;
  border: 1px solid var(--pw-tint-border); border-radius: var(--pw-radius-sm); background: var(--pw-field);
}
.toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.toggle-input { width: 20px !important; height: 20px; accent-color: var(--pw-accent); }

.config-summary {
  grid-column: 2; grid-row: 1 / span 20; position: sticky;
  top: calc(var(--pw-header-h) + 16px); background: #fff;
  border: 1px solid var(--pw-line); border-radius: var(--pw-radius);
  padding: 24px; box-shadow: var(--pw-shadow);
}
.config-summary h3 { margin: 0 0 14px; font-size: 17px; }
.summary-list { list-style: none; margin: 0 0 16px; padding: 0; max-height: 260px; overflow: auto; }
.summary-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--pw-line-soft); font-size: 14px;
}
.summary-list li:last-child { border-bottom: none; }
.summary-list strong { color: var(--pw-accent-strong); white-space: nowrap; flex: none; }
.summary-empty { color: var(--pw-muted); font-style: italic; }

.summary-totals { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 8px; }
.summary-totals th, .summary-totals td { padding: 9px 0; text-align: left; border-top: 1px solid var(--pw-line); }
.summary-totals th { font-weight: 600; color: var(--pw-ink-soft); }
.summary-totals td { text-align: right; white-space: nowrap; }
.summary-unit strong { font-size: 17px; color: var(--pw-deep); }
.summary-total th { font-weight: 800; color: var(--pw-deep); border-top: 2px solid var(--pw-deep); padding-top: 12px; }
.summary-total strong { font-size: 22px; color: var(--pw-deep); }
.qty-input {
  width: 76px; padding: 6px 10px; font: inherit; font-size: 15px; text-align: right;
  border: 1px solid var(--pw-tint-border); border-radius: 8px;
}

/*
 * Quantity is the one field buyers forget to change, so the row carries a bold
 * red frame. The row is a single full-width cell holding one bordered box —
 * that keeps all four sides and the rounded corners intact, which per-cell
 * borders cannot do in a collapsed table.
 */
.summary-totals tr.summary-qty td {
  padding: 6px 0 14px;
  border-top: none;
  text-align: left;
  white-space: normal;
}
.qty-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fff6f4;
  border: 2px solid #d64545;
  border-radius: 10px;
}
.qty-box__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14.5px;
  color: #b3261e;
  cursor: pointer;
  user-select: none;
}
.qty-box__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d64545;
  flex: none;
}
.qty-box .qty-input {
  border: 2px solid #d64545;
  background: #fff;
  font-weight: 700;
  color: #7f1d1d;
  width: 84px;
}
.qty-box .qty-input:focus {
  outline: 3px solid rgba(214, 69, 69, .22);
  outline-offset: 1px;
  border-color: #b3261e;
}
.config-disclaimer { margin: 12px 0 0; font-size: 12.5px; color: var(--pw-muted); line-height: 1.55; }

.config-contact {
  grid-column: 1; background: #fff; border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius); padding: 24px;
}
.config-contact h3 { margin: 0 0 16px; font-size: 17px; }

.account-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--pw-line); margin-bottom: 28px; }
.account-tab {
  padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--pw-ink-soft); border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.account-tab:hover { color: var(--pw-accent-strong); }
.account-tab.is-active { color: var(--pw-deep); border-bottom-color: var(--pw-accent); }
.account-tab--logout { margin-left: auto; color: var(--pw-muted); font-weight: 500; }
.account-count {
  display: inline-block; min-width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 999px; background: var(--pw-accent);
  color: #fff; font-size: 12px; font-weight: 700; padding: 0 6px; margin-left: 6px;
}

.status-pill { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; }
.status-new, .status-none { background: var(--pw-tint); color: var(--pw-accent-text); }
.status-quoted { background: #fef8e7; color: #7a5210; }
.status-won { background: #e6f2df; color: #356f37; }
.status-closed { background: #f0f7ec; color: var(--pw-ink-soft); }

/* Quotation message + customer actions in the account area */
.quote-message {
  background: var(--pw-tint); border-left: 4px solid var(--pw-accent);
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 12px 0 0;
  font-size: 15px; line-height: 1.65; color: var(--pw-deep); white-space: pre-wrap;
}
.quote-message--success { background: #e6f2df; border-left-color: #356f37; color: #28502c; }

/* Deposit payment panel (account area) */
.deposit-box {
  background: #fff; border: 2px solid var(--pw-accent); border-radius: var(--pw-radius);
  padding: 24px; margin-top: 24px; box-shadow: var(--pw-shadow-sm);
}
.deposit-box h3 { margin: 0 0 10px; font-size: 17px; color: var(--pw-deep); }
.deposit-box p { margin: 0 0 16px; font-size: 14.5px; color: var(--pw-ink-soft); line-height: 1.6; }
.deposit-box .btn { width: 100%; }

.quote-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 26px; }
.quote-action-form {
  background: #fff; border: 1px solid var(--pw-line); border-radius: var(--pw-radius);
  padding: 22px;
}
.quote-action-form .btn { width: 100%; }
.quote-action-form .config-disclaimer { text-align: center; }

@media (max-width: 1024px) {
  .configurator { grid-template-columns: 1fr; }
  .config-summary { grid-column: 1; grid-row: auto; position: static; }
  .config-group, .config-contact { grid-column: 1; }
}

/* --------------------------------------------------------------------------
   7. Trust bar / stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 34px;
}
.stat {
  background: #fff; border: 1px solid var(--pw-line);
  border-radius: 14px; padding: 18px; text-align: center;
}
.stat strong { display: block; font-size: clamp(22px, 2.6vw, 28px); color: var(--pw-deep); font-weight: 800; }
.stat span { font-size: 13.5px; color: var(--pw-muted); }

/* --------------------------------------------------------------------------
   8. Product configurator (tabs + carousel + price)
   -------------------------------------------------------------------------- */
.tabs { display: flex; justify-content: center; margin: 0 0 26px; }
.tabs button {
  border: 1px solid var(--pw-accent); background: #fff; color: var(--pw-accent-dark);
  padding: 10px 30px; font-size: 15px; font-weight: 600; min-height: 44px;
}
.tabs button:first-child { border-radius: 999px 0 0 999px; }
.tabs button:last-child { border-radius: 0 999px 999px 0; margin-left: -1px; }
.tabs button[aria-selected="true"] { background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%); color: #fff; }

.prod-grid {
  /* Gallery-led product layout, balanced. The image column is slightly
     larger than the text column so the product leads, while the text column
     stays wide enough for comfortable reading of the benefits and CTA. */
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
  gap: 32px; align-items: start;
}

.carousel {
  position: relative; background: #fff; border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--pw-shadow-rgb), .08);
}
.slides { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, var(--pw-surface-alt), var(--pw-tint)); }
.slide { display: none; width: 100%; height: 100%; }
.slide.is-active { display: block; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide svg { width: 100%; height: 100%; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--pw-tint-border); background: rgba(255, 255, 255, .92);
  color: var(--pw-accent-dark); font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.car-btn:hover { background: #fff; }
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }
.car-cap {
  padding: 10px 14px; font-size: 13px; color: var(--pw-muted);
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center;
}
.dots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
/* The [hidden] attribute must beat the flex display above. */
.dots[hidden] { display: none !important; }
/* Used instead of dots when a gallery has more than a dozen images. */
.car-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--pw-deep);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pw-tint);
  white-space: nowrap;
}
.dots button {
  width: 24px; height: 24px; padding: 0; border-radius: 50%;
  background: #cbd5d3; border: none;
  background-clip: content-box;
  box-sizing: border-box;
  padding: 7px;
  transition: background-color .15s;
}
.dots button:hover { background-color: #a3b5b1; }
.dots button[aria-current="true"] { background: var(--pw-accent); }

.features h3 { margin: 0 0 12px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--pw-line-soft);
  color: var(--pw-ink-deep); font-size: 15.5px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fdf2dc; color: var(--pw-honey-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; margin-top: 1px;
}

.price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

/* Conversion block: site checklist on the left, price and CTA on the right.
   Both start at the same top edge so the caveats and the price read as one
   unit rather than two stacked sections. */
/* Conversion block, full width under the product grid: site checklist on the
   left, price and primary actions on the right. Both columns start on the same
   top edge so the caveats read alongside the price rather than stacking below
   the CTA. The right column matches the product text column so the price sits
   visually in line with the benefits above it. */
/* The price panel now lives in the text column, so this block carries only the
   site checklist and can run the full width. */
.price-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 30px;
}
.price-block .install-note { margin: 0; }
.price-block .price-panel { margin-top: 0; }

@media (max-width: 1180px) {
  /* Not enough room for two columns — stack them with the price first so the
     CTA is never pushed below the checklist. */
  .price-block { grid-template-columns: 1fr; gap: 16px; }
  .price-block .price-panel { order: 1; }
  .price-block .install-note { order: 2; }
}

.price-panel {
  margin-top: 22px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  box-shadow: 0 6px 20px rgba(var(--pw-shadow-rgb), .07);
}
.price-panel .price-row { margin-top: 0; }
.price-panel .price-note { margin: 8px 0 0; }
/* The price panel's primary action carries a full yellow outline instead of the
   usual bottom accent bar, so it reads as a highlighted next step. */
.price-panel .btn-primary {
  box-shadow: inset 0 0 0 2px var(--pw-honey);
}
.price-panel .btn-primary:hover {
  box-shadow: inset 0 0 0 2px var(--pw-honey-soft);
}
/* In the text column the panel follows the benefit list directly. */
.features .price-panel { margin-top: 20px; }
.price-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.price-actions .btn {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  white-space: nowrap;
}
/* In the narrow text column the two buttons stack, which keeps each one a
   comfortable tap target. */
.features .price { font-size: clamp(26px, 2.6vw, 32px); }
.features .price small { display: block; font-size: 12.5px; margin-top: 2px; }
.term-chip {
  border: 1.5px solid #8fa08f; background: #fff; border-radius: 999px;
  padding: 6px 16px; font-size: 13.5px; font-weight: 700; color: #475569;
  min-height: 38px;
}
.term-chip[aria-pressed="true"] { border-color: var(--pw-accent); color: var(--pw-accent-strong); background: var(--pw-tint); }
.price { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--pw-deep); }
.price small { font-size: 14px; font-weight: 500; color: var(--pw-muted); }

.opts { margin-top: 18px; background: #fff; border: 1px dashed var(--pw-accent); border-radius: 14px; padding: 16px 18px; }
.opts[hidden] { display: none; }
.opts h4 { margin: 0 0 10px; font-size: 15px; color: var(--pw-accent-strong); }
.opt {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 4px; border-bottom: 1px solid var(--pw-line-soft); font-size: 15px;
}
.opt:last-of-type { border-bottom: none; }
.opt .no {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--pw-accent); color: var(--pw-accent-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.opt input { width: 20px; height: 20px; accent-color: var(--pw-accent); flex: none; }
.opt .add { margin-left: auto; color: var(--pw-accent-text); font-weight: 700; font-size: 14px; white-space: nowrap; }
.total { margin-top: 12px; font-size: 15px; color: var(--pw-ink-deep); }
.total b { color: var(--pw-deep); font-size: 18px; }

/* Homepage configurator call-to-action (links to the member-only configurator). */
.customize-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}
.btn-customize { min-height: 44px; }
.customize-cta__hint {
  font-size: 13px;
  color: var(--pw-muted);
  font-weight: 600;
}
.customize-cta__hint::before {
  content: "🔒";
  margin-right: 5px;
  font-size: 12px;
}
.price-note { font-size: 13px; color: var(--pw-muted); margin-top: 10px; }

.pay-note {
  background: var(--pw-warn-bg); border: 1px solid var(--pw-warn-border);
  border-radius: 14px; padding: 14px 20px; font-size: 14.5px;
  color: var(--pw-warn-ink); display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}
.pay-note p { margin: 0; }
.reply-badge {
  display: inline-block; background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%); color: #fff;
  border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 13px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. Experience / steps
   -------------------------------------------------------------------------- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
/* The "how it works" film uses the shared .pw-video component; give it the
   darker poster background the reference design uses in this section. */
.pw-video--howto { background: linear-gradient(135deg, #334155, #0f172a); }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1px solid var(--pw-line); background: var(--pw-field);
  border-radius: 999px; padding: 11px 18px; font-size: 15px;
  text-align: left; min-height: 48px; color: var(--pw-ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.step .no {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pw-tint); color: var(--pw-accent-dark);
  font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.step[aria-pressed="true"] {
  border-color: var(--pw-accent); background: var(--pw-tint);
  box-shadow: var(--pw-shadow-sm);
}
.step-body { margin-top: 14px; }
.step-panel { display: none; }
.step-panel.is-active { display: block; }
.step-panel h3 { margin: 0 0 6px; font-size: 16px; color: var(--pw-deep); }
.step-panel p { margin: 0; color: var(--pw-ink-soft); font-size: 15px; }

/* --------------------------------------------------------------------------
   10. Card grids (features, products, blog)
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius); padding: 24px;
  box-shadow: 0 8px 24px rgba(var(--pw-shadow-rgb), .06);
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(var(--pw-shadow-rgb), .1); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--pw-ink-soft); margin: 0 0 12px; font-size: 15px; }
.card .card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--pw-tint);
  color: var(--pw-accent-dark); display: flex; align-items: center;
  justify-content: center; margin-bottom: 14px; font-size: 22px;
}
.card .more {
  margin-top: auto; color: var(--pw-accent-strong); font-weight: 700;
  text-decoration: none; font-size: 15px;
  display: inline-block; padding: 8px 0;
}
.card .more:hover { text-decoration: underline; }

/* Product cards */
.product-card {
  background: #fff; border: 1px solid var(--pw-line); border-radius: var(--pw-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--pw-shadow); }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--pw-tint); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin: 0 0 6px; font-size: 17px; }
.product-card h3 a { text-decoration: none; color: var(--pw-deep); }
.product-card p { color: var(--pw-muted); font-size: 14.5px; margin: 0 0 14px; }
.product-card .card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-card .tag {
  font-size: 12.5px; background: var(--pw-tint); color: var(--pw-accent-dark);
  border-radius: 999px; padding: 3px 10px; font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Blog / academy
   -------------------------------------------------------------------------- */
.acad-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.blog-card {
  background: #fff; border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius); padding: 24px; box-shadow: 0 8px 24px rgba(var(--pw-shadow-rgb), .06);
}
.blog-card .tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.blog-card h3 { margin: 0 0 8px; font-size: 21px; }
.blog-card h3 a { text-decoration: none; color: var(--pw-deep); }
.blog-card h3 a:hover { color: var(--pw-accent-dark); }
.blog-card p { margin: 0 0 14px; color: var(--pw-ink-soft); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--pw-line); padding: 14px 0; }
.post-list li:first-child { padding-top: 0; }
.post-list li:last-child { border-bottom: none; }
.post-list a { text-decoration: none; font-weight: 700; color: var(--pw-deep); font-size: 15.5px; }
.post-list a:hover { color: var(--pw-accent-dark); }
.post-list time { display: block; font-size: 13px; color: var(--pw-muted); margin-top: 3px; }

.about-blurb { color: var(--pw-ink-soft); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--pw-accent-dark), var(--pw-deep));
  color: #fff; border-radius: var(--pw-radius);
  padding: 40px 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 26px); }
.cta-band p { margin: 0; color: var(--pw-tint); }
.cta-band .btn { background: #fff; color: var(--pw-deep); flex: none; }
.cta-band .btn:hover { background: var(--pw-tint); color: var(--pw-deep); }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius); padding: 26px; box-shadow: var(--pw-shadow);
}
.form-card h2 { margin: 0 0 4px; font-size: 21px; }
.form-card .note { margin: 0 0 16px; font-size: 13.5px; color: var(--pw-muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--pw-ink-deep); margin: 0 0 5px; }
.field .req { color: #dc2626; }

/* Marks a field we would like filled but do not enforce. Distinct from .req,
   which pairs with the browser's required attribute. */
.field .req-soon {
  color: #dc2626;
  font-weight: 700;
  margin-left: 1px;
  /* Screen readers announce it as a suggestion, not a blocker. */
}
.field input,
.field select,
.field textarea {
  width: 100%; border: 1px solid var(--pw-tint-border); border-radius: var(--pw-radius-sm);
  padding: 11px 13px; font: inherit; font-size: 16px; background: var(--pw-field);
  color: var(--pw-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--pw-accent); outline-offset: 0; border-color: transparent;
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card button[type="submit"] {
  margin-top: 6px; width: 100%; min-height: 48px; border: none;
  border-radius: var(--pw-radius-sm); background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%);
  color: #fff; font-size: 16px; font-weight: 700;
  transition: background .15s;
}
.form-card button[type="submit"]:hover { background: linear-gradient(96deg, var(--pw-solid-hover-a) 0%, var(--pw-solid-hover-b) 100%); }
.form-note {
  margin-top: 12px; background: var(--pw-tint); border: 1px solid var(--pw-tint-border);
  color: var(--pw-accent-dark); border-radius: var(--pw-radius-sm);
  padding: 11px 14px; font-size: 14px;
}
.form-note.error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--pw-muted); }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--pw-accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact form photo uploader */
.upload-field { margin-bottom: 18px; }
.upload-hint {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--pw-muted);
}
.upload-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 2px dashed #cbd5d1;
  border-radius: var(--pw-radius-sm);
  background: var(--pw-field);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.upload-drop:hover,
.upload-drop.is-drag {
  border-color: var(--pw-accent);
  background: var(--pw-tint);
}
.upload-drop.is-full { opacity: .65; }
.upload-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-drop__icon { font-size: 18px; line-height: 1; }
.upload-drop__text { font-size: 14.5px; font-weight: 600; color: var(--pw-accent-strong); }
.upload-drop__meta { margin-left: auto; font-size: 13px; color: var(--pw-muted); font-weight: 600; }

.upload-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.upload-list:empty { display: none; }
.upload-item {
  position: relative;
  border: 1px solid var(--pw-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 3;
}
.upload-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-item__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(17, 24, 39, .72);
  color: #fff;
  font-size: 10.5px;
  padding: 4px 20px 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-item__remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 24, 39, .75);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.upload-item__remove:hover { background: #b91c1c; }

.upload-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #b91c1c;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Page / article layout
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--pw-accent-text), var(--pw-deep));
  color: #fff; padding: 54px 0 46px;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: var(--pw-tint); margin: 0; max-width: 720px; font-size: 17px; }

.breadcrumbs { font-size: 13.5px; color: var(--pw-muted); padding: 14px 0 0; }
.breadcrumbs a { text-decoration: none; color: var(--pw-accent-dark); }
.breadcrumbs span { margin: 0 6px; color: #cbd5d1; }

.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.prose { font-size: 16.5px; color: var(--pw-ink-deep); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .4em 0; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.prose blockquote {
  border-left: 4px solid var(--pw-accent); background: var(--pw-tint);
  margin: 1.4em 0; padding: 14px 20px; border-radius: 0 12px 12px 0; color: var(--pw-deep);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--pw-line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--pw-tint); color: var(--pw-deep); }

.widget-area .card { margin-bottom: 20px; }
.widget-area h2 { font-size: 17px; margin: 0 0 12px; }
.sidebar-cta { background: var(--pw-deep); color: var(--pw-tint); }
.sidebar-cta h2 { color: #fff; }
.sidebar-cta p { color: var(--pw-on-deep); font-size: 14.5px; }

.entry-meta { font-size: 13.5px; color: var(--pw-muted); margin-bottom: 18px; }
.entry-meta a { color: var(--pw-accent-dark); text-decoration: none; }

.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: var(--pw-radius-sm);
  border: 1px solid var(--pw-line); background: #fff; text-decoration: none;
  color: var(--pw-ink); font-size: 15px;
}
.pagination .current { background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%); color: #fff; border-color: var(--pw-accent); }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--pw-line);
  border-radius: 12px; padding: 0 20px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--pw-deep);
  list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--pw-accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 0 18px; color: var(--pw-ink-soft); font-size: 15.5px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* FAQ grouped by buying stage: before ordering, ordering, after-sales, other */

/* Sidebar jump list, sitting under the "Still have questions?" card. */
.faq-aside {
  position: sticky;
  top: 96px;
  align-self: start;
}
.faq-side-nav {
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  padding: 18px 10px 14px;
  box-shadow: 0 8px 24px rgba(var(--pw-shadow-rgb), .06);
  margin-top: 20px;
}
.faq-side-nav__title {
  margin: 0 0 10px;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--pw-muted);
}
.faq-side-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-side-nav li { margin: 0; }
.faq-side-nav a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px 9px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pw-ink-soft);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.faq-side-nav a:hover {
  background: var(--pw-tint);
  border-left-color: var(--pw-honey);
  color: var(--pw-deep);
}
.faq-side-nav__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--pw-tint);
  color: var(--pw-deep);
  font-size: 12px;
  font-weight: 800;
  flex: none;
}
.faq-side-nav a:hover .faq-side-nav__num { background: var(--pw-honey); color: #3a2c05; }

/* Below the two-column breakpoint the sidebar stacks under the article, so it
   stops being sticky. */
@media (max-width: 1024px) {
  .faq-aside { position: static; }
  .faq-side-nav { margin-top: 20px; }
}

.faq-groups { display: flex; flex-direction: column; gap: 46px; }
.faq-group { scroll-margin-top: 96px; }
.faq-group__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--pw-line);
}
.faq-group__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pw-honey);
  color: #3a2c05;
  font-size: 17px;
  font-weight: 800;
  flex: none;
}
.faq-group__text { min-width: 0; }
.faq-group__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--pw-deep);
  line-height: 1.25;
}
.faq-group__note {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--pw-muted);
  line-height: 1.45;
}
.faq-group__count {
  margin-left: auto;
  flex: none;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--pw-tint);
  color: var(--pw-accent-strong);
  font-size: 12.5px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .faq-group__head { gap: 11px; align-items: flex-start; }
  .faq-group__num { width: 34px; height: 34px; font-size: 15px; }
  .faq-group__title { font-size: 18px; }
  .faq-group__count { display: none; }
  .faq-groups { gap: 38px; }
}

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.spec-table th, .spec-table td { border: 1px solid var(--pw-line); padding: 11px 14px; text-align: left; }
.spec-table th { background: var(--pw-tint); color: var(--pw-deep); width: 42%; font-weight: 700; }
/* Secondary unit shown next to the primary value (e.g. inches beside mm). */
.spec-alt { color: var(--pw-muted); font-size: 13.5px; white-space: nowrap; }

/* Site-preparation callout on product / installation pages. */
.install-note {
  background: var(--pw-warn-bg); border: 1px solid var(--pw-warn-border);
  border-radius: var(--pw-radius-sm); padding: 16px 18px; margin: 18px 0 0;
  font-size: 14.5px; color: var(--pw-warn-ink); line-height: 1.6;
}
.install-note strong { display: block; margin-bottom: 6px; }
.install-note ul { margin: 0; padding-left: 20px; }
.install-note li { margin: 4px 0; }
.install-note a { color: #7a5210; font-weight: 700; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
/* Footer mirrors the header: deep teal body with a honey top edge, so the page
   is framed in the same warm accent at both ends. */
.site-footer {
  background: var(--pw-deep);
  color: var(--pw-tint);
  padding: 46px 0 18px;
  margin-top: 48px;
  border-top: 3px solid var(--pw-honey);
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h3, .site-footer h4 { margin: 0 0 12px; color: #fff; font-size: 15.5px; font-weight: 800; }
.site-footer p, .site-footer a { font-size: 14px; color: var(--pw-on-deep); margin: 5px 0; text-decoration: none; }
/* Comfortable tap targets for footer navigation links. */
.site-footer ul li a { display: inline-block; padding: 6px 0; min-height: 34px; }
.footer-bar a { display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-brand .site-logo { color: #fff; margin-bottom: 10px; }
.footer-brand p { line-height: 1.6; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 32px;
  padding-top: 16px; font-size: 13px; color: var(--pw-on-deep);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   16. Chat widget
   -------------------------------------------------------------------------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  border: 2px solid var(--pw-solid-rim); background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%); color: #fff;
  border-radius: 999px; padding: 0 22px; min-height: 48px;
  font-weight: 700; font-size: 14.5px;
  box-shadow: 0 8px 24px rgba(var(--pw-accent-rgb), .4);
  display: inline-flex; align-items: center; gap: 8px;
}

/*
 * Running light around the chat button: one lap every ten seconds, then a
 * pause, so it draws the eye without becoming a distraction.
 * The ring is a masked conic gradient; @property lets the angle animate.
 */
@property --pw-chat-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.chat-launcher::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(
    from var(--pw-chat-angle, 0deg),
    transparent 0deg 250deg,
    rgba(255, 233, 168, .9) 300deg,
    var(--pw-honey) 330deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: pw-chat-sweep 10s linear infinite;
  pointer-events: none;
}
@keyframes pw-chat-sweep {
  0%   { --pw-chat-angle: 0deg; }
  25%  { --pw-chat-angle: 360deg; }
  100% { --pw-chat-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-launcher::after { animation: none; }
}
.chat-launcher:hover { background: linear-gradient(96deg, var(--pw-solid-hover-a) 0%, var(--pw-solid-hover-b) 100%); }
.chat-panel {
  position: fixed; right: 20px; bottom: 80px; z-index: 71;
  width: min(340px, calc(100vw - 40px)); background: #fff;
  border: 1px solid var(--pw-line); border-radius: var(--pw-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18); overflow: hidden;
  display: none;
}
.chat-panel.is-open { display: block; }
.chat-panel[hidden] { display: none; }
.chat-head { background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%); color: #fff; padding: 12px 16px; font-weight: 700; font-size: 14px; }
.chat-body {
  padding: 12px 14px; max-height: 230px; overflow: auto;
  display: flex; flex-direction: column; gap: 8px; font-size: 14px;
}
.msg { border-radius: 12px; padding: 8px 12px; max-width: 86%; line-height: 1.45; }
.msg.bot { background: var(--pw-tint); color: var(--pw-deep); align-self: flex-start; }
.msg.me { background: var(--pw-deep); color: #fff; align-self: flex-end; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--pw-line); }
.chat-input input {
  flex: 1; min-width: 0; border: 1px solid var(--pw-tint-border);
  border-radius: var(--pw-radius-sm); padding: 10px 12px; font: inherit; font-size: 16px;
}
.chat-input button {
  border: none; background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%); color: #fff;
  border-radius: var(--pw-radius-sm); padding: 0 16px; min-height: 44px; font-weight: 700;
}

/* --------------------------------------------------------------------------
   17. Utilities
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #111827; color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: 14px; z-index: 90; box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .acad-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .prod-grid, .exp-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none; width: 100%; margin-left: 0;
    border-top: 1px solid var(--pw-tint-border); padding: 8px 0 14px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  /* On the compact bar the dropdown flattens into an indented list. */
  .primary-nav ul ul {
    display: flex; position: static; border: none; box-shadow: none;
    padding: 0 0 0 14px; min-width: 0; background: transparent; margin-top: 0;
  }
  .primary-nav a { padding: 13px 14px; font-size: 16px; font-weight: 600; }
  .primary-nav a:hover { background: rgba(var(--pw-accent-rgb), .1); }
  .primary-nav .current-menu-item > a,
  .primary-nav .current_page_item > a { box-shadow: inset 3px 0 0 var(--pw-honey); }

  /* Account block becomes a full-width row under the links. */
  .nav-account {
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 0 0;
    border-left: none;
    border-top: 1px solid var(--pw-tint-border);
    gap: 10px;
  }
  .nav-account__btn { flex: 1 1 auto; justify-content: center; min-height: 46px; width: 100%; }
  .nav-account__name { max-width: none; }
  .site-header .wrap { padding-bottom: 8px; }
}

@media (max-width: 600px) {
  .section { padding: 42px 0; }
  .hero { padding: 30px 0 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
  .form-card { padding: 20px; }
  .card, .blog-card { padding: 20px; }
  .acad-grid { gap: 20px; }
  .pay-note { text-align: center; }
  .chat-launcher { right: 12px; bottom: 12px; }
  .chat-panel { right: 12px; bottom: 70px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   19. Printing
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .chat-launcher, .chat-panel, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .card, .form-card { box-shadow: none; border-color: #ccc; }
}

/* --------------------------------------------------------------------------
   Configurator — live dimension diagram
   Two-pane layout: scale drawing left (sticky on desktop), sliders right.
   -------------------------------------------------------------------------- */
/* The dimensions block is the page's main interaction, so on desktop it spans
   both grid columns and the sticky summary starts underneath it. Without the
   explicit rows the two would occupy the same cells and overlap. */
@media (min-width: 1025px) {
  .config-group--dimensions { grid-column: 1 / -1; grid-row: 1; }
  .config-summary { grid-row: 2 / span 30; }
}

.dim-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 8px;
}

/* Keep the drawing in view while the customer works down the sliders. */
.dim-layout__visual {
  position: sticky;
  top: calc(var(--pw-header-h) + 16px);
}

/* ---- The diagram card ------------------------------------------------ */
.dim-view {
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  padding: 20px 20px 16px;
  box-shadow: var(--pw-shadow-sm);
}
.dim-view__head { margin-bottom: 14px; }
.dim-view__head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--pw-deep);
}
.dim-view__head p {
  margin: 0;
  font-size: 13px;
  color: var(--pw-muted);
  line-height: 1.5;
}

.dim-fig { margin: 0 0 14px; }
.dim-fig figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--pw-muted);
}

.dim-svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--pw-tint);
  border-radius: var(--pw-radius-sm);
  padding: 6px;
  box-sizing: border-box;
}

/* Drawing elements: geometry is set by JS, only presentation lives here. */
.dim-body {
  stroke-width: 2;
  transition: fill .2s ease, stroke .2s ease;
}
.dim-body--cabinet {
  fill: #eef4f7;
  stroke: var(--pw-accent-text);
}
.dim-body--cabin {
  fill: var(--pw-surface-alt);
  stroke: var(--pw-deep);
}
.dim-screen  { fill: #dbe9f0; stroke: #b9d0dc; stroke-width: 1; }
.dim-glass   { fill: rgba(var(--pw-accent-rgb), .18); stroke: var(--pw-tint-border); stroke-width: 1; }
.dim-tub     { fill: var(--pw-tint-border); }
.dim-detail  { stroke: #b9d0dc; stroke-width: 1.5; stroke-dasharray: 5 4; }
.dim-floor   { stroke: var(--pw-line); stroke-width: 2; }

.dim-rule {
  stroke: var(--pw-honey-text);
  stroke-width: 1.2;
  marker-start: url(#dim-arrow);
  marker-end: url(#dim-arrow);
}
.dim-text {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  fill: var(--pw-honey-text);
  text-anchor: middle;
}
.dim-text--rot {
  /* Vertical dimension labels read bottom-to-top, like a real drawing. */
  transform: rotate(-90deg);
  transform-box: fill-box;
  transform-origin: center;
}
.dim-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  fill: var(--pw-ink-soft);
  text-anchor: middle;
}

/* ---- Readout under the drawing -------------------------------------- */
.dim-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--pw-line);
}
.dim-stats > div { min-width: 0; }
.dim-stats dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pw-muted);
  margin: 0 0 3px;
}
.dim-stats dd {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--pw-deep);
  font-variant-numeric: tabular-nums;
}

.dim-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--pw-muted);
}

/* ---- Right-hand control column -------------------------------------- */
.dim-layout__controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dim-subgroup {
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  padding: 16px 18px 6px;
}
.dim-subgroup__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pw-deep);
}
.dim-subgroup__dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
}
.dim-subgroup__dot--cabinet { background: #9fbccd; }
.dim-subgroup__dot--cabin   { background: var(--pw-accent); }

/* Match the group's existing field spacing. */
.dim-subgroup .config-row + .config-row { margin-top: 2px; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 1024px) {
  .dim-layout { grid-template-columns: 1fr; gap: 20px; }
  .dim-layout__visual { position: static; }
}
@media (max-width: 620px) {
  .dim-stats { grid-template-columns: 1fr; gap: 8px; }
  .dim-stats > div { display: flex; justify-content: space-between; align-items: baseline; }
  .dim-stats dt { margin: 0; }
  .dim-view { padding: 16px 14px 12px; }
}

/* Hint shown when the cabin and cabinet depths differ, so the footprint is not
   a clean rectangle. Sits between the readouts and the general note. */
.dim-flush {
  margin: 0 0 10px;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--pw-warn-ink);
  background: var(--pw-warn-bg);
  border: 1px solid var(--pw-warn-border);
  border-radius: var(--pw-radius-sm);
}
.dim-flush[hidden] { display: none; }

/* Coloured dot next to each subgroup heading uses the same colours as the
   matching body in the drawing, so the mapping is obvious at a glance. */

/* Display panel that sits on top of the wash tub. Warm honey fill so it reads
   as signage rather than as part of the washing vessel. */
.dim-board {
  fill: #fdf3e0;
  stroke: var(--pw-honey);
  stroke-width: 1.6;
}
.dim-board-line {
  stroke: var(--pw-honey);
  stroke-width: 1.2;
  stroke-dasharray: 6 4;
  opacity: .8;
}
.dim-board-note {
  margin: 0 0 8px;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--pw-deep);
  background: #fdf3e0;
  border: 1px solid #ecd7ac;
  border-radius: var(--pw-radius-sm);
}

/* "Customization Details" only belongs to the Customize tab. The flex display
   in .customize-cta would otherwise beat the hidden attribute. */
.customize-cta[hidden] { display: none !important; }

/* 24hr reply chip sits at the end of the hero benefit row. Solid green rather
   than the usual pale pill, so it reads as a service promise instead of
   another spec bullet. */
.hero-chips .chip--reply {
  background: linear-gradient(96deg, var(--pw-solid-a) 0%, var(--pw-solid-b) 100%);
  color: #fff;
  border-color: var(--pw-chip-rim);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Dimension diagram — machine detail parts
   Shapes follow the factory photos: open tub on the left with a stainless rim
   and a glass front panel, control cabinet on the right with a glass door,
   card terminal, control buttons and venting.
   -------------------------------------------------------------------------- */

/* Stainless rim along the open top of the tub. Darker than the tub body so the
   open mouth of the basin reads clearly in a flat elevation. */
.dim-rim {
  fill: #aebfc6;
  stroke: #7d9098;
  stroke-width: 1.2;
}

/* Base plinth of the tub. */
.dim-plinth {
  fill: #dfe7ea;
  stroke: #b3c1c7;
  stroke-width: 1;
}

/* Wash tub front glass. */
.dim-body--cabin .dim-glass,
.dim-glass {
  fill: rgba(var(--pw-accent-rgb), .30);
  stroke: var(--pw-tint-border);
  stroke-width: 1.2;
}

/* Display panel behind the tub: printed board with an embedded screen. */
.dim-panel {
  fill: #eaf2f8;
  stroke: #a7c0d2;
  stroke-width: 1.6;
}
.dim-panel-screen {
  fill: #c6d8e6;
  stroke: #8fa9bd;
  stroke-width: 1;
}
.dim-panel-brand {
  fill: var(--pw-honey-soft);
  stroke: var(--pw-honey-soft);
  stroke-width: 1;
}

/* Control cabinet: glass door, card terminal, buttons, vents. */
.dim-door {
  fill: #dbe9f0;
  stroke: #93aec0;
  stroke-width: 1.2;
}
.dim-pay {
  fill: #4a5b66;
  stroke: #33434d;
  stroke-width: .8;
}
.dim-button {
  fill: #b3c2cb;
  stroke: none;
}
.dim-vent {
  fill: #c4d0d6;
  stroke: none;
}

/* Open basin shown in plan view. */
.dim-basin {
  fill: #eef4f8;
  stroke: #b0c4d1;
  stroke-width: 1;
  stroke-dasharray: 4 3;
}

/* --------------------------------------------------------------------------
   45-degree axonometric view
   Faces are shaded by orientation — top lightest, front mid, side darkest —
   so the solid reads as three-dimensional without any gradients.
   -------------------------------------------------------------------------- */
.dim-svg--iso { padding: 4px; }

/* Wash tub: open stainless basin. */
.dim3-front-tub {
  fill: #f2f9ec;
  stroke: #6f8f60;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.dim3-side-tub {
  fill: #c4dbb0;
  stroke: #6f8f60;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.dim3-rim {
  fill: #ccd8dd;
  stroke: #7d9098;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
/* Empty stainless tub interior: left white so the open top reads as bare
   metal rather than a filled basin. */
.dim3-inner {
  fill: #ffffff;
  stroke: #9db3bd;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

/* Control cabinet: closed stainless box. */
.dim3-front-cab {
  fill: #eaf1f5;
  stroke: #5d7f92;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.dim3-top-cab {
  fill: #fbfdfe;
  stroke: #5d7f92;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

/* Keep the display panel readable against the light page. */
.dim-panel { stroke-width: 1.6; }

/* Part labels inside the plan view footprints. Kept small and muted so they
   read as annotation rather than as content. */
.dim-plan-label {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  fill: var(--pw-deep);
  opacity: .8;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Homepage customization price range (display only)
   Replaces the old interactive tick-list: shows the price envelope per group
   and a note pointing to the configurator for an exact figure.
   -------------------------------------------------------------------------- */
.opts--range { padding: 16px 18px 14px; }

.opt-range {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.opt-range th,
.opt-range td {
  padding: 8px 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--pw-line-soft);
}
.opt-range th {
  font-weight: 600;
  color: var(--pw-ink-soft);
}
.opt-range__n {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pw-muted);
}
.opt-range td {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--pw-accent-text);
  font-variant-numeric: tabular-nums;
}
.opt-range tr:last-child th,
.opt-range tr:last-child td { border-bottom: none; }
.opt-range__max th,
.opt-range__max td {
  padding-top: 11px;
  border-top: 1px solid var(--pw-line);
  color: var(--pw-deep);
}
.opt-range__max th { font-weight: 800; }
.opt-range__max td { font-size: 15.5px; }

.opt-note {
  margin: 11px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--pw-line-soft);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--pw-muted);
}

/* "to " tail of the estimated-total line. */
.total-range {
  font-weight: 700;
  color: var(--pw-deep);
}
.total-range[hidden] { display: none; }
.total-note {
  font-size: 13px;
  color: var(--pw-muted);
}



/* --------------------------------------------------------------------------
   Account page: scale drawings, four-column specification, artwork
   -------------------------------------------------------------------------- */

/* 45-degree view on the left; plan view plus its readouts stacked in the right
   column, so the space beside the taller drawing is used instead of left blank. */
.account-figure { margin: 6px 0 20px; max-width: 940px; }
.account-figure .dim-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  align-items: start;
  text-align: left;
}
.account-figure .dim-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.account-figure .dim-view__head { grid-column: 1 / -1; }
.account-figure .dim-fig { margin: 0; }

.account-figure .dim-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  min-width: 0;
}
.account-figure .dim-side .dim-fig { margin: 0; }
.account-figure .dim-side .dim-stats { margin: 0; padding-top: 10px; }
.account-figure .dim-side .dim-stats dd { font-size: 14px; }
.account-figure .dim-side .dim-board-note { margin: 0; }

.account-figure .dim-note { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .account-figure .dim-view { grid-template-columns: 1fr; }
  .account-figure .dim-side { grid-column: 1; grid-row: auto; }
}

/* Four columns = two option/value pairs per row. */
.spec-grid {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 8px;
  font-size: 14.5px;
  background: #fff;
  border-radius: var(--pw-radius-sm);
  overflow: hidden;
}
.spec-grid th,
.spec-grid td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--pw-line-soft);
}
.spec-grid th {
  width: 21%;
  font-weight: 600;
  color: var(--pw-ink-soft);
  background: var(--pw-surface-alt);
}
.spec-grid td { width: 29%; color: var(--pw-ink); }
.spec-grid tr:last-child th,
.spec-grid tr:last-child td { border-bottom: none; }

/* Customized pairs use yellow text only — a background wash made the table
   look busy. The amber is dark enough to stay readable on white. */
/* Only the value is yellow; the option name keeps its normal style so the
   table reads like a normal specification sheet. */
.spec-grid td.is-custom {
  color: #b8860b;
  font-weight: 700;
}

.spec-grid__std {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--pw-muted);
  margin-top: 2px;
}

.spec-grid__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--pw-muted);
}
.spec-grid__swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 17px;
  border-radius: 3px;
  border: 1px solid currentColor;
  color: #b8860b;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  flex: none;
}
.spec-grid__swatch::before { content: "Aa"; }

/* Artwork: thumbnail next to the original file name. */
.account-artwork {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.account-artwork li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius-sm);
  background: #fff;
}
.account-artwork a {
  display: block;
  width: 72px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--pw-surface-alt);
  flex: none;
  border: 1px solid var(--pw-line-soft);
}
.account-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account-artwork__file {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--pw-muted);
  letter-spacing: .04em;
}
.account-artwork__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 230px;
}
.account-artwork__name {
  font-size: 13px;
  color: var(--pw-ink);
  overflow-wrap: anywhere;
}
.account-artwork__missing {
  font-size: 11.5px;
  color: #b3261e;
}
.account-artwork li.is-missing a {
  border-style: dashed;
  border-color: #d9b3b0;
  background: #fdf6f5;
}
.account-artwork li.is-missing .account-artwork__file { color: #b3261e; }

/* Dimension labels for customized sizes are shown in the same amber as the
   table, so the drawing and the table agree at a glance. */
.dim-text.dim-text--custom {
  fill: #b8860b;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Account page drawings: no card frame, and a clear colour split between
   standard dimensions (black) and customized ones (yellow).
   The base .dim-text is honey, which is too close to the custom colour, so
   both states are redefined inside the account figure only.
   -------------------------------------------------------------------------- */
.account-figure .dim-view {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.account-figure .dim-text { fill: var(--pw-ink); }

.account-figure .dim-text.dim-text--custom {
  fill: #d18b00;
  font-weight: 800;
}

/* Dimension arrows stay neutral so the black and yellow values both read. */
.account-figure .dim-rule { stroke: #9aa8a0; }

/* The plan view, readouts and breakdown are wrapped so the account page can
   stack them in one column. Elsewhere they simply flow as before. */
.dim-side { display: contents; }

/* --------------------------------------------------------------------------
   Home > Products > Standard: "Get a quote" call to action
   Hidden while the Customize tab is active, where the Customization Details
   button takes over instead.
   -------------------------------------------------------------------------- */
.quote-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}
.quote-cta[hidden] { display: none !important; }
.btn-quote { min-height: 44px; }

/* --------------------------------------------------------------------------
   Products page: media column = main gallery + the scrolling strip beneath it
   -------------------------------------------------------------------------- */
.product-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
/* Inside the narrow column the strip sits flush under the gallery, with room
   for the arrows either side. */
.product-media .hero-gallery-wrap {
  margin-top: 0;
  padding: 0 20px;
}
.product-media .hero-gallery__slide {
  flex-basis: calc((100% - 42px) / 4);
}
/* The site checklist closes the media column, under the gallery. */
.product-media .install-note { margin: 0; }
@media (max-width: 899px) {
  .product-media .hero-gallery__slide { flex-basis: calc((100% - 28px) / 3); }
}
@media (max-width: 600px) {
  .product-media .hero-gallery__slide { flex-basis: calc((100% - 14px) / 2); }
}

/* --------------------------------------------------------------------------
   E-book page layout: sticky contents column on the left, article on the right
   -------------------------------------------------------------------------- */
.content-wrap--toc {
  grid-template-columns: 266px minmax(0, 1fr);
  gap: 48px;
}
.content-wrap--toc > .content-main { grid-column: 2; grid-row: 1; min-width: 0; }
.content-wrap--toc > .page-aside {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 92px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Contents list */
.page-toc {
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  padding: 18px 10px 14px;
  box-shadow: 0 8px 24px rgba(var(--pw-shadow-rgb), .06);
}
.page-toc__title {
  margin: 0 0 10px;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--pw-muted);
}
.page-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pw-toc;
}
.page-toc li { margin: 0; }
.page-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--pw-ink-soft);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.page-toc a::before {
  counter-increment: pw-toc;
  content: counter(pw-toc) ".";
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--pw-muted);
  padding-top: 2px;
}
.page-toc a:hover {
  background: var(--pw-tint);
  color: var(--pw-deep);
}
.page-toc a.is-active {
  border-left-color: var(--pw-honey);
  background: var(--pw-tint);
  color: var(--pw-deep);
  font-weight: 700;
}
.page-toc a.is-active::before { color: var(--pw-deep); }

/* Anchors must clear the sticky header when jumped to. */
.prose h2[id],
.prose h3[id] { scroll-margin-top: 96px; }

@media (max-width: 1024px) {
  .content-wrap--toc { grid-template-columns: 1fr; gap: 24px; }
  .content-wrap--toc > .content-main { grid-column: 1; grid-row: 2; }
  .content-wrap--toc > .page-aside {
    grid-column: 1;
    grid-row: 1;
    position: static;
  }
  .page-toc ol { columns: 2; column-gap: 8px; }
}
@media (max-width: 620px) {
  .page-toc ol { columns: 1; }
}

/* --------------------------------------------------------------------------
   Customize page: the four-step order process as a flow diagram
   The markup stays an <ol>, so the steps remain a list for assistive tech;
   the styling turns it into connected cards.
   -------------------------------------------------------------------------- */
.custom-flow {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}
.custom-flow li {
  position: relative;
  margin: 0;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid var(--pw-line);
  border-top: 3px solid var(--pw-honey);
  border-radius: var(--pw-radius);
  box-shadow: 0 6px 18px rgba(var(--pw-shadow-rgb), .07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Arrow between the cards. */
.custom-flow li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border-top: 2.5px solid var(--pw-honey);
  border-right: 2.5px solid var(--pw-honey);
  transform: rotate(45deg);
}
.custom-flow li:last-child::after { display: none; }

/* Icon and step number share the top row of each card. */
.custom-flow__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.custom-flow__icon {
  width: 60px;
  height: 60px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(var(--pw-shadow-rgb), .16));
}
.custom-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--pw-tint);
  color: var(--pw-deep);
  font-size: 14px;
  font-weight: 800;
  flex: none;
}
.custom-flow__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--pw-deep);
  line-height: 1.3;
}
.custom-flow__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pw-ink-soft);
}

@media (max-width: 960px) {
  .custom-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
  .custom-flow li:nth-child(2n)::after { display: none; }
}

@media (max-width: 640px) {
  .custom-flow { grid-template-columns: 1fr; gap: 34px; }
  .custom-flow__icon { width: 48px; height: 48px; }
  .custom-flow li::after {
    top: auto;
    right: 50%;
    bottom: -24px;
    margin-top: 0;
    margin-right: -6px;
    transform: rotate(135deg);
  }
  .custom-flow li:nth-child(2n)::after { display: block; }
  .custom-flow li:last-child::after { display: none; }
}

/* --------------------------------------------------------------------------
   6-step interactive demo (inc/demo.php)
   Native rebuild of the standalone React app: video stage + step list side by
   side, wash packages under the video on step 1 only so the block stays short.
   -------------------------------------------------------------------------- */
.wdemo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 26px;
  align-items: start;
  margin-top: 6px;
}

/* ---------------- left column ---------------- */
.wdemo__stage-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.wdemo__stage {
  position: relative;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  box-shadow: 0 16px 40px rgba(var(--pw-shadow-rgb), .09);
}

.wdemo__pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--pw-line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pw-ink);
  box-shadow: 0 4px 14px rgba(var(--pw-shadow-rgb), .08);
}
.wdemo__pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pw-accent);
  box-shadow: 0 0 0 3px rgba(var(--pw-accent-rgb), .25);
}

.wdemo__screen {
  position: relative;
  aspect-ratio: 3 / 2;          /* matches the source clips (1152 x 768) */
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--pw-tint) 0%, var(--pw-bg) 48%, var(--pw-surface-alt) 100%);
}

.wdemo__idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 26px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--pw-accent-rgb), .30), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(var(--pw-honey-rgb), .22), transparent 46%),
    linear-gradient(140deg, var(--pw-surface-alt), var(--pw-bg) 55%, var(--pw-tint));
}
.wdemo__idle[hidden] { display: none; }

.wdemo__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pw-line);
  color: var(--pw-deep);
  box-shadow: 0 10px 26px rgba(var(--pw-shadow-rgb), .13);
}
.wdemo__card-icon svg { width: 28px; height: 28px; }

.wdemo__brand {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--pw-ink);
}
.wdemo__tag {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--pw-muted);
}

.wdemo__terminal {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(300px, 78%);
  margin: 20px 0 16px;
  padding: 14px 16px 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(160deg, #1e2a22, #16211b);
  box-shadow: 0 16px 34px rgba(22, 33, 27, .30);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.wdemo__terminal:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(22, 33, 27, .34); }
.wdemo__terminal:focus-visible { outline: 3px solid var(--pw-honey); outline-offset: 3px; }

.wdemo__terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--pw-honey);
}
.wdemo__terminal-brand {
  font-size: 11.5px; font-weight: 800; letter-spacing: .13em;
  color: var(--pw-honey);
}
.wdemo__terminal-online {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  color: #b8d6a6;
}
.wdemo__terminal-online i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pw-accent); box-shadow: 0 0 6px var(--pw-accent);
}
.wdemo__terminal-field {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  color: #dbe6d6;
}
.wdemo__terminal-field--insert {
  background: linear-gradient(90deg, rgba(var(--pw-honey-rgb), .12), rgba(var(--pw-honey-rgb), .34));
  color: #f3dfae;
}

.wdemo__status {
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pw-tint);
  border: 1px solid var(--pw-tint-border);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--pw-accent-strong);
}

.wdemo__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.wdemo__video.is-on { opacity: 1; }

/* ---------------- packages (step 1 only) ---------------- */
.wdemo__packages {
  padding: 16px 18px 18px;
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  box-shadow: 0 10px 28px rgba(var(--pw-shadow-rgb), .07);
}
.wdemo__packages[hidden] { display: none; }

.wdemo__packages-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pw-muted);
}

.wdemo__package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wdemo__package {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 12px 12px;
  background: #fff;
  border: 1.5px solid var(--pw-line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.wdemo__package:hover { border-color: var(--pw-honey); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--pw-shadow-rgb), .10); }
.wdemo__package.is-selected {
  border-color: var(--pw-deep);
  background: var(--pw-tint);
  box-shadow: 0 0 0 2px rgba(var(--pw-shadow-rgb), .12);
}
.wdemo__package-emoji { font-size: 15px; line-height: 1; }
.wdemo__package-name { font-size: 13.5px; font-weight: 800; color: var(--pw-deep); }
.wdemo__package-price { font-size: 15px; font-weight: 800; color: var(--pw-accent-strong); }
.wdemo__package-time { font-size: 11px; color: var(--pw-muted); }

.wdemo__selected {
  margin: 12px 0 0;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--pw-tint);
  border: 1px solid var(--pw-tint-border);
  font-size: 12.5px;
  color: var(--pw-ink);
}
.wdemo__selected strong { color: var(--pw-deep); }
.wdemo__selected[hidden] { display: none; }

/* ---------------- right column ---------------- */
.wdemo__panel {
  position: relative;
  height: 100%;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  box-shadow: 0 16px 40px rgba(var(--pw-shadow-rgb), .09);
  overflow: hidden;
}
.wdemo__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pw-deep), var(--pw-accent) 55%, var(--pw-honey));
}

.wdemo__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.wdemo__title {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--pw-ink);
}

.wdemo__ring { position: relative; width: 58px; height: 58px; flex: none; }
.wdemo__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wdemo__ring-track { fill: none; stroke: var(--pw-line); stroke-width: 5; }
.wdemo__ring-bar {
  fill: none;
  stroke: var(--pw-deep);
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset .45s ease;
}
.wdemo__ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.wdemo__ring-text strong { font-size: 15px; font-weight: 800; color: var(--pw-deep); }
.wdemo__ring-text small { margin-top: 2px; font-size: 8.5px; color: var(--pw-muted); }

.wdemo__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: none;
}

.wdemo__step {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid var(--pw-line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s, background .16s, transform .16s, box-shadow .16s, color .16s;
}
.wdemo__step:hover { border-color: var(--pw-accent); transform: translateX(2px); }

.wdemo__step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 25px; height: 25px; flex: none;
  border-radius: 50%;
  background: var(--pw-tint);
  font-size: 11.5px; font-weight: 800; color: var(--pw-deep);
}
.wdemo__step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; flex: none;
  color: var(--pw-accent-strong);
}
.wdemo__step-icon svg { width: 20px; height: 20px; }
.wdemo__step-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wdemo__step-text strong { font-size: 13.5px; font-weight: 700; color: var(--pw-ink); }
.wdemo__step-text small { font-size: 11.5px; color: var(--pw-muted); }
.wdemo__step-check { margin-left: auto; width: 17px; height: 17px; flex: none; opacity: 0; color: #fff; transition: opacity .2s; }
.wdemo__step-check svg { width: 100%; height: 100%; }

/* active step: brand gradient, white text */
.wdemo__step.is-active {
  border-color: transparent;
  background: linear-gradient(100deg, var(--pw-deep) 0%, #4a7d5c 58%, #93b98a 100%);
  box-shadow: 0 10px 24px rgba(var(--pw-shadow-rgb), .24);
}
.wdemo__step.is-active .wdemo__step-no { background: rgba(255, 255, 255, .22); color: #fff; }
.wdemo__step.is-active .wdemo__step-icon { color: #dff0cf; }
.wdemo__step.is-active .wdemo__step-text strong { color: #fff; }
.wdemo__step.is-active .wdemo__step-text small { color: rgba(255, 255, 255, .80); }
.wdemo__step.is-active .wdemo__step-check { opacity: 1; }

/* completed steps: dimmed, tick shown */
.wdemo__step.is-done { background: var(--pw-bg); }
.wdemo__step.is-done .wdemo__step-no { background: var(--pw-deep); color: #fff; }
.wdemo__step.is-done .wdemo__step-check { opacity: 1; color: var(--pw-accent); }

/* ---------------- responsive ---------------- */
@media (max-width: 1023px) {
  .wdemo { grid-template-columns: 1fr; gap: 20px; }
  .wdemo__package-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wdemo__package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wdemo__stage { padding: 9px; }
  .wdemo__pill { top: 9px; left: 9px; padding: 6px 12px; font-size: 11.5px; }
  .wdemo__idle { padding: 18px 14px; }
  .wdemo__card-icon { width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; }
  .wdemo__card-icon svg { width: 22px; height: 22px; }
  .wdemo__terminal { width: min(260px, 88%); margin: 14px 0 12px; padding: 11px 13px 13px; }
  .wdemo__panel { padding: 18px 16px 16px; }
  .wdemo__step { padding: 9px 10px; gap: 9px; }
  .wdemo__step-text strong { font-size: 12.5px; }
  .wdemo__step-text small { font-size: 11px; }
}

/* Home → Products → Customize tab: the standard unit's feature list is not
   relevant while pricing customizations, so it collapses and the price block
   below moves up to the top of the column. */
.features.is-custom-model > h3,
.features.is-custom-model > .feature-list {
  display: none;
}
.features.is-custom-model > .price-row {
  margin-top: 0;
}