/* Coir Bond inner-page palette only — no geometry, typography, or content rules.
   Mirrors coirbond-home-palette.css role for role. The homepage is built from
   .mw-* markup and the other pages from the exported .lux-* design system, so
   the same palette has to be assigned twice; this file is the second half. */
:root {
  --cb-forest: #12382D;
  --cb-gold: #B88A2F;
  --cb-bone: #F6F1E7;
  --cb-espresso: #2B1B12;
}

/* Page surface. The export painted these pages #fbfaf7, a near-white that reads
   cooler than the homepage's bone — the main reason they felt like a different
   theme. Both !important rules in the bundle are matched here. */
body, .product-detail { background: var(--cb-bone) !important; color: var(--cb-espresso) !important; }

/* Chrome: forest band, bone header on a gold hairline, as on the homepage. */
.topbar { background: var(--cb-forest); color: var(--cb-bone); }
header { background: color-mix(in srgb, var(--cb-bone) 94%, transparent); border-bottom-color: color-mix(in srgb, var(--cb-gold) 28%, transparent); }
.brand b { color: var(--cb-forest); }
.brand small { color: var(--cb-gold); }
nav a:hover, nav a:focus-visible { color: var(--cb-forest); }
/* .headercta is the flex CONTAINER holding the phone link and the WhatsApp
   button, not a button itself — painting it forest put the phone number on a
   dark slab fused to the button. The button is styled in coirbond-navbar.css. */
.servicebar { background: var(--cb-bone); color: var(--cb-forest); }

/* Footer: the homepage's espresso band. These pages had no footer background at
   all, so it inherited the page and the band was missing entirely. */
footer { background: var(--cb-espresso); color: var(--cb-bone); }
footer .brand b { color: var(--cb-bone); }
footer .brand small, footer b { color: var(--cb-gold); }
footer span { color: color-mix(in srgb, var(--cb-bone) 72%, transparent); }

/* Cards and panels: bone field, gold hairline — matches .mw-cats article. */
.lux-arch-card, .lux-guide-card, .lux-process-card, .product-related-card,
.lux-faq-item, .lux-table-wrapper, .lux-amenity-box, .lux-callout,
.lux-spec-item, .lux-stat-item, .lux-studio-card-img {
  border-color: color-mix(in srgb, var(--cb-gold) 35%, var(--cb-bone));
}

/* Badges, numerals, icons, kickers and pills are deliberately NOT touched here.
   They already resolve to the palette, and each is carrying a role this file
   would get wrong: .lux-series-num / .lux-process-num / .lux-guide-icon are
   bare text and icon colours with no field behind them, .lux-arch-firmness-badge
   is a white chip that has to stay legible over product photography, and
   .lux-kicker is already #8a6724 - the darkest gold that clears 4.5:1 on bone,
   where --cb-gold would drop it to 3.9. */

/* The timeline dot's ring was drawn in the old near-white page colour, so it
   needs to follow the surface to the bone the rest of this file sets. */
.lux-timeline-dot { border-color: var(--cb-bone); }

/* Actions. The dark heroes (.lux-hero--collection, .lux-hero--about) and the
   studio hero carry their own more specific rules and are left as they are. */
.lux-btn-primary { background: var(--cb-forest); color: var(--cb-bone); }
.lux-btn-primary:hover { background: var(--cb-espresso); color: var(--cb-bone); }
.lux-btn-secondary { background: var(--cb-bone); color: var(--cb-forest); }

@media (max-width: 768px) {
  .cb-mobile-nav { background: var(--cb-bone); border-color: color-mix(in srgb, var(--cb-gold) 28%, var(--cb-bone)); }
  .cb-mobile-nav-item.active, .cb-mobile-nav-item.active svg { color: var(--cb-forest); stroke: var(--cb-forest); }
  .cb-mobile-nav-center-btn { background: var(--cb-forest); }
}
