/* ============================================================
   VINEA-MEA — Engagement (âge 18+, newsletter) + conversion
   Thème clair : crème #F3EFEC / bordeaux #7A2812 / or #9E7F4F
   ============================================================ */
:root {
  --vme-cream:  #F3EFEC;
  --vme-rouge:  #7A2812;
  --vme-rougel: #9C3618;
  --vme-gold:   #9E7F4F;
  --vme-ink:    #221812;
  --vme-muted:  #6B5544;
}

/* ── Overlay commun ── */
.vme-overlay {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.vme-overlay.show { opacity: 1; visibility: visible; }

/* ── Âge 18+ : fond opaque bordeaux profond ── */
#vme-age {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(122,40,18,0.55) 0%, transparent 70%),
    rgba(20,10,6,0.94);
  backdrop-filter: blur(6px);
}
#vme-age .vme-card { max-width: 460px; }

/* ── Carte commune ── */
.vme-card {
  position: relative;
  background: var(--vme-cream);
  border: 1px solid rgba(158,127,79,0.3);
  border-radius: 18px;
  padding: 40px 34px 32px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  transform: translateY(16px) scale(0.97);
  transition: transform .45s cubic-bezier(0.34,1.4,0.64,1);
  animation: vmeIn .5s ease both;
}
.vme-overlay.show .vme-card { transform: none; }
@keyframes vmeIn { from { opacity:0; } to { opacity:1; } }

.vme-card::before {
  content:''; position:absolute; top:0; left:26px; right:26px; height:1px;
  background:linear-gradient(90deg,transparent,rgba(158,127,79,0.6),transparent);
}

.vme-emblem {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  background: radial-gradient(ellipse at 40% 35%, rgba(122,40,18,0.14) 0%, rgba(122,40,18,0.04) 75%);
  border: 1px solid rgba(158,127,79,0.28);
}
.vme-eyebrow {
  font-family: sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--vme-gold); margin: 0 0 10px;
}
.vme-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px; font-weight: 600; line-height: 1.15;
  color: var(--vme-rouge); margin: 0 0 12px;
}
.vme-text {
  font-family: 'Georgia', serif;
  font-size: 15.5px; line-height: 1.65; color: var(--vme-muted);
  margin: 0 0 24px;
}
.vme-actions { display: flex; flex-direction: column; gap: 10px; }

/* ── Boutons ── */
.vme-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Georgia', serif; font-size: 15.5px; cursor: pointer;
  padding: 14px 26px; border-radius: 50px; border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.vme-btn-primary {
  background: linear-gradient(140deg, var(--vme-rougel) 0%, var(--vme-rouge) 100%);
  color: #fff; box-shadow: 0 4px 16px rgba(122,40,18,0.32);
}
.vme-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(122,40,18,0.42); }
.vme-btn-ghost {
  background: transparent; color: var(--vme-muted);
  border: 1px solid rgba(158,127,79,0.35);
}
.vme-btn-ghost:hover { color: var(--vme-rouge); border-color: var(--vme-rouge); }

.vme-legal {
  font-family: sans-serif;
  font-size: 11px; color: var(--vme-muted); opacity: 0.7;
  margin: 20px 0 0; line-height: 1.5;
}

