/* Category Unavailable Notice */
.category-unavailable-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 0 auto 30px;
    max-width: 1200px;
    width: calc(100% - 40px);
    text-align: center;
    direction: rtl;
}

.category-unavailable-notice h3,
.category-unavailable-notice .notice-message {
    text-align: center;
}

.category-unavailable-notice h3 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 20px;
    font-weight: 600;
}

.category-unavailable-notice .notice-message {
    color: #856404;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Single Product Unavailable Notice */
.product-unavailable-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    direction: rtl;
    text-align: right;
}

.product-unavailable-notice h4 {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 18px;
    font-weight: 600;
}

.product-unavailable-notice p {
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Disabled Add to Cart Button */
.product_type_simple.disabled,
button.disabled[disabled] {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.7;
}

/* WooCommerce notice styling for Hebrew */
.woocommerce-notice,
.woocommerce-message {
    direction: rtl;
    text-align: right;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .category-unavailable-notice {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .category-unavailable-notice h3 {
        font-size: 18px;
    }

    .category-unavailable-notice .notice-message {
        font-size: 14px;
    }
}
