/* Businessbook Theme5 — Aqua Clarity (wellness / product-forward)
   Visual language from hydro reference; CENTRAL contract matches theme5.
   Design-system core (spacing/type/breakpoints/radius/z) follows theme3 recipe
   — see businessbook/theme_orchestration/NEW_THEME_PLAYBOOK.md
   Flavor stays unique: Manrope, aqua/blue palette, rounded-rect CTAs.
   No client-specific copy in this stylesheet.
*/

@font-face {
  font-family: "Aqua Clarity Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("fonts/smile-craft-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* === Design system — core (structure; shared recipe from theme3) === */
  --fs-body: 16px;
  --fs-body-sm: 15px;
  --lh-body: 1.65;
  --fs-h1: clamp(3rem, 5.2vw, 5.7rem);
  --fs-h2: clamp(2.1rem, 3.4vw, 3.5rem);
  --fs-h3: 1.22rem;
  --fs-eyebrow: 0.74rem;
  --fs-button: 0.78rem;
  --space-section: clamp(72px, 7vw, 108px);
  --space-section-md: 82px;
  --space-section-sm: 68px;
  --space-eyebrow-mb: 18px;
  --space-heading-mb: 48px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --container: min(1240px, calc(100% - 48px));
  --btn-min-height: 52px;
  --btn-pad-x: 26px;
  --z-skip: 1000;
  --z-header: 100;
  --z-overlay: 120;
  --z-raised: 2;
  /* Breakpoints (literal @media): 1120 / 860 / 620 */

  /* === Theme uniqueness — Aqua Clarity flavor === */
  --ink: #07347f;
  --ink-soft: #5b7489;
  --teal: #064ebc;
  --teal-deep: #073a93;
  --teal-mid: #0649aa;
  --mint: #eafcff;
  --mint-strong: #d4ebf0;
  --mint-pale: #edfaff;
  --ivory: #f6fcfe;
  --white: #ffffff;
  --gold: #09c5d5;
  --gold-light: #0bcda9;
  --line: #d4ebf0;
  --shadow: 0 24px 80px rgba(16, 56, 84, 0.13);
  --shadow-soft: 0 16px 50px rgba(20, 56, 80, 0.08);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-accent: "Manrope", system-ui, sans-serif;
  --btn-radius: var(--radius-sm); /* hydro: rounded-rect, not pill */
  --aqua: #09c5d5;
  --blue: #064ebc;
  --ice: #eafcff;
  --paper: #f6fcfe;
}

