.wg-store-closed-banner {
    background-color: #ff0000; /* yellow background for visibility */
    color: #fff; /* dark text for contrast */
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999; /* high z-index to ensure it appears above other content */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* subtle shadow for a lifted effect */
}

form.variations_form select option[disabled] {
    color: #999; /* Grey out disabled options */
    background-color: #f5f5f5; /* Light grey background for better contrast */
}

/* Default for desktop */
body.woocommerce div.product form.cart .variations select {
    margin-top: 13px;
}

/* Override for mobile */
@media screen and (max-width: 768px) {
    body.woocommerce div.product form.cart .variations select {
        margin-top: 15px;
    }
}

/*
body.woocommerce div.product form.cart .variations label {

} */

div#pickup_time_field {
    margin-top: 20px;
    margin-bottom: 20px;
}




.wg-product-options-collapsible {
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.wg-collapsible {
    width: 100%;
    text-align: left;
    background-color: #f9f9f9;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 16px;
}

.wg-collapsible:hover {
    background-color: #f0f0f0;
}

.wg-arrow {
    float: right;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.wg-collapsible-content {
    padding: 10px 15px;
    background-color: #fff;
}

/* Reduce space between Product Options and Variations in the cart */
.wc-block-components-product-metadata > .wc-block-components-product-details {
    padding: 0 !important; /* Adjust the spacing */
}

.wc-block-components-product-metadata > .wc-block-components-product-details:last-child {
    margin-bottom: 0 !important; /* Ensure no extra space for the last item */
}

/* --------------------------------------------------------------------------
   Dietary Tag pills — shown on product cards
   Colors are set inline per-tag (background/color/border-color use the
   tag's resolved hex colour with alpha suffixes: 20 = ~12% bg, 40 = ~25% border).
   -------------------------------------------------------------------------- */

.wg-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0;
}

.wg-tag-pill {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
