/* ============================================
   MELI RESERVATIONS - STILURI FORMULAR
   ============================================ */

.meli-reservation-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 30px 35px;
    background: #f9f6f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.meli-reservation-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.meli-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meli-form-group {
    flex: 1;
    min-width: 200px;
}

.meli-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4A2C2A;
    font-size: 0.9rem;
}

.meli-form-group input,
.meli-form-group textarea,
.meli-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e0d3c3;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.meli-form-group input:focus,
.meli-form-group textarea:focus {
    border-color: #C9A03D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,160,61,0.15);
}

.meli-form-group input.error,
.meli-form-group textarea.error {
    border-color: #C0392B;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.meli-form-hint {
    font-size: 0.8rem;
    color: #8A6E5F;
    margin-top: 4px;
}

.meli-reservation-submit {
    background: #C9A03D;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    margin-top: 8px;
}

.meli-reservation-submit:hover {
    background: #A07F25;
    transform: translateY(-2px);
}

.meli-reservation-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 600px) {
    .meli-reservation-form-wrapper {
        padding: 18px 15px 20px;
    }
    .meli-form-row {
        flex-direction: column;
        gap: 12px;
    }
    .meli-form-group {
        min-width: 100%;
    }
}
/* ============================================
   PRECOMANDĂ
   ============================================ */

.meli-preorder-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 30px 35px;
    background: #f9f6f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.meli-preorder-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.meli-preorder-form-wrapper h3 {
    margin: 25px 0 15px;
    color: #4A2C2A;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid #C9A03D;
    padding-bottom: 8px;
}

.meli-preorder-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.meli-preorder-table th,
.meli-preorder-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0d3c3;
    text-align: left;
}

.meli-preorder-table th {
    background: #e0d3c3;
    font-weight: 600;
    color: #4A2C2A;
}

.meli-preorder-table tr:hover td {
    background: rgba(201,160,61,0.05);
}

.meli-preorder-qty {
    width: 70px;
    padding: 8px 10px;
    border: 1.5px solid #e0d3c3;
    border-radius: 6px;
    text-align: center;
    font-size: 0.95rem;
    background: #fff;
}

.meli-preorder-qty:focus {
    border-color: #C9A03D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,160,61,0.12);
}

.meli-preorder-submit {
    background: #C9A03D;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    margin-top: 15px;
}

.meli-preorder-submit:hover {
    background: #A07F25;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .meli-preorder-form-wrapper {
        padding: 15px;
    }
    .meli-preorder-table th,
    .meli-preorder-table td {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
    .meli-preorder-qty {
        width: 55px;
        padding: 5px;
    }
}
/* --- Precomandă --- */
.meli-preorder-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.meli-preorder-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.meli-preorder-products {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.meli-preorder-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0d3c3;
}

.meli-preorder-filters .meli-category-filter {
    flex: 1;
    min-width: 150px;
}

.meli-preorder-filters label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4A2C2A;
    margin-bottom: 4px;
}

.meli-preorder-filters input,
.meli-preorder-filters select {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e0d3c3;
    border-radius: 8px;
    font-size: 0.95rem;
}

.meli-preorder-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    min-height: 200px;
}

.meli-preorder-product {
    background: #f9f6f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    border: 1px solid #f0ebe5;
}

.meli-preorder-product:hover {
    transform: translateY(-3px);
}

.meli-preorder-product-image {
    width: 100%;
    height: 120px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.meli-preorder-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meli-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaa;
    font-size: 0.8rem;
}

.meli-preorder-product-info {
    flex: 1;
}

.meli-preorder-product-info h4 {
    font-size: 0.95rem;
    margin: 0 0 4px;
    color: #4A2C2A;
}

.meli-preorder-product-price {
    font-weight: 600;
    color: #C9A03D;
    font-size: 0.9rem;
}

.meli-preorder-product-actions {
    margin-top: 8px;
}

.meli-preorder-add {
    background: #C9A03D;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.meli-preorder-add:hover {
    background: #A07F25;
}