/* Encart offre -10% dans le pop-up 18+ */
.vme-offer-box {
  display: flex; align-items: center; gap: 12px;
  text-align: left;
  background: rgba(158,127,79,0.08);
  border: 1px solid rgba(158,127,79,0.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 4px;
}
.vme-offer-badge {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 700; color: var(--vme-gold); line-height: 1;
}
.vme-offer-txt {
  font-family: 'Georgia', serif; font-size: 13px; color: var(--vme-muted); line-height: 1.5;
}
/* Bouton ghost sous le formulaire : un peu plus discret */
#vme-age .vme-btn-ghost { margin-top: 10px; width: 100%; }
#vme-age .vme-form { margin-top: 14px; }

/* Refus âge */
.vme-refus { animation: vmeIn .4s ease both; }
.vme-refus .vme-title { font-size: 24px; }

/* ── Newsletter : fond plus doux ── */
#vme-news {
  background: rgba(20,10,6,0.62);
  backdrop-filter: blur(3px);
}
#vme-news .vme-card { max-width: 440px; }
.vme-close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: transparent; cursor: pointer;
  font-size: 20px; color: var(--vme-muted); line-height: 1;
  transition: background .2s, color .2s;
}
.vme-close:hover { background: rgba(158,127,79,0.1); color: var(--vme-rouge); }
.vme-offer {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 46px; font-weight: 700; color: var(--vme-gold);
  line-height: 1; margin: 4px 0 6px;
}
.vme-form { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.vme-input {
  font-family: 'Georgia', serif; font-size: 15.5px;
  padding: 14px 18px; border-radius: 50px;
  border: 1px solid rgba(158,127,79,0.35); background: #fff;
  color: var(--vme-ink); outline: none; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.vme-input:focus { border-color: var(--vme-gold); box-shadow: 0 0 0 3px rgba(158,127,79,0.12); }
.vme-input.err { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.vme-success {
  font-family: 'Georgia', serif; font-size: 16px; color: var(--vme-rouge);
  line-height: 1.6; padding: 8px 0 4px;
}
.vme-success strong { color: var(--vme-gold); }
.vme-code {
  display: inline-block; margin: 6px auto 4px; cursor: pointer;
  font-family: 'Georgia', serif; font-size: 22px; font-weight: bold; letter-spacing: 0.12em;
  color: var(--vme-rouge); background: rgba(158,127,79,0.08);
  border: 1.5px dashed var(--vme-gold); border-radius: 12px;
  padding: 12px 26px; transition: background .2s, transform .15s;
}
.vme-code:hover { background: rgba(158,127,79,0.15); transform: translateY(-1px); }
.vme-code.copied { border-style: solid; background: rgba(122,40,18,0.08); }

/* ============================================================
   CONVERSION — badges de confiance + barre panier collante
   ============================================================ */
.vme-trust {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  margin: 18px 0 6px; padding: 16px 0 4px;
  border-top: 1px solid rgba(158,127,79,0.18);
}
.vme-trust-item {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Georgia', serif; font-size: 13.5px; color: var(--vme-muted);
}
.vme-trust-ico {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: rgba(158,127,79,0.1); border: 1px solid rgba(158,127,79,0.2);
  color: var(--vme-rouge);
}
.vme-trust-item strong { color: var(--vme-ink); font-weight: 600; display: block; font-size: 13px; }
.vme-trust-item span { font-size: 12px; opacity: 0.85; }

/* Barre panier collante (mobile, page produit) */
.vme-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  display: none; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243,239,236,0.97);
  border-top: 1px solid rgba(158,127,79,0.3);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
  transform: translateY(100%); transition: transform .35s ease;
}
.vme-sticky.show { transform: translateY(0); }
.vme-sticky-info { flex: 1; min-width: 0; }
.vme-sticky-name {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; font-weight: 600;
  color: var(--vme-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vme-sticky-price { font-family: 'Georgia', serif; font-size: 14px; color: var(--vme-rouge); }
.vme-sticky-btn {
  flex-shrink: 0;
  font-family: 'Georgia', serif; font-size: 15px; text-decoration: none;
  padding: 13px 22px; border-radius: 50px; color: #fff;
  background: linear-gradient(140deg, var(--vme-rougel) 0%, var(--vme-rouge) 100%);
  box-shadow: 0 3px 12px rgba(122,40,18,0.3);
}
.vme-sticky-btn.order { background: linear-gradient(140deg, #b8801e 0%, #8a5a1a 100%); }

@media (min-width: 782px) { .vme-sticky { display: none !important; } }

/* ============================================================
   POP-UP — version MOBILE optimisée (bottom-sheet natif)
   ============================================================ */
@media (max-width: 600px) {
  .vme-overlay {
    padding: 0;
    align-items: flex-end;   /* la carte se colle en bas */
  }
  .vme-card {
    max-width: 100%;
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);         /* monte du bas */
    box-shadow: 0 -14px 44px rgba(0,0,0,0.42);
  }
  .vme-overlay.show .vme-card { transform: translateY(0); }
  .vme-card::before { left: 20px; right: 20px; }
  /* petite "poignée" de bottom-sheet */
  .vme-card::after {
    content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 4px; background: rgba(158,127,79,0.35);
  }

  .vme-emblem { width: 52px; height: 52px; font-size: 24px; margin-bottom: 12px; }
  .vme-eyebrow { font-size: 10.5px; letter-spacing: 0.16em; margin-bottom: 8px; }
  .vme-title { font-size: 25px; margin-bottom: 10px; }
  .vme-text { font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }

  .vme-offer-box { padding: 11px 13px; margin: 14px 0 4px; gap: 10px; }
  .vme-offer-badge { font-size: 23px; }
  .vme-offer-txt { font-size: 12.5px; line-height: 1.45; }

  .vme-form { gap: 10px; margin-top: 12px; }
  .vme-input { font-size: 16px; padding: 14px 16px; }   /* 16px = pas de zoom auto iOS */
  .vme-btn { padding: 15px 22px; font-size: 15.5px; }   /* cibles tactiles ≥48px */
  #vme-age .vme-btn-ghost { margin-top: 8px; }
  .vme-legal { font-size: 10.5px; margin-top: 14px; }

  /* Newsletter / écran de succès */
  .vme-offer { font-size: 44px; }
  .vme-code { font-size: 21px; padding: 12px 24px; letter-spacing: 0.1em; }
  .vme-success { font-size: 15px; }
  .vme-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 22px; }
}

@media (max-width: 380px) {
  .vme-card { padding: 22px 16px calc(20px + env(safe-area-inset-bottom)); }
  .vme-title { font-size: 22px; }
  .vme-offer { font-size: 38px; }
  .vme-offer-txt { font-size: 12px; }
}

/* ── Panier : masquer la ligne "Expédition" (le port est choisi au checkout) ── */
/* Ciblé sur le bloc Panier uniquement — le checkout garde ses options. */
.wp-block-woocommerce-cart .wc-block-components-totals-shipping,
.wp-block-woocommerce-cart .wc-block-components-shipping-rates-control,
.wp-block-woocommerce-cart .wc-block-components-totals-item.wc-block-components-totals-shipping {
  display: none !important;
}

/* ============================================================
   TIROIR-PANIER (mini-cart) — style au thème du site
   ============================================================ */
/* Titre du tiroir */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #7A2812 !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title-quantity { color: #9E7F4F; }

/* Sous-total */
.wc-block-mini-cart__footer-subtotal {
  font-family: 'Georgia', serif;
  color: #221812;
}
.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value { color: #7A2812; font-weight: 700; }

/* Bouton "Valider la commande" en avant (bordeaux plein) */
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-checkout,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-checkout {
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  width: 100%;
  font-family: 'Georgia', serif !important;
  padding: 14px 22px !important;
  box-shadow: 0 4px 14px rgba(122,40,18,0.28);
}
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-checkout:hover {
  background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%) !important;
}

/* Masquer "Voir le panier" (on supprime le passage par la page panier) */
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-cart {
  display: none !important;
}

/* Bouton "Continuer mes achats" (panier vide) au thème */
.wc-block-mini-cart__shopping-button a,
.wc-block-mini-cart__shopping-button {
  color: #7A2812 !important;
}

/* Accent bordeaux sur les liens/prix produits dans le tiroir */
.wc-block-mini-cart__products-table .wc-block-components-product-price__value { color: #7A2812; }

/* ============================================================
   CHECKOUT (/commander/) — refonte épurée au thème
   ============================================================ */
.wp-block-woocommerce-checkout { accent-color: #7A2812; }

/* Titres de sections (Contact, Livraison, Paiement...) */
.wp-block-woocommerce-checkout .wc-block-components-title,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #7A2812 !important;
  font-weight: 600 !important;
  letter-spacing: 0.005em;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__description {
  color: #6B5544;
}

/* Champs de saisie */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-select .wc-block-components-select__container,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-checkout .wc-block-components-text-input .input-text {
  border-radius: 10px !important;
  border: 1px solid rgba(158,127,79,0.3) !important;
  font-family: 'Georgia', serif;
}
.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout select:focus {
  border-color: #9E7F4F !important;
  box-shadow: 0 0 0 2px rgba(158,127,79,0.15) !important;
  outline: none !important;
}
.wp-block-woocommerce-checkout .wc-block-components-text-input.is-active label,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading-content { color: #7A2812 !important; }

/* Cartes d'étape */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step {
  border-color: rgba(158,127,79,0.14);
}

/* Options de livraison / paiement (radios) */
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option {
  border-radius: 10px;
}
.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked),
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked) {
  background: rgba(158,127,79,0.07);
  border-radius: 10px;
}
.wp-block-woocommerce-checkout .wc-block-components-radio-control__label { color: #221812; font-family: 'Georgia', serif; }

/* Bouton "Passer la commande" — bordeaux plein, arrondi */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: 'Georgia', serif !important;
  font-size: 16px !important;
  padding: 16px 28px !important;
  box-shadow: 0 4px 16px rgba(122,40,18,0.3) !important;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(122,40,18,0.4) !important;
}

/* Récap commande : total en bordeaux */
.wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: #7A2812 !important; font-weight: 700 !important;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary__button-text,
.wp-block-woocommerce-checkout .wc-block-components-panel__button { color: #7A2812; }

/* Simplification : masquer la note de commande (déclutter) */
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block { display: none !important; }

/* Liens (retour, modifier) au thème */
.wp-block-woocommerce-checkout a { color: #7A2812; }

/* ═══════════════════════════════════════════════════════════════
   PREMIUM — Tiroir-panier & Checkout (finition "grands sites")
   ═══════════════════════════════════════════════════════════════ */

/* ---------- TIROIR-PANIER ---------- */
/* Fond flouté élégant */
.wc-block-components-drawer__screen-overlay {
  background: rgba(20,10,6,0.48) !important;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  transition: opacity .4s ease !important;
}
/* Panneau du tiroir */
.wc-block-mini-cart__drawer .components-modal__frame,
.wc-block-mini-cart__drawer .wc-block-components-drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  background: #fdfbf8 !important;
  box-shadow: -24px 0 70px rgba(30,12,6,0.22) !important;
}
.wc-block-mini-cart__drawer .components-modal__frame { width: min(430px, 94vw) !important; }
/* En-tête */
.wc-block-mini-cart__title {
  font-size: 25px !important; letter-spacing: 0.01em;
  padding-bottom: 4px;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title-quantity {
  font-family: sans-serif; font-size: 13px; color: #9E7F4F;
}
/* Lignes produit */
.wc-block-mini-cart-items .wc-block-cart-items__row,
.wc-block-mini-cart__products-table .wc-block-cart-items__row {
  padding: 18px 2px !important;
  border-bottom: 0.5px solid rgba(158,127,79,0.14) !important;
}
.wc-block-mini-cart-items img,
.wc-block-cart-item__image img {
  border-radius: 12px !important;
  border: 0.5px solid rgba(158,127,79,0.16);
}
.wc-block-cart-item__product .wc-block-components-product-name,
.wc-block-mini-cart-item .wc-block-components-product-name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 17.5px !important; font-weight: 600 !important; color: #221812 !important;
  line-height: 1.25;
}
.wc-block-components-product-price__value { color: #7A2812 !important; font-family: 'Georgia', serif; }
/* Sélecteur de quantité raffiné */
.wc-block-components-quantity-selector {
  border-radius: 50px !important;
  border: 1px solid rgba(158,127,79,0.3) !important;
  overflow: hidden;
}
.wc-block-components-quantity-selector__button { color: #7A2812 !important; font-weight: 400; }
.wc-block-components-quantity-selector__button:hover { background: rgba(158,127,79,0.08) !important; }
.wc-block-components-quantity-selector__input { color: #221812 !important; font-family: 'Georgia', serif; }
/* Retirer */
.wc-block-cart-item__remove-link { color: #a58a72 !important; font-size: 12px !important; letter-spacing: 0.02em; }
.wc-block-cart-item__remove-link:hover { color: #7A2812 !important; }
/* Pied : sous-total + réassurance */
.wc-block-mini-cart__footer { padding-top: 8px !important; }
.wc-block-mini-cart__footer-subtotal {
  font-family: 'Georgia', serif; font-size: 15px !important; padding: 6px 0 10px !important;
  border-top: 0.5px solid rgba(158,127,79,0.16);
}
.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value { font-size: 19px; }
.wc-block-mini-cart__footer::after {
  content: "🔒  Paiement 100% sécurisé";
  display: block; text-align: center; font-family: sans-serif;
  font-size: 11.5px; color: #a58a72; letter-spacing: 0.02em;
  padding: 10px 0 2px; order: 99;
}
.wc-block-mini-cart__footer-checkout {
  letter-spacing: 0.03em !important; padding: 16px !important;
  font-size: 15.5px !important; margin-top: 4px;
}

/* ---------- CHECKOUT premium ---------- */
/* Espacement général plus aéré */
.wp-block-woocommerce-checkout .wc-block-checkout__main { padding-right: 8px; }
/* Étapes en cartes */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step {
  background: #fff;
  border: 0.5px solid rgba(158,127,79,0.16) !important;
  border-radius: 16px;
  padding: 26px 26px 22px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 2px 16px rgba(122,40,18,0.04);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
  font-size: 22px !important; margin-bottom: 4px;
}
/* Numéro d'étape en pastille or */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title-content {
  color: #9E7F4F !important;
}
/* Résumé commande : carte + sticky */
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-checkout-order-summary,
.wp-block-woocommerce-checkout .wc-block-checkout__sidebar > div {
  background: #fff !important;
  border: 0.5px solid rgba(158,127,79,0.16) !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 16px rgba(122,40,18,0.05);
}
.wp-block-woocommerce-checkout .wc-block-checkout__sidebar { position: sticky; top: 20px; }
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image img { border-radius: 10px; }
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: 16px !important; color: #221812 !important;
}
/* Séparateur paiement express */
.wp-block-woocommerce-checkout .wc-block-components-express-payment-continue-rule {
  color: #a58a72 !important; font-family: sans-serif; font-size: 12px; letter-spacing: 0.06em;
}
/* Bouton final : lettres espacées + poids */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
  letter-spacing: 0.04em !important; font-weight: 600 !important;
}
/* Réassurance sous le bouton commander */
.wp-block-woocommerce-checkout .wc-block-checkout__actions::after {
  content: "🔒  Paiement chiffré & sécurisé · Vos données sont protégées";
  display: block; text-align: center; font-family: sans-serif;
  font-size: 12px; color: #a58a72; letter-spacing: 0.02em; margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM v2.0 — finitions "grands sites"
   ═══════════════════════════════════════════════════════════════ */

/* 1. Tiroir : masquer la phrase verbeuse WooCommerce (frais/taxes calculés…) */
.wc-block-mini-cart__footer .wc-block-components-totals-item__description,
.wc-block-mini-cart__footer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description {
  display: none !important;
}

/* 2. Tiroir : équilibrer le vide quand peu d'articles (contenu remonté, pied ancré) */
.wc-block-mini-cart__products-table,
.wc-block-mini-cart-items { padding-top: 4px !important; }
.wc-block-mini-cart__footer {
  margin-top: auto !important;
  border-top: 0.5px solid rgba(158,127,79,0.16);
  background: linear-gradient(180deg, rgba(253,251,248,0) 0%, #fbf7f1 22%) !important;
}

/* 3. Checkout desktop : résumé sticky fiable qui suit le défilement */
@media (min-width: 782px) {
  .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
    position: sticky !important;
    top: 24px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 48px);
    overflow: visible;
  }
}

/* 4. Résumé commande : mini-réassurance livraison */
.wp-block-woocommerce-checkout .wc-block-components-order-summary::after {
  content: "🚚 Expédition soignée & assurée · Retrait gratuit possible en cave (Vieux Lyon)";
  display: block; text-align: center; font-family: sans-serif;
  font-size: 11.5px; line-height: 1.5; color: #9E7F4F; letter-spacing: 0.01em;
  padding: 14px 6px 2px; margin-top: 8px;
  border-top: 0.5px solid rgba(158,127,79,0.14);
}

/* 5. Micro-finitions raffinées */
/* Champs de saisie : focus bordeaux doux */
.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout input[type="text"]:focus,
.wp-block-woocommerce-checkout input[type="email"]:focus,
.wp-block-woocommerce-checkout input[type="tel"]:focus {
  border-color: #9E7F4F !important;
  box-shadow: 0 0 0 3px rgba(158,127,79,0.12) !important;
}
/* Bouton commander : ombre premium + micro-lift au survol */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
  box-shadow: 0 6px 20px rgba(122,40,18,0.28) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 26px rgba(122,40,18,0.38) !important;
}
/* Boutons paiement express (Apple/Google Pay) : coins arrondis cohérents */
.wp-block-woocommerce-checkout .wc-block-components-express-payment button,
.wc-block-mini-cart__footer .wc-block-components-express-payment button {
  border-radius: 12px !important;
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT CLASSIQUE (shortcode) — finition premium "grands sites"
   Compatible carte point relais Boxtal + WooPayments Apple/Google Pay
   ═══════════════════════════════════════════════════════════════ */
.woocommerce-checkout .woocommerce {
  max-width: 1120px; margin: 0 auto;
}
/* Titre de page */
.woocommerce-checkout .entry-title,
.woocommerce-checkout h1.wp-block-post-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #7A2812 !important; font-weight: 600 !important;
}

/* Bandeau haut : login / coupon (discrets) */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-info {
  background: #faf6f0 !important; border-top: 2px solid #9E7F4F !important;
  border-radius: 10px !important; color: #5a3a28 !important;
  font-family: sans-serif; font-size: 13.5px; padding: 12px 16px !important;
}
.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: #7A2812 !important; font-weight: 600; }

/* Zone paiement express (Apple/Google Pay) WooPayments en haut */
#wcpay-express-checkout-element,
.wcpay-payment-request-wrapper,
.wc-block-components-express-payment { margin: 4px 0 20px !important; }

/* ── Mise en deux colonnes : formulaire à gauche, résumé sticky à droite ── */
@media (min-width: 900px) {
  .woocommerce-checkout form.checkout::after { content: ""; display: table; clear: both; }
  .woocommerce-checkout #customer_details {
    float: left; width: 57%; box-sizing: border-box; min-width: 0;
  }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    float: right; width: 40%; box-sizing: border-box; min-width: 0; clear: right;
  }
  .woocommerce-checkout #order_review { position: sticky; top: 24px; }
  .woocommerce-checkout #order_review_heading { margin-top: 0 !important; }
}

/* ── Cartes ── */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #order_review {
  background: #fff;
  border: 0.5px solid rgba(158,127,79,0.16);
  border-radius: 16px;
  padding: 26px 26px 20px !important;
  margin-bottom: 18px;
  box-shadow: 0 2px 16px rgba(122,40,18,0.04);
}

/* ── Titres de section ── */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #7A2812 !important; font-size: 24px !important; font-weight: 600 !important;
  margin: 0 0 16px !important; line-height: 1.2;
}
.woocommerce-checkout #order_review_heading { margin-bottom: 14px !important; }

/* ── Champs de saisie ── */
.woocommerce-checkout .form-row label {
  font-family: sans-serif; font-size: 12.5px; letter-spacing: 0.03em;
  text-transform: uppercase; color: #6B5544; font-weight: 600;
  margin-bottom: 6px; display: block;
}
.woocommerce-checkout .form-row .required { color: #9E7F4F; text-decoration: none; }
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  border: 1px solid rgba(158,127,79,0.32) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  min-height: 48px !important;
  background: #fdfbf8 !important;
  font-family: 'Georgia', serif !important; font-size: 15px !important; color: #221812 !important;
  box-shadow: none !important; transition: border-color .2s, box-shadow .2s;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 24px; color: #221812; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout .select2-container--focus .select2-selection {
  border-color: #9E7F4F !important;
  box-shadow: 0 0 0 3px rgba(158,127,79,0.12) !important;
  outline: none !important;
}

/* ── Table récap commande ── */
.woocommerce-checkout .woocommerce-checkout-review-order-table { border: none !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border: none !important; border-bottom: 0.5px solid rgba(158,127,79,0.14) !important;
  padding: 12px 0 !important; font-family: 'Georgia', serif; color: #221812;
}
.woocommerce-checkout .cart_item .product-name {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; color: #221812;
}
.woocommerce-checkout .order-total .amount { color: #7A2812 !important; font-weight: 700; font-size: 20px; }
.woocommerce-checkout .cart-subtotal .amount,
.woocommerce-checkout .product-total .amount { color: #7A2812; }

/* ── Modes de livraison (dont point relais + carte Boxtal) ── */
.woocommerce-checkout #shipping_method li {
  padding: 6px 0; font-family: 'Georgia', serif; color: #221812;
}
.woocommerce-checkout #shipping_method label { text-transform: none; letter-spacing: 0; font-weight: 400; display: inline; }
.woocommerce-checkout .bw-relay-map,
.woocommerce-checkout .bw_map,
.woocommerce-checkout [id*="parcel"], .woocommerce-checkout [class*="parcel-point"] {
  border-radius: 12px !important; overflow: hidden; margin-top: 10px;
}

/* ── Zone paiement ── */
.woocommerce-checkout #payment { background: transparent !important; border-radius: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods {
  background: #faf6f0 !important; border: 0.5px solid rgba(158,127,79,0.16) !important;
  border-radius: 12px !important; padding: 8px 16px !important;
}
.woocommerce-checkout #payment ul.payment_methods li { font-family: sans-serif; }
.woocommerce-checkout #payment div.payment_box {
  background: #fff !important; border-radius: 10px !important;
  font-family: sans-serif; font-size: 13.5px; color: #5a3a28;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }

/* ── Bouton commander premium ── */
.woocommerce-checkout #place_order {
  width: 100% !important;
  font-family: 'Georgia', serif !important; font-size: 16.5px !important;
  letter-spacing: 0.04em; font-weight: 600 !important;
  padding: 16px 24px !important; border: none !important; border-radius: 50px !important;
  color: #fff !important; cursor: pointer;
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  box-shadow: 0 6px 20px rgba(122,40,18,0.3) !important;
  transition: transform .2s, box-shadow .2s, background .2s !important;
  margin-top: 8px;
}
.woocommerce-checkout #place_order:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 26px rgba(122,40,18,0.4) !important;
  background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%) !important;
}

