/* ==========================================================================
   Momentum Career Hub — shared promotion + gifting styles
   Uses the existing MCH palette: purple #2E294E, gold #FFD865/#D4A017,
   coral #F2545B, cream #EADEDA, lavender #D9DDEB. Fonts: Cormorant Garamond,
   DM Sans, DM Mono (already loaded by every page).
   ========================================================================== */
:root{
  --mch-p:#2E294E;--mch-pd:#1a1635;--mch-g:#FFD865;--mch-gd:#D4A017;--mch-c:#F2545B;--mch-cr:#EADEDA;--mch-lv:#D9DDEB;--mch-w:#fff;
  --mch-sage:#8FA58C;
  --mch-foil:linear-gradient(115deg,#b8860b 0%,#D4A017 18%,#FFD865 38%,#fff1b8 50%,#FFD865 62%,#D4A017 82%,#b8860b 100%);
  --mch-bar-h:0px;
}

/* ---------- compact announcement bar ---------- */
.mch-bar{position:relative;z-index:101;background:linear-gradient(90deg,#1a1635,#2E294E 50%,#1a1635);color:#fff;font-family:'DM Sans',sans-serif;font-size:.8rem;line-height:1.3;border-bottom:1px solid rgba(255,216,101,.35);overflow:hidden}
.mch-bar.is-fixed{position:fixed;top:0;left:0;right:0}
.mch-bar::before{content:'';position:absolute;inset:0 auto 0 0;width:100%;background:radial-gradient(circle at 8% 50%,rgba(255,216,101,.16),transparent 22%),radial-gradient(circle at 92% 50%,rgba(255,216,101,.12),transparent 20%);pointer-events:none}
.mch-bar-inner{position:relative;max-width:1200px;margin:0 auto;padding:.5rem 1rem;display:flex;align-items:center;justify-content:center;gap:.4rem .9rem;flex-wrap:wrap;text-align:center}
.mch-bar-title{font-family:'DM Mono',monospace;letter-spacing:.14em;text-transform:uppercase;font-size:.7rem;color:var(--mch-g);font-weight:500}
.mch-bar-offer{font-weight:700;letter-spacing:.02em}
.mch-bar-sep{color:rgba(255,216,101,.55)}
.mch-bar a.mch-bar-link{color:var(--mch-g);text-decoration:none;font-weight:600;white-space:nowrap;border-bottom:1px solid rgba(255,216,101,.4)}
.mch-bar a.mch-bar-link:hover{border-bottom-color:var(--mch-g)}
.mch-bar-overlay{width:100%;font-size:.76rem;color:var(--mch-cr)}
.mch-bar-overlay strong{color:#fff}
.mch-gift-ico{width:16px;height:16px;flex:none;vertical-align:-3px}
@media(max-width:640px){
  .mch-bar{font-size:.74rem}
  .mch-bar-inner{padding:.4rem .6rem;gap:.25rem .5rem}
  .mch-bar .mch-hide-sm{display:none}
}

/* ---------- code chip + copy ---------- */
.mch-code{display:inline-flex;align-items:center;gap:.35rem;font-family:'DM Mono',monospace;font-weight:500;letter-spacing:.12em;white-space:nowrap}
.mch-code-value{background:rgba(255,216,101,.14);border:1px dashed rgba(255,216,101,.75);color:var(--mch-g);padding:.08rem .5rem;border-radius:4px}
.mch-copy{font:600 .68rem 'DM Sans',sans-serif;letter-spacing:.04em;text-transform:uppercase;background:var(--mch-g);color:var(--mch-p);border:0;border-radius:4px;padding:.22rem .5rem;cursor:pointer}
.mch-copy:hover{background:#ffe48f}
.mch-copy:focus-visible,.mch-btn:focus-visible,.mch-bar a:focus-visible{outline:2px solid var(--mch-g);outline-offset:2px}
.mch-light .mch-code-value{background:#fff8dc;color:var(--mch-p);border-color:var(--mch-gd)}

/* ---------- full-width festive banner ---------- */
.mch-hero-banner{position:relative;overflow:hidden;background:radial-gradient(ellipse at 20% 0%,rgba(255,216,101,.12),transparent 55%),linear-gradient(160deg,#2E294E 0%,#1a1635 60%,#130f28 100%);color:#fff;padding:3rem 1.5rem;border-top:1px solid rgba(255,216,101,.2);border-bottom:1px solid rgba(255,216,101,.2)}
.mch-hero-banner .mch-ribbon-v,.mch-hero-banner .mch-ribbon-h{position:absolute;background:var(--mch-foil);opacity:.9;pointer-events:none}
.mch-hero-banner .mch-ribbon-v{top:0;bottom:0;right:11%;width:18px;box-shadow:0 0 18px rgba(255,216,101,.25)}
.mch-hero-banner .mch-ribbon-h{left:0;right:0;top:26px;height:10px;opacity:.55}
.mch-bow{position:absolute;right:calc(11% - 41px);top:-4px;width:100px;height:70px;pointer-events:none}
.mch-sprig{position:absolute;left:-10px;bottom:-14px;width:170px;opacity:.55;pointer-events:none}
.mch-sparkle{position:absolute;width:14px;height:14px;color:var(--mch-g);opacity:.7;pointer-events:none}
.mch-hero-banner-inner{position:relative;max-width:1000px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:center}
.mch-eyebrow{font-family:'DM Mono',monospace;font-size:.7rem;letter-spacing:.26em;text-transform:uppercase;color:var(--mch-g);margin-bottom:.8rem}
.mch-hero-title{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:clamp(2.2rem,5vw,3.6rem);line-height:1;margin:0 0 .4rem;letter-spacing:.01em}
.mch-foil-text{background:var(--mch-foil);-webkit-background-clip:text;background-clip:text;color:transparent}
.mch-hero-offer{font-family:'DM Sans',sans-serif;font-weight:700;font-size:clamp(1.15rem,2.4vw,1.6rem);letter-spacing:.06em;margin-bottom:.6rem}
.mch-hero-slogan{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.2rem,2.2vw,1.55rem);color:var(--mch-cr);margin-bottom:1rem}
.mch-hero-side{background:rgba(255,255,255,.05);border:1px solid rgba(255,216,101,.28);border-radius:12px;padding:1.4rem;text-align:center;backdrop-filter:blur(2px)}
.mch-hero-side .mch-code{font-size:1.05rem;margin:.35rem 0 .8rem}
.mch-ends{font-size:.82rem;color:var(--mch-lv);margin-top:.6rem}
.mch-btns{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center}
.mch-hero-banner .mch-btns{justify-content:flex-start}
.mch-hero-side .mch-btns{justify-content:center}
.mch-btn{display:inline-block;font:700 .9rem 'DM Sans',sans-serif;padding:.8rem 1.4rem;border-radius:6px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .15s,background .15s}
.mch-btn:hover{transform:translateY(-1px)}
.mch-btn-primary{background:var(--mch-c);color:#fff;border-color:var(--mch-c)}
.mch-btn-primary:hover{background:#d94149;border-color:#d94149}
.mch-btn-gold{background:var(--mch-g);color:var(--mch-p);border-color:var(--mch-g)}
.mch-btn-ghost{background:transparent;color:var(--mch-g);border-color:rgba(255,216,101,.45)}
.mch-btn-ghost:hover{border-color:var(--mch-g)}
.mch-btn[disabled]{opacity:.55;cursor:not-allowed;transform:none}
@media(max-width:760px){
  .mch-hero-banner{padding:2.2rem 1.1rem}
  .mch-hero-banner-inner{grid-template-columns:1fr}
  .mch-hero-banner .mch-ribbon-v{right:6%;width:12px}
  .mch-bow{right:calc(6% - 44px);transform:scale(.8)}
}
.mch-preview-tag{display:inline-block;font:500 .62rem 'DM Mono',monospace;letter-spacing:.14em;text-transform:uppercase;background:var(--mch-c);color:#fff;border-radius:3px;padding:.1rem .4rem;margin-left:.4rem}

/* Black Friday overlay styling */
.mch-theme-blackfriday.mch-hero-banner{background:radial-gradient(ellipse at 80% 0%,rgba(242,84,91,.18),transparent 55%),linear-gradient(160deg,#130f28,#0c0a1a)}

/* ---------- price note next to checkout buttons ---------- */
.mch-note{display:block;margin:.55rem 0 .2rem;padding:.55rem .7rem;border-radius:8px;background:#fffaf0;border:1px solid rgba(212,160,23,.45);color:#2E294E;font:400 .8rem/1.45 'DM Sans',sans-serif;text-align:left}
.mch-note-row{display:flex;flex-wrap:wrap;gap:.25rem .6rem;align-items:baseline}
.mch-note-label{font:500 .62rem 'DM Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:#9a7406}
.mch-note-reg{text-decoration:line-through;color:#6B6485}
.mch-note-price{font-weight:700;font-size:.95rem;color:#2E294E}
.mch-note-save{color:#1f7a45;font-weight:600}
.mch-note-code{font-family:'DM Mono',monospace;font-weight:600;letter-spacing:.08em;background:#fff1b8;border:1px dashed #D4A017;border-radius:3px;padding:0 .35rem}
.mch-note-bonus{margin-top:.3rem;color:#2E294E}
.mch-note-gift{display:inline-block;margin-top:.35rem;font-weight:600;color:#2E294E;text-decoration:none;border-bottom:1px solid #D4A017}
.mch-note-gift:hover{color:#d94149}
.mch-note-fine{display:block;margin-top:.2rem;font-size:.72rem;color:#6B6485}
.mch-note.mch-note-compact{padding:.35rem .55rem;font-size:.74rem;margin:.35rem 0}

/* Give-as-a-gift reusable button */
.mch-gift-btn{display:inline-flex;align-items:center;gap:.35rem;font:600 .82rem 'DM Sans',sans-serif;color:#2E294E;background:#fff;border:1px solid #D4A017;border-radius:6px;padding:.45rem .8rem;text-decoration:none}
.mch-gift-btn:hover{background:#fff8dc}

/* ---------- slot blocks (Accelerator special etc.) ---------- */
.mch-special{position:relative;overflow:hidden;border-radius:14px;padding:1.5rem 1.6rem;margin:1.5rem 0;background:linear-gradient(150deg,#2E294E,#1a1635);color:#fff;border:1px solid rgba(255,216,101,.35)}
.mch-special h3{font-family:'Cormorant Garamond',serif;font-size:1.7rem;margin:.1rem 0 .4rem;color:#fff}
.mch-special p{color:var(--mch-cr);font-size:.92rem;line-height:1.6;margin:.3rem 0}
.mch-special .mch-ribbon-v{position:absolute;top:0;bottom:0;right:28px;width:10px;background:var(--mch-foil);opacity:.8}
.mch-special-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin:.9rem 0}
.mch-special-prices div{background:rgba(255,255,255,.06);border:1px solid rgba(217,221,235,.15);border-radius:8px;padding:.6rem .7rem}
.mch-special-prices b{display:block;color:var(--mch-g);font-size:1.05rem}
.mch-special-prices s{color:var(--mch-lv);opacity:.7;font-size:.8rem}
.mch-special-prices span{display:block;font-size:.75rem;color:var(--mch-lv)}

/* ---------- countdown ---------- */
.mch-countdown{display:inline-flex;gap:.6rem;font-family:'DM Mono',monospace;color:var(--mch-lv);font-size:.78rem;letter-spacing:.06em}
.mch-countdown b{color:#fff;font-size:1.05rem;font-weight:500}

.mch-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mch-toast{position:fixed;left:50%;bottom:1.25rem;transform:translateX(-50%);background:#2E294E;color:#fff;border:1px solid var(--mch-g);border-radius:8px;padding:.55rem .9rem;font:500 .85rem 'DM Sans',sans-serif;z-index:200;opacity:0;transition:opacity .2s;pointer-events:none}
.mch-toast.show{opacity:1}

/* keep sticky sidebars clear of the fixed bar */
body.mch-has-fixed-bar .price-sidebar,body.mch-has-fixed-bar .pricing-sidebar{top:calc(5rem + var(--mch-bar-h))!important}

@media (prefers-reduced-motion:reduce){.mch-btn,.mch-toast{transition:none}}
@media print{.mch-bar,.mch-hero-banner,.mch-note{display:none!important}}
/* Labelled codes when a sale has more than one (e.g. HOLIDAYS + HOLIDAYS100) */
.mch-code-group{display:inline-flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin:.1rem .4rem .1rem 0}
.mch-code-for{font-size:.78em;opacity:.85}
.mch-hero-side .mch-code-group{margin:.25rem 0}
