/* ===== PROMO POPUP MODAL COMPONENT ===== */

/* Modal Container & Dialog */
.promo-modal-2 { 
    border-radius: 20px; 
    border: none; 
    overflow: hidden; 
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Modal Backdrop sedikit lebih gelap */
.modal-backdrop {
    --bs-backdrop-opacity: 0.75;
    --bs-backdrop-bg: #000;
}

.modal-backdrop.show {
    opacity: 0.75;
}

/* Close Button (Floating Top Right) */
.btn-close-abs { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    z-index: 10; 
    background-color: #ffffff;
    opacity: 1; 
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-close-abs:hover {
    transform: scale(1.1);
    background-color: #f8f9fa;
}

/* Hero Image Box */
.hero-img-box { 
    position: relative; 
    height: 380px; 
    background-color: #e2e8f0; 
}

@media (max-width: 575.98px) {
    .hero-img-box {
        height: 250px;
    }
}

.hero-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    object-position: center; 
    transition: filter 0.4s ease, opacity 0.4s ease;
}

/* Hero Image Expired Effect */
.hero-img-box.is-expired img {
    filter: grayscale(40%) contrast(0.95);
    opacity: 0.92;
}

/* Expired Status Ribbon / Badge */
.promo-expired-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 9;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50rem;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Timer */
.floating-timer {
    background: white; 
    border-radius: 50rem; 
    padding: 10px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: absolute; 
    bottom: -25px; 
    left: 50%; 
    transform: translateX(-50%);
    display: flex; 
    gap: 15px; 
    width: max-content; 
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Timer Expired State */
.floating-timer.is-expired {
    background: #ffffff;
    border: 1.5px solid #fecaca;
    padding: 8px 22px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.2), 0 8px 10px -6px rgba(239, 68, 68, 0.1);
}

.t-unit { text-align: center; }
.t-num { font-size: 1.2rem; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; }
.t-lbl { font-size: 0.6rem; color: #94a3b8; text-transform: uppercase; font-weight: 600; margin-top: -3px; }
.t-sep { font-size: 1.2rem; font-weight: 800; color: black; margin-top: -2px; }

/* Action Button */
.btn-whatsapp { 
    background: var(--accent-whatsapp); 
    color: white; 
    transition: 0.25s ease; 
    border: none; 
    font-size: 13.5px;
}

.btn-whatsapp:hover { 
    background: #094e46; 
    color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(5, 160, 217, 0.3); 
}