/* ── Réassurance sous le bouton ── */
.woocommerce-checkout #payment .place-order::after {
  content: "🔒 Paiement chiffré & sécurisé · 🚚 Retrait gratuit possible en cave (Vieux Lyon)";
  display: block; text-align: center; font-family: sans-serif;
  font-size: 11.5px; line-height: 1.5; color: #9E7F4F; letter-spacing: 0.01em;
  padding-top: 14px;
}
.woocommerce-checkout #payment .place-order { padding-top: 4px; }

/* ── Mobile ── */
@media (max-width: 899px) {
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout #order_review { padding: 20px 16px 16px !important; }
  .woocommerce-checkout #order_review_heading { margin-top: 8px; }
}

/* ═══════════════════════════════════════════════════════════════
   CORRECTIF layout checkout classique (v2.2)
   Les sous-colonnes internes de #customer_details s'empilent
   pleine largeur → cartes aérées + champs Prénom/Nom réalignés
   ═══════════════════════════════════════════════════════════════ */
/* Neutralise le col2-set interne : tout s'empile dans la colonne gauche */
.woocommerce-checkout #customer_details .col2-set,
.woocommerce-checkout #customer_details > .col2-set {
  display: block !important; width: 100% !important; float: none !important;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none !important; width: 100% !important; max-width: 100% !important;
  padding: 0 !important; margin: 0 !important;
}

