/* =============================================
   Checkout — Georgio Glacier
   ============================================= */

/* ── Widget "Déjà client ?" (login reminder) ───────────────────── */
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
    background: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #333 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    margin-bottom: 20px !important;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before {
    color: #0D345B !important;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a {
    color: #0D345B !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* ── Page ───────────────────────────────────────────────────────── */
body.woocommerce-checkout {
    background: #f8f6f2 !important;
}

body.woocommerce-checkout .site-main {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 32px 24px 60px !important;
    background: transparent !important;
}

/* Hide default ugly title */
body.woocommerce-checkout .page-header {
    display: none !important;
}

/* ── Base font ─────────────────────────────────────────────────── */
body.woocommerce-checkout,
body.woocommerce-checkout .woocommerce {
    font-family: "DM Sans", sans-serif !important;
    color: #333 !important;
}

/* ── Coupon toggle ─────────────────────────────────────────────── */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: #fff !important;
    border: none !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
    padding: 14px 20px !important;
    color: #555 !important;
    font-size: 16px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    margin-bottom: 28px !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
    color: #0D345B !important;
    display: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #0D345B !important;
    font-weight: 600 !important;
}

/* Coupon form */
body.woocommerce-checkout .checkout_coupon {
    background: #fff !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    margin-bottom: 28px !important;
}

body.woocommerce-checkout .checkout_coupon .button {
    background: #0D345B !important;
    color: #fff !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 12px 24px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* ── Form layout — 2 columns ──────────────────────────────────── */
body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 40px !important;
    align-items: start !important;
}

/* Hide script/style elements from grid */
body.woocommerce-checkout form.checkout > script,
body.woocommerce-checkout form.checkout > style {
    display: none !important;
}

/* Notices span full width */
body.woocommerce-checkout form.checkout > .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
}

/* All left column items */
body.woocommerce-checkout #georgio-pickup,
body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
}

/* Billing card */
body.woocommerce-checkout #customer_details {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 36px 32px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.02) !important;
    width: 100% !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Right column — order review sticky wrapper */
body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 / 2 !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    background: #fff !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 28px 28px 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.02) !important;
    clip-path: inset(0 0 -20px 0) !important;
}

body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 / -1 !important;
    background: #fff !important;
    border-radius: 0 0 16px 16px !important;
    padding: 8px 28px 28px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.02) !important;
    position: sticky !important;
    top: 24px !important;
}

/* ── Section headings ──────────────────────────────────────────── */
body.woocommerce-checkout .woocommerce-billing-fields > h3 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #eee !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    margin: 24px 0 16px !important;
    padding: 24px 0 12px !important;
    border-top: 1px solid #eee !important;
    border-bottom: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* ── Labels ────────────────────────────────────────────────────── */
body.woocommerce-checkout .form-row label {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #6b7a8d !important;
    margin-bottom: 6px !important;
    display: block !important;
}

body.woocommerce-checkout .form-row label .required {
    color: #e74c3c !important;
}

body.woocommerce-checkout .form-row label .optional {
    font-weight: 700 !important;
    color: #bbb !important;
    font-size: 13px !important;
}

/* ── Inputs ────────────────────────────────────────────────────── */
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea.input-text,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
    background: #fff !important;
    border: 1.5px solid #ddd8cf !important;
    border-radius: 15px !important;
    padding: 13px 16px !important;
    height: auto !important;
    min-height: 48px !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    outline: none !important;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea.input-text:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single {
    border-color: #0D345B !important;
    box-shadow: 0 0 0 3px rgba(29,53,90,0.08) !important;
    background: #fff !important;
}

body.woocommerce-checkout textarea.input-text {
    min-height: 80px !important;
    resize: vertical !important;
}

