/* ============================================
   SIPO API Dynamic Component Styles
   Masala Station — brand-matched
   ============================================ */

/* ---- Status Strip (top bar) ---- */
.status-strip {
    background: #5C3A21;              /* deep brown default */
    color: #F8F4EA;                  /* cream */
    padding: 9px 0;
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    transition: background 0.35s ease;
}
.status-strip.open { background: #788C45; }      /* olive green */
.status-strip.closed { background: #9c3d24; }    /* warm terracotta-red */
.status-strip.error { background: #5C3A21; }

.status-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
}
.status-strip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: #F8F4EA;
    box-shadow: 0 0 0 3px rgba(248, 244, 234, 0.18);
    flex-shrink: 0;
}
.status-strip-text .countdown-timer { font-weight: 600; }

/* ---- Base Modal (retained for completeness; pop-ups disabled by config) ---- */
.sipo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 36, 32, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}
.sipo-modal-overlay.active { opacity: 1; visibility: visible; }
.sipo-modal {
    background: #5C3A21;
    color: #F8F4EA;
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.sipo-modal-overlay.active .sipo-modal { transform: translateY(0); }
.sipo-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: transparent;
    border: none;
    color: #F8F4EA;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
}
.sipo-modal-close:hover { opacity: 1; }
.sipo-modal-icon { margin-bottom: 1.2rem; }
.sipo-modal-title { font-family: "Playfair Display", serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 0.8rem; color: #F8F4EA; }
.sipo-modal-text { font-size: 0.98rem; color: rgba(248, 244, 234, 0.82); margin-bottom: 1.8rem; line-height: 1.6; }
.sipo-modal-btn { display: inline-block; }
.offer-modal { border: 2px solid #D98932; }
.offer-modal .sipo-modal-title { color: #D98932; }

/* ---- Ordering Disabled State ---- */
body.ordering-disabled .btn--primary,
body.ordering-disabled [data-order-url],
body.ordering-disabled a.order-link {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.4);
}
