/* October 19 review refinement. Presentation only; content stays in Elementor.
   Blue is a small-card accent, never a section, split-image panel or photo caption.
   Tan sections have white boxes; white sections have light-blue boxes.
   Preserve the original dark surfaces, photographic cards and section backgrounds. */
:root {
  --xo-brand-blue: #e4edf1;
  --xo-brand-ink: #0c2e3a;
  --xo-brand-teal: #094654;
  --xo-brand-gold: #b39645;
  --xo-brand-frame: #b9cbd2;
  --xo-brand-texture: url('/wp-content/uploads/xo-welllabs-gold-banner-scaled.jpg');
}

/* Major chapter transitions only, not the tiny accents inside info panels.
   Existing XO media 27 supplies the metallic pattern; no external hotlink. */
.elementor .xo-gold-section-rule:not(.xo-info-panel-rule),
.elementor [data-id='gold-texture-divider'] {
  width: 100% !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0;
  background: #dabd64 var(--xo-brand-texture) center / cover no-repeat !important;
  border: 0 !important;
  pointer-events: none;
}

/* Explicit native ancestry, not --light/--dark class-name guesses.
   All 25 panels below live inside the original #FFF8EF sections. */
.elementor :is(
  [data-id='hf-benefits'], [data-id='bt-areas'], [data-id='bf94-benefits'],
  [data-id='bf107-benefits'], [data-id='bf110-benefits'], [data-id='bf111-benefits'],
  [data-id='bf115-benefits'], [data-id='bf122-benefits']
) .xo-info-panel.e-con {
  background: #fff !important;
}

/* Only these five service info panels sit in white sections. */
.elementor :is([data-id='en92-choices-section'], [data-id='bf98-benefits']) .xo-info-panel.e-con {
  background: var(--xo-brand-blue) !important;
}

/* Small supporting boxes on white sections. Deliberately excludes Home's
   dark Specials panel, About portraits, all photo cards and all split panels. */
.elementor :is(
  [data-id='finance-payment'], [data-id='support-visit-hours'],
  [data-id='sp13-specials-social'], [data-id='careers13-form-panel'],
  [data-id='support-policies-term-0'], [data-id='support-policies-term-1'],
  [data-id='support-policies-term-2'], [data-id='support-policies-term-3'],
  [data-id='ml13-acne'], [data-id='ml13-weight-500'],
  [data-id='ml13-weight-600'], [data-id='ml13-weight-725'],
  [data-id='visit-discuss'], [data-id='visit-options'], [data-id='visit-home']
) {
  background: var(--xo-brand-blue) !important;
}

/* Reviews intentionally retain their original tan cards, borders and controls.
   The blue accent is selective, not a replacement for every cream surface. */

/* Only the audited small chapter/stage numbers on light surfaces. */
#hustle-popup-id-1 .xo-booking-existing .xo-booking-label {
  color: #806322 !important;
}
/* The native close button can sit over either popup panel while scrolling. */
#hustle-popup-id-1 .hustle-button-close:focus-visible {
  outline: 2px solid #0c2e3a !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 6px #e9cf83 !important;
}
.elementor :is(
  [data-id='flow107-stage-number-0'], [data-id='flow107-stage-number-1'],
  [data-id='flow107-stage-number-2'], [data-id='directory-injectables-number'],
  [data-id='directory-lasers-advanced-skin-number'], [data-id='directory-wellness-number']
) {
  color: #806322 !important;
}

/* Clean continuous frames, without decorative crosses.
   Keep the original top-rule suppression; colors and spacing are unchanged. */
.elementor :is(
  .xo-info-panel:not(.xo-info-panel--tier),
  [data-id='finance-payment'], [data-id='support-visit-hours'],
  [data-id='sp13-specials-social'],
  [data-id='support-policies-term-0'], [data-id='support-policies-term-1'],
  [data-id='support-policies-term-2'], [data-id='support-policies-term-3'],
  [data-id='ml13-acne'], [data-id='ml13-weight-500'],
  [data-id='ml13-weight-600'], [data-id='ml13-weight-725'],
  [data-id='visit-discuss'], [data-id='visit-options'], [data-id='visit-home']
) {
  position: relative;
  border: 1px solid var(--xo-brand-frame) !important;
  border-radius: 0;
  box-shadow: none !important;
  overflow: visible;
}
.elementor .xo-info-panel--secondary.e-con { --xo-brand-frame: #64818a; }
.elementor :is(
  .xo-info-panel:not(.xo-info-panel--tier),
  [data-id='finance-payment'], [data-id='support-visit-hours'],
  [data-id='sp13-specials-social'],
  [data-id='support-policies-term-0'], [data-id='support-policies-term-1'],
  [data-id='support-policies-term-2'], [data-id='support-policies-term-3'],
  [data-id='ml13-acne'], [data-id='ml13-weight-500'],
  [data-id='ml13-weight-600'], [data-id='ml13-weight-725'],
  [data-id='visit-discuss'], [data-id='visit-options'], [data-id='visit-home']
)::before {
  display: none;
}
.elementor :is(
  .xo-info-panel:not(.xo-info-panel--tier),
  [data-id='finance-payment'], [data-id='support-visit-hours'],
  [data-id='sp13-specials-social'],
  [data-id='support-policies-term-0'], [data-id='support-policies-term-1'],
  [data-id='support-policies-term-2'], [data-id='support-policies-term-3'],
  [data-id='ml13-acne'], [data-id='ml13-weight-500'],
  [data-id='ml13-weight-600'], [data-id='ml13-weight-725'],
  [data-id='visit-discuss'], [data-id='visit-options'], [data-id='visit-home']
)::after {
  content: none;
  display: none;
}

.elementor :is([data-id='visit-discuss'],[data-id='visit-options'],[data-id='visit-home']) {
  padding: 34px 28px !important;
}
.elementor [data-id='finance-payment'] a:focus-visible {
  outline: 3px solid var(--xo-brand-teal) !important;
  outline-offset: 4px;
}
@media (max-width:767px) {
  .elementor .xo-gold-section-rule:not(.xo-info-panel-rule),
  .elementor [data-id='gold-texture-divider'] {
    height: 12px !important;
    min-height: 12px !important;
    max-height: 12px !important;
    background-size: auto 24px !important;
  }
  .elementor :is([data-id='visit-discuss'],[data-id='visit-options'],[data-id='visit-home']) {
    padding: 30px 26px !important;
  }
}