/* Select2 */
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection__rendered {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
    padding: 0 !important;
    line-height: normal !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection__arrow {
    height: 100% !important;
    right: 12px !important;
}

/* ── Form row spacing ──────────────────────────────────────────── */
body.woocommerce-checkout .form-row {
    margin-bottom: 18px !important;
    padding: 0 !important;
}

body.woocommerce-checkout .form-row-first {
    float: left !important;
    width: 48% !important;
}

body.woocommerce-checkout .form-row-last {
    float: right !important;
    width: 48% !important;
}

body.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

/* ── Order table — clean ───────────────────────────────────────── */
body.woocommerce-checkout table.shop_table {
    border: none !important;
    border-collapse: collapse !important;
    margin: 0 0 8px !important;
    width: 100% !important;
}

body.woocommerce-checkout table.shop_table thead th {
    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #aaa !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    padding: 0 0 10px !important;
}

body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table tfoot td,
body.woocommerce-checkout table.shop_table tfoot th {
    border: none !important;
    background: transparent !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #444 !important;
    padding: 14px 0 !important;
    vertical-align: middle !important;
}

body.woocommerce-checkout table.shop_table .cart_item td {
    border-bottom: 1px solid #f3f0eb !important;
}

body.woocommerce-checkout table.shop_table .cart_item .product-name {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #0D345B !important;
    font-weight: 700 !important;
}

body.woocommerce-checkout table.shop_table .cart_item .product-name .product-quantity {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #aaa !important;
    font-weight: 700 !important;
}

body.woocommerce-checkout table.shop_table .product-total,
body.woocommerce-checkout table.shop_table .product-total .woocommerce-Price-amount {
    text-align: right !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    font-family: "DM Sans", sans-serif !important;
}

/* Subtotal row */
body.woocommerce-checkout table.shop_table tfoot tr:not(.order-total) th,
body.woocommerce-checkout table.shop_table tfoot tr:not(.order-total) td,
body.woocommerce-checkout table.shop_table tfoot tr:not(.order-total) td .woocommerce-Price-amount {
    color: #999 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Total row */
body.woocommerce-checkout table.shop_table tfoot .order-total th,
body.woocommerce-checkout table.shop_table tfoot .order-total td {
    padding-top: 18px !important;
    border-top: 2px solid #0D345B !important;
}

body.woocommerce-checkout table.shop_table tfoot .order-total th {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0D345B !important;
}

body.woocommerce-checkout table.shop_table tfoot .order-total td,
body.woocommerce-checkout table.shop_table tfoot .order-total td strong,
body.woocommerce-checkout table.shop_table tfoot .order-total td .woocommerce-Price-amount,
body.woocommerce-checkout table.shop_table tfoot .order-total td bdi {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
}

/* ── Payment section ───────────────────────────────────────────── */
body.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-top: 16px !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    list-style: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
}

/* "No payment" notice */
body.woocommerce-checkout #payment .woocommerce-info {
    background: #f8f6f2 !important;
    border: none !important;
    border-left: 3px solid #ccab32 !important;
    border-radius: 15px !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    color: #888 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

body.woocommerce-checkout #payment .woocommerce-info::before {
    color: #ccab32 !important;
}

body.woocommerce-checkout #payment div.payment_box {
    background: #f8f6f2 !important;
    border-radius: 15px !important;
    padding: 14px 16px !important;
    color: #666 !important;
    font-size: 16px !important;
    border: none !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* ── Privacy ───────────────────────────────────────────────────── */
body.woocommerce-checkout .woocommerce-privacy-policy-text p {
    font-size: 13px !important;
    color: #aaa !important;
    line-height: 1.6 !important;
    margin: 16px 0 !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #0D345B !important;
}

/* ── Place order button ────────────────────────────────────────── */
body.woocommerce-checkout #place_order {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #0D345B !important;
    background: #E7C141 !important;
    border: none !important;
    border-radius: 15px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(231,193,65,0.25) !important;
    margin-top: 4px !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

body.woocommerce-checkout #place_order:hover {
    background: #ccab32 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(231,193,65,0.4) !important;
}

/* =============================================
   Mobile
   ============================================= */
@media (max-width: 768px) {

    body.woocommerce-checkout .site-main {
        padding: 20px 16px 40px !important;
    }

    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    body.woocommerce-checkout #customer_details {
        padding: 28px 20px !important;
        border-radius: 14px !important;
    }

    body.woocommerce-checkout #order_review_heading {
        border-radius: 14px 14px 0 0 !important;
        padding: 24px 20px 0 !important;
        clip-path: none !important;
    }

    body.woocommerce-checkout #order_review {
        border-radius: 0 0 14px 14px !important;
        padding: 8px 20px 24px !important;
        position: static !important;
    }

    body.woocommerce-checkout .form-row-first,
    body.woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields > h3 {
        font-size: 20px !important;
    }
}

/* =============================================
   Page Commande reçue — Georgio Glacier
   ============================================= */

body.woocommerce-order-received {
    background: #f8f6f2 !important;
}

