/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/**
/* ==========================================
   MIDO - COMMANDE RAPIDE PREMIUM
   ========================================== */

.single-product .mido-quick-order{
    margin-top:24px;
    padding:24px;
    background:rgba(255,255,255,.55);
    border:1px solid rgba(0,0,0,.08);
    border-radius:10px;
}

/* Header */
.single-product .mido-quick-header{
    margin-bottom:20px;
}

.single-product .mido-quick-eyebrow{
    display:inline-block;
    margin-bottom:4px;
    color:#777;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.single-product .mido-quick-header h3{
    margin:0 0 6px;
    color:#111;
    font-size:23px;
    line-height:1.25;
    font-weight:600;
}

.single-product .mido-quick-header p{
    margin:0;
    color:#777;
    font-size:13px;
}

/* Formulaire */
.single-product .mido-quick-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.single-product .mido-field{
    margin:0;
}

.single-product .mido-field label{
    display:block;
    margin-bottom:6px;
    color:#222;
    font-size:13px;
    font-weight:600;
}

.single-product .mido-field label span{
    color:#d33;
}

/* Champs */
.single-product .mido-field input,
.single-product .mido-field select{
    width:100%;
    height:48px;
    margin:0;
    padding:0 14px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:6px;
    color:#222;
    font-size:14px;
    box-shadow:none;
    transition:border-color .2s ease;
}

.single-product .mido-field input:focus,
.single-product .mido-field select:focus{
    outline:none;
    border-color:#777;
}

/* Quantité */
.single-product .mido-quantity-field{
    max-width:140px;
}

/* Bouton */
.single-product .mido-quick-submit{
    grid-column:1 / -1;
    width:100%;
    min-height:52px;
    margin-top:4px;
    padding:13px 20px;
    background:#111;
    border:0;
    border-radius:6px;
    color:#fff;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.3px;
    cursor:pointer;
    transition:all .2s ease;
}

.single-product .mido-quick-submit:hover{
    background:#2a2a2a;
    transform:translateY(-1px);
}
.single-product .mido-quick-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}
/* Message confiance */
.single-product .mido-quick-reassurance{
    grid-column:1 / -1;
    margin-top:-2px;
    color:#6c6c6c;
    font-size:12px;
    line-height:1.5;
    text-align:center;
}

/* ==========================================
   MOBILE META ADS
   ========================================== */

@media (max-width:767px){

    .single-product .mido-quick-order{
        margin-top:18px;
        padding:17px 14px;
        border-radius:8px;
    }
    .single-product .mido-quick-header{
        margin-bottom:15px;
    }

    .single-product .mido-quick-eyebrow{
        font-size:10px;
    }

    .single-product .mido-quick-header h3{
        font-size:20px;
    }

    .single-product .mido-quick-header p{
        font-size:12px;
        line-height:1.4;
    }
    .single-product .mido-quick-form{
        grid-template-columns:1fr;
        gap:10px;
    }

    .single-product .mido-field label{
        margin-bottom:4px;
        font-size:12px;
    }

    .single-product .mido-field input,
    .single-product .mido-field select{
        height:46px;
        font-size:14px;
    }

    .single-product .mido-quantity-field{
        max-width:none;
    }

    .single-product .mido-quick-submit{
        grid-column:auto;
        min-height:50px;
        margin-top:3px;
        font-size:13px;
    }

    .single-product .mido-quick-reassurance{
        grid-column:auto;
        font-size:11px;
    }
}
/* ==========================================
   MIDO MEUBLES - CHECKOUT PREMIUM
   ========================================== */

/* Zone générale */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.3px;
    margin-bottom: 22px;
}

/* Champs */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.woocommerce-checkout .form-row label .required {
    color: #d63638;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 7px;
    box-shadow: none;
}

.woocommerce-checkout input.input-text {
    min-height: 50px;
    padding: 0 15px;
}

.woocommerce-checkout textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

/* Focus */
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    background: #fff;
    border-color: #222;
    outline: none;
}

/* Select2 - Gouvernorat */
.woocommerce-checkout .select2-container--default
.select2-selection--single {
    height: 50px;
}

.woocommerce-checkout .select2-container--default
.select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding-left: 15px;
}

.woocommerce-checkout .select2-container--default
.select2-selection--single .select2-selection__arrow {
    height: 48px;
}

/* ==========================================
   VOTRE COMMANDE
   ========================================== */

.woocommerce-checkout #order_review {
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,.035);
}

.woocommerce-checkout-review-order-table {
    background: transparent !important;
    border: 0 !important;
}

.woocommerce-checkout-review-order-table th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-checkout-review-order-table td {
    font-size: 14px;
}

/* Paiements */
.woocommerce-checkout #payment {
    background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: 0;
    padding: 12px 0;
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(255,255,255,.7);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

/* Bouton final */
.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 56px;
    margin-top: 12px;
    background: #111;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    transition: .2s ease;
}

.woocommerce-checkout #place_order:hover {
    background: #292929;
    transform: translateY(-1px);
}