/* Clearfix des groupes de champs */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper::after,
.woocommerce-checkout .woocommerce-account-fields::after { content: ""; display: table; clear: both; }

/* Prénom / Nom côte à côte proprement */
.woocommerce-checkout .form-row { margin-bottom: 16px; }
.woocommerce-checkout .form-row-first { float: left; width: 48% !important; clear: left; }
.woocommerce-checkout .form-row-last  { float: right; width: 48% !important; clear: right; }
.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row.notes,
.woocommerce-checkout .form-row.address-field { float: none; width: 100% !important; clear: both; }
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container { width: 100% !important; box-sizing: border-box; }

/* Notes de commande : zone confortable */
.woocommerce-checkout #order_comments { min-height: 90px !important; resize: vertical; }

/* Case "Expédier à une adresse différente" : plus lisible */
.woocommerce-checkout .woocommerce-shipping-fields h3 label {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 20px !important; color: #7A2812 !important; text-transform: none;
  letter-spacing: 0; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.woocommerce-checkout .woocommerce-shipping-fields h3 label input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: #7A2812;
}

/* Coupon : plus compact */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT CLASSIQUE v2.4 — récap "Votre commande" EN HAUT,
   paiement en bas, colonne unique, polices du site (Roboto/Cormorant)
   ═══════════════════════════════════════════════════════════════ */

