/* ============================================
   SIPO injected component styles
   Status strip + branch (order) modal
   ============================================ */

/* ---------- status strip ---------- */
.status-strip{
  position:fixed;top:0;left:0;right:0;z-index:1100;
  background:#111214;border-bottom:1px solid rgba(255,255,255,.08);
  font-family:var(--body);font-size:12.5px;line-height:1.4;
}
.status-strip.all-closed{background:#17100f}
.status-strip.error{background:#1a1413}
.status-strip-inner{
  max-width:var(--shell);margin:0 auto;padding:8px 24px;
  display:flex;align-items:center;justify-content:center;
  gap:14px;flex-wrap:wrap;text-align:center;
}
.status-strip-loading{color:rgba(255,255,255,.55)}
.status-branch{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.status-branch b{font-weight:600;color:#fff;letter-spacing:.2px}
.status-branch .status-label{color:rgba(255,255,255,.62)}
.status-branch.is-open .status-label{color:#4ade80}
.status-branch.is-closed .status-label{color:#ff8080}
.status-dot{
  width:7px;height:7px;border-radius:50%;background:#9aa0a6;flex:0 0 7px;
}
.status-branch.is-open .status-dot{
  background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:pmPulse 2.2s infinite;
}
.status-branch.is-closed .status-dot{background:var(--red,#EC2224)}
@keyframes pmPulse{
  70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}
  100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}
}
.status-sep{width:1px;height:13px;background:rgba(255,255,255,.16)}

/* push the fixed header + page below the strip */
:root{--strip-height:0px}
body.has-status-strip .site-header{top:var(--strip-height)}
body.has-status-strip section,
body.has-status-strip footer{scroll-margin-top:calc(78px + var(--strip-height))}

/* ---------- ordering disabled ---------- */
body.ordering-disabled [data-order-trigger],
body.ordering-disabled [data-order-branch]{opacity:.55;pointer-events:none}

/* ---------- branch modal ---------- */
.pm-modal-overlay{
  position:fixed;inset:0;z-index:2000;
  display:flex;align-items:center;justify-content:center;padding:22px;
  background:rgba(0,0,0,.74);backdrop-filter:blur(4px);
  opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;
}
.pm-modal-overlay.active{opacity:1;visibility:visible}
body.pm-modal-open{overflow:hidden}
.pm-modal{
  position:relative;width:100%;max-width:420px;
  background:#141518;border:1px solid rgba(255,255,255,.1);border-radius:20px;
  padding:34px 28px 30px;text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:translateY(16px) scale(.98);transition:transform .25s ease;
}
.pm-modal-overlay.active .pm-modal{transform:none}
.pm-modal-close{
  position:absolute;top:12px;right:14px;width:34px;height:34px;
  background:transparent;border:0;color:rgba(255,255,255,.5);
  font-size:26px;line-height:1;cursor:pointer;border-radius:50%;transition:.18s;
}
.pm-modal-close:hover{color:#fff;background:rgba(255,255,255,.08)}
.pm-modal-title{
  font-family:var(--display);font-weight:400;text-transform:uppercase;
  font-size:27px;letter-spacing:1px;margin:0 0 6px;color:#fff;
}
.pm-modal-text{margin:0 0 22px;font-size:14px;color:rgba(255,255,255,.6)}
.pm-branch-list{display:flex;flex-direction:column;gap:13px}
.pm-branch-btn{
  display:block;padding:15px 18px;border-radius:14px;text-decoration:none;
  background:var(--red,#EC2224);color:#fff;border:2px solid var(--red,#EC2224);
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.pm-branch-btn:hover,.pm-branch-btn:focus-visible{
  background:var(--yellow,#FBCA1F);border-color:var(--yellow,#FBCA1F);color:#111;transform:translateY(-2px);
}
.pm-branch-name{
  display:block;font-family:var(--body);font-weight:600;font-size:16px;letter-spacing:.3px;
}
.pm-branch-sub{display:block;font-size:12.5px;opacity:.85;margin-top:2px}
.pm-branch-state{display:block;font-size:11.5px;margin-top:6px;font-weight:600;opacity:.95}
.pm-branch-btn:hover .pm-branch-state.is-open,
.pm-branch-btn:hover .pm-branch-state.is-closed{color:inherit}
.pm-branch-state.is-open{color:#c9ffd8}
.pm-branch-state.is-closed{color:#ffd9d9}

/* ---------- hours summary inline ---------- */
.hours-summary-row{display:block;font-size:14px;color:rgba(255,255,255,.7);line-height:1.75}
.hours-summary-row b{color:#fff;font-weight:600;margin-right:7px}

/* ---------- mobile: no status strip ----------
   The strip is desktop-only. Phones still get live open/closed
   state from the store cards, the contact page and the order popup,
   so nothing is lost by dropping a fixed bar off a small screen.
   Hiding it makes offsetHeight 0, so --strip-height collapses and
   the header returns to the top of its own accord. */
@media (max-width:760px){
  .status-strip{display:none}
  body.has-status-strip .site-header{top:0}
  body.has-status-strip section,
  body.has-status-strip footer{scroll-margin-top:78px}
}