body.woocommerce-order-received .site-main {
    max-width: 640px !important;
    margin: 0 auto !important;
    padding: 48px 24px 60px !important;
    font-family: "DM Sans", sans-serif !important;
    background: transparent !important;
}

body.woocommerce-order-received .page-header {
    display: none !important;
}

body.woocommerce-order-received .woocommerce-order {
    font-family: "DM Sans", sans-serif !important;
}

/* ── Success banner ────────────────────────────────────────────── */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-family: "DM Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    text-align: center !important;
    padding: 20px 24px !important;
    margin: 0 0 24px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 16px !important;
}

/* ── Order overview ────────────────────────────────────────────── */
body.woocommerce-order-received .woocommerce-order-overview {
    list-style: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "commande total paiement"
        "date email email" !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
    background: transparent !important;
    border: none !important;
    gap: 10px !important;
}

body.woocommerce-order-received .woocommerce-order-overview li {
    padding: 16px 14px !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    color: #aaa !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 500 !important;
    text-align: center !important;
}

body.woocommerce-order-received .woocommerce-order-overview li.order { grid-area: commande !important; }
body.woocommerce-order-received .woocommerce-order-overview li.total { grid-area: total !important; }
body.woocommerce-order-received .woocommerce-order-overview li.method { grid-area: paiement !important; }
body.woocommerce-order-received .woocommerce-order-overview li.date { grid-area: date !important; }
body.woocommerce-order-received .woocommerce-order-overview li.email { grid-area: email !important; }

body.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 6px !important;
    word-break: break-word !important;
}

/* ── Pickup card ───────────────────────────────────────────────── */
body.woocommerce-order-received .gp-ty-pickup {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 0 28px !important;
    font-family: "DM Sans", sans-serif !important;
}

body.woocommerce-order-received .gp-ty-pickup__header {
    background: #E7C141 !important;
    padding: 14px 24px !important;
}

body.woocommerce-order-received .gp-ty-pickup__badge {
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

body.woocommerce-order-received .gp-ty-pickup__body {
    padding: 24px !important;
}

body.woocommerce-order-received .gp-ty-pickup__date {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    margin: 0 0 6px !important;
}

body.woocommerce-order-received .gp-ty-pickup__address {
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    color: #888 !important;
    margin: 0 0 16px !important;
}

body.woocommerce-order-received .gp-ty-pickup__notices {
    padding-top: 16px !important;
    border-top: 1px solid #f0ede8 !important;
}

body.woocommerce-order-received .gp-ty-pickup__notices p {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    color: #666 !important;
    margin: 0 0 6px !important;
    line-height: 1.6 !important;
}

body.woocommerce-order-received .gp-ty-pickup__notices p:last-child {
    margin-bottom: 0 !important;
}

/* ── Section cards (bandeau doré + fond blanc) ─────────────────── */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
}

/* Titres → bandeau doré avec icône */
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin: 0 !important;
    padding: 14px 24px !important;
    border: none !important;
    background: #E7C141 !important;
}

body.woocommerce-order-received .woocommerce-order-details__title::before {
    content: "🧾 " !important;
}

body.woocommerce-order-received .woocommerce-column__title::before {
    content: "🏠 " !important;
}

/* ── Order table ───────────────────────────────────────────────── */
body.woocommerce-order-received table.order_details,
body.woocommerce-order-received table.woocommerce-table {
    border: none !important;
    border-radius: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    font-family: "DM Sans", sans-serif !important;
}

body.woocommerce-order-received table.order_details th,
body.woocommerce-order-received table.order_details td {
    border: none !important;
    border-bottom: 1px solid #f0ede8 !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    color: #333 !important;
    background: #fff !important;
    font-family: "DM Sans", sans-serif !important;
}

body.woocommerce-order-received table.order_details thead th {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #aaa !important;
    background: #fafaf8 !important;
    padding: 12px 24px !important;
}

body.woocommerce-order-received table.order_details tfoot th {
    font-weight: 500 !important;
    color: #888 !important;
    padding: 14px 24px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
}

body.woocommerce-order-received table.order_details tfoot td {
    text-align: right !important;
    padding: 14px 24px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
}

body.woocommerce-order-received table.order_details tfoot tr:last-child th,
body.woocommerce-order-received table.order_details tfoot tr:last-child td {
    border-bottom: none !important;
}