/* Conditions générales */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    line-height: 1.6;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .woocommerce-checkout .woocommerce-billing-fields h3,
    .woocommerce-checkout .woocommerce-additional-fields h3,
    .woocommerce-checkout #order_review_heading {
        font-size: 20px;
        margin-bottom: 17px;
    }
    .woocommerce-checkout .form-row {
        margin-bottom: 12px;
    }

    .woocommerce-checkout input.input-text,
    .woocommerce-checkout .select2-container--default
    .select2-selection--single {
        min-height: 48px;
    }

    .woocommerce-checkout #order_review {
        padding: 16px 14px;
        border-radius: 9px;
    }

    .woocommerce-checkout #place_order {
        min-height: 54px;
        font-size: 13px;
    }
}
/* ==================================================
   MIDO - PAGE CONFIRMATION COMMANDE PREMIUM
   ================================================== */

/* Conteneur */
.woocommerce-order-received .woocommerce-order {
    max-width: 1050px;
    margin: 0 auto;
}

/* Message principal */
.woocommerce-order-received .mido-thankyou-message {
    margin: 0 0 30px;
    padding: 30px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 12px;
}

.woocommerce-order-received .mido-thankyou-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    background: #111;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.woocommerce-order-received .mido-thankyou-message h2 {
    margin: 0 0 10px;
    font-size: 27px;
}

.woocommerce-order-received .mido-thankyou-message p {
    margin: 0 0 9px;
    color: #666;
    line-height: 1.6;
}

.woocommerce-order-received .mido-thankyou-info {
    margin-top: 18px;
    padding: 14px 16px;
    background: rgba(255,255,255,.7);
    border-left: 3px solid #111;
    border-radius: 5px;
    line-height: 1.6;
}


/* ==================================================
   RÉSUMÉ : NUMÉRO / DATE / TOTAL / PAIEMENT
   ================================================== */

.woocommerce-order-received
.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 0 28px !important;
    padding: 0;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-order-received
.woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border-right: 1px solid rgba(0,0,0,.07);
    border-bottom: 0 !important;
}

.woocommerce-order-received
.woocommerce-order-overview li:last-child {
    border-right: 0;
}

.woocommerce-order-received
.woocommerce-order-overview li span {
    display: block;
    margin-bottom: 7px;
    color: #777;
    font-size: 12px;
}

.woocommerce-order-received
.woocommerce-order-overview li strong {
    display: block;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}


/* ==================================================
   DÉTAILS DE LA COMMANDE
   ================================================== */

.woocommerce-order-received .woocommerce-order-details {
    margin-top: 35px;
}

.woocommerce-order-received
.woocommerce-order-details__title,
.woocommerce-order-received
.woocommerce-customer-details .woocommerce-column__title {
    margin-bottom: 18px;
    font-size: 23px;
    font-weight: 700;
}

.woocommerce-order-received
.woocommerce-table--order-details {
    overflow: hidden;
    background: rgba(255,255,255,.45);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;
}

.woocommerce-order-received
.woocommerce-table--order-details th,
.woocommerce-order-received
.woocommerce-table--order-details td {
    padding: 15px 18px;
}


/* ==================================================
   INFORMATIONS DE LIVRAISON
   ================================================== */

.woocommerce-order-received
.woocommerce-customer-details {
    margin-top: 35px;
}

.woocommerce-order-received
.woocommerce-customer-details address {
    padding: 20px 22px;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;
    color: #444;
    font-style: normal;
    line-height: 1.8;
}

.woocommerce-order-received
.woocommerce-customer-details--phone {
    margin: 8px 0 0;
    font-weight: 600;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 767px) {

    .woocommerce-order-received .mido-thankyou-message {
        padding: 20px 17px;
        margin-bottom: 20px;
    }

    .woocommerce-order-received .mido-thankyou-message h2 {
        font-size: 22px;
    }

    .woocommerce-order-received .mido-thankyou-message p {
        font-size: 13px;
    }

    .woocommerce-order-received .mido-thankyou-info {
        padding: 12px 13px;
        font-size: 12px;
    }

    /* 2 × 2 sur mobile */
    .woocommerce-order-received
    .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-order-received
    .woocommerce-order-overview li {
        padding: 14px !important;
        border-right: 1px solid rgba(0,0,0,.07);
        border-bottom: 1px solid rgba(0,0,0,.07) !important;
    }

    .woocommerce-order-received
    .woocommerce-order-overview li:nth-child(2n) {
        border-right: 0;
    }

    .woocommerce-order-received
    .woocommerce-order-overview li:nth-last-child(-n+2) {
        border-bottom: 0 !important;
    }

    .woocommerce-order-received
    .woocommerce-order-details__title,
    .woocommerce-order-received
    .woocommerce-customer-details .woocommerce-column__title {
        font-size: 20px;
    }

    .woocommerce-order-received
    .woocommerce-table--order-details th,
    .woocommerce-order-received
    .woocommerce-table--order-details td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .woocommerce-order-received
    .woocommerce-customer-details address {
        padding: 16px;
        font-size: 13px;
    }
}
/* Masquer Pays/Région - Tunisie imposée par PHP */
.woocommerce-checkout .mido-hidden-country {
    display: none !important;
}
/* MIDO - Masquer le message WooCommerce standard
   remplacé par notre confirmation personnalisée */
.woocommerce-order-received
p.woocommerce-thankyou-order-received {
    display: none !important;
}