/* Black Friday 2026 (design "Black Friday Notice"): bar above the header, homepage banner, product page note, cart
   nudge and the "Black Friday -33%" product label. Store views with mms_design/bf/enabled = 1; the templates
   (mms/bf/*.phtml) print nothing outside the sale window, so this file can stay loaded after the sale.
   Near-black is used only for Black Friday; discount figures use the sale orange; buttons follow the store view's
   theme blue/olive (--mb-blue) with the design's blue as fallback. */
:root{--bf-ink:#14202b;--bf-line:#35424e;--bf-soft:#d6e9f8;--bf-sale:#a84300;--bf-btn:var(--mb-blue,#1c5f9e)}
.mms-bf-bar,.mms-bf-bar *,.mms-bf-home,.mms-bf-home *,.mms-bf-pdp,.mms-bf-pdp *,.mms-bf-cart,.mms-bf-cart *{box-sizing:border-box}

/* ---- bar above the header ---- */
.mms-bf-bar{background:var(--bf-ink);color:#fff;font-size:15px;line-height:1.3;position:relative;z-index:50}
.mms-bf-bar__in{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:6px;min-height:48px}
.mms-bf-bar__tag{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px;margin-right:14px;white-space:nowrap}
.mms-bf-bar__deals{display:flex;align-items:center}
.mms-bf-bar a.mms-bf-bar__deal{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-left:1px solid var(--bf-line);color:#fff!important;text-decoration:none!important;white-space:nowrap}
.mms-bf-bar a.mms-bf-bar__deal:hover,.mms-bf-bar a.mms-bf-bar__deal:focus{background:var(--bf-line)}
.mms-bf-bar__deal b{font-size:17px}
.mms-bf-bar__deal i{font-style:normal;color:var(--bf-soft)}
.mms-bf-bar__short,.mms-bf-bar__dots{display:none}
.mms-bf-bar__x{margin-left:auto;width:44px;height:44px;border:0;background:none;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:0;flex:none}
.mms-bf-bar__x:hover{background:var(--bf-line)}
.mms-bf-bar a:focus-visible,.mms-bf-bar__x:focus-visible{outline:2px solid #fff;outline-offset:-2px}
@media (max-width:1000px){
  .mms-bf-bar__long{display:none}.mms-bf-bar__short{display:inline}
  .mms-bf-bar a.mms-bf-bar__deal{padding:0 10px}
}
@media (max-width:767px){
  .mms-bf-bar__in{padding:0 0 0 16px;gap:10px}
  .mms-bf-bar__tag{font-size:11px;color:var(--bf-soft);margin:0;flex:none}
  .mms-bf-bar__deals{flex:1;min-width:0}
  .mms-bf-bar a.mms-bf-bar__deal{display:none;border:0;padding:0;font-size:15px;min-height:48px}
  .mms-bf-bar__deals{overflow:hidden}
  .mms-bf-bar a.mms-bf-bar__deal{min-width:0;gap:6px}
  .mms-bf-bar__deal b{flex:none}
  .mms-bf-bar__short{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  .mms-bf-bar__deal i{flex:none}
  .mms-bf-bar a.mms-bf-bar__deal.is-cur{display:flex}
  .mms-bf-bar__deal b{font-size:15px}
  .mms-bf-bar__dots{display:flex;gap:5px;flex:none}
  .mms-bf-bar__dots i{width:7px;height:7px;border-radius:50%;background:#55606b}
  .mms-bf-bar__dots i.is-cur{background:#fff}
  .mms-bf-bar__x{margin-left:0}
}
@media (max-width:359px){.mms-bf-bar__tag{display:none}}

/* ---- homepage banner ---- */
.mms-bf-home{background:var(--bf-ink);color:#fff;border-radius:12px;padding:36px 40px 40px;margin:20px auto 28px;max-width:1200px;font-size:15px;line-height:1.5}
.mms-bf-home__head{display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;margin-bottom:20px}
.mms-bf-home h2{font-size:44px;line-height:1.05;font-weight:700;letter-spacing:-.025em;margin:0;color:#fff;text-transform:none}
.mms-bf-home__head p{margin:0;color:var(--bf-soft);font-size:17px}
.mms-bf-home ul.mms-bf-home__deals{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mms-bf-home__deals li{margin:0;padding:0;background:none;display:flex}
.mms-bf-home__deals a{flex:1;background:#fff;color:var(--bf-ink)!important;border-radius:12px;padding:22px 22px 20px;display:flex;flex-direction:column;text-decoration:none!important}
.mms-bf-home__big{font-size:56px;line-height:1;font-weight:700;letter-spacing:-.035em;color:var(--bf-sale);white-space:nowrap}
.mms-bf-home__txt{display:block;margin:8px 0 16px}
.mms-bf-home__txt b{display:block;font-size:21px;letter-spacing:-.01em;line-height:1.25}
.mms-bf-home__txt span{color:#35424e}
.mms-bf-home__cta{margin-top:auto;background:var(--bf-btn);color:#fff;font-weight:700;min-height:50px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 14px;text-align:center}
.mms-bf-home__deals a:hover .mms-bf-home__cta{filter:brightness(.88)}
.mms-bf-home__arrow{display:none}
.mms-bf-home a:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:1180px){.mms-bf-home__big{font-size:44px}}
@media (max-width:900px){.mms-bf-home__big{font-size:34px}}
@media (max-width:767px){
  .mms-bf-home{border-radius:0;margin:0 0 20px;padding:22px 16px 18px}
  .mms-bf-home h2{font-size:32px}
  .mms-bf-home__head{display:block;margin-bottom:14px}
  .mms-bf-home__head p{font-size:16px;margin-top:4px}
  .mms-bf-home ul.mms-bf-home__deals{grid-template-columns:1fr;gap:8px}
  .mms-bf-home__deals a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-height:76px;padding:10px 14px;font-size:16px}
  .mms-bf-home__big{font-size:24px;letter-spacing:-.03em;white-space:nowrap;min-width:80px}
  .mms-bf-home__txt{margin:0}
  .mms-bf-home__txt b{font-size:16px}
  .mms-bf-home__txt span{font-size:14px}
  .mms-bf-home__cta{display:none}
  .mms-bf-home__arrow{display:block;font-style:normal;color:var(--bf-btn);font-size:18px}
}

/* ---- product page note ---- */
.mms-bf-pdp{margin:10px 0 12px;background:var(--bf-ink);color:#fff;border-radius:10px;padding:10px 14px;display:flex;justify-content:space-between;gap:6px 12px;align-items:center;flex-wrap:wrap;font-size:15px;line-height:1.4}
.mms-bf-pdp b{color:#fff}
.mms-bf-pdp a{color:var(--bf-soft)!important;font-weight:600;white-space:nowrap;text-decoration:none}
.mms-bf-pdp a:hover{text-decoration:underline}

/* ---- cart nudge (liquid cultures 3 for 2) ---- */
.mms-bf-cart{background:#e8f2fa;border-radius:10px;padding:12px 14px;margin:0 0 18px;max-width:560px;font-size:15px;line-height:1.45;color:#35424e}
.mms-bf-cart b{display:block;color:var(--bf-ink)}
.mms-bf-cart__bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.mms-bf-cart__bars i{height:8px;border-radius:4px;background:#fff}
.mms-bf-cart__bars i.on{background:var(--bf-btn)}
.mms-bf-cart a{margin-top:12px;background:#fff;border:1.5px solid #6f8799;color:var(--bf-ink)!important;font-weight:600;min-height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;text-decoration:none!important}
.mms-bf-cart a:hover{border-color:var(--bf-btn);color:var(--bf-btn)!important}

/* ---- product label "Black Friday -33%" (Infortis_Ultimo_Helper_Labels) ---- */
.sticker-wrapper .sticker.mms-bf-sticker{background:var(--bf-ink)!important;color:#fff!important;width:auto!important;height:auto!important;line-height:1.3!important;padding:3px 8px!important;border-radius:6px!important;font-size:13px!important;font-weight:700;white-space:nowrap;text-indent:0!important}