/* Admin palette bridge — remaps Aqua Clarity tokens when Brandbox injects --color-* */
body.site-theme-theme5 {
  --ink: var(--color-text, #07347f);
  --ink-soft: var(--color-muted, #5b7489);
  --teal: var(--color-primary, #064ebc);
  --teal-deep: var(--color-secondary, #073a93);
  --teal-mid: color-mix(in srgb, var(--color-primary, #064ebc) 70%, #0649aa);
  --mint: var(--color-primary-soft, #eafcff);
  --mint-strong: var(--color-secondary-soft, #d4ebf0);
  --mint-pale: var(--color-surface-hover, #edfaff);
  --ivory: var(--color-bg, #f6fcfe);
  /* Keep true white for hero/on-dark type — never alias to surface (dark palettes broke contrast). */
  --white: #ffffff;
  --panel: var(--color-surface, #ffffff);
  --gold: var(--color-accent, #09c5d5);
  --gold-light: color-mix(in srgb, var(--color-accent, #09c5d5) 55%, #fff);
  --line: var(--color-border, #d4ebf0);
  --shadow: 0 24px 80px color-mix(in srgb, var(--color-secondary, #073a93) 18%, transparent);
  --shadow-soft: 0 16px 50px color-mix(in srgb, var(--color-secondary, #073a93) 10%, transparent);
  --color-ink: var(--ink);
  --color-on-primary: var(--color-primary-text, #ffffff);
  --aqua: var(--gold);
  --blue: var(--teal);
  --ice: var(--mint);
  --paper: var(--ivory);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family:
    var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family:
    var(--font-body);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
}

p {
  color: var(--ink-soft);
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: var(--z-skip);
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 20px;
}

.site-container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.section {
  padding: var(--space-section) 0;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin-bottom: var(--space-eyebrow-mb);
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-light);
}

.button {
  align-items: center;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: var(--fs-button);
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.05em;
  min-height: var(--btn-min-height);
  padding: 0 var(--btn-pad-x);
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--white);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: color-mix(in srgb, var(--gold) 82%, var(--teal-deep));
}

.button-dark {
  background: var(--teal);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--teal-deep);
}

.button-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-ghost-light:hover,
.button-ghost-light:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.bb-studio-specific__article-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-top: 10px;
}

.bb-studio-specific__article-ctas .text-link {
  margin-top: 0;
}

.text-link {
  align-items: center;
  color: var(--teal);
  display: inline-flex;
  font-size: var(--fs-button);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 10px;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  color: var(--gold);
  font-size: 1rem;
  margin-left: 9px;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.section-heading {
  margin-bottom: var(--space-heading-mb);
  max-width: 820px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-split {
  align-items: end;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  max-width: none;
}

.heading-split > p,
.heading-split > div:last-child p {
  font-size: 1.03rem;
  margin-bottom: 0;
}

/* Header */
.utility-bar {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.utility-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 36px;
}

.utility-contact {
  align-items: center;
  display: flex;
  gap: 16px;
}

.utility-contact a:hover {
  color: var(--gold-light);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 6px 26px color-mix(in srgb, var(--teal-deep) 6%, transparent);
  overflow: visible;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  backdrop-filter: blur(18px);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  min-height: 88px;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(420px, 100%);
  text-decoration: none;
  color: inherit;
}

/* Height-driven logo; width follows real image ratio (no forced 328px slot). */
.brand img {
  height: 64px;
  width: auto;
  max-width: 328px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.brand .brand-name {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
}

/* Logo + name: sit side-by-side; don’t reserve a wide banner slot. */
.brand:has(.brand-name) {
  max-width: min(560px, 72%);
  width: auto;
  flex-basis: auto;
}

.brand:has(.brand-name) img {
  width: auto;
  max-width: min(120px, 28vw);
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  list-style: none;
  padding: 24px 0 22px;
  position: relative;
  text-transform: uppercase;
}

.nav-dropdown > summary {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.nav-caret {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--gold);
  display: inline-block;
  flex: 0 0 auto;
  height: 0;
  margin-top: 1px;
  transition: transform 180ms ease;
  width: 0;
}

.nav-dropdown[open] .nav-caret,
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown > summary::-webkit-details-marker,
.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.desktop-nav > a::after,
.nav-dropdown > summary::after {
  background: var(--gold);
  bottom: 22px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav > a:hover::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown[open] > summary::after {
  transform: scaleX(1);
}

.nav-dropdown {
  align-self: stretch;
  display: block;
  position: relative;
}

/* Override UA: closed <details> hides non-summary children — keep menu available for hover. */
.nav-dropdown > .treatment-menu {
  display: block;
}

.treatment-menu {
  background: var(--white);
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow);
  left: 50%;
  min-width: min(780px, calc(100% - 48px));
  opacity: 0;
  padding: 26px;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 2px);
  transform: translate(-50%, -6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
  z-index: var(--z-overlay);
}

/* Invisible bridge so the pointer can move from label into the panel. */
.treatment-menu::before {
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: -14px;
}

.nav-dropdown[open] > .treatment-menu,
.nav-dropdown:hover > .treatment-menu,
.nav-dropdown:focus-within > .treatment-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.menu-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 5px 18px;
}

.menu-heading span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.menu-heading a {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-links {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.menu-links a {
  border-radius: 12px;
  padding: 12px 13px;
  transition: background 160ms ease;
}

.menu-links a:hover {
  background: var(--mint-pale);
}

.menu-links span,
.menu-links small {
  display: block;
}

.menu-links span {
  font-size: 0.83rem;
  font-weight: 800;
}

.menu-links small {
  color: #66817a;
  font-size: 0.63rem;
  line-height: 1.35;
  margin-top: 3px;
}

.button-header {
  background: var(--teal);
  color: var(--white);
  min-height: 46px;
  padding-inline: 21px;
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.button-header--secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid color-mix(in srgb, var(--teal) 55%, transparent);
}
.button-header--secondary:hover,
.button-header--secondary:focus-visible {
  background: color-mix(in srgb, var(--teal) 10%, transparent);
  color: var(--teal);
}

.mobile-menu {
  display: none;
}

/* Mobile bottom Email/Book bar removed — floating actions will replace it later. */
.mobile-cta {
  display: none !important;
}

/* Home */
.home-hero {
  background: var(--teal-deep);
  color: var(--white);
  min-height: min(820px, calc(100svh - 110px));
  overflow: hidden;
  position: relative;
}

.home-hero-image,
.home-hero-overlay {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.home-hero-image {
  object-fit: cover;
  object-position: 58% center;
}

.home-hero-overlay {
  background:
    linear-gradient(
      105deg,
      rgba(7, 52, 127, 0.97) 0%,
      rgba(7, 58, 147, 0.88) 26%,
      rgba(6, 78, 188, 0.55) 48%,
      rgba(9, 197, 213, 0.18) 68%,
      rgba(9, 197, 213, 0.04) 100%
    ),
    linear-gradient(0deg, rgba(7, 52, 127, 0.58) 0%, transparent 46%);
}

.home-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(820px, calc(100svh - 110px));
  padding: clamp(72px, 11vh, 120px) 0 clamp(48px, 7vh, 76px);
  position: relative;
  z-index: 2;
}

.home-hero-content > .eyebrow {
  margin-bottom: 1.15rem;
  max-width: 36rem;
}

.home-hero h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 1.15rem;
  max-width: min(18ch, 100%);
}

.home-hero h1 .bb5-hero-title-main {
  display: inline;
  white-space: normal;
}

.home-hero h1 em,
.home-hero h1 .bb5-hero-em {
  color: var(--gold-light);
  display: inline;
  font-family: var(--font-display);
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: inherit;
  line-height: inherit;
  margin-left: 0;
  margin-top: 0;
}

.home-hero-content > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.68;
  margin: 0;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.85rem;
}

.home-hero .hero-actions .button {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  min-height: 50px;
  padding-inline: 1.55rem;
}

.hero-credentials {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5.5vh, 4rem);
  max-width: 36rem;
  padding-top: 1.35rem;
}

.hero-credentials span,
.hero-credentials strong {
  display: block;
}

.hero-credentials span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.hero-credentials strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.28rem;
}

.stats-section {
  background: var(--cream, #f7f3ec);
}

.bb5-stats-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.bb5-stats-card {
  background: var(--white);
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: var(--radius-sm, 14px);
  box-shadow: 0 10px 28px rgba(28, 28, 28, 0.05);
  padding: clamp(1.35rem, 2.5vw, 1.85rem) 1.25rem;
  text-align: center;
}

.bb5-stats-card__value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.55rem;
}

.bb5-stats-card__suffix {
  margin-left: 0.08em;
}

.bb5-stats-card__label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.trust-ribbon {
  background: var(--gold);
  color: var(--white);
  overflow: hidden;
}

.trust-ribbon > div {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: max-content;
}

.trust-ribbon span {
  align-items: center;
  display: flex;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 58px;
  padding: 0 34px;
  text-transform: uppercase;
}

.trust-ribbon span:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.6);
  content: "◆";
  font-size: 0.4rem;
  margin-left: 68px;
}

/* Highlights — centered heading + icon feature cards */
.highlights-section {
  background: var(--ivory);
}
.highlights-section .highlights-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}
.highlights-section .highlights-heading .eyebrow {
  display: block;
  margin-bottom: 0.65rem;
}
.highlights-section .highlights-heading h2 {
  margin: 0;
  text-align: center;
  max-width: 18ch;
}
.highlights-section .highlights-heading__text {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.03rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--ink, #1a2422) 72%, transparent);
  text-align: center;
}
/* Highlights: 4-up flex; incomplete last row centers (e.g. 5 → 4 + 1 centered). */
.bb5-feature-grid {
  --bb5-feat-gap: 18px;
  --bb5-feat-cols: 4;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bb5-feat-gap);
}
.bb5-feature-card {
  flex: 0 1 calc((100% - (var(--bb5-feat-cols) - 1) * var(--bb5-feat-gap)) / var(--bb5-feat-cols));
  width: calc((100% - (var(--bb5-feat-cols) - 1) * var(--bb5-feat-gap)) / var(--bb5-feat-cols));
  max-width: calc((100% - (var(--bb5-feat-cols) - 1) * var(--bb5-feat-gap)) / var(--bb5-feat-cols));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin: 0;
  padding: 1.85rem 1.35rem 1.9rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--teal, #064ebc) 12%, transparent);
  border-radius: 2px;
  min-height: 100%;
  min-width: 0;
  box-shadow: 0 10px 28px rgba(20, 40, 36, 0.04);
}
.bb5-feature-card__icon {
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold, #09c5d5) 16%, var(--white));
  color: var(--gold, #09c5d5);
  font-size: 1.1rem;
  line-height: 1;
}
.bb5-feature-card__icon i {
  display: block;
  line-height: 1;
}
.bb5-feature-card__check {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold, #09c5d5);
}
.bb5-feature-card__body {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
.bb5-feature-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink, #1a2422);
  line-height: 1.25;
  text-align: center;
}
.bb5-feature-card__text {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink, #1a2422) 68%, transparent);
  text-align: center;
}
.bb5-feature-card.is-title-only .bb5-feature-card__title {
  margin-bottom: 0;
}

.services-home {
  background: var(--ivory);
}

/* Catalogue: 3-up flex; incomplete last row centers (e.g. 5 → 3 + 2 centered). */
.service-showcase {
  --bb5-cat-gap: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bb5-cat-gap);
}

.service-showcase > a {
  flex: 0 1 calc((100% - (2 * var(--bb5-cat-gap))) / 3);
  width: calc((100% - (2 * var(--bb5-cat-gap))) / 3);
  max-width: calc((100% - (2 * var(--bb5-cat-gap))) / 3);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 460px;
  overflow: hidden;
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-showcase > a > img {
  height: 220px;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.service-showcase > a:hover > img {
  transform: scale(1.035);
}

.service-showcase > a > div {
  padding: 28px 28px 32px;
}

.service-showcase span,
.service-showcase strong {
  color: var(--gold);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-showcase h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 750;
  margin: 11px 0 13px;
  color: var(--ink);
}

.service-showcase p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Legacy featured class (unused on catalogue) — keep equal card chrome. */
.service-showcase .service-featured,
.service-showcase .service-featured > img,
.service-showcase .service-featured > div {
  position: static;
  grid-column: auto;
  grid-template-columns: unset;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
}

.service-showcase .service-featured > img {
  height: 220px;
  object-fit: cover;
}

.service-showcase .service-featured h3 {
  font-size: 1.35rem;
}

@media (max-width: 1120px) {
  .service-showcase > a {
    flex-basis: calc((100% - var(--bb5-cat-gap)) / 2);
    width: calc((100% - var(--bb5-cat-gap)) / 2);
    max-width: calc((100% - var(--bb5-cat-gap)) / 2);
  }
}

@media (max-width: 620px) {
  .service-showcase > a {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
}

.doctor-home {
  background: var(--mint);
  overflow: hidden;
}

.doctor-home-grid {
  align-items: center;
  display: grid;
  gap: clamp(55px, 7vw, 100px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.doctor-image-wrap {
  position: relative;
}

.doctor-image-wrap::before {
  border: 1px solid rgba(199, 146, 44, 0.6);
  border-radius: 50%;
  content: "";
  height: 330px;
  left: -120px;
  position: absolute;
  top: -90px;
  width: 330px;
}

.doctor-image-wrap img {
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 30px 30px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 62% center;
  position: relative;
  width: 100%;
}

.doctor-badge {
  background: var(--teal);
  border: 5px solid var(--mint);
  border-radius: 18px;
  bottom: 34px;
  color: var(--white);
  max-width: 280px;
  padding: 20px 24px;
  position: absolute;
  right: -30px;
}

.doctor-badge span,
.doctor-badge strong,
.doctor-badge em {
  display: block;
}

.doctor-badge span {
  color: var(--gold-light);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doctor-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.doctor-badge em {
  color: rgba(255, 255, 255, 0.85);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  margin-top: 0.35rem;
}

.doctor-home-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}

.doctor-home-copy .lead {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.doctor-home-copy p:not(.lead) {
  font-size: 0.96rem;
}

.doctor-home-copy .button {
  margin-top: 12px;
}

/* CUSTOM HTML wrapper: pass through so theme sections keep their layout. */
.bb-pro-custom {
  display: contents;
}

.philosophy-section {
  background: var(--teal);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.philosophy-section::after {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  height: 640px;
  position: absolute;
  right: -260px;
  top: -220px;
  width: 640px;
}

.philosophy-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
  position: relative;
  z-index: 1;
}

.philosophy-title h2 {
  color: var(--white);
}

.philosophy-copy > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.promise-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
}

.promise-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 150px;
  padding: 28px;
}

.promise-grid strong,
.promise-grid span {
  display: block;
}

.promise-grid strong {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.promise-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.clinic-spotlight {
  background: var(--white);
}

.clinic-spotlight-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.75fr 1.25fr;
}

.feature-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.feature-list li {
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 0 12px 26px;
  position: relative;
}

.feature-list li::before {
  color: var(--gold);
  content: "✓";
  left: 0;
  position: absolute;
}

.feature-list li.has-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}

.feature-list li.has-icon::before {
  content: none;
  display: none;
}

.feature-list li.has-icon > i {
  color: var(--gold);
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: 1px;
  width: 1.1rem;
  text-align: center;
}

.feature-list li.has-icon > span {
  flex: 1 1 auto;
  min-width: 0;
}

.clinic-collage {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.7fr 1.3fr;
}

.clinic-collage img {
  border-radius: var(--radius);
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.clinic-collage img:first-child {
  margin-top: 70px;
}

/* Gallery */
.gallery-section {
  background: var(--mint-pale);
}

.care-gallery {
  display: grid;
  gap: 15px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
}

/* Theme5 care rail — JS morphs a true wider center; no CSS width transitions. */
.care-gallery--rail {
  display: block;
  overflow: hidden;
}

.care-gallery--rail .care-gallery__track {
  display: flex;
  align-items: stretch;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.care-gallery--rail .care-gallery__track::-webkit-scrollbar {
  display: none;
}

.care-gallery--rail figure {
  flex: 0 0 calc(25% - 11.25px);
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  transform: none;
  transition: none;
  will-change: auto;
  z-index: 1;
}

.care-gallery--rail figure.is-center,
.care-gallery--rail .gallery-wide {
  flex: 0 0 calc(50% - 7.5px);
  grid-column: unset;
  transform: none;
  z-index: 2;
}

.care-gallery--rail figure img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: none;
  width: 100%;
}

.care-gallery--rail figure:hover img {
  transform: none;
}

.care-gallery--rail figure::after {
  border-radius: inherit;
}

.care-gallery figure {
  border-radius: 20px;
  height: 300px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.care-gallery .gallery-wide {
  grid-column: span 2;
}

.care-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.care-gallery figure:hover img {
  transform: scale(1.035);
}

.care-gallery figure::after {
  background: linear-gradient(0deg, rgba(6, 31, 27, 0.78), transparent 60%);
  content: "";
  inset: 0;
  position: absolute;
}

.care-gallery figcaption {
  bottom: 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  left: 20px;
  position: absolute;
  z-index: 1;
}

.care-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.care-gallery__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal, #064ebc) 22%, transparent);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, width 0.18s ease;
}

.care-gallery__dot:hover {
  background: color-mix(in srgb, var(--gold, #09c5d5) 70%, transparent);
  transform: scale(1.12);
}

.care-gallery__dot.is-active {
  width: 22px;
  background: var(--gold, #09c5d5);
}

.care-gallery__dot:focus-visible {
  outline: 2px solid var(--gold, #09c5d5);
  outline-offset: 3px;
}

/* FAQ & forms */
.faq-section {
  background: var(--ivory);
}

.faq-layout {
  display: grid;
  gap: 85px;
  grid-template-columns: 0.78fr 1.22fr;
}

.faq-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  justify-content: space-between;
  list-style: none;
  padding: 24px 0;
}

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

.accordion summary span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  flex: 0 0 34px;
  font-family: Arial, sans-serif;
  height: 34px;
  justify-content: center;
  margin-left: 20px;
  transition: transform 180ms ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  font-size: 0.91rem;
  padding: 0 54px 24px 0;
}

.booking-band {
  background: var(--teal-deep);
  color: var(--white);
}

.booking-layout {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
}

.booking-layout h2 {
  color: var(--white);
}

.booking-layout > div:first-child > p {
  color: rgba(255, 255, 255, 0.68);
}

.appointment-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 36px;
}

.appointment-form label,
.appointment-form label > span {
  display: block;
}

.appointment-form label > span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  background: #f7faf8;
  border: 1px solid rgba(20, 38, 34, 0.13);
  border-radius: 11px;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
  width: 100%;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 146, 44, 0.14);
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.appointment-form > label {
  margin-bottom: 14px;
}

.appointment-form .button {
  border: 0;
  margin-top: 4px;
  width: 100%;
}

.form-note {
  color: #6b7c78;
  font-size: 0.7rem;
  line-height: 1.5;
  margin: 13px 0 0;
}

.appointment-form-compact {
  padding: 30px;
}

/* Service pages */
.service-hero {
  align-items: center;
  background: var(--teal-deep);
  color: var(--white);
  display: flex;
  min-height: 660px;
  overflow: hidden;
  position: relative;
}

.service-hero-image,
.service-hero-shade {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.service-hero-image {
  object-fit: cover;
}

.service-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(9, 35, 31, 0.97) 0%,
      rgba(9, 35, 31, 0.88) 39%,
      rgba(9, 35, 31, 0.25) 72%,
      transparent
    ),
    linear-gradient(0deg, rgba(9, 35, 31, 0.45), transparent 50%);
}

.service-hero-content {
  padding: 95px 0 80px;
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  color: var(--white);
  font-size: clamp(3.3rem, 5.8vw, 5.8rem);
  max-width: 810px;
}

.service-hero-content > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  max-width: 710px;
}

.breadcrumbs {
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.66rem;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.06em;
  margin-bottom: 55px;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs-dark {
  color: #6a807a;
}

.prose-layout {
  display: grid;
  gap: 95px;
  grid-template-columns: 0.68fr 1.32fr;
}

.prose-aside {
  align-self: start;
  position: sticky;
  top: 135px;
}

.prose-aside h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
}

.prose-aside > p {
  font-size: 0.78rem;
}

.keyword-chip {
  background: var(--mint);
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  font-size: 0.67rem;
  font-weight: 800;
  margin: 12px 0 24px;
  padding: 10px 15px;
  text-transform: uppercase;
}

.rich-prose > p {
  font-size: 0.98rem;
  line-height: 1.68;
  max-width: 70ch;
}

.bb5-product-detail .bb5-product-subhead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--teal, #0f3d3a);
}

.bb5-product-detail .bb5-product-best {
  margin: 1rem 0 0.5rem;
  max-width: 70ch;
}

.bb5-product-detail .bb5-product-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  max-width: 70ch;
  display: grid;
  gap: 0.55rem;
}

.bb5-product-detail .bb5-product-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text, #07347f);
}

.bb5-product-detail .bb5-product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold, #c9a227);
}

/* —— Aqua Clarity product detail (catalogue-driven) —— */
body.site-theme-theme5 .bb5-pdp {
  background: #f3fafb;
}
body.site-theme-theme5 .bb5-pdp__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 1.4rem 0 0;
  color: #7890a1;
  font-size: 0.72rem;
}
body.site-theme-theme5 .bb5-pdp__crumb a {
  color: inherit;
  text-decoration: none;
}
body.site-theme-theme5 .bb5-pdp__crumb a:hover {
  color: var(--blue, #0a5f9e);
}
body.site-theme-theme5 .bb5-pdp__crumb b {
  color: var(--ink, #07347f);
  font-weight: 700;
}
body.site-theme-theme5 .bb5-pdp-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 43% 35%, rgba(72, 214, 212, 0.17), transparent 22%),
    #f3fafb;
}
body.site-theme-theme5 .bb5-pdp-hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 0.85fr 0.75fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}
body.site-theme-theme5 .bb5-pdp-hero__copy h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: var(--ink, #07347f);
}
body.site-theme-theme5 .bb5-pdp-hero__tagline {
  margin: 0 0 1rem;
  color: var(--ink, #07347f) !important;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}
body.site-theme-theme5 .bb5-pdp-hero__copy > p:not(.bb5-pdp-hero__tagline):not(.bb5-pdp-hero__price) {
  margin: 0;
  color: var(--muted, #5f7a8a);
  font-size: 0.92rem;
  line-height: 1.6;
}
body.site-theme-theme5 .bb5-pdp-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.4rem 0;
}
body.site-theme-theme5 .bb5-pdp-chips span {
  display: flex;
  flex-direction: column;
  border: 1px solid #d3e5e8;
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.65);
}
body.site-theme-theme5 .bb5-pdp-chips b {
  color: var(--ink, #07347f);
  font-size: 0.95rem;
}
body.site-theme-theme5 .bb5-pdp-chips small {
  margin-top: 0.15rem;
  color: var(--muted, #5f7a8a);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-pdp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
body.site-theme-theme5 .bb5-pdp-hero__price {
  margin: 1rem 0 0;
  font-size: 1rem;
}
body.site-theme-theme5 .bb5-pdp-hero__price s {
  opacity: 0.65;
  margin-left: 0.35rem;
}
body.site-theme-theme5 .bb5-pdp-hero__media {
  position: relative;
  min-height: 26rem;
  display: grid;
  place-items: center;
}
body.site-theme-theme5 .bb5-pdp-hero__halo {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 219, 216, 0.24), rgba(67, 146, 214, 0.06) 58%, transparent 70%);
}
body.site-theme-theme5 .bb5-pdp-hero__media img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 24rem;
  object-fit: contain;
  filter: drop-shadow(0 25px 30px rgba(23, 74, 100, 0.2));
}
body.site-theme-theme5 .bb5-pdp-hero__badge {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.35rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #0d556a;
  background: #c9f2ef;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-pdp-hero__fit {
  position: absolute;
  z-index: 3;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #d0e5e8;
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 30px rgba(21, 72, 96, 0.1);
}
body.site-theme-theme5 .bb5-pdp-hero__fit small {
  color: var(--muted, #5f7a8a);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-pdp-hero__fit b {
  margin-top: 0.25rem;
  color: var(--ink, #07347f);
  font-size: 0.78rem;
  line-height: 1.45;
}
body.site-theme-theme5 .bb5-pdp-lead {
  border-radius: 1.4rem;
  padding: 1.6rem;
  background: #fff;
  box-shadow: 0 24px 55px rgba(26, 72, 94, 0.12);
}
body.site-theme-theme5 .bb5-pdp-lead h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--ink, #07347f);
}
body.site-theme-theme5 .bb5-pdp-lead__fields {
  display: grid;
  gap: 0.75rem;
}
body.site-theme-theme5 .bb5-pdp-lead label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted, #5f7a8a);
}
body.site-theme-theme5 .bb5-pdp-lead input,
body.site-theme-theme5 .bb5-pdp-lead select {
  width: 100%;
  border: 1px solid #d3e5e8;
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  background: #f7fbfc;
  color: var(--ink, #07347f);
  font: inherit;
}
body.site-theme-theme5 .bb5-pdp-lead .button {
  width: 100%;
  margin-top: 0.9rem;
}
body.site-theme-theme5 .bb5-pdp-section-head {
  margin-bottom: 1.75rem;
}
body.site-theme-theme5 .bb5-pdp-section-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ink, #07347f);
}
body.site-theme-theme5 .bb5-pdp-section-head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
}
body.site-theme-theme5 .bb5-pdp-section-head--split > p {
  margin: 0;
  color: var(--muted, #5f7a8a);
  font-size: 0.88rem;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-pdp-highlights {
  background: #fff;
}
body.site-theme-theme5 .bb5-pdp-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
body.site-theme-theme5 .bb5-pdp-highlights__grid article {
  min-height: 12rem;
  border: 1px solid var(--line, #d7e8eb);
  border-radius: 1.15rem;
  padding: 1.35rem;
  background: linear-gradient(150deg, #fff, #f7fbfc);
}
body.site-theme-theme5 .bb5-pdp-mark {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2rem;
  border: 1px solid #c9e7ec;
  border-radius: 0.9rem;
  color: var(--blue, #0a5f9e);
  background: linear-gradient(145deg, #f6fdff, #e7f8fa);
  font-size: 0.78rem;
  font-weight: 800;
}
body.site-theme-theme5 .bb5-pdp-highlights__grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink, #07347f);
}
body.site-theme-theme5 .bb5-pdp-highlights__grid p {
  margin: 0;
  color: var(--muted, #5f7a8a);
  font-size: 0.82rem;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-pdp-specs {
  color: #fff;
  background: #052f78;
}
body.site-theme-theme5 .bb5-pdp-specs__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 4rem;
}
body.site-theme-theme5 .bb5-pdp-specs h2 {
  margin: 0.4rem 0 1.25rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
}
body.site-theme-theme5 .bb5-pdp-specs dl {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  overflow: hidden;
}
body.site-theme-theme5 .bb5-pdp-specs dl div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.3rem;
}
body.site-theme-theme5 .bb5-pdp-specs dl div:last-child {
  border-bottom: 0;
}
body.site-theme-theme5 .bb5-pdp-specs dt {
  color: #94abba;
  font-size: 0.82rem;
}
body.site-theme-theme5 .bb5-pdp-specs dd {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
}
body.site-theme-theme5 .bb5-pdp-compare {
  background: #fff;
}
body.site-theme-theme5 .bb5-pdp-compare__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
body.site-theme-theme5 .bb5-pdp-compare__grid article {
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid var(--line, #d7e8eb);
  border-radius: 1rem;
  background: #f7fbfc;
}
body.site-theme-theme5 .bb5-pdp-compare__grid img {
  width: 100%;
  height: 12rem;
  object-fit: contain;
  padding: 0.9rem;
  background: linear-gradient(145deg, #edfaff, #e6faf5);
}
body.site-theme-theme5 .bb5-pdp-compare__grid article > div {
  padding: 1.2rem 1.1rem;
}
body.site-theme-theme5 .bb5-pdp-compare__grid span {
  color: var(--blue, #0a5f9e);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-pdp-compare__grid h3 {
  margin: 0.45rem 0;
  font-size: 1.05rem;
  color: var(--ink, #07347f);
}
body.site-theme-theme5 .bb5-pdp-compare__grid p {
  margin: 0 0 0.75rem;
  color: var(--muted, #5f7a8a);
  font-size: 0.75rem;
  line-height: 1.5;
}
body.site-theme-theme5 .bb5-pdp-faq {
  background: #f7fbfc;
}
body.site-theme-theme5 .bb5-pdp-faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
body.site-theme-theme5 .bb5-pdp-faq__grid > div:first-child p {
  margin: 0.75rem 0 0;
  color: var(--muted, #5f7a8a);
  font-size: 0.95rem;
}
body.site-theme-theme5 .bb5-pdp-faq__list details {
  border-bottom: 1px solid #d7e8eb;
  padding: 0.95rem 0;
}
body.site-theme-theme5 .bb5-pdp-faq__list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink, #07347f);
  font-weight: 700;
  font-size: 0.98rem;
}
body.site-theme-theme5 .bb5-pdp-faq__list summary::-webkit-details-marker {
  display: none;
}
body.site-theme-theme5 .bb5-pdp-faq__list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue, #0a5f9e);
  font-size: 1.2rem;
  line-height: 1;
}
body.site-theme-theme5 .bb5-pdp-faq__list details[open] summary::after {
  content: "−";
}
body.site-theme-theme5 .bb5-pdp-faq__list details p {
  margin: 0.7rem 0 0.2rem;
  color: var(--muted, #5f7a8a);
  font-size: 0.88rem;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-pdp-shop {
  background: #fff;
  text-align: center;
}

@media (max-width: 1040px) {
  body.site-theme-theme5 .bb5-pdp-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
  body.site-theme-theme5 .bb5-pdp-hero__form {
    grid-column: 1 / -1;
  }
  body.site-theme-theme5 .bb5-pdp-lead {
    max-width: 42rem;
    margin: 0 auto;
  }
  body.site-theme-theme5 .bb5-pdp-highlights__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body.site-theme-theme5 .bb5-pdp-compare__grid {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme5 .bb5-pdp-compare__grid article {
    grid-template-columns: 12rem 1fr;
  }
}
@media (max-width: 820px) {
  body.site-theme-theme5 .bb5-pdp-hero__grid,
  body.site-theme-theme5 .bb5-pdp-specs__grid,
  body.site-theme-theme5 .bb5-pdp-faq__grid,
  body.site-theme-theme5 .bb5-pdp-section-head--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  body.site-theme-theme5 .bb5-pdp-highlights__grid {
    grid-template-columns: 1fr 1fr;
  }
  body.site-theme-theme5 .bb5-pdp-compare__grid article {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme5 .bb5-pdp-compare__grid img {
    height: 10rem;
  }
}
@media (max-width: 560px) {
  body.site-theme-theme5 .bb5-pdp-chips,
  body.site-theme-theme5 .bb5-pdp-highlights__grid {
    grid-template-columns: 1fr;
  }
}

/* Studio SPECIFIC blocks inherit theme spacing on Aqua Clarity */
body.site-theme-theme5 .bb-studio-specific {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

body.site-theme-theme5 .bb-studio-specific__inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.focus-panel {
  align-items: flex-start;
  background: var(--mint-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr;
  margin-top: 36px;
  padding: 30px;
}

.focus-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: var(--gold-light);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.focus-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.focus-panel p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.care-section {
  background: var(--mint);
}

.care-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.care-grid article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  min-height: 220px;
  padding: 28px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.care-grid article:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.card-kicker {
  color: var(--gold);
  display: block;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.care-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
  margin-bottom: 9px;
}

.care-grid p {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.treatment-visual-section {
  background: var(--ivory);
}

.treatment-visual-heading {
  margin-bottom: 38px;
}

.treatment-visual-heading h2 {
  max-width: 760px;
}

.treatment-visual-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.treatment-visual-card {
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 24px;
  grid-template-columns: 92px 1fr;
  min-height: 210px;
  padding: 30px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.treatment-visual-card:hover {
  border-color: rgba(24, 167, 223, 0.36);
  box-shadow: 0 22px 45px rgba(17, 55, 72, 0.08);
  transform: translateY(-4px);
}

.treatment-icon {
  align-items: center;
  aspect-ratio: 1;
  background: #eef9fc;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  padding: 14px;
}

.treatment-icon svg {
  height: 64px;
  overflow: visible;
  width: 64px;
}

.treatment-icon .icon-base {
  fill: #24447b;
  stroke: #24447b;
}

.treatment-icon .icon-accent {
  fill: none;
  stroke: #16a7df;
}

.treatment-visual-card h3 {
  color: #24447b;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 7px 0 10px;
}

.treatment-visual-card p {
  font-size: 0.79rem;
  line-height: 1.62;
  margin: 0;
}

.pathway-section {
  background: var(--white);
}

.pathway-layout {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
}

.pathway-image-stack {
  position: relative;
}

.pathway-image-stack img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
}

.pathway-note {
  background: var(--teal);
  border: 5px solid var(--white);
  border-radius: 18px;
  bottom: 32px;
  color: var(--white);
  max-width: 320px;
  padding: 24px;
  position: absolute;
  right: -32px;
}

.pathway-note span,
.pathway-note strong,
.pathway-note small {
  display: block;
}

.pathway-note span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.pathway-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.pathway-note small {
  color: rgba(255, 255, 255, 0.68);
}

.pathway-list {
  margin-top: 36px;
}

.pathway-list article {
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
  padding: 0 0 24px;
  position: relative;
}

.pathway-list article:not(:last-child)::before {
  background: var(--mint-strong);
  content: "";
  height: calc(100% - 4px);
  left: 6px;
  position: absolute;
  top: 13px;
  width: 1px;
}

.pathway-list article > span {
  background: var(--gold);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold);
  height: 13px;
  margin-top: 7px;
  position: relative;
  width: 13px;
  z-index: 1;
}

.pathway-list h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.pathway-list p {
  font-size: 0.84rem;
  margin-bottom: 0;
}

.aftercare-section {
  background: var(--ivory);
  padding-top: 0;
}

.aftercare-card {
  background: var(--teal);
  border-radius: var(--radius-lg);
  color: var(--white);
  display: grid;
  gap: 70px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(44px, 6vw, 80px);
}

.aftercare-card h2 {
  color: var(--white);
}

.aftercare-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.related-section {
  background: var(--white);
}

.related-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.related-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 280px;
  padding: 30px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.related-grid a:hover {
  background: var(--mint-pale);
  transform: translateY(-4px);
}

.related-grid span {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  margin: 30px 0 12px;
}

.related-grid p {
  font-size: 0.82rem;
}

.related-grid strong {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* About page — Aqua Clarity (palette-driven) */
.about-hero,
body.site-theme-theme5 .bb5-about-page {
  background:
    radial-gradient(
      ellipse 70% 55% at 100% 0%,
      color-mix(in srgb, var(--color-accent, var(--gold, #09c5d5)) 14%, transparent),
      transparent 55%
    ),
    linear-gradient(
      165deg,
      var(--color-surface-hover, var(--mint-pale, #edfaff)) 0%,
      var(--color-primary-soft, var(--mint, #eafcff)) 48%,
      var(--color-bg, var(--ivory, #f6fcfe)) 100%
    );
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 88px);
  color: var(--color-text, var(--ink));
}

.about-hero-grid,
body.site-theme-theme5 .bb5-about-page__grid {
  align-items: center;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

body.site-theme-theme5 .bb5-about-page__grid.is-copy-only {
  grid-template-columns: minmax(0, 720px);
}

.about-hero-copy,
body.site-theme-theme5 .bb5-about-page__copy {
  padding-bottom: 0;
  max-width: 640px;
}

.about-hero-copy .breadcrumbs,
body.site-theme-theme5 .bb5-about-page__copy .breadcrumbs {
  margin-bottom: 28px;
}

.about-hero h1,
body.site-theme-theme5 .bb5-about-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
  color: var(--color-text, var(--ink));
}

body.site-theme-theme5 .bb5-about-page__copy .eyebrow {
  margin-bottom: 14px;
  color: var(--color-primary, var(--blue, var(--teal)));
}

.about-lead,
body.site-theme-theme5 .bb5-about-page .about-lead {
  color: var(--color-primary, var(--teal));
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 1rem;
  max-width: 38rem;
}

.about-hero-copy > p:not(.about-lead),
body.site-theme-theme5 .bb5-about-page__body > p:not(.about-lead) {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-muted, var(--ink-soft));
  max-width: 38rem;
  margin: 0 0 0.85rem;
}

.about-hero-copy .button {
  margin-top: 14px;
}

.about-hero-image,
body.site-theme-theme5 .bb5-about-page__visual {
  position: relative;
  min-width: 0;
}

.about-hero-image > img,
body.site-theme-theme5 .bb5-about-page__visual > img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  width: 100%;
  display: block;
  box-shadow: var(--shadow-soft);
  background: var(--color-surface, var(--panel, var(--white)));
  border: 1px solid var(--color-border, var(--line, transparent));
}

/* Logo / brand mark — contain in a soft panel (never crop like a portrait). */
body.site-theme-theme5 .bb5-about-page__visual.is-brand-panel {
  display: grid;
  place-items: center;
  min-height: min(560px, 70vw);
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 30% 25%,
      color-mix(in srgb, var(--color-accent, var(--gold, #09c5d5)) 22%, transparent),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      var(--color-secondary, var(--teal-deep, #052e77)) 0%,
      var(--color-primary, var(--teal, #064ebc)) 55%,
      color-mix(
        in srgb,
        var(--color-primary, #07516f) 70%,
        var(--color-accent, var(--gold, #09c5d5))
      ) 100%
    );
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.site-theme-theme5 .bb5-about-page__visual.is-brand-panel > img {
  aspect-ratio: auto;
  width: auto;
  max-width: min(280px, 72%);
  max-height: 168px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  filter: brightness(0) invert(1);
}

.about-hero-image .doctor-badge,
body.site-theme-theme5 .bb5-about-page__badge {
  bottom: 22px;
  left: auto;
  max-width: min(300px, 78%);
  right: 18px;
  border-radius: 16px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--color-secondary, var(--teal-deep, #052e77)) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--color-secondary, var(--teal-deep, #052e77)) 28%, transparent);
}

body.site-theme-theme5 .bb5-about-page__badge span {
  color: var(--color-accent, var(--aqua, var(--gold)));
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-theme-theme5 .bb5-about-page__badge strong {
  display: block;
  margin-top: 4px;
  color: var(--color-on-primary, var(--color-primary-text, #fff));
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

body.site-theme-theme5 .bb5-about-page__badge em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
}

.about-hero-copy .doctor-home-actions,
body.site-theme-theme5 .bb5-about-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 1.75rem;
}

.about-hero-copy .about-lead + p,
body.site-theme-theme5 .bb5-about-page__body .about-lead + p {
  margin-top: 0.35rem;
}

.qualification-ribbon {
  background: var(--teal);
  border-radius: 18px 18px 0 0;
  bottom: 0;
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: 0.5fr 1.4fr 1.4fr;
  left: -50px;
  overflow: hidden;
  position: absolute;
  right: 0;
}

.qualification-ribbon span {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  font-size: 0.67rem;
  font-weight: 700;
  min-height: 90px;
  padding: 18px;
}

.biography-section {
  background: var(--white);
}

.biography-layout {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.83fr 1.17fr;
}

.education-list {
  margin-top: 36px;
}

.education-list article {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.education-list strong,
.education-list span {
  display: block;
}

.education-list strong {
  font-size: 0.84rem;
}

.education-list span {
  color: #617771;
  font-size: 0.76rem;
  margin-top: 4px;
}

.founder-story {
  background: var(--teal);
  color: var(--white);
}

.founder-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.founder-photo img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.founder-grid h2 {
  color: var(--white);
}

.founder-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.promise-section {
  background: var(--ivory);
}

.promise-cards {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(4, 1fr);
}

.promise-cards article {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 270px;
  padding: 30px;
}

.promise-cards span {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promise-cards h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 48px 0 12px;
}

.promise-cards p {
  font-size: 0.82rem;
}

/* ---------- Categories (catalogue productCategories) ---------- */
.bb5-categories-section {
  background: var(--ivory);
}
.bb5-categories-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.bb5-category-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.bb5-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(7, 58, 147, 0.12);
}
.bb5-category-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(20, 38, 34, 0.06);
}
.bb5-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bb5-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 22px;
}
.bb5-category-card__eyebrow {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bb5-category-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
  color: var(--ink);
}
.bb5-category-card--no-media {
  justify-content: flex-end;
  min-height: 160px;
}

.quote-section {
  background: var(--mint);
}

.quote-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.quote-card > span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 0.6;
}

.quote-card blockquote {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.18;
  max-width: 980px;
}

.quote-card cite {
  color: #5e756f;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  margin-bottom: 30px;
}

/* Treatments */
.treatments-hero {
  background: var(--mint);
  padding: 90px 0;
  overflow: hidden;
}

.treatments-hero-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.treatments-hero h1 {
  font-size: clamp(3.3rem, 5.5vw, 5.6rem);
}

.treatments-hero p {
  font-size: 1rem;
  max-width: 680px;
}

.treatments-hero-images {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.treatments-hero-images img {
  border-radius: 180px 180px 25px 25px;
  height: 540px;
  object-fit: cover;
  width: 100%;
}

.treatments-hero-images img:last-child {
  margin-top: 70px;
}

.treatments-hero-single {
  grid-template-columns: 1fr;
}

.treatments-hero-single img,
.treatments-hero-single img:last-child {
  border-radius: 240px 240px 28px 28px;
  margin-top: 0;
}

.treatment-intro {
  background: var(--white);
}

.all-treatments {
  background: var(--ivory);
}

.all-treatment-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.all-treatment-grid article {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.treatment-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.treatment-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  width: 100%;
}

.all-treatment-grid article:hover img {
  transform: scale(1.04);
}

.treatment-image span {
  background: rgba(7, 58, 147, 0.88);
  border-radius: 999px;
  bottom: 16px;
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  left: 16px;
  letter-spacing: 0.07em;
  padding: 8px 11px;
  position: absolute;
  text-transform: uppercase;
}

.all-treatment-grid article > div:last-child {
  padding: 27px;
}

.all-treatment-grid small {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.all-treatment-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 10px 0 12px;
}

.all-treatment-grid p {
  font-size: 0.81rem;
}

.decision-section {
  background: var(--teal);
  color: var(--white);
}

.decision-grid {
  display: grid;
  gap: 85px;
  grid-template-columns: 0.72fr 1.28fr;
}

.decision-title {
  align-self: start;
  position: sticky;
  top: 130px;
}

.decision-title h2 {
  color: var(--white);
}

.decision-title p {
  color: rgba(255, 255, 255, 0.7);
}

.decision-options {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.decision-options article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px;
}

.decision-options span {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.decision-options p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  margin: 12px 0 18px;
}

.decision-options a {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.treatment-standards {
  background: var(--white);
}

.standard-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.75fr 1.25fr;
}

.standard-list {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.standard-list article {
  border-top: 3px solid var(--gold);
  padding-top: 20px;
}

.standard-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.standard-list p {
  font-size: 0.8rem;
  margin-top: 8px;
}

.simple-cta {
  background: var(--teal-deep);
}

.simple-cta-inner {
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.simple-cta h2 {
  color: var(--white);
  margin-bottom: 0;
  max-width: 820px;
}

/* Contact */
.contact-hero {
  align-items: center;
  background: var(--teal);
  display: flex;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.contact-hero > img,
.contact-hero-overlay {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.contact-hero > img {
  object-fit: cover;
  object-position: center 45%;
}

.contact-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 36, 32, 0.96),
    rgba(10, 36, 32, 0.72) 50%,
    rgba(10, 36, 32, 0.12)
  );
}

.contact-hero-content {
  color: var(--white);
  padding: 90px 0;
  position: relative;
}

.contact-hero h1 {
  color: var(--white);
  max-width: 900px;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  max-width: 650px;
}

.contact-form-section {
  background: var(--mint);
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-copy > p {
  font-size: 0.94rem;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 35px;
}

.contact-cards article {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 18px 20px;
}

.contact-cards span,
.contact-cards strong,
.contact-cards a {
  display: block;
}

.contact-cards span {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cards strong,
.contact-cards a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.07rem;
  font-weight: 500;
  margin-top: 4px;
}

.form-card-heading {
  background: var(--teal);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--white);
  padding: 28px 36px;
}

.form-card-heading span {
  color: var(--gold-light);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card-heading h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin: 5px 0 0;
}

.form-card .appointment-form {
  border-radius: 0 0 var(--radius) var(--radius);
}

.first-visit-section {
  background: var(--white);
}

.first-visit-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}

.visit-notes {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}

.visit-notes article {
  background: var(--mint-pale);
  border-radius: 18px;
  padding: 26px;
}

.visit-notes strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.visit-notes p {
  font-size: 0.78rem;
  margin: 9px 0 0;
}

.visit-location {
  background: var(--teal);
  color: var(--white);
}

.visit-location-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1.05fr 0.95fr;
}

.visit-location img {
  border-radius: var(--radius-lg);
  height: 560px;
  object-fit: cover;
  width: 100%;
}

.visit-location h2 {
  color: var(--white);
}

.visit-location p {
  color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.site-footer {
  background: #091f1c;
  color: var(--white);
  padding: 85px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
}

.footer-brand img {
  height: auto;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-brand > strong {
  color: var(--white);
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0.65rem 0 0.85rem;
  max-width: 390px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.footer-social__link {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: var(--gold-light, #d4af37);
  display: inline-flex;
  font-size: 0.85rem;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  width: 2rem;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  background: rgba(212, 175, 55, 0.18);
  color: #fff;
}

.footer-email {
  color: var(--gold-light);
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.15rem;
}

.footer-grid h2 {
  color: var(--gold-light);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) > a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.footer-grid > div:not(.footer-brand) > a:hover {
  color: var(--white);
}

.footer-grid > div:not(.footer-brand) > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-grid .button {
  color: var(--white);
  display: inline-flex !important;
  font-size: 0.88rem;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  font-size: 0.72rem;
  gap: 30px;
  justify-content: space-between;
  line-height: 1.45;
  margin-top: 70px;
  padding-top: 22px;
}

.footer-bottom a.footer-admin {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.footer-bottom a.footer-admin:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Clean, confident heading style inspired by the reference dental layout */
.menu-heading span,
.service-showcase h3,
.doctor-badge strong,
.promise-grid strong,
.accordion summary,
.focus-panel h3,
.care-grid h3,
.pathway-note strong,
.pathway-list h3,
.related-grid h3,
.promise-cards h3,
.all-treatment-grid h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 1120px) {
  :root {
    --container: min(100% - 40px, 1080px);
  }

  .bb5-feature-grid {
    --bb5-feat-cols: 2;
  }

  .desktop-nav {
    gap: 19px;
  }

  .desktop-nav > a,
  .nav-dropdown > summary {
    font-size: 0.7rem;
  }

  .brand:not(:has(.brand-name)) {
    flex-basis: 264px;
  }

  .brand:not(:has(.brand-name)) img {
    height: 62px;
    width: 264px;
  }

  .brand:has(.brand-name) img {
    height: 62px;
    max-width: min(110px, 26vw);
  }

  .button-header,
  .header-ctas {
    display: none;
  }

  .care-gallery:not(.care-gallery--rail) {
    grid-template-columns: repeat(3, 1fr);
  }

  .promise-cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(calc(100% - 32px), 760px);
  }

  .section {
    padding: var(--space-section-md) 0;
  }

  .utility-contact span:last-child,
  .desktop-nav,
  .button-header,
  .header-ctas {
    display: none;
  }

  .header-inner {
    min-height: 82px;
  }

  .brand:not(:has(.brand-name)),
  .brand:not(:has(.brand-name)) img {
    width: 250px;
  }

  .brand:not(:has(.brand-name)) {
    flex-basis: 250px;
  }

  .brand:has(.brand-name) {
    width: auto;
    flex-basis: auto;
    max-width: calc(100% - 64px);
  }

  .brand:has(.brand-name) img {
    width: auto;
    height: auto;
    max-height: 52px;
    max-width: min(72px, 22vw);
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
    position: relative;
  }

  .mobile-menu > summary {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 44px;
    justify-content: center;
    list-style: none;
    width: 44px;
  }

  .mobile-menu > summary span {
    background: var(--teal);
    height: 2px;
    width: 17px;
  }

  .mobile-menu nav {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 54px;
    /* 100vw — parent .mobile-menu is only the ~44px button; 100% collapses the panel */
    width: min(370px, calc(100vw - 32px));
  }

  .mobile-menu[open] nav {
    display: block;
  }

  .mobile-menu nav > a {
    border-bottom: 1px solid var(--line);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 11px 2px;
  }

  .mobile-treatment-dropdown {
    border-bottom: 1px solid var(--line);
  }

  .mobile-treatment-dropdown > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 0.82rem;
    font-weight: 800;
    justify-content: space-between;
    list-style: none;
    padding: 12px 2px;
    text-transform: uppercase;
  }

  .mobile-treatment-dropdown > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-treatment-dropdown > summary span {
    color: var(--gold);
    transition: transform 180ms ease;
  }

  .mobile-treatment-dropdown[open] > summary span {
    transform: rotate(180deg);
  }

  .mobile-treatment-dropdown > div {
    background: var(--mint-pale);
    border-radius: 12px;
    margin: 0 0 12px;
    padding: 8px 12px;
  }

  .mobile-treatment-dropdown a {
    border-bottom: 1px solid rgba(20, 38, 34, 0.09);
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 10px 2px;
  }

  .mobile-treatment-dropdown a:last-child {
    border-bottom: 0;
  }

  .mobile-menu nav .button {
    border: 0;
    color: var(--white);
    margin-top: 16px;
    width: 100%;
  }
  .mobile-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .mobile-menu-ctas .button {
    margin-top: 0;
    width: 100%;
  }
  .header-ctas {
    display: none;
  }

  .heading-split,
  .doctor-home-grid,
  .philosophy-grid,
  .clinic-spotlight-grid,
  .faq-layout,
  .booking-layout,
  .prose-layout,
  .pathway-layout,
  .aftercare-card,
  .about-hero-grid,
  .biography-layout,
  .founder-grid,
  .treatments-hero-grid,
  .decision-grid,
  .standard-grid,
  .contact-grid,
  .first-visit-grid,
  .visit-location-grid {
    grid-template-columns: 1fr;
  }

  .heading-split,
  .doctor-home-grid,
  .philosophy-grid,
  .clinic-spotlight-grid,
  .faq-layout,
  .prose-layout,
  .pathway-layout,
  .about-hero-grid,
  .biography-layout,
  .founder-grid,
  .treatments-hero-grid,
  .decision-grid,
  .standard-grid,
  .contact-grid,
  .first-visit-grid,
  .visit-location-grid {
    gap: 50px;
  }

  .prose-aside,
  .faq-intro,
  .decision-title {
    position: static;
  }

  .home-hero,
  .home-hero-content {
    min-height: min(700px, calc(100svh - 100px));
  }

  .home-hero-image {
    object-position: 66% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        105deg,
        rgba(7, 52, 127, 0.97) 0%,
        rgba(7, 52, 127, 0.86) 42%,
        rgba(7, 52, 127, 0.42) 70%,
        rgba(7, 52, 127, 0.16) 100%
      ),
      linear-gradient(0deg, rgba(7, 52, 127, 0.62), transparent 52%);
  }

  .home-hero h1 {
    font-size: clamp(2.6rem, 7vw, 3.8rem);
    max-width: none;
  }

  .home-hero h1 .bb5-hero-title-main {
    white-space: normal;
  }

  .home-hero h1 em,
  .home-hero h1 .bb5-hero-em {
    margin-left: 0;
    font-size: 1em;
  }

  .hero-credentials {
    gap: 1rem 1.25rem;
    max-width: 100%;
  }

  .doctor-image-wrap {
    max-width: 560px;
    margin-inline: auto;
  }

  .doctor-badge {
    right: -10px;
  }

  .clinic-collage img {
    height: 430px;
  }

  .care-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .service-hero {
    min-height: 620px;
  }

  .service-hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(9, 35, 31, 0.97),
        rgba(9, 35, 31, 0.74) 68%,
        rgba(9, 35, 31, 0.28)
      ),
      linear-gradient(0deg, rgba(9, 35, 31, 0.56), transparent 60%);
  }

  .care-grid,
  .treatment-visual-grid,
  .related-grid,
  .all-treatment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pathway-image-stack {
    max-width: 560px;
  }

  .aftercare-card {
    gap: 30px;
  }

  .about-hero,
  body.site-theme-theme5 .bb5-about-page {
    padding-bottom: clamp(40px, 6vw, 64px);
  }

  .about-hero-grid,
  body.site-theme-theme5 .bb5-about-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero-copy {
    padding-bottom: 0;
    max-width: none;
  }

  .about-hero-image,
  body.site-theme-theme5 .bb5-about-page__visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  body.site-theme-theme5 .bb5-about-page__visual.is-brand-panel {
    min-height: 360px;
  }

  .about-hero-image .doctor-badge,
  body.site-theme-theme5 .bb5-about-page__badge {
    right: 12px;
    bottom: 16px;
  }

  .qualification-ribbon {
    left: 0;
  }

  .treatments-hero-images {
    max-width: 650px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 20px);
    --radius: 18px;
    --radius-lg: 24px;
  }

  body {
    font-size: var(--fs-body-sm);
    padding-bottom: 62px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.35rem);
  }

  .section {
    padding: var(--space-section-sm) 0;
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-inner > span:first-child {
    display: none;
  }

  .brand:not(:has(.brand-name)),
  .brand:not(:has(.brand-name)) img {
    width: 218px;
  }

  .brand:not(:has(.brand-name)) {
    flex-basis: 218px;
  }

  .header-inner {
    gap: 14px;
  }

  .home-hero,
  .home-hero-content {
    min-height: min(680px, calc(100svh - 88px));
  }

  .home-hero-content {
    justify-content: flex-end;
    padding: 48px 0 28px;
  }

  .home-hero-image {
    object-position: 67% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(7, 52, 127, 0.97) 0%,
        rgba(7, 52, 127, 0.88) 42%,
        rgba(7, 52, 127, 0.35) 78%,
        rgba(7, 52, 127, 0.12) 100%
      ),
      linear-gradient(90deg, rgba(7, 52, 127, 0.72), rgba(7, 52, 127, 0.2) 70%, transparent);
  }

  .home-hero-content > .eyebrow {
    margin-bottom: 0.7rem;
  }

  /* Clinic-style title clamp removed for theme5 — see body.site-theme-theme5 mobile block */
  .home-hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 0.7rem;
    max-width: none;
  }

  .home-hero h1 .bb5-hero-title-main {
    white-space: normal;
  }

  .home-hero h1 em,
  .home-hero h1 .bb5-hero-em {
    margin-left: 0;
    margin-top: 0;
    font-size: 1em;
    width: auto;
    max-width: none;
  }

  .home-hero-content > p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 1rem;
  }

  .hero-actions .button,
  .home-hero .hero-actions .button {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    min-height: 46px;
    padding-inline: 0.7rem;
    width: 100%;
  }

  .hero-credentials {
    gap: 0.7rem;
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
    max-width: 100%;
    padding-top: 0.85rem;
  }

  .hero-credentials span:nth-child(3) {
    display: none;
  }

  .bb5-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-ribbon > div {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .trust-ribbon span {
    padding: 0 22px;
  }

  .trust-ribbon span:not(:last-child)::after {
    margin-left: 44px;
  }

  .bb5-feature-grid {
    --bb5-feat-cols: 1;
  }

  .care-grid,
  .treatment-visual-grid,
  .related-grid,
  .all-treatment-grid,
  .promise-cards,
  .decision-options,
  .standard-list,
  .visit-notes,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-showcase > a {
    min-height: 0;
  }

  .treatment-visual-card {
    grid-template-columns: 82px 1fr;
    min-height: 0;
  }

  .service-showcase .service-featured > img,
  .service-showcase > a > img {
    height: 230px;
  }

  .service-showcase .service-featured > div,
  .service-showcase > a > div {
    padding: 25px;
  }

  .service-showcase .service-featured h3,
  .service-showcase h3 {
    font-size: 1.65rem;
  }

  .doctor-image-wrap::before {
    display: none;
  }

  .doctor-badge {
    bottom: 18px;
    right: -6px;
  }

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

  .clinic-collage {
    grid-template-columns: 1fr 1fr;
  }

  .clinic-collage img {
    height: 320px;
  }

  .clinic-collage img:first-child {
    margin-top: 40px;
  }

  .care-gallery {
    gap: 9px;
    grid-template-columns: 1fr 1fr;
  }

  .care-gallery--rail .care-gallery__track {
    gap: 9px;
  }

  .care-gallery--rail figure {
    flex: 0 0 min(62vw, 240px);
    height: 220px;
    border-radius: 18px;
    transform: none;
  }

  .care-gallery--rail figure.is-center,
  .care-gallery--rail .gallery-wide {
    flex: 0 0 min(86vw, 340px);
    height: 220px;
    transform: none;
  }

  .care-gallery figure,
  .care-gallery .gallery-wide {
    grid-column: auto;
    height: 220px;
  }

  .care-gallery:not(.care-gallery--rail) figure:nth-child(1),
  .care-gallery:not(.care-gallery--rail) figure:nth-child(6),
  .care-gallery:not(.care-gallery--rail) figure:nth-child(11) {
    grid-column: span 2;
    height: 250px;
  }

  .care-gallery figcaption {
    bottom: 13px;
    font-size: 0.87rem;
    left: 14px;
  }

  .faq-layout {
    gap: 30px;
  }

  .accordion summary {
    font-size: 1.08rem;
  }

  .booking-layout {
    gap: 30px;
  }

  .appointment-form,
  .appointment-form-compact {
    padding: 22px;
  }

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

  .service-hero {
    align-items: end;
    min-height: 670px;
  }

  .service-hero-content {
    padding: 80px 0 55px;
  }

  .service-hero-image {
    object-position: 58% center;
  }

  .service-hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(9, 35, 31, 0.98),
        rgba(9, 35, 31, 0.82) 52%,
        rgba(9, 35, 31, 0.2) 92%
      ),
      linear-gradient(90deg, rgba(9, 35, 31, 0.5), transparent);
  }

  .service-hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.7rem);
  }

  .service-hero-content > p {
    font-size: 0.87rem;
  }

  .breadcrumbs {
    margin-bottom: 34px;
  }

  .focus-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .care-grid article {
    min-height: 0;
  }

  .pathway-note {
    bottom: 18px;
    right: -5px;
  }

  .aftercare-card {
    padding: 32px 24px;
  }

  .about-hero,
  body.site-theme-theme5 .bb5-about-page {
    padding-top: 48px;
  }

  .about-hero h1,
  body.site-theme-theme5 .bb5-about-page h1 {
    font-size: clamp(2.1rem, 8.5vw, 2.85rem);
  }

  .qualification-ribbon {
    grid-template-columns: 1fr;
    position: relative;
  }

  .qualification-ribbon span {
    min-height: 58px;
  }

  .about-hero-image > img,
  body.site-theme-theme5 .bb5-about-page__visual:not(.is-brand-panel) > img {
    border-radius: var(--radius-lg);
    aspect-ratio: 5 / 4;
  }

  body.site-theme-theme5 .bb5-about-page__visual.is-brand-panel {
    min-height: 300px;
    padding: 40px 28px 72px;
  }

  .promise-cards article {
    min-height: 0;
  }

  .treatments-hero {
    padding: 60px 0 75px;
  }

  .treatments-hero-images img {
    border-radius: 120px 120px 18px 18px;
    height: 390px;
  }

  .treatments-hero-images img:last-child {
    margin-top: 45px;
  }

  .all-treatment-grid article {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .treatment-image {
    height: 100%;
    min-height: 260px;
  }

  .all-treatment-grid article > div:last-child {
    padding: 22px;
  }

  .all-treatment-grid h3 {
    font-size: 1.35rem;
  }

  .simple-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hero {
    align-items: end;
    min-height: 620px;
  }

  .contact-hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(10, 36, 32, 0.98),
      rgba(10, 36, 32, 0.76) 60%,
      rgba(10, 36, 32, 0.08)
    );
  }

  .contact-hero-content {
    padding: 70px 0 50px;
  }

  .visit-location img {
    height: 430px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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


/* ---- BB integration + layout-fix counter-overrides ---- */
body.site-theme-theme5 .container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
/* Aqua Clarity hero accent — match Kangen reference (not clinic italic/ch clamp) */
body.site-theme-theme5 .bb5-hero-em,
body.site-theme-theme5 .home-hero h1 em {
  color: var(--blue);
  display: inline;
  font-family: var(--font-display);
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
}
body.site-theme-theme5 .home-hero h1 .bb5-hero-title-main {
  display: inline;
  white-space: normal;
}
/* Restore clinic feature list (bb1-layout-fix zeros all ul/ol padding/list-style) */
body.site-theme-theme5 ul.feature-list,
body.site-theme-theme5 .feature-list {
  list-style: none !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  margin: 18px 0 22px !important;
}
body.site-theme-theme5 .feature-list li {
  list-style: none !important;
  position: relative;
  padding-left: 1.15rem !important;
  margin: 0.55rem 0;
}
body.site-theme-theme5 .feature-list li.has-icon {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0 !important;
}
body.site-theme-theme5 .feature-list li.has-icon::before {
  content: none !important;
  display: none !important;
}
body.site-theme-theme5 .bb5-feature-grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.site-theme-theme5 .bb5-feature-card {
  list-style: none !important;
}
/* Float chrome — Aqua Clarity skin over common .pub-float-* */
body.site-theme-theme5 .bb5-form-status { margin: 12px 0 0; font-size: 0.9rem; color: var(--ink-soft, #5b7489); }
body.site-theme-theme5 .bb5-form-status.is-error,
body.site-theme-theme5 .bb5-form-status.is-err { color: #c0392b; }
body.site-theme-theme5 .bb5-form-status.is-ok { color: #1f7a4c; }
body.site-theme-theme5 .no-scroll { overflow: hidden; }

/* Vertical stack + right dock — Call/Email use palette accent (high contrast on navy); WA stays green */
body.site-theme-theme5 .pub-float-stack {
  gap: 12px;
}
body.site-theme-theme5 .pub-float-stack a,
body.site-theme-theme5 .pub-float-btn:not(.pub-float-btn--wa):not(.pub-float-btn--dock) {
  width: 48px;
  height: 48px;
  border-radius: var(--btn-radius, 14px);
  font-size: 17px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--color-secondary, #0b2440) 28%, transparent);
}
/* Call / Email stack buttons — accent fill + white glyph (reads on dark hero and cream pages) */
body.site-theme-theme5 .pub-float-stack a[href^="tel:"],
body.site-theme-theme5 .pub-float-stack a[href^="mailto:"],
body.site-theme-theme5 .pub-float-stack a[data-label="Call"],
body.site-theme-theme5 .pub-float-stack a[data-label="Email"],
body.site-theme-theme5 .pub-float-btn[href^="tel:"]:not(.pub-float-btn--wa),
body.site-theme-theme5 .pub-float-btn[href^="mailto:"]:not(.pub-float-btn--wa),
body.site-theme-theme5 .pub-float-btn[data-label="Call"]:not(.pub-float-btn--wa),
body.site-theme-theme5 .pub-float-btn[data-label="Email"]:not(.pub-float-btn--wa) {
  background: var(--color-accent, var(--gold, #c78a3b));
  background-image: none;
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--color-secondary, #0b2440) 22%, var(--color-accent, #c78a3b));
  box-shadow:
    0 10px 26px color-mix(in srgb, var(--color-secondary, #0b2440) 22%, transparent),
    inset 0 0 0 1px color-mix(in srgb, #fff 22%, transparent);
}
body.site-theme-theme5 .pub-float-stack a[href^="tel:"]:hover,
body.site-theme-theme5 .pub-float-stack a[href^="mailto:"]:hover,
body.site-theme-theme5 .pub-float-stack a[data-label="Call"]:hover,
body.site-theme-theme5 .pub-float-stack a[data-label="Email"]:hover,
body.site-theme-theme5 .pub-float-btn[href^="tel:"]:not(.pub-float-btn--wa):hover,
body.site-theme-theme5 .pub-float-btn[href^="mailto:"]:not(.pub-float-btn--wa):hover,
body.site-theme-theme5 .pub-float-btn[data-label="Call"]:not(.pub-float-btn--wa):hover,
body.site-theme-theme5 .pub-float-btn[data-label="Email"]:not(.pub-float-btn--wa):hover {
  background: color-mix(in srgb, var(--color-accent, #c78a3b) 78%, var(--color-secondary, #0b2440));
  color: #fff;
  border-color: var(--color-secondary, #0b2440);
  transform: translateY(-2px);
}

/* Side dock rail — visible on all viewports */
body.site-theme-theme5 .pub-float-wrap--dock {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1098;
  pointer-events: auto;
}
body.site-theme-theme5 .pub-float-dock {
  border-color: color-mix(in srgb, var(--color-accent, #c78a3b) 55%, var(--color-secondary, #0b2440));
  background: var(--color-surface, #fff);
  box-shadow: -8px 12px 32px color-mix(in srgb, var(--color-secondary, #0b2440) 32%, transparent);
  border-radius: 14px 0 0 14px;
  overflow: hidden;
}
body.site-theme-theme5 .pub-float-btn--dock {
  border-bottom-color: color-mix(in srgb, var(--color-border, #d9d1c4) 80%, transparent);
}
body.site-theme-theme5 .pub-float-btn--dock:first-child {
  border-top-left-radius: 13px;
}
body.site-theme-theme5 .pub-float-btn--dock:last-child {
  border-bottom-left-radius: 13px;
}
/* Dock Call / Email — accent tiles + white icons (contrast vs navy page bands) */
body.site-theme-theme5 .pub-float-btn--dock[data-label="Call"],
body.site-theme-theme5 .pub-float-btn--dock[data-label="Email"],
body.site-theme-theme5 .pub-float-btn--dock[href^="tel:"],
body.site-theme-theme5 .pub-float-btn--dock[href^="mailto:"] {
  background: var(--color-accent, var(--gold, #c78a3b)) !important;
  background-image: none !important;
  color: #fff !important;
  border-bottom-color: color-mix(in srgb, var(--color-secondary, #0b2440) 28%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 20%, transparent);
}
body.site-theme-theme5 .pub-float-btn--dock[data-label="Call"]:hover,
body.site-theme-theme5 .pub-float-btn--dock[data-label="Email"]:hover,
body.site-theme-theme5 .pub-float-btn--dock[href^="tel:"]:hover,
body.site-theme-theme5 .pub-float-btn--dock[href^="mailto:"]:hover {
  background: color-mix(in srgb, var(--color-accent, #c78a3b) 76%, var(--color-secondary, #0b2440)) !important;
  color: #fff !important;
  transform: none;
}
body.site-theme-theme5 .pub-float-btn--dock[data-label="Call"]::before,
body.site-theme-theme5 .pub-float-btn--dock[data-label="Email"]::before,
body.site-theme-theme5 .pub-float-btn--dock[href^="tel:"]::before,
body.site-theme-theme5 .pub-float-btn--dock[href^="mailto:"]::before {
  background: var(--color-surface, #fff);
  color: var(--color-primary, #12355b);
  border-color: var(--color-accent, #c78a3b);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-secondary, #0b2440) 22%, transparent);
}

/* WhatsApp keeps brand green */
body.site-theme-theme5 .whatsapp-float,
body.site-theme-theme5 .pub-float-btn--wa {
  background: #25d366 !important;
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
body.site-theme-theme5 .whatsapp-float {
  border-radius: var(--btn-radius, 14px);
}
body.site-theme-theme5 .whatsapp-float:hover,
body.site-theme-theme5 .pub-float-btn--wa:hover {
  background: #1ebe5b !important;
  color: #fff !important;
}
body.site-theme-theme5 .pub-float-btn--dock.pub-float-btn--wa {
  background: #25d366 !important;
  color: #fff !important;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.site-theme-theme5 .pub-float-btn--dock.pub-float-btn--wa:hover {
  background: #1ebe5b !important;
  color: #fff !important;
}

body.site-theme-theme5 .bb5-wa-fab,
body.site-theme-theme5 .bb5-float-stack__btn,
body.site-theme-theme5 .bb5-float__btn {
  position: fixed; z-index: 80; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: var(--btn-radius, 14px);
  background: var(--color-accent, var(--gold, #c78a3b));
  color: #fff;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--color-secondary, #0b2440) 24%, transparent);
}
body.site-theme-theme5 .bb5-wa-fab { right: 20px; bottom: 88px; background: #25d366; }
body.site-theme-theme5 .bb5-wa-fab--above-cart { bottom: 160px; }
body.site-theme-theme5 .bb5-float-stack {
  position: fixed; right: 20px; bottom: 88px; z-index: 80; display: flex; flex-direction: column; gap: 12px;
}
body.site-theme-theme5 .bb5-float-stack--with-wa { bottom: 156px; }
body.site-theme-theme5 .bb5-float-stack--above-cart { bottom: 160px; }
body.site-theme-theme5 .bb5-float-stack--with-wa.bb5-float-stack--above-cart { bottom: 228px; }

/* Cart FAB + drawer (markup/JS exist; must be fixed overlay — not document flow) */
body.site-theme-theme5 .bb5-cart-fab {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 120;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: var(--btn-radius, 14px);
  background: var(--aqua, var(--gold));
  color: var(--teal-deep);
  box-shadow: 0 10px 28px rgba(9, 197, 213, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
body.site-theme-theme5 .bb5-cart-fab[hidden] { display: none !important; }
/* Sit above WhatsApp (common emit uses .whatsapp-float) */
body.site-theme-theme5:has(.whatsapp-float) .bb5-cart-fab,
body.site-theme-theme5:has(.pub-float-btn--wa) .bb5-cart-fab,
body.site-theme-theme5:has(.bb5-wa-fab) .bb5-cart-fab {
  bottom: calc(88px + 4.5rem);
}
body.site-theme-theme5 .bb5-cart-fab__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--teal, #0f3d3a);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
/* display:flex above must not override [hidden] (empty cart looks “stuck” at 0) */
body.site-theme-theme5 .bb5-cart-fab__badge[hidden] { display: none !important; }
body.site-theme-theme5 .bb5-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
body.site-theme-theme5 .bb5-cart-drawer[hidden] { display: none !important; }
body.site-theme-theme5 .bb5-cart-drawer.is-open { pointer-events: auto; }
body.site-theme-theme5 .bb5-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.site-theme-theme5 .bb5-cart-drawer.is-open .bb5-cart-drawer__backdrop { opacity: 1; }
body.site-theme-theme5 .bb5-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(22rem, 100%);
  height: 100%;
  background: #0b1210;
  color: #f4f1ea;
  border-left: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(105%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-sizing: border-box;
}
body.site-theme-theme5 .bb5-cart-drawer.is-open .bb5-cart-drawer__panel { transform: none; }
body.site-theme-theme5 .bb5-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.15rem;
}
body.site-theme-theme5 .bb5-cart-drawer__head button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.35rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
body.site-theme-theme5 .bb5-cart-drawer__list {
  flex: 1;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}
body.site-theme-theme5 .bb5-cart-drawer__list .bb5-cart-empty,
body.site-theme-theme5 .bb5-cart-drawer__list .bb2-cart-empty {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0;
}
body.site-theme-theme5 .bb5-cart-drawer__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
body.site-theme-theme5 .bb5-cart-drawer__foot #bb5CartSummary {
  margin-bottom: 0.85rem;
  font-weight: 700;
}
body.site-theme-theme5 .bb5-cart-drawer__foot #bb5CartSummary > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
body.site-theme-theme5 .bb5-cart-drawer__foot #bb5CartOrder {
  width: 100%;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__info,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__info {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__name,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__name {
  font-weight: 700;
  font-size: 0.95rem;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__meta,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__rate,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__rate {
  color: rgba(255, 255, 255, 0.65);
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__sum,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__sum {
  font-weight: 800;
  white-space: nowrap;
  margin-left: auto;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__qty,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 0.4rem;
  padding: 0.2rem 0.3rem;
  font-weight: 700;
  justify-self: start;
}
body.site-theme-theme5 .bb5-cart-drawer button.bb5-cart-line__step,
body.site-theme-theme5 .bb5-cart-drawer button.bb2-cart-line__step {
  width: 1.65rem;
  height: 1.65rem;
  border: none;
  border-radius: 0.3rem;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold, #c9a227);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__n,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__n {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 800;
}
body.site-theme-theme5 .bb5-cart-drawer .bb5-cart-line__remove,
body.site-theme-theme5 .bb5-cart-drawer .bb2-cart-line__remove {
  border: none;
  background: none;
  color: var(--gold, #c9a227);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  justify-self: end;
  padding: 0.25rem 0;
}
@media (prefers-reduced-motion: reduce) {
  body.site-theme-theme5 .bb5-cart-drawer__panel,
  body.site-theme-theme5 .bb5-cart-drawer__backdrop { transition: none !important; }
}

body.site-theme-theme5 .bb5-powered { color: rgba(255,255,255,0.55); font-size: 0.78rem; }
body.site-theme-theme5 .service-showcase a.bb5-service-card {
  display: grid;
  grid-template-rows: auto 1fr;
}
body.site-theme-theme5 .wd-block-anchor { scroll-margin-top: 120px; }
body.site-theme-theme5 #enquireForm,
body.site-theme-theme5 #appointmentForm,
body.site-theme-theme5 #contactBlock {
  scroll-margin-top: 120px;
}
body.site-theme-theme5 .brand img {
  height: 64px;
  width: auto;
  max-width: 328px;
  object-fit: contain;
  object-position: left center;
  aspect-ratio: auto;
}
body.site-theme-theme5 .brand:has(.brand-name) img {
  max-width: min(120px, 28vw);
}
@media (max-width: 860px) {
  body.site-theme-theme5 .brand { flex: 0 1 auto; min-width: 0; width: auto; }
  body.site-theme-theme5 .brand:not(:has(.brand-name)) img {
    width: min(220px, 58vw);
    height: auto;
    max-height: 52px;
  }
  body.site-theme-theme5 .brand:has(.brand-name) img {
    width: auto;
    height: auto;
    max-height: 52px;
    max-width: min(72px, 22vw);
  }
}
body.site-theme-theme5 .footer-disclaimer {
  max-width: 42rem; text-align: right; color: rgba(255,255,255,0.55); font-size: 0.78rem; line-height: 1.45;
}
@media (max-width: 860px) {
  body.site-theme-theme5 .footer-disclaimer { text-align: left; }
}

/* ---------- Testimonials — horizontal auto-scroll carousel ---------- */
body.site-theme-theme5 #testimonials .bb5-testimonials {
  --bb5-t-gap: 1.1rem;
  --bb5-t-per: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 58rem;
  margin: 0.35rem auto 0;
  box-sizing: border-box;
}
body.site-theme-theme5 #testimonials .bb5-testimonials__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  padding: 0.15rem;
}
body.site-theme-theme5 #testimonials .bb5-testimonials__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: var(--bb5-t-gap);
  list-style: none !important;
  margin: 0 !important;
  padding: 0.2rem 0.1rem 0.45rem !important;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body.site-theme-theme5 #testimonials .bb5-testimonials__btn {
  flex: 0 0 auto;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--teal) 18%, transparent);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
body.site-theme-theme5 #testimonials .bb5-testimonials__btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-1px);
}
body.site-theme-theme5 #testimonials .bb5-testimonials__btn:disabled,
body.site-theme-theme5 #testimonials .bb5-testimonials__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  transform: none;
}
body.site-theme-theme5 #testimonials .bb5-testimonials.is-static .bb5-testimonials__btn {
  display: none;
}
body.site-theme-theme5 #testimonials .bb5-testimonials.is-static .bb5-testimonials__track {
  justify-content: center;
}
body.site-theme-theme5 #testimonials .bb5-testimonials.is-static .bb5-review-card:only-child {
  flex-basis: min(100%, 30rem);
  max-width: 30rem;
}
@media (min-width: 720px) {
  body.site-theme-theme5 #testimonials .bb5-testimonials {
    --bb5-t-per: 2;
    --bb5-t-gap: 1.2rem;
  }
}
@media (min-width: 1040px) {
  body.site-theme-theme5 #testimonials .bb5-testimonials {
    --bb5-t-per: 3;
    --bb5-t-gap: 1.25rem;
    max-width: 64rem;
  }
}
body.site-theme-theme5 #testimonials .bb5-review-card {
  flex: 0 0 calc((100% - (var(--bb5-t-per) - 1) * var(--bb5-t-gap)) / var(--bb5-t-per));
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.45rem 1.35rem 1.3rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--white) 92%, var(--mint-pale)) 0%, var(--white) 55%);
  border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
  list-style: none;
  min-height: 100%;
}
body.site-theme-theme5 #testimonials .bb5-review-stars {
  display: flex;
  gap: 0.18rem;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
}
body.site-theme-theme5 #testimonials .bb5-review-text {
  margin: 0;
  flex: 1 1 auto;
  color: var(--ink-soft);
  font-family: var(--font-accent);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
}
body.site-theme-theme5 #testimonials .bb5-review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
body.site-theme-theme5 #testimonials .bb5-review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--gold) 55%, #fff);
  flex-shrink: 0;
  background: var(--mint);
}
body.site-theme-theme5 #testimonials .bb5-review-avatar--init {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
}
body.site-theme-theme5 #testimonials .bb5-review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
body.site-theme-theme5 #testimonials .bb5-review-meta strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}
body.site-theme-theme5 #testimonials .bb5-review-meta span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.3;
}
@media (max-width: 639px) {
  body.site-theme-theme5 #testimonials .bb5-testimonials { gap: 0.35rem; }
  body.site-theme-theme5 #testimonials .bb5-testimonials__btn {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.25rem;
  }
  body.site-theme-theme5 #testimonials .bb5-review-card {
    padding: 1.2rem 1.1rem 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.site-theme-theme5 #testimonials .bb5-testimonials__track {
    transition: none !important;
  }
}

/* Blog article media gallery */
body.site-theme-theme5 .bb5-blog-article__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}
body.site-theme-theme5 .bb5-blog-article__media-item {
  margin: 0;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}
body.site-theme-theme5 .bb5-blog-article__media-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.site-theme-theme5 .bb5-blog-article__media-item figcaption {
  padding: 0.45rem 0.65rem 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft, rgba(0,0,0,0.65));
}
@media (max-width: 639px) {
  body.site-theme-theme5 .bb5-blog-article__media {
    grid-template-columns: 1fr;
  }
}



/* ========== Theme5 hydro overrides (native look) ========== */
body.site-theme-theme5 .utility-bar {
  background: var(--teal-deep, var(--color-secondary, #073a93));
  color: color-mix(in srgb, var(--color-on-primary, var(--color-primary-text, #fff)) 88%, transparent);
  font-size: 12px;
}
body.site-theme-theme5 .utility-bar a {
  color: var(--color-on-primary, var(--color-primary-text, #fff));
  font-weight: 750;
}
body.site-theme-theme5 .utility-inner {
  min-height: 34px;
  gap: 12px;
}
body.site-theme-theme5 .utility-line {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.site-theme-theme5 .utility-line__marquee {
  display: inline;
}
body.site-theme-theme5 .utility-line__item + .utility-line__item {
  display: none; /* desktop: one copy only */
}
body.site-theme-theme5 .brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.15;
}
body.site-theme-theme5 .brand-name__title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.site-theme-theme5 .brand-name__sub {
  color: var(--teal-mid, #0649aa);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
body.site-theme-theme5 .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
body.site-theme-theme5 .site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(6, 78, 188, 0.08);
}
/* Legacy bottom bar markup may still emit — keep hidden; right dock works on all viewports */
body.site-theme-theme5 .bb5-mobile-actions {
  display: none !important;
}
body.site-theme-theme5 .button-gold,
body.site-theme-theme5 .button-primary {
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  color: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--color-secondary, #073a93) 28%, transparent);
}
body.site-theme-theme5 .button-gold:hover,
body.site-theme-theme5 .button-primary:hover {
  background: linear-gradient(
    135deg,
    var(--teal-deep),
    color-mix(in srgb, var(--aqua) 72%, var(--teal-deep))
  );
  transform: translateY(-2px);
}
body.site-theme-theme5 .button-ghost-light,
body.site-theme-theme5 .button-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
}
body.site-theme-theme5 .home-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 75px;
  background:
    radial-gradient(
      circle at 78% 26%,
      color-mix(in srgb, var(--gold, #09c5d5) 22%, transparent),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      var(--ivory, #f6fcfe) 0%,
      var(--mint, #eafcff) 55%,
      var(--mint-pale, #edfaff) 100%
    );
  min-height: 0 !important;
}
body.site-theme-theme5 .home-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -240px;
  top: 60px;
  border-radius: 50%;
  border: 1px solid rgba(29, 129, 188, 0.1);
  pointer-events: none;
  z-index: 0;
}
body.site-theme-theme5 .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.38));
  pointer-events: none;
  z-index: 1;
}
body.site-theme-theme5 .home-hero-overlay {
  display: none !important;
}
body.site-theme-theme5 .bb5-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 56px;
  width: var(--container);
  margin-inline: auto;
}
body.site-theme-theme5 .home-hero-content {
  position: relative;
  z-index: 3;
  max-width: none;
  width: 100%;
  color: var(--ink);
  padding: 0 !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.site-theme-theme5 .home-hero .bb5-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid #cfe5e9;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.75);
  color: #486478;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: none !important;
  line-height: 1.35;
}
body.site-theme-theme5 .home-hero .bb5-hero-pill::before {
  content: "";
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 auto;
  border-radius: 50% !important;
  background: var(--aqua) !important;
  box-shadow: 0 0 0 4px rgba(22, 199, 201, 0.13) !important;
}
body.site-theme-theme5 .home-hero .bb5-hero-lead {
  color: #50697e;
  font-size: 18px;
  line-height: 1.7;
  max-width: 34rem;
  margin: 0 0 28px;
}
body.site-theme-theme5 .home-hero h1 {
  color: var(--ink);
  font-size: clamp(2.75rem, 4.6vw, 3.85rem);
  line-height: 1.05;
  font-weight: 800;
  max-width: 14ch;
  margin: 0 0 20px;
  letter-spacing: -0.035em;
}
body.site-theme-theme5 .home-hero h1 .bb5-hero-title-main,
body.site-theme-theme5 .home-hero h1 .bb5-hero-em,
body.site-theme-theme5 .home-hero h1 em {
  display: inline;
  white-space: normal;
  max-width: none;
  margin: 0;
  font-size: 1em;
}
body.site-theme-theme5 .home-hero h1 em,
body.site-theme-theme5 .bb5-hero-em {
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}
body.site-theme-theme5 .home-hero .hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  width: 100%;
}
body.site-theme-theme5 .home-hero .hero-actions .button {
  width: auto;
  flex: 0 1 auto;
  min-height: var(--btn-min-height);
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
  border-radius: 14px;
  padding: 0 24px;
}
body.site-theme-theme5 .bb5-hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
body.site-theme-theme5 .bb5-hero-visual__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 209, 209, 0.22), rgba(73, 159, 238, 0.08) 50%, transparent 68%);
  pointer-events: none;
}
body.site-theme-theme5 .bb5-hero-visual-card {
  position: relative;
  width: min(440px, 100%);
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 35px 70px rgba(32, 94, 119, 0.16);
  backdrop-filter: blur(15px);
  z-index: 2;
  display: flex;
  flex-direction: column;
}
body.site-theme-theme5 .bb5-hero-visual-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
body.site-theme-theme5 .bb5-hero-visual-card__top span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-hero-visual-card__top b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
body.site-theme-theme5 .bb5-hero-visual-card .home-hero-image,
body.site-theme-theme5 .home-hero-image {
  position: relative;
  inset: auto;
  width: 85%;
  height: 320px;
  margin: 10px auto 0;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 20px 22px rgba(14, 58, 82, 0.18));
  opacity: 1;
  max-height: none;
}
body.site-theme-theme5 .bb5-hero-spec {
  position: absolute;
  max-width: 145px;
  border: 1px solid rgba(203, 225, 230, 0.8);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(24, 71, 95, 0.1);
  z-index: 3;
}
body.site-theme-theme5 .bb5-hero-spec b,
body.site-theme-theme5 .bb5-hero-spec span {
  display: block;
}
body.site-theme-theme5 .bb5-hero-spec b {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}
body.site-theme-theme5 .bb5-hero-spec span {
  color: #5b7489;
  font-size: 9px;
  line-height: 1.35;
}
body.site-theme-theme5 .bb5-hero-spec--left {
  left: -26px;
  top: 190px;
}
body.site-theme-theme5 .bb5-hero-spec--right {
  right: -32px;
  top: 286px;
}
body.site-theme-theme5 .bb5-hero-visual-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid #d5e6e9;
  padding-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
/* Hero proof — Kangen-style: figure left, 2-line label right (not stacked under) */
body.site-theme-theme5 .bb5-hero-proof,
body.site-theme-theme5 .hero-credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 8px 0 18px;
  width: 100%;
}
body.site-theme-theme5 .bb5-hero-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid #c9dee3;
  min-width: 0;
}
body.site-theme-theme5 .bb5-hero-proof__item:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}
body.site-theme-theme5 .bb5-hero-proof__figure {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
body.site-theme-theme5 .bb5-hero-proof__label {
  max-width: 6.5rem;
  color: #647b8e;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}
body.site-theme-theme5 .bb5-hero-disclaimer {
  max-width: 34rem;
  margin: 0 0 4px;
  color: #7a8f9e;
  font-size: 11px;
  line-height: 1.6;
}
/* Credibility strip — icon + title + subtitle (not big figure counters) */
body.site-theme-theme5 .stats-section.bb5-credibility,
body.site-theme-theme5 .stats-section {
  background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 72%);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
body.site-theme-theme5 .bb5-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-height: 105px;
}
body.site-theme-theme5 .bb5-stats-card {
  min-height: 72px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding: 22px 24px;
  text-align: left;
}
body.site-theme-theme5 .bb5-stats-card:first-child {
  padding-left: 0;
}
body.site-theme-theme5 .bb5-stats-card:last-child {
  border-right: 0;
  padding-right: 0;
}
body.site-theme-theme5 .bb5-stats-card__seal {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #c5e2e6;
  border-radius: 15px;
  color: var(--blue, #064ebc);
  background: linear-gradient(145deg, #f8feff, #e9f8fa);
  box-shadow: 0 8px 20px rgba(6, 78, 188, 0.08);
  font-size: 1.05rem;
}
body.site-theme-theme5 .bb5-stats-card__copy {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  line-height: 1.3;
}
body.site-theme-theme5 .bb5-stats-card__title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}
body.site-theme-theme5 .bb5-stats-card__sub {
  margin-top: 4px;
  color: #5b7489;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}
body.site-theme-theme5 .bb5-stats-card__value,
body.site-theme-theme5 .bb5-stats-card__label {
  display: none;
}
body.site-theme-theme5 .highlights-section.bb5-process,
body.site-theme-theme5 .highlights-section {
  background: #fff;
}
body.site-theme-theme5 .bb5-categories-section {
  background: #fff;
}
/* Process — split intro + left-aligned square seals */
body.site-theme-theme5 .bb5-process__intro {
  align-items: end;
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: 48px;
}
body.site-theme-theme5 .bb5-process__intro h2 {
  margin: 0;
  max-width: 14ch;
}
body.site-theme-theme5 .bb5-process__intro > p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft, #5b7489);
  font-size: 17px;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-feature-grid {
  --bb5-feat-gap: 20px;
  --bb5-feat-cols: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bb5-feat-gap);
}
body.site-theme-theme5 .bb5-feature-card {
  flex: 0 1 calc((100% - (var(--bb5-feat-cols) - 1) * var(--bb5-feat-gap)) / var(--bb5-feat-cols));
  width: calc((100% - (var(--bb5-feat-cols) - 1) * var(--bb5-feat-gap)) / var(--bb5-feat-cols));
  max-width: calc((100% - (var(--bb5-feat-cols) - 1) * var(--bb5-feat-gap)) / var(--bb5-feat-cols));
  align-items: flex-start;
  text-align: left;
  min-height: 305px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(145deg, #fff, #f7fbfc);
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
body.site-theme-theme5 .bb5-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
body.site-theme-theme5 .bb5-feature-card__icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  border: 1px solid #cde8ed;
  background: linear-gradient(145deg, #f6fdff, #e6f8fa);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: 30px 0 24px;
  font-size: 1.55rem;
  box-shadow: 0 14px 30px rgba(6, 78, 188, 0.08);
}
body.site-theme-theme5 .bb5-feature-card__title {
  text-align: left;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}
body.site-theme-theme5 .bb5-feature-card__text {
  text-align: left;
  margin: 0;
  max-width: none;
  font-size: 14px;
  color: #5b7489;
}
body.site-theme-theme5 .bb5-process__action {
  margin-top: 34px;
  text-align: center;
}
body.site-theme-theme5 .bb5-process__action .text-link {
  font-weight: 800;
}
/* Featured catalogue band — palette navy → secondary → accent */
body.site-theme-theme5 .services-home.bb5-machines {
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--color-secondary, #052e77),
    var(--color-primary, #063c91) 62%,
    color-mix(in srgb, var(--color-primary, #07516f) 70%, var(--color-accent, #09c5d5))
  );
}
body.site-theme-theme5 .bb5-machines__heading {
  max-width: 790px;
  margin: 0 auto 50px;
  text-align: center;
}
body.site-theme-theme5 .bb5-machines__heading .eyebrow,
body.site-theme-theme5 .bb5-machines__heading h2 {
  color: #fff;
  justify-content: center;
}
body.site-theme-theme5 .bb5-machines__heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #9eb5c4;
  font-size: 16px;
}
body.site-theme-theme5 .bb5-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1120px) {
  body.site-theme-theme5 .bb5-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  body.site-theme-theme5 .bb5-product-tile__media {
    height: 200px;
  }
  body.site-theme-theme5 .bb5-product-tile__body h3 {
    font-size: 22px;
  }
}
body.site-theme-theme5 .bb5-product-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(2, 30, 84, 0.62);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
body.site-theme-theme5 .bb5-product-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 227, 225, 0.45);
}
body.site-theme-theme5 .bb5-product-tile.is-featured {
  background: linear-gradient(145deg, #0751a9, #05377f);
}
body.site-theme-theme5 .bb5-product-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 16px 0;
}
body.site-theme-theme5 .bb5-product-tile__top span {
  border-radius: 99px;
  padding: 6px 9px;
  color: #9bf5ef;
  background: rgba(55, 218, 210, 0.12);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-product-tile__top small {
  color: #7f9caf;
  font-size: 10px;
}
body.site-theme-theme5 .bb5-product-tile__media {
  height: 168px;
  margin: 12px 12px 0;
  border-radius: 14px;
  padding: 10px 16px 4px;
  background: linear-gradient(145deg, #edfaff, #e5fbf5);
}
body.site-theme-theme5 .bb5-product-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14));
}
body.site-theme-theme5 .bb5-product-tile__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 10px 16px 18px;
}
body.site-theme-theme5 .bb5-product-tile__body h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}
body.site-theme-theme5 .bb5-product-tile__body > p {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 12px;
  color: #a8becb;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
body.site-theme-theme5 .bb5-product-tile__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
body.site-theme-theme5 .bb5-product-tile__specs li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px 7px;
  color: #b8cbd5;
  font-size: 8px;
  text-transform: lowercase;
}
body.site-theme-theme5 .bb5-product-tile__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.site-theme-theme5 .bb5-product-tile__actions .button {
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  min-height: 42px;
  padding-inline: 16px;
  font-size: 12px;
}
body.site-theme-theme5 .bb5-product-tile__round {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0b2a3f;
  background: #7be2df;
  font-weight: 900;
  text-decoration: none;
}
body.site-theme-theme5 .bb5-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.site-theme-theme5 .bb5-category-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(145deg, #fff, #f7fbfc);
  text-decoration: none;
}
body.site-theme-theme5 .bb5-category-card__media {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ice);
}
body.site-theme-theme5 .bb5-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.site-theme-theme5 .bb5-category-card__eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-category-card__media--tone {
  background: linear-gradient(145deg, #eafcff, #d4f5f7);
  border: 1px solid #cde8ed;
}
body.site-theme-theme5 .bb5-category-card__text {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
body.site-theme-theme5 .bb5-category-card--no-media {
  grid-template-columns: 56px 1fr;
}
body.site-theme-theme5 .doctor-home {
  background: linear-gradient(
    145deg,
    var(--color-bg, var(--ivory, #f7fdff)),
    var(--color-primary-soft, var(--mint-pale, #eef9fb))
  );
}
body.site-theme-theme5 .booking-band {
  background: linear-gradient(
    135deg,
    var(--color-secondary, #07347f),
    var(--color-primary, #064ebc) 55%,
    var(--color-accent, #09c5d5)
  );
  color: #fff;
}
body.site-theme-theme5 .booking-band .eyebrow,
body.site-theme-theme5 .booking-band h2,
body.site-theme-theme5 .booking-band p {
  color: #fff;
}
body.site-theme-theme5 .site-footer {
  background: linear-gradient(
    165deg,
    var(--color-secondary, var(--teal-deep, #062d75)),
    color-mix(
      in srgb,
      var(--color-secondary, #062d75) 78%,
      var(--color-primary, var(--teal, #064ebc))
    )
  );
  color: color-mix(in srgb, var(--color-on-primary, #fff) 82%, var(--color-accent, var(--gold, #09c5d5)));
}
body.site-theme-theme5 .site-footer a { color: var(--color-on-primary, #fff); }
body.site-theme-theme5 .footer-grid h2,
body.site-theme-theme5 .footer-email {
  color: var(--gold-light, var(--color-accent, #09c5d5));
}
body.site-theme-theme5 .footer-social__link {
  border-color: color-mix(in srgb, var(--color-accent, var(--gold, #09c5d5)) 40%, transparent);
  color: var(--gold-light, var(--color-accent, #09c5d5));
}
body.site-theme-theme5 .footer-social__link:hover,
body.site-theme-theme5 .footer-social__link:focus-visible {
  background: color-mix(in srgb, var(--color-accent, var(--gold, #09c5d5)) 18%, transparent);
  color: var(--color-on-primary, #fff);
}
body.site-theme-theme5 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
body.site-theme-theme5 .eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
/* Highlights: 2-up below desktop before collapsing to 1 */
@media (max-width: 1200px) {
  body.site-theme-theme5 .bb5-feature-grid {
    --bb5-feat-cols: 2;
  }
}

/* Mobile / tablet — Kangen Hydro reference rhythm (820 / 560), BB architecture intact */
@media (max-width: 900px) {
  /* Hard lock page X-scroll (clip avoids overflow-x/y auto pairing) */
  html {
    overflow-x: clip !important;
    max-width: 100% !important;
  }
  body.site-theme-theme5 {
    /* Side gutters restored (~14px each); do not force full-bleed width */
    --container: min(calc(100% - 28px), 680px);
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
  }
  body.site-theme-theme5 .utility-bar,
  body.site-theme-theme5 .home-hero,
  body.site-theme-theme5 .section,
  body.site-theme-theme5 .trust-ribbon,
  body.site-theme-theme5 main,
  body.site-theme-theme5 .site-footer {
    overflow-x: clip;
    max-width: 100%;
    box-sizing: border-box;
  }
  body.site-theme-theme5 .site-header {
    overflow: visible; /* mobile hamburger panel is absolute under header */
  }
  /* Keep inset containers — never stretch to screen edges */
  body.site-theme-theme5 .site-container,
  body.site-theme-theme5 .container,
  body.site-theme-theme5 .bb5-hero-grid,
  body.site-theme-theme5 .header-inner {
    width: var(--container) !important;
    max-width: calc(100% - 28px) !important;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
  }
  /* Inner blocks may fill the container only */
  body.site-theme-theme5 .bb5-product-grid,
  body.site-theme-theme5 .bb5-feature-grid,
  body.site-theme-theme5 .bb5-stats-grid,
  body.site-theme-theme5 .bb5-water-row,
  body.site-theme-theme5 .home-hero-content,
  body.site-theme-theme5 .bb5-hero-visual {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  body.site-theme-theme5 .bb5-hero-visual-card {
    width: min(420px, 100%) !important;
    max-width: 100%;
    margin-inline: auto;
  }
  body.site-theme-theme5 .bb5-hero-visual__glow {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
  }
  body.site-theme-theme5 .bb5-hero-spec {
    display: none !important; /* absolute side cards overflow phone width */
  }
  body.site-theme-theme5 img,
  body.site-theme-theme5 video,
  body.site-theme-theme5 iframe,
  body.site-theme-theme5 svg,
  body.site-theme-theme5 table {
    max-width: 100%;
    height: auto;
  }
  body.site-theme-theme5 .home-hero .bb5-hero-pill,
  body.site-theme-theme5 .home-hero h1,
  body.site-theme-theme5 .home-hero .bb5-hero-lead {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  body.site-theme-theme5 .trust-ribbon > div {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  body.site-theme-theme5 .trust-ribbon span {
    padding: 10px 16px;
    min-height: 0;
  }
  body.site-theme-theme5 .trust-ribbon span:not(:last-child)::after {
    margin-left: 16px;
  }
  body.site-theme-theme5 .brand,
  body.site-theme-theme5 .brand:not(:has(.brand-name)),
  body.site-theme-theme5 .brand:has(.brand-name) {
    flex-basis: auto !important;
    width: auto !important;
    max-width: min(70%, calc(100% - 56px)) !important;
    min-width: 0 !important;
  }
  body.site-theme-theme5 .brand img,
  body.site-theme-theme5 .brand:not(:has(.brand-name)) img {
    width: auto !important;
    max-width: min(220px, 62vw) !important;
    height: auto !important;
    max-height: 56px !important;
  }
  body.site-theme-theme5 .header-inner {
    min-height: 72px;
    gap: 12px;
    overflow: visible; /* keep hamburger panel usable */
  }
  body.site-theme-theme5 .brand:has(.brand-name) {
    max-width: min(78%, 100%);
  }
  body.site-theme-theme5 .brand:has(.brand-name) img {
    max-width: min(52px, 14vw);
    height: 52px;
    max-height: 52px !important;
  }
  body.site-theme-theme5 .brand-name__title {
    font-size: 0.95rem;
  }
  body.site-theme-theme5 .brand-name__sub {
    font-size: 0.62rem;
  }
  body.site-theme-theme5 .utility-contact {
    display: none;
  }
  body.site-theme-theme5 .mobile-menu > summary {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--paper, var(--mint-pale));
    border: 0;
    box-shadow: none;
  }
  /* Open menu above fixed Call/WhatsApp floats (stack ~1098) */
  body.site-theme-theme5 .site-header:has(.mobile-menu[open]) {
    z-index: 1100;
  }
  /* Right sticky float dock stays visible on phone/tablet (do not hide .pub-float-*) */
  body.site-theme-theme5 .home-hero {
    padding: 44px 0 55px;
    min-height: 0 !important;
  }
  body.site-theme-theme5 .bb5-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body.site-theme-theme5 .home-hero-content {
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  body.site-theme-theme5 .home-hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.25rem);
    max-width: 100% !important;
    margin: 0 0 16px;
    line-height: 1.05;
  }
  body.site-theme-theme5 .home-hero .bb5-hero-lead {
    font-size: 16px;
    margin-bottom: 22px;
  }
  body.site-theme-theme5 .home-hero .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
  }
  body.site-theme-theme5 .home-hero .hero-actions .button {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
    padding-inline: 18px;
  }
  body.site-theme-theme5 .bb5-hero-visual {
    min-height: 0;
    order: 2;
    overflow: hidden;
  }
  body.site-theme-theme5 .bb5-hero-visual-card {
    width: min(420px, 100%) !important;
    min-height: 0;
    margin: 0 auto;
    padding: 18px;
  }
  body.site-theme-theme5 .bb5-hero-visual-card .home-hero-image {
    width: 90%;
    height: auto;
    max-height: 280px;
  }
  body.site-theme-theme5 .bb5-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 6px 0 16px;
  }
  body.site-theme-theme5 .bb5-hero-proof__item {
    margin: 0;
    padding: 0;
    border-right: 0;
    align-items: flex-start;
    gap: 8px;
  }
  body.site-theme-theme5 .bb5-hero-proof__figure {
    font-size: 22px;
  }
  body.site-theme-theme5 .bb5-hero-proof__label {
    max-width: none;
    font-size: 10px;
  }
  body.site-theme-theme5 .bb5-process__intro {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  body.site-theme-theme5 .bb5-process__intro h2 {
    max-width: none;
  }
  body.site-theme-theme5 .bb5-feature-grid {
    --bb5-feat-cols: 1;
  }
  body.site-theme-theme5 .bb5-feature-card {
    min-height: 0;
  }
  body.site-theme-theme5 .bb5-feature-card__icon {
    margin: 8px 0 18px;
  }
  body.site-theme-theme5 .bb5-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body.site-theme-theme5 .bb5-product-tile__media {
    height: 190px;
  }
  body.site-theme-theme5 .bb5-product-tile__body h3 {
    font-size: 20px;
  }
  body.site-theme-theme5 .bb5-machines__heading {
    margin-bottom: 28px;
  }
  body.site-theme-theme5 .bb5-stats-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  body.site-theme-theme5 .bb5-stats-card {
    min-height: 0;
    padding: 16px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  body.site-theme-theme5 .bb5-stats-card:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 14px;
  }
  body.site-theme-theme5 .bb5-stats-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  body.site-theme-theme5 .bb5-stats-card:first-child {
    padding-left: 14px;
  }
  body.site-theme-theme5 .bb5-stats-card:last-child {
    padding-right: 14px;
  }
  body.site-theme-theme5 .section {
    padding: 72px 0;
  }
  body.site-theme-theme5 h2 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}

@media (max-width: 560px) {
  body.site-theme-theme5 .bb5-product-grid {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme5 .bb5-product-tile__media {
    height: 210px;
  }
  body.site-theme-theme5 .bb5-product-tile__body h3 {
    font-size: 22px;
  }
  body.site-theme-theme5 {
    --container: calc(100% - 24px);
  }
  body.site-theme-theme5 .site-container,
  body.site-theme-theme5 .container,
  body.site-theme-theme5 .bb5-hero-grid,
  body.site-theme-theme5 .header-inner {
    max-width: calc(100% - 24px) !important;
  }
  html body.site-theme-theme5 {
    padding-bottom: 76px;
  }
  body.site-theme-theme5 .header-inner {
    min-height: 68px;
  }
  body.site-theme-theme5 .brand:has(.brand-name) img {
    max-width: 46px;
    height: 46px;
  }
  body.site-theme-theme5 .brand-name__title {
    font-size: 0.88rem;
    line-height: 1.15;
  }
  body.site-theme-theme5 .brand-name__sub {
    font-size: 0.58rem;
  }
  body.site-theme-theme5 .home-hero {
    padding: 42px 0 48px;
  }
  body.site-theme-theme5 .home-hero h1 {
    font-size: 2.35rem;
    margin: 0 0 14px;
    max-width: 100% !important;
    line-height: 1.06;
  }
  body.site-theme-theme5 .home-hero .bb5-hero-pill {
    font-size: 11px;
    padding: 7px 12px;
    margin-bottom: 14px;
    letter-spacing: 0;
  }
  body.site-theme-theme5 .home-hero .bb5-hero-lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  body.site-theme-theme5 .home-hero .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }
  body.site-theme-theme5 .bb5-hero-visual-link {
    font-size: 12px;
  }
  body.site-theme-theme5 .bb5-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.site-theme-theme5 .bb5-stats-card {
    border-bottom: 1px solid var(--line);
    padding: 14px 12px;
    min-height: 0;
  }
  body.site-theme-theme5 .bb5-stats-card:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  body.site-theme-theme5 .bb5-stats-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  body.site-theme-theme5 .bb5-stats-card__seal {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 0.95rem;
  }
  body.site-theme-theme5 .bb5-stats-card__title {
    font-size: 12px;
  }
  body.site-theme-theme5 .section {
    padding: 62px 0;
  }
  body.site-theme-theme5 h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }
  body.site-theme-theme5 .bb5-feature-card {
    min-height: 0;
    padding: 22px;
  }
  body.site-theme-theme5 .bb5-category-card {
    grid-template-columns: 52px 1fr;
    padding: 14px;
  }
  body.site-theme-theme5 .appointment-form,
  body.site-theme-theme5 .form-card {
    padding-inline: 16px;
  }
  body.site-theme-theme5 .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Waters — five settings list */
body.site-theme-theme5 .bb5-waters {
  background: #f1f8fa;
}
body.site-theme-theme5 .bb5-waters__layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 74px;
}
body.site-theme-theme5 .bb5-waters__copy {
  position: sticky;
  top: 115px;
}
body.site-theme-theme5 .bb5-waters__copy h2 {
  margin: 0 0 24px;
  white-space: pre-line;
}
body.site-theme-theme5 .bb5-waters__copy > p {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--ink-soft, #5b7489);
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-waters__note {
  margin: 0 0 28px;
  border-left: 3px solid var(--aqua, #14bfc2);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  background: #fff;
}
body.site-theme-theme5 .bb5-waters__note b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}
body.site-theme-theme5 .bb5-waters__note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft, #5b7489);
}
body.site-theme-theme5 .bb5-waters__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.site-theme-theme5 .bb5-water-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid #d7e8eb;
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.site-theme-theme5 .bb5-water-row:hover {
  transform: translateX(4px);
  box-shadow: 0 15px 30px rgba(27, 83, 104, 0.08);
}
body.site-theme-theme5 .bb5-water-row__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--tone, var(--blue)) 25%, #d7e8eb);
  border-radius: 15px;
  color: var(--tone, var(--blue));
  background: color-mix(in srgb, var(--tone, var(--blue)) 10%, #fff);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--tone, var(--blue)) 12%, transparent);
  font-size: 1.15rem;
}
body.site-theme-theme5 .bb5-water-row h3 {
  display: inline;
  margin: 0 10px 0 0;
  font-size: 18px;
}
body.site-theme-theme5 .bb5-water-row small {
  color: var(--tone);
  font-size: 10px;
  font-weight: 800;
}
body.site-theme-theme5 .bb5-water-row p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft, #5b7489);
}
body.site-theme-theme5 .bb5-water-row.tone-aqua { --tone: #14bfc2; }
body.site-theme-theme5 .bb5-water-row.tone-blue { --tone: #2879e3; }
body.site-theme-theme5 .bb5-water-row.tone-rose { --tone: #ed6c9d; }
body.site-theme-theme5 .bb5-water-row.tone-amber { --tone: #efa83b; }
body.site-theme-theme5 .bb5-water-row.tone-violet { --tone: #7559dc; }

/* Consult — palette band + surface form */
body.site-theme-theme5 .booking-band.bb5-consult {
  color: var(--color-on-primary, #fff);
  background:
    radial-gradient(
      circle at 10% 15%,
      color-mix(in srgb, var(--color-accent, var(--gold, #09c5d5)) 18%, transparent),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      var(--color-secondary, #07347f),
      var(--color-primary, #064ebc) 55%,
      var(--color-accent, #09c5d5)
    );
}
body.site-theme-theme5 .bb5-consult__grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: start;
  gap: 80px;
}
body.site-theme-theme5 .bb5-consult__copy h2 {
  margin: 0 0 20px;
  color: var(--color-on-primary, #fff);
}
body.site-theme-theme5 .bb5-consult__copy > p {
  margin: 0;
  color: color-mix(in srgb, var(--color-on-primary, #fff) 72%, var(--color-accent, #09c5d5));
  font-size: 16px;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-consult__subtext {
  margin: 0.65rem 0 0;
  opacity: 0.88;
  font-size: 0.98rem;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-consult__list {
  margin: 34px 0;
  padding: 0;
  list-style: none;
}
body.site-theme-theme5 .bb5-consult__list li {
  display: flex;
  gap: 15px;
  margin-bottom: 22px;
}
body.site-theme-theme5 .bb5-consult__list li > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-accent, #09c5d5) 32%, transparent);
  border-radius: 12px;
  color: color-mix(in srgb, var(--color-on-primary, #fff) 90%, var(--color-accent, #09c5d5));
  background: color-mix(in srgb, var(--color-accent, #09c5d5) 12%, transparent);
}
body.site-theme-theme5 .bb5-consult__list b {
  display: block;
  margin-bottom: 4px;
  color: var(--color-on-primary, #fff);
  font-size: 14px;
}
body.site-theme-theme5 .bb5-consult__list p {
  margin: 0;
  color: color-mix(in srgb, var(--color-on-primary, #fff) 62%, transparent);
  font-size: 12px;
  line-height: 1.5;
}
body.site-theme-theme5 .bb5-consult__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
body.site-theme-theme5 .bb5-consult__quick a {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
body.site-theme-theme5 .bb5-consult__quick small {
  margin-bottom: 3px;
  color: color-mix(in srgb, var(--color-on-primary, #fff) 58%, transparent);
  font-size: 10px;
}
body.site-theme-theme5 .bb5-consult__quick b {
  color: var(--color-on-primary, #fff);
  font-size: 13px;
}
body.site-theme-theme5 .bb5-consult__form {
  border-radius: 26px;
  padding: 34px;
  color: var(--ink);
  background: var(--panel, var(--color-surface, #fff));
  box-shadow: var(--shadow);
  border: 1px solid var(--line, transparent);
}
body.site-theme-theme5 .appointment-form {
  background: var(--panel, var(--color-surface, #fff));
  color: var(--ink);
}
body.site-theme-theme5 .appointment-form input,
body.site-theme-theme5 .appointment-form select,
body.site-theme-theme5 .appointment-form textarea {
  background: var(--mint-pale, var(--color-bg, #f7faf8));
  border-color: var(--line, rgba(20, 38, 34, 0.13));
  color: var(--ink);
}
body.site-theme-theme5 .appointment-form input:focus,
body.site-theme-theme5 .appointment-form select:focus,
body.site-theme-theme5 .appointment-form textarea:focus {
  border-color: var(--gold, var(--color-accent, #09c5d5));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, var(--gold, #09c5d5)) 22%, transparent);
}
body.site-theme-theme5 .bb5-consult__form-head {
  margin-bottom: 22px;
}
body.site-theme-theme5 .bb5-consult__form-head .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}
body.site-theme-theme5 .bb5-consult__form-head h3 {
  margin: 0 0 8px;
  font-size: 27px;
  color: var(--ink);
}
body.site-theme-theme5 .bb5-consult__form-head p,
body.site-theme-theme5 .bb5-consult__form label > span,
body.site-theme-theme5 .bb5-consult__form .bb5-form-status {
  color: var(--ink-soft, #5b7489);
}
body.site-theme-theme5 .bb5-consult__form-head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-consult__form-head h3,
body.site-theme-theme5 .bb5-consult__form-head .eyebrow {
  color: var(--ink);
}
body.site-theme-theme5 .bb5-consult__form .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 12px;
}
body.site-theme-theme5 .bb5-consult__form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
body.site-theme-theme5 .bb5-consult__form label > span {
  color: var(--ink-soft, var(--color-muted, #3e5668));
  font-size: 11px;
  font-weight: 750;
}
body.site-theme-theme5 .bb5-consult__form .button {
  width: 100%;
  margin-top: 6px;
}

/* FAQ */
body.site-theme-theme5 .bb5-faq {
  background: #fff;
}
body.site-theme-theme5 .bb5-faq__layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 80px;
}
body.site-theme-theme5 .bb5-faq__intro {
  position: sticky;
  top: 115px;
}
body.site-theme-theme5 .bb5-faq__intro h2 {
  margin: 0 0 16px;
  font-size: 43px;
  line-height: 1.1;
}
body.site-theme-theme5 .bb5-faq__intro p {
  margin: 0;
  color: var(--ink-soft, #5b7489);
  font-size: 15px;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-faq__list {
  min-width: 0;
  width: 100%;
}
body.site-theme-theme5 .bb5-faq__item {
  border-bottom: 1px solid var(--line);
}
body.site-theme-theme5 .bb5-faq__item:first-child {
  border-top: 1px solid var(--line);
}
body.site-theme-theme5 .bb5-faq__item summary {
  list-style: none;
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}
body.site-theme-theme5 .bb5-faq__item summary::-webkit-details-marker {
  display: none;
}
/* + control only — question text must NOT be wrapped in <span> (base .accordion summary span is the chip) */
body.site-theme-theme5 .bb5-faq__item summary > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  margin-left: 0;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: #edf7fa;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
body.site-theme-theme5 .bb5-faq__item[open] summary > span {
  transform: rotate(45deg);
}
body.site-theme-theme5 .bb5-faq__answer {
  min-width: 0;
}
body.site-theme-theme5 .bb5-faq__answer p {
  margin: 0;
  padding: 0 50px 25px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft, #5b7489);
}

/* Location CTA / home about — same palette band as enquire */
body.site-theme-theme5 .doctor-home.bb5-location-cta {
  padding: 70px 0;
  color: var(--color-on-primary, var(--color-primary-text, #fff));
  background:
    radial-gradient(
      circle at 88% 20%,
      color-mix(in srgb, var(--color-accent, #09c5d5) 20%, transparent),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      var(--color-secondary, #07347f),
      var(--color-primary, #064ebc) 55%,
      color-mix(
        in srgb,
        var(--color-primary, #064ebc) 55%,
        var(--color-accent, #09c5d5)
      )
    );
}
body.site-theme-theme5 .bb5-location-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
body.site-theme-theme5 .bb5-location-cta__copy {
  max-width: 700px;
}
body.site-theme-theme5 .bb5-location-cta__copy .eyebrow,
body.site-theme-theme5 .bb5-location-cta__copy .eyebrow-light {
  color: var(--color-accent, var(--gold-light, #09c5d5));
}
body.site-theme-theme5 .bb5-location-cta__copy h2 {
  color: var(--color-on-primary, var(--color-primary-text, #fff));
}
body.site-theme-theme5 .bb5-location-cta__copy h2 {
  max-width: 700px;
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
body.site-theme-theme5 .bb5-location-cta__copy p {
  margin: 0;
  color: color-mix(in srgb, var(--color-on-primary, #fff) 78%, var(--color-accent, #09c5d5));
  font-size: 15px;
  line-height: 1.55;
}
body.site-theme-theme5 .bb5-location-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  body.site-theme-theme5 .bb5-waters__layout,
  body.site-theme-theme5 .bb5-consult__grid,
  body.site-theme-theme5 .bb5-faq__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  body.site-theme-theme5 .bb5-waters__copy,
  body.site-theme-theme5 .bb5-faq__intro {
    position: static;
  }
  body.site-theme-theme5 .bb5-consult__quick {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme5 .bb5-consult__form .field-grid {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme5 .bb5-location-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  body.site-theme-theme5 .bb5-location-cta__actions {
    width: 100%;
  }
  body.site-theme-theme5 .bb5-location-cta__actions .button {
    flex: 1 1 auto;
    text-align: center;
  }
  body.site-theme-theme5 .bb5-faq__intro h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }
}

/* Header product mega-menu (Aqua Clarity reference — image list + featured panel) */
body.site-theme-theme5 .desktop-nav {
  position: static;
}
body.site-theme-theme5 .bb5-mega-dropdown {
  position: static;
}
body.site-theme-theme5 .nav-dropdown > .bb5-mega-menu {
  display: grid;
}
body.site-theme-theme5 .bb5-mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  z-index: var(--z-overlay, 50);
  width: min(960px, calc(100% - 48px));
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 35%, var(--color-border, var(--line, #cce4ea)));
  border-radius: 0 0 26px 26px;
  background: var(--color-surface, var(--panel, #fff));
  box-shadow: 0 35px 70px color-mix(in srgb, var(--color-secondary, #031b4f) 22%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  padding: 0;
  min-width: 0;
}
body.site-theme-theme5 .bb5-mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
body.site-theme-theme5 .bb5-mega-dropdown[open] > .bb5-mega-menu,
body.site-theme-theme5 .bb5-mega-dropdown:hover > .bb5-mega-menu,
body.site-theme-theme5 .bb5-mega-dropdown:focus-within > .bb5-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
body.site-theme-theme5 .bb5-mega-feature {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--color-on-primary, var(--color-primary-text, #fff));
  text-decoration: none;
  background:
    radial-gradient(
      circle at 58% 42%,
      color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 28%, transparent),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      var(--color-secondary, #031b4f),
      var(--color-primary, #064ba5) 68%,
      color-mix(in srgb, var(--color-primary, #064ba5) 55%, var(--color-accent, #09c5d5))
    );
}
body.site-theme-theme5 .bb5-mega-feature::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--color-on-primary, #fff) 13%, transparent);
  border-radius: 18px;
  pointer-events: none;
}
body.site-theme-theme5 .bb5-mega-kicker {
  position: relative;
  z-index: 2;
  color: color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 72%, var(--color-on-primary, #fff));
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
body.site-theme-theme5 .bb5-mega-feature-image {
  position: relative;
  z-index: 2;
  height: 255px;
  display: grid;
  place-items: center;
  margin: 4px 0;
}
body.site-theme-theme5 .bb5-mega-feature-image::before {
  content: "";
  position: absolute;
  width: min(270px, 70%);
  height: min(270px, 70%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 22%, transparent),
    color-mix(in srgb, var(--color-on-primary, #fff) 6%, transparent) 54%,
    transparent 70%
  );
}
body.site-theme-theme5 .bb5-mega-feature-image img {
  position: relative;
  width: 88%;
  height: 235px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px color-mix(in srgb, var(--color-secondary, #000) 22%, transparent));
}
body.site-theme-theme5 .bb5-mega-feature-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
body.site-theme-theme5 .bb5-mega-feature-bottom div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
body.site-theme-theme5 .bb5-mega-feature-bottom small {
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 70%, var(--color-on-primary, #fff));
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.site-theme-theme5 .bb5-mega-feature-bottom b {
  color: var(--color-on-primary, var(--color-primary-text, #fff));
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}
body.site-theme-theme5 .bb5-mega-feature-bottom > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-on-primary, #fff) 50%, transparent);
  border-radius: 50%;
  font-size: 18px;
  color: var(--color-on-primary, #fff);
}
body.site-theme-theme5 .bb5-mega-products {
  min-width: 0;
  max-width: 100%;
  padding: 31px 28px 31px 34px;
  background: linear-gradient(
    145deg,
    var(--color-surface, var(--panel, #fff)),
    var(--color-primary-soft, var(--mint, #f4fbfd))
  );
  overflow: hidden;
}
body.site-theme-theme5 .bb5-mega-products-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  min-width: 0;
}
body.site-theme-theme5 .bb5-mega-products-heading > span {
  color: var(--color-muted, var(--ink-soft, #718b9c));
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  min-width: 0;
}
body.site-theme-theme5 .bb5-mega-products-heading > a {
  color: var(--color-primary, var(--blue, #0649a6));
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
body.site-theme-theme5 .bb5-mega-products-heading > a:hover {
  text-decoration: underline;
}
body.site-theme-theme5 .bb5-mega-product-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: min(340px, 52vh);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 10px 6px 2px;
  margin-right: -4px;
  scrollbar-gutter: stable;
  /* Firefox — palette accent / primary */
  scrollbar-width: thin;
  scrollbar-color:
    color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 75%, var(--color-primary, #064ba5))
    color-mix(in srgb, var(--color-primary-soft, #e8f6f9) 70%, var(--color-border, #d0e8ef));
}
/* WebKit — slim luxury rail */
body.site-theme-theme5 .bb5-mega-product-list::-webkit-scrollbar {
  width: 7px;
}
body.site-theme-theme5 .bb5-mega-product-list::-webkit-scrollbar:horizontal {
  height: 0;
  display: none;
}
body.site-theme-theme5 .bb5-mega-product-list::-webkit-scrollbar-track {
  margin: 6px 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary-soft, #edf8fa) 88%, var(--color-surface, #fff)),
    color-mix(in srgb, var(--color-border, #dceef3) 90%, var(--color-primary-soft, #c5e4ec))
  );
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary, #064ba5) 8%, transparent);
}
body.site-theme-theme5 .bb5-mega-product-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-accent, var(--aqua, #09c5d5)) 92%, #fff),
    var(--color-primary, #064ba5) 55%,
    var(--color-secondary, #031b4f)
  );
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--color-secondary, #031b4f) 18%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 35%, transparent);
}
body.site-theme-theme5 .bb5-mega-product-list::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(
    180deg,
    var(--color-accent, var(--aqua, #09c5d5)),
    color-mix(in srgb, var(--color-primary, #064ba5) 55%, var(--color-accent, #09c5d5)) 40%,
    var(--color-secondary, #031b4f)
  );
}
body.site-theme-theme5 .bb5-mega-product-list::-webkit-scrollbar-corner {
  background: transparent;
}
body.site-theme-theme5 .bb5-mega-product-list > a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 8px 10px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
body.site-theme-theme5 .bb5-mega-product-list > a:hover,
body.site-theme-theme5 .bb5-mega-product-list > a:focus-visible,
body.site-theme-theme5 .bb5-mega-product-list > a.is-active {
  border-color: var(--color-border, var(--line, #cde8ed));
  background: var(--color-surface, var(--panel, #fff));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-secondary, #05407e) 10%, transparent);
}
body.site-theme-theme5 .bb5-mega-thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 12px;
  padding: 4px;
  background: var(--color-primary-soft, var(--mint, #edf8fa));
}
body.site-theme-theme5 .bb5-mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.site-theme-theme5 .bb5-mega-product-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.site-theme-theme5 .bb5-mega-product-copy b {
  color: var(--color-text, var(--ink, #0b1b33));
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
body.site-theme-theme5 .bb5-mega-product-copy small {
  margin-top: 3px;
  color: var(--color-muted, var(--ink-soft, #78909f));
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}
body.site-theme-theme5 .bb5-mega-arrow {
  color: var(--color-primary, var(--blue, #0649a6));
  font-size: 16px;
  opacity: 0.35;
  transition: opacity 0.18s ease, transform 0.18s ease;
  text-align: center;
}
body.site-theme-theme5 .bb5-mega-product-list > a:hover .bb5-mega-arrow,
body.site-theme-theme5 .bb5-mega-product-list > a.is-active .bb5-mega-arrow {
  opacity: 1;
}
@media (max-width: 980px) {
  body.site-theme-theme5 .bb5-mega-menu {
    width: min(880px, calc(100% - 32px));
    grid-template-columns: 0.9fr 1.1fr;
  }
  body.site-theme-theme5 .bb5-mega-feature {
    min-height: 340px;
    padding: 22px;
  }
  body.site-theme-theme5 .bb5-mega-feature-image {
    height: 200px;
  }
  body.site-theme-theme5 .bb5-mega-feature-image img {
    height: 180px;
  }
}

/* Utility bar + wordmark logo — mobile (must follow other ≤900 rules) */
@media (max-width: 900px) {
  body.site-theme-theme5 .utility-bar {
    font-size: 11px;
    line-height: 1.35;
    overflow: hidden;
  }
  body.site-theme-theme5 .utility-inner {
    justify-content: flex-start;
    min-height: 0;
    padding: 8px 0;
    gap: 0;
    max-width: 100%;
    overflow: hidden;
  }
  /* Undo base hide; single-line horizontal scroll / marquee (no wrap). */
  body.site-theme-theme5 .utility-inner > span:first-child,
  body.site-theme-theme5 .utility-line {
    display: block !important;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    text-overflow: clip;
    white-space: nowrap !important;
    text-align: left;
    padding: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.site-theme-theme5 .utility-line::-webkit-scrollbar {
    display: none;
  }
  body.site-theme-theme5 .utility-line__marquee {
    display: inline-flex;
    align-items: center;
    gap: 2.75rem;
    width: max-content;
    max-width: none;
    min-width: 100%;
    padding-inline: 12px;
    animation: bb5-utility-marquee 22s linear infinite;
    will-change: transform;
  }
  body.site-theme-theme5 .utility-line__item {
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  body.site-theme-theme5 .utility-line__item + .utility-line__item {
    display: inline-block; /* second copy for seamless loop */
  }
  body.site-theme-theme5 .utility-bar:hover .utility-line__marquee,
  body.site-theme-theme5 .utility-bar:focus-within .utility-line__marquee {
    animation-play-state: paused;
  }
  @keyframes bb5-utility-marquee {
    from { transform: translateX(0); }
    /* 50% of track (− half of 2.75rem gap between duplicated items) */
    to { transform: translateX(calc(-50% - 1.375rem)); }
  }
  @media (prefers-reduced-motion: reduce) {
    body.site-theme-theme5 .utility-line__marquee {
      animation: none;
      min-width: 0;
      padding-inline: 12px;
    }
    body.site-theme-theme5 .utility-line__item + .utility-line__item {
      display: none;
    }
  }
  body.site-theme-theme5 .header-inner {
    min-height: 76px;
    overflow: visible;
  }
  body.site-theme-theme5 .brand:not(:has(.brand-name)) {
    flex-basis: auto !important;
    width: auto !important;
    max-width: calc(100% - 56px) !important;
    overflow: hidden;
  }
  body.site-theme-theme5 .brand:not(:has(.brand-name)) img {
    width: auto !important;
    height: auto !important;
    max-width: min(248px, 68vw) !important;
    max-height: 64px !important;
    object-fit: contain;
    object-position: left center;
  }
}
@media (max-width: 560px) {
  body.site-theme-theme5 .header-inner {
    min-height: 72px;
  }
  body.site-theme-theme5 .brand:not(:has(.brand-name)) img {
    max-width: min(228px, 72vw) !important;
    max-height: 58px !important;
  }
}

/* Mobile drawer: product rows with thumbs */
body.site-theme-theme5 .bb5-mega-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 8px;
}
body.site-theme-theme5 .bb5-mega-mobile-list > a:not(.bb5-mega-mobile-all) {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 6px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
body.site-theme-theme5 .bb5-mega-mobile-list > a:not(.bb5-mega-mobile-all) .bb5-mega-thumb {
  width: 44px;
  height: 44px;
}
body.site-theme-theme5 .bb5-mega-mobile-list > a:not(.bb5-mega-mobile-all) b {
  display: block;
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--color-text, var(--ink));
}
body.site-theme-theme5 .bb5-mega-mobile-list > a:not(.bb5-mega-mobile-all) small {
  display: block;
  margin-top: 2px;
  color: var(--color-muted, var(--ink-soft, #78909f));
  font-size: 0.7rem;
}
body.site-theme-theme5 .bb5-mega-mobile-all {
  display: block !important;
  width: 100%;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: var(--color-primary, var(--blue, #0649a6)) !important;
  padding: 6px 6px 10px !important;
  white-space: nowrap;
  text-decoration: none;
}
