/* Beyond – Quiet Luxury sitewide layer: language switcher in the header, press strip over two rows. */

/* ---------- Language switcher (TranslatePress), moved from the floating tab into the header ---------- */
body.bac-ql nav.bac-lang.trp-language-switcher {
  position: relative !important; inset: auto !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; transform: none !important; z-index: 40;
  display: flex !important; flex-direction: row !important; align-items: center; flex: 0 0 auto; width: auto !important; min-width: 0 !important; overflow: visible !important;
  margin: 0 clamp(6px, 1.2vw, 18px) 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
body.bac-ql nav.bac-lang .trp-language-switcher-inner { position: relative; display: block !important; width: auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; overflow: visible !important; }
body.bac-ql nav.bac-lang .trp-language-item__current {
  display: flex !important; align-items: center; gap: 8px; min-height: 44px; box-sizing: border-box; padding: 0 6px !important; background: transparent !important; cursor: pointer;
  color: var(--bac-ink, #292c27) !important; font-family: var(--bac-font) !important; font-size: .75rem !important; font-weight: 500 !important; line-height: 1 !important; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
body.bac-ql nav.bac-lang .trp-language-item__current::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .25s ease, margin .25s ease; }
body.bac-ql nav.bac-lang.is-open .trp-language-item__current::after { transform: rotate(-135deg); margin-top: 3px; }
body.bac-ql nav.bac-lang .trp-language-item__current:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
body.bac-ql nav.bac-lang img { width: 18px !important; height: 13px !important; object-fit: cover; border-radius: 1px !important; flex: 0 0 auto; }
body.bac-ql nav.bac-lang .trp-switcher-dropdown-list {
  position: absolute !important; top: calc(100% + 10px) !important; right: 0 !important; bottom: auto !important; left: auto !important; display: flex; flex-direction: column !important; min-width: 220px; max-height: none !important; overflow: visible !important;
  padding: 8px !important; background: #fcfaf6 !important; border: 1px solid var(--bac-line, #ddd8cc) !important; border-radius: 2px !important; box-shadow: 0 18px 40px rgba(20, 28, 20, .08) !important;
}
body.bac-ql nav.bac-lang .trp-switcher-dropdown-list[hidden] { display: none !important; }
body.bac-ql nav.bac-lang .trp-switcher-dropdown-list a.trp-language-item { display: flex !important; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 0 12px !important; border-radius: 2px; background: transparent !important; color: var(--bac-ink, #292c27) !important; font-family: var(--bac-font) !important; font-size: .875rem !important; text-decoration: none !important; white-space: nowrap; }
body.bac-ql nav.bac-lang .trp-switcher-dropdown-list a.trp-language-item:hover, body.bac-ql nav.bac-lang .trp-switcher-dropdown-list a.trp-language-item:focus-visible { background: rgba(41, 44, 39, .06) !important; }
[dir="rtl"] body.bac-ql nav.bac-lang .trp-switcher-dropdown-list, body.bac-ql.rtl nav.bac-lang .trp-switcher-dropdown-list { right: auto !important; left: 0 !important; }
[dir="rtl"] body.bac-ql nav.bac-lang.trp-language-switcher, body.bac-ql.rtl nav.bac-lang.trp-language-switcher { margin: 0 0 0 clamp(6px, 1.2vw, 18px) !important; }
@media (max-width: 1119px) {
  body.bac-ql nav.bac-lang .trp-language-item__current .trp-language-item-name { display: none; }
  body.bac-ql nav.bac-lang.trp-language-switcher { margin-right: 4px !important; }
}

/* ---------- Press strip: two rows, larger marks ---------- */
@media (min-width: 768px) {
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child) { column-gap: 0 !important; row-gap: clamp(26px, 3vw, 40px) !important; max-width: 1180px; margin-inline: auto; }
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child) > .bde-text:first-child { margin-bottom: 6px !important; }
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child) > .bde-columns > .bde-column:has(> img.bde-image2:only-child) {
    flex: 0 0 20% !important; width: 20% !important; max-width: 20% !important; height: 54px !important; padding: 0 clamp(14px, 2.2vw, 32px) !important; box-sizing: border-box !important;
  }
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child):not(:has(> .bde-columns ~ .bde-columns ~ .bde-columns)) > .bde-columns > .bde-column:has(> img.bde-image2:only-child) { flex-basis: 33.333% !important; width: 33.333% !important; max-width: 33.333% !important; }
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child) > .bde-columns > .bde-column > img.bde-image2:only-child { max-width: min(100%, 172px) !important; max-height: 48px !important; }
}
@media (max-width: 767px) {
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child) > .bde-columns > .bde-column:has(> img.bde-image2:only-child) { height: 40px !important; }
  html body.bac-ql .section-container:has(> .bde-text:first-child + .bde-columns > .bde-column > img.bde-image2:only-child) > .bde-columns > .bde-column > img.bde-image2:only-child { max-width: min(100%, 112px) !important; max-height: 32px !important; }
}

