/* ============================================================================
   LundSys shop_cf_test — MODULAR PALETTE (single source of truth)
   ----------------------------------------------------------------------------
   Every shop colour lives here as a CSS custom property. To test a new palette,
   copy one .theme-* block, rename it, and point body.shop at it in head.html:

       <body class="shop theme-terracotta">     <- just swap the class name

   shop.css references ONLY these var(--...) tokens (no hardcoded colours), so
   changing the active palette re-skins the whole site chrome. Load BEFORE
   shop.css in head.html so shop rules layer on top of the token definitions.

   Token roles:
     --shop-bg        page / header / nav background (darkest)
     --shop-bg-hi     lifted bar behind that (nav pill idle, strip panel)
     --shop-surface   card / field surface fill
     --shop-well      darker inset well behind photos/thumbs
     --shop-line      borders & hairlines
     --shop-text      primary text (off-white)
     --shop-muted     secondary / label text
     --shop-accent    primary accent (buttons, active pill/strip)
     --shop-accent-hi hover/brighter accent
     --shop-accent-soft translucent accent fill (badges, chips)
     --shop-accent-ink readable ink colour ON an accent-filled surface
     --shop-secondary secondary accent (teal)
     --shop-gold      premium highlight / hover third accent
     --shop-danger    error / alert
   ============================================================================ */

:root{
  /* Non-colour tokens stay global. */
  --shop-radius:6px;
  --gap:1rem;
}

/* --- Palette A: LundSys current (deep charcoal + amber-orange) -------------- */
.theme-lundsys,
body.shop:not([class*="theme-"]){
  --shop-bg:#111214;
  --shop-bg-hi:#1e1f26;
  --shop-surface:rgba(255,255,255,.05);
  --shop-well:rgba(0,0,0,.25);
  --shop-line:rgba(255,255,255,.15);
  --shop-text:#ffffff;
  --shop-muted:rgba(255,255,255,.6);
  --shop-accent:#ff6a00;
  --shop-accent-hi:#ff8b33;
  --shop-accent-soft:rgba(255,106,0,.14);
  --shop-accent-ink:#111;
  --shop-secondary:#1f6f5c;
  --shop-gold:#8a5a12;
  --shop-danger:#ff6b6b;
}

/* --- Palette B: Terracotta / dusty teal / warm charcoal (your new spec) ------ */
body.shop.theme-terracotta{
  --shop-bg:#2C2A29;          /* Dark background — warm charcoal */
  --shop-bg-hi:#3A3836;       /* lifted bar behind nav/strip */
  --shop-surface:#3A3836;     /* Card / surface — soft dark */
  --shop-well:rgba(0,0,0,.22);/* inset well behind photos */
  --shop-line:rgba(245,243,240,.16);
  --shop-text:#F5F3F0;        /* Text primary — off-white */
  --shop-muted:#B8B5B0;       /* Text muted — warm gray */
  --shop-accent:#E07A3D;      /* Primary accent — warm terracotta orange */
  --shop-accent-hi:#EC9152;   /* brighter on hover */
  --shop-accent-soft:rgba(224,122,61,.16);
  --shop-accent-ink:#2C2A29;  /* dark ink on terracotta-filled surfaces */
  --shop-secondary:#2A9D8F;   /* Secondary accent — dusty teal */
  --shop-gold:#D4A373;        /* Highlight / hover — soft gold */
  --shop-danger:#d9534f;
}

/* ============================================================================
   SHARED FOOTER (Bootstrap-3.3.5 look) — lives here ONCE for every page.
   Previously duplicated verbatim in all 16 pages-src/*.css companions; now a
   single tokenized block loaded globally via head.html -> theme.css. Footer
   colours follow the active palette, so switching body.theme-* re-skins it too.
   ============================================================================ */
*{box-sizing:border-box}
.site-footer{background:var(--shop-bg-hi);color:var(--shop-muted);padding:30px 0;border-top:1px solid var(--shop-line);font-size:14px}
.container{width:100%;max-width:1170px;margin:0 auto;padding:0 15px}
.row{margin-left:-15px;margin-right:-15px}
.row::after{content:"";display:table;clear:both}
.col-md-4,.col-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}
@media (min-width:992px){.col-md-4{float:left;width:33.33333333%}.text-md-left{text-align:left !important}.text-md-right{text-align:right !important}}
.list-inline{padding-left:0;margin-left:-5px}
.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}
.li.list-inline-item+.list-inline-item::before{content:"·";padding:0 5px;color:var(--shop-muted)}
.badge-row{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}
.badge-row a{display:inline-block}
/* Brand logos (VCarve/AVID/Centroid/Amazon/Stripe) often carry dark-blue or near-black
   backgrounds that vanish on the charcoal footer. Give each mark a very light warm-beige
   "chip" plate so it reads clearly, and keep it crisp instead of dimmed. Applied to ALL
   footer logo images (badge-row + Stripe/Amazon which live outside .badge-row). */
.site-footer img{height:40px;width:auto;opacity:1;background:#efe9df;border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:6px 10px;box-sizing:content-box;transition:transform .2s ease,box-shadow .2s ease}
.site-footer a:hover img{transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,.35)}

/* Footer text links (Terms of Use / Privacy Policy): hardcoded dusty teal. */
.site-footer .list-inline>li>a{color:#2A9D8F;text-decoration:none}
.site-footer .list-inline>li>a:hover{color:#EC9152;text-decoration:underline}
@media (max-width:767px){.badge-row{margin-bottom:1rem}.text-md-left,.text-md-right{text-align:center !important}}
.text-center{text-align:center !important}
.mb-0{margin-bottom:0 !important}
.mb-1{margin-bottom:.5rem !important}
.mt-4{margin-top:1.5rem !important}
.small{font-size:85%}
.text-muted{color:var(--shop-muted) !important}
