/* SPIRI SPIN — Black Days 2026. Namespaced; no changes to site's normal popup. */
#spw-bf-bar { display:none !important; }
html.spw-bf-active #spw-bf-bar:not([hidden]) { display:block !important; }
.spw-bf-bar { background:#1F5645; color:#fff; width:100%; border-top:1px solid rgba(255,255,255,.18); box-shadow:0 4px 12px rgba(0,0,0,.1); }
.spw-bf-bar-inner { min-height:46px; max-width:1450px; padding:7px 20px; margin:0 auto; display:flex; gap:18px; justify-content:center; align-items:center; flex-wrap:wrap; font-family:Poppins,Arial,sans-serif; line-height:1.25; }
.spw-bf-bar-label { color:#FCEE2F; font-size:13px; font-weight:700; letter-spacing:.1em; white-space:nowrap; }
.spw-bf-bar-label span { font-size:17px; }
.spw-bf-bar-offers { color:#fff; font-size:13px; font-weight:400; text-align:center; }
.spw-bf-bar-offers strong { color:#FCEE2F; font-weight:700; }
.spw-bf-sep { color:#fcee2f; margin:0 5px; }
.spw-bf-bar-offers-mobile { display:none; }
.spw-bf-bar-cta { flex-shrink:0; padding:8px 16px; background:#FCEE2F; border-radius:30px; font-size:11px; font-weight:700; line-height:1.2; color:#1F5645 !important; text-decoration:none!important; white-space:nowrap; transition:background .2s,transform .2s; }
.spw-bf-bar-cta:hover,.spw-bf-bar-cta:focus-visible { background:#fff176; transform:translateY(-1px); color:#1F5645!important; }
.spw-bf-bar-cta span { margin-left:5px; }
@media(max-width:900px) { .spw-bf-bar-inner { gap:10px; } .spw-bf-bar-label { font-size:11px; } .spw-bf-bar-offers { font-size:12px; } }
@media(max-width:620px) {
  .spw-bf-bar-inner { justify-content:center; flex-wrap:nowrap; gap:9px; padding:7px 10px; min-height:44px; }
  .spw-bf-bar-label { font-size:10px; letter-spacing:0; }
  .spw-bf-bar-label span { display:none; }
  .spw-bf-bar-offers { display:none; }
  .spw-bf-bar-offers-mobile { display:inline; flex:0 1 auto; white-space:nowrap; color:#fff; font-size:10px; }
  .spw-bf-bar-offers-mobile strong { color:#FCEE2F; }
  .spw-bf-bar-cta { padding:8px 9px; font-size:10px; }
}
@media(max-width:370px) {
  .spw-bf-bar-label { display:none; }
  .spw-bf-bar-inner { gap:9px; }
}

/* Fancybox inline popup. Static SVG, pointer and hub are purely graphic. */
#popup-spiri-black-days { box-sizing:border-box; padding:0; margin:0; background:#1F5645; width:min(830px,calc(100vw - 28px)); max-width:830px; border-radius:17px; overflow:hidden; color:#fff; font-family:Poppins,Arial,sans-serif; }
.spw-bf-popup-grid { display:grid; grid-template-columns:44% 56%; min-height:416px; }
.spw-bf-popup-visual { background:#174738; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:23px 12px 18px; overflow:hidden; }
.spw-bf-wheel-kicker { font-size:17px; letter-spacing:.11em; font-weight:700; color:#FCEE2F; }
.spw-bf-wheel-frame { width:min(100%,320px); aspect-ratio:1; position:relative; display:grid; place-items:center; pointer-events:none; user-select:none; }
.spw-bf-wheel-frame::before { content:""; position:absolute; inset:0; border:1px dashed rgba(252,238,47,.4); border-radius:50%; }
.spw-bf-wheel-disc { width:89%; height:89%; filter:drop-shadow(0 12px 22px rgba(0,0,0,.21)); }
.spw-bf-wheel-svg { display:block; width:100%; height:100%; }
.spw-bf-wheel-pointer { position:absolute; top:1%; left:50%; transform:translateX(-50%); width:27px; height:36px; }
.spw-bf-wheel-hub { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:23%; height:23%; background:#153d30; color:#FCEE2F; border:5px solid #f0f1cf; border-radius:50%; display:grid; place-items:center; font-size:22px; line-height:1; letter-spacing:-.03em; font-weight:700; box-shadow:0 4px 16px rgba(0,0,0,.22); }
.spw-bf-wheel-footer { font-size:10px; letter-spacing:.2em; color:#d8e4c5; font-weight:700; }
.spw-bf-popup-copy { padding:43px 37px 30px; display:flex; align-items:flex-start; flex-direction:column; justify-content:center; }
.spw-bf-popup-pill { font-size:10px; font-weight:700; color:#FCEE2F; letter-spacing:.13em; margin-bottom:12px; }
.spw-bf-popup-copy h2 { color:#fff; margin:0 0 17px; font-size:clamp(28px,3.6vw,42px); line-height:1.06; letter-spacing:-.055em; font-weight:700; }
.spw-bf-popup-copy h2 em { color:#FCEE2F; font-style:normal; }
.spw-bf-popup-copy >p:not(.spw-bf-popup-note) { font-size:14px; line-height:1.6; color:#f7f8e7; margin:0 0 12px; }
.spw-bf-prize-list { list-style:none; margin:0 0 20px; padding:0; display:grid; gap:8px; width:100%; }
.spw-bf-prize-list li { display:flex; align-items:baseline; gap:10px; border-bottom:1px solid rgba(255,255,255,.16); padding:0 0 7px; font-size:14px; line-height:1.4; color:#f7f8e7; }
.spw-bf-prize-list strong { color:#FCEE2F; font-weight:700; white-space:nowrap; font-size:19px; }
.spw-bf-popup-cta { display:inline-flex; justify-content:center; align-items:center; gap:12px; background:#FCEE2F; color:#173d30!important; font-weight:700; font-size:13px; padding:14px 23px; border-radius:8px; text-decoration:none!important; transition:filter .15s,transform .15s; }
.spw-bf-popup-cta:hover,.spw-bf-popup-cta:focus-visible { filter:brightness(1.08); transform:translateY(-1px); color:#173d30!important; }
.spw-bf-popup-note { font-size:10px; line-height:1.45; color:#d4e7d8; margin:14px 0 0; }
@media(max-width:650px) { #popup-spiri-black-days { width:min(100%,440px); max-width:calc(100vw - 24px); } .spw-bf-popup-grid { grid-template-columns:1fr; } .spw-bf-popup-visual { padding:10px 10px 7px; } .spw-bf-wheel-kicker { font-size:12px; } .spw-bf-wheel-frame { max-width:198px; } .spw-bf-wheel-pointer { width:20px; height:27px; } .spw-bf-wheel-hub { font-size:14px; border-width:3px; } .spw-bf-wheel-footer { font-size:9px; } .spw-bf-popup-copy { padding:21px 24px 24px; } .spw-bf-popup-copy h2 { font-size:31px; margin-bottom:9px; } .spw-bf-popup-copy >p:not(.spw-bf-popup-note) { font-size:12px; margin-bottom:8px; } .spw-bf-prize-list { margin-bottom:13px; gap:4px; } .spw-bf-prize-list li { font-size:12px; padding-bottom:5px; } .spw-bf-prize-list strong { font-size:16px; } .spw-bf-popup-cta { width:100%; font-size:12px; } }
@media(max-width:390px) { .spw-bf-wheel-frame { max-width:156px; } .spw-bf-popup-copy { padding:15px 18px 18px; } .spw-bf-popup-copy h2 { font-size:28px; } }
@media(prefers-reduced-motion:reduce) { .spw-bf-bar-cta,.spw-bf-popup-cta {transition:none;} }

/* REV5: mega-menu starts directly beneath the navigation, overlaying the promo strip.
   While hovered, the strip stays on the page but sits BEHIND the mega-menu. */
@media (min-width: 992px) {
  html.spw-bf-active #header #main-menu > li > .sub-menu.mega-grid {
    top: calc(100% - var(--spw-bf-banner-height, 0px) + 1px);
    z-index: 1001;
  }
  /* Bridge from nav item through the navigation row's bottom padding. */
  html.spw-bf-active #header #main-menu > li.menu-item-has-children {
    --hover-buffer: 88px;
  }
}
/* Dedicated popup close button. Fancybox's external close is disabled for BF only. */
#popup-spiri-black-days { position: relative; }
#popup-spiri-black-days .spw-bf-popup-close {
  position:absolute;top:12px;right:12px;z-index:20;display:flex;
  align-items:center;justify-content:center;width:40px;height:40px;
  border:0;border-radius:50%;background:#FCEE2F;color:#1F5645;
  cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.18);
  transition:background-color .2s ease;
}
#popup-spiri-black-days .spw-bf-popup-close:hover,
#popup-spiri-black-days .spw-bf-popup-close:focus-visible {
  background:#fff;outline:2px solid #1F5645;outline-offset:2px;
}
#popup-spiri-black-days .spw-bf-popup-close svg {display:block;pointer-events:none;}
@media(max-width:650px) {
  #popup-spiri-black-days .spw-bf-popup-close {top:9px;right:9px;width:36px;height:36px;}
}
