/* Beauty Clinique V2.9.2 | Inner-page editorial linework
   EN/zh: /treatments/, /prices/, /contact/ only.
   Preserve approved spacing, imagery, navigation, contents, CTA, footer and mobile layout.
   Style language: fine, quiet, long, ample negative space. No layout geometry changes. */
:root {
  --bc-lw-rule: rgba(127, 109, 89, .19);
  --bc-lw-champagne: rgba(163, 131, 96, .49);
  --bc-lw-arc: rgba(151, 127, 102, .21);
}

/* Treatments / Contact: one fine architectural arc and a subtle edge guide.
   Never use a photo or dark panel; the V2 milk-grey canvas stays intact. */
body:is([data-page="catalog"], [data-page="contact"]) .bcx-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
body:is([data-page="catalog"], [data-page="contact"]) .bcx-intro > .bcx-wrap {
  position: relative;
  z-index: 1;
}
body:is([data-page="catalog"], [data-page="contact"]) .bcx-intro::before {
  content: "";
  position: absolute;
  right: 23%;
  top: 15%;
  bottom: 13%;
  width: 1px;
  background: var(--bc-lw-rule);
  pointer-events: none;
}
body:is([data-page="catalog"], [data-page="contact"]) .bcx-intro::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -235px;
  border: 1px solid var(--bc-lw-arc);
  border-radius: 50%;
  pointer-events: none;
}

/* Treatment catalogue: strengthen the already-approved chapter divider. */
body[data-page="catalog"] .bcx-section-title {
  position: relative;
  border-bottom-color: var(--bc-lw-rule);
}
body[data-page="catalog"] .bcx-section-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 84px;
  height: 1px;
  background: var(--bc-lw-champagne);
  pointer-events: none;
}
body[data-page="catalog"] .bcx-category-tile {
  box-shadow: inset 0 0 0 1px rgba(244, 238, 226, .17);
}
body[data-page="catalog"] .bcx-consult {
  border-top: 1px solid var(--bc-lw-rule);
}

/* Price Guide: make the existing V0-inspired arc visible in V2 daylight.
   Price cards and CTA retain their size, position and behaviour. */
body:has(.bc-hero #guide-title) .bc-hero::after {
  border-color: var(--bc-lw-arc);
}
body:has(.bc-hero #guide-title) .bc-hero {
  border-bottom: 1px solid var(--bc-lw-rule);
}
body:has(.bc-hero #guide-title) .bc-section-heading {
  border-top: 1px solid var(--bc-lw-rule);
  padding-top: 22px;
}
body:has(.bc-hero #guide-title) .bc-section-heading::before {
  content: "";
  display: block;
  position: absolute;
  width: 86px;
  height: 1px;
  top: -1px;
  left: 0;
  background: var(--bc-lw-champagne);
  pointer-events: none;
}
body:has(.bc-hero #guide-title) .bc-section-heading {
  position: relative;
}
body:has(.bc-hero #guide-title) .bc-guide-cta {
  border-top-color: var(--bc-lw-rule);
}
body:has(.bc-hero #guide-title) .bc-clarity .bc-info {
  border-top: 1px solid var(--bc-lw-rule);
  padding-top: 17px;
}
body:has(.bc-hero #guide-title) .bc-contact-panel {
  border-top: 1px solid var(--bc-lw-rule);
}

/* Contact: a disciplined split, not an additional decorative panel. */
body[data-page="contact"] .bcx-contact-grid > div {
  border-top: 1px solid var(--bc-lw-rule);
  padding-top: 23px;
  min-width: 0;
}
body[data-page="contact"] .bcx-contact-grid > div:nth-child(2) {
  border-left: 1px solid var(--bc-lw-rule);
  padding-left: 40px;
}
body[data-page="contact"] .bcx-hours,
body[data-page="contact"] .bcx-hours :is(dt, dd) {
  border-color: var(--bc-lw-rule);
}
body[data-page="contact"] .bcx-consult {
  border-top: 1px solid var(--bc-lw-rule);
}

/* Mobile: retain hairline information hierarchy; remove decorative geometry. */
@media (max-width: 899px) {
  body:is([data-page="catalog"], [data-page="contact"]) .bcx-intro::before,
  body:is([data-page="catalog"], [data-page="contact"]) .bcx-intro::after {
    content: none;
  }
  body[data-page="contact"] .bcx-contact-grid > div:nth-child(2) {
    border-left: 0;
    padding-left: 0;
  }
  body:has(.bc-hero #guide-title) .bc-section-heading {
    padding-top: 17px;
  }
  body:has(.bc-hero #guide-title) .bc-hero::after {
    opacity: .35;
  }
}
