/**
 * Responsive polish — header layout, media crop, tablet/desktop rhythm helpers.
 * Loaded after playverse-rhythm-overrides.css
 */

:root {
  --header-layout-gap-desktop: clamp(20px, 3vw, 40px);
  --header-layout-gap-tablet: clamp(14px, 2vw, 24px);
  --site-logo-max-width-mobile: clamp(118px, 34vw, 156px);
  --site-logo-max-height-mobile: clamp(18px, 5vw, 26px);
  --site-logo-max-width-tablet: min(120px, 14vw);
  --site-logo-max-height-tablet: 17px;
  --site-logo-max-width-desktop: min(160px, 11vw);
  --site-logo-max-height-desktop: 24px;
  --site-logo-max-width-large: min(176px, 10vw);
  --site-logo-max-height-large: 27px;
  --footer-logo-max-width-mobile: clamp(118px, 34vw, 155px);
  --footer-logo-max-height-mobile: clamp(17px, 4.8vw, 24px);
  --footer-logo-max-width-tablet: min(136px, 15vw);
  --footer-logo-max-height-tablet: 19px;
  --footer-logo-max-width-desktop: min(150px, 11vw);
  --footer-logo-max-height-desktop: 21px;
  --header-logo-max-tablet: var(--site-logo-max-width-tablet);
  --header-logo-max-desktop: var(--site-logo-max-width-desktop);
  --header-actions-gap-desktop: clamp(14px, 1.6vw, 24px);
  --header-social-gap-desktop: clamp(8px, 0.9vw, 12px);
  --site-icon-box-size: clamp(24px, 2.6vw, 28px);
  --site-icon-glyph-size: clamp(20px, 2.2vw, 22px);
  --site-icon-stroke-width: 1.75;
  --site-icon-stroke-width-compact: 1.55;
  --header-action-icon-size: var(--site-icon-box-size);
  --header-action-icon-glyph-size: var(--site-icon-glyph-size);
  --footer-icon-box-size: clamp(24px, 2.6vw, 28px);
  --footer-icon-glyph-size: clamp(20px, 2.2vw, 22px);
  --footer-contact-icon-box-size: clamp(20px, 2.2vw, 22px);
  --footer-contact-icon-glyph-size: clamp(17px, 1.9vw, 19px);
  --mobile-menu-icon-box-size: clamp(34px, 8vw, 40px);
  --mobile-menu-icon-glyph-size: clamp(22px, 5.2vw, 26px);
  --contact-tile-icon-box-size: clamp(38px, 7vw, 46px);
  --contact-tile-icon-glyph-size: clamp(20px, 4vw, 24px);
  --header-menu-gap-desktop: clamp(10px, 1.2vw, 18px);
  --header-menu-font-size-desktop: clamp(9px, 0.68vw, 11px);
  --header-menu-link-padding-y: 4px;
  --header-menu-link-padding-x: clamp(2px, 0.35vw, 6px);
  --header-height-desktop: clamp(72px, 11vw, 96px);

  --pv-heading-max: 100%;
  --pv-intro-max: 100%;

  --site-photo-ratio-card: 2 / 3;
  --site-photo-ratio-gallery: 4 / 3;
  --site-photo-ratio-wide: 16 / 9;

  --calc-result-panel-width: 100%;
  --footer-booking-btn-min-height: 44px;
  --footer-booking-btn-radius: 999px;
  --footer-booking-btn-padding-x: 18px;
  --footer-column-gap: clamp(40px, 5vw, 56px);
  --footer-menu-link-gap: 20px;
  --footer-contact-item-gap: 22px;
  --contact-page-map-info-gap: clamp(48px, 6vw, 72px);
  --section-divider-line-height: 1px;
  --section-divider-accent: rgba(222, 36, 47, 0.32);
  --section-divider-mid: rgba(250, 249, 254, 0.1);
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --pv-heading-max: 480px;
    --pv-intro-max: 460px;
  }
}

@media (max-width: 480px) {
  :root {
    --site-logo-max-width-mobile: clamp(96px, 24vw, 114px);
    --site-logo-max-height-mobile: clamp(14px, 3.2vw, 17px);
    --footer-logo-max-width-mobile: clamp(92px, 24vw, 112px);
    --footer-logo-max-height-mobile: clamp(13px, 3.1vw, 16px);
  }
}

@media (min-width: 1024px) {
  :root {
    --pv-heading-max: 620px;
    --pv-intro-max: 560px;
    --site-icon-box-size: 28px;
    --site-icon-glyph-size: 22px;
    --footer-icon-box-size: 28px;
    --footer-icon-glyph-size: 22px;
    --footer-contact-icon-box-size: 22px;
    --footer-contact-icon-glyph-size: 19px;
  }
}

@media (max-width: 767px) {
  :root {
    --site-icon-box-size: clamp(24px, 6.5vw, 28px);
    --site-icon-glyph-size: clamp(20px, 5.5vw, 24px);
    --footer-icon-box-size: clamp(30px, 7.5vw, 36px);
    --footer-icon-glyph-size: clamp(22px, 5.8vw, 26px);
    --footer-contact-icon-box-size: clamp(22px, 5.8vw, 26px);
    --footer-contact-icon-glyph-size: clamp(18px, 4.8vw, 22px);
    --mobile-menu-icon-box-size: clamp(36px, 9vw, 42px);
    --mobile-menu-icon-glyph-size: clamp(22px, 5.8vw, 26px);
    --contact-tile-icon-box-size: clamp(40px, 10vw, 48px);
    --contact-tile-icon-glyph-size: clamp(22px, 5.5vw, 26px);
  }
}

