/* Custom Embroidery LLC: shared overrides, final pass 2026-11-17.
   Loaded after each page's inline <style>. Header logo +50%, persistent cookie notice. */

/* Brand tokens (customer, MTMG 16 Nov): red 237,26,33 / black 0,0,0 (text, logo, lines only) /
   grey 166,169,173. Charcoal #2E2E2E is the only dark background. Derived shades are for WCAG AA only. */
:root {
  --charcoal: #2E2E2E;
  --charcoal-raised: #383838;
  --brand-red: #ED1A21;
  --brand-red-deep: #C8161C;
  --brand-red-darker: #A51217;
  --brand-red-light: #FF8085;
  --brand-black: #000000;
  --brand-grey: #A6A9AD;
  /* legacy page variables re-pointed at the tokens */
  --navy: var(--charcoal);
  --navy-mid: var(--charcoal);
  --navy-light: var(--charcoal-raised);
  --gold: var(--brand-red);
  --gold-light: var(--brand-red);
  --gold-dim: var(--brand-red-deep);
  --muted-navy: var(--brand-grey);
}
nav { background: var(--charcoal) !important; }

/* Header: logo 40px -> 60px tall (desktop), 40px -> 56px (mobile); bar grows 64 -> 76 / 68 */
nav .nav-inner { height: 76px; }
nav .nav-brand img { height: 60px !important; width: auto !important; max-width: none !important; }
.hero { padding-top: 76px; }
@media (max-width: 768px) {
  nav .nav-inner { height: 68px; }
  nav .nav-brand img { height: 56px !important; }
  .nav-toggle-input:checked ~ .nav-links { top: 68px !important; }
}

/* Cookie notice: hidden until site-final.js decides it is needed */
.ce-consent[hidden] { display: none !important; }
.ce-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--charcoal-raised); color: #d6d6d6;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.55);
  font-size: 13px; line-height: 1.5;
}
.ce-consent p { margin: 0; max-width: 60ch; color: #d6d6d6; font-size: 13px; }
.ce-consent a { color: var(--brand-red-light); text-decoration: underline; text-underline-offset: 3px; }
.ce-consent-btn {
  background: var(--brand-red-deep); color: #fff; border: 2px solid var(--brand-red-deep); border-radius: 6px;
  padding: 9px 22px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.ce-consent-btn:hover { background: var(--brand-red-darker); border-color: var(--brand-red-darker); }
.ce-consent-btn:active { transform: translateY(1px); }
.ce-consent-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 480px) { .ce-consent { left: 10px; right: 10px; bottom: 10px; } .ce-consent-btn { width: 100%; } }

/* Contact form status line (mail hand-off) */
.form-status { margin-top: 14px; font-size: 14px; color: #333; }

/* AA: brand red (#ED1A21) is 3.08:1 on charcoal, fine for large display type only.
   Small red text on charcoal uses the light tint; on white it uses the deep shade. */
.nav-brand-tagline, .footer-brand-sub, .footer-mahiri a, .dtg-step .ds-num { color: var(--brand-red-light) !important; }
/* blog: meta/back on charcoal post pages; meta on the white index cards */
.post-meta, .post-back { color: var(--brand-red-light) !important; }
.band-light .post-meta { color: #636363 !important; }
/* footer text: legacy blue-grey -> brand grey (5.8:1 on charcoal) */
.footer-links a, .footer-mahiri { color: var(--brand-grey) !important; }
.footer-links a:hover { color: #FFFFFF !important; }
/* section labels that now sit on charcoal */
.about .section-label-text, .how-to-order .section-label-text, .reviews .section-label-text { color: var(--brand-grey); }
/* shop pages (white surfaces): darker neutrals for AA */
.concept-note strong { color: var(--brand-red-light) !important; }
.sh-sub { color: #555555 !important; }
.sh-cat { color: #6b665c !important; }
/* catalogs + category pages: "plus the general catalogs" link */
.cg-more a { display: block; padding: 9px 0; font-size: 13px; color: var(--brand-grey); text-decoration: underline; text-underline-offset: 3px; }
.cg-more a:hover { color: #FFFFFF; }
.cg-list-page { list-style: none; margin: 0 0 8px !important; padding: 0; max-width: 720px; }
.cg-list-page li + li { border-top: 1px solid rgba(255,255,255,0.08); }
/* Iron Pillar shop (merge 2026-11-17): white text on red buttons needs the deep shade (brand red is 4.4:1) */
.ip-btn:not(.ip-ghost) { background: var(--brand-red-deep) !important; border-color: var(--brand-red-deep) !important; color: #FFFFFF !important; }
.ip-btn:not(.ip-ghost):hover { background: var(--brand-red-darker) !important; border-color: var(--brand-red-darker) !important; }
.ip-style { color: #636363 !important; }
