/**
 * RIAT 2027 landing page — page-riat.php only.
 *
 * Stonehenge Child Theme
 * Version: 1.0.0
 *
 * Enqueued ONLY on the /riat/ page by sc_enqueue_riat_assets() in functions.php.
 *
 * 🔴 EVERY selector is scoped under .sc-riat, and the custom properties are
 *    declared on .sc-riat rather than :root. The mock-up used bare element and
 *    utility selectors (h1, .btn, .wrap, .price) which would collide head-on with
 *    the site's own styles. Scoping is what keeps this page from leaking into the
 *    rest of the site (ATEN rule 4 — an unscoped archive stylesheet is what broke
 *    the Drive Green homepage filter).
 *
 *    Do not move these tokens to :root. Do not drop the .sc-riat prefix.
 *
 * Layout: single dark-purple editorial column from the social post — gradient
 * field, gold pills, soft-violet cards, full-bleed aerial band.
 */

/* 🔴 TOKENS ARE SHARED WITH THE CHROME, in one selector list rather than two
   copies. The header and footer sit OUTSIDE .sc-riat (they are emitted by
   header.php and footer.php, not by the page template), so a token list declared
   on .sc-riat alone leaves the mini-site's own header with no design system and
   every value falling back to the main site's green. .sc-riat-chrome is the body
   class added by sc_riat_body_class() on all three RIAT surfaces.

   Deliberately tokens ONLY — the page-level background, colour and type below
   stay on .sc-riat, because putting them on <body> would recolour the footer and
   every block the product page inherits from style.css. */
.sc-riat,
.sc-riat-chrome {
    --ink:        #190A3E;
    --violet:     #2E1566;
    --violet-lo:  #4A2495;
    --card:       #351C74;
    --card-edge:  #4C2D92;
    --gold:       #F9CF68;
    --gold-deep:  #E5B63F;
    --paper:      #FFFFFF;
    --muted:      #C3B2E8;

    --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* spacing scale lifted from the child theme's --sc-space-* so this page
       sits on exactly the same grid as the rest of the site */
    --sp-xs: 8px; --sp-sm: 16px; --sp-md: 24px;
    --sp-lg: 32px; --sp-xl: 48px; --sp-2xl: 64px;
    /* 🔴 WAS 20px, with a comment claiming it matched section-inner. It did
       not: section-inner measures 32px padding (content at x=112), so the RIAT
       landing page sat 12px wider than every other page on the site, and its
       header with it. Mapped onto the site token so there is now ONE gutter.
       Second comment in this project found asserting an alignment that had
       never been implemented — .sc-hdr__inner was the first. */
    --gutter: var(--sc-gutter, 32px);
}

.sc-riat {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.sc-riat *,
.sc-riat *::before,
.sc-riat *::after { box-sizing: border-box; }

.sc-riat img { max-width: 100%; }

.sc-riat .band { width: 100%; }

.sc-riat .wrap {
    /* matches the child theme's --content-width: 1280px (site's own design system) */
    max-width: 1280px; margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* an alternating band colour — was an inline style in the mock-up */
.sc-riat .band--violet { background: var(--violet); }

/* hero
   🔴 The site header (Elementor template 134) is position:fixed with a transparent
      background and measures 88px at desktop, so it OVERLAYS the top of this hero.
      Without the offset below the eyebrow renders at y=48, underneath the nav.
      Measured 2026-11-13, not guessed. If the header design changes, re-measure
      with getBoundingClientRect() and update --sc-header-h — do not eyeball it. */
.sc-riat { --sc-header-h: 88px; }

.sc-riat .hero { background: radial-gradient(120% 90% at 50% 0%, var(--violet-lo) 0%, var(--violet) 45%, var(--ink) 100%); text-align: center; }
.sc-riat .hero .wrap {
    padding-top: calc(var(--sp-xl) + var(--sc-header-h));
    padding-bottom: var(--sp-xl);
}

@media (max-width: 820px) {
    /* the mobile bar is shorter than the desktop one (the element measures taller
       only because the collapsed menu panel is nested inside it) */
    .sc-riat { --sc-header-h: 72px; }
}

.sc-riat .eyebrow { font-family: var(--display); font-weight: 700; color: var(--gold); letter-spacing: .22em; font-size: clamp(11px, 2.4vw, 14px); text-transform: uppercase; margin: 0 0 14px; }
.sc-riat h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 11.5vw, 108px); line-height: .92; letter-spacing: -.015em; margin: 0; text-wrap: balance; text-transform: uppercase; color: var(--paper); }
.sc-riat .datepill { display: inline-block; margin: var(--sp-md) 0 var(--sp-sm); background: var(--gold); color: #2A1259; font-family: var(--display); font-weight: 800; font-size: clamp(15px, 3.4vw, 26px); padding: 12px 30px; border-radius: 999px; }
.sc-riat .weekend { font-family: var(--display); font-weight: 800; font-size: clamp(15px, 3.6vw, 27px); text-transform: uppercase; margin: 0; }
.sc-riat .weekend span { color: var(--gold); }

/* The venue line, added 2026-11-19 when RIAT27 moved from RAF Fairford to MOD
   Boscombe Down. Sits between the dates and the capacity count: a readable
   sentence, not another uppercase letterspaced strip, because it carries news
   rather than a label and people have to actually read it. Capped at 52ch so it
   breaks to two tidy lines on a desktop hero instead of one very long one. */
.sc-riat .hero .venueline {
    margin: var(--sp-sm) auto 0;
    max-width: 52ch;
    color: var(--paper);
    font-size: clamp(14px, 2.2vw, 17px);
    line-height: 1.5;
}

.sc-riat .capline { margin-top: var(--sp-sm); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sc-riat .capline b { color: var(--gold); font-family: var(--display); font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; }

.sc-riat .tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); margin-top: var(--sp-md); }
.sc-riat .tile { background: var(--card); border: 1px solid var(--card-edge); border-radius: 16px; padding: var(--sp-md); display: flex; align-items: center; gap: var(--sp-sm); text-align: left; min-width: 0; }
.sc-riat .tile .n { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: clamp(30px, 7vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.sc-riat .tile .l { font-family: var(--display); font-weight: 700; font-size: clamp(12px, 2.6vw, 15px); line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; min-width: 0; }
.sc-riat .ribbons { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); margin-top: var(--sp-sm); }
.sc-riat .ribbon { background: var(--gold); color: #2A1259; border-radius: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(14px, 3vw, 22px); text-transform: uppercase; padding: 14px 10px; text-align: center; }

/* aerial */
.sc-riat .aerial { position: relative; margin: 0; }
.sc-riat .aerial img { display: block; width: 100%; max-width: 100%; height: clamp(220px, 42vw, 440px); object-fit: cover; object-position: 50% 58%; }
.sc-riat .aerial figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(25,10,62,.92)); padding: 56px 20px 18px; font-family: var(--display); font-weight: 700; font-size: clamp(13px, 2.8vw, 17px); text-align: center; }
.sc-riat .aerial figcaption em { color: var(--gold); font-style: normal; }

/* 🔴 THE CAPTION WAS #333333 — DARK GREY ON A PHOTOGRAPH.
   Mark: "text on the hero is hard to read". It was not the scrim, which is a
   proper gradient to rgba(25,10,62,.92); it was the COLOUR. assets/base.css —
   the Hello reset absorbed in step 6 — carries `figcaption { color:#333;
   font-style:italic }`, and an element rule beats a colour inherited from
   `.sc-riat`, so the caption rendered dark grey and italic over an aerial shot.
   Only the <em> half looked right, because it sets its own gold.

   🔑 Third time this reset has done this: `button:focus` turned the lightbox
      close button pink, `figcaption` turns captions grey. base.css styles BARE
      ELEMENTS, so nothing in the markup or the component's own stylesheet hints
      that a rule exists. When a component looks wrong in a way its own CSS does
      not explain, check base.css before anything else.

   The text-shadow is belt and braces: the scrim handles a dark photo, the shadow
   handles a bright one, and this image has both in it. */
.sc-riat .aerial figcaption {
    color: var(--paper);
    font-style: normal;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

/* sections */
.sc-riat section .wrap { padding-block: var(--sp-xl); }   /* site: section { padding: 48px 0 } */
.sc-riat .sec-head { text-align: center; margin-bottom: var(--sp-md); }
.sc-riat h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 6vw, 44px); line-height: 1.05; text-transform: uppercase; margin: 0 0 10px; text-wrap: balance; color: var(--paper); }
.sc-riat .sec-head p { color: var(--muted); margin: 0 auto; max-width: 62ch; }

.sc-riat .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-sm); }