/* ----- Header: Playverse-style 3-column — logo | nav | actions ----- */
@media (min-width: 768px) {
  body:not(.dashboard-app-body) {
    --header-menu-gap: clamp(8px, 0.95vw, 14px);
    --header-menu-font-size: clamp(8px, 0.62vw, 10px);
    --header-menu-letter-spacing: clamp(0.03em, 0.04vw, 0.07em);
  }

  body:not(.dashboard-app-body) .site-header {
    width: 100% !important;
  }

  body:not(.dashboard-app-body) .site-header .header-container {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: var(--header-layout-gap-tablet) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: var(--header-height-desktop, var(--header-height, 96px)) !important;
    padding-left: max(clamp(16px, 2.5vw, 36px), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(clamp(16px, 2.5vw, 36px), env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }

  body:not(.dashboard-app-body) .header-mobile-left {
    display: none !important;
  }

  body:not(.dashboard-app-body) .header-logo-wrap {
    grid-column: 1 !important;
    justify-self: start !important;
    position: relative !important;
    flex: unset !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    max-width: var(--header-logo-max-tablet) !important;
    min-width: 0 !important;
    z-index: 3;
  }

  body:not(.dashboard-app-body) .main-navigation {
    grid-column: 2 !important;
    justify-self: center !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: block !important;
    width: max-content !important;
    max-width: min(100%, calc(100vw - 280px)) !important;
    min-width: 0 !important;
    overflow: visible !important;
    z-index: 2;
  }

  body:not(.dashboard-app-body) .main-navigation .main-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--header-menu-gap) !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.dashboard-app-body) .main-menu > li {
    flex: 0 0 auto;
    min-width: 0;
  }

  body:not(.dashboard-app-body) .main-menu a,
  body:not(.dashboard-app-body) .main-navigation .menu a {
    font-size: var(--header-menu-font-size) !important;
    letter-spacing: var(--header-menu-letter-spacing) !important;
    padding: 6px clamp(4px, 0.45vw, 10px) !important;
    white-space: nowrap !important;
  }

  body:not(.dashboard-app-body) .main-navigation .main-menu > li > a {
    padding: var(--header-menu-link-padding-y, 4px) var(--header-menu-link-padding-x, 6px) !important;
  }

  body:not(.dashboard-app-body) .main-navigation {
    max-width: min(100%, calc(100vw - 420px)) !important;
  }

  body:not(.dashboard-app-body) .header-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    display: flex !important;
    flex: unset !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: var(--header-actions-gap-desktop, clamp(10px, 1.25vw, 16px)) !important;
    min-width: 0 !important;
    width: max-content !important;
    max-width: min(100%, 46vw) !important;
    margin-left: 0 !important;
    z-index: 3;
  }

  body:not(.dashboard-app-body) .header-actions .language-switch--header,
  body:not(.dashboard-app-body) .header-actions .language-switch--desktop {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    order: 1;
  }

  body:not(.dashboard-app-body) .header-actions .header-socials {
    display: flex !important;
    flex-shrink: 0 !important;
    order: 2;
    gap: var(--header-social-gap-desktop, 8px) !important;
  }

  body:not(.dashboard-app-body) .header-actions .header-social-link,
  body:not(.dashboard-app-body) .header-actions .header-contact-link {
    flex-shrink: 0 !important;
    width: var(--header-action-icon-size) !important;
    height: var(--header-action-icon-size) !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body:not(.dashboard-app-body) .header-actions .header-social-link svg,
  body:not(.dashboard-app-body) .header-actions .header-contact-link svg {
    width: var(--header-action-icon-glyph-size) !important;
    height: var(--header-action-icon-glyph-size) !important;
  }

  body:not(.dashboard-app-body) .header-actions .header-contact-links {
    display: flex !important;
    flex-shrink: 0 !important;
    order: 3;
    min-width: 0 !important;
    gap: var(--header-social-gap-desktop, 8px) !important;
  }

  /* Desktop/tablet: icons only — phone/email text stays in mobile menu & footer */
  body:not(.dashboard-app-body) .header-contact-links {
    min-width: 0 !important;
  }

  body:not(.dashboard-app-body) .header-contact-link {
    gap: 0 !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
  }

  body:not(.dashboard-app-body) .header-contact-text {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body:not(.dashboard-app-body) .header-contact-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }
}

