/* Approved green accent. Do not change --accent/--mg-* shared with gold frames. */
body[data-site-accent="green"]:not([data-color-preview]) {
  --site-accent:#1f4d3f;
  --site-accent-text:#fffdf9;
}
@media screen {
  /* Shared SVG controls and the CSS-framed booking controls on treatment pages. */
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current]),
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current]):is(:hover,:focus-visible,:active) {
    color:var(--site-accent-text);
    --price-button-paper:var(--site-accent);
  }
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current]) .mg-frame-outer,
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current]):is(:hover,:focus-visible,:active) .mg-frame-outer {
    fill:var(--site-accent-text);
  }
  /* Variant 2: a cream band separates the unchanged gold outlines. */
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current]) .mg-frame-inner,
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current]):is(:hover,:focus-visible,:active) .mg-frame-inner {
    fill:var(--site-accent);
  }
  body[data-site-accent]:not([data-color-preview]) .mg-booking .price-booking-frame::before {
    background:var(--site-accent-text);
  }
  /* Keep the text backing explicit over the CSS frame's nested gold layers. */
  body[data-site-accent]:not([data-color-preview]) .mg-booking:has(.price-booking-frame) > span:not(.price-booking-frame) {
    background-color:var(--site-accent);
  }
  /* The visible price-list button now matches its larger touch target. */
  body[data-site-accent]:not([data-color-preview]) .price-reserve {
    position:relative;isolation:isolate;color:var(--site-accent-text);text-decoration:none;
    justify-content:center;min-height:48px;min-width:min(112px,100%);max-width:100%;
    padding:10px 16px;font-size:1rem;line-height:1.4;text-align:center;
  }
  body[data-site-accent]:not([data-color-preview]) .price-reserve::before {
    content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:var(--site-accent);border:1px solid #97672f;border-radius:2px;
  }
  /* Existing Contact buttons retain both of their gold outlines. */
  body[data-site-accent]:not([data-color-preview]) :is(.contact-card,.contact-map) .button,
  body[data-site-accent]:not([data-color-preview]) :is(.contact-card,.contact-map) .button:is(:hover,:focus-visible,:active) {
    color:var(--site-accent-text);background:var(--site-accent);
    box-shadow:inset 0 0 0 3px var(--site-accent-text);
  }
  /* A filter gains the accent only when it actually narrows the results. */
  body[data-site-accent]:not([data-color-preview]) .filter-bar select:has(option:checked:not([value=""])) {
    color:var(--site-accent-text);background-color:var(--site-accent);
  }
  body[data-site-accent]:not([data-color-preview]) .filter-bar select option {
    color:#382c22;background-color:#fffdf9;
  }
  body[data-site-accent]:not([data-color-preview]) .filter-bar select option:checked:not([value=""]) {
    color:var(--site-accent-text);background-color:var(--site-accent);
  }
  /* Prose/utility links and small editorial labels; no global a/h2 override. */
  body[data-site-accent]:not([data-color-preview]) :is(
    .below-copy p a,.below-to-intro,.below-reviews,.text-link,.text-button,
    .mg-reading a,.mg-family-intro a,.mg-page-body p a:not(.button):not(.mg-control),
    .contact-link,.price-description,.price-service-name,.price-back,
    .content-return a,.hd-back,.toc a,.addon-list a,
    .mg-site-information a,.price-expansion button,
    .eyebrow,.price-kicker,.booking-option-kind,.service-kind,.status-tag,
    .home-reviews-rating,.client-review figcaption strong,.price-family-device
  ) { color:var(--site-accent); }

  /* A full-width painted band keeps the approved review columns in place. */
  body[data-site-accent]:not([data-color-preview]) .home-reviews {
    background:var(--site-accent);color:var(--site-accent-text);
    box-shadow:0 0 0 100vmax var(--site-accent);clip-path:inset(0 -100vmax);
  }
  body[data-site-accent]:not([data-color-preview]) .hp-pilot section.home-reviews :is(h2,p,figcaption,.client-review figcaption strong,.below-reviews) {
    color:var(--site-accent-text);
  }
  body[data-site-accent]:not([data-color-preview]) .home-reviews .client-review { background:transparent; }
  body[data-site-accent]:not([data-color-preview]) .home-reviews .review-quote-mark { color:#d4bd9b; }
  body[data-site-accent]:not([data-color-preview]) .home-reviews a:focus-visible { outline-color:#d4bd9b; }

  /* Treatment, need and editorial cards share a darker hover/focus and green edge. */
  body[data-site-accent]:not([data-color-preview]) .mg-page-body .service-card:is(
    [href^="/zabieg/"],[href^="/zabiegi/"],[href^="/potrzeba/"],
    [href^="/wiedza/"],[href^="/blog/"]
  ):is(:hover,:focus-visible) {
    border-color:var(--site-accent);background-color:#f6edde;
  }
  body[data-site-accent]:not([data-color-preview]) .mg-page-body .service-card:is(
    [href^="/zabieg/"],[href^="/zabiegi/"],[href^="/potrzeba/"]
  ):is(:hover,:focus-visible) > .icon { color:var(--site-accent); }

  /* Existing price wording and calculations remain untouched. */
  body[data-site-accent]:not([data-color-preview]) :is(.price-badge,.price-saving) {
    display:inline-block;max-width:100%;padding:4px 8px;border-radius:3px;
    background:var(--site-accent);color:var(--site-accent-text);
  }
  body[data-site-accent]:not([data-color-preview]) .price-badge { font-size:.9375rem;line-height:1.5;vertical-align:middle; }
  body[data-site-accent]:not([data-color-preview]) .price-details > summary::after { color:var(--site-accent); }

  /* Paint only the map control: its gold outline and connector are untouched. */
  body[data-site-accent]:not([data-color-preview]) :is(.hp-labels,.hd-labels) .mg-area:is(:hover,:focus-visible) {
    color:var(--site-accent-text);
  }
  body[data-site-accent]:not([data-color-preview]) :is(.hp-labels,.hd-labels) .mg-area:is(:hover,:focus-visible) .mg-frame-outer {
    fill:var(--site-accent);
  }
}
@media (forced-colors:active) {
  body[data-site-accent]:not([data-color-preview]) :is(.mg-booking,.mg-mode[aria-current],.price-reserve) { color:ButtonText; }
  body[data-site-accent]:not([data-color-preview]) .price-reserve::before { border-color:ButtonText; }
}