/* Colonne unique en flex → on peut réordonner librement */
.woocommerce-checkout form.checkout { display: flex; flex-direction: column; }

/* Annule la mise en 2 colonnes flottante (desktop) */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  float: none !important; width: 100% !important; position: static !important;
}

/* #order_review devient transparent : ses enfants (table + paiement)
   rejoignent le flux flex du formulaire et sont ordonnés séparément */
.woocommerce-checkout #order_review { display: contents !important; }

/* Ordre d'affichage */
.woocommerce-checkout #order_review_heading { order: 1; margin: 0 0 14px !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table { order: 2; }
.woocommerce-checkout #customer_details { order: 3; }
.woocommerce-checkout #payment { order: 4; }
/* Boutons express (Apple/Google Pay) tout en haut */
.woocommerce-checkout .wc-block-components-express-payment,
.woocommerce-checkout [id*="express-checkout"],
.woocommerce-checkout [class*="express-checkout"],
.woocommerce-checkout .wcpay-payment-request-wrapper,
.woocommerce-checkout [class*="express-payment-continue-rule"] { order: 0; }

/* La table récap devient une carte */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  display: table; width: 100% !important; box-sizing: border-box;
  background: #fff; border: 0.5px solid rgba(158,127,79,0.16) !important;
  border-radius: 16px; border-collapse: separate !important;
  padding: 18px 22px !important; margin: 0 0 18px !important;
  box-shadow: 0 2px 16px rgba(122,40,18,0.04);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #9E7F4F;
}

/* Le paiement devient une carte (remplace le fond transparent) */
.woocommerce-checkout #payment {
  background: #fff !important; border: 0.5px solid rgba(158,127,79,0.16) !important;
  border-radius: 16px !important; padding: 22px !important;
  box-shadow: 0 2px 16px rgba(122,40,18,0.04); margin: 0 !important;
}