@media (min-width: 1024px) {
  body:not(.dashboard-app-body) {
    --header-menu-gap: var(--header-menu-gap-desktop);
    --header-menu-font-size: var(--header-menu-font-size-desktop);
    --header-height: var(--header-height-desktop);
  }

  body:not(.dashboard-app-body) .site-header .header-container {
    column-gap: var(--header-layout-gap-desktop) !important;
    padding-left: max(clamp(20px, 3vw, 48px), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(clamp(20px, 3vw, 48px), env(safe-area-inset-right, 0px)) !important;
  }

  body:not(.dashboard-app-body) .header-logo-wrap {
    max-width: var(--header-logo-max-desktop) !important;
  }

  body:not(.dashboard-app-body) .header-actions {
    gap: var(--header-actions-gap-desktop) !important;
    max-width: min(100%, 38vw) !important;
  }

  body:not(.dashboard-app-body) .main-navigation {
    max-width: min(100%, calc(100vw - 380px)) !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body:not(.dashboard-app-body) .main-navigation {
    max-width: min(100%, calc(100vw - 300px)) !important;
  }
}

@media (max-width: 767px) {
  body:not(.dashboard-app-body) .main-navigation {
    display: none !important;
  }

  body:not(.dashboard-app-body) .header-mobile-left {
    display: flex !important;
  }

  body:not(.dashboard-app-body) .site-header .header-container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body:not(.dashboard-app-body) .header-mobile-left {
    grid-column: 1;
    justify-self: start;
  }

  body:not(.dashboard-app-body) .header-logo-wrap {
    grid-column: 2 !important;
    justify-self: center !important;
    max-width: var(--site-logo-max-width-mobile) !important;
    min-width: 0 !important;
  }

  body:not(.dashboard-app-body) .header-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    min-width: 0 !important;
  }

  body:not(.dashboard-app-body) .header-actions .header-contact-links,
  body:not(.dashboard-app-body) .header-actions .language-switch--desktop,
  body:not(.dashboard-app-body) .header-actions .language-switch--header {
    display: none !important;
  }
}

/* ----- Footer booking link matches menu links ----- */
body:not(.dashboard-app-body) .footer-menu-item--booking {
  margin-top: 0;
  display: block;
  width: auto;
}

body:not(.dashboard-app-body) .footer-menu-item--booking a {
  display: inline;
  width: auto;
  max-width: none;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  font-size: var(--footer-menu-link-size);
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.dashboard-app-body) .footer-menu-item--booking a:hover {
  color: var(--footer-link-hover);
}

body:not(.dashboard-app-body) .footer-container {
  gap: var(--footer-column-gap, 42px);
}

body:not(.dashboard-app-body) .footer-menu,
body:not(.dashboard-app-body) .footer-navigation .menu {
  gap: var(--footer-menu-link-gap, 20px);
}

body:not(.dashboard-app-body) .footer-menu--legal {
  gap: var(--footer-menu-link-gap, 20px) !important;
}

body:not(.dashboard-app-body) .footer-contact-list {
  gap: var(--footer-contact-item-gap, 22px) !important;
}

body:not(.dashboard-app-body) .footer-hours-list li + li {
  margin-top: 12px;
}

/* Remove trailing divider/padding under the last hours row so the Social
   column sits with symmetrical spacing (no oversized gap above it). */
body:not(.dashboard-app-body) .footer-hours-list li:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

/* Social column: keep the icon row tight to its heading like the other columns. */
body:not(.dashboard-app-body) .footer-socials {
  margin-top: 2px;
}

body:not(.dashboard-app-body) .footer-column--legal .footer-menu a {
  transition: color var(--transition-main, 0.2s ease);
}

body:not(.dashboard-app-body) .footer-column--legal .footer-menu a:hover,
body:not(.dashboard-app-body) .footer-column--legal .footer-menu a:focus-visible {
  color: var(--footer-link-hover, #fff) !important;
}

/* ----- BMI result panel matches workspace width ----- */
html body.home:not(.dashboard-app-body) .bmi-section .bmi-result-row .bmi-result,
html body.home:not(.dashboard-app-body) .bmi-section .bmi-result-row #bmiResult.bmi-result {
  align-self: stretch !important;
  margin-inline: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body.home:not(.dashboard-app-body) .strength-result-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

html body.home:not(.dashboard-app-body) .strength-result.premium-glass--panel,
html body.home:not(.dashboard-app-body) .strength-result[data-strength-result] {
  margin-inline: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body.home:not(.dashboard-app-body) .strength-layout,
html body.home:not(.dashboard-app-body) .strength-form,
html body.home:not(.dashboard-app-body) .strength-result-panel {
  max-width: var(--strength-calc-panel-max-width, min(720px, 100%)) !important;
  margin-inline: auto !important;
  width: 100% !important;
}

html body.home:not(.dashboard-app-body) .strength-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: var(--bmi-calc-result-gap, clamp(24px, 4vw, 36px)) !important;
}

/* ----- Responsive photos — crop, never stretch ----- */
body:not(.dashboard-app-body) .program-card-media {
  aspect-ratio: var(--site-photo-ratio-card);
  min-height: 0 !important;
  overflow: hidden !important;
}

body:not(.dashboard-app-body) .program-card-media img,
body:not(.dashboard-app-body) .program-card-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

body:not(.dashboard-app-body) .gym-gallery-section--facilities .gym-gallery-item,
body:not(.dashboard-app-body) .gym-gallery-section--facilities .gym-gallery-item--facility {
  display: block !important;
  overflow: hidden !important;
}

body:not(.dashboard-app-body) .gym-gallery-section--facilities.gym-gallery-section--showcase .gym-gallery-item,
body:not(.dashboard-app-body) .gym-gallery-section--facilities.gym-gallery-section--showcase .gym-gallery-item--facility {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: var(--site-photo-ratio-gallery, 4 / 3) !important;
}

body:not(.dashboard-app-body) .gym-gallery-section--facilities .gym-gallery-trigger {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: var(--site-photo-ratio-gallery, 4 / 3) !important;
  overflow: hidden !important;
}

body:not(.dashboard-app-body) .gym-gallery-image,
body:not(.dashboard-app-body) .gym-gallery-trigger img,
body:not(.dashboard-app-body) .gym-gallery-section--facilities .gym-gallery-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

body:not(.dashboard-app-body) .gym-gallery-grid {
  max-width: 100% !important;
}

body:not(.dashboard-app-body) .about-home-spotlight--video .about-home-spotlight__media {
  aspect-ratio: unset !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit;
}

body:not(.dashboard-app-body) .about-home-spotlight:not(.about-home-spotlight--video) .about-home-spotlight__media {
  aspect-ratio: var(--site-photo-ratio-wide);
  overflow: hidden;
}

@media (max-width: 899px) {
  body:not(.dashboard-app-body) .about-home-spotlight--video {
    overflow: hidden;
    border-radius: var(--about-spotlight-radius);
  }

  body:not(.dashboard-app-body) .about-home-spotlight--video .about-home-spotlight__media,
  body:not(.dashboard-app-body) .about-home-spotlight--video .about-home-spotlight__poster,
  body:not(.dashboard-app-body) .about-home-spotlight--video .about-home-spotlight__video {
    border-radius: inherit;
  }
}

body:not(.dashboard-app-body) .about-home-spotlight__poster,
body:not(.dashboard-app-body) .about-home-spotlight__video {
  object-fit: cover !important;
  object-position: center !important;
}

body:not(.dashboard-app-body) .about-team-circles__photo {
  overflow: hidden;
}

body:not(.dashboard-app-body) .about-team-circles__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body:not(.dashboard-app-body) .partner-logo-scroll__image,
body:not(.dashboard-app-body) .partner-logo-scroll__link img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: var(--partnerships-logo-max-height, 72px) !important;
  object-fit: contain !important;
}

body:not(.dashboard-app-body) .hero-image,
body:not(.dashboard-app-body) .hero-media img {
  object-fit: cover !important;
  object-position: center !important;
}

body:not(.dashboard-app-body) .programs-page-v2-card-media {
  aspect-ratio: var(--site-photo-ratio-gallery);
  min-height: 0 !important;
  overflow: hidden;
}

body:not(.dashboard-app-body) .programs-page-v2-card-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

body:not(.dashboard-app-body) .gym-gallery-lightbox-image {
  width: auto !important;
  max-width: min(96vw, 1200px) !important;
  height: auto !important;
  max-height: min(82vh, 900px) !important;
  object-fit: contain !important;
}

@media (max-width: 767px) {
  body:not(.dashboard-app-body) .gym-gallery-section--facilities .gym-gallery-item,
  body:not(.dashboard-app-body) .gym-gallery-section--facilities .gym-gallery-item--facility {
    min-height: 0 !important;
  }
}

/* ----- Section headings — centered stack sections only (do not affect split layouts) ----- */
html body.home:not(.dashboard-app-body) .site-section-block.section-flow--stack :is(
  .programs-title,
  .membership-title,
  .partnerships-title,
  .booking-section-intro-title,
  .bmi-title,
  .strength-title,
  .location-title,
  .faq-title,
  .get-in-touch-title
),
html body.home:not(.dashboard-app-body) section.hero-section.hero-section--neon .hero-title {
  display: block !important;
  width: 100% !important;
  max-width: min(100%, var(--pv-heading-max, 620px), var(--pv-content-max, 900px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  text-wrap: balance !important;
  hyphens: auto;
}

@media (min-width: 768px) {
  html body.home:not(.dashboard-app-body) .site-section-block.section-flow--stack :is(
    .programs-title,
    .membership-title,
    .partnerships-title,
    .booking-section-intro-title,
    .bmi-title,
    .strength-title,
    .location-title,
    .faq-title,
    .get-in-touch-title
  ),
  html body.home:not(.dashboard-app-body) section.hero-section.hero-section--neon .hero-title {
    font-size: var(--pv-heading-size, 28.8px) !important;
    line-height: var(--pv-heading-line-height, 1.2) !important;
    letter-spacing: normal !important;
  }
}

@media (max-width: 767px) {
  html body.home:not(.dashboard-app-body) .site-section-block.section-flow--stack :is(
    .programs-title,
    .membership-title,
    .partnerships-title,
    .booking-section-intro-title,
    .bmi-title,
    .strength-title,
    .location-title,
    .faq-title,
    .get-in-touch-title
  ),
  html body.home:not(.dashboard-app-body) .membership-section .membership-title,
  html body.home:not(.dashboard-app-body) section.hero-section.hero-section--neon .hero-title {
    font-size: var(--site-mobile-section-title, var(--pv-heading-size, 21px)) !important;
    line-height: 1.04 !important;
    letter-spacing: 0.01em !important;
  }
}

/* Split sections: left-aligned titles stay left */
@media (min-width: 1024px) {
  html body.home:not(.dashboard-app-body) .section-flow--split :is(.about-title, .gym-gallery-title) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: var(--split-layout-text-max, min(52ch, 100%)) !important;
    text-align: left !important;
  }
}

/* ----- Header actions: final beat legacy main.css + stale wide-screen contact text ----- */
@media (min-width: 768px) {
  body:not(.dashboard-app-body) .site-header .header-actions {
    min-width: 0 !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
  }

  body:not(.dashboard-app-body) .site-header .header-contact-links {
    min-width: 0 !important;
    flex-shrink: 0 !important;
    gap: var(--header-social-gap-desktop, 8px) !important;
  }

  body:not(.dashboard-app-body) .site-header .header-contact-link {
    min-width: 0 !important;
    width: var(--header-action-icon-size) !important;
    height: var(--header-action-icon-size) !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  body:not(.dashboard-app-body) .site-header .header-social-link {
    width: var(--header-action-icon-size) !important;
    height: var(--header-action-icon-size) !important;
  }

  body:not(.dashboard-app-body) .site-header .header-social-link svg,
  body:not(.dashboard-app-body) .site-header .header-contact-link svg {
    width: var(--header-action-icon-glyph-size) !important;
    height: var(--header-action-icon-glyph-size) !important;
  }

  body:not(.dashboard-app-body) .site-header .header-contact-text {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }
}

/* ----- Sitewide SVG icons: crisp stroke style ----- */
body:not(.dashboard-app-body) .site-svg-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--site-icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

body:not(.dashboard-app-body) .site-svg-icon__solid {
  fill: currentColor;
  stroke: none;
}

body:not(.dashboard-app-body) .header-contact-icon svg,
body:not(.dashboard-app-body) .header-social-link svg,
body:not(.dashboard-app-body) .mobile-contact-icon svg,
body:not(.dashboard-app-body) .footer-contact-icon svg,
body:not(.dashboard-app-body) .contact-info-icon svg,
body:not(.dashboard-app-body) .contact-social-link svg,
body:not(.dashboard-app-body) .footer-social-link svg,
body:not(.dashboard-app-body) .contact-tile__icon svg {
  fill: none !important;
  stroke: currentColor;
  stroke-width: var(--site-icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

@media (max-width: 767px) {
  body:not(.dashboard-app-body) .site-svg-icon,
  body:not(.dashboard-app-body) .header-contact-icon svg,
  body:not(.dashboard-app-body) .header-social-link svg,
  body:not(.dashboard-app-body) .mobile-contact-icon svg,
  body:not(.dashboard-app-body) .footer-contact-icon svg,
  body:not(.dashboard-app-body) .contact-info-icon svg,
  body:not(.dashboard-app-body) .contact-social-link svg,
  body:not(.dashboard-app-body) .footer-social-link svg,
  body:not(.dashboard-app-body) .contact-tile__icon svg {
    stroke-width: var(--site-icon-stroke-width-compact);
  }
}

/* ----- Responsive icon boxes: footer, mobile menu, contact tiles ----- */
body:not(.dashboard-app-body) .footer-contact-item {
  grid-template-columns: var(--footer-contact-icon-box-size) 1fr !important;
  align-items: start !important;
}

body:not(.dashboard-app-body) .footer-contact-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--footer-contact-icon-box-size) !important;
  height: var(--footer-contact-icon-box-size) !important;
  min-width: var(--footer-contact-icon-box-size);
  margin-top: 2px !important;
}

body:not(.dashboard-app-body) .footer-contact-icon svg {
  width: var(--footer-contact-icon-glyph-size) !important;
  height: var(--footer-contact-icon-glyph-size) !important;
}

body:not(.dashboard-app-body) .footer-social-link {
  width: var(--footer-icon-box-size) !important;
  height: var(--footer-icon-box-size) !important;
  min-width: var(--footer-icon-box-size);
  min-height: var(--footer-icon-box-size);
}

body:not(.dashboard-app-body) .footer-social-link svg {
  width: var(--footer-icon-glyph-size) !important;
  height: var(--footer-icon-glyph-size) !important;
}

body:not(.dashboard-app-body) .mobile-contact-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 var(--mobile-menu-icon-box-size) !important;
  width: var(--mobile-menu-icon-box-size) !important;
  height: var(--mobile-menu-icon-box-size) !important;
  min-width: var(--mobile-menu-icon-box-size);
}

body:not(.dashboard-app-body) .mobile-contact-icon svg {
  width: var(--mobile-menu-icon-glyph-size) !important;
  height: var(--mobile-menu-icon-glyph-size) !important;
}

body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile__icon {
  width: var(--contact-tile-icon-box-size) !important;
  height: var(--contact-tile-icon-box-size) !important;
}

body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile__icon svg {
  width: var(--contact-tile-icon-glyph-size) !important;
  height: var(--contact-tile-icon-glyph-size) !important;
}

body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile__icon svg,
body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile__icon svg path {
  fill: none !important;
  stroke: currentColor;
  stroke-width: var(--site-icon-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.dashboard-app-body) .contact-info-icon svg {
  width: var(--site-icon-glyph-size) !important;
  height: var(--site-icon-glyph-size) !important;
}

body:not(.dashboard-app-body) .contact-social-link {
  width: var(--site-icon-box-size) !important;
  height: var(--site-icon-box-size) !important;
}

body:not(.dashboard-app-body) .contact-social-link svg {
  width: var(--site-icon-glyph-size) !important;
  height: var(--site-icon-glyph-size) !important;
}

/* ----- Brand logo: responsive header + footer (wide logo, object-fit contain) ----- */
body:not(.dashboard-app-body) .site-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  line-height: 0 !important;
}

body:not(.dashboard-app-body) .header-logo-wrap .site-logo,
body:not(.dashboard-app-body) .header-logo-wrap .site-logo img,
body:not(.dashboard-app-body) .header-logo-wrap img.custom-logo {
  width: auto !important;
  height: auto !important;
  max-width: var(--site-logo-max-width-mobile) !important;
  max-height: var(--site-logo-max-height-mobile) !important;
  object-fit: contain !important;
  object-position: center !important;
}

body:not(.dashboard-app-body) .footer-bottom-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: var(--footer-logo-max-width-mobile) !important;
  line-height: 0 !important;
}

body:not(.dashboard-app-body) .footer-bottom-logo img,
body:not(.dashboard-app-body) .footer-bottom-logo__image,
body:not(.dashboard-app-body) .footer-bottom-logo .custom-logo {
  width: auto !important;
  height: auto !important;
  max-width: var(--footer-logo-max-width-mobile) !important;
  max-height: var(--footer-logo-max-height-mobile) !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (min-width: 768px) {
  body:not(.dashboard-app-body) .header-logo-wrap .site-logo,
  body:not(.dashboard-app-body) .header-logo-wrap .site-logo img,
  body:not(.dashboard-app-body) .header-logo-wrap img.custom-logo {
    max-width: var(--site-logo-max-width-tablet) !important;
    max-height: var(--site-logo-max-height-tablet) !important;
  }

  body:not(.dashboard-app-body) .footer-bottom-logo {
    max-width: var(--footer-logo-max-width-tablet) !important;
  }

  body:not(.dashboard-app-body) .footer-bottom-logo img,
  body:not(.dashboard-app-body) .footer-bottom-logo__image,
  body:not(.dashboard-app-body) .footer-bottom-logo .custom-logo {
    max-width: var(--footer-logo-max-width-tablet) !important;
    max-height: var(--footer-logo-max-height-tablet) !important;
  }
}

@media (min-width: 1024px) {
  body:not(.dashboard-app-body) .header-logo-wrap .site-logo,
  body:not(.dashboard-app-body) .header-logo-wrap .site-logo img,
  body:not(.dashboard-app-body) .header-logo-wrap img.custom-logo {
    max-width: var(--site-logo-max-width-desktop) !important;
    max-height: var(--site-logo-max-height-desktop) !important;
  }

  body:not(.dashboard-app-body) .footer-bottom-logo {
    max-width: var(--footer-logo-max-width-desktop) !important;
  }

  body:not(.dashboard-app-body) .footer-bottom-logo img,
  body:not(.dashboard-app-body) .footer-bottom-logo__image,
  body:not(.dashboard-app-body) .footer-bottom-logo .custom-logo {
    max-width: var(--footer-logo-max-width-desktop) !important;
    max-height: var(--footer-logo-max-height-desktop) !important;
  }
}

@media (min-width: 1400px) {
  body:not(.dashboard-app-body) .header-logo-wrap .site-logo,
  body:not(.dashboard-app-body) .header-logo-wrap .site-logo img,
  body:not(.dashboard-app-body) .header-logo-wrap img.custom-logo {
    max-width: var(--site-logo-max-width-large) !important;
    max-height: var(--site-logo-max-height-large) !important;
  }
}

/* ----- Eyebrow side lines removed site-wide ----- */
body:not(.dashboard-app-body) [class*="-eyebrow"]::before,
body:not(.dashboard-app-body) [class*="-eyebrow"]::after,
body:not(.dashboard-app-body) .booking-section-intro-eyebrow::before,
body:not(.dashboard-app-body) .booking-section-intro-eyebrow::after {
  content: none !important;
  display: none !important;
}

/* ----- Footer business hours — no row underlines ----- */
body:not(.dashboard-app-body) .footer-hours-list li {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body:not(.dashboard-app-body) .footer-hours-list li:last-child {
  padding-bottom: 0 !important;
}

/* ----- Desktop header: aligned icon row + compact language switch ----- */
@media (min-width: 768px) {
  body:not(.dashboard-app-body) .header-actions .header-socials,
  body:not(.dashboard-app-body) .header-actions .header-contact-links {
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    height: var(--header-action-icon-size) !important;
  }

  body:not(.dashboard-app-body) .header-actions .header-social-link,
  body:not(.dashboard-app-body) .header-actions .header-contact-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--header-action-icon-size) !important;
    height: var(--header-action-icon-size) !important;
    min-width: var(--header-action-icon-size) !important;
    min-height: var(--header-action-icon-size) !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 1024px) {
  body:not(.dashboard-app-body) .header-actions .language-switch--header,
  body:not(.dashboard-app-body) .header-actions .language-switch--desktop {
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    gap: 6px !important;
  }
}

/* ----- Tighter text → button spacing site-wide ----- */
:root {
  --site-text-button-gap: clamp(16px, 2.2vw, 24px);
  --site-section-header-content-gap: var(--site-text-button-gap);
  --section-content-max-width: min(1040px, 100%);
  --strength-calc-panel-max-width: min(1040px, 100%);
  --contact-page-map-info-gap: clamp(48px, 6vw, 72px);
  --hero-actions-gap-desktop: clamp(12px, 1.5vw, 18px);
}

/* ----- About page: visible content + centered headings ----- */
body:not(.dashboard-app-body) .about-page-flow {
  position: relative;
  z-index: 2;
}

body:not(.dashboard-app-body) .about-page-flow [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body:not(.dashboard-app-body) .about-page-block-title,
body:not(.dashboard-app-body) .about-page-team-heading {
  text-align: center !important;
  margin-inline: auto !important;
}

body:not(.dashboard-app-body) .about-page-block,
body:not(.dashboard-app-body) .about-page-block p {
  text-align: center;
}

/* ----- Contact page: centered heading, map, info tiles ----- */
body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-heading-centered,
body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-map-container,
body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-info-wrap {
  width: 100%;
  max-width: var(--section-content-max-width);
  margin-inline: auto;
  text-align: center;
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-heading-centered {
  margin-bottom: clamp(20px, 3vw, 28px);
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-map-container {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: var(--section-content-max-width) !important;
  margin: 0 auto !important;
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-location-map-container {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: var(--section-content-max-width) !important;
  margin: 0 auto !important;
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-map-container .contact-location-map-wrap {
  min-height: clamp(280px, 38vw, 420px);
  border-radius: var(--programs-page-card-radius, 16px);
  overflow: hidden;
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-info-wrap {
  margin-top: var(--contact-page-map-info-gap, clamp(40px, 5vw, 56px)) !important;
}

body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-info-tiles.contact-tiles--premium {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 760px) {
  body:not(.dashboard-app-body) .contact-page-flow--centered .contact-page-info-tiles.contact-tiles--premium {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }
}

/* ----- Homepage contact form: match section content width ----- */
body:not(.dashboard-app-body) .get-in-touch-form {
  width: 100%;
  max-width: var(--section-content-max-width) !important;
}

/* ----- BMI: bordered form shell matches table panel height/width ----- */
body:not(.dashboard-app-body) .bmi-section .bmi-form {
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--site-glass-radius, 16px);
  background: var(--site-glass-bg-strong, rgba(8, 8, 12, 0.55));
  box-shadow: var(--site-glass-shadow, 0 18px 48px rgba(0, 0, 0, 0.28));
  backdrop-filter: blur(var(--site-glass-blur, 16px)) saturate(var(--site-glass-saturate, 140%));
  -webkit-backdrop-filter: blur(var(--site-glass-blur, 16px)) saturate(var(--site-glass-saturate, 140%));
  box-sizing: border-box;
  justify-items: stretch !important;
  text-align: left !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-workspace-row {
  align-items: stretch;
}

body:not(.dashboard-app-body) .bmi-section .bmi-left,
body:not(.dashboard-app-body) .bmi-section .bmi-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

body:not(.dashboard-app-body) .bmi-section .bmi-form,
body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

body:not(.dashboard-app-body) .bmi-section .bmi-input-group,
body:not(.dashboard-app-body) .bmi-section .bmi-button {
  width: 100%;
  max-width: 100%;
}

body:not(.dashboard-app-body) .bmi-section .bmi-button {
  align-self: stretch;
}

@media (min-width: 768px) {
  body:not(.dashboard-app-body) .bmi-section .bmi-form,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
    min-height: 100%;
  }
}

body:not(.dashboard-app-body) .bmi-section .bmi-result-row .bmi-result,
html body.home:not(.dashboard-app-body) .bmi-section .bmi-result-row .bmi-result,
html body.home:not(.dashboard-app-body) .bmi-section .bmi-result-row #bmiResult.bmi-result {
  width: 100% !important;
  max-width: 100% !important;
}

/* ----- Strength: result panel matches form panel width + border ----- */
body:not(.dashboard-app-body) .strength-workspace--stacked .strength-layout,
body:not(.dashboard-app-body) .strength-workspace--stacked .strength-result-panel,
body:not(.dashboard-app-body) .strength-workspace--stacked .strength-form {
  width: 100%;
  max-width: var(--strength-calc-panel-max-width, min(1040px, 100%));
}

body:not(.dashboard-app-body) .strength-workspace--stacked .strength-result.premium-glass--panel {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-sizing: border-box !important;
}

/* ----- Hero: horizontal buttons on desktop ----- */
@media (min-width: 1024px) {
  html body:not(.dashboard-app-body) .hero-actions.hero-actions--neon,
  html body.preview-editor-mode .hero-actions.hero-actions--neon {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--hero-actions-gap-desktop, var(--hero-actions-gap, 18px)) !important;
    max-width: min(100%, var(--pv-content-max, 900px)) !important;
    width: 100% !important;
  }

  html body:not(.dashboard-app-body) .hero-actions.hero-actions--neon .hero-btn,
  html body:not(.dashboard-app-body) .hero-actions.hero-actions--neon .btn,
  html body.preview-editor-mode .hero-actions.hero-actions--neon .hero-btn,
  html body.preview-editor-mode .hero-actions.hero-actions--neon .btn {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: min(100%, 168px) !important;
  }
}

/* ----- Homepage: restore light text + split-section alignment ----- */
html body.home:not(.dashboard-app-body) .site-section-block {
  color: var(--color-light, #faf9fe);
}

html body.home:not(.dashboard-app-body) .booking-section-intro-text {
  color: var(--ed-booking-text-color, rgba(250, 249, 254, 0.78)) !important;
}

@media (min-width: 1024px) {
  html body.home:not(.dashboard-app-body) .about-home-spotlight__grid--centered,
  html body.home:not(.dashboard-app-body) .about-home-spotlight__grid .about-home-spotlight__content--centered,
  html body.home:not(.dashboard-app-body) .about-home-spotlight__grid .about-home-spotlight__content--centered.section-intro,
  html body.home:not(.dashboard-app-body) .about-home-spotlight__grid .about-home-spotlight__content--centered .section-intro {
    margin-inline: auto !important;
    max-width: min(100%, 720px) !important;
    text-align: center !important;
    align-items: center !important;
  }

  html body.home:not(.dashboard-app-body) .about-home-spotlight__content--centered :is(.about-eyebrow, .about-title, .about-text) {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  html body.home:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-text {
    margin-inline: auto !important;
    color: rgba(250, 249, 254, 0.9) !important;
  }

  html body.home:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-actions {
    justify-content: center !important;
  }

  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text .gym-gallery-heading,
  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text .gym-gallery-heading.section-intro {
    margin-inline: 0 !important;
    max-width: var(--split-layout-text-max, min(52ch, 100%)) !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text :is(.gym-gallery-eyebrow, .gym-gallery-title, .gym-gallery-text) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text .gym-gallery-eyebrow {
    align-self: flex-start !important;
    justify-content: flex-start !important;
  }

  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text .gym-gallery-eyebrow::before {
    display: none;
  }

  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text .gym-gallery-text {
    margin-inline: 0 !important;
  }
}

/* ----- Partner logos: stay inside section max width (not full viewport) ----- */
html body.home:not(.dashboard-app-body) .partnerships-section .partner-logo-scroll {
  width: 100% !important;
  max-width: var(--section-content-max-width, min(1040px, 100%)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

html body.home:not(.dashboard-app-body) .partnerships-section .partner-logo-scroll__viewport {
  width: 100% !important;
  max-width: 100% !important;
}

/* ----- BMI mobile: form panel matches reference table width ----- */
body:not(.dashboard-app-body) .bmi-section .bmi-left {
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-form {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ----- Partnership logos: more space below CTA ----- */
html body.home:not(.dashboard-app-body) .partnerships-section .partner-logo-scroll {
  margin-top: clamp(32px, 7vw, 52px) !important;
}

/* ----- Mobile hamburger: clearer tap target + bars ----- */
@media (max-width: 767px) {
  body:not(.dashboard-app-body) .menu-toggle--bars {
    width: var(--mobile-menu-icon-box-size) !important;
    height: var(--mobile-menu-icon-box-size) !important;
    min-width: var(--mobile-menu-icon-box-size) !important;
    min-height: var(--mobile-menu-icon-box-size) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body:not(.dashboard-app-body) .menu-toggle--bars .menu-toggle-bars {
    width: calc(var(--mobile-menu-icon-glyph-size) * 0.88) !important;
    height: auto !important;
    gap: 6px !important;
  }

  body:not(.dashboard-app-body) .menu-toggle--bars .menu-toggle-line {
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(250, 249, 254, 0.94) !important;
    transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
  }

  body:not(.dashboard-app-body).menu-open .menu-toggle--bars,
  body:not(.dashboard-app-body).menu-is-opening .menu-toggle--bars {
    background: transparent !important;
    border-color: transparent !important;
  }

  body:not(.dashboard-app-body).menu-open .menu-toggle--bars .menu-toggle-line,
  body:not(.dashboard-app-body).menu-is-opening .menu-toggle--bars .menu-toggle-line {
    background: rgba(222, 36, 47, 0.92) !important;
  }
}

/* ----- Footer: comfortable desktop spacing + responsive columns ----- */
@media (min-width: 1024px) {
  body:not(.dashboard-app-body) .footer-container {
    gap: clamp(48px, 6vw, 72px) !important;
    padding-inline: clamp(24px, 3vw, 40px) !important;
  }

  body:not(.dashboard-app-body) .footer-menu,
  body:not(.dashboard-app-body) .footer-menu--legal {
    gap: 18px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body:not(.dashboard-app-body) .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(36px, 5vw, 48px) !important;
  }
}

@media (max-width: 767px) {
  body:not(.dashboard-app-body) .footer-container {
    gap: clamp(28px, 7vw, 40px) !important;
  }

  body:not(.dashboard-app-body) .footer-menu a,
  body:not(.dashboard-app-body) .footer-menu--legal a {
    line-height: 1.55 !important;
  }
}

/* ----- Contact page: map/info spacing, footer seam, icon hover ----- */
body:not(.dashboard-app-body) .contact-page-flow .contact-page-section {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

body:not(.dashboard-app-body):has(.contact-page-flow) .site-footer,
body:not(.dashboard-app-body):has(.contact-page-flow) .site-footer .footer-container {
  border-top: 0 !important;
  box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile {
    transition:
      transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.24s ease,
      box-shadow 0.24s ease;
  }

  body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile__icon {
    transform: translateY(-2px);
    transition: color 0.24s ease, transform 0.24s ease, filter 0.24s ease;
  }

  body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(222, 36, 47, 0.32);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  }

  body:not(.dashboard-app-body) .contact-page-flow--tiles .contact-tile:hover .contact-tile__icon {
    color: var(--color-red, #de242f);
    transform: translateY(-4px);
    filter: drop-shadow(0 0 10px rgba(222, 36, 47, 0.5));
  }
}

/* =========================================================
   Phase-2 layout fixes (win over alternating-layout / premium)
========================================================= */

:root {
  --section-stack-eyebrow-gap: clamp(14px, 2vw, 20px);
  --section-stack-heading-gap: clamp(14px, 2vw, 20px);
  --section-stack-text-gap: clamp(14px, 2vw, 20px);
  --section-stack-button-gap: clamp(14px, 2vw, 20px);
  --section-stack-content-gap: clamp(32px, 4.5vw, 48px);
  --section-eyebrow-heading-gap-desktop: var(--section-stack-eyebrow-gap);
  --section-eyebrow-heading-gap-mobile: clamp(12px, 2.5vw, 16px);
  --section-heading-text-gap-desktop: var(--section-stack-heading-gap);
  --section-text-content-gap-desktop: var(--section-stack-content-gap);
  --section-header-button-gap-desktop: var(--section-stack-button-gap);
  --section-content-button-gap: var(--section-stack-content-gap);
  --site-section-step-gap: var(--section-stack-eyebrow-gap);
  --site-section-block-gap: var(--section-stack-content-gap);
  --site-section-stack-gap: var(--section-stack-eyebrow-gap);
}

body:not(.dashboard-app-body) .section-intro-stack :is([class*="-title"], h2, h3) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(100%, var(--pv-heading-max, 100%));
}

body:not(.dashboard-app-body) .strength-workspace--stacked {
  align-items: stretch !important;
}

body:not(.dashboard-app-body) .strength-layout {
  overflow: visible !important;
}

body:not(.dashboard-app-body) .strength-workspace--stacked .strength-form,
body:not(.dashboard-app-body) .strength-workspace--stacked .strength-result-panel,
body:not(.dashboard-app-body) .strength-workspace--stacked .strength-result.premium-glass--panel {
  width: 100% !important;
  max-width: var(--strength-calc-panel-max-width, min(720px, 100%)) !important;
  box-sizing: border-box !important;
}

body:not(.dashboard-app-body) .strength-result.premium-glass--panel {
  overflow: visible !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-workspace-row {
  align-items: stretch !important;
}

@media (min-width: 768px) {
  body:not(.dashboard-app-body) .bmi-section .bmi-left,
  body:not(.dashboard-app-body) .bmi-section .bmi-right {
    height: 100%;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-form,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
    height: 100%;
    min-height: 100%;
  }
}

body:not(.dashboard-app-body) .bmi-result-row .bmi-result,
html body.home:not(.dashboard-app-body) .bmi-section .bmi-result-row .bmi-result,
html body.home:not(.dashboard-app-body) .bmi-section .bmi-result-row #bmiResult.bmi-result {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  align-self: stretch !important;
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  padding: 8px 8px !important;
}

body:not(.dashboard-app-body) .booking-step-panel[data-booking-lang="el"] .booking-progress-item {
  font-size: 11px !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item > span:last-child {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  text-align: center !important;
  justify-content: center !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-icon svg {
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-icon,
body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item.is-active .booking-progress-icon,
body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item.is-done .booking-progress-icon {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-workspace-row {
  align-items: stretch !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-left,
body:not(.dashboard-app-body) .bmi-section .bmi-right {
  align-self: stretch !important;
  height: auto !important;
}

@media (min-width: 768px) {
  body:not(.dashboard-app-body) .bmi-section .bmi-left {
    display: flex !important;
    flex-direction: column !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-left .bmi-form {
    flex: 1 1 auto !important;
    align-self: stretch !important;
    min-height: 100% !important;
    height: 100% !important;
    align-content: center !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
    flex: 1 1 auto !important;
    align-self: stretch !important;
    min-height: 100% !important;
    height: 100% !important;
  }
}

body:not(.dashboard-app-body) .legal-page-heading-row .legal-page-heading-icon {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.dashboard-app-body) .legal-page-heading-row .legal-page-heading-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

body:not(.dashboard-app-body) .booking-step-panel[data-current-view="success"] {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

body:not(.dashboard-app-body) .booking-step-panel[data-current-view="success"]::before,
body:not(.dashboard-app-body) .booking-step-panel[data-current-view="success"]::after {
  display: none !important;
}

body:not(.dashboard-app-body) .booking-step-panel[data-current-view="success"] .booking-panel-viewport,
body:not(.dashboard-app-body) .booking-step-panel[data-current-view="success"] .booking-success-view {
  padding: 0 !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-header {
  justify-content: flex-end !important;
  padding: 14px 16px 8px !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-close {
  width: 32px !important;
  height: 32px !important;
  font-size: 20px !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-item-icon {
  width: 54px !important;
  height: 54px !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-item-icon svg,
body:not(.dashboard-app-body) .strength-exercise-picker-item-icon .strength-equipment-icon,
body:not(.dashboard-app-body) .strength-exercise-picker-item-icon .strength-exercise-figure,
body:not(.dashboard-app-body) .strength-exercise-picker-item-icon .strength-exercise-icon-img {
  width: 46px !important;
  height: 46px !important;
}

body:not(.dashboard-app-body) .booking-contact-strip--home svg {
  width: 20px !important;
  height: 20px !important;
}

@media (hover: hover) and (pointer: fine) {
  body:not(.dashboard-app-body) .header-contact-link:hover {
    transform: translateY(-2px);
  }
}

/* =========================================================
   Phase-3 layout fixes (horizontal booking, BMI, footer, facilities)
========================================================= */

body:not(.dashboard-app-body) .booking-contact-strip--home {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 18px !important;
  grid-template-columns: none !important;
}

body:not(.dashboard-app-body) .booking-contact-strip--home span {
  flex: 1 1 220px !important;
  max-width: calc(50% - 9px) !important;
  min-width: min(100%, 200px) !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
}

body:not(.dashboard-app-body) .booking-contact-strip--home svg {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-panel-viewport,
body:not(.dashboard-app-body) .booking-step-panel .booking-panel-viewport > .booking-panel-view.is-active,
body:not(.dashboard-app-body) .booking-step-panel .booking-panel-view-scroll {
  max-height: none !important;
  overflow: visible !important;
}

body:not(.dashboard-app-body) .booking-success-card {
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
}

body:not(.dashboard-app-body) .booking-success-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
}

body:not(.dashboard-app-body) .booking-success-heading h3 {
    margin: 0 !important;
    text-align: center !important;
}

body:not(.dashboard-app-body) .booking-success-icon {
    width: 56px !important;
    height: 56px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 38%),
        linear-gradient(135deg, rgba(222, 36, 47, 0.95), rgba(222, 36, 47, 0.55)) !important;
    border: 0 !important;
    box-shadow:
        0 0 0 1px rgba(222, 36, 47, 0.35),
        0 12px 28px rgba(222, 36, 47, 0.22) !important;
    animation:
        booking-success-icon-shell-in 680ms cubic-bezier(0.2, 0.75, 0.24, 1) both,
        booking-success-icon-shell-glow 2.6s ease-in-out 680ms infinite !important;
}

body:not(.dashboard-app-body) .booking-success-icon svg {
    width: 28px !important;
    height: 28px !important;
    fill: currentColor !important;
    animation: none !important;
    filter: none !important;
}

@media (min-width: 1024px) {
  body:not(.dashboard-app-body) .gym-gallery-showcase-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
    gap: clamp(40px, 5vw, 64px) !important;
    align-items: center !important;
  }

  body:not(.dashboard-app-body) .gym-gallery-showcase-layout__text {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-right: clamp(8px, 1.5vw, 16px) !important;
    box-sizing: border-box !important;
  }

  body:not(.dashboard-app-body) .gym-gallery-showcase-layout__grid-top {
    min-width: 0 !important;
  }

  html body.home:not(.dashboard-app-body) .gym-gallery-showcase-layout__text .gym-gallery-title {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    max-width: 100% !important;
  }
}

body:not(.dashboard-app-body) .bmi-section .bmi-form,
body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
  display: flex !important;
  flex-direction: column !important;
  padding: clamp(18px, 2.5vw, 24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--site-glass-radius, 16px) !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  body:not(.dashboard-app-body) .bmi-section .bmi-form,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
    min-height: clamp(280px, 32vw, 340px) !important;
    height: 100% !important;
  }
}

body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap .bmi-table {
  margin: 0 !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-form {
  justify-content: center !important;
  align-content: center !important;
  justify-items: stretch !important;
  text-align: left !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-input-group {
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-input-group label {
  text-align: left !important;
  width: auto !important;
}

body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap .bmi-table {
  flex: 1 1 auto !important;
  height: 100% !important;
}

body:not(.dashboard-app-body) .bmi-result.premium-glass--panel.is-calculated,
body:not(.dashboard-app-body) .bmi-result#bmiResult.is-calculated {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

body:not(.dashboard-app-body) .bmi-result.premium-glass--panel.is-calculated::before,
body:not(.dashboard-app-body) .bmi-result.premium-glass--panel.is-calculated::after,
body:not(.dashboard-app-body) .bmi-result#bmiResult.is-calculated::before,
body:not(.dashboard-app-body) .bmi-result#bmiResult.is-calculated::after {
  display: none !important;
}

body:not(.dashboard-app-body) .footer-heading {
  white-space: nowrap !important;
  font-size: clamp(14px, 1.5vw, 18px) !important;
  letter-spacing: 0.08em !important;
}

body:not(.dashboard-app-body) .footer-legal-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body:not(.dashboard-app-body) .footer-legal-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--legal-heading-icon-color, var(--color-red));
}

body:not(.dashboard-app-body) .footer-legal-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

body:not(.dashboard-app-body) .footer-column--legal .footer-menu a {
  line-height: 1.35 !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-name-group {
  flex-direction: row !important;
}

body:not(.dashboard-app-body) .booking-step-title h3,
body:not(.dashboard-app-body) .booking-service-card-title,
body:not(.dashboard-app-body) .booking-home-preview-label,
body:not(.dashboard-app-body) .booking-home-service-name {
  font-family: var(--font-heading, "Oswald", Arial, sans-serif) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

body:not(.dashboard-app-body) .section-intro-stack :is(.gym-gallery-title, .bmi-title, .booking-section-intro-title) {
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-home-service-icon {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 1.8 !important;
}

body:not(.dashboard-app-body) .booking-step-panel[data-current-view="success"] .booking-panel-app-head {
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item {
  justify-content: center !important;
  align-items: center !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-icon {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-icon .booking-progress-svg,
body:not(.dashboard-app-body) .booking-step-panel .booking-progress-icon .booking-progress-tick {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item:not(.is-done) .booking-progress-tick {
  display: none !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item.is-done .booking-progress-svg {
  display: none !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item.is-done .booking-progress-tick {
  display: block !important;
}

body:not(.dashboard-app-body) .legal-page-heading-block {
  align-items: flex-start !important;
  text-align: left !important;
  margin-inline: 0 !important;
}

body:not(.dashboard-app-body) .legal-page-heading-row,
body:not(.dashboard-app-body) .legal-page-heading-row--centered {
  justify-content: flex-start !important;
  margin-inline: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body:not(.dashboard-app-body) .legal-page-heading-row .legal-page-heading-title {
  text-align: left !important;
}

body:not(.dashboard-app-body) .legal-page-hero .narrow-container,
body:not(.dashboard-app-body) .legal-page-container.narrow-container {
  text-align: left !important;
}

body:not(.dashboard-app-body) .legal-page-flow .legal-content-card,
body:not(.dashboard-app-body) .legal-page-flow .legal-content-card--continuous,
body:not(.dashboard-app-body) .legal-page-flow .legal-content-card.premium-glass--panel {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:not(.dashboard-app-body) .legal-page-flow .legal-content-card::before,
body:not(.dashboard-app-body) .legal-page-flow .legal-content-card::after,
body:not(.dashboard-app-body) .legal-page-flow .legal-content-card.premium-glass--panel::before,
body:not(.dashboard-app-body) .legal-page-flow .legal-content-card.premium-glass--panel::after {
  display: none !important;
  content: none !important;
}

@media (min-width: 768px) {
  body:not(.dashboard-app-body) .bmi-section .bmi-workspace-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-left,
  body:not(.dashboard-app-body) .bmi-section .bmi-right {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    align-self: stretch !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-form,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap {
    flex: 1 1 auto !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 100% !important;
    margin-top: 0 !important;
    padding: clamp(18px, 2.5vw, 24px) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 640px) {
  body:not(.dashboard-app-body) .booking-contact-strip--home {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: clamp(8px, 2vw, 10px) !important;
  }

  body:not(.dashboard-app-body) .booking-contact-strip--home span {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-basis: auto !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: clamp(10px, 2.6vw, 12px) !important;
    line-height: 1.35 !important;
  }
}

/* ----- Booking progress: icon + label grouped, dividers between all steps ----- */
body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item {
  justify-content: center !important;
  padding-inline: 10px !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-inner {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-label {
  display: inline-block !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
  line-height: 1.15 !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item > span:last-child:not(.booking-progress-inner) {
  flex: 0 1 auto !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-progress-item:not(:last-child)::after {
  right: 0 !important;
  z-index: 4 !important;
  width: 1px !important;
  height: 56% !important;
  opacity: 1 !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.04)
  ) !important;
}

/* ----- Booking home services: full-width flex rows ----- */
body:not(.dashboard-app-body) .booking-home-intro .booking-home-services {
  align-items: stretch !important;
  width: 100% !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(8px, 1.2vw, 12px) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-line {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(10px, 1.4vw, 14px) !important;
  width: auto !important;
  max-width: calc(100% - 44px) !important;
  min-width: 0 !important;
  text-align: center !important;
  grid-template-columns: unset !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-name {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 22ch !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-duration {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  margin-left: 0 !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-price {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-style: normal !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-icon {
  flex: 0 0 auto !important;
  align-self: center !important;
}

body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-hr,
body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-sep {
  display: block !important;
  flex: 0 0 1px !important;
  align-self: center !important;
  width: 1px !important;
  height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

/* ----- Strength: full-width gender selector ----- */
body:not(.dashboard-app-body) .strength-field--gender {
  align-items: stretch !important;
  text-align: left !important;
  width: 100% !important;
}

body:not(.dashboard-app-body) .strength-field--gender .strength-label,
body:not(.dashboard-app-body) .strength-field--gender legend.strength-label {
  text-align: left !important;
  width: 100% !important;
}

body:not(.dashboard-app-body) .strength-gender-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  justify-content: stretch !important;
  width: 100% !important;
}

body:not(.dashboard-app-body) .strength-gender-option {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.dashboard-app-body) .strength-exercise-trigger::after {
  display: none !important;
  content: none !important;
}

body:not(.dashboard-app-body) .strength-exercise-trigger-chevron {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body:not(.dashboard-app-body) .strength-exercise-trigger-chevron svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-item-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: rgba(222, 36, 47, 0.1) !important;
  border: 1px solid rgba(222, 36, 47, 0.22) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-item-icon .strength-dumbbell-icon {
  width: 14px !important;
  height: 14px !important;
}

body:not(.dashboard-app-body) .strength-exercise-picker-item:hover .strength-exercise-picker-item-icon,
body:not(.dashboard-app-body) .strength-exercise-picker-item:focus .strength-exercise-picker-item-icon,
body:not(.dashboard-app-body) .strength-exercise-picker-item.is-selected .strength-exercise-picker-item-icon {
  background: rgba(222, 36, 47, 0.18) !important;
  border-color: rgba(222, 36, 47, 0.45) !important;
}

/* ----- Mobile: smaller type, horizontal service rows, stacked BMI panels ----- */
@media (max-width: 767px) {
  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service {
    width: 100% !important;
  }

  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-line {
    display: flex !important;
    flex: 1 1 auto !important;
    gap: clamp(6px, 1.5vw, 10px) !important;
    grid-template-columns: unset !important;
  }

  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-name {
    font-size: clamp(10px, 2.8vw, 12px) !important;
    white-space: normal !important;
  }

  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-duration,
  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-price {
    font-size: 10px !important;
    width: auto !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-workspace-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(14px, 3vw, 18px) !important;
    align-items: stretch !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-left,
  body:not(.dashboard-app-body) .bmi-section .bmi-right {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-form,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap,
  body:not(.dashboard-app-body) .bmi-section .bmi-left .bmi-form {
    width: 100% !important;
    max-width: 100% !important;
    min-height: clamp(250px, 58vw, 300px) !important;
    height: clamp(250px, 58vw, 300px) !important;
    max-height: clamp(250px, 58vw, 300px) !important;
    flex: 0 0 auto !important;
  }

  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
  }

  body:not(.dashboard-app-body) .booking-home-intro .booking-home-service-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  body:not(.dashboard-app-body) .booking-home-intro .booking-home-cta,
  body:not(.dashboard-app-body) .booking-home-intro .booking-main-button.booking-home-cta {
    min-height: 40px !important;
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
    padding: 8px 14px !important;
  }

  body:not(.dashboard-app-body) .booking-home-preview-label {
    font-size: 11px !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-input-group label {
    font-size: 11px !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-input-group input {
    font-size: 16px !important;
    height: 42px !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-button {
    min-height: 40px !important;
    font-size: 12px !important;
    padding: 8px 18px !important;
  }

  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap .bmi-table,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap .bmi-table td,
  body:not(.dashboard-app-body) .bmi-section .bmi-table-wrap .bmi-table th {
    font-size: 11px !important;
  }

  body:not(.dashboard-app-body) .strength-section .strength-label,
  body:not(.dashboard-app-body) .strength-section legend.strength-label {
    font-size: 11px !important;
  }

  body:not(.dashboard-app-body) .strength-section .strength-input,
  body:not(.dashboard-app-body) .strength-section .strength-exercise-trigger {
    font-size: 16px !important;
    min-height: 42px !important;
  }

  body:not(.dashboard-app-body) .strength-section .strength-gender-option {
    font-size: 12px !important;
    min-height: 42px !important;
    padding: 0 12px !important;
  }

  body:not(.dashboard-app-body) .strength-section .strength-button {
    min-height: 40px !important;
    font-size: 12px !important;
    padding: 8px 18px !important;
  }
}
