/* WooCommerce Store Schedule - Public Styles */
.store-closed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 9998; /* just below the banner */
}

.store-closed-banner {
    padding: 10px 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 99999; /* High z-index */
    position: fixed;
    left: 0;
}
.store-closed-banner.top {
    top: 0;
}
.store-closed-banner.bottom {
    bottom: 0;
}
.store-closed-banner .live-countdown-timer:not(:empty):before {
    content: " ("; /* Add space and opening parenthesis */
    margin-left: 5px;
}
.store-closed-banner .live-countdown-timer:not(:empty):after {
    content: ")"; /* Add closing parenthesis */
}


.store-closed-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 100000; /* Even higher z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.store-closed-popup-content {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.store-closed-popup-content p {
    margin-top: 0;
    margin-bottom: 15px;
}
.store-closed-popup-content .live-countdown-timer {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
}
.store-closed-popup-close-btn {
    padding: 8px 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    border-radius: 4px;
}
.store-closed-popup-close-btn:hover {
    background-color: #e0e0e0;
}

/* Style for the popup trigger button if you replace add to cart */
button.store-closed-popup-trigger {
    /* Style it like a WooCommerce button or your theme's button */
}
span.button.disabled.product_type_simple,
span.button.disabled.product_type_variable, /* Add other types if needed */
span.button.disabled.product_type_grouped {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #e0e0e0 !important; /* Example disabled style */
    color: #777 !important;
    border-color: #d0d0d0 !important;
}