/* ===========================================================
   JOVIT seasonal DARK theme (Christmas 2026)
   Deep evergreen night, so the garland, caps and gold read at a
   glance. Scoped to <html class="season-xmas">.
   Surfaces are OPAQUE: no translucent tinted panels, and nothing
   is laid over hero or product photography.
   =========================================================== */

:root {
  --night-bg: #08120e;        /* page */
  --night-surface: #101d17;   /* cards */
  --night-surface-2: #16261f; /* raised */
  --night-line: #24382e;      /* hairlines */
  --night-ink: #f3f0e6;       /* primary text */
  --night-ink-soft: #cfcabc;  /* secondary text */
  --night-muted: #9ea89f;     /* captions */
  --night-gold: #e6c46f;
  --night-green: #3fae74;
}

/* ---------------- main marketing pages ---------------- */
.season-xmas body:not(.branch-page) {
  background: var(--night-bg);
  color: var(--night-ink);
}

.season-xmas body:not(.branch-page) .section,
.season-xmas body:not(.branch-page) .establishments,
.season-xmas body:not(.branch-page) .features,
.season-xmas body:not(.branch-page) .testimonials,
.season-xmas body:not(.branch-page) .faq,
.season-xmas body:not(.branch-page) .contact {
  background: var(--night-bg);
}