/* ---------- Language switcher: open/close fix ----------
   TranslatePress hides the list on the max-height transitionend. The header version has no max-height
   animation, so that event never fired and the list stayed open. No transition = the script's synchronous path. */
body.bac-ql nav.bac-lang .trp-switcher-dropdown-list { transition: none !important; animation: bac-lang-in .18s ease both; }
body.bac-ql nav.bac-lang:not(.is-open) .trp-switcher-dropdown-list { display: none !important; }
body.bac-ql nav.bac-lang .trp-switcher-dropdown-list::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge across the gap */
@keyframes bac-lang-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { body.bac-ql nav.bac-lang .trp-switcher-dropdown-list { animation: none; } }

/* ---------- Homepage "As featured in": two rows (5 + 4), larger marks ---------- */
@media (min-width: 768px) {
  body.bac-ql .bac-logos { gap: clamp(22px, 2.6vw, 34px) 0 !important; max-width: 1180px; margin-inline: auto !important; }
  body.bac-ql .bac-logos li { flex: 0 0 20% !important; max-width: 20%; height: 54px !important; padding: 0 clamp(14px, 2.2vw, 32px); box-sizing: border-box; }
  body.bac-ql .bac-logos img { max-width: min(100%, 172px) !important; max-height: 48px !important; }
}
@media (max-width: 767px) {
  body.bac-ql .bac-logos li { height: 40px !important; }
  body.bac-ql .bac-logos img { max-width: min(100%, 112px) !important; max-height: 32px !important; }
}
body.bac-ql nav.bac-lang .trp-language-switcher-inner { cursor: pointer; }

/* ---------- Header CTA never wraps ---------- */
body.bac-ql .bac-header__cta .button-atom, body.bac-ql .bac-header__cta .button-atom__text { white-space: nowrap !important; }