body.woocommerce-order-received table.order_details tbody td a {
    color: #0D345B !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* ── Billing address ───────────────────────────────────────────── */
body.woocommerce-order-received .woocommerce-customer-details address {
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px 24px !important;
    font-style: normal !important;
    line-height: 1.7 !important;
}

body.woocommerce-order-received .woocommerce-customer-details address p {
    font-family: "DM Sans", sans-serif !important;
    margin: 4px 0 0 !important;
    color: #666 !important;
    font-size: 14px !important;
}

body.woocommerce-order-received .syde-return-page-order-payment-status {
    display: none !important;
}

/* ── Bouton retour boutique ────────────────────────────────────── */
body.woocommerce-order-received .gp-ty-back {
    text-align: center !important;
    margin-top: 36px !important;
}

body.woocommerce-order-received .gp-ty-back__btn {
    display: inline-block !important;
    padding: 16px 40px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0D345B !important;
    background: #E7C141 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}

body.woocommerce-order-received .gp-ty-back__btn:hover {
    background: #ccab32 !important;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    body.woocommerce-order-received .site-main {
        padding: 28px 16px 40px !important;
    }

    body.woocommerce-order-received .woocommerce-order-overview {
        gap: 16px !important;
    }

    body.woocommerce-order-received .gp-ty-pickup__body {
        padding: 20px !important;
    }
}

/* Empêcher le scroll horizontal sur mobile */
@media (max-width: 768px) {
    body.woocommerce-checkout {
        overflow-x: hidden !important;
    }
    body.woocommerce-checkout .site-main,
    body.woocommerce-checkout .page-content,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout form.checkout {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    body.woocommerce-checkout #georgio-pickup,
    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Force no horizontal scroll on checkout */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    body.woocommerce-checkout * {
        max-width: 100% !important;
    }
    body.woocommerce-checkout .select2-container,
    body.woocommerce-checkout .select2-dropdown {
        max-width: 100vw !important;
    }
}

/* Force no overflow on Elementor containers checkout mobile */
@media (max-width: 768px) {
    body.woocommerce-checkout .e-con,
    body.woocommerce-checkout .elementor-container,
    body.woocommerce-checkout .elementor-section,
    body.woocommerce-checkout .e-con-inner {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    body.woocommerce-checkout #georgio-pickup .gp-cal__table,
    body.woocommerce-checkout #georgio-pickup .gp-cal {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body.woocommerce-checkout .select2-container {
        max-width: calc(100vw - 32px) !important;
    }
}

/* Fix overflow horizontal causé par select2-hidden-accessible */
.select2-hidden-accessible {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
}

/* Force overflow hidden sur le form checkout */
form.woocommerce-checkout,
form.checkout {
    overflow-x: clip !important;
}

/* Force-hide select2 native select avec max specificity */
html body select.select2-hidden-accessible,
html body .woocommerce select.select2-hidden-accessible,
html body form.checkout select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    max-width: 1px !important;
    min-width: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    left: 0 !important;
    top: 0 !important;
}

/* ── Message erreur paiement (page commande reçue) ─────────────── */
.gc-payment-error {
    text-align: center !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 40px 24px !important;
    margin-bottom: 24px !important;
    font-family: "DM Sans", sans-serif !important;
    border: 1px solid #e0e0e0 !important;
}
.gc-payment-error__icon {
    width: 56px !important;
    height: 56px !important;
    line-height: 56px !important;
    border-radius: 50% !important;
    background: #fdeaea !important;
    color: #c0392b !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 auto 16px !important;
}
.gc-payment-error__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    margin: 0 0 8px !important;
}
.gc-payment-error__message {
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px !important;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.gc-payment-error__actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}
.gc-payment-error__btn {
    display: inline-block !important;
    padding: 12px 24px !important;
    border-radius: 15px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}
.gc-payment-error__btn:hover {
    opacity: 0.85 !important;
}
.gc-payment-error__btn--primary {
    background: #0D345B !important;
    color: #fff !important;
}
.gc-payment-error__btn--secondary {
    background: #f8f6f2 !important;
    color: #0D345B !important;
    border: 1px solid #d0dbe6 !important;
}


/* ── Notice info paiement (checkout, avant bouton Commander) ───── */
.gc-checkout-info {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    background: #f0f4f8 !important;
    border: 1px solid #d0dbe6 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
    font-family: "DM Sans", sans-serif !important;
}
.gc-checkout-info__icon {
    font-size: 16px !important;
    line-height: 1.5 !important;
    flex-shrink: 0 !important;
}
.gc-checkout-info p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #555 !important;
}
.gc-checkout-info strong {
    color: #0D345B !important;
}
