/* Beyond – Quiet Luxury sitewide layer: page-level refinements (simulator, feature tags, long text sections, tables, clinic pages). */

/* ---------- Thread Lift Simulator: no dark frame, the app fills the space between header and footer ---------- */
html body.bac-ql.bac-ql .bde-section.bac-fls-fullpage, html body.bac-ql.bac-ql .bde-section.bac-fls-fullpage > .section-container { padding: 0 !important; margin: 0 !important; min-height: 0 !important; max-width: none !important; width: 100% !important; background: #f2f4f1 !important; }

/* ---------- "A | B | C" feature lines become a row of tags (script adds .bac-pipes; wording untouched) ---------- */
body.bac-ql .bac-pipes { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; max-width: 1040px; margin-inline: auto !important; font-size: .875rem !important; line-height: 1.3 !important; letter-spacing: .01em; color: var(--ql-fg, inherit) !important; opacity: 1 !important; position: relative; }
body.bac-ql .bac-pipes.bac-pipes--start { justify-content: flex-start; margin-inline: 0 !important; }
body.bac-ql .bac-pipes__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.bac-ql .bac-pipes__i { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; box-sizing: border-box; border: 1px solid color-mix(in srgb, currentColor 26%, transparent); border-radius: 2px; white-space: nowrap; }
@media (max-width: 767px) { body.bac-ql .bac-pipes { gap: 6px; font-size: .8125rem !important; } body.bac-ql .bac-pipes__i { min-height: 34px; padding: 6px 12px; white-space: normal; text-align: start; } }

/* ---------- Long text beside a photo (several headed blocks in one column) ---------- */
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) { align-items: flex-start !important; padding-block: clamp(48px, 6vw, 96px); column-gap: clamp(24px, 4vw, 72px) !important; }
body.bac-ql .bde-section > .section-container:has(.bde-columns:has(> .bde-column > img.bde-image2:only-child) > .bde-column > .bde-rich-text > h2 ~ h2) { padding-top: 0 !important; padding-bottom: 0 !important; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) > .bde-column:has(> .bde-rich-text) { padding-block: 0 !important; justify-content: flex-start !important; }
@media (min-width: 1024px) {
  body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) > .bde-column:has(> img.bde-image2:only-child) { position: sticky; top: 124px; align-self: flex-start !important; }
}
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > :first-child { margin-top: 0 !important; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > h2 { margin: 0 0 16px !important; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem) !important; line-height: 1.15 !important; font-weight: 400 !important; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > h2 ~ h2 { margin-top: clamp(32px, 4vw, 52px) !important; padding-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--ql-hair, #ddd8cc); }
body.bac-ql .bde-rich-text :is(h2, h3) :is(strong, b) { font-weight: inherit; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > p { margin: 0 0 14px !important; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > ul { margin: 6px 0 4px !important; padding: 0 !important; list-style: none !important; border-top: 1px solid var(--ql-hair, #ddd8cc); }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > ul > li { position: relative; margin: 0 !important; padding: 11px 0 11px 22px !important; border-bottom: 1px solid var(--ql-hair, #ddd8cc); list-style: none !important; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > ul > li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 10px; height: 1px; background: currentColor; opacity: .6; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > ul > li::marker { content: none; }

/* ---------- Custom data tables (At a glance / comparison) in the site's own style ---------- */
body.bac-ql [class*="beyond-pn-"] { --pn-gold: #ddd8cc; --pn-ink: #292c27; margin: 0 !important; font-family: var(--bac-font, inherit); }
body.bac-ql [class*="beyond-pn-"] h2 { margin: 0 0 14px !important; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem) !important; font-weight: 400 !important; line-height: 1.12 !important; letter-spacing: -.02em; }
body.bac-ql [class*="beyond-pn-"] p { color: #5e6159; max-width: 46em; }
body.bac-ql [class*="beyond-pn-"] [class$="__frame"] { border: 1px solid #ddd8cc !important; border-radius: 2px; }
body.bac-ql [class*="beyond-pn-"] table { background: #fcfaf6 !important; font-size: .9375rem !important; line-height: 1.6 !important; }
body.bac-ql [class*="beyond-pn-"] :is(th, td) { padding: 16px 22px !important; border-bottom-color: #e6e1d6 !important; font-weight: 400 !important; }
body.bac-ql [class*="beyond-pn-"] thead th { background: #20251b !important; color: #f5f1e8 !important; border-bottom: 0 !important; font-size: .6875rem !important; font-weight: 500 !important; letter-spacing: .2em !important; text-transform: uppercase; }
body.bac-ql [class*="beyond-pn-"] tbody th { background: #f1ede4 !important; border-right-color: #e6e1d6 !important; font-weight: 500 !important; }
body.bac-ql [class*="beyond-pn-"] tbody td { background: #fcfaf6 !important; }
body.bac-ql .bde-section:has(> .section-container > .bde-code-block > .beyond-pn-glance) { background: #f6f3ed !important; background-image: none !important; }
body.bac-ql .bde-section:has(> .section-container > .bde-code-block > .beyond-pn-glance) > .bde-section-background-overlay { display: none !important; }
body.bac-ql .bde-section:has(> .section-container > .bde-code-block > .beyond-pn-glance) > .section-container { padding-top: clamp(48px, 6vw, 88px) !important; padding-bottom: 0 !important; }
@media (max-width: 767px) { body.bac-ql [class*="beyond-pn-"] :is(th, td) { padding: 12px 12px !important; } }

/* ---------- Clinic pages (London, Edinburgh): rhythm, lists, steps ---------- */
body.bac-ql-location .bde-section ~ .bde-section > .section-container { padding-top: var(--ql-sec, clamp(64px, 7vw, 104px)) !important; padding-bottom: var(--ql-sec, clamp(64px, 7vw, 104px)) !important; }
body.bac-ql-location .bde-section:has(> .section-container > .bde-code-block:only-child) > .section-container { padding-top: clamp(24px, 3vw, 48px) !important; padding-bottom: clamp(24px, 3vw, 48px) !important; }
body.bac-ql-location .bde-section > .section-container { row-gap: clamp(28px, 3.5vw, 48px); }
body.bac-ql-location .section-container > .bde-heading { text-wrap: balance; }
body.bac-ql-location .section-container > h2.bde-heading + .bde-text, body.bac-ql-location .section-container > h2.bde-heading + .bde-columns, body.bac-ql-location .section-container > h2.bde-heading + .bde-div, body.bac-ql-location .section-container > h2.bde-heading + .bde-stats-grid { margin-top: clamp(8px, 1.5vw, 20px); }
/* reason cells: readable body size */
body.bac-ql-location .bde-column > h3.bde-heading + .bde-text { font-size: .9375rem !important; line-height: 1.65 !important; color: var(--ql-muted, #5e6159); max-width: 36em; }
body.bac-ql-location .bde-column > h3.bde-heading { margin-top: 0 !important; }
body.bac-ql-location .bde-column > .bde-text + h3.bde-heading { margin-top: clamp(28px, 3vw, 44px) !important; }
/* treatment groups: photo + ruled list of links */
body.bac-ql-location .bde-div > .bde-columns:has(> .bde-column > .bde-rich-text ul a) { align-items: center !important; column-gap: clamp(24px, 5vw, 80px) !important; }
body.bac-ql-location .bde-div:has(> .bde-columns > .bde-column > .bde-rich-text ul a) { row-gap: clamp(40px, 6vw, 88px) !important; }
body.bac-ql-location .bde-column:has(> .bde-rich-text ul a) { padding: 0 !important; }
body.bac-ql-location .bde-column:has(> .bde-rich-text ul a) > h2.bde-heading { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem) !important; }
body.bac-ql-location .bde-column:has(> .bde-rich-text ul a) > h2.bde-heading::before { content: ""; display: block; width: 48px; height: 1px; margin-bottom: clamp(18px, 2vw, 26px); background: currentColor; opacity: .55; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) { margin: 14px 0 0 !important; padding: 0 !important; list-style: none !important; border-top: 1px solid var(--ql-hair, #ddd8cc); column-gap: clamp(20px, 3vw, 40px); }
body.bac-ql-location .bde-rich-text ul:has(> li:nth-child(6) > a) { columns: 2 170px; border-top: 0; }
body.bac-ql-location .bde-rich-text ul:has(> li:nth-child(6) > a) > li { border-top: 1px solid var(--ql-hair, #ddd8cc); border-bottom: 0; margin-bottom: -1px !important; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) > li { margin: 0 !important; padding: 0 !important; list-style: none !important; border-bottom: 1px solid var(--ql-hair, #ddd8cc); break-inside: avoid; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) > li::marker { content: none; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) > li > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; padding: 4px 0; color: var(--ql-fg, #292c27) !important; text-decoration: none !important; border: 0 !important; background: none !important; transition: padding-left .25s ease; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) > li > a::after { content: "\2192"; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) > li > a:hover { padding-left: 6px; }
body.bac-ql-location .bde-rich-text ul:has(> li > a) > li > a:hover::after { opacity: .8; transform: none; }
/* numbered steps: a quiet timeline instead of boxed cards */
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading) { position: relative; align-items: flex-start !important; gap: clamp(18px, 2.5vw, 32px) !important; height: auto !important; min-height: 0 !important; padding-bottom: clamp(26px, 3vw, 40px); }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading) > .bde-div:has(> h3.bde-heading) { background: transparent !important; padding: 2px 0 clamp(26px, 3vw, 40px) !important; border: 0 !important; border-bottom: 1px solid var(--ql-hair, #ddd8cc) !important; box-shadow: none !important; flex: 1 1 auto; }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading) > .bde-div:has(> .bde-icon) { align-self: stretch; height: auto !important; }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading):not(:last-child) > .bde-div:has(> .bde-icon)::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: -12px; width: 1px; background: var(--ql-hair, #ddd8cc); }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading) h3.bde-heading { margin-bottom: 8px !important; }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading) .bde-text { color: var(--ql-muted, #5e6159); max-width: 44em; }
body.bac-ql-location .section-container:has(> .bde-div > .bde-div > .bde-icon) { row-gap: 0 !important; }
body.bac-ql-location .section-container:has(> .bde-div > .bde-div > .bde-icon) > h2.bde-heading { margin-bottom: clamp(32px, 4vw, 56px) !important; }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading):last-child { padding-bottom: 0; }
body.bac-ql-location .bde-div:has(> .bde-div > .bde-icon):has(> .bde-div > h3.bde-heading):last-child > .bde-div:has(> h3.bde-heading) { border-bottom: 0 !important; padding-bottom: 0 !important; }
body.bac-ql .bac-pipes__i { color: var(--ql-fg, inherit); }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) .bde-rich-text > ul:has(+ h2) > li:last-child { border-bottom: 0; }
body.bac-ql-location .bde-column:has(> .bde-rich-text ul a) > .bde-rich-text { width: 100%; max-width: 540px; align-self: stretch; }
/* long text beside a photo: fixed half-and-half columns so nothing re-flows when the photo loads */
@media (min-width: 1024px) {
  body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) > .bde-column { flex: 1 1 0% !important; width: auto !important; max-width: none !important; min-width: 0 !important; }
}
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) > .bde-column > img.bde-image2:only-child { width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover; }
body.bac-ql .bde-columns:has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > .bde-rich-text > h2 ~ h2) > .bde-column > .bde-rich-text { width: 100%; max-width: 560px; }
/* photo + text halves: sized by the layout, never by the photo, so nothing moves when a photo finishes loading */
body.bac-ql .bde-columns:has(> .bde-column:nth-child(2):last-child):has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > :not(img)) { width: 100% !important; align-self: stretch !important; }
body.bac-ql .bde-div:has(> .bde-columns:has(> .bde-column:nth-child(2):last-child):has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > :not(img))) { width: 100% !important; align-self: stretch !important; }
@media (min-width: 1024px) {
  body.bac-ql .bde-columns:has(> .bde-column:nth-child(2):last-child):has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > :not(img)) > .bde-column { flex: 1 1 0% !important; width: auto !important; max-width: none !important; min-width: 0 !important; }
}
body.bac-ql .bde-columns:has(> .bde-column:nth-child(2):last-child):has(> .bde-column > img.bde-image2:only-child):has(> .bde-column > :not(img)) > .bde-column > img.bde-image2:only-child { width: 100% !important; max-width: none !important; }
/* (corrected: :has() cannot be nested) wrapper of a photo + text block always spans the full row */
body.bac-ql .section-container > .bde-div:has(> .bde-columns > .bde-column > img.bde-image2:only-child) { width: 100% !important; align-self: stretch !important; }
body.bac-ql .bde-section > .section-container:has(> .bde-div > .bde-columns > .bde-column > .bde-rich-text > h2 ~ h2):has(> .bde-div > .bde-columns > .bde-column > img.bde-image2:only-child) { padding-top: 0 !important; padding-bottom: 0 !important; }
/* Google reviews widget: hold its space while it loads so the page below does not move */
body.bac-ql [class^="elfsight-app-"] { min-height: 442px; }
@media (max-width: 767px) { body.bac-ql [class^="elfsight-app-"] { min-height: 525px; } }

/* Sign-off amend 2 (Nov 2026): the "Thread Lifting" link added to the Facial column is a mobile-menu entry only. Desktop keeps it under Signature Treatments. */
@media (min-width: 1120px) {
  body.bac-ql .bac-header .breakdance-dropdown-column:nth-child(5) .breakdance-dropdown-item:has(> a[href*="/thread-lifting-"]) { display: none !important; }
}