.sc-riat .opt { background: var(--card); border: 1px solid var(--card-edge); border-radius: 18px; padding: var(--sp-md); display: flex; flex-direction: column; gap: var(--sp-xs); min-width: 0; position: relative; }
.sc-riat .opt h3 { font-family: var(--display); font-weight: 800; font-size: 19px; margin: 0; text-transform: uppercase; color: var(--paper); }
.sc-riat .opt-img { display: block; width: calc(100% + var(--sp-md) * 2); max-width: none; margin: calc(var(--sp-md) * -1) calc(var(--sp-md) * -1) var(--sp-xs); height: 188px; object-fit: cover; border-radius: 17px 17px 0 0; }
.sc-riat .opt-img + .stock { margin-top: -2px; }
.sc-riat .opt .desc { color: var(--muted); font-size: 14px; margin: 0; }
.sc-riat .opt .price { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; margin-top: auto; padding-top: var(--sp-xs); }
.sc-riat .opt .price small { display: block; font-family: var(--body); font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-top: 6px; }
.sc-riat .stock { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #2A1259; background: var(--gold); border-radius: 999px; padding: 4px 11px; align-self: flex-start; font-variant-numeric: tabular-nums; }
.sc-riat .feat { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 0; }
.sc-riat .feat li { font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; background: rgba(249,207,104,.12); color: var(--gold); border: 1px solid rgba(249,207,104,.3); padding: 3px 8px; border-radius: 999px; line-height: 1.4; }

.sc-riat .btn { display: block; text-align: center; text-decoration: none; background: var(--gold); color: #2A1259; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding: 14px 18px; border-radius: 10px; border: 0; cursor: pointer; width: 100%; transition: background .15s ease, transform .15s ease; }
.sc-riat .btn:hover { background: var(--gold-deep); transform: translateY(-1px); color: #2A1259; }
.sc-riat .btn:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; }
.sc-riat .opt .btn { min-height: 46px; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: .03em; }
/* the closing CTA sizes to its text — was an inline style in the mock-up */
.sc-riat .btn--inline { display: inline-block; width: auto; padding-inline: 40px; }
.sc-riat .flag { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0; }

/* featured camping band */
.sc-riat .feature-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-lg); align-items: center; }
.sc-riat .feature-img { width: 100%; max-width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 18px; display: block; }
.sc-riat .feature-body { min-width: 0; }
.sc-riat .feature-body h2 { margin-bottom: var(--sp-sm); }
.sc-riat .feature-kicker { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 var(--sp-xs); }
.sc-riat .feature-body .lede { color: #E6DCFA; font-size: 17px; margin: 0 0 var(--sp-md); max-width: 46ch; }
.sc-riat .feature-count { display: flex; align-items: center; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.sc-riat .feature-count .big-n { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: clamp(56px, 11vw, 92px); line-height: .85; font-variant-numeric: tabular-nums; }
.sc-riat .feature-count .big-l { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(13px, 2.6vw, 16px); line-height: 1.25; }
.sc-riat .feature-foot { display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; margin-top: var(--sp-md); }
.sc-riat .feature-foot .price { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; justify-content: center; }
.sc-riat .feature-foot .price small { display: block; font-family: var(--body); font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.sc-riat .feature-foot .btn { width: auto; padding-inline: var(--sp-lg); }

@media (max-width: 820px) {
    .sc-riat .feature-inner { grid-template-columns: 1fr; }
    .sc-riat .feature-img { min-height: 220px; max-height: 300px; }
}

/* add-ons */
.sc-riat .addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-sm); }
.sc-riat .addon { background: transparent; border: 1px dashed var(--card-edge); border-radius: 18px; padding: var(--sp-md); display: flex; flex-direction: column; gap: var(--sp-xs); min-width: 0; }
.sc-riat .addon h3 { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 0; text-transform: uppercase; color: var(--paper); }
.sc-riat .addon .price { font-family: var(--display); font-weight: 900; color: var(--gold); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-riat .addon p { color: var(--muted); font-size: 14px; margin: 0; }

/* info */
.sc-riat .info { background: var(--violet); }
.sc-riat .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-md); }
.sc-riat .info-grid h4 { font-family: var(--display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0 0 8px; }
.sc-riat .info-grid p { margin: 0; color: #E6DCFA; font-size: 15px; }

/* closing CTA */
.sc-riat .close { text-align: center; }
.sc-riat .close .wrap { padding-block: var(--sp-2xl); }
.sc-riat .close h2 { margin-bottom: var(--sp-sm); }
.sc-riat .close p { color: var(--muted); max-width: 54ch; margin: 0 auto var(--sp-lg); }
.sc-riat .close .flag { margin-bottom: var(--sp-md); }
.sc-riat .close .btn { padding-block: 15px; }
.sc-riat .close .contact { font-family: var(--display); font-weight: 800; font-size: clamp(15px, 3vw, 21px); color: var(--paper); margin: var(--sp-lg) auto 0; max-width: none; }
.sc-riat .close .contact span { color: var(--gold); }

@media (max-width: 560px) {
    .sc-riat .tiles,
    .sc-riat .ribbons { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-riat * { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   RIAT MINI-SITE CHROME  —  parts/riat-header.php
   ───────────────────────────────────────────────────────────────────────────
   Mark, 2026-11-18: "own header and nav".

   🔴 EVERY selector here is under .sc-riat-chrome, the body class that
      sc_riat_body_class() adds only on the three RIAT surfaces. Nothing here can
      reach the main site (ATEN rule 4). The main header's own .sc-hdr markup is
      not even emitted in RIAT context — header.php branches before it.

   🔴 88px TALL, FIXED. This is load-bearing, not a style choice:
      `.sc-riat { --sc-header-h: 88px }` above, and the landing hero pads itself
      by calc(var(--sp-xl) + var(--sc-header-h)). Change the height here and the
      landing page's hero spacing breaks with no error. Measure with
      getBoundingClientRect() if you change it, and update --sc-header-h to match.

   🔑 The toggle deliberately keeps the .sc-hdr__toggle class and the nav keeps
      id="sc-hdr-nav", because assets/js/site-chrome.js binds to those and toggles
      .is-open on the nav. Rename either and the mobile menu silently stops
      opening. The rules below therefore style .sc-riat-hdr__nav.is-open.
   ═══════════════════════════════════════════════════════════════════════════ */

.sc-riat-chrome { background: var(--ink); }

/* 🔴 Same WP admin bar overlap as .sc-hdr — see the long note in site-chrome.css
   for why a fixed header ignores WordPress's `html { margin-top: 32px }` and ends
   up underneath the bar. Repeated here rather than shared because the two headers
   live in two stylesheets that load on mutually exclusive pages (rule 4), and a
   shared rule would mean loading one of them where it does nothing. */
.admin-bar .sc-riat-hdr { top: 32px; }

@media screen and (max-width: 782px) {
    .admin-bar .sc-riat-hdr { top: 46px; }
}

@media screen and (max-width: 600px) {
    .admin-bar .sc-riat-hdr { top: 0; }
}

.sc-riat-hdr {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9999;
    /* a hair of transparency over the ink so a hero reads through on scroll,
       but never the invisible-header defect that `background: transparent`
       caused on .sc-hdr in November */
    background: rgba(25, 10, 62, .92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--card-edge);
    font-family: var(--display);
}

.sc-riat-hdr__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;                 /* matches .sc-hdr, see note above */
    max-width: 1280px;                /* matches .sc-riat .wrap */
    margin-inline: auto;
    padding: 10px var(--gutter);
}

/* ── brand: logo + event badge, both inside the mini-site's own home link ── */
.sc-riat-hdr__brand { min-width: 0; margin-right: auto; }

.sc-riat-hdr__home {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* 🔴 The logo PNG is DARK GREEN on transparent (dominant #204020, luminance
   55/255 - measured, see memory/coming-soon-gate.md). On the ink field it is
   almost invisible unfiltered, exactly as it was on the green header. Same
   treatment .sc-hdr uses. */
.sc-riat-hdr__logo {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
    filter: brightness(0) invert(1);
    opacity: .94;
}

.sc-riat-hdr__title {
    font-weight: 800;
    font-size: 18px;
    color: var(--paper);
}

.sc-riat-hdr__badge {
    flex: none;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.sc-riat-hdr__nav { display: flex; }

/* 🔑 gap 2px was fine while nothing was filled — it reads as the 26px of
   combined horizontal padding between two text labels. The moment the items
   became pills (see sc_riat_nav_strip_current() in functions.php for why they
   all did at once) that 2px put five gold blocks hard against each other, which
   is the "spacing is odd" half of Mark's report. 6px keeps plain labels evenly
   spaced and leaves a visible channel between a hovered pill and its neighbour. */
.sc-riat-hdr__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-riat-hdr__menu li { margin: 0; }

.sc-riat-hdr__menu a {
    display: block;
    padding: 8px 13px;
    color: #DCCFF7;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: color .15s ease, background-color .15s ease;
}

.sc-riat-hdr__menu a:hover,
.sc-riat-hdr__menu a:focus-visible,
.sc-riat-hdr__menu .current-menu-item > a {
    color: var(--ink);
    background: var(--gold);
}

/* ── the Book CTA ────────────────────────────────────────────────────────── */
.sc-riat-hdr__cta {
    flex: none;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .15s ease, transform .15s ease;
}

.sc-riat-hdr__cta:hover,
.sc-riat-hdr__cta:focus-visible {
    background: var(--gold-deep);
    transform: translateY(-1px);
}

/* ── mobile: the nav collapses behind the toggle, which site-chrome.js drives ── */
.sc-riat-chrome .sc-hdr__toggle { display: none; }

@media (max-width: 1024px) {
    .sc-riat-chrome .sc-hdr__toggle { display: block; order: 3; }

    .sc-riat-hdr__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: var(--violet);
        border-bottom: 1px solid var(--card-edge);
        padding: 8px var(--gutter) 20px;
    }
    .sc-riat-hdr__nav.is-open { display: block; }

    .sc-riat-hdr__menu { flex-direction: column; align-items: stretch; gap: 0; }
    .sc-riat-hdr__menu a {
        padding: 13px 0;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }
    .sc-riat-hdr__menu a:hover,
    .sc-riat-hdr__menu a:focus-visible,
    .sc-riat-hdr__menu .current-menu-item > a { background: transparent; color: var(--gold); }

    .sc-riat-hdr__cta { order: 2; padding: 10px 16px; }
}

@media (max-width: 560px) {
    .sc-riat-hdr__inner { min-height: 72px; gap: 10px; }
    .sc-riat-hdr__logo { height: 34px; }
    /* the badge is the first thing to go - the page's own hero says RIAT 2027 */
    .sc-riat-hdr__badge { display: none; }
    .sc-riat-hdr__cta { padding: 9px 14px; font-size: 12px; }
}


/* 🔴 Anchored sections need to clear the FIXED header, or the mini-site nav
   scrolls the section's heading underneath the bar. Uses the same
   --sc-header-h the hero pads itself by, so the two can never disagree. */
.sc-riat .band[id],
.sc-riat [id^="sc-riat-"] { scroll-margin-top: calc(var(--sc-header-h) + 16px); }

@media (prefers-reduced-motion: no-preference) {
    .sc-riat-chrome { scroll-behavior: smooth; }
}


/* ════════════════════════════════════════════════════════════════════════════
   RIAT MINI-SITE BODY SKIN  —  product pages and the listing
   ────────────────────────────────────────────────────────────────────────────
   Mark, 2026-11-18: the listing and product pages must match the RIAT page.

   🔴 These templates are SHARED with the main site — single-mphb_room_type.php
      and native-pages/search-results.php render for ordinary stock too. Every
      rule here is therefore under .sc-riat-chrome, the body class that only the
      three RIAT surfaces carry. Nothing can reach an ordinary accommodation page
      (ATEN rule 4). Verified: /accommodation/shepherds-hut/ carries neither the
      class nor this stylesheet.

   🔑 !important is used deliberately and only where style.css already uses it
      on the same property. The product template's own docblock says "NO NEW CSS —
      every class here is already styled in style.css", so this is an override
      layer over a stylesheet that fights back, not a fresh cascade.
   ════════════════════════════════════════════════════════════════════════════ */

.sc-riat-chrome {
    color: var(--paper);
    font-family: var(--body);
}

/* headings take the landing page's display face */
.sc-riat-chrome h1,
.sc-riat-chrome h2,
.sc-riat-chrome h3,
.sc-riat-chrome h4 {
    font-family: var(--display);
    color: var(--paper);
}

.sc-riat-chrome a { color: var(--gold); }

/* ── panels: every light card becomes a violet one ─────────────────── */
.sc-riat-chrome .sc-card,
.sc-riat-chrome .sc-extras-card,
.sc-riat-chrome .sc-360-card,
.sc-riat-chrome .sc-quick-facts,
.sc-riat-chrome .sc-awards,
.sc-riat-chrome .sc-booking-card,
.sc-riat-chrome .mphb-room-type,
.sc-riat-chrome .mphb-reservation-cart,
.sc-riat-chrome .mphb-recommendation {
    background: var(--card) !important;
    border: 1px solid var(--card-edge) !important;
    border-radius: 16px;
    color: var(--paper) !important;
    box-shadow: none !important;
}

.sc-riat-chrome .sc-card p,
.sc-riat-chrome .sc-card li,
.sc-riat-chrome .sc-description,
.sc-riat-chrome .sc-accom-subtitle,
.sc-riat-chrome .sc-extras-note,
.sc-riat-chrome .sc-arrival-note,
.sc-riat-chrome .mphb-attribute-value,
.sc-riat-chrome .mphb-room-type-details-title { color: var(--muted) !important; }

.sc-riat-chrome .sc-highlights,
.sc-riat-chrome .sc-amenities-grid,
.sc-riat-chrome .sc-arrival-info {
    background: var(--violet) !important;
    border-radius: 14px;
    color: var(--paper) !important;
}

/* 🔴 AND THE ARRIVAL BOX'S AMBER BORDER HAS TO GO WITH THE AMBER BACKGROUND.
   style.css:2839 makes .sc-arrival-info a soft callout — `background:#fdf3e0`
   with `border:1px solid #f0d890` — which on the cream main site reads as a
   gentle "note this" and is right there.

   The rule above recoloured the background and left the border, so on violet it
   became the one outlined panel in a column of borderless ones: a gold box round
   the check-in times and nothing else, which looks like an error state rather
   than a note. Mark: "why is the arrival and departimen highlighted with a
   border, can you remove".

   🔑 The lesson that keeps repeating in this skin: a two-property idiom —
      tinted background PLUS matching border — only works while both halves
      agree. Recolour one and the other stops meaning what it meant. Change the
      pair, or neither. */
.sc-riat-chrome .sc-arrival-info { border: 0 !important; }

.sc-riat-chrome .sc-amenity-label,
.sc-riat-chrome .sc-highlights-list li { color: var(--paper) !important; }
.sc-riat-chrome .sc-amenity-note { color: var(--muted) !important; }

/* ── headline block ────────────────────────────────────── */
.sc-riat-chrome .sc-accom-h1 { color: var(--paper) !important; font-weight: 900; }
.sc-riat-chrome .sc-accom-type-tag,
.sc-riat-chrome .sc-electric-badge {
    background: var(--gold) !important;
    color: var(--ink) !important;
}
.sc-riat-chrome .sc-accom-meta-item { color: var(--muted) !important; }
.sc-riat-chrome .sc-rating-stars { color: var(--gold) !important; }

/* ── breadcrumbs ─────────────────────────────────────── */
.sc-riat-chrome .sc-breadcrumbs {
    background: transparent !important;
    border-bottom: 1px solid var(--card-edge) !important;
    color: var(--muted) !important;
}
.sc-riat-chrome .sc-breadcrumbs a { color: var(--muted) !important; }
.sc-riat-chrome .sc-breadcrumbs a:hover { color: var(--gold) !important; }

/* ── prices and buttons ───────────────────────────────── */
.sc-riat-chrome .sc-price-amount,
.sc-riat-chrome .mphb-price,
.sc-riat-chrome .mphb-currency { color: var(--gold) !important; }
.sc-riat-chrome .sc-price-label,
.sc-riat-chrome .sc-price-note,
.sc-riat-chrome .mphb-price-period { color: var(--muted) !important; }

.sc-riat-chrome .mphb-button,
.sc-riat-chrome .mphb-reserve-btn,
.sc-riat-chrome .sc-mobile-book-btn,
.sc-riat-chrome .sc-pod-card-cta,
.sc-riat-chrome .sc-similar-viewall {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
    font-family: var(--display);
    font-weight: 800 !important;
}
.sc-riat-chrome .mphb-button:hover,
.sc-riat-chrome .mphb-reserve-btn:hover,
.sc-riat-chrome .sc-mobile-book-btn:hover { background: var(--gold-deep) !important; }

/* MPHB's secondary "view details" button stays an outline, not a second gold slab */
.sc-riat-chrome .mphb-view-details-button {
    background: transparent !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
}

/* ── form fields inside the dark cards ──────────────────────── */
.sc-riat-chrome .mphb-booking-form input,
.sc-riat-chrome .mphb-booking-form select,
.sc-riat-chrome .mphb_sc_search-wrapper input,
.sc-riat-chrome .mphb_sc_search-wrapper select {
    background: var(--ink) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--paper) !important;
}
.sc-riat-chrome .mphb-booking-form label,
.sc-riat-chrome .mphb_sc_search-wrapper label { color: var(--muted) !important; }

/* ── "More for the Air Tattoo" — was a main-site GREEN band ────────── */
.sc-riat-chrome .sc-similar-section {
    background: var(--violet) !important;
    border-top: 1px solid var(--card-edge);
}
.sc-riat-chrome .sc-similar-header p { color: var(--muted) !important; }
.sc-riat-chrome .sc-pod-card {
    background: var(--card) !important;
    border: 1px solid var(--card-edge) !important;
    box-shadow: none !important;
}
.sc-riat-chrome .sc-pod-card-name { color: var(--paper) !important; }
.sc-riat-chrome .sc-pod-card-desc,
.sc-riat-chrome .sc-pod-card-meta,
.sc-riat-chrome .sc-pod-card-type { color: var(--muted) !important; }

/* ── the listing ────────────────────────────────────── */
.sc-riat-chrome .sc-search-hero {
    background: linear-gradient(160deg, var(--violet) 0%, var(--ink) 100%) !important;
    padding-top: calc(var(--sc-header-h, 88px) + 32px) !important;
}
.sc-riat-chrome .sc-search-hero-title h2 { color: var(--paper) !important; }
.sc-riat-chrome .sc-search-results-wrap { background: var(--ink) !important; }
.sc-riat-chrome .mphb_sc_search_results-info { color: var(--muted) !important; }
.sc-riat-chrome .mphb-room-type-title,
.sc-riat-chrome .mphb-room-type-title a { color: var(--paper) !important; }
.sc-riat-chrome .mphb-available-rooms-count { color: var(--gold) !important; }

/* ── the sticky mobile book bar ─────────────────────────── */
.sc-riat-chrome .sc-mobile-book-bar {
    background: var(--violet) !important;
    border-top: 1px solid var(--card-edge) !important;
}
.sc-riat-chrome .sc-mobile-book-name { color: var(--paper) !important; }
.sc-riat-chrome .sc-mobile-book-note { color: var(--muted) !important; }


/* ════════════════════════════════════════════════════════════════════════════
   CORRECTIONS — found by measuring, not by looking
   ────────────────────────────────────────────────────────────────────────────
   A contrast sweep over every leaf text node on a RIAT product page
   (getComputedStyle against the nearest painted ancestor background) found these.
   Four were invisible or near-invisible; none was obvious in a screenshot.

   🔴 THE CASCADE TRAP, worth remembering: `.sc-riat-chrome a { color: var(--gold) }`
      sits LATER in this file than the header block, and .sc-riat-hdr__cta is an
      <a>. Same specificity, later wins — so the Book button rendered GOLD TEXT ON
      A GOLD PILL and the word "Book" vanished. A broad element rule added below a
      component block silently eats it. The fixes below carry the .sc-riat-chrome
      prefix so they outrank it on specificity rather than on order.
   ════════════════════════════════════════════════════════════════════════════ */

.sc-riat-chrome .sc-riat-hdr__home,
.sc-riat-chrome .sc-riat-hdr__title { color: var(--paper); }

.sc-riat-chrome .sc-riat-hdr__cta { color: var(--ink); }

.sc-riat-chrome .sc-riat-hdr__menu a { color: #DCCFF7; }
.sc-riat-chrome .sc-riat-hdr__menu a:hover,
.sc-riat-chrome .sc-riat-hdr__menu a:focus-visible,
.sc-riat-chrome .sc-riat-hdr__menu .current-menu-item > a { color: var(--ink); }

/* 🔴 ...and the SAME trap again, on mobile only. The rule above is correct on
   desktop: ink on the gold pill. But the mobile block at ~436 removes the pill
   (background: transparent) and recolours the label gold - and it is only
   (0,2,2), so this .sc-riat-chrome-prefixed (0,3,2) rule overrides its COLOUR
   while leaving its transparent BACKGROUND standing. Net result on a phone:
   #190A3E ink on #2E1566 violet. The tapped/current item simply disappeared.
   Two layers, one wins on background and the other on colour - exactly the
   fault the comment at the top of this block describes.
   Fixed by matching the specificity AND sitting later in the file. */
@media (max-width: 1024px) {
    .sc-riat-chrome .sc-riat-hdr__menu a:hover,
    .sc-riat-chrome .sc-riat-hdr__menu a:active,
    .sc-riat-chrome .sc-riat-hdr__menu a:focus-visible,
    .sc-riat-chrome .sc-riat-hdr__menu .current-menu-item > a {
        color: var(--gold);
        background: transparent;
    }
}

/* Dark body text stranded inside panels this stylesheet just turned violet.
   Measured: #333 on #351C74, and #575757 on #2E1566 — both unreadable. */
.sc-riat-chrome .sc-quick-fact,
.sc-riat-chrome .sc-360-title,
.sc-riat-chrome .sc-arrival-info strong,
.sc-riat-chrome .sc-arrival-cols strong,
.sc-riat-chrome .sc-extras-subhead strong { color: var(--paper) !important; }

.sc-riat-chrome .sc-quick-facts-label,
.sc-riat-chrome .sc-awards-label { color: var(--muted) !important; }

/* 🔴 A cream panel INSIDE a card the skin had already darkened: #FFFBEB
   carrying muted violet text, i.e. light-on-light. The sweep caught it; the eye
   did not, because it looked like a deliberate highlight. */
.sc-riat-chrome .sc-extras-note {
    background: var(--violet) !important;
    border-color: var(--card-edge) !important;
    color: var(--muted) !important;
}

/* 🔴 The reserve button is an <input type="submit"> INSIDE .mphb-booking-form,
   so the form-field rule above (background: var(--ink)) matched it and, being
   later and also !important, beat the button rule. It rendered as a dark slab
   where the whole page's call to action should be gold. */
.sc-riat-chrome .mphb-booking-form input[type="submit"],
.sc-riat-chrome input.mphb-reserve-btn,
.sc-riat-chrome .mphb_sc_search-wrapper input[type="submit"] {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
    font-family: var(--display);
    font-weight: 800 !important;
}


/* ── the availability search form, on the landing page and the listing ──── */
.sc-riat-chrome .sc-search-form-band {
    background: var(--violet);
    border-bottom: 1px solid var(--card-edge);
    padding-block: var(--sp-lg, 32px);
}
.sc-riat-chrome .sc-search-form-title {
    margin: 0 0 16px;
    font-family: var(--display);
    font-weight: 800;
    color: var(--paper);
    text-align: center;
}
.sc-riat .mphb_sc_search-wrapper,
.sc-riat-chrome .mphb_sc_search-wrapper { max-width: 1000px; margin-inline: auto; }

/* the landing page's copy sits inside .sc-riat, where the tokens already live */
.sc-riat .mphb_sc_search-wrapper { margin-top: var(--sp-lg); text-align: left; }
.sc-riat .mphb_sc_search-wrapper label,
.sc-riat-chrome .mphb_sc_search-wrapper label {
    color: var(--muted);
    font-family: var(--display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.sc-riat .mphb_sc_search-wrapper input,
.sc-riat .mphb_sc_search-wrapper select {
    background: var(--ink);
    border: 1px solid var(--card-edge);
    color: var(--paper);
    border-radius: 10px;
    padding: 11px 13px;
}
.sc-riat .mphb_sc_search-wrapper input[type="submit"],
.sc-riat-chrome .sc-search-form-band input[type="submit"] {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
    font-family: var(--display);
    font-weight: 800 !important;
    border-radius: 999px;
    padding-inline: 28px;
}

/* MPHB prints "Required fields are followed by *" above the form; the labels
   already carry the asterisk, and the landing page has no room for the line. */
.sc-riat .mphb-required-fields-tip,
.sc-riat-chrome .sc-search-form-band .mphb-required-fields-tip { display: none; }


/* ── form layout ─────────────────────────────────────────
   🔑 MPHB emits every field as its own <p>, with a <br> between label and
      input. Left alone that is four full-width rows and a button — which is what
      it looked like on first render. The grid puts them on one line and the <br>
      is neutralised rather than removed, because the markup is the plugin's. */
.sc-riat .mphb_sc_search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}
.sc-riat .mphb_sc_search-form > p { margin: 0; }
.sc-riat .mphb_sc_search-form label { display: block; margin-bottom: 6px; }
.sc-riat .mphb_sc_search-form br { display: none; }
.sc-riat .mphb_sc_search-form input,
.sc-riat .mphb_sc_search-form select { width: 100%; }
.sc-riat .mphb_sc_search-form input[type="submit"] { width: auto; }

@media (max-width: 860px) {
    .sc-riat .mphb_sc_search-form { grid-template-columns: 1fr 1fr; }
    .sc-riat .mphb_sc_search-form input[type="submit"] { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 520px) {
    .sc-riat .mphb_sc_search-form { grid-template-columns: 1fr; }
}

/* ── the closing booking block: it was crowded ────────────────────────────
   Mark: "the spacing needs looking at", on the search form at the foot of the
   landing page. Measured off the capture: the "See all options" button sits
   about 7px under the form row — it is the next element in the flow and nothing
   gave it any room — so the form, the button and the phone line read as one
   undifferentiated clump under a big heading.

   🔑 The three parts do different jobs and want separating, not shrinking: the
      form is the primary action, the button is the secondary route, the phone
      line is the fallback. Give each its own air. */
.sc-riat .close .mphb_sc_search-wrapper {
    margin-top: var(--sp-lg);
    margin-bottom: var(--sp-lg);
}

.sc-riat .close .btn--inline { margin-top: var(--sp-xs); }

.sc-riat .close .flag { margin-top: var(--sp-md); }

/* The form sits in the darkest band on the page, directly above the footer;
   without this it has 32px of air below it and 64px above, which reads as the
   footer crowding it. */
.sc-riat .close .wrap { padding-bottom: var(--sp-2xl); }


/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE — the main-site palette that survived the first skin
   ───────────────────────────────────────────────────────────────────────────
   Mark, 2026-11-19, looking at /accommodation/moon-pod-riat/: "not in keeping
   with the rest of the purple … there are spacing issue and still some green",
   and "The hero shoud not be white bg".

   🔑 These were found by MEASURING the page, not by looking at it. The first
      skin restyled every panel and every label, so the page reads as purple at
      a glance — and underneath it, 23 elements were still computing to the main
      site's green, cream and white. Two of them are invisible as faults until
      you name them: the amenity chips look like "white squares", and the quick
      reference ticks look like punctuation.

   🔴 LAYOUT IS DELIBERATELY UNTOUCHED. Mark: "I don't mind it having the same
      layout, it just needs to be fixed, spacing and colours." The only geometry
      below is the flex column that lines the card footers up, which is the
      spacing complaint, not a redesign.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. the gallery band was still WHITE ───────────────────────────────────
   .sc-gallery-wrap is `background:#ffffff` in style.css:2606 and starts at y=0
   — the header is painted over it — so the top 570px of every RIAT product page
   was a white slab between the violet header and the ink body.

   🔴 Its padding-top of 68px is the ELEMENTOR header height. The RIAT bar is
      88px, so the gallery sat 20px too high and tucked under it. Use the token
      the rest of this stylesheet uses rather than hard-coding either number. */
.sc-riat-chrome .sc-gallery-wrap {
    background: var(--ink) !important;
    padding-top: calc(var(--sc-header-h, 88px) + 24px) !important;
}

/* ── 2. the booking card header was site green ─────────────────────────────
   style.css:3044 — `background: var(--sc-green)`. The one block of flat
   #225322 on the page, directly beside the gold CHECK AVAILABILITY button. */
.sc-riat-chrome .sc-booking-card-head {
    background: var(--violet) !important;
    border-bottom: 1px solid var(--card-edge) !important;
    border-radius: 15px 15px 0 0;
}
.sc-riat-chrome .sc-booking-card-head .sc-price-label { color: var(--gold) !important; }
.sc-riat-chrome .sc-booking-card-head .sc-price-amount { color: var(--paper) !important; }
.sc-riat-chrome .sc-booking-card-head .sc-price-note { color: var(--muted) !important; }

/* ── 3. the amenity / extras icon chips were site cream ────────────────────
   style.css:2951 — `background: var(--sc-bg-tint)` (#F3F8F3) with a #dde9dd
   border. On violet that is the row of blank white squares in What's included
   and Optional extras: the icon inside is drawn in `currentColor`, which the
   skin had already pushed to a pale tone, so the glyph vanished into the chip. */
.sc-riat-chrome .sc-amenity-icon {
    background: var(--violet) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--gold) !important;
}

/* ── 4. the quick-reference ticks were green ───────────────────────────────
   style.css:3086 — `.sc-quick-fact svg { color: var(--sc-green-mid) }`, plus
   the shield on the "Secure booking" line. Small, but it is five green marks
   sitting inside an otherwise violet card. The red "no pets" cross is left
   alone: red still reads as a negative here. */
.sc-riat-chrome .sc-quick-fact svg,
.sc-riat-chrome .sc-trust svg { color: var(--gold) !important; }
.sc-riat-chrome .sc-quick-fact.sc-no svg { color: #FF8A8A !important; }

/* ── 5. the related-card category badge was site green ─────────────────────
   style.css:4244 — `rgba(34,83,34,0.8)`. Three "GLAMPING VILLAGE" pills in
   green, on violet cards, under a violet heading. */
.sc-riat-chrome .sc-pod-card-type {
    background: rgba(25, 10, 62, .82) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--gold) !important;
}

/* ── 6. the no-image placeholders were GREEN GRADIENTS ─────────────────────
   style.css:4240-4243. The gradient class is applied to EVERY card, not only to
   the ones without a photo; where a photo exists the shortcode puts it on as an
   inline `style="background-image:url(…)"` which simply paints over it.

   🔴 SO THIS MUST NOT BE `!important`, AND MUST NOT BE THE `background`
      SHORTHAND. An !important declaration in a stylesheet beats a non-important
      INLINE style — so the first version of this block wiped the photograph off
      all five cards that had one, leaving eight identical violet gradients.
      Mark spotted it immediately: "now the images are missing where they excist".

      Without !important the cascade does the right thing by itself: the inline
      background-image wins on the cards that have a photo, and these rules still
      beat the green ones on the cards that do not, because
      `.sc-riat-chrome .sc-pod-card-img-1` is (0,2,0) against (0,1,0).

      `background-image` rather than `background` so the inline background-size
      and background-position are left alone.

   🔑 The real fix for the remaining blanks is a photograph on those types; this
      only stops the placeholder shouting green. Still on the list for Mark. */
.sc-riat-chrome .sc-pod-card-img-1 { background-image: linear-gradient(160deg, var(--violet-lo), var(--violet)); }
.sc-riat-chrome .sc-pod-card-img-2 { background-image: linear-gradient(160deg, var(--violet), var(--ink)); }
.sc-riat-chrome .sc-pod-card-img-3 { background-image: linear-gradient(160deg, #5A35A8, var(--violet)); }
.sc-riat-chrome .sc-pod-card-img-4 { background-image: linear-gradient(160deg, var(--violet-lo), var(--ink)); }

/* ── 7. the spacing complaint: card footers did not line up ────────────────
   .sc-pod-card is `display:block`, so each card's "View more" sits wherever its
   own text ends. Titles wrap to two lines on some cards and four of these types
   have no excerpt at all, so the row read as ragged — which is what "messy"
   is pointing at.

   Make the card a column and let the body grow: the footer then sits on the
   card's bottom edge on every card, and the grid rows line up without touching
   the layout. 🔴 .sc-pod-card-img needs an explicit flex-basis or it gets
   squashed out of its 160px by the growing body. */
/* 🔴 NO !important ON display HERE, and the reason matters.
   style.css:4216 caps the grid at two rows with
   `.sc-similar-grid .sc-pod-card:nth-child(n+9) { display: none }`. Writing
   `display: flex !important` beat that rule and unhid every card — the page went
   from 3360px to 4424px and the section grew from 8 cards to 19. It looked
   deliberate, which is what made it dangerous.
   Plain `.sc-riat-chrome .sc-pod-card` is (0,2,0); the cap is (0,3,0) and still
   wins. Caught by re-measuring the page height, not by looking at it. */
.sc-riat-chrome .sc-pod-card {
    display: flex;
    flex-direction: column;
}
.sc-riat-chrome .sc-pod-card-img { flex: 0 0 160px; }
.sc-riat-chrome .sc-pod-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.sc-riat-chrome .sc-pod-card-desc { flex: 1 1 auto; }
.sc-riat-chrome .sc-pod-card-footer { margin-top: auto; padding-top: 10px; }
.sc-riat-chrome .sc-pod-card-meta svg { color: var(--gold) !important; }

/* The header of that section: the heading and the "All RIAT options" button
   were centred against each other, so the button floated beside the subtitle
   rather than aligning with the heading. */
.sc-riat-chrome .sc-similar-header { align-items: flex-start !important; }

/* ── 9. the sections were touching ─────────────────────────────────────────
   Mark: "the spacking betweek the section is still touching, there shoud be
   gaps". Measured: every gap between the seven blocks in .sc-accom-main is
   **0px**, and each block's own margins are 0/0 — they are genuinely flush, not
   margin-collapsed.

   🔑 It is 0px on the MAIN SITE too, and looks fine there, which is why this is
      a RIAT problem rather than a bug. On the main site each .sc-card is white
      with a light border on a cream page, so the boundary draws itself. Here the
      cards are var(--card) violet, the panels var(--violet), and the page
      var(--ink) — all close in tone — so seven distinct sections read as one
      undifferentiated slab. The same geometry needs real space to survive the
      darker palette.

   Scoped to .sc-riat-chrome, so the main site keeps the flush stack it was
   designed with (rule 4, and rule 2 — the screengrabs show it flush). */
/* 🔑 MOVED TO style.css 2026-11-19. These gaps were scoped to RIAT on the
   argument that the main site did not need them — white cards on cream draw
   their own boundary. Mark looked at /accommodation/meadow-pitch-electric/ and
   said "same issues as the RAIT product pages, spacing". He is right: the dark
   green highlights block and the cream arrival box butt straight into the white
   head card there too. It is the same template, so it is one rule, not two. */

/* While here: the sticky sidebar sticks at `calc(68px + 24px)`, 68px being the
   Elementor header again — the same off-by-20 as the gallery band in §1, and
   already flagged as known-pre-existing in single-mphb_room_type.php's docblock.
   On a RIAT page the bar is 88px, so the booking card slid under it on scroll.
   Corrected here only; the main site keeps its own value. */
.sc-riat-chrome .sc-accom-sidebar { top: calc(var(--sc-header-h, 88px) + 24px) !important; }

/* ── 10. the boxes: one radius, not three ─────────────────────────────────
   Mark: "box borders look wrong". Measured on /accommodation/solstice-retreat-riat/:

       .sc-card.sc-accom-head    6px
       .sc-highlights           14px
       .sc-arrival-info         14px
       .sc-booking-card         16px
       .sc-amenity-icon          6px

   🔴 That mixture is mine. The first skin set `border-radius: 16px` on a list of
      panels, and it landed on .sc-booking-card but NOT on .sc-card — style.css
      sets `.sc-card { border-radius: var(--sc-radius-card,6px) !important }`,
      which my non-important rule could not beat. So half the boxes took the new
      radius and half kept the old one, which is exactly the "wrong" the eye
      picks up without being able to name it.

   🔑 The MAIN SITE is uniformly 6px — measured, not assumed. The fault is not
      that 16px is wrong, it is that three values are in play. One value, 14px,
      applied with enough weight to actually win. */
.sc-riat-chrome .sc-card,
.sc-riat-chrome .sc-accom-head,
.sc-riat-chrome .sc-extras-card,
.sc-riat-chrome .sc-360-card,
.sc-riat-chrome .sc-awards,
.sc-riat-chrome .sc-quick-facts,
.sc-riat-chrome .sc-booking-card,
.sc-riat-chrome .sc-highlights,
.sc-riat-chrome .sc-arrival-info,
.sc-riat-chrome .mphb-room-type { border-radius: 14px !important; }

/* the head is the card's top edge, so its radius is the card's minus the border */
.sc-riat-chrome .sc-booking-card-head { border-radius: 13px 13px 0 0 !important; }
.sc-riat-chrome .sc-pod-card { border-radius: 12px !important; }
.sc-riat-chrome .sc-amenity-icon { border-radius: 10px !important; }

/* ── 11. the icon chips were the same colour as the band behind them ──────
   Mark: "BG on the info icon section is wrong". Measured: .sc-amenities-grid
   and .sc-amenity-icon were BOTH rgb(46,21,102) — identical — so the chips had
   no presence of their own and only their 1px border showed.

   🔴 Both of those are mine. On the main site .sc-amenities-grid is
      `rgba(0,0,0,0)` — it has no background at all, and the chips are a pale
      tint on the white card. The first skin painted the grid violet, which put
      a second slab inside an already-violet card AND removed the contrast the
      chips depended on.

   So: give the grid its transparency back and let the card show through, and
   drop the chips to --ink so they read as chips again. */
.sc-riat-chrome .sc-amenities-grid { background: transparent !important; }
.sc-riat-chrome .sc-amenity-icon { background: var(--ink) !important; }

/* The 360° tour's "Interactive" badge — cream chip with a green icon. It only
   exists on the types that have a virtual tour, which is why it survived the
   first two sweeps: Moon Pod has none, Shepherd's Hut does. 🔑 Audit more than
   one page per template; "the product page" is not a single thing. */
.sc-riat-chrome .sc-360-badge {
    background: var(--violet) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--gold) !important;
}
.sc-riat-chrome .sc-360-badge svg,
.sc-riat-chrome .sc-360-title svg { color: var(--gold) !important; }

/* ── 12. the booking form ran into the card edge ──────────────────────────
   Mark: "button and inputs to close to teh edge". Measured: every control in
   the card — both date inputs, both guest selects, their labels and the
   CHECK AVAILABILITY button — sits 1px from the card edge, i.e. flush against
   the border.

   🔑 It is flush on the MAIN SITE too, and right there. White inputs on a white
      card with a hairline border do not read as touching; dark inputs inside a
      violet card with a visible edge absolutely do. Same geometry, different
      palette, different result — so this is scoped to RIAT rather than
      "corrected" on a page Mark has already signed off.

   The head, the quick-reference block and the trust strip stay full-bleed:
   they are bands, and they are meant to meet the edge. */
/* 🔴 TOP PADDING TOO. The first version of this rule was `0 20px 20px` — the
   sides and the bottom but not the top — so the CHECK-IN DATE label came to rest
   directly against the bottom edge of the violet head band above it. Mark:
   "The checkin input title is too close to the section above". The head is a
   band with its own 18px/20px, and the form needs its own room below it rather
   than borrowing the band's. */
/* 🔑 MOVED TO style.css 2026-11-19 — the booking form is flush to the card edge
   on the main site too (measured: every control 1px from the border), so it is
   one rule for the one template rather than a RIAT-only override. */

/* ── 13. the breadcrumb was flush top and bottom ──────────────────────────
   Mark: "spacing below the breadcrumbs". Measured: the gallery band ends at
   y614, the breadcrumb runs 614–643, and .sc-accom-layout starts at 643 — zero
   either side. `padding: 10px 32px 0` gives it no room to breathe at all. */
/* 🔑 MOVED TO style.css 2026-11-19 — the breadcrumb is flush on the main site
   too (gallery ends y570, trail 570–598, content starts 598). Same template, same
   0px, so one rule rather than a RIAT-only override. */

/* ── 8. the footer was the only band left out of the palette ───────────────
   site-chrome.css:238 paints .sc-ftr #111111. The mini-site got its own header
   on 18-Nov but kept the main site's footer, so every RIAT page ended on a slab
   of neutral grey directly under the violet — the last thing answering Mark's
   "not in keeping with the rest of the purple".

   Only the SURFACE changes. The footer's own type scale, columns and its three
   real WP menus are untouched: this is the same footer, in the right colour.
   Its text is already rgba(255,255,255,.6/.45) and ink is darker than #111, so
   nothing loses contrast — verified by the sweep, not assumed. */
.sc-riat-chrome .sc-ftr {
    background: var(--ink);
    border-top: 1px solid var(--card-edge);
}
.sc-riat-chrome .sc-ftr a:hover { color: var(--gold); }


/* ═══════════════════════════════════════════════════════════════════════════
   THE DATE PICKER
   ───────────────────────────────────────────────────────────────────────────
   Mark, 2026-11-19: "This needs lokking at, better calendar styling to match
   the skin and the spacing needs looking at."

   The popup is kbwood's jquery.datepick, shipped by MPHB, and the theme has
   never styled it — eight rules in style.css touch the availability colours and
   nothing else. So it renders in the library's own defaults: a white panel, a
   BLACK nav bar, #444 month headers, #777 day-name cells and a dark red
   Clear/Done footer. On the main site that is merely plain. Dropped into the
   violet skin it is the loudest thing on the page.

   🔴 THE POPUP IS A DIRECT CHILD OF <body>, NOT OF THE FORM. jquery.datepick
      appends it there, so no selector scoped to the form or to .sc-riat can ever
      reach it. These rules hang off .sc-riat-chrome, which sc_riat_body_class()
      puts on <body> — verified in the rendered markup, not assumed, because if
      it were not there every rule below would silently do nothing.

   🔑 Colours only — no geometry beyond the radius and the cell padding. The
      calendar's layout is the library's and works; it is the palette that was
      wrong.
   ═══════════════════════════════════════════════════════════════════════════ */

.sc-riat-chrome .datepick-popup .datepick {
    background: var(--card);
    border: 1px solid var(--card-edge);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
    font-family: var(--body, inherit);
    color: var(--paper);
}

/* the Prev / Today / Next bar — was solid black */
.sc-riat-chrome .datepick-popup .datepick-nav,
.sc-riat-chrome .datepick-popup .datepick-ctrl {
    background: var(--violet);
    border: 0;
}

.sc-riat-chrome .datepick-popup .datepick-cmd {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.sc-riat-chrome .datepick-popup .datepick-cmd:hover {
    color: var(--gold);
}

/* 🔴 A DISABLED COMMAND MUST NOT LOOK LIVE. "Prev" is disabled on the current
   month, and .sc-riat-chrome a { color: var(--gold) } was painting it gold —
   the same colour as the live Next beside it. */
.sc-riat-chrome .datepick-popup .datepick-cmd.datepick-disabled,
.sc-riat-chrome .datepick-popup .datepick-disabled {
    color: rgba(195, 178, 232, .38) !important;
    cursor: default;
}

/* month title and the month / year selects — were #444 */
.sc-riat-chrome .datepick-popup .datepick-month-header,
.sc-riat-chrome .datepick-popup .datepick-month-year {
    background: var(--violet);
    color: var(--paper);
    font-weight: 700;
}

.sc-riat-chrome .datepick-popup .datepick-month-header select {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--card-edge);
    border-radius: 6px;
    padding: 2px 6px;
}

.sc-riat-chrome .datepick-popup .datepick-month {
    border-color: var(--card-edge);
}

/* day-name row — was #777 */
.sc-riat-chrome .datepick-popup .datepick-month th {
    background: transparent;
    border-color: var(--card-edge);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sc-riat-chrome .datepick-popup .datepick-month td {
    background: transparent;
    border-color: var(--card-edge);
}

/* 🔴 THE DATE LINK CARRIES ITS OWN BACKGROUND, AND IT IS floralwhite.
   kbwood's stylesheet paints `td a { background: #fffaf0 }`. Recolouring the
   text to var(--paper) without touching that gave **white on #FFFAF0 — 1.04:1**,
   i.e. a calendar of blank chips. It looked like a rendering fault rather than a
   contrast one, which is exactly why it has to be measured: the first version of
   this block set the colour and not the background, and the screenshot showed
   pale rectangles that could have been anything. */
.sc-riat-chrome .datepick-popup .datepick-month td a,
.sc-riat-chrome .datepick-popup .datepick-month td span {
    background: var(--violet);
    color: var(--paper);
    padding: 6px 4px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.sc-riat-chrome .datepick-popup .datepick-month td a:hover {
    background: var(--violet-lo);
    border-color: var(--gold);
    color: var(--paper);
}

/* today, selected, and the hover range */
.sc-riat-chrome .datepick-popup .datepick-today a,
.sc-riat-chrome .datepick-popup .datepick-highlight a {
    background: var(--violet-lo);
    color: var(--paper);
}

.sc-riat-chrome .datepick-popup .datepick-selected a,
.sc-riat-chrome .datepick-popup td.mphb-selected-date a {
    background: var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 800;
}

/* 🔑 MPHB's own availability states. style.css:522-535 paints these from
   --sc-calendar-avail / -booked / -closed, which are main-site greens and reds
   chosen against a WHITE calendar. Restated here against the violet one. */
.sc-riat-chrome .datepick-popup td.mphb-available-date,
.sc-riat-chrome .datepick-popup td.mphb-available-date a {
    background-color: var(--violet-lo) !important;
    color: var(--paper) !important;
}

.sc-riat-chrome .datepick-popup td.mphb-booked-date,
.sc-riat-chrome .datepick-popup td.mphb-booked-date a,
.sc-riat-chrome .datepick-popup td.mphb-unavailable-date,
.sc-riat-chrome .datepick-popup td.mphb-unavailable-date a {
    background-color: rgba(255, 138, 138, .13) !important;
    color: rgba(255, 190, 190, .75) !important;
    text-decoration: line-through;
}

/* A past or out-of-month day is a <span>, not an <a>: it has no chip, so it must
   not keep one, or the calendar reads as if those days were selectable. */
.sc-riat-chrome .datepick-popup td.mphb-past-date,
.sc-riat-chrome .datepick-popup td.mphb-past-date a,
.sc-riat-chrome .datepick-popup .datepick-month td span {
    background-color: transparent !important;
    border-color: transparent !important;
    color: rgba(195, 178, 232, .40) !important;
}

/* the Clear / Done footer — was dark red */
.sc-riat-chrome .datepick-popup .datepick-ctrl {
    border-top: 1px solid var(--card-edge);
}

.sc-riat-chrome .datepick-popup .datepick-ctrl .datepick-cmd-clear {
    color: var(--muted);
}

.sc-riat-chrome .datepick-popup .datepick-ctrl .datepick-cmd-close {
    color: var(--gold);
    font-weight: 700;
}

/* ── the date picker, pass 2: MATCH THE MAIN-SITE GEOMETRY ───────────────── */
/* Mark, 2026-11-20: "match the RIAT calendar spacing to the updated campsite
   calendar, keep the colours for RIAT, just update the styling."

   The main-site picker was rebuilt over seven passes today (style.css:10669+).
   This block ports that GEOMETRY — panel, month row, header height, cell shape,
   footer — to the violet skin. Every colour below is a RIAT token; not one green
   or main-site hex crosses over.

   Measured before porting, both skins, same viewport:

                      main site        RIAT (before)
       panel          552 x 415        435 x 314   (library's inline width)
       month row      flex, gap 10     block, HEIGHT 0   <- floats uncontained
       month          266, float none  216, float left
       header         46 / 46          25 / 23     <- 2px out of step
       day cell       34x34 round      29x33 rect, filled violet
       Done           gold pill        plain text

   🔴 THREE FAULTS THE MAIN SITE ALREADY FIXED WERE STILL LIVE HERE, because the
      first RIAT block was explicitly "colours only — no geometry":

      1. `.datepick-month-row` computes to **height 0**. The months are floated
         and nothing clears them, so the row contains nothing. It only looks
         right because the library wrote the panel's size inline.
      2. The two month headers are **25px and 23px**: datepick renders the first
         month's title as <select>s and the rest as plain text. The same 2px step
         the main site had at 47/40 — smaller only because nothing had styled the
         selects yet.
      3. The library wrote **`width: 435px` inline** on `.datepick`, computed at
         render from the ORIGINAL cell metrics. It measures once and never
         recomputes, so 34px cells (266px per month) do not fit its 216px month
         boxes and the second month wraps underneath. The panel has to be freed
         from that inline width — hence `width: auto !important`.

   🔑 BOOKABLE NIGHTS GO PLAIN HERE TOO. This is the information change the main
      site made in its pass 5, not a colour tweak: when every selectable night is
      a filled violet block, the fill says nothing. Unavailable nights stay
      marked, and the only solid colour left is the one the guest chose — gold.
      The palette is untouched; what changed is how much of it is spent. */

.sc-riat-chrome .datepick-popup .datepick {
    width: auto !important;              /* beats the library's inline width */
    max-width: calc(100vw - 24px);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .30);
}

/* the Prev / Today / Next bar — part of the panel, not a band across it */
.sc-riat-chrome .datepick-popup .datepick-nav {
    background: transparent;
    padding: 6px 6px 0;
    border: 0;
}

.sc-riat-chrome .datepick-popup .datepick-nav .datepick-cmd {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: 8px;
    padding: 6px 10px;
}

.sc-riat-chrome .datepick-popup .datepick-nav .datepick-cmd:hover {
    background: var(--violet-lo);
    color: var(--gold);
}

/* flex instead of the library's floats: it contains the months (that row was
   computing to 0 height), gives a real gutter, and drops the clearfix */
.sc-riat-chrome .datepick-popup .datepick-month-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sc-riat-chrome .datepick-popup .datepick-month {
    float: none !important;
    width: auto !important;
    border: 0;
}

.sc-riat-chrome .datepick-popup .datepick-month table {
    width: 100%;
    margin: 0;
}

/* 🔑 Fix the HEADER HEIGHT, not the select's padding, so the two month grids stay
   in step whatever control datepick puts inside. */
.sc-riat-chrome .datepick-popup .datepick-month-header,
.sc-riat-chrome .datepick-popup .datepick-month-year {
    background: transparent;
    color: var(--paper);
    font-family: var(--display, inherit);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -.01em;
}

.sc-riat-chrome .datepick-popup .datepick-month-header {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

/* the month / year selects — chevron drawn in GOLD, the skin's accent */
.sc-riat-chrome .datepick-popup .datepick-month-header select {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--violet);
    border: 1px solid var(--card-edge);
    border-radius: 8px;
    color: var(--paper);
    font-weight: 700;
    font-size: 14px;
    padding: 5px 24px 5px 10px;
    margin: 0 2px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23F9CF68' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
}

.sc-riat-chrome .datepick-popup .datepick-month-header select:hover {
    background-color: var(--violet-lo);
}

/* day names: quieter, wider, out of the way */
.sc-riat-chrome .datepick-popup .datepick-month th {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 4px 0 8px;
}

.sc-riat-chrome .datepick-popup .datepick-month td {
    background: transparent;
    border: 0;
    padding: 2px;
}

/* 🔑 jquery.datepick rules the day-name row off with `thead { border-bottom:
   1px solid #aaa }`. Neither skin had overridden it — on the white panel a grey
   hairline passes for a header rule, but on violet it is a stray mid-grey line
   belonging to no palette. Same 1px rule, skin colour. */
.sc-riat-chrome .datepick-popup .datepick-month thead {
    border-bottom-color: var(--card-edge);
}

/* round cells, no fill by default */
.sc-riat-chrome .datepick-popup .datepick-month td a,
.sc-riat-chrome .datepick-popup .datepick-month td span {
    background: transparent;
    color: var(--paper);
    border: 0;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0;
    margin: 0 auto;
    font-size: 13px;
    font-weight: 500;
    transition: background-color .12s ease, color .12s ease;
}

/* 🔴 BOOKABLE NIGHTS ARE PLAIN — overrides the violet fills in the block above,
   which carry !important, so these must too. */
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-check-in-date,
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-available-date,
.sc-riat-chrome .datepick-popup .datepick-month td a.datepick-weekend {
    background-color: transparent !important;
    color: var(--paper) !important;
}

.sc-riat-chrome .datepick-popup .datepick-month td a:hover {
    background-color: var(--violet-lo) !important;
    border: 0;
    color: var(--paper) !important;
}

/* today: a gold ring. It is a reference point, not a choice, so it must not look
   like the selection. */
.sc-riat-chrome .datepick-popup .datepick-month td a.datepick-today {
    background-color: transparent !important;
    color: var(--gold) !important;
    font-weight: 700;
    box-shadow: inset 0 0 0 1.5px var(--gold);
}

/* the range being dragged through */
.sc-riat-chrome .datepick-popup .datepick-month td a.datepick-highlight {
    background-color: var(--violet-lo) !important;
    color: var(--paper) !important;
    border-radius: 50%;
}

/* the one thing that gets solid colour */
.sc-riat-chrome .datepick-popup .datepick-month td a.datepick-selected,
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-selected-date {
    background-color: var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 800;
    box-shadow: none;
}

/* unavailable: marked, because THAT is the information worth carrying */
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-booked-date,
.sc-riat-chrome .datepick-popup .datepick-month td span.mphb-booked-date,
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-unavailable-date,
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-earlier-min-date,
.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-earlier-check-in-date {
    background-color: transparent !important;
    color: rgba(255, 190, 190, .60) !important;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.sc-riat-chrome .datepick-popup .datepick-month td a.mphb-past-date,
.sc-riat-chrome .datepick-popup .datepick-month td span.mphb-past-date,
.sc-riat-chrome .datepick-popup .datepick-month td a.datepick-other-month,
.sc-riat-chrome .datepick-popup .datepick-month td span.datepick-other-month,
.sc-riat-chrome .datepick-popup .datepick-month td span.mphb-extra-date {
    background-color: transparent !important;
    color: rgba(195, 178, 232, .38) !important;
    box-shadow: none;
}

/* footer: text on the left, a gold pill on the right */
.sc-riat-chrome .datepick-popup .datepick-ctrl {
    background: transparent;
    border-top: 1px solid var(--card-edge);
    padding: 8px 10px;
}

.sc-riat-chrome .datepick-popup .datepick-ctrl .datepick-cmd-clear {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.sc-riat-chrome .datepick-popup .datepick-ctrl .datepick-cmd-clear:hover {
    color: var(--paper);
    background: transparent;
}

.sc-riat-chrome .datepick-popup .datepick-ctrl .datepick-cmd-close {
    background: var(--gold);
    color: var(--ink);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 800;
}

.sc-riat-chrome .datepick-popup .datepick-ctrl .datepick-cmd-close:hover {
    background: var(--gold-deep);
    color: var(--ink);
}

/* 🔑 Two months side by side is ~560px, which does not fit a phone. Below this
   width the months stack and the cells shrink, so the popup stays inside the
   viewport instead of being clipped by it. */
@media (max-width: 640px) {
    .sc-riat-chrome .datepick-popup .datepick-month-row {
        flex-direction: column;
        gap: 4px;
    }
    .sc-riat-chrome .datepick-popup .datepick-month td a,
    .sc-riat-chrome .datepick-popup .datepick-month td span {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   THE CHECKOUT GROUP — pages 73 / 74 / 77 / 72
   ───────────────────────────────────────────────────────────────────────────
   Mark, 2026-11-19: "yes build the checkout group."

   Until now the RIAT skin stopped at the listing, so the funnel ran
   violet → violet → violet → GREEN CHECKOUT. The branding changed at the exact
   moment of payment — where a customer hesitates anyway, and where an abrupt
   change of identity reads as "wrong site". It is also the page that routes to
   Stripe account B, so it is the last one that should look unrelated to the
   page they started on.

   sc_is_riat_context() case 4 decides WHEN (booking id → room types in the
   request → the season dates, in that order). This decides what it looks like.

   🔴 SELECTORS ARE `body.sc-riat-chrome X`, NOT `.sc-riat-chrome X`.
      style.css styles this page as `.page-id-73 X { … !important }` — (0,2,0)
      with !important. A bare `.sc-riat-chrome X` is also (0,2,0), so it would
      win only on source order, and only for as long as riat.css keeps loading
      after style.css. Adding the `body` element takes it to (0,2,1), which wins
      on specificity and cannot be undone by a future enqueue change.

   🔑 Colour only. No geometry, no layout, no reordering — MPHB's checkout is the
      one place on this site where a styling mistake costs money rather than
      looking wrong, and the main-site version of this form is known to work.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── the page header band (was the site green gradient) ─────────────────── */
body.sc-riat-chrome .page-header {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-lo) 100%) !important;
    border-bottom: 1px solid var(--card-edge) !important;
}

body.sc-riat-chrome .page-header h1,
body.sc-riat-chrome .page-header .entry-title,
body.sc-riat-chrome h1.entry-title { color: var(--paper) !important; }

body.sc-riat-chrome .page-header p { color: var(--muted) !important; }

/* ── the white panels ───────────────────────────────────────────────────── */
body.sc-riat-chrome .mphb-checkout-section,
body.sc-riat-chrome .sc-checkout-bar,
body.sc-riat-chrome .mphb-login-form-wrap,
body.sc-riat-chrome .mphb_sc_checkout-success-reservation-message {
    background: var(--card) !important;
    border: 1px solid var(--card-edge) !important;
    box-shadow: none !important;
    color: var(--paper) !important;
}

/* ── section titles (were the site green) ───────────────────────────────── */
body.sc-riat-chrome .mphb-booking-details-title,
body.sc-riat-chrome .mphb-coupon-code-title,
body.sc-riat-chrome .mphb-customer-details-title,
body.sc-riat-chrome .mphb-checkout-section h2,
body.sc-riat-chrome .mphb-checkout-section h3,
body.sc-riat-chrome .mphb-checkout-section legend { color: var(--paper) !important; }

body.sc-riat-chrome .mphb-checkout-section p,
body.sc-riat-chrome .mphb-customer-details p { color: var(--muted) !important; }

/* ── the check-in / check-out tiles (were cream) ────────────────────────── */
body.sc-riat-chrome .mphb-booking-details .mphb-check-in-date,
body.sc-riat-chrome .mphb-booking-details .mphb-check-out-date {
    background: var(--violet) !important;
    border-color: var(--card-edge) !important;
}

/* ══ THE OUTCOME PAGES - confirmed (74), cancellation (72), reservation
      received (76) ═════════════════════════════════════════════════

   🔴 These render [mphb_booking_confirmation], NOT the checkout form, so none of
      the panel rules above reach them - .mphb-checkout-section is the checkout's
      class and nothing else carries it. Their cards stayed white and their text
      near-black: the campsite skin showing through on a violet page.

   🔑 Scoped to the classes rather than page ids, so all three outcome pages are
      covered at once - including 76, which until 2026-11-30 was not even in the
      funnel that grants .sc-riat-chrome.

   Colour only. The campsite block owns the geometry and is known to work. */

body.sc-riat-chrome .mphb-booking-confirmation-messages,
body.sc-riat-chrome .mphb-payment-messages,
body.sc-riat-chrome .mphb-booking-details-section {
    background: var(--card) !important;
    border: 1px solid var(--card-edge) !important;
    box-shadow: none !important;
}

/* the success tick is a GREEN disc with a GREEN check - site green on violet */
body.sc-riat-chrome .mphb-booking-confirmation-messages::before,
body.sc-riat-chrome .mphb-payment-messages::before {
    background-color: rgba(249, 207, 104, .12) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9CF68' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") !important;
}

body.sc-riat-chrome .mphb-booking-confirmation-messages p,
body.sc-riat-chrome .mphb-payment-messages p { color: var(--muted) !important; }

body.sc-riat-chrome .mphb-booking-confirmation-messages p:first-child,
body.sc-riat-chrome .mphb-payment-messages p:first-child { color: var(--gold) !important; }

/* 🔴 THE TILE, not just the text on it. The campsite block gives each <li>
   `background: var(--sc-bg-tint)` - a cream card (style.css:6469). The first pass here
   set --paper on the .value and left the tile alone, so every value went WHITE ON
   CREAM and the panel became unreadable. This is the same "recoloured one of the two
   layers" fault the notes above describe, taken from the other end. Matches the
   check-in / check-out tiles directly above. */
body.sc-riat-chrome ul.mphb-booking-details li {
    background: var(--violet) !important;
    border-color: var(--card-edge) !important;
}
body.sc-riat-chrome ul.mphb-booking-details li .label { color: var(--muted) !important; }
body.sc-riat-chrome ul.mphb-booking-details li .value { color: var(--paper) !important; }

/* ⚠️ Carries `ul.mphb-booking-details` for WEIGHT, not for scope. Without it this is
   (0,3,2) and the generic `.value` rule three lines up is (0,3,3) - my own two rules,
   and the generic one won, so the total rendered white instead of gold. */
body.sc-riat-chrome ul.mphb-booking-details li.booking-price .value,
body.sc-riat-chrome ul.mphb-booking-details li.booking-status .value,
body.sc-riat-chrome ul.mphb-booking-details li.payment-price .value,
body.sc-riat-chrome ul.mphb-booking-details li.payment-status .value { color: var(--gold) !important; }

body.sc-riat-chrome .accommodations { border-top-color: var(--card-edge) !important; }
body.sc-riat-chrome .accommodations-title { color: var(--paper) !important; }
body.sc-riat-chrome .accommodations a { color: var(--gold) !important; }

body.sc-riat-chrome .mphb-check-in-date strong,
body.sc-riat-chrome .mphb-check-out-date strong { color: var(--paper) !important; }

body.sc-riat-chrome .mphb-check-in-date span:first-child,
body.sc-riat-chrome .mphb-check-out-date span:first-child,
body.sc-riat-chrome .mphb-check-in-date time:not(:first-of-type),
body.sc-riat-chrome .mphb-check-out-date time:not(:first-of-type) { color: var(--muted) !important; }

/* ── form fields ────────────────────────────────────────────────────────── */
body.sc-riat-chrome .mphb_sc_checkout-form input[type="text"],
body.sc-riat-chrome .mphb_sc_checkout-form input[type="email"],
body.sc-riat-chrome .mphb_sc_checkout-form input[type="tel"],
body.sc-riat-chrome .mphb_sc_checkout-form input[type="number"],
body.sc-riat-chrome .mphb_sc_checkout-form select,
body.sc-riat-chrome .mphb_sc_checkout-form textarea,
body.sc-riat-chrome #mphb_coupon_code {
    background: var(--ink) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--paper) !important;
}

body.sc-riat-chrome .mphb_sc_checkout-form input:focus,
body.sc-riat-chrome .mphb_sc_checkout-form select:focus,
body.sc-riat-chrome .mphb_sc_checkout-form textarea:focus,
body.sc-riat-chrome #mphb_coupon_code:focus {
    border-color: var(--gold) !important;
    outline: none !important;
}

body.sc-riat-chrome .mphb_sc_checkout-form label,
body.sc-riat-chrome .mphb-adults-chooser label { color: var(--muted) !important; }

/* 🔴 A placeholder inherits nothing useful here — the field went from a white
   background to ink, and a #999 placeholder on #190A3E is unreadable. */
body.sc-riat-chrome .mphb_sc_checkout-form ::placeholder { color: rgba(195, 178, 232, .55) !important; }

/* ── the services list (cream rows + checkboxes) ────────────────────────── */
body.sc-riat-chrome ul.mphb_sc_checkout-services-list li,
body.sc-riat-chrome ul.mphb_checkout-services-list li,
body.sc-riat-chrome .mphb-checkbox-label {
    background: var(--violet) !important;
    border-color: var(--card-edge) !important;
    color: var(--paper) !important;
}

/* ── the Apply-coupon button (was the site green) ───────────────────────── */
body.sc-riat-chrome .mphb-apply-coupon-code-button {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
}

body.sc-riat-chrome .mphb-apply-coupon-code-button:hover {
    background: #FFDC8A !important;
    color: var(--ink) !important;
}

/* ── the price breakdown table ──────────────────────────────────────────── */
body.sc-riat-chrome .mphb-price-breakdown td,
body.sc-riat-chrome .mphb-price-breakdown th,
body.sc-riat-chrome table.mphb-price-breakdown tr td:last-child,
body.sc-riat-chrome table.mphb-price-breakdown tr th:last-child {
    background: transparent !important;
    border-color: var(--card-edge) !important;
    color: var(--paper) !important;
}

/* 🔴 The group-header band stopped halfway across the row. The reset above
   lists `table.mphb-price-breakdown tr td:last-child` (0,3,4), which out-specifies
   `tr:first-child td` (0,3,3) and painted the price cell transparent — so the tint
   ended where the £ column began. Tint by the row's REAL class
   (`mphb-price-breakdown-group`, booking-view.php:76) rather than :first-child, so a
   second accommodation gets a band too, and carry `tbody` to clear the reset outright
   instead of winning on source order. Background only — the colour rule below keeps
   its old (0,3,3) weight so the gold price cells are untouched. */
body.sc-riat-chrome table.mphb-price-breakdown tbody tr.mphb-price-breakdown-group td,
body.sc-riat-chrome table.mphb-price-breakdown tbody tr.mphb-price-breakdown-group th,
body.sc-riat-chrome table.mphb-price-breakdown tbody tr.mphb-price-breakdown-accommodation-total td,
body.sc-riat-chrome table.mphb-price-breakdown tbody tr.mphb-price-breakdown-accommodation-total th {
    background: var(--violet) !important;
}

body.sc-riat-chrome .mphb-price-breakdown tr.mphb-price-breakdown-group td,
body.sc-riat-chrome .mphb-price-breakdown tr.mphb-price-breakdown-group th,
body.sc-riat-chrome .mphb-price-breakdown-accommodation-total td {
    color: var(--paper) !important;
}

body.sc-riat-chrome .mphb-price-breakdown a { color: var(--gold) !important; }

body.sc-riat-chrome .mphb-price-breakdown-accommodation-total td:last-child,
body.sc-riat-chrome .mphb-price-breakdown tr:last-child td,
body.sc-riat-chrome .mphb-price-breakdown tr:last-child th { color: var(--gold) !important; }

/* ── errors ─────────────────────────────────────────────────────────────── */
/* 🔑 style.css paints these rgba(204,51,102,.08) on white with #cc3366 text —
   a pink tint that disappears on violet. Kept RED, because an error must not
   look like the rest of the page, just red that works on this background. */
body.sc-riat-chrome .mphb-errors-wrapper {
    background: rgba(255, 138, 138, .12) !important;
    border: 1px solid rgba(255, 138, 138, .45) !important;
}

body.sc-riat-chrome .mphb-errors-wrapper p { color: #FFBEBE !important; }

/* ...and the gateway's own slot, which had no styling in either sheet. */
body.sc-riat-chrome #mphb-stripe-errors:not(:empty) {
    background: rgba(255, 138, 138, .12) !important;
    border: 1px solid rgba(255, 138, 138, .45) !important;
    border-radius: 10px !important;
    color: #FFBEBE !important;
    padding: 12px 16px !important;
    margin: 12px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* ── the login prompt ───────────────────────────────────────────────────── */
body.sc-riat-chrome .mphb-login-form-wrap p,
body.sc-riat-chrome .page-content .mphb-login-form-wrap p { color: var(--muted) !important; }
body.sc-riat-chrome .mphb-login-form-wrap a { color: var(--gold) !important; }

/* ── the page wrappers themselves ───────────────────────────────────────── */
body.sc-riat-chrome .mphb_sc_checkout-wrapper,
body.sc-riat-chrome .site-main,
body.sc-riat-chrome .page-content { background: transparent !important; }


/* ── checkout, pass 2: the ones the first pass LOST ─────────────────────────
   Re-walking a real basket after pass 1 took the main-site-palette count from
   28 to 8. Every survivor lost on SPECIFICITY, not on being missed:

     style.css  .page-id-73 .mphb-services-details .mphb-checkbox-label   (0,3,0)
     pass 1     body.sc-riat-chrome .mphb-checkbox-label                  (0,2,1)

   🔑 Two classes plus an element does NOT beat three classes. The main site's
      checkout rules are nested two and three deep, so an override has to be
      nested to the same depth — `body.sc-riat-chrome` is not a universal trump
      card, it is just one more class. !important on both sides cancels out and
      leaves plain specificity to decide.

   Found by measuring the page again rather than assuming pass 1 had worked. */

/* the service rows — (0,3,1) against style.css's (0,3,0) */
body.sc-riat-chrome .mphb-services-details .mphb-checkbox-label {
    background: var(--violet) !important;
    border-color: var(--card-edge) !important;
    color: var(--paper) !important;
}

body.sc-riat-chrome .mphb-services-details .mphb-checkbox-label:hover {
    border-color: var(--gold) !important;
    box-shadow: none !important;
}

body.sc-riat-chrome .mphb-services-details .mphb-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--gold) !important;
    background: var(--violet-lo) !important;
}

body.sc-riat-chrome .mphb-services-details .mphb-checkbox-label em { color: var(--gold) !important; }

/* 🔑 accent-color rather than restyling the box: a native checkbox stays a
   native checkbox for keyboard and assistive tech, it just stops being blue. */
body.sc-riat-chrome .mphb_sc_checkout-form input[type="checkbox"],
body.sc-riat-chrome .mphb_sc_checkout-form input[type="radio"] { accent-color: var(--gold); }

/* section sub-titles that are still the site green */
body.sc-riat-chrome .mphb-services-details-title,
body.sc-riat-chrome .mphb-price-breakdown-title,
body.sc-riat-chrome .mphb-gateway-chooser-title,
body.sc-riat-chrome .mphb-room-number { color: var(--paper) !important; }

/* 🔴 THE DATE TILES WERE DARK GREY ON VIOLET. Pass 1 recoloured the tile and the
   <strong> inside it, but .sc-date-text and .sc-date-icon are their own
   unscoped rules (style.css:5593, :5625) carrying #333 and a green tint — the
   same shape as every other "recoloured the panel, not the thing on it" fault
   in this skin. */
body.sc-riat-chrome .sc-date-text,
body.sc-riat-chrome .mphb-check-in-date,
body.sc-riat-chrome .mphb-check-out-date { color: var(--paper) !important; }

body.sc-riat-chrome .sc-date-icon {
    background: rgba(249, 207, 104, .12) !important;
    color: var(--gold) !important;
}

/* the expandable row in the price breakdown */
body.sc-riat-chrome .mphb-price-breakdown-accommodation,
body.sc-riat-chrome .mphb-price-breakdown-expand {
    background: var(--violet) !important;
    color: var(--gold) !important;
}

/* the total-price bar */
body.sc-riat-chrome .mphb-total-price {
    background: var(--card) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--paper) !important;
}

body.sc-riat-chrome .mphb-total-price .mphb-total-price-field,
body.sc-riat-chrome .mphb-total-price output,
body.sc-riat-chrome .mphb-total-price .mphb-price { color: var(--gold) !important; }

/* 🔴 THE SUBMIT BUTTON. style.css gives it the main-site amber #E8A020 with white
   text — 2.22:1, and the wrong amber for this page. It is the single most
   important control in the funnel, so it gets the RIAT gold and ink text, which
   is both on-palette and legible. */
body.sc-riat-chrome .mphb_sc_checkout-form input[type="submit"],
body.sc-riat-chrome .mphb_sc_checkout-submit-wrapper input.button,
body.sc-riat-chrome .mphb_sc_checkout-form button[type="submit"] {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 800 !important;
}

body.sc-riat-chrome .mphb_sc_checkout-form input[type="submit"]:hover,
body.sc-riat-chrome .mphb_sc_checkout-submit-wrapper input.button:hover,
body.sc-riat-chrome .mphb_sc_checkout-form button[type="submit"]:hover {
    background: #FFDC8A !important;
    color: var(--ink) !important;
}

/* 🟡 The Stripe card field is an IFRAME on stripe.com — its inside cannot be
   styled from here at all. MPHB passes a style object to Stripe Elements; if the
   card field ends up unreadable on violet that is a PHP-side change to MPHB's
   Stripe args, not CSS. Noted rather than silently left. */
body.sc-riat-chrome .mphb-stripe-element {
    background: var(--ink) !important;
    border: 1px solid var(--card-edge) !important;
    border-radius: 8px;
    padding: 12px 14px;
}


/* ── checkout, pass 3: the two groups the contrast sweep caught ────────────
   Measured on a real basket, not guessed at:

     span.sc-bar-item   #575757 on #351C74 = 1.85:1   "July 12, 2027"
     span (date)        #225322 on #2E1566 = 1.65:1   "July 12, 2027"
     span (time note)   #888888 on #2E1566 = 4.19:1   "from 11:00 am"

   🔑 The first was simply never targeted — I skinned .sc-checkout-bar's panel
      and not the pills inside it. The second is the same shape as every other
      miss in this skin: the TILE was recoloured and the text on it was not, so
      the site green ended up on violet. Recolouring a container is half a job
      until the thing sitting on it has been measured. */

body.sc-riat-chrome .sc-bar-item {
    color: var(--paper) !important;
    border-color: var(--card-edge) !important;
}

body.sc-riat-chrome .sc-bar-item svg { color: var(--gold) !important; }

/* Everything inside the date tiles reads as paper… */
body.sc-riat-chrome .mphb-check-in-date,
body.sc-riat-chrome .mphb-check-out-date,
body.sc-riat-chrome .mphb-check-in-date *,
body.sc-riat-chrome .mphb-check-out-date * { color: var(--paper) !important; }

/* …except the CHECK-IN label and the "from 11:00 am" note, which stay
   secondary. --muted (#C3B2E8) rather than the #888 they had: 4.19:1 was under
   AA even before the background changed. */
body.sc-riat-chrome .mphb-check-in-date span:first-child,
body.sc-riat-chrome .mphb-check-out-date span:first-child,
body.sc-riat-chrome .mphb-check-in-date time:not(:first-of-type),
body.sc-riat-chrome .mphb-check-out-date time:not(:first-of-type) { color: var(--muted) !important; }

/* the icon keeps the gold — declared AFTER the blanket rule above, which is the
   same specificity, so order is what decides it */
body.sc-riat-chrome .sc-date-icon { color: var(--gold) !important; }

/* ============================================================================
   COOKIE CONSENT — RIAT skin
   ============================================================================
   CookieYes renders one banner site-wide from its own stored template, which is
   branded in campsite green. The RIAT surfaces are violet and gold, so the green
   banner looked like another site's furniture sitting on the page.

   🔴 Scoped to body.sc-riat-chrome, and it lives in riat.css — which is enqueued
   ONLY on RIAT surfaces (sc_enqueue_riat_assets, functions.php:4784). Nothing
   here can reach the campsite pages. CLAUDE.md rule 4.

   🔑 This works because the design tokens are declared on `.sc-riat, .sc-riat-chrome`
   and .sc-riat-chrome is the BODY class — the banner is injected at the end of
   <body>, OUTSIDE .sc-riat, so tokens declared on .sc-riat alone would not reach it.

   !important throughout: CookieYes prints its template CSS inline, so it can land
   after this file and win on equal specificity. The rest of this stylesheet takes
   the same approach. */

/* --- the bar ------------------------------------------------------------- */
body.sc-riat-chrome .cky-consent-container .cky-consent-bar {
    background: var(--card) !important;
    border: 1px solid var(--card-edge) !important;
    box-shadow: 0 -2px 18px rgba(25, 10, 62, .45) !important;
}
body.sc-riat-chrome .cky-notice .cky-title { color: var(--paper) !important; }
body.sc-riat-chrome .cky-notice-des,
body.sc-riat-chrome .cky-notice-des *,
body.sc-riat-chrome .cky-notice-group { color: var(--muted) !important; }
body.sc-riat-chrome .cky-notice-des a.cky-policy {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}

/* --- buttons: gold primary, gold outline for the rest -------------------- */
body.sc-riat-chrome .cky-btn-accept {
    background: var(--gold) !important;
    border: 2px solid var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 700 !important;
}
body.sc-riat-chrome .cky-btn-accept:hover {
    background: var(--gold-deep) !important;
    border-color: var(--gold-deep) !important;
}
body.sc-riat-chrome .cky-btn-reject,
body.sc-riat-chrome .cky-btn-customize,
body.sc-riat-chrome .cky-btn-preferences {
    background: transparent !important;
    border: 2px solid var(--gold) !important;
    color: var(--gold) !important;
}
body.sc-riat-chrome .cky-btn-reject:hover,
body.sc-riat-chrome .cky-btn-customize:hover,
body.sc-riat-chrome .cky-btn-preferences:hover {
    background: rgba(249, 207, 104, .12) !important;
}

/* --- preference centre --------------------------------------------------- */
body.sc-riat-chrome .cky-modal { background: var(--violet) !important; }
body.sc-riat-chrome .cky-preference-title,
body.sc-riat-chrome .cky-accordion-header .cky-accordion-btn,
body.sc-riat-chrome .cky-preference-header .cky-btn-close span { color: var(--paper) !important; }
body.sc-riat-chrome .cky-preference-content-wrapper,
body.sc-riat-chrome .cky-accordion-header-des,
body.sc-riat-chrome .cky-gpc-wrapper .cky-gpc-desc { color: var(--muted) !important; }
body.sc-riat-chrome .cky-preference-content-wrapper .cky-show-desc-btn,
body.sc-riat-chrome .cky-show-desc-btn:not(:hover):not(:active) { color: var(--gold) !important; }
body.sc-riat-chrome .cky-accordion { border-bottom-color: var(--card-edge) !important; }
body.sc-riat-chrome .cky-audit-table {
    background: var(--ink) !important;
    color: var(--muted) !important;
}
body.sc-riat-chrome .cky-footer-shadow {
    background: linear-gradient(180deg, rgba(46, 21, 102, 0) 0%, var(--violet) 100%) !important;
}
body.sc-riat-chrome .cky-accordion-header .cky-always-active { color: var(--gold) !important; }
body.sc-riat-chrome .cky-switch input[type="checkbox"]:checked { background: var(--gold) !important; }

/* --- the little revisit tab --------------------------------------------- */
body.sc-riat-chrome .cky-btn-revisit-wrapper { background: var(--gold) !important; }
body.sc-riat-chrome .cky-btn-revisit-wrapper .cky-btn-revisit img { filter: brightness(0) saturate(100%) !important; }

/* ============================================================================
   SEARCH RESULTS — RIAT skin, the bits the original pass missed
   ============================================================================
   sc_is_riat_context() turns the whole search-results page violet whenever the
   check-in date falls inside the RIAT season, but four surfaces kept their
   campsite styling and looked broken sitting on it. Reported by Mark 2026-11-30
   on /search-results/?mphb_check_in_date=2027-07-12…

   🔴 The worst was .sc-search-controls: its CHILDREN were already skinned (white
   text, --card-edge borders) but the container itself stayed #fff, so the whole
   bar rendered white-on-white — a blank 2560x60 strip between two violet bands.
   Skinning children without their container is the fault to watch for here.

   Scoped to body.sc-riat-chrome, in riat.css, which is enqueued only on RIAT
   surfaces. Nothing here can reach the campsite pages. CLAUDE.md rule 4. */

/* --- the controls bar: the white strip ---------------------------------- */
body.sc-riat-chrome .sc-search-controls {
    background: var(--violet) !important;
    border-top: 1px solid var(--card-edge) !important;
    border-bottom: 1px solid var(--card-edge) !important;
}

/* 🔴 ...and the SAME FAULT one container further out. The combined
   .sc-search-controls row is only built when there is more than one category to
   filter by. A search that returns a single category - "12 Jul → 13 Jul" returns
   Camping alone - gets the booking bar on its own, parented straight to <body>,
   still carrying `background: #fff` from style.css:7056. The pills inside it are
   already RIAT lilac, so the whole strip rendered as empty outlines on white.

   🔑 Scoped as a DIRECT CHILD of body, which is exactly and only the standalone
   case. A descendant selector would also hit the copies nested inside
   .sc-search-controls, where style.css:7719 deliberately strips the panel - and
   would out-specify it, painting a violet box inside the violet bar with doubled
   borders. */
body.sc-riat-chrome > .sc-search-booking-bar,
body.sc-riat-chrome > .sc-search-filter-bar {
    background: var(--violet) !important;
    border-top: 1px solid var(--card-edge) !important;
    border-bottom: 1px solid var(--card-edge) !important;
    box-shadow: none !important;
}
body.sc-riat-chrome .sc-bar-item,
body.sc-riat-chrome .sc-bar-link { color: var(--paper) !important; }
body.sc-riat-chrome .sc-bar-link:hover { border-color: var(--gold) !important; color: var(--gold) !important; }
body.sc-riat-chrome .sc-bar-arrow,
body.sc-riat-chrome .sc-bar-nights { color: var(--muted) !important; }

/* --- category filter pills: were campsite green ------------------------- */
body.sc-riat-chrome .sc-filter-tab {
    background: transparent !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--muted) !important;
}
body.sc-riat-chrome .sc-filter-tab:hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}
body.sc-riat-chrome .sc-filter-tab.active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 700 !important;
}
body.sc-riat-chrome .sc-filter-tab .sc-filter-count {
    background: rgba(25, 10, 62, .25) !important;
    color: inherit !important;
}
body.sc-riat-chrome .sc-filter-count-label { color: var(--muted) !important; }

/* --- the capacity chip inside each card: was pale campsite green -------- */
body.sc-riat-chrome .sc-card-capacity {
    background: rgba(255, 255, 255, .06) !important;
    color: var(--muted) !important;
    border: 1px solid var(--card-edge) !important;
}
body.sc-riat-chrome .sc-cap-item { color: var(--muted) !important; }

/* --- sticky reservation bar: was campsite green ------------------------- */
body.sc-riat-chrome .sc-sticky-cart {
    background: var(--card) !important;
    border-top: 1px solid var(--card-edge) !important;
}
body.sc-riat-chrome .sc-sticky-cart-count,
body.sc-riat-chrome .sc-sticky-cart-total { color: var(--paper) !important; }
body.sc-riat-chrome .sc-sticky-cart-btn {
    background: var(--gold) !important;
    color: var(--ink) !important;
    border: 2px solid var(--gold) !important;
    font-weight: 700 !important;
}
body.sc-riat-chrome .sc-sticky-cart-btn:hover {
    background: var(--gold-deep) !important;
    border-color: var(--gold-deep) !important;
}

/* --- second pass: everything the enumeration turned up ------------------
   Found by listing EVERY element on the page computing to a campsite green
   (#225322 / #3d6b2e / #5a8f44 / #f3f8f3) rather than guessing class names.
   That is the only reliable way to do this — four separate guesses at class
   and option names went wrong earlier today. */

/* section group headings + their icon tiles */
body.sc-riat-chrome .sc-group-title { color: var(--gold) !important; }
body.sc-riat-chrome .sc-group-icon,
body.sc-riat-chrome .sc-group-emoji {
    background: rgba(249, 207, 104, .15) !important;
    border: 1px solid var(--card-edge) !important;
}
body.sc-riat-chrome .sc-group-desc { color: var(--muted) !important; }

/* card titles and the category badge on the image */
body.sc-riat-chrome .mphb-room-type-title,
body.sc-riat-chrome .mphb-room-type-title a { color: var(--paper) !important; }
body.sc-riat-chrome .sc-card-cat-badge {
    background: var(--gold) !important;
    color: var(--ink) !important;
}

/* BOOK / DETAILS buttons */
body.sc-riat-chrome .mphb-book-button,
body.sc-riat-chrome button.mphb-button {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 700 !important;
}
body.sc-riat-chrome .mphb-book-button:hover,
body.sc-riat-chrome button.mphb-button:hover {
    background: var(--gold-deep) !important;
    border-color: var(--gold-deep) !important;
}
body.sc-riat-chrome .sc-details-btn {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}
body.sc-riat-chrome .sc-details-btn:hover { background: rgba(249,207,104,.12) !important; }

/* "Change your dates" — was #575757 grey, unreadable on violet */
body.sc-riat-chrome .sc-search-form-title { color: var(--gold) !important; }

/* mobile filter dropdown */
body.sc-riat-chrome .sc-filter-select {
    background: var(--violet) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--paper) !important;
}

/* MPHB "you might also like" recommendations */
body.sc-riat-chrome .mphb-recommendation-title { color: var(--gold) !important; }
body.sc-riat-chrome .mphb-recommendation-item-link { color: var(--gold) !important; }
body.sc-riat-chrome .mphb-recommendation-total { color: var(--paper) !important; }
body.sc-riat-chrome .mphb-recommendation-item { border-color: var(--card-edge) !important; }

/* inline SVG icons inherit the green via currentColor / stroke */
body.sc-riat-chrome .sc-cap-item svg,
body.sc-riat-chrome .sc-group-icon svg,
body.sc-riat-chrome .sc-card-capacity svg { color: var(--muted) !important; stroke: currentColor !important; }
body.sc-riat-chrome .sc-date-icon svg { color: var(--gold) !important; }

/* --- third pass: SPECIFICITY, not the colour, was the problem -----------
   🔴 These three kept their campsite green even with !important, because the
   theme targets them with THREE classes:

       .button.mphb-button.mphb-book-button        (0,3,0)
       body.sc-riat-chrome .mphb-book-button       (0,2,1)   <- mine, LOSES

   Two !important declarations are resolved by specificity, and (0,3,0) beats
   (0,2,1). Matching their full chain and keeping the body scope wins cleanly
   without resorting to anything uglier. */
body.sc-riat-chrome .button.mphb-button.mphb-book-button {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important;
}
body.sc-riat-chrome .button.mphb-button.mphb-book-button:hover {
    background: var(--gold-deep) !important;
    border-color: var(--gold-deep) !important;
}
body.sc-riat-chrome h2.mphb-room-type-title.entry-title,
body.sc-riat-chrome h2.mphb-room-type-title.entry-title a { color: var(--paper) !important; }
body.sc-riat-chrome span.mphb-price,
body.sc-riat-chrome .mphb-price .mphb-currency { color: var(--gold) !important; }

/* the MPHB "regular price" span sits inside p.mphb-regular-price inside the
   card footer; that chain outranked the plain span rule above */
body.sc-riat-chrome .sc-card-footer p.mphb-regular-price span.mphb-price,
body.sc-riat-chrome p.mphb-regular-price span.mphb-price,
body.sc-riat-chrome p.mphb-regular-price span.mphb-price .mphb-currency,
body.sc-riat-chrome p.mphb-regular-price { color: var(--gold) !important; }

/* ============================================================================
   SEARCH RESULTS — match the /riat/ landing page type scale
   ============================================================================
   Colour was only half the job. /riat/ is Montserrat throughout at heavy
   weights (h2 44/900, copy 14/700, price 36/900, buttons 13/800 r10px) while
   the search page inherited the campsite's Inter + Lato at light weights.
   Three fonts on one page is what made them read as different sites.

   Measured off /riat/ rather than guessed: see the comparison in the worklog. */

body.sc-riat-chrome .sc-group-title {
    font-family: var(--display) !important;
    font-size: clamp(26px, 3vw, 34px) !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}
body.sc-riat-chrome .sc-group-desc,
body.sc-riat-chrome .sc-room-excerpt,
body.sc-riat-chrome .mphb-room-type p {
    font-family: var(--display) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
}
body.sc-riat-chrome .mphb-room-type-title,
body.sc-riat-chrome h2.mphb-room-type-title.entry-title {
    font-family: var(--display) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}
body.sc-riat-chrome .sc-card-price-amount,
body.sc-riat-chrome p.mphb-regular-price span.mphb-price {
    font-family: var(--display) !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    color: var(--gold) !important;
}
body.sc-riat-chrome .sc-card-price-from,
body.sc-riat-chrome .sc-card-price-note {
    font-family: var(--display) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
}
body.sc-riat-chrome .button.mphb-button.mphb-book-button,
body.sc-riat-chrome .sc-details-btn,
body.sc-riat-chrome .sc-sticky-cart-btn,
body.sc-riat-chrome .sc-filter-tab {
    font-family: var(--display) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    border-radius: 10px !important;
}
body.sc-riat-chrome .sc-filter-tab { border-radius: 50px !important; }   /* pills stay pills */
body.sc-riat-chrome .sc-search-form-title {
    font-family: var(--display) !important;
    font-size: clamp(22px, 2.4vw, 30px) !important;
    font-weight: 900 !important;
}
body.sc-riat-chrome .sc-card-capacity,
body.sc-riat-chrome .sc-cap-item {
    font-family: var(--display) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* the hero and the last chrome fragments — these were still Lato / Inter.
   "Available Accommodations" was Lato 44/700; /riat/'s h2 is Montserrat 44/900,
   which is why the two pages read as different sites even once colour matched. */
body.sc-riat-chrome .sc-search-hero h2,
body.sc-riat-chrome .sc-search-hero-title,
body.sc-riat-chrome .sc-np-inner > h2 {
    font-family: var(--display) !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    color: var(--paper) !important;
}
body.sc-riat-chrome .sc-search-hero-eyebrow {
    font-family: var(--display) !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
}
body.sc-riat-chrome .sc-search-hero-subtitle {
    font-family: var(--display) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
}
body.sc-riat-chrome .sc-filter-count,
body.sc-riat-chrome .sc-bar-item,
body.sc-riat-chrome .sc-bar-item span,
body.sc-riat-chrome .sc-card-cat-badge {
    font-family: var(--display) !important;
    font-weight: 700 !important;
}
body.sc-riat-chrome .sc-card-cat-badge {
    font-weight: 800 !important;
    letter-spacing: .06em !important;
}

/* --- the section divider ------------------------------------------------
   .sc-group-header carried border-bottom: 0.667px #e0e9e0 — a pale campsite
   green-grey that read as a hard scratch across the violet. Replaced with a
   gradient hairline that fades out, rather than a rule stopping dead.
   🔑 My colour sweep missed this twice: #e0e9e0 was not in the green list,
   and 0.667px fell under the >=1px border filter. Sub-pixel borders and
   off-palette near-neutrals both need including in that kind of audit. */
body.sc-riat-chrome .sc-group-header {
    border-bottom: 0 !important;
    position: relative !important;
    padding-bottom: 18px !important;
}
body.sc-riat-chrome .sc-group-header::after {
    content: "" !important;
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    height: 1px !important;
    background: linear-gradient(90deg,
        rgba(249, 207, 104, .55) 0%,
        var(--card-edge) 22%,
        rgba(76, 45, 146, 0) 85%) !important;
}

/* card body copy was still #888 — the earlier rule lost on specificity */
body.sc-riat-chrome .mphb-room-type > p,
body.sc-riat-chrome div.mphb-room-type p {
    color: var(--muted) !important;
    font-family: var(--display) !important;
    font-weight: 600 !important;
}

/* --- card rhythm: make every card's blocks line up ----------------------
   Titles wrap to 1 or 2 lines and descriptions to 2 or 3, so the capacity row
   and the price footer sat at a different height on every card. Fixing only
   the capacity row would have moved the problem down, not solved it: reserve
   space for the longest title and description, then push the footer to the
   bottom so the three cards agree regardless of copy length. */
body.sc-riat-chrome .sc-group-grid .mphb-room-type {
    display: flex !important;
    flex-direction: column !important;
}
body.sc-riat-chrome .sc-group-grid .mphb-room-type-title {
    min-height: 2.5em !important;      /* 2 lines at the 900-weight size */
    line-height: 1.25 !important;
    margin-bottom: .35em !important;
}
body.sc-riat-chrome .sc-group-grid .mphb-room-type > p {
    min-height: 4.65em !important;     /* 3 lines at 14px / 1.55 */
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
}
body.sc-riat-chrome .sc-group-grid .sc-card-capacity {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: auto !important;       /* sits directly above the footer */
}
body.sc-riat-chrome .sc-group-grid .sc-card-footer {
    margin-top: 0 !important;
    border-top: 1px solid var(--card-edge) !important;
}

/* --- card copy: legibility + where the slack sits -----------------------
   Two corrections to the block above:

   1. min-height on the TITLE reserved a second line that one-line titles do
      not use, so the empty space landed between title and description —
      a gap ABOVE the text. Mark wants the slack below. Title now sizes to its
      content; the description keeps the min-height, so short copy reserves
      its space underneath, and the capacity row still bottom-aligns.

   2. --muted (#C3B2E8) at weight 600 was too washed out on --card (#351C74).
      Brighter and lighter reads far better at 14px on that background. */
body.sc-riat-chrome .sc-group-grid .mphb-room-type-title {
    min-height: 0 !important;
    margin-bottom: .5em !important;
}
body.sc-riat-chrome .sc-group-grid .mphb-room-type > p,
body.sc-riat-chrome div.mphb-room-type p {
    color: #e9e2f8 !important;
    font-weight: 500 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    min-height: 4.8em !important;      /* 3 lines; slack falls BELOW the copy */
    margin-bottom: 0 !important;
}
body.sc-riat-chrome .sc-card-capacity,
body.sc-riat-chrome .sc-cap-item { color: #e9e2f8 !important; }

/* breathing room under the card copy, before the capacity row */
body.sc-riat-chrome .sc-group-grid .mphb-room-type > p,
body.sc-riat-chrome div.mphb-room-type p { margin-bottom: 16px !important; }

/* ============================================================================
   "Change your dates" search form — RIAT
   ============================================================================
   The bottoms were already aligned (grid, align-items:end) but the three
   control types were 41px / 38px / 49px tall with 3px / 3px / 999px radii, so
   they read as misaligned and mismatched. One height, one radius, one language. */

body.sc-riat-chrome .mphb_sc_search-form {
    align-items: end !important;
    gap: 14px !important;
}

/* labels */
body.sc-riat-chrome .mphb_sc_search-form label {
    font-family: var(--display) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    margin-bottom: 7px !important;
    display: block !important;
}

/* every control: same box */
body.sc-riat-chrome .mphb_sc_search-form input[type="text"],
body.sc-riat-chrome .mphb_sc_search-form input.mphb-datepick,
body.sc-riat-chrome .mphb_sc_search-form select,
body.sc-riat-chrome .mphb_sc_search-form input.button {
    height: 48px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    font-family: var(--display) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 16px !important;
    line-height: 48px !important;
}

/* fields */
body.sc-riat-chrome .mphb_sc_search-form input[type="text"],
body.sc-riat-chrome .mphb_sc_search-form input.mphb-datepick,
body.sc-riat-chrome .mphb_sc_search-form select {
    background: var(--ink) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--paper) !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
body.sc-riat-chrome .mphb_sc_search-form input:hover,
body.sc-riat-chrome .mphb_sc_search-form select:hover { border-color: rgba(249,207,104,.55) !important; }
body.sc-riat-chrome .mphb_sc_search-form input:focus,
body.sc-riat-chrome .mphb_sc_search-form select:focus {
    outline: none !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(249, 207, 104, .22) !important;
}

/* select: replace the default arrow with a gold chevron */
body.sc-riat-chrome .mphb_sc_search-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-right: 42px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9CF68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 15px 15px !important;
}

/* the Search button, matched to the other RIAT buttons */
body.sc-riat-chrome .mphb_sc_search-form input.button {
    background: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    color: var(--ink) !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    padding: 0 30px !important;
    cursor: pointer !important;
}
body.sc-riat-chrome .mphb_sc_search-form input.button:hover {
    background: var(--gold-deep) !important;
    border-color: var(--gold-deep) !important;
}

/* ============================================================================
   RIAT body-copy standard, footer, and the remaining links-as-buttons
   ============================================================================
   🔴 I introduced an inconsistency earlier today. Aligning the listings "to
   /riat/" I sampled a GOLD DISPLAY paragraph and concluded body copy was
   Montserrat. It is not. Measured across all three surfaces:

       /riat/ home    Inter 14/400  #C3B2E8  lh ~1.8
       product page   Inter 14/400  #C3B2E8  lh 25.2px
       listings       Montserrat 14.5/500  <- mine, the odd one out

   Standard is Inter 14/400. Keeping the brighter colour though — #C3B2E8 on
   --card measured poorly and Mark reported the listing copy as hard to read,
   so the brighter value is applied to ALL THREE rather than reverted on one.
   Montserrat stays for headings, prices and buttons. */

body.sc-riat-chrome .sc-group-grid .mphb-room-type > p,
body.sc-riat-chrome div.mphb-room-type p,
body.sc-riat-chrome .sc-group-desc,
body.sc-riat-chrome .sc-description p,
body.sc-riat-chrome .sc-accom-desc p,
.sc-riat p:not(.sc-riat-lead):not([class*="price"]) {
    font-family: var(--body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: #e9e2f8 !important;
}

/* --- links that should read as buttons --------------------------------- */
body.sc-riat-chrome .sc-similar-section .sc-more-link,
body.sc-riat-chrome a.sc-view-more,
body.sc-riat-chrome .sc-similar-card a,
body.sc-riat-chrome .sc-all-riat-link,
body.sc-riat-chrome .sc-section-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-family: var(--display) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    background: var(--gold) !important;
    color: var(--ink) !important;
    text-decoration: none !important;
    border: 1px solid var(--gold) !important;
    transition: background .15s ease !important;
}
body.sc-riat-chrome .sc-similar-section .sc-more-link:hover,
body.sc-riat-chrome a.sc-view-more:hover,
body.sc-riat-chrome .sc-similar-card a:hover,
body.sc-riat-chrome .sc-all-riat-link:hover,
body.sc-riat-chrome .sc-section-action:hover { background: var(--gold-deep) !important; }

/* --- footer: it was Lato at 60% white, the campsite treatment ----------- */
body.sc-riat-chrome .sc-ftr { background: var(--ink) !important; }
body.sc-riat-chrome .sc-ftr,
body.sc-riat-chrome .sc-ftr a,
body.sc-riat-chrome .sc-ftr__strap,
body.sc-riat-chrome .sc-ftr li {
    font-family: var(--body) !important;
    font-size: 14px !important;
    color: #cdc2e6 !important;
}
body.sc-riat-chrome .sc-ftr h2,
body.sc-riat-chrome .sc-ftr h3,
body.sc-riat-chrome .sc-ftr__col-title,
body.sc-riat-chrome .sc-ftr__heading {
    font-family: var(--display) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
}
body.sc-riat-chrome .sc-ftr a:hover { color: var(--gold) !important; }
body.sc-riat-chrome .sc-ftr__inner { border-top-color: var(--card-edge) !important; }

/* --- category pill: one treatment everywhere ---------------------------
   The same pill is rendered by two different classes:
     .sc-card-cat-badge   search-results cards   gold fill, ink text, Montserrat 10/800
     .sc-pod-card-type    product "More for the Air Tattoo"  dark fill, gold text, Inter 10/700
   Same component, two designs. Matched to the search-results treatment,
   which is the one already signed off. */
body.sc-riat-chrome .sc-pod-card-type,
body.sc-riat-chrome .sc-card-cat-badge {
    background: var(--gold) !important;
    color: var(--ink) !important;
    font-family: var(--display) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 50px !important;
    border: 0 !important;
}

/* --- "View more" / "All RIAT options" as real buttons -------------------
   Found by enumerating the actual elements rather than guessing again:
     a.sc-similar-viewall   the section link, top right
     div.sc-pod-card-cta    inside each a.sc-pod-card (the whole card is the link)
   Both already had the gold fill but pad=0 and radius=0, so they rendered as
   flat gold strips of text rather than buttons. */
body.sc-riat-chrome a.sc-similar-viewall,
body.sc-riat-chrome .sc-pod-card-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    background: var(--gold) !important;
    color: var(--ink) !important;
    font-family: var(--display) !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background .15s ease !important;
}
body.sc-riat-chrome a.sc-similar-viewall { font-size: 13px !important; }
body.sc-riat-chrome .sc-pod-card-cta     { font-size: 12px !important; align-self: flex-start !important; }
body.sc-riat-chrome a.sc-similar-viewall:hover,
body.sc-riat-chrome .sc-pod-card:hover .sc-pod-card-cta { background: var(--gold-deep) !important; }

/* --- checkout fields: match the search form ----------------------------
   Classes taken from MPHB's own templates (.mphb-checkout-form-wrapper,
   .mphb-checkout-section, #mphb_country) rather than guessed.
   The country select had no right padding, so the value ran under the arrow. */
body.sc-riat-chrome .mphb-checkout-form-wrapper input[type="text"],
body.sc-riat-chrome .mphb-checkout-form-wrapper input[type="email"],
body.sc-riat-chrome .mphb-checkout-form-wrapper input[type="tel"],
body.sc-riat-chrome .mphb-checkout-section input[type="text"],
body.sc-riat-chrome .mphb-checkout-section input[type="email"],
body.sc-riat-chrome .mphb-checkout-section input[type="tel"],
body.sc-riat-chrome .mphb-checkout-form-wrapper select,
body.sc-riat-chrome .mphb-checkout-section select,
body.sc-riat-chrome #mphb_country {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    background: var(--ink) !important;
    border: 1px solid var(--card-edge) !important;
    color: var(--paper) !important;
    font-family: var(--body) !important;
    font-size: 15px !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
body.sc-riat-chrome .mphb-checkout-form-wrapper input:focus,
body.sc-riat-chrome .mphb-checkout-section input:focus,
body.sc-riat-chrome .mphb-checkout-form-wrapper select:focus,
body.sc-riat-chrome #mphb_country:focus {
    outline: none !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(249, 207, 104, .22) !important;
}
/* the select needs room on the right for the chevron */
body.sc-riat-chrome .mphb-checkout-form-wrapper select,
body.sc-riat-chrome .mphb-checkout-section select,
body.sc-riat-chrome #mphb_country {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-right: 44px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9CF68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 15px 15px !important;
}
body.sc-riat-chrome .mphb-checkout-section label,
body.sc-riat-chrome .mphb-checkout-form-wrapper label {
    font-family: var(--display) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    margin-bottom: 7px !important;
    display: block !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   THE CHECKOUT EMPTY STATE, in violet.  Added 2026-12-01.

   The panel itself is built and scoped in style.css under .page-id-73; this is
   only the repaint for a RIAT visitor, so the two can never drift in LAYOUT —
   there is exactly one set of box rules.

   🔴 SPECIFICITY, NOT ORDER. style.css carries `.page-id-73 .sc-booking-empty
      .sc-btn` = (0,3,1). A `.sc-riat-chrome .sc-booking-empty .sc-btn` here is
      (0,3,0) and would LOSE no matter which stylesheet loads last. Both classes
      sit on <body>, so compounding them gives (0,4,0) and the question of load
      order stops mattering. This file has now lost that argument three times —
      see the cascade-trap notes at ~650 and ~672.

   🔴 `.sc-riat-chrome a { color: var(--gold) }` lives earlier in this file and
      the CTA is an <a>; gold text on a gold pill is how the Book button once
      vanished. The compounded prefix outranks that too.
   ════════════════════════════════════════════════════════════════════════════ */

.sc-riat-chrome.page-id-73 .sc-booking-empty {
    background: var(--card);
    border: 1px solid var(--card-edge);
    box-shadow: none;
}

.sc-riat-chrome.page-id-73 .sc-booking-empty h2 {
    font-family: var(--display);
    color: var(--paper);
}

.sc-riat-chrome.page-id-73 .sc-booking-empty p {
    color: var(--muted);
}

.sc-riat-chrome.page-id-73 .sc-booking-empty .sc-btn {
    background: var(--gold);
    color: var(--ink);
}

.sc-riat-chrome.page-id-73 .sc-booking-empty .sc-btn:hover,
.sc-riat-chrome.page-id-73 .sc-booking-empty .sc-btn:focus-visible {
    background: var(--gold-deep);
    color: var(--ink);
}