/* ---------- Popups (Book Now: new / existing customer): centred, considered card ---------- */
html body.bac-ql .bde-popup { background-color: rgba(20, 28, 20, .72) !important; padding: 16px; box-sizing: border-box; }
html body.bac-ql .bde-popup > .breakdance-popup { width: min(500px, 100%) !important; max-width: 100% !important; margin: auto !important; justify-content: center; }
html body.bac-ql .breakdance-popup .breakdance-popup-content {
  width: 100% !important; max-width: none !important; box-sizing: border-box; display: flex !important; flex-direction: column !important; align-items: stretch !important;
  padding: clamp(30px, 5vw, 48px) clamp(22px, 5vw, 48px) clamp(26px, 5vw, 48px) !important; border: 1px solid #ddd8cc !important; box-shadow: 0 40px 80px -32px rgba(10, 14, 10, .55) !important;
}
html body.bac-ql .breakdance-popup .breakdance-popup-content::before { content: ""; display: block; flex: 0 0 auto; width: 48px; height: 1px; margin: 0 auto clamp(24px, 4vw, 34px); background: #292c27; opacity: .55; }
html body.bac-ql .breakdance-popup .breakdance-popup-content > .bde-div { gap: 14px !important; }
html body.bac-ql .breakdance-popup .bde-button .button-atom {
  display: flex !important; justify-content: space-between !important; align-items: center; width: 100% !important; min-height: 64px; box-sizing: border-box; padding: 0 26px !important;
  border-radius: 2px !important; font-size: 1rem !important; letter-spacing: .01em; transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
}
html body.bac-ql .breakdance-popup .bde-button .button-atom::after { content: "\2192"; font-size: 1.125rem; line-height: 1; opacity: .75; transition: transform .25s ease, opacity .25s ease; }
html body.bac-ql .breakdance-popup .bde-button .button-atom:hover::after, html body.bac-ql .breakdance-popup .bde-button .button-atom:focus-visible::after { transform: translateX(5px); opacity: 1; }
[dir="rtl"] body.bac-ql .breakdance-popup .bde-button .button-atom::after { content: "\2190"; }
[dir="rtl"] body.bac-ql .breakdance-popup .bde-button .button-atom:hover::after { transform: translateX(-5px); }
/* second choice is the quiet one: outlined until hovered */
html body.bac-ql .breakdance-popup .bde-button + .bde-button .button-atom { background: transparent !important; color: #20251b !important; border: 1px solid rgba(32, 37, 27, .45) !important; }
html body.bac-ql .breakdance-popup .bde-button + .bde-button .button-atom .button-atom__text { color: inherit !important; }
html body.bac-ql .breakdance-popup .bde-button + .bde-button .button-atom:hover, html body.bac-ql .breakdance-popup .bde-button + .bde-button .button-atom:focus-visible { background: #20251b !important; color: #fff !important; border-color: #20251b !important; }

/* ---------- Homepage "Our Commitment To You": centred intro, three even ruled columns ---------- */
body.bac-ql .bac-center > .bac-measure { margin-left: auto !important; margin-right: auto !important; }
body.bac-ql .bac-head.bac-center > .bac-lede.bac-measure { max-width: 46em !important; }
body.bac-ql .bac-head.bac-center + .bac-grid--3.bac-center:has(> p.bac-p) { counter-reset: bac-commit; gap: 0 !important; align-items: stretch; margin-top: clamp(40px, 5vw, 72px) !important; border-top: 1px solid var(--bac-line, #ddd8cc); }
body.bac-ql .bac-head.bac-center + .bac-grid--3.bac-center > p.bac-p { counter-increment: bac-commit; margin: 0 !important; padding: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 48px) 0; max-width: none; text-wrap: pretty; font-size: 1rem; line-height: 1.65; }
body.bac-ql .bac-head.bac-center + .bac-grid--3.bac-center > p.bac-p::before { content: "0" counter(bac-commit); display: block; margin-bottom: 18px; color: var(--bac-ink, #292c27); font-size: .75rem; font-weight: 500; letter-spacing: .22em; }
@media (min-width: 768px) {
  body.bac-ql .bac-head.bac-center + .bac-grid--3.bac-center > p.bac-p + p.bac-p { border-left: 1px solid var(--bac-line, #ddd8cc); }
}
@media (max-width: 767px) {
  body.bac-ql .bac-head.bac-center + .bac-grid--3.bac-center > p.bac-p { padding: 26px 0; }
  body.bac-ql .bac-head.bac-center + .bac-grid--3.bac-center > p.bac-p + p.bac-p { border-top: 1px solid var(--bac-line, #ddd8cc); }
}

/* ---------- Homepage "Treatment spotlight": stage + index slider (replaces the expanding panels) ---------- */
body.bac-ql { --spot-gap: clamp(28px, 5vw, 88px); --spot-stage: calc((100% - var(--spot-gap)) * .58); --spot-dur: 7s; }
body.bac-ql .bac-spot__side { display: none !important; }
body.bac-ql .bac-spot__img, body.bac-ql .bac-spot__item { border-radius: 2px; }

@media (min-width: 768px) {
  body.bac-ql .bac-spot__track { position: relative; display: grid !important; grid-template-columns: 58fr 42fr; grid-auto-rows: minmax(0, 1fr); column-gap: var(--spot-gap) !important; row-gap: 0 !important; height: clamp(480px, 42vw, 640px) !important; counter-reset: bac-spot; overflow: visible; }
  body.bac-ql .bac-spot__item { display: contents !important; counter-increment: bac-spot; }
  body.bac-ql .bac-page .bac-spot__link { display: contents !important; color: var(--bac-ink, #292c27) !important; }

  /* stage: every photograph stacked in the first column, only the active one visible */
  body.bac-ql .bac-spot__img, body.bac-ql .bac-spot__shade { position: absolute !important; top: 0 !important; bottom: 0 !important; right: auto !important; left: auto !important; inset-inline-start: 0 !important; width: var(--spot-stage) !important; height: 100% !important; }
  body.bac-ql .bac-spot__img { opacity: 0 !important; transform: scale(1.05) !important; transition: opacity .9s var(--bac-ease, ease), transform 2.4s var(--bac-ease, ease) !important; filter: none; background: #151511; }
  body.bac-ql .bac-spot__shade { top: auto !important; height: 38% !important; opacity: 0; transition: opacity .9s; pointer-events: none; z-index: 2; }
  body.bac-ql .bac-spot__item.is-active .bac-spot__img, body.bac-ql .bac-spot__track:not(.bac-spot--js) .bac-spot__item--lead .bac-spot__img { opacity: 1 !important; transform: scale(1) !important; z-index: 1; }
  body.bac-ql .bac-spot__item.is-active .bac-spot__shade { opacity: 1; }
  body.bac-ql .bac-spot__track:not(.bac-spot--js) .bac-spot__item:hover .bac-spot__img { opacity: 1 !important; transform: scale(1) !important; z-index: 2; }

  /* index: one ruled row per treatment in the second column */
  body.bac-ql .bac-spot__caption { grid-column: 2; position: relative !important; inset: auto !important; display: grid !important; grid-template-columns: 3.25rem minmax(0, 1fr); align-content: center; row-gap: 6px; padding: 14px 0 !important; opacity: 1 !important; transform: none !important; border-top: 1px solid var(--bac-line, #ddd8cc); cursor: pointer; }
  body.bac-ql .bac-spot__item:last-child .bac-spot__caption { border-bottom: 1px solid var(--bac-line, #ddd8cc); }
  body.bac-ql .bac-spot__caption::before { content: attr(data-n); grid-column: 1; grid-row: 1 / span 3; align-self: start; padding-top: 3px; color: var(--bac-muted, #5e6159); font-size: .75rem; font-weight: 500; letter-spacing: .18em; transition: color .4s; }
  body.bac-ql .bac-spot__caption::after { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 1px; background: var(--bac-ink, #292c27); transform: scaleX(0); transform-origin: 0 50%; }
  [dir="rtl"] body.bac-ql .bac-spot__caption::after { transform-origin: 100% 50%; }
  body.bac-ql .bac-spot__cat, body.bac-ql .bac-spot__title, body.bac-ql .bac-spot__cta { grid-column: 2; margin: 0 !important; }
  body.bac-ql .bac-spot__cat { color: var(--bac-muted, #5e6159); opacity: 1 !important; }
  body.bac-ql .bac-spot__title { color: var(--bac-ink, #292c27); font-size: clamp(1.5rem, 1rem + 1.5vw, 2.375rem) !important; opacity: .42; transition: opacity .4s, transform .5s var(--bac-ease, ease); }
  body.bac-ql .bac-spot__cta { display: inline-flex !important; justify-content: flex-start !important; gap: 12px; padding-top: 6px !important; border-top: 0 !important; color: var(--bac-ink, #292c27); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--bac-ease, ease); }
  body.bac-ql .bac-spot__item.is-active .bac-spot__title, body.bac-ql .bac-spot__track:not(.bac-spot--js) .bac-spot__item:hover .bac-spot__title { opacity: 1; }
  body.bac-ql .bac-spot__item.is-active .bac-spot__caption::before { color: var(--bac-ink, #292c27); }
  body.bac-ql .bac-spot__item.is-active .bac-spot__cta, body.bac-ql .bac-spot__track:not(.bac-spot--js) .bac-spot__item:hover .bac-spot__cta { opacity: 1; transform: none; }
  body.bac-ql .bac-spot__item.is-active .bac-spot__caption::after { transform: scaleX(1); animation: bac-spot-prog var(--spot-dur) linear both; }
  body.bac-ql .bac-spot__track:hover .bac-spot__caption::after, body.bac-ql .bac-spot__track:focus-within .bac-spot__caption::after, body.bac-ql .bac-spot__track.bac-spot--off .bac-spot__caption::after { animation-play-state: paused; }
  body.bac-ql .bac-page .bac-spot__link:focus-visible .bac-spot__caption { outline: 2px solid var(--bac-ink, #292c27); outline-offset: 4px; }
  body.bac-ql .bac-spot__item .bac-spot__cta .bac-ico { transition: transform .35s var(--bac-ease, ease); }
  body.bac-ql .bac-spot__caption:hover .bac-spot__cta .bac-ico { transform: translateX(6px); }
  [dir="rtl"] body.bac-ql .bac-spot__cta .bac-ico { transform: scaleX(-1); }

  /* controls sit over the foot of the stage */
  body.bac-ql .bac-spot__ctrl { position: relative; z-index: 3; width: var(--spot-stage); height: 76px; margin-top: -76px; padding: 0 clamp(18px, 2vw, 28px); box-sizing: border-box; color: #fff; pointer-events: none; }
}
@keyframes bac-spot-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { body.bac-ql .bac-spot__item.is-active .bac-spot__caption::after { animation: none !important; } body.bac-ql .bac-spot__img { transition: opacity .2s !important; transform: none !important; } }

/* controls (both sizes) */
body.bac-ql .bac-spot__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--bac-font); }
body.bac-ql .bac-spot__count { display: inline-flex; align-items: center; gap: 14px; font-size: .75rem; font-weight: 500; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
body.bac-ql .bac-spot__bar { position: relative; display: block; width: clamp(56px, 8vw, 120px); height: 1px; background: color-mix(in srgb, currentColor 35%, transparent); }
body.bac-ql .bac-spot__bar > span { position: absolute; inset: 0; background: currentColor; transform: scaleX(.25); transform-origin: 0 50%; transition: transform .6s var(--bac-ease, ease); }
[dir="rtl"] body.bac-ql .bac-spot__bar > span { transform-origin: 100% 50%; }
body.bac-ql .bac-spot__btns { display: inline-flex; gap: 8px; pointer-events: auto; }
body.bac-ql .bac-spot__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 2px; background: transparent; color: inherit; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
body.bac-ql .bac-spot__btn svg { width: 16px; height: 16px; }
[dir="rtl"] body.bac-ql .bac-spot__btn svg { transform: scaleX(-1); }
body.bac-ql .bac-spot__btn:focus-visible { background: #fff; border-color: #fff; color: #20251b; outline: none; }
@media (hover: hover) { body.bac-ql .bac-spot__btn:hover { background: #fff; border-color: #fff; color: #20251b; } }

@media (max-width: 767px) {
  body.bac-ql .bac-spot__item { flex-basis: 84vw !important; max-width: 420px !important; aspect-ratio: 4 / 5 !important; scroll-snap-align: center !important; }
  body.bac-ql .bac-spot__ctrl { margin-top: 18px; color: var(--bac-ink, #292c27); }
  body.bac-ql .bac-spot__btn:focus-visible { background: #20251b; border-color: #20251b; color: #fff; }
  body.bac-ql .bac-spot__btn:active { background: #20251b; border-color: #20251b; color: #fff; }
}
@media (min-width: 768px) { body.bac-ql .bac-spot__img { object-position: 50% 22% !important; } }
