/**
 * WooCommerce Cart Scheduler - Frontend Styles
 */

.wcs-closure-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 6px;
    color: #78350f;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.wcs-closure-notice::before {
    content: none;
}

.wcs-closure-notice strong {
    color: #92400e;
}

.wcs-closure-notice a {
    color: #b45309;
    text-decoration: underline;
}

.wcs-closure-notice a:hover {
    color: #78350f;
}

/* Override WooCommerce default info box styles */
.woocommerce .wcs-closure-notice.woocommerce-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #78350f;
}

.woocommerce .wcs-closure-notice.woocommerce-info::before {
    color: #f59e0b;
}

/* Disabled add to cart button styling */
.woocommerce .single_add_to_cart_button.disabled,
.woocommerce .single_add_to_cart_button:disabled {
    background-color: #9ca3af !important;
    border-color: #9ca3af !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Hide quantity selectors and add to cart when closed */
.wcs-cart-closed .quantity,
.wcs-cart-closed .single_add_to_cart_button,
.wcs-cart-closed .add_to_cart_button {
    display: none !important;
}
