/**
* Theme Name: WooFood Child
* Description: This is a child theme of WooFood.
* Author: <a href="https://www.wpslash.com">WPSlash</a>
* Template: woofood
* Version: 2.7.6
*/

/* Subcategory styling */
.woofood-subcategory {
    margin-left: 20px;
    border-left: 3px solid #cc0000; /* Adjust color */
    padding-left: 10px;
}

/* Availability messages */
.availability-msg {
    font-size: 13px;
    color: #d35400;
    margin-top: 5px;
    font-weight: 500;
}

.availability-msg.closed {
    color: #c0392b;
}

/* Product badges */
.wpslash-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 999;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
}

.woocommerce ul.products li.product {
    position: relative; /* ensures badge sits on top */
}

/* ---------------------------- */
/* WooFood Store Closed Overlay */
/* ---------------------------- */
.woofood-disabled-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* slightly transparent black */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woofood-overlay-content-disabled {
    background: #27ae60; /* matches "Lunch Deal" green badge */
    color: #ffffff; /* white text */
    font-size: 24px;
    font-weight: 600;
    padding: 30px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    font-family: inherit; /* match theme font */
}

/* Optional clock emoji to match badge style */
.woofood-overlay-content-disabled::before {
    content: "⏰ ";
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .woofood-overlay-content-disabled {
        font-size: 20px;
        padding: 20px 30px;
    }
}

/* ETA - Estimated live time request */

.woofood-eta-box {
    background: #ffffff; /* white background */
    border-left: 6px solid #28a745; /* green bar for normal prep */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* subtle shadow */
    padding: 12px 20px;
    margin: 15px 0;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    display: inline-block;
}

.woofood-eta-box span.eta-time {
    color: #d9534f; /* red for the time itself */
}

/* Color classes for prep time urgency */
.woofood-eta-box.eta-short {
    border-left-color: #28a745; /* green */
}
.woofood-eta-box.eta-medium {
    border-left-color: #ffc107; /* orange */
}
.woofood-eta-box.eta-long {
    border-left-color: #dc3545; /* red */
}
