/* ==========================================================
   Dark mode: variable overrides only. Set by [data-theme="dark"] on <html>
   (saved in localStorage "theme", system preference used on first visit)
   ========================================================== */
[data-theme="dark"]{
  color-scheme:dark;
  --primary:#E8895F;
  --primary-d:#F5A47F;
  --on-primary:#2A170F;
  --ink:#F4EADF;
  --muted:#CDBBAD;
  --bg:#1C1411;
  --surface:#271C17;
  --tint:#33241D;
  --line:#3C2D26;
  --header-bg:rgba(28,20,17,.94);
  --footer-bg:#140D0A;
  --error:#FF9A9A;
  --ok:#7ED6A0;
  --shadow:0 12px 32px rgba(0,0,0,.45);
  --sec-lo:#150E0B;   /* darker section surface (alternates with --sec-hi) */
  --sec-hi:#33241D;   /* raised section surface */
}
[data-theme="dark"] .brand .logo-for-light{display:none}
[data-theme="dark"] .brand .logo-for-dark{display:block}
[data-theme="dark"] .icon-btn .i-moon{display:none}
[data-theme="dark"] .icon-btn .i-sun{display:inline}
[data-theme="dark"] .btn,[data-theme="dark"] .to-top{box-shadow:0 10px 22px rgba(0,0,0,.4)}
[data-theme="dark"] .socials a:hover{color:#140D0A}
[data-theme="dark"] .store-map iframe{filter:invert(.92) hue-rotate(180deg) brightness(.9) contrast(.9)}  /* dark map tiles */


/* ==========================================================
   DARK SECTION RHYTHM (all pages). Two neighbouring sections each carry
   --sp padding, so their content is 2 x --sp apart. In dark mode that only
   reads as normal spacing when the two backgrounds are clearly different.
   Rule: plain sections alternate --sec-lo / --sec-hi; the LAST section
   before the footer is always --sec-hi (the footer is nearly --sec-lo).
   Sections that continue the one above (padding-top:0: #pr-specs, #h2-journal)
   share its colour. Photo banners, heroes with photos and CTA bands keep their own.
   To add a section: give it the opposite surface of the section above it.
   ========================================================== */
[data-theme="dark"] #ab-team,
[data-theme="dark"] #ab-values,
[data-theme="dark"] #ab-story,
[data-theme="dark"] #cg-fix,
[data-theme="dark"] #cg-routine,
[data-theme="dark"] #enquiry,
[data-theme="dark"] #gf-stories,
[data-theme="dark"] #gf-wrap,
[data-theme="dark"] #h2-expertise,
[data-theme="dark"] #h2-process,
[data-theme="dark"] #h2-products,
[data-theme="dark"] #h2-hero,
[data-theme="dark"] #reviews,
[data-theme="dark"] #gifts,
[data-theme="dark"] #story,
[data-theme="dark"] #categories,
[data-theme="dark"] #pc-build,
[data-theme="dark"] #pc-sets{background:var(--sec-lo)}
[data-theme="dark"] #ab-craft,
[data-theme="dark"] #ab-journey,
[data-theme="dark"] #ab-intro,
[data-theme="dark"] #cg-promise,
[data-theme="dark"] #cg-heat,
[data-theme="dark"] #cg-rules,
[data-theme="dark"] #visit,
[data-theme="dark"] #contact-info,
[data-theme="dark"] #gf-card,
[data-theme="dark"] #gf-bulk,
[data-theme="dark"] #gf-finder,
[data-theme="dark"] #h2-events,
[data-theme="dark"] #h2-bundles,
[data-theme="dark"] #h2-journal,
[data-theme="dark"] #h2-about,
[data-theme="dark"] #h2-cats,
[data-theme="dark"] #faq,
[data-theme="dark"] #gallery,
[data-theme="dark"] #care,
[data-theme="dark"] #why-ceramic,
[data-theme="dark"] #featured,
[data-theme="dark"] #pc-faq,
[data-theme="dark"] #pc-compare,
[data-theme="dark"] #pr-shop,
[data-theme="dark"] #pr-specs{background:var(--sec-hi)}
