/*
 * Euro Shop Key — page de paiement v2 (style), version 1.0.3 (28/10/2026, phase E).
 * 1.0.2 (livraison phase E) : commentaire seul, plus aucun nom de l'ancien module de chat dans le fichier.
 * 1.0.1 (corrections phase E) : selecteur de la bulle de chat retire (bulle abandonnee sur ESK, L. 28/10).
 * Charge sur la page de paiement par includes/checkout-pc.php. Couleurs du theme mykey, police Inter.
 * Ordinateur (>= 1024 px) : deux colonnes facon Shopify, colonne droite gris clair collante.
 * Tablette (768-1023 px) : une colonne. Telephone : le mu-plugin esk-checkout-mobile garde la main
 * (classe body.esk-m2) ; les elements propres a l'ordinateur y sont masques en bas de ce fichier.
 */
.esk-co-main, .esk-co-main * { box-sizing: border-box; }
.esk-co-main {
  --co-primary: #1e40af; --co-secondary: #2563eb; --co-bg-right: #f8fafc; --co-border: #e2e8f0;
  --co-field: #d1d5db; --co-text: #1e293b; --co-muted: #64748b; --co-success: #10b981;
  --co-error: #ef4444; --co-open: #eff6ff; --co-tp: #00b67a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--co-text);
}
.esk-co-main [hidden], .esk-bump[hidden] { display: none !important; }