/* Coș precomandă */
.meli-preorder-cart {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.meli-preorder-cart h3 {
    margin-top: 0;
    color: #4A2C2A;
    border-bottom: 2px solid #C9A03D;
    padding-bottom: 10px;
}

.meli-preorder-cart-items {
    min-height: 80px;
    margin-bottom: 15px;
}

.meli-preorder-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0ebe5;
    font-size: 0.9rem;
}

.meli-preorder-cart-item .item-name {
    flex: 1;
}

.meli-preorder-cart-item .item-qty {
    width: 50px;
    text-align: center;
    padding: 2px;
}

.meli-preorder-cart-item .item-remove {
    background: none;
    border: none;
    color: #C0392B;
    cursor: pointer;
    font-size: 1rem;
}

.meli-preorder-cart-total {
    text-align: right;
    font-size: 1.1rem;
    padding-top: 10px;
    border-top: 2px solid #e0d3c3;
    margin-bottom: 15px;
}

.meli-preorder-client-fields h4 {
    margin: 15px 0 10px;
    color: #4A2C2A;
}

.meli-preorder-client-fields .meli-form-group {
    margin-bottom: 12px;
}

.meli-preorder-client-fields .meli-reservation-submit {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .meli-preorder-grid {
        grid-template-columns: 1fr;
    }
    .meli-preorder-cart {
        position: static;
    }
}
/* --- Precomandă - layout compact --- */
.meli-preorder-cart {
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.meli-preorder-cart-items {
    flex: 0 1 auto;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.meli-preorder-client-fields {
    flex: 1;
}

.meli-preorder-client-fields .meli-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.meli-preorder-client-fields .meli-form-group {
    margin-bottom: 10px;
}

.meli-preorder-client-fields input,
.meli-preorder-client-fields textarea {
    padding: 8px 10px;
    font-size: 0.9rem;
}

.meli-preorder-client-fields label {
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.meli-preorder-client-fields .meli-reservation-submit {
    padding: 12px 20px;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .meli-preorder-grid {
        grid-template-columns: 1fr;
    }
    .meli-preorder-client-fields .meli-form-row-2col {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .meli-preorder-cart {
        max-height: none;
        overflow-y: visible;
    }
    .meli-preorder-cart-items {
        max-height: 150px;
    }
}
/* --- Opțiune precomandă în rezervare --- */
.meli-preorder-toggle {
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid #e0d3c3;
}

.meli-preorder-toggle label {
    font-weight: 600;
    color: #4A2C2A;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.meli-preorder-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C9A03D;
}

#meli-reservation-preorder-panel {
    background: #faf8f5;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
}

#meli-reservation-preorder-panel .meli-preorder-cart {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
}

#meli-reservation-preorder-panel .meli-preorder-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive pentru panoul din rezervare */
@media (max-width: 768px) {
    #meli-reservation-preorder-panel .meli-preorder-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* --- Contact note --- */
.meli-contact-note {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(201, 160, 61, 0.08);
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    border: 1px dashed #e0d3c3;
}

.meli-contact-text {
    color: #4A2C2A;
    font-weight: 500;
    margin-right: 6px;
}

.meli-contact-phone {
    color: #C9A03D;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.meli-contact-phone:hover {
    color: #A07F25;
    text-decoration: underline;
}
/* --- Contact note --- */
.meli-contact-note {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(201, 160, 61, 0.08);
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    border: 1px dashed #e0d3c3;
}

.meli-contact-text {
    color: #4A2C2A;
    font-weight: 500;
    margin-right: 6px;
}

.meli-contact-phone {
    color: #C9A03D;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.meli-contact-phone:hover {
    color: #A07F25;
    text-decoration: underline;
}
/* =============================================
   CORECȚIE CHECKOUT - LAYOUT CURAT
   ============================================= */

/* Resetare pentru containerul checkout */
.meli-checkout-form .mprm-checkout {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* Fiecare grup de câmpuri (field) – pe un rând nou */
.meli-checkout-form .mprm-checkout .mprm-field {
    margin-bottom: 18px !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
}

/* Grupuri de câmpuri pe două coloane (dacă există) */
.meli-checkout-form .mprm-checkout .mprm-field-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 18px !important;
}

.meli-checkout-form .mprm-checkout .mprm-field-group .mprm-field {
    flex: 1 !important;
    min-width: 200px !important;
    margin-bottom: 0 !important;
}

/* Etichete - deasupra câmpurilor */
.meli-checkout-form .mprm-checkout label {
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: #4A2C2A !important;
    font-size: 0.9rem !important;
    clear: both !important;
}

/* Câmpuri de input - lățime completă */
.meli-checkout-form .mprm-checkout input[type="text"],
.meli-checkout-form .mprm-checkout input[type="email"],
.meli-checkout-form .mprm-checkout input[type="tel"],
.meli-checkout-form .mprm-checkout input[type="number"],
.meli-checkout-form .mprm-checkout input[type="password"],
.meli-checkout-form .mprm-checkout textarea,
.meli-checkout-form .mprm-checkout select {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1.5px solid #e0d3c3 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    font-family: inherit !important;
    margin: 0 !important;
    display: block !important;
}

.meli-checkout-form .mprm-checkout input:focus,
.meli-checkout-form .mprm-checkout textarea:focus,
.meli-checkout-form .mprm-checkout select:focus {
    border-color: #C9A03D !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(201,160,61,0.15) !important;
}

/* Câmpuri de tip checkbox/radio */
.meli-checkout-form .mprm-checkout input[type="checkbox"],
.meli-checkout-form .mprm-checkout input[type="radio"] {
    width: auto !important;
    margin-right: 8px !important;
    display: inline-block !important;
}

.meli-checkout-form .mprm-checkout .mprm-checkbox-label,
.meli-checkout-form .mprm-checkout .mprm-radio-label {
    display: inline-block !important;
    font-weight: 400 !important;
}

/* Buton submit */
.meli-checkout-form .mprm-checkout input[type="submit"],
.meli-checkout-form .mprm-checkout .mprm-submit {
    background: #C9A03D !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.2s !important;
    width: 100% !important;
    font-family: inherit !important;
    margin-top: 10px !important;
}

.meli-checkout-form .mprm-checkout input[type="submit"]:hover,
.meli-checkout-form .mprm-checkout .mprm-submit:hover {
    background: #A07F25 !important;
    transform: translateY(-2px) !important;
}

/* Mesaje de eroare / succes */
.meli-checkout-form .mprm-checkout .mprm-error,
.meli-checkout-form .mprm-checkout .mprm-checkout-error {
    background: #f8d7da !important;
    color: #721c24 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    border: 1px solid #f5c6cb !important;
}

.meli-checkout-form .mprm-checkout .mprm-success,
.meli-checkout-form .mprm-checkout .mprm-checkout-success {
    background: #d4edda !important;
    color: #155724 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    border: 1px solid #c3e6cb !important;
}

/* Responsive */
@media (max-width: 600px) {
    .meli-checkout-form .mprm-checkout .mprm-field-group {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .meli-checkout-form .mprm-checkout .mprm-field-group .mprm-field {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
}
/* =============================================
   SUPRASCRIERE DEFINITIVĂ FIELDSET CHECKOUT
   ============================================= */

/* Forțează eliminarea bordurii și padding-ului pentru toate fieldset-urile */
html body #mprm_checkout_form_wrap fieldset,
html body .mprm-checkout #mprm_checkout_form_wrap fieldset,
html body .meli-checkout-wrapper #mprm_checkout_form_wrap fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 21px 0 !important;
    background: transparent !important;
    min-width: 0 !important;
}

/* Fieldset-ul de submit */
html body #mprm_checkout_form_wrap fieldset#mprm_purchase_submit,
html body .mprm-checkout #mprm_checkout_form_wrap fieldset#mprm_purchase_submit,
html body .meli-checkout-wrapper #mprm_checkout_form_wrap fieldset#mprm_purchase_submit {
    border: none !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    background: transparent !important;
}

/* Legend-urile */
html body #mprm_checkout_form_wrap fieldset legend,
html body .mprm-checkout #mprm_checkout_form_wrap fieldset legend {
    display: none !important;
}

/* Forțează resetarea pentru orice alt fieldset din checkout */
html body #mprm_checkout_form_wrap fieldset.mprm-fieldset,
html body .mprm-checkout fieldset.mprm-fieldset {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
/* =============================================
   ÎMBUNĂTĂȚIRI RESPONSIVE - MOBIL 100%
   ============================================= */

/* Prevenire depășire orizontală */
.meli-reservation-form-wrapper,
.meli-preorder-wrapper,
.meli-checkout-wrapper,
.meli-tabs-container,
.contact-options,
.meli-preorder-products,
.meli-preorder-cart {
    overflow-x: hidden;
    max-width: 100%;
}

/* Secțiunea de recomandări AI - adaptare pentru mobil */
@media (max-width: 480px) {
    .ai-recommendations-wrap .mprm-view-grid {
        gap: 10px;
    }
    .ai-recommendations-wrap .mprm-columns {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0 5px;
    }
    .ai-recommendations-wrap .mprm-menu-item-title {
        font-size: 0.9rem;
    }
    .ai-recommendations-wrap .mprm-price-box {
        font-size: 0.8rem;
    }
    .ai-recommendations-wrap .mprm-menu-item-details {
        padding: 10px;
    }
}

/* Grid produse precomandă - adaptare pentru ecrane mici */
@media (max-width: 480px) {
    .meli-preorder-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .meli-preorder-product {
        padding: 8px;
    }
    .meli-preorder-product-image {
        height: 80px;
    }
    .meli-preorder-product-info h4 {
        font-size: 0.8rem;
    }
    .meli-preorder-product-price {
        font-size: 0.75rem;
    }
    .meli-preorder-add {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Filtre precomandă - adaptare pentru mobil */
@media (max-width: 600px) {
    .meli-preorder-filters {
        flex-direction: column;
        gap: 10px;
    }
    .meli-preorder-filters .meli-category-filter {
        min-width: 100%;
    }
    .meli-preorder-filters input,
    .meli-preorder-filters select {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}

/* Coș precomandă - adaptare pentru mobil */
@media (max-width: 600px) {
    .meli-preorder-cart {
        padding: 15px;
        margin-top: 15px;
    }
    .meli-preorder-cart-items {
        max-height: 200px;
    }
    .meli-preorder-cart-item {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 5px;
    }
    .meli-preorder-cart-item .item-name {
        flex: 1 1 100%;
        margin-bottom: 4px;
    }
    .meli-preorder-cart-item .item-qty {
        width: 40px;
    }
    .meli-preorder-cart-total {
        font-size: 1rem;
    }
    .meli-preorder-client-fields .meli-form-row-2col {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .meli-preorder-client-fields input,
    .meli-preorder-client-fields textarea {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    .meli-preorder-client-fields label {
        font-size: 0.8rem;
    }
    .meli-preorder-client-fields .meli-reservation-submit {
        font-size: 0.9rem;
        padding: 12px;
    }
}

/* Checkout - adaptare pentru mobil */
@media (max-width: 600px) {
    .meli-checkout-wrapper {
        padding: 15px;
        margin: 10px auto;
    }
    .meli-checkout-wrapper h2 {
        font-size: 1.3rem;
    }
    .meli-checkout-wrapper h3 {
        font-size: 1.1rem;
        margin-top: 15px;
    }
    .meli-checkout-table th,
    .meli-checkout-table td {
        padding: 6px 8px;
        font-size: 0.8rem;
        word-break: break-word;
    }
    .meli-checkout-form .mprm-checkout .mprm-field-group {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .meli-checkout-form .mprm-checkout .mprm-field-group .mprm-field {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    .meli-checkout-form .mprm-checkout input[type="text"],
    .meli-checkout-form .mprm-checkout input[type="email"],
    .meli-checkout-form .mprm-checkout input[type="tel"],
    .meli-checkout-form .mprm-checkout textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    .meli-checkout-form .mprm-checkout label {
        font-size: 0.8rem;
    }
    .meli-checkout-form .mprm-checkout input[type="submit"] {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

/* Contact note - adaptare pentru mobil */
@media (max-width: 480px) {
    .meli-contact-note {
        font-size: 0.85rem;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    .meli-contact-phone {
        font-size: 1rem;
        display: inline-block;
        margin-top: 4px;
    }
    .meli-contact-text {
        display: block;
        margin-right: 0;
    }
}

/* Butoane contact (Rezervare / Precomandă) - adaptare pentru mobil */
@media (max-width: 600px) {
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .contact-btn {
        justify-content: center;
        font-size: 0.9rem !important;
        padding: 12px 16px !important;
    }
    .contact-icon {
        font-size: 1.1rem;
    }
    .contact-intro {
        font-size: 0.9rem;
    }
    .contact-note {
        font-size: 0.8rem;
    }
}

/* Rezervare - adaptare pentru mobil */
@media (max-width: 480px) {
    .meli-reservation-form-wrapper {
        padding: 15px 12px 20px;
        border-radius: 12px;
    }
    .meli-reservation-form-wrapper .meli-form-row {
        flex-direction: column;
        gap: 10px;
    }
    .meli-reservation-form-wrapper .meli-form-group {
        min-width: 100%;
    }
    .meli-reservation-form-wrapper .meli-form-group label {
        font-size: 0.85rem;
    }
    .meli-reservation-form-wrapper .meli-form-group input,
    .meli-reservation-form-wrapper .meli-form-group textarea,
    .meli-reservation-form-wrapper .meli-form-group select {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    .meli-reservation-submit {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    .meli-reservation-success {
        font-size: 0.9rem;
        padding: 12px;
    }
    .meli-form-hint {
        font-size: 0.75rem;
    }
}

/* Opțiune precomandă în rezervare - adaptare pentru mobil */
@media (max-width: 480px) {
    #meli-reservation-preorder-panel {
        padding: 10px;
    }
    #meli-reservation-preorder-panel .meli-preorder-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    #meli-reservation-preorder-panel .meli-preorder-cart {
        padding: 10px;
    }
    #meli-reservation-preorder-panel .meli-preorder-cart-items {
        max-height: 150px;
    }
    #meli-reservation-preorder-panel .meli-preorder-cart-item {
        font-size: 0.75rem;
    }
    .meli-preorder-toggle label {
        font-size: 0.9rem;
    }
}

/* Tab-uri rezervare/precomandă - adaptare pentru mobil */
@media (max-width: 600px) {
    .meli-tabs-nav {
        flex-direction: column;
        border-bottom: none;
        gap: 4px;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }
    .meli-tab-btn {
        border-bottom: 2px solid #e0d3c3;
        border-radius: 8px;
        justify-content: center;
        padding: 12px 20px;
        margin-bottom: 4px;
        background: #f9f6f0;
        font-size: 0.95rem;
    }
    .meli-tab-btn.active {
        border-bottom-color: #C9A03D;
        background: rgba(201, 160, 61, 0.08);
        box-shadow: none;
    }
    .meli-tab-btn i {
        font-size: 1rem;
    }
    .meli-tab-content {
        border-radius: 0;
        padding: 10px 0;
    }
}

/* Forțează toate imaginile să fie responsive */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Asigură că tabelele nu depășesc ecranul */
table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Forțează containerele să nu depășească */
.container,
.veronai-wrap {
    max-width: 100%;
    overflow: hidden;
}

/* Corecție pentru secțiunea de recomandări - pe mobil să fie o singură coloană */
@media (max-width: 767px) {
    .ai-recommendations-wrap .mprm-columns {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* Corecție pentru grid-ul de produse din precomandă - pe ecrane foarte mici */
@media (max-width: 380px) {
    .meli-preorder-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .meli-preorder-product-image {
        height: 60px;
    }
    .meli-preorder-product-info h4 {
        font-size: 0.7rem;
    }
    .meli-preorder-product-price {
        font-size: 0.7rem;
    }
    .meli-preorder-add {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
}