/**
 * Frontend Styles
 * Stiluri pentru mesajele afișate pe pagina produsului
 */

/* Mesaj pe pagina produsului (single product) */
.wc-order-restrictions-message {
    margin: 20px 0;
    clear: both;
}

.wc-order-restrictions-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.wc-order-restrictions-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #856404;
    margin-right: 15px;
    margin-top: 2px;
}

.wc-order-restrictions-notice p {
    margin: 0;
    color: #856404;
    font-size: 15px;
    line-height: 1.6;
}

/* Buton contact pe pagina produsului */
.wc-order-restrictions-contact-button {
    display: inline-block;
    background-color: #2271b1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.wc-order-restrictions-contact-button:hover {
    background-color: #135e96;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Mesaj în lista produselor (shop/archive) */
.wc-order-restrictions-loop-message {
    margin-top: 10px;
    text-align: center;
}

.wc-order-restrictions-contact-button-small {
    display: inline-block;
    background-color: #f0ad4e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wc-order-restrictions-contact-button-small:hover {
    background-color: #ec971f;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wc-order-restrictions-text-notice {
    display: inline-block;
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 14px;
    border: 1px solid #dee2e6;
}

/* Preț ascuns */
.wc-order-restrictions-price-hidden {
    font-style: italic;
    color: #6c757d;
    font-weight: 500;
}

/* Responsive pentru mobile */
@media screen and (max-width: 768px) {
    .wc-order-restrictions-notice {
        padding: 12px 15px;
        flex-direction: column;
    }

    .wc-order-restrictions-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .wc-order-restrictions-notice p {
        font-size: 14px;
    }

    .wc-order-restrictions-contact-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Compatibilitate cu teme populare */

/* Storefront theme */
.storefront .wc-order-restrictions-message {
    margin: 1.618em 0;
}

/* Astra theme */
.ast-container .wc-order-restrictions-message {
    margin: 20px 0;
}

/* OceanWP theme */
.oceanwp .wc-order-restrictions-message {
    margin: 20px 0;
}

/* Divi theme */
.et_pb_module .wc-order-restrictions-message {
    margin: 20px 0;
}