/* ── POLICES DU SITE : corps = Roboto, titres = Cormorant Garamond ── */
.woocommerce-checkout,
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container,
.woocommerce-checkout .select2-container .select2-selection__rendered,
.woocommerce-checkout table,
.woocommerce-checkout #payment,
.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout .form-row label,
.woocommerce-checkout #shipping_method li,
.woocommerce-checkout #place_order {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
}
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-shipping-fields h3 label,
.woocommerce-checkout .cart_item .product-name,
.woocommerce-checkout .order-total .amount {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK AJOUT PANIER — carte animée pendant la mise à jour
   (masque la latence serveur : ~3s tant qu'OPcache est off)
   ═══════════════════════════════════════════════════════════════ */
.vme-cart-loader {
  position: fixed; top: 18px; right: 18px; z-index: 100000;
  display: flex; align-items: center; gap: 14px;
  background: #fdfbf8; border: 0.5px solid rgba(158,127,79,0.28);
  border-radius: 16px; padding: 15px 20px 18px;
  box-shadow: 0 18px 55px rgba(30,12,6,0.24);
  max-width: min(340px, 92vw);
  transform: translateY(-18px) scale(0.95); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(0.34,1.4,0.64,1), opacity .3s ease;
}
.vme-cart-loader.show { transform: none; opacity: 1; }
.vme-cart-loader__emblem {
  position: relative; width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.vme-cart-loader__emblem::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2.5px solid rgba(158,127,79,0.22); border-top-color: #7A2812;
  animation: vmeSpin .8s linear infinite;
}
@keyframes vmeSpin { to { transform: rotate(360deg); } }
.vme-cart-loader__txt {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 12.5px; line-height: 1.4; color: #6B5544;
}
.vme-cart-loader__txt strong {
  display: block; margin-bottom: 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; font-weight: 600; color: #7A2812;
}
.vme-cart-loader__bar {
  position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px;
  border-radius: 2px; overflow: hidden; background: rgba(158,127,79,0.16);
}
.vme-cart-loader__bar::after {
  content: ''; position: absolute; left: -40%; top: 0; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, #9C3618, transparent);
  animation: vmeSlide 1.1s ease-in-out infinite;
}
@keyframes vmeSlide { to { left: 110%; } }
/* Petit ✓ de confirmation à la fin (état succès) */
.vme-cart-loader.done .vme-cart-loader__emblem::before {
  border-color: #4a7c2f; border-top-color: #4a7c2f; animation: none;
}
.vme-cart-loader.done .vme-cart-loader__emblem span { animation: vmePop .4s ease; }
@keyframes vmePop { 0% { transform: scale(0.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.vme-cart-loader.done .vme-cart-loader__bar::after { animation: none; left: 0; width: 100%; background: #4a7c2f; }

/* ── DESKTOP / grand écran : carte compacte en haut à droite ── */
@media (min-width: 601px) {
  .vme-cart-loader { top: 22px; right: 22px; width: 340px; }
}

/* ── MOBILE : bandeau plein largeur en haut ── */
@media (max-width: 600px) {
  .vme-cart-loader {
    top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px;
    max-width: none; padding: 13px 16px 16px; border-radius: 14px;
  }
  .vme-cart-loader__emblem { width: 38px; height: 38px; font-size: 19px; }
  .vme-cart-loader__txt strong { font-size: 16.5px; }
  .vme-cart-loader__txt { font-size: 12px; }
  .vme-cart-loader__bar { left: 16px; right: 16px; }
}

/* ── Tiroir "en préparation" : chargé mais invisible tant que les
   produits ne sont pas rendus, puis révélé en fondu (vm-cart-prep) ── */
body.vm-cart-prep .wc-block-components-drawer__screen-overlay,
body.vm-cart-prep .wc-block-mini-cart__drawer,
body.vm-cart-prep .wc-block-mini-cart__drawer .components-modal__frame {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Révélation en fondu synchronisée du panneau du tiroir */
.wc-block-mini-cart__drawer .components-modal__frame { transition: opacity .35s ease; }

/* ═══════════════════════════════════════════════════════════════
   MINI-PANIER v3 — refonte esthétique + message livraison
   (police site : Roboto corps / Cormorant titres)
   ═══════════════════════════════════════════════════════════════ */

/* Panneau */
.wc-block-mini-cart__drawer .components-modal__frame {
  background: #fdfbf8 !important;
  width: min(440px, 95vw) !important;
  box-shadow: -30px 0 80px rgba(30,12,6,0.26) !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part {
  padding: 6px 24px 20px !important;
}

/* En-tête */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif) !important;
  font-size: 27px !important; font-weight: 600 !important; color: #221812 !important;
  padding: 6px 0 16px !important; margin: 0 0 6px !important;
  border-bottom: 1px solid rgba(158,127,79,0.22);
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title-quantity {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  color: #9E7F4F !important; font-size: 13px !important; font-weight: 400 !important;
}

/* Lignes produit */
.wc-block-mini-cart-items .wc-block-cart-items__row,
.wc-block-mini-cart__products-table .wc-block-cart-items__row {
  padding: 17px 2px !important;
  border-bottom: 1px solid rgba(158,127,79,0.12) !important;
}
.wc-block-cart-item__image img,
.wc-block-mini-cart-items img {
  border-radius: 11px !important;
  border: 1px solid rgba(158,127,79,0.16) !important;
  box-shadow: 0 3px 10px rgba(122,40,18,0.06);
}
.wc-block-cart-item__product .wc-block-components-product-name,
.wc-block-mini-cart-item .wc-block-components-product-name {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif) !important;
  font-size: 18px !important; font-weight: 600 !important; color: #221812 !important;
  line-height: 1.25 !important;
}
.wc-block-mini-cart__products-table .wc-block-components-product-price__value,
.wc-block-cart-item__prices .wc-block-components-product-price__value {
  color: #7A2812 !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-weight: 600 !important;
}
/* Sélecteur de quantité en pilule */
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  border-radius: 50px !important; border: 1px solid rgba(158,127,79,0.3) !important;
  overflow: hidden; background: #fff;
}
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button { color: #7A2812 !important; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button:hover { background: rgba(158,127,79,0.08) !important; }
.wc-block-cart-item__remove-link {
  color: #a58a72 !important; font-size: 11.5px !important; letter-spacing: 0.02em;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
}
.wc-block-cart-item__remove-link:hover { color: #7A2812 !important; }

/* Pied du tiroir : ordonné en colonne pour placer le message livraison */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  display: flex !important; flex-direction: column !important;
  padding-top: 16px !important; margin-top: auto !important;
  border-top: 1px solid rgba(158,127,79,0.22);
  background: linear-gradient(180deg, rgba(253,251,248,0) 0%, #fbf7f1 30%) !important;
}

/* ★ MESSAGE LIVRAISON (encart en haut du pied) */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer::before {
  content: "🚚  Frais de livraison calculés à l'étape suivante";
  order: -2; display: block;
  background: rgba(158,127,79,0.08);
  border: 1px solid rgba(158,127,79,0.22);
  border-radius: 11px;
  padding: 11px 14px; margin: 0 0 14px;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 12.5px; line-height: 1.4; color: #6B5544; text-align: center;
}

/* Sous-total */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {
  order: -1; border-top: none !important;
  display: flex !important; align-items: baseline; justify-content: space-between;
  padding: 2px 2px 14px !important; margin: 0 !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-size: 12.5px !important; letter-spacing: 0.05em; text-transform: uppercase; color: #6B5544 !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif) !important;
  font-size: 25px !important; color: #7A2812 !important; font-weight: 700 !important;
}

/* Bouton "Commander" */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout {
  order: 1; width: 100% !important;
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  color: #fff !important; border: none !important; border-radius: 50px !important;
  padding: 16px !important; font-size: 15.5px !important; letter-spacing: 0.04em !important;
  box-shadow: 0 6px 20px rgba(122,40,18,0.3) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout:hover {
  transform: translateY(-1px); box-shadow: 0 9px 26px rgba(122,40,18,0.4) !important;
}
/* Lien "Voir le panier" discret */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart {
  order: 2; margin-top: 10px !important;
  color: #7A2812 !important; background: transparent !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-size: 13.5px !important;
}

/* Réassurance paiement tout en bas */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer::after {
  content: "🔒  Paiement 100% sécurisé & crypté";
  order: 99; display: block; text-align: center;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 11.5px; color: #a58a72; letter-spacing: 0.02em; padding: 12px 0 2px;
}

/* Bouton "Continuer mes achats" (panier vide) */
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button a {
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  color: #fff !important; border-radius: 50px !important; border: none !important;
}

/* Finitions mini-panier v3.1 */
/* Nom du vin sans soulignement */
.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-cart-item__product a {
  text-decoration: none !important;
}
.wc-block-mini-cart__drawer .wc-block-components-product-name:hover { color: #7A2812 !important; }
/* En-tête : label + compteur sur une seule ligne, compteur en or */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  display: flex !important; align-items: baseline; flex-wrap: wrap;
  column-gap: 8px; row-gap: 0;
}
.wc-block-mini-cart__drawer .vm-cart-count {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  color: #9E7F4F !important; font-size: 14px !important; font-weight: 400 !important;
}

/* ── Panier vide : titre soigné + bouton en pilule ── */
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper {
  text-align: center; padding: 30px 10px 10px;
}
.wc-block-mini-cart__drawer .wc-block-cart__empty-cart__title {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif) !important;
  font-size: 22px !important; font-weight: 600 !important; color: #221812 !important;
  margin-bottom: 6px !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button {
  text-align: center; margin-top: 18px;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button .wp-block-button__link,
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button a,
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button .wp-element-button {
  display: inline-block !important;
  width: auto !important;
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-size: 15px !important; letter-spacing: 0.03em; text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(122,40,18,0.3) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button .wp-block-button__link:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button a:hover {
  transform: translateY(-1px); box-shadow: 0 9px 26px rgba(122,40,18,0.4) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT CLASSIQUE v3 — ajustements demandés
   ═══════════════════════════════════════════════════════════════ */

/* 1) LIVRAISON SOUS L'ADRESSE : ordre naturel (adresse → récap+livraison+paiement) */
.woocommerce-checkout form.checkout { display: block !important; }
.woocommerce-checkout #order_review { display: block !important; }
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
  order: 0 !important; float: none !important; width: 100% !important;
}
.woocommerce-checkout #order_review_heading { margin-top: 24px !important; }

/* 2) CODE PROMO au thème du site (fini le bleu) */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: #faf6f0 !important;
  border: 1px solid rgba(158,127,79,0.25) !important;
  border-top: 3px solid #9E7F4F !important;
  border-radius: 10px !important;
  color: #5a3a28 !important; box-shadow: none !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
}
.woocommerce-checkout .woocommerce-info::before { color: #9E7F4F !important; }
.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: #7A2812 !important; font-weight: 600 !important; }
.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
  background: #fff !important; border: 0.5px solid rgba(158,127,79,0.22) !important;
  border-radius: 14px !important; padding: 20px !important;
}
.woocommerce-checkout .checkout_coupon .input-text { border-radius: 10px !important; }
.woocommerce-checkout .checkout_coupon .button {
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  color: #fff !important; border: none !important; border-radius: 50px !important;
  padding: 12px 26px !important; letter-spacing: 0.03em;
}

/* 3) SUPPRIMER LES NOTES DE COMMANDE */
.woocommerce-checkout .woocommerce-additional-fields { display: none !important; }

/* 4) KLARNA : description claire du paiement fractionné */
.woocommerce-checkout .payment_method_woocommerce_payments_klarna .payment_box {
  background: #fff !important; border-radius: 10px !important;
}
.woocommerce-checkout .payment_method_woocommerce_payments_klarna .payment_box::before {
  content: "Payez en 3 ou 4 fois, sans frais, avec Klarna. Sélectionnez Klarna puis validez la commande : vous serez redirigé pour finaliser en toute sécurité.";
  display: block;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 13px; line-height: 1.5; color: #5a3a28;
}

/* 5) BOUTON PANIER VIDE (portée globale : tiroir ET page panier) */
.wc-block-mini-cart__shopping-button .wp-block-button__link,
.wc-block-mini-cart__shopping-button a,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block a.wp-block-button__link,
.is-mini-cart .wc-block-mini-cart__shopping-button .wp-block-button__link {
  display: inline-block !important; width: auto !important;
  background-image: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  background-color: #7A2812 !important;
  color: #fff !important; border: none !important; border-radius: 50px !important;
  padding: 14px 32px !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-size: 15px !important; letter-spacing: 0.03em; text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(122,40,18,0.3) !important;
}
.wc-block-mini-cart__shopping-button .wp-block-button__link:hover,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover {
  color: #fff !important; transform: translateY(-1px);
  box-shadow: 0 9px 26px rgba(122,40,18,0.4) !important;
}

/* ═══ Récapitulatif de commande en haut du checkout ═══ */
.woocommerce-checkout .vm-checkout-recap {
  max-width: 1120px; margin: 0 auto 22px; box-sizing: border-box;
  background: #fff; border: 0.5px solid rgba(158,127,79,0.18);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 2px 16px rgba(122,40,18,0.05);
}
.vm-checkout-recap__head {
  display: flex; align-items: baseline; gap: 8px;
  padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(158,127,79,0.16);
}
.vm-checkout-recap__title {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif);
  font-size: 22px; font-weight: 600; color: #221812;
}
.vm-checkout-recap__count {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 13px; color: #9E7F4F;
}
.vm-checkout-recap__list { list-style: none; margin: 0; padding: 0; }
.vm-checkout-recap__item {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(158,127,79,0.1);
}
.vm-checkout-recap__thumb img {
  width: 46px; height: 46px; object-fit: cover;
  border-radius: 9px; border: 1px solid rgba(158,127,79,0.16); display: block;
}
.vm-checkout-recap__name {
  flex: 1;
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif);
  font-size: 16px; font-weight: 600; color: #221812; line-height: 1.3;
}
.vm-checkout-recap__qty {
  display: inline-block; margin-left: 6px;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 12.5px; font-weight: 400; color: #9a7a65;
}
.vm-checkout-recap__price {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 14.5px; font-weight: 600; color: #7A2812; white-space: nowrap;
}
.vm-checkout-recap__subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px; margin-top: 4px;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #6B5544;
}
.vm-checkout-recap__subtotal strong {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif);
  font-size: 22px; color: #7A2812; font-weight: 700;
}
.vm-checkout-recap__note {
  margin-top: 10px; padding: 9px 12px; text-align: center;
  background: rgba(158,127,79,0.07); border-radius: 9px;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 12px; color: #6B5544;
}
@media (max-width: 600px) {
  .vm-checkout-recap__name { font-size: 15px; }
  .vm-checkout-recap { padding: 16px; }
}

/* ═══ Paiement : on aplatit l'empilement de cadres ═══ */
/* La liste des moyens de paiement : plus de boîte autour */
.woocommerce-checkout #payment ul.payment_methods {
  background: transparent !important; border: none !important; padding: 0 !important;
}
/* Le bloc des champs : plus de cadre ni de triangle interne */
.woocommerce-checkout #payment div.payment_box {
  background: transparent !important; border: none !important;
  box-shadow: none !important; margin: 12px 0 0 !important; padding: 0 !important;
}
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }

/* ═══ Correctifs checkout v3.2 ═══ */

/* Cadre paiement qui débordait à gauche : on contient les champs WooPayments */
.woocommerce-checkout #payment div.payment_box { padding: 2px 0 0 !important; }
.woocommerce-checkout #payment div.payment_box > *,
.woocommerce-checkout #payment div.payment_box fieldset,
.woocommerce-checkout #payment div.payment_box .wc-payment-form,
.woocommerce-checkout #payment div.payment_box [class*="wcpay"],
.woocommerce-checkout #payment div.payment_box [class*="StripeElement"] {
  box-sizing: border-box !important;
  max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}

/* Récap du bas : uniquement la livraison + le total (produits déjà en haut) */
.woocommerce-checkout .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal {
  display: none !important;
}
/* Police réduite pour la partie livraison */
.woocommerce-checkout .woocommerce-shipping-totals th,
.woocommerce-checkout .woocommerce-shipping-totals td,
.woocommerce-checkout #shipping_method li,
.woocommerce-checkout #shipping_method label,
.woocommerce-checkout .woocommerce-shipping-totals .amount {
  font-size: 13px !important; line-height: 1.5 !important;
}
.woocommerce-checkout .woocommerce-shipping-totals th { color: #6B5544 !important; }
/* Texte RGPD plus discret */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text p {
  font-size: 12px !important; line-height: 1.55 !important; color: #6B5544 !important;
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT v3.3 — livraison en boutons, relais propre, carte contenue
   ═══════════════════════════════════════════════════════════════ */

/* ── Bloc Expédition en pleine largeur ── */
.woocommerce-checkout .woocommerce-shipping-totals { display: block !important; }
.woocommerce-checkout .woocommerce-shipping-totals th {
  display: block !important; text-align: left !important; padding: 4px 0 10px !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-size: 12px !important; letter-spacing: 0.05em; text-transform: uppercase; color: #6B5544 !important;
}
.woocommerce-checkout .woocommerce-shipping-totals td { display: block !important; padding: 0 !important; }

/* ── Options de livraison en boutons sélectionnables ── */
.woocommerce-checkout #shipping_method {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: flex; flex-direction: column; gap: 9px;
}
.woocommerce-checkout #shipping_method li {
  position: relative; cursor: pointer;
  border: 1px solid rgba(158,127,79,0.3); border-radius: 12px;
  padding: 13px 16px; background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
  font-size: 14px !important; line-height: 1.4;
}
.woocommerce-checkout #shipping_method li:hover { border-color: #9E7F4F; background: #faf6f0; }
/* État sélectionné : plus foncé */
.woocommerce-checkout #shipping_method li:has(input:checked) {
  border: 1.5px solid #7A2812; background: rgba(122,40,18,0.09);
  box-shadow: 0 2px 12px rgba(122,40,18,0.12);
}
.woocommerce-checkout #shipping_method li label {
  cursor: pointer; font-weight: 500; color: #221812; display: inline;
}
.woocommerce-checkout #shipping_method input.shipping_method {
  accent-color: #7A2812; margin-right: 9px; transform: translateY(1px);
}
.woocommerce-checkout #shipping_method li .amount { color: #7A2812; font-weight: 600; }