/* Page epuree : ni bandeau, ni menu, ni pied du theme */
body.esk-co-page #notification-banner,
body.esk-co-page #header,
body.esk-co-page > footer,
body.esk-co-page footer.bg-gray-900 { display: none !important; }
body.esk-co-page { padding-top: 0 !important; background: #fff; overflow-x: hidden; }
body.esk-co-page .site-main > .woocommerce,
body.esk-co-page .woocommerce:has(> .esk-co-main) { margin-top: 0 !important; padding-top: 0 !important; }
body.esk-co-page main.esk-co-main { margin-top: 0 !important; padding-top: 0 !important; background: #fff; }

/* En-tete de la page de paiement */
.esk-co-top { position: relative; display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.esk-co-top::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 1px; background: var(--co-border); transform: translateX(-50%); }
.esk-co-logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.esk-co-logo-txt { font-weight: 800; font-size: 20px; }
.esk-co-secure { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #f2faf6; border: 1px solid #cdeadd; border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 600; color: #166534; white-space: nowrap; }
.esk-co-panier { color: var(--co-primary); font-size: 20px; padding: 6px; border-radius: 8px; }
.esk-co-panier:hover { background: var(--co-open); }
.esk-co-noscript { background: #fef2f2; color: #991b1b; padding: 12px; border-radius: 8px; margin: 12px 0; }

/* Colonnes */
#checkoutpageformwrapper.esk-co { gap: 0; }
.esk-co-gauche, .esk-co-droite { min-width: 0; }
.esk-co-gauche { padding: 24px 0 32px; }
.esk-co-droite { padding: 0 0 32px; }
.esk-co-bloc.card { background: transparent; box-shadow: none !important; border: 0; border-radius: 0; margin: 0 0 28px; overflow: visible; }
.esk-co-bloc .section-compact { padding: 0 !important; }
.esk-co-bloc .section-header { margin: 0 0 12px; display: block; }
.esk-co-bloc .section-title { font-size: 20px; font-weight: 700; color: var(--co-text); margin: 0; }
.esk-co-sous { font-size: 14px; color: var(--co-muted); margin: -6px 0 12px; }
.esk-co-connecte { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-size: 13px; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }

/* Champs */
.esk-co .form-group { margin: 0 0 12px; }
.esk-co .esk-co-champ > .form-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.esk-co .form-input, .esk-co .form-select, .esk-co-coupon .form-input {
  width: 100%; height: 50px; border: 1px solid var(--co-field); border-radius: 8px; background: #fff;
  padding: 0 14px; font-size: 15px; color: var(--co-text); font-family: inherit; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.esk-co .form-input::placeholder, .esk-co-coupon .form-input::placeholder { color: #94a3b8; text-transform: none; }
.esk-co .form-input:focus, .esk-co .form-select:focus, .esk-co-coupon .form-input:focus { outline: none; border-color: var(--co-secondary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.esk-co .form-input[aria-invalid="true"], .esk-co .form-select[aria-invalid="true"] { border-color: var(--co-error); box-shadow: 0 0 0 1px var(--co-error); }
.esk-co .form-hint { font-size: 13px; color: var(--co-muted); margin: 6px 0 0; }
.esk-co-err { color: #b91c1c; font-size: 13px; margin: 6px 0 0; }
.esk-co-suggestion { margin: 6px 0 0; }
.esk-co-sugg-btn { background: none; border: 0; padding: 0; color: var(--co-secondary); text-decoration: underline; font-size: 13px; cursor: pointer; font-family: inherit; }
.esk-co .grid.gap-3 { gap: 12px; }
.esk-co .grid .form-group { margin-bottom: 0; }
.esk-co-noms { margin-bottom: 12px; }
/* Pays : libelle flottant dans le cadre, comme Shopify */
.esk-co .esk-co-flottant { position: relative; }
.esk-co .esk-co-flottant > .form-label { position: absolute !important; width: auto; height: auto; clip: auto; overflow: visible; top: 7px; left: 15px; font-size: 12px; font-weight: 400; color: var(--co-muted); pointer-events: none; z-index: 1; margin: 0; }
.esk-co .esk-co-flottant > .form-label .required { display: none; }
.esk-co .esk-co-flottant .form-select { height: 54px; padding: 20px 36px 4px 14px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.esk-co-depli { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; margin: 2px 0; color: var(--co-secondary); font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; }
.esk-co-depli[aria-expanded="true"] i { transform: rotate(45deg); }
.esk-co-depli i { transition: transform .15s; }
.esk-co-repli { padding: 8px 0 4px; }
.esk-co .account-option { display: none; }

/* Paiement express */
.esk-co-express { margin: 0 0 24px; }
.esk-co-express-titre { text-align: center; font-size: 14px; color: var(--co-muted); margin: 0 0 12px; }
.esk-co-express-grille { display: flex; flex-wrap: wrap; gap: 12px; }
.esk-co-express-grille > * { flex: 1 1 0; min-width: 160px; }
.esk-co-express-grille > [style*="display:none"], .esk-co-express-grille > [style*="display: none"] { display: none !important; }
.esk-co-express #googlepay-btn, .esk-co-express #googlepay-btn > div { width: 100% !important; height: 48px; }
.esk-co-express #googlepay-btn button { width: 100% !important; height: 48px !important; border-radius: 8px !important; }
.esk-co-ap-express .apple-pay-button { width: 100%; height: 48px; border-radius: 8px; border: 0; cursor: pointer; }
.esk-co-bancontact { width: 100%; height: 48px; border-radius: 8px; border: 0; cursor: pointer; background: #004e91; color: #fff; font: 700 15px Inter, sans-serif; display: flex; align-items: center; justify-content: center; gap: 10px; }
.esk-co-bancontact img { height: 24px; width: auto; background: #fff; border-radius: 4px; padding: 2px; }
.esk-co-bancontact:hover { background: #003d73; }
.esk-co-ou { display: flex; align-items: center; gap: 14px; color: var(--co-muted); font-size: 13px; margin: 20px 0 0; }
.esk-co-ou::before, .esk-co-ou::after { content: ""; flex: 1; height: 1px; background: var(--co-border); }

/* Accordeon des moyens de paiement */
.esk-co-acc { border: 1px solid var(--co-field); border-radius: 10px; overflow: hidden; background: #fff; }
.esk-co-meth + .esk-co-meth { border-top: 1px solid var(--co-border); }
.esk-co-meth-tete { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 16px; cursor: pointer; user-select: none; border: 1px solid transparent; }
.esk-co-meth-tete:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: -3px; }
.esk-co-ouvert > .esk-co-meth-tete { background: var(--co-open); border-color: var(--co-primary); }
.esk-co-meth:first-child.esk-co-ouvert > .esk-co-meth-tete { border-radius: 10px 10px 0 0; }
.esk-co-radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #94a3b8; background: #fff; flex: 0 0 18px; transition: border-width .12s, border-color .12s; }
.esk-co-ouvert .esk-co-radio { border: 6px solid var(--co-primary); }
.esk-co-meth-nom { font-size: 15px; font-weight: 600; flex: 1; }
.esk-co-logos { display: inline-flex; gap: 6px; }
.esk-co-logos img, .esk-co-meth-logo { height: 24px; width: auto; border: 1px solid var(--co-border); border-radius: 4px; background: #fff; padding: 2px; }
.esk-co-meth-corps { display: none; padding: 16px; background: var(--co-bg-right); border-top: 1px solid var(--co-border); }
.esk-co-ouvert > .esk-co-meth-corps { display: block; }
.esk-co-meth-corps > p { margin: 0; font-size: 14px; color: #475569; }
.esk-co-carte .form-label { display: block; font-size: 13px; font-weight: 500; color: #475569; margin: 0 0 6px; }
.esk-co-carte .required { color: var(--co-error); }
.esk-co-mc-champ { position: relative; }
.esk-co-mc-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 13px; pointer-events: none; }
.esk-co-aide { pointer-events: auto; width: 18px; height: 18px; border: 1px solid #94a3b8; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 11px Inter, sans-serif; cursor: help; background: #fff; }
.esk-co .mollie-component { background: #fff; border: 1px solid var(--co-field); border-radius: 8px; padding: 14px 40px 14px 14px; height: 50px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
/* Mollie insere sa propre div .mollie-component dans le conteneur : seul le conteneur porte le cadre */
.esk-co .mollie-component .mollie-component { border: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; background: transparent !important; box-shadow: none !important; }
.esk-co .mollie-component:hover { border-color: #93c5fd; }
.esk-co .mollie-component:focus-within { border-color: var(--co-secondary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.esk-co .mollie-component:has(.is-invalid) { border-color: var(--co-error); box-shadow: 0 0 0 1px var(--co-error); }
.mollie-field-error { display: none; color: #b91c1c; font-size: 13px; margin-top: 6px; }
.esk-co-squelette { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%) !important; background-size: 400% 100% !important; animation: eskCoSq 1.4s ease infinite; }
@keyframes eskCoSq { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.esk-co-mc-ligne { margin-bottom: 12px; }
.esk-co-3ds { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--co-muted); margin-top: 4px; }
.esk-co-3ds i { color: #16a34a; }
.esk-co-alerte { display: flex; align-items: flex-start; gap: 12px; background: #fef2f2; border: 1px solid #fca5a5; border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; }
.esk-co-alerte i { color: #dc2626; font-size: 18px; margin-top: 2px; }
.esk-co-alerte > div { flex: 1; }
.esk-co-alerte h3 { margin: 0 0 4px; color: #991b1b; font-size: 15px; font-weight: 700; }
.esk-co-alerte p { margin: 0; color: #7f1d1d; font-size: 14px; line-height: 1.5; }
.esk-co-alerte button { background: none; border: 0; color: #991b1b; font-size: 22px; line-height: 1; cursor: pointer; }
.esk-co-alerte-simple { margin-top: 12px; padding: 12px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; color: #b91c1c; font-size: 14px; }

/* Pied legal */
.esk-co-pied { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--co-border); padding: 16px 0 0; margin-top: 8px; font-size: 12px; color: var(--co-muted); }
.esk-co-pied a { color: var(--co-secondary); text-decoration: underline; }

/* Colonne droite */
.esk-co-resume.card { background: transparent; box-shadow: none !important; border: 0; border-radius: 0; overflow: visible; }
.esk-co-resume { padding: 24px 0 0; }
.esk-co-resume-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.esk-co-lignes { display: flex; flex-direction: column; gap: 14px; }
.esk-co-ligne { display: flex; align-items: center; gap: 14px; padding: 0; }
.esk-co-vign { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid var(--co-border); border-radius: 10px; background: #fff; }
.esk-co-vign img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; padding: 4px; }
.esk-co-qte { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #1e293b; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.esk-co-ligne-txt { flex: 1; min-width: 0; }
.esk-co-ligne-txt h4 { font-size: 14px !important; font-weight: 600 !important; color: var(--co-text); margin: 0; line-height: 1.35; }
.esk-co-ligne-txt p { font-size: 12px !important; color: var(--co-muted); margin: 2px 0 0; }
.esk-co-ligne-prix { text-align: right; font-size: 14px; white-space: nowrap; }
/* 29/10 : div. obligatoire, sinon la regle touche aussi <body class="esk-co-barre"> (barre fixe) et toute la page est barree */
div.esk-co-barre { font-size: 12px; color: #94a3b8; text-decoration: line-through; }
.esk-co-coupon { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.esk-co-coupon .form-input { flex: 1; min-width: 0; height: 48px; text-transform: uppercase; }
.esk-co-coupon .esk-co-err { flex-basis: 100%; margin: 0; }
.esk-co-btn-sec { height: 48px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--co-field); background: #eef2f7; color: #334155; font: 600 14px Inter, sans-serif; cursor: pointer; }
.esk-co-btn-sec:hover { background: #e2e8f0; }
.esk-co-btn-sec:disabled { opacity: .6; cursor: wait; }
.esk-co-totaux { margin: 20px 0 0; }
.esk-co-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; padding: 4px 0; }
.esk-co-remise > span:last-child { color: #047857; }
.esk-co-coupon-x { background: none; border: 0; padding: 0 0 0 6px; color: var(--co-secondary); font-size: 12px; text-decoration: underline; cursor: pointer; font-family: inherit; }
.esk-co-note { font-size: 12px; color: var(--co-muted); margin: 2px 0; }
.esk-co-total { font-size: 18px; font-weight: 700; padding-top: 12px; }
.esk-co-total small { font-size: 12px; font-weight: 400; color: var(--co-muted); margin-right: 4px; }
.esk-co-total .price-highlight { font-size: 22px; font-weight: 800; color: var(--co-text); background: none; -webkit-text-fill-color: currentColor; }
.esk-co-ttc { font-size: 13px; color: var(--co-muted); }
.esk-co-paybox { margin: 18px 0 0; padding: 0; border: 0; }
.esk-co-paybox .conditions-compact { margin: 0 0 12px; }
.esk-co-cgv-case { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 0 0 8px; }
.esk-co-cgv-case input { margin-top: 3px; width: 16px; height: 16px; }
.esk-co-retract { font-size: 12px; line-height: 1.5; color: #475569; margin: 0; }
.esk-co-payer.btn { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px;
  background: linear-gradient(135deg, #1e40af, #2563eb); color: #fff; font: 700 17px Inter, sans-serif; box-shadow: 0 4px 14px rgba(37, 99, 235, .25); cursor: pointer; padding: 0 16px; transition: filter .15s, transform .05s; }
.esk-co-payer.btn:hover { filter: brightness(1.06); }
.esk-co-payer.btn:active { transform: translateY(1px); }
.esk-co-payer.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 2px; }
.esk-co-payer.btn:disabled { opacity: .65; cursor: not-allowed; }
.esk-co-payer .btn-text { font-size: 17px; font-weight: 700; }
.esk-co-walletpay > * { width: 100%; }
.esk-co-walletpay #esk-co-gpay-slot button { width: 100% !important; height: 56px !important; border-radius: 10px !important; }
.esk-co-walletpay #esk-co-gpay-slot > div { width: 100% !important; }
.esk-co-ap-slot .apple-pay-button { width: 100%; height: 56px; border-radius: 10px; border: 0; cursor: pointer; }
.esk-co-accepte { font-size: 12px; color: var(--co-muted); text-align: center; margin: 10px 0 0; line-height: 1.5; }
.esk-co-accepte a, .esk-co-cgv-case a { color: var(--co-secondary); text-decoration: underline; }
.checkout-error-box { margin-top: 12px; padding: 12px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; color: #991b1b; font-size: 14px; }
.esk-co-barre-total { display: none; }
/* 28/10/2026 (retouche de L.) : encart de confiance, note Trustpilot puis 3 garanties avec icones, mobile et ordinateur */
.esk-co-confiance { margin: 22px 0 0; padding: 14px 16px; border: 1px solid var(--co-border); border-radius: 12px; background: #f8fafc; }
.esk-co-confiance .esk-co-conf-avis { padding-bottom: 10px; border-bottom: 1px solid var(--co-border); }
.esk-co-confiance ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.esk-co-confiance li { font-size: 13px; line-height: 1.35; color: #334155; display: flex; align-items: center; gap: 10px; }
.esk-co-conf-ic { width: 26px; height: 26px; border-radius: 50%; background: #e0ecff; color: var(--co-secondary); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 12px; }

/* Ligne Trustpilot (page de paiement, commande recue, fiche) */
.esk-avis-ligne { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #334155; text-decoration: none; }
.esk-avis-ligne:hover .esk-avis-txt { text-decoration: underline; }
.esk-avis-ligne .esk-stars { display: inline-flex; gap: 2px; }
.esk-avis-ligne .esk-sq { width: 16px; height: 16px; background: #00b67a; display: inline-flex; align-items: center; justify-content: center; }
.esk-avis-ligne .esk-sq i { color: #fff; font-size: 9px; }
.esk-avis-ligne .fa-external-link-alt { font-size: 10px; color: #94a3b8; }

/* Superposition pendant le paiement */
.esk-co-overlay { display: flex; position: fixed; inset: 0; background: rgba(15, 23, 42, .82); z-index: 99999; align-items: center; justify-content: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.esk-co-overlay-boite { background: #fff; border-radius: 16px; padding: 36px 30px; max-width: 420px; width: 90%; text-align: center; font-family: Inter, sans-serif; }
.esk-co-overlay-roue { width: 60px; height: 60px; margin: 0 auto 18px; border: 5px solid #e5e7eb; border-top-color: #2563eb; border-radius: 50%; animation: eskCoTourne .8s linear infinite; }
@keyframes eskCoTourne { to { transform: rotate(360deg); } }
.esk-co-overlay h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #111827; }
.esk-co-overlay p { margin: 0 0 6px; color: #4b5563; font-size: 14px; }
.esk-co-overlay .esk-co-ov2 { color: #dc2626; font-weight: 600; font-size: 13px; margin-top: 12px; }
.esk-co-overlay .esk-co-ov3 { color: #9ca3af; font-size: 12px; }

/* Anciens elements toujours utilises */
.pwd-fields { display: none; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; padding: 12px; background: #f9fafb; border-radius: 8px; }
.pwd-fields.show { display: grid; }
.threeds-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.threeds-modal-content { background: #fff; border-radius: 12px; width: 90%; max-width: 500px; max-height: 90vh; overflow: hidden; }
.threeds-modal-body { height: 500px; }
.threeds-modal-body iframe { width: 100%; height: 100%; }

/* ============ Coup de pouce (order bump v2) ============ */
.esk-bump { margin: 4px 0 28px; display: grid; gap: 12px; }
.esk-bump-offre { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; align-items: start; border: 2px dashed var(--co-secondary, #2563eb); background: #eff6ff; border-radius: 12px; padding: 16px; }
.esk-bump-img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid #dbeafe; padding: 4px; }
.esk-bump-badge { display: inline-block; background: #1e40af; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; }
.esk-bump-titre { font-size: 17px; font-weight: 700; color: #1e293b; margin: 8px 0 2px; line-height: 1.3; }
.esk-bump-eco { font-size: 14px; color: #475569; margin: 0 0 6px; }
.esk-bump-eco s { color: #94a3b8; }
.esk-bump-eco strong { color: #047857; }
.esk-bump-puces { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; }
.esk-bump-puces li { font-size: 13px; color: #334155; }
.esk-bump-puces i { color: #10b981; font-size: 11px; margin-right: 4px; }
.esk-bump-btn { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: #1e40af; color: #fff !important; font: 700 15px Inter, sans-serif; text-decoration: none !important; cursor: pointer; box-shadow: 0 3px 10px rgba(30, 64, 175, .25); }
.esk-bump-btn:hover { background: #1d4ed8; }
.esk-bump-btn:focus-visible, .esk-bump-retirer:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 2px; }
.esk-bump-attente { opacity: .6; pointer-events: none; }
.esk-bump-ok { display: flex; align-items: center; gap: 10px; background: #ecfdf5; border: 1px solid #10b981; border-radius: 12px; padding: 12px 16px; color: #065f46; font-size: 14px; font-weight: 500; }
.esk-bump-ok i { color: #10b981; }
.esk-bump-ok span { flex: 1; }
.esk-bump-retirer { background: none; border: 0; color: #475569; text-decoration: underline; font-size: 13px; cursor: pointer; font-family: inherit; }
.esk-bump-retire { font-size: 13px; color: #475569; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 14px; }
.esk-bump-err { color: #b91c1c; font-size: 13px; margin: 0; }
.esk-bump-suivant { animation: eskBumpIn .35s ease .6s both; }
@keyframes eskBumpIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============ Ordinateur ============ */
@media (min-width: 1024px) {
  .esk-co-main > .container.esk-co-conteneur { max-width: none; padding: 0; width: 100%; }
  #checkoutpageformwrapper.esk-co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: none; margin: 0; min-height: calc(100vh - 70px); }
  .esk-co-gauche, .esk-co-droite { grid-column: auto !important; }
  .esk-co-gauche { display: flex; justify-content: flex-end; padding: 36px 48px 48px 24px; }
  .esk-co-gauche > .normalcehckoutformarea { width: 100%; max-width: 600px; }
  .esk-co-droite { position: relative; background: var(--co-bg-right); border-left: 1px solid var(--co-border); padding: 36px 24px 48px 48px; }
  .esk-co-droite::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: var(--co-bg-right); }
  .esk-co-resume { position: sticky; top: 24px; max-width: 440px; padding-top: 0; }
  body.esk-co-barre .esk-co-resume { position: static; }
}
@media (min-width: 1440px) {
  .esk-co-gauche > .normalcehckoutformarea { max-width: 640px; }
  .esk-co-resume { max-width: 480px; }
}
/* Tablette */
@media (min-width: 768px) and (max-width: 1023px) {
  #checkoutpageformwrapper.esk-co { max-width: 680px; }
  .esk-co-droite { order: -1; background: var(--co-bg-right); border: 1px solid var(--co-border); border-radius: 12px; padding: 0 20px 20px; margin-top: 20px; }
}
/* Barre fixe en bas quand la colonne ne tient pas dans l'ecran */
@media (min-width: 768px) {
  body.esk-co-barre { padding-bottom: 130px !important; }
  body.esk-co-barre #checkout-paybox { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; margin: 0; background: #fff; border-top: 1px solid var(--co-border); box-shadow: 0 -6px 18px rgba(15, 23, 42, .08);
    padding: 12px max(24px, calc((100vw - 1200px) / 2)); display: grid; grid-template-columns: auto minmax(0, 1fr) 300px; grid-template-areas: "tot cond btn" "tot acc btn" "err err err"; gap: 4px 24px; align-items: center; }
  body.esk-co-barre .esk-co-barre-total { display: block; grid-area: tot; font-size: 22px; font-weight: 800; white-space: nowrap; }
  body.esk-co-barre #checkout-paybox .conditions-compact { grid-area: cond; margin: 0; }
  body.esk-co-barre .esk-co-retract { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; }
  body.esk-co-barre .esk-co-accepte { grid-area: acc; text-align: left; margin: 0; font-size: 11px; }
  body.esk-co-barre .esk-co-payer, body.esk-co-barre .esk-co-walletpay { grid-area: btn; }
  body.esk-co-barre #checkout-error { grid-area: err; }
}

/* ============ Telephone : le mu-plugin mobile garde la main ============ */
body.esk-m2 .esk-co-top,
body.esk-m2 #esk-co-express,
body.esk-m2 .esk-co-pied,
body.esk-m2 #esk-co-coupon,
body.esk-m2 .esk-co-accepte,
body.esk-m2 .esk-co-barre-total,
body.esk-m2 .esk-co-sous,
body.esk-m2 #esk-co-walletpay,
body.esk-m2 .esk-co-meth-tete,
body.esk-m2 .esk-co-meth:not([data-m="card"]) { display: none !important; }
body.esk-m2 .esk-co-meth[data-m="card"] > .esk-co-meth-corps { display: block !important; padding: 0; background: none; border: 0; }
body.esk-m2 .esk-co-acc { border: 0; border-radius: 0; overflow: visible; }
body.esk-m2 .esk-co-carte { padding: 12px; background: #fff; }
body.esk-m2 #checkout-submit-btn[hidden] { display: flex !important; }
body.esk-m2 .esk-co-resume { padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
body.esk-m2 .esk-co-resume-titre { position: static; width: auto; height: auto; clip: auto; font-size: 15px; font-weight: 800; margin: 0 0 10px; }
body.esk-m2 .esk-co-confiance { margin-top: 12px; padding-top: 10px; }
body.esk-m2 .esk-avis-ligne { font-size: 12px; }
body.esk-m2 .esk-co .esk-co-champ > .form-label { position: static !important; width: auto; height: auto; clip: auto; overflow: visible; }
body.esk-m2 .esk-bump-offre { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; }
body.esk-m2 .esk-bump-img { width: 56px; height: 56px; }
body.esk-m2 .esk-bump-btn { justify-self: stretch; }
@media (max-width: 767px) {
  .esk-co-gauche { padding-top: 12px; }
  .esk-bump-btn { justify-self: stretch; }
}

/* 28/10/2026 (retouche de L. 17h55) : le coup de pouce vit dans la colonne de droite, sous l'article, en version compacte */
.esk-co-resume .esk-bump { margin: 10px 0 14px; gap: 10px; }
.esk-co-resume .esk-bump-offre { grid-template-columns: 56px minmax(0, 1fr); gap: 6px 12px; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, #eff6ff 0%, #e8f1ff 100%); }
.esk-co-resume .esk-bump-img { width: 56px; height: 56px; }
.esk-co-resume .esk-bump-badge { font-size: 10px; padding: 2px 8px; }
.esk-co-resume .esk-bump-titre { font-size: 15px; margin: 6px 0 2px; }
.esk-co-resume .esk-bump-eco { font-size: 13px; margin-bottom: 4px; }
.esk-co-resume .esk-bump-puces { gap: 2px; }
.esk-co-resume .esk-bump-puces li { font-size: 12px; }
.esk-co-resume .esk-bump-btn { justify-self: stretch; min-height: 42px; font-size: 14px; margin-top: 4px; }
.esk-co-resume .esk-bump-ok { padding: 10px 12px; font-size: 13px; }
.esk-co-resume .esk-bump-retire { font-size: 12px; padding: 8px 12px; }
body.esk-m2 .esk-bump.esk-m2-bump { margin: 10px 12px 14px; }

/* 29/10/2026 (L. : « sur mobile le recommended est beaucoup trop gros », puis 12h31 « le bouton aurait du etre en bas, c est encore trop gros ») :
   sur telephone, bandeau compact : image + texte sur une ligne, bouton pleine largeur EN DESSOUS, petites tailles */
body.esk-m2 .esk-bump { margin: 0 0 10px; gap: 6px; }
body.esk-m2 .esk-bump-offre { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 10px; padding: 9px 10px 9px; align-items: center; border-radius: 10px; border-style: solid; }
body.esk-m2 .esk-bump-img { width: 40px; height: 40px; border-radius: 8px; grid-column: 1; grid-row: 1; }
body.esk-m2 .esk-bump-txt { grid-column: 2; grid-row: 1; min-width: 0; }
body.esk-m2 .esk-bump-badge { display: inline-block; max-width: 100%; font-size: 9px; line-height: 1.4; padding: 1px 7px; margin: 0; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; }
body.esk-m2 .esk-bump-titre { font-size: 13px; line-height: 1.25; margin: 3px 0 0; }
body.esk-m2 .esk-bump-eco { font-size: 11px; line-height: 1.3; margin: 2px 0 0; }
body.esk-m2 .esk-bump-puces { display: none; }
body.esk-m2 .esk-bump-btn { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; align-self: auto; margin: 2px 0 0; padding: 9px 12px; font-size: 13px; line-height: 1.2; white-space: nowrap; border-radius: 8px; text-align: center; }
body.esk-m2 .esk-bump-offre-2 { display: none; }
body.esk-m2 .esk-bump-ok { padding: 8px 10px; font-size: 12px; }
/* ordinateur : deux offres cote a cote dans le resume, la seconde un peu plus discrete */
.esk-co-resume .esk-bump-offre-2 { background: #f8fafc; border-color: #cbd5e1; }
/* 29/10/2026 : echelle d upsell sur la page panier */
.esk-cart-bump { margin: 14px 0 6px; }
.esk-cart-bump .esk-bump { margin: 0; gap: 10px; }
.esk-cart-bump .esk-bump-offre { background: linear-gradient(180deg, #eff6ff 0%, #e8f1ff 100%); border-radius: 12px; }
/* 29/10 14h45 (captures ordinateur + Android) : le panier n a pas d en-tete fixe (sticky, dans le flux), la marge de 100 px du theme
   creait un grand vide sous le menu ; la carte de recommandation heritait de la largeur maximale (440 px) de la colonne du paiement. */
.woocommerce-cart main.site-main { margin-top: 0 !important; padding-top: 0 !important; }
.esk-cart-main .esk-cart-bump.esk-co-resume { position: static !important; top: auto !important; max-width: none !important; width: 100% !important; padding: 0 !important; margin: 14px 0 6px; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.esk-cart-main .esk-cart-bump .esk-bump { display: block; margin: 0; }
.esk-cart-main .esk-cart-bump .esk-bump-offre + .esk-bump-offre { margin-top: 10px; }
@media (min-width: 768px) {
  /* carte horizontale pleine largeur : image a gauche, texte au centre, bouton a droite (L. : « les encarts sont hyper mal faits ») */
  .esk-cart-main .esk-cart-bump .esk-bump-offre { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-rows: auto; gap: 4px 22px; align-items: center; padding: 18px 22px; border: 2px solid #93c5fd; border-radius: 16px; background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%); box-shadow: 0 6px 20px rgba(37, 99, 235, .08); }
  .esk-cart-main .esk-cart-bump .esk-bump-offre-2 { display: grid; border-color: #cbd5e1; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
  .esk-cart-main .esk-cart-bump .esk-bump-img { width: 96px; height: 96px; border-radius: 12px; grid-column: 1; grid-row: 1; }
  .esk-cart-main .esk-cart-bump .esk-bump-txt { grid-column: 2; grid-row: 1; min-width: 0; }
  .esk-cart-main .esk-cart-bump .esk-bump-badge { font-size: 11px; padding: 3px 10px; }
  .esk-cart-main .esk-cart-bump .esk-bump-titre { font-size: 18px; margin: 6px 0 2px; }
  .esk-cart-main .esk-cart-bump .esk-bump-eco { font-size: 14px; margin: 0 0 6px; }
  .esk-cart-main .esk-cart-bump .esk-bump-puces { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
  .esk-cart-main .esk-cart-bump .esk-bump-puces li { font-size: 13px; color: #475569; }
  .esk-cart-main .esk-cart-bump .esk-bump-btn { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; padding: 14px 24px; font-size: 15px; white-space: nowrap; margin: 0; }
  .esk-cart-main .esk-cart-bump .esk-bump-ok, .esk-cart-main .esk-cart-bump .esk-bump-retire { margin-bottom: 10px; }
}
/* panier sur telephone : meme bandeau compact que le paiement (29/10, 12h40) */
@media (max-width: 767px) {
  .esk-cart-bump .esk-bump { display: grid; grid-template-columns: 1fr; margin: 0 0 10px; gap: 6px; }
  .esk-cart-bump .esk-bump-offre { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 10px; padding: 9px 10px; align-items: center; border-radius: 10px; }
  .esk-cart-bump .esk-bump-img { width: 40px; height: 40px; border-radius: 8px; grid-column: 1; grid-row: 1; }
  .esk-cart-bump .esk-bump-txt { grid-column: 2; grid-row: 1; min-width: 0; }
  .esk-cart-bump .esk-bump-badge { display: inline-block; max-width: 100%; font-size: 9px; line-height: 1.4; padding: 1px 7px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; }
  .esk-cart-bump .esk-bump-titre { font-size: 13px; line-height: 1.25; margin: 3px 0 0; }
  .esk-cart-bump .esk-bump-eco { font-size: 11px; line-height: 1.3; margin: 2px 0 0; }
  .esk-cart-bump .esk-bump-puces { display: none; }
  .esk-cart-bump .esk-bump-btn { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; margin: 2px 0 0; padding: 9px 12px; font-size: 13px; border-radius: 8px; text-align: center; }
  .esk-cart-bump .esk-bump-offre-2 { display: none; }
}
/* 29/10 12h45 (verification iPhone) : panier sur telephone, bandeau de confiance empile, barre du bas sans chevauchement, moins de vide en haut */
@media (max-width: 767px) {
  main.esk-cart-main.py-16.bg-gray-50 { padding-top: 1rem !important; }
  /* mobile.css impose display:flex !important avec une specificite (0,6,1) : on passe au-dessus (0,7,1) pour empiler les 3 gages, sans debordement */
  main.esk-cart-main .esk-cart-trust.grid.grid-cols-1.gap-4.mb-8.esk-cart-trust { display: grid !important; grid-template-columns: 1fr !important; gap: 6px !important; overflow: visible !important; margin: 0 0 14px !important; padding: 0 !important; }
  main.esk-cart-main .esk-cart-trust.grid.grid-cols-1.gap-4.mb-8.esk-cart-trust > .trust-indicator { min-width: 0 !important; max-width: none !important; width: auto !important; padding: 8px 12px !important; font-size: .8rem; }
  main.esk-cart-main .esk-cart-trust.grid.grid-cols-1.gap-4.mb-8.esk-cart-trust > .trust-indicator > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; }
  #cart-sticky-mobile .cart-sticky-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
  #cart-sticky-mobile .cart-sticky-total { flex: 0 0 auto; }
  #cart-sticky-mobile .cart-sticky-btn { flex: 1 1 auto; min-width: 0; }
  #cart-sticky-mobile .cart-sticky-applepay { flex: 1 1 100%; order: 3; margin: 0; }
  #cart-sticky-mobile .cart-sticky-applepay > *, #cart-sticky-mobile .cart-sticky-applepay .apple-pay-button { width: 100% !important; max-width: 100% !important; height: 44px !important; border-radius: 10px; }
}
