/* ============================================
   SIPO Status Strip — The Peppermill Cafe
   ============================================
   Only the status strip is styled here; this site
   uses no API-driven modals or menu components.
   ============================================ */

:root {
    --strip-height: 34px;
}

.status-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;           /* above the site header (z-index 1000) */

    background: #16213e;
    color: #fff;
    padding: 8px 16px;
    font-family: 'Antonio', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.3;

    transform: translateY(-100%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease, background-color .3s ease;
}

/* Slide in once a state class is applied. */
.status-strip.open,
.status-strip.closed,
.status-strip.error {
    transform: translateY(0);
    opacity: 1;
}

.status-strip.open   { background: #0b5f43; }
.status-strip.closed { background: #7f1d1d; }
.status-strip.error  { background: #3f3f46; }

.status-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.status-strip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: #ef4444;
}

.status-strip-dot.is-open {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: sipo-pulse 2s infinite;
}

@keyframes sipo-pulse {
    70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.countdown-timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* Push the site's fixed header below the strip. */
body.has-status-strip .header {
    top: var(--strip-height);
}

@media (max-width: 480px) {
    .status-strip {
        font-size: 0.76rem;
        padding: 7px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-strip { transition: none; }
    .status-strip-dot.is-open { animation: none; }
}