/* ── Bloc point relais Boxtal : propre, sous l'option (plus de chevauchement) ── */
.woocommerce-checkout #shipping_method .bw-parcel-point {
  display: block !important; position: static !important; float: none !important;
  width: auto !important; max-width: 100% !important; box-sizing: border-box;
  margin: 10px 0 2px !important; padding: 11px 13px !important;
  background: #faf6f0 !important; border: 1px solid rgba(158,127,79,0.22) !important;
  border-radius: 9px !important;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif) !important;
  font-size: 12.5px !important; line-height: 1.5 !important; color: #5a3a28 !important;
}
.woocommerce-checkout #shipping_method .bw-parcel-point-title,
.woocommerce-checkout #shipping_method .bw-parcel-point strong { color: #221812 !important; font-weight: 600; }
.woocommerce-checkout #shipping_method .bw-select-parcel,
.woocommerce-checkout #shipping_method .bw-parcel-point a,
.woocommerce-checkout #shipping_method .bw-parcel-point-button {
  color: #7A2812 !important; font-weight: 600 !important; text-decoration: underline; cursor: pointer;
  display: inline-block; margin-top: 4px;
}

/* ── Cadre paiement WooPayments contenu (fini le débordement à gauche) ── */
.woocommerce-checkout #payment .wcpay-payment-element-wrapper,
.woocommerce-checkout #payment .wcpay-payment-element,
.woocommerce-checkout #payment .wcpay-upe-element,
.woocommerce-checkout #payment .StripeElement,
.woocommerce-checkout #payment .wcpay-card-mount,
.woocommerce-checkout #payment form,
.woocommerce-checkout #payment fieldset {
  box-sizing: border-box !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}

