/* ─── HERO BADGES ──────────────────────────────────────────────────────────── */

.co-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

.co-badge.open {
    background: #00a32a;
    color: #fff;
}

.co-badge.closed {
    background: #d63638;
    color: #fff;
}

/* ─── HERO COUNTDOWN ───────────────────────────────────────────────────────── */

#fpbl-hero-cd {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.02em;
    text-align: center;
}

.fpbl-hero-cd-label { opacity: 0.85; }

.fpbl-hero-cd-timer {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-variant-numeric: tabular-nums;
}

.fpbl-hero-cd-closed {
    color: rgba(255, 140, 140, 0.9);
    font-style: italic;
}

/* ─── CUTOFF STRIP COUNTDOWN ───────────────────────────────────────────────── */

#fpbl-strip-cd {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

.fpbl-strip-timer {
    font-weight: 700;
    color: #061bb0;
    font-variant-numeric: tabular-nums;
}

/* ─── MODAL OVERLAY ────────────────────────────────────────────────────────── */

#fpbl-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#fpbl-modal-overlay.is-visible {
    display: flex;
}

/* ─── MODAL BOX ────────────────────────────────────────────────────────────── */

.fpbl-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.fpbl-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    padding: 0;
}

.fpbl-modal-close:hover { color: #333; }

.fpbl-modal-icon { font-size: 40px; margin-bottom: 12px; }

.fpbl-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #061bb0;
    margin: 0 0 12px;
}

.fpbl-modal-body {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* ─── BUTTONS — brand style: pill shape, #061bb0, white text ──────────────── */

.fpbl-btn {
    display: block;
    width: 100%;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.15s;
    box-sizing: border-box;
    letter-spacing: 0.01em;
}

.fpbl-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.fpbl-btn:active {
    transform: translateY(0);
}

/* WhatsApp button — green pill */
.fpbl-btn-wa {
    background: #25d366;
    color: #fff !important;
    margin-bottom: 20px;
}

/* Subscribe button — brand blue pill, matches your site's primary button */
.fpbl-btn-subscribe {
    background: #061bb0 !important;
    color: #fff !important;
    border: none !important;
    margin-top: 10px;
    box-shadow: none !important;
    outline: none !important;
}

.fpbl-btn-subscribe:hover {
    background: #0a25d4 !important;
    color: #fff !important;
}

.fpbl-btn-subscribe:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ─── DIVIDER ──────────────────────────────────────────────────────────────── */

.fpbl-modal-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: #aaa;
    font-size: 13px;
}

.fpbl-modal-divider::before,
.fpbl-modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

/* ─── SUBSCRIBE FORM ───────────────────────────────────────────────────────── */

.fpbl-subscribe-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.fpbl-subscribe-sub {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
    line-height: 1.5;
}

#fpbl-email-input {
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid #ddd;
    border-radius: 50px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
}

#fpbl-email-input:focus {
    border-color: #061bb0;
    box-shadow: 0 0 0 3px rgba(6, 27, 176, 0.08);
}

.fpbl-subscribe-feedback {
    font-size: 13px;
    margin: 8px 0 0;
    min-height: 18px;
}

.fpbl-subscribe-feedback.is-success { color: #00a32a; }
.fpbl-subscribe-feedback.is-error   { color: #d63638; }

/* ─── PRODUCT PAGE CLOSED NOTICE ───────────────────────────────────────────── */

.fpbl-product-closed {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    color: #555;
    margin: 16px 0;
    text-align: left;
}

.fpbl-link-btn {
    background: none;
    border: none;
    color: #061bb0;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

/* ─── CHECKOUT DELIVERY DATE PICKER ───────────────────────────────────────── */

.fpbl-checkout-field {
    margin: 24px 0 20px;
    padding: 20px 22px;
    border: 2px solid #061bb0;
    border-radius: 12px;
    background: #f9f9ff;
}

.fpbl-checkout-field h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #061bb0;
    font-family: inherit;
}

.fpbl-checkout-field select {
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid #ccd0f5;
    border-radius: 8px;
    font-size: 0.92rem;
    background: #fff;
    color: #1a1a2e;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.fpbl-checkout-field select:focus {
    outline: none;
    border-color: #061bb0;
    box-shadow: 0 0 0 3px rgba(6, 27, 176, 0.1);
}

.fpbl-picker-note {
    font-size: 0.78rem;
    color: #666;
    margin: 8px 0 0;
}

.fpbl-no-slots {
    padding: 14px 18px;
    border: 2px solid #fbbf24;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    margin: 16px 0;
    font-size: 0.88rem;
}

/* ─── MOBILE ────────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .fpbl-modal-box { padding: 28px 18px; }
    .fpbl-modal-title { font-size: 19px; }
    #fpbl-email-input { text-align: left; }
}