/* Cards become solid dark surfaces with a hairline, never a wash. */
.season-xmas body:not(.branch-page) .estab-card,
.season-xmas body:not(.branch-page) .feature-card,
.season-xmas body:not(.branch-page) .review-card,
.season-xmas body:not(.branch-page) .contact-card,
.season-xmas body:not(.branch-page) .info-card {
  background: var(--night-surface);
  border: 1px solid var(--night-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Headings, body copy, captions */
.season-xmas body:not(.branch-page) h1,
.season-xmas body:not(.branch-page) h2,
.season-xmas body:not(.branch-page) h3,
.season-xmas body:not(.branch-page) h4,
.season-xmas body:not(.branch-page) .section-title,
.season-xmas body:not(.branch-page) .estab-card .card-body h3,
.season-xmas body:not(.branch-page) .feature-card h3 {
  color: var(--night-ink);
}
.season-xmas body:not(.branch-page) p,
.season-xmas body:not(.branch-page) li,
.season-xmas body:not(.branch-page) .section-subtitle,
.season-xmas body:not(.branch-page) .estab-card .card-body .card-desc,
.season-xmas body:not(.branch-page) .estab-card .card-body .card-location,
.season-xmas body:not(.branch-page) .estab-card .card-meta .meta-item,
.season-xmas body:not(.branch-page) .feature-card p {
  color: var(--night-ink-soft);
}
.season-xmas body:not(.branch-page) .estab-card .card-meta {
  border-top-color: var(--night-line);
}
.season-xmas body:not(.branch-page) .estab-card .card-meta .meta-item strong {
  color: var(--night-ink);
}

/* Chips and tags */
.season-xmas body:not(.branch-page) .section-tag,
.season-xmas body:not(.branch-page) .card-banner .card-type-badge,
.season-xmas body:not(.branch-page) .badge {
  background: var(--night-surface-2);
  color: var(--night-gold);
  border: 1px solid var(--night-line);
}

/* Card calls to action: solid, high contrast, no translucency. */
.season-xmas body:not(.branch-page) .estab-card .card-cta {
  background: var(--night-surface-2);
  color: var(--night-ink);
  border: 1px solid var(--night-line);
}
.season-xmas body:not(.branch-page) .estab-card .card-cta:hover {
  background: var(--night-green);
  color: #06211a;
  border-color: var(--night-green);
}

/* Nav: solid dark bar for the marketing pages (branch pages keep theirs). */
.season-xmas body:not(.branch-page) .navbar {
  background: #07100c;
  border-bottom: 1px solid var(--night-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.season-xmas body:not(.branch-page) .navbar .nav-links a,
.season-xmas body:not(.branch-page) .navbar .logo-text {
  color: var(--night-ink);
}
.season-xmas body:not(.branch-page) .navbar .logo-text span { color: var(--night-gold); }
.season-xmas body:not(.branch-page) .navbar .menu-toggle span { background: var(--night-ink); }

/* The advert strip keeps its brand green, just deepened. */
.season-xmas body:not(.branch-page) .advert-strip {
  background: #0a2a1c;
}

/* Footer already dark; deepen and separate it from the page. */
.season-xmas body:not(.branch-page) footer,
.season-xmas body:not(.branch-page) .footer {
  background: #050d0a;
  border-top: 1px solid var(--night-line);
}

/* Links inside dark copy. Deliberately narrow: a blanket `a` rule also caught
   styled buttons and turned their labels gold-on-gold. */
.season-xmas body:not(.branch-page) p a,
.season-xmas body:not(.branch-page) li a,
.season-xmas body:not(.branch-page) .card-desc a,
.season-xmas body:not(.branch-page) footer a:hover {
  color: var(--night-gold);
}
/* Anything sitting on a gold or green fill keeps a dark label. */
.season-xmas .btn-gold,
.season-xmas .btn-primary,
.season-xmas .nav-cta,
.season-xmas .card-cta:hover {
  color: #0b1a12 !important;
}

/* ---------------- branch mini-sites ---------------- */
/* Flip the surface tokens; each category keeps its own accent colour. */
.season-xmas body.branch-page {
  --bg: #08120e;
  --bg-alt: #0d1a15;
  --surface: #101d17;
  --ink: #f3f0e6;
  --ink-soft: #cfcabc;
  --muted: #9ea89f;
  --hair: #24382e;
  --footer-bg: #050d0a;
  --nav-bg: #07100c;
  /* NOTE: --nav-ink and --hero-ink are deliberately NOT overridden here.
     Each branch page picks its own ink from the pixels behind it (dark ink on
     light hero tops, cream on dark ones). Forcing cream made the nav vanish on
     branches with light hero photos. */
  --bar-bg: #07100c;
}

/* ---------------- the storefront ---------------- */
/* Already dark; shift it to the same evergreen night and warm the type. */
.season-xmas body {
  --bg: #08120e;
  --line: #24382e;
}

/* ---------------- legibility guards ---------------- */
/* Anything that ends up gold-on-dark or ivory-on-dark must stay crisp. */
.season-xmas ::selection {
  background: var(--night-gold);
  color: #08120e;
}
.season-xmas body:not(.branch-page) input,
.season-xmas body:not(.branch-page) textarea,
.season-xmas body:not(.branch-page) select {
  background: var(--night-surface);
  color: var(--night-ink);
  border: 1px solid var(--night-line);
}
.season-xmas body:not(.branch-page) input::placeholder,
.season-xmas body:not(.branch-page) textarea::placeholder {
  color: var(--night-muted);
}

/* ---------------- branch mini-site leftovers ----------------
   These surfaces come from the effects/FAQ sheets with light values
   hardcoded, so the tokens above cannot reach them. */
.season-xmas .mini-hero { background: #08120e; }
.season-xmas .mini-feature {
  background: #101d17;
  border-color: #24382e;
  color: #f3f0e6;
}
.season-xmas .mini-feature strong,
.season-xmas .mini-feature span,
.season-xmas .mini-feature p { color: #f3f0e6; }
.season-xmas a.cta-phone {
  background: #101d17;
  color: #e6c46f;
  border: 1px solid #24382e;
}
.season-xmas .ja-launcher-label { background: #101d17; color: #f3f0e6; }
.season-xmas .ja-launcher { background: #101d17; border-color: #24382e; }

/* ---- branch hero: --ink doubles as a surface colour here, so pin it dark ---- */
.season-xmas body.branch-page .mini-hero {
  background-color: #08120e;
}
/* the menu toggle bars must stay light on the dark bar, not --ink */
.season-xmas body.branch-page .navbar.scrolled .menu-toggle span,
.season-xmas body.branch-page .navbar.is-stuck .menu-toggle span {
  background: #f3f0e6;
}
/* phone CTA and chat launcher, pinned with branch-page specificity */
.season-xmas body.branch-page a.cta-phone {
  background: #101d17;
  color: #e6c46f;
  border: 1px solid #24382e;
}
.season-xmas body.branch-page .ja-launcher-label { background: #101d17; color: #f3f0e6; }

/* ---- the greys and dark inks from styles.css, re-pointed for night ---- */
.season-xmas { --gray: #b8b3a6; --dark-2: #f3f0e6; }

/* ---- branch info cards and gallery bands were hardcoded light ---- */
.season-xmas body.branch-page .mini-info-card {
  background: #101d17;
  border: 1px solid #24382e;
  color: #f3f0e6;
}
.season-xmas body.branch-page .mini-info-card h3,
.season-xmas body.branch-page .mini-info-card h4,
.season-xmas body.branch-page .mini-info-card strong { color: #f3f0e6; }
.season-xmas body.branch-page .mini-info-card p,
.season-xmas body.branch-page .mini-info-card span,
.season-xmas body.branch-page .mini-info-card li,
.season-xmas body.branch-page .mini-info-card a { color: #cfcabc; }
.season-xmas body.branch-page section.gallery,
.season-xmas body.branch-page .gallery { background: #0d1a15; }
.season-xmas body.branch-page h3,
.season-xmas body.branch-page h4 { color: #f3f0e6; }

/* the phone CTA keeps turning up with its own translucent fill */
.season-xmas body.branch-page a.cta-phone {
  background: #101d17 !important;
  color: #e6c46f !important;
  border: 1px solid #24382e !important;
}

/* ---- main pages: service badges and secondary links ---- */
.season-xmas body:not(.branch-page) .service-badge {
  background: #16261f;
  color: #9be0b8;
  border: 1px solid #24382e;
}
.season-xmas body:not(.branch-page) .btn-outline,
.season-xmas body:not(.branch-page) .btn-ghost,
.season-xmas body:not(.branch-page) .link-arrow,
.season-xmas body:not(.branch-page) .see-all,
.season-xmas body:not(.branch-page) .view-all {
  color: #f3f0e6;
  border-color: #24382e;
}
.season-xmas body:not(.branch-page) .btn-outline:hover,
.season-xmas body:not(.branch-page) .btn-ghost:hover {
  color: #08120e;
  background: #e6c46f;
  border-color: #e6c46f;
}

/* ---- final pin: styles.css sets these with literal light values ---- */
.season-xmas .mini-info-card {
  background: #101d17 !important;
  color: #f3f0e6 !important;
  border: 1px solid #24382e !important;
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .6) !important;
}
.season-xmas .mini-info-card > h3,
.season-xmas .mini-info-card h3,
.season-xmas .mini-info-card h4,
.season-xmas .mini-info-card strong { color: #f3f0e6 !important; }
.season-xmas .mini-info-card p,
.season-xmas .mini-info-card span,
.season-xmas .mini-info-card li,
.season-xmas .mini-info-card a,
.season-xmas .mini-info-card .info-row { color: #cfcabc !important; }
.season-xmas .mini-info-card > h3 { border-bottom-color: #24382e !important; }

/* ---- last light bands on branch pages ---- */
.season-xmas body.branch-page section.gallery,
.season-xmas body.branch-page .gallery { background: #0d1a15 !important; }
.season-xmas body.branch-page h2,
.season-xmas body.branch-page h3,
.season-xmas body.branch-page h4 { color: #f3f0e6 !important; }

/* the assistant panel is an overlay, so it must be dark too */
.season-xmas .ja-messages,
.season-xmas .ja-chips,
.season-xmas .ja-panel,
.season-xmas .ja-window { background: #101d17 !important; color: #f3f0e6 !important; }
.season-xmas .ja-messages p,
.season-xmas .ja-chips button,
.season-xmas .ja-chip { background: #16261f !important; color: #f3f0e6 !important; border-color: #24382e !important; }
.season-xmas .ja-input,
.season-xmas .ja-panel input,
.season-xmas .ja-panel textarea {
  background: #0d1a15 !important; color: #f3f0e6 !important; border-color: #24382e !important;
}

/* ---- Harriet (and any page with a bare <body>) ----
   That page carries no branch classes, so the rules above skip it. These cover
   the same surfaces without depending on body class. */
.season-xmas body:not(.branch-page) .gallery { background: #0d1a15 !important; }
.season-xmas body:not(.branch-page) .mini-hero { background-color: #08120e !important; }
.season-xmas body:not(.branch-page) .mini-info-card {
  background: #101d17 !important;
  color: #f3f0e6 !important;
  border: 1px solid #24382e !important;
}
.season-xmas body:not(.branch-page) .mini-info-card > h3,
.season-xmas body:not(.branch-page) .mini-info-card h3,
.season-xmas body:not(.branch-page) .mini-info-card strong { color: #f3f0e6 !important; }
.season-xmas body:not(.branch-page) .mini-info-card p,
.season-xmas body:not(.branch-page) .mini-info-card span,
.season-xmas body:not(.branch-page) .mini-info-card a,
.season-xmas body:not(.branch-page) .mini-info-card li { color: #cfcabc !important; }
.season-xmas body:not(.branch-page) h2,
.season-xmas body:not(.branch-page) h3,
.season-xmas body:not(.branch-page) h4 { color: #f3f0e6 !important; }
.season-xmas body:not(.branch-page) .gallery p,
.season-xmas body:not(.branch-page) .mini-cta p { color: #cfcabc !important; }

/* the red status pill sat at 4.2:1 on the night background */
.season-xmas .open-status,
.season-xmas .status-closed,
.season-xmas .badge-closed { color: #ff7b7b !important; }


/* ---- branch nav, scrolled: dark bar needs cream ink ----
   The transparent state keeps the page's own choice; once the bar turns opaque
   (dark, per --nav-bg) the ink must flip or it becomes dark-on-dark. */
.season-xmas body.branch-page .navbar.is-stuck,
.season-xmas body.branch-page .navbar.scrolled {
  color: #f3f0e6 !important;
}
.season-xmas body.branch-page .navbar.is-stuck .nav-links > li > a,
.season-xmas body.branch-page .navbar.scrolled .nav-links > li > a,
.season-xmas body.branch-page .navbar.is-stuck .logo,
.season-xmas body.branch-page .navbar.scrolled .logo,
.season-xmas body.branch-page .navbar.is-stuck .logo .logo-text,
.season-xmas body.branch-page .navbar.scrolled .logo .logo-text,
.season-xmas body.branch-page .navbar.is-stuck .logo .logo-text span,
.season-xmas body.branch-page .navbar.scrolled .logo .logo-text span,
.season-xmas body.branch-page .navbar.is-stuck .menu-toggle,
.season-xmas body.branch-page .navbar.scrolled .menu-toggle {
  color: #f3f0e6 !important;
}
.season-xmas body.branch-page .navbar.is-stuck .menu-toggle span,
.season-xmas body.branch-page .navbar.scrolled .menu-toggle span {
  background: #f3f0e6 !important;
}