/* Carte : on supprime le cadre interne WooPayments (un seul cadre = la carte "Carte") */
.woocommerce-checkout #payment .wcpay-payment-element-wrapper,
.woocommerce-checkout #payment .wcpay-payment-element,
.woocommerce-checkout #payment .wcpay-upe-element,
.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment fieldset {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ═══ Paiement : UN SEUL cadre (la carte "Carte"), tout le reste à plat ═══ */
.woocommerce-checkout #payment,
.woocommerce-checkout #payment * { box-sizing: border-box !important; }
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment li.wc_payment_method,
.woocommerce-checkout #payment li.payment_method,
.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment .wcpay-payment-element-wrapper,
.woocommerce-checkout #payment .wcpay-payment-element,
.woocommerce-checkout #payment .wcpay-upe-element,
.woocommerce-checkout #payment form,
.woocommerce-checkout #payment fieldset {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* La carte "Carte" reste le seul cadre, et découpe tout débordement */
.woocommerce-checkout #payment { overflow: hidden !important; }

/* Suppression de la section "Expédier à une adresse différente ?" */
.woocommerce-checkout .woocommerce-shipping-fields { display: none !important; }

/* ═══ Code promo : discret, sous le bloc Expédition ═══ */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: transparent !important; border: none !important; border-top: none !important;
  box-shadow: none !important; border-radius: 0 !important;
  padding: 8px 0 2px !important; margin: 12px 0 0 !important;
  text-align: center; font-size: 12.5px !important; color: #9a7a65 !important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: #7A2812 !important; font-weight: 600 !important; }
.woocommerce-checkout #order_review .checkout_coupon.woocommerce-form-coupon {
  background: #faf6f0 !important; border: 1px solid rgba(158,127,79,0.2) !important;
  border-radius: 10px !important; padding: 14px !important; margin: 8px 0 4px !important;
}

/* Code promo : plus aucun bleu (liens forcés en bordeaux) */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: transparent !important; border: none !important; box-shadow: none !important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle *,
.woocommerce-checkout a.showcoupon {
  color: #7A2812 !important;
}

/* Code promo : neutralisation FORCÉE du bleu (spécificité renforcée, sans ancêtre) */
.woocommerce-info.woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info.woocommerce-info {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
  color: #6B5544 !important;
  padding: 8px 0 2px !important;
  border-radius: 0 !important;
  font-size: 12.5px !important;
}
.woocommerce-info.woocommerce-info::before,
.woocommerce-form-coupon-toggle .woocommerce-info.woocommerce-info::before {
  display: none !important;
  content: none !important;
}
.woocommerce-info.woocommerce-info a,
.woocommerce-form-coupon-toggle a.showcoupon,
a.showcoupon { color: #7A2812 !important; font-weight: 600 !important; }

/* ═══ Code promo : neutraliser le VRAI bloc bleu (.wc-block-components-notice-banner.is-info) ═══ */
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info {
  background: transparent !important; background-color: transparent !important;
  border: none !important; box-shadow: none !important; border-radius: 0 !important;
  color: #6B5544 !important; padding: 8px 0 2px !important; min-height: 0 !important;
  align-items: center;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner svg,
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner__icon { display: none !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner__content {
  font-size: 12.5px !important; color: #6B5544 !important; margin: 0 !important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner__content a { color: #7A2812 !important; font-weight: 600 !important; }

/* Optimisation checkout : masquer le sélecteur pays (France uniquement) */
.woocommerce-checkout #billing_country_field { display: none !important; }

/* ═══ Écran de transition vers le checkout ═══ */
.vme-checkout-overlay {
  position: fixed; inset: 0; z-index: 100001;
  display: flex; align-items: center; justify-content: center;
  background: rgba(253,251,248,0.92);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.vme-checkout-overlay.show { opacity: 1; visibility: visible; }
.vme-checkout-overlay__card { text-align: center; padding: 24px; }
.vme-checkout-overlay__ring {
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  border: 3px solid rgba(158,127,79,0.25); border-top-color: #7A2812;
  animation: vmeSpin .8s linear infinite;
}
.vme-checkout-overlay__title {
  font-family: var(--wp--preset--font-family--cormorant-garamond, 'Cormorant Garamond', serif);
  font-size: 27px; font-weight: 600; color: #7A2812; margin-bottom: 5px;
}
.vme-checkout-overlay__title::before { content: "✓ "; color: #4a7c2f; }
.vme-checkout-overlay__sub {
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 13.5px; color: #6B5544;
}

/* ═══ Paiement express : placeholder animé pendant le chargement des boutons ═══ */
.woocommerce-checkout #wcpay-express-checkout-element { min-height: 48px; }
.woocommerce-checkout #wcpay-express-checkout-element:empty {
  border-radius: 12px;
  background: linear-gradient(100deg, #efe7df 30%, #f8f3ed 50%, #efe7df 70%);
  background-size: 300% 100%;
  animation: vmeShimmer 1.4s ease-in-out infinite;
  position: relative;
}
.woocommerce-checkout #wcpay-express-checkout-element:empty::after {
  content: "Chargement des paiements rapides…";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
  font-size: 12.5px; color: #9a7a65; letter-spacing: 0.02em;
}
@keyframes vmeShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.woocommerce-checkout #wcpay-express-checkout-element.vm-express-timeout,
.woocommerce-checkout #wcpay-express-checkout-element.vm-express-timeout:empty {
  min-height: 0 !important; background: none !important; animation: none !important;
}
.woocommerce-checkout #wcpay-express-checkout-element.vm-express-timeout:empty::after { display: none !important; }
