/* Page Panier : en-tête de page + habillage du bloc Panier WooCommerce (variables --a-* d'account.css) */
body.woocommerce-cart{background:#fff}
.lcpd-cart-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin:8px 0 28px}
.lcpd-cartpage .lcpd-acc-title{order:0;margin:0}
.lcpd-cartpage .lcpd-acc-title::before{margin-bottom:20px}
.lcpd-cart-continue{display:inline-flex;align-items:center;gap:6px;padding-bottom:6px;font-size:15px;font-weight:600;color:var(--lc-bleu)!important;text-decoration:none!important}
.lcpd-cart-continue .lcpd-icon{width:18px;height:18px;color:var(--lc-vert);transform:rotate(180deg)}
.lcpd-cart-continue:hover{color:var(--lc-vert-fonce)!important}

/* Deux cartes : articles | récapitulatif */
.lcpd-cartpage .wp-block-woocommerce-cart{width:auto!important;max-width:100%!important;margin:0!important;color:var(--lc-bleu)} /* le bloc est « alignwide » : pas de débord */
.lcpd-cartpage .wc-block-cart.wc-block-components-sidebar-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start;box-sizing:border-box;width:100%!important;max-width:100%;margin:0!important}
.lcpd-cartpage .wc-block-cart .wc-block-cart__main,.lcpd-cartpage .wc-block-cart .wc-block-cart__sidebar{box-sizing:border-box;width:auto;margin:0;padding:24px 28px;border:1px solid var(--lc-ligne);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(21,22,53,.06)}
.lcpd-cartpage .wc-block-cart-items{margin:0}
.lcpd-cartpage .wc-block-cart-items__header,.lcpd-cartpage .wc-block-cart__totals-title{font-size:13px!important;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--lc-attenue)!important}
.lcpd-cartpage .wc-block-components-product-name{font-size:16px;font-weight:700;line-height:1.35;color:var(--lc-bleu)!important;text-decoration:none!important}
.lcpd-cartpage .wc-block-components-product-name:hover{color:var(--lc-vert-fonce)!important}
.lcpd-cartpage .wc-block-cart-item__total .wc-block-components-product-price{font-size:17px;font-weight:800;color:var(--lc-bleu)}
.lcpd-cartpage .wc-block-components-product-price ins{text-decoration:none;color:#d32f2f}
.lcpd-cartpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,.lcpd-cartpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:22px;font-weight:800;color:var(--lc-bleu)}
.lcpd-cartpage .wc-block-cart__submit-button{min-height:56px;border:0!important;border-radius:8px!important;background:var(--lc-vert-fonce)!important;color:#fff!important;font-size:18px!important;font-weight:700!important;text-decoration:none!important}
.lcpd-cartpage .wc-block-cart__submit-button:hover{background:var(--lc-vert)!important}
.lcpd-cartpage .wc-block-cart-item__remove-link{color:var(--lc-attenue)!important}
.lcpd-cartpage .wc-block-cart-item__remove-link:hover{color:#d32f2f!important}
.lcpd-cartpage .lcpd-acc-strip{margin-top:40px}

@media (max-width:900px){
  .lcpd-cartpage .wc-block-cart.wc-block-components-sidebar-layout{grid-template-columns:minmax(0,1fr);gap:18px}
  .lcpd-cartpage .wc-block-cart .wc-block-cart__main,.lcpd-cartpage .wc-block-cart .wc-block-cart__sidebar{padding:18px 16px}
}
@media (max-width:600px){
  .lcpd-cart-head{margin:4px 0 20px}
  .lcpd-cart-continue{padding-bottom:0}
  /* Ligne article : total sous le produit, sinon il dépasse de la carte */
  .lcpd-cartpage .wc-block-cart-items{width:100%;table-layout:fixed}
  .lcpd-cartpage .wc-block-cart-items__row{grid-template-columns:72px minmax(0,1fr)!important;column-gap:14px!important}
  .lcpd-cartpage .wc-block-cart-item__image{width:72px!important}
  .lcpd-cartpage .wc-block-cart-item__total{grid-column:2!important;grid-row:auto!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:8px;padding-top:4px!important}
}

/* ---------- Panier vide (templates/cart-empty.php) ---------- */
/* Panier vidé sans recharger la page : le titre « Mon panier » et le bandeau du bas laissent la place au contenu du panier vide */
.lcpd-cartpage:has(.wp-block-woocommerce-cart:not(.is-loading) .lcpd-empty) .lcpd-cart-head,
.lcpd-cartpage:has(.wp-block-woocommerce-cart:not(.is-loading) .lcpd-empty) .lcpd-page-container>.lcpd-acc-strip{display:none}
.lcpd-cartpage .wp-block-woocommerce-empty-cart-block{padding:0;text-align:left}
.lcpd-empty{color:var(--lc-bleu)}
.lcpd-empty-hero{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:20px 56px;align-items:center;max-width:1080px;margin:0 auto}
.lcpd-empty-media img{display:block;width:100%;height:auto}
.lcpd-empty-title{margin:0 0 14px;font-size:var(--lc-h1,36px);font-weight:800;line-height:1.08;letter-spacing:-.02em;color:var(--lc-bleu)}
.lcpd-empty-lead{margin:0 0 30px;font-size:var(--lc-lead,18px);line-height:1.45;color:var(--lc-texte-couleur)}
.lcpd-empty-btn{display:inline-flex;align-items:center;gap:14px;min-height:62px;padding:12px 28px;border-radius:8px;background:var(--lc-vert-fonce);color:#fff!important;font-size:20px;font-weight:700;text-decoration:none!important;box-shadow:0 8px 20px rgba(0,127,115,.22);transition:background .15s}
.lcpd-empty-btn:hover{background:var(--lc-vert)}
.lcpd-empty-btn .lcpd-icon{width:30px;height:30px}
.lcpd-empty-btn .lcpd-icon:last-child{width:24px;height:24px}
.lcpd-empty-fav{display:flex;align-items:center;gap:12px;width:max-content;margin-top:24px;font-size:17px;color:var(--lc-bleu)!important;text-decoration:none!important}
.lcpd-empty-fav span{text-decoration:underline;text-underline-offset:5px}
.lcpd-empty-fav .lcpd-icon{width:26px;height:26px}
.lcpd-empty-fav:hover{color:var(--lc-vert-fonce)!important}
/* Bandeau services : gris clair sur cette page (« .lcpd-page » : passe devant « .tinv-wishlist ul » de TI Wishlist) */
.lcpd-page .lcpd-empty .lcpd-acc-strip{margin:36px auto 0;padding:20px 10px;background:#f4f6f8}
.lcpd-empty .lcpd-acc-strip li+li{border-left-color:#dfe4e9}
/* Univers produits : 6 tuiles image + nom */
.lcpd-empty-h{display:flex;align-items:center;justify-content:center;gap:26px;margin:44px 0 24px;font-size:var(--lc-h2,26px);font-weight:800;color:var(--lc-bleu)}
.lcpd-empty-h::before,.lcpd-empty-h::after{content:'';width:58px;height:4px;border-radius:2px;background:var(--lc-vert-fonce)}
.lcpd-empty .lcpd-cat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.lcpd-empty .lcpd-cat{margin:0}
.lcpd-empty .lcpd-cat a{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:12px;background:#fff;color:var(--lc-bleu)!important;text-decoration:none!important;box-shadow:0 4px 16px rgba(21,22,53,.08);transition:transform .15s,box-shadow .15s}
.lcpd-empty .lcpd-cat a:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(21,22,53,.12)}
.lcpd-empty .lcpd-cat-img{display:block;aspect-ratio:16/10;overflow:hidden;background:#f6f8fa}
.lcpd-empty .lcpd-cat-img img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.lcpd-empty .lcpd-cat-body{display:flex;align-items:center;justify-content:center;flex:1;padding:12px 10px 14px;text-align:center}
.lcpd-empty .lcpd-cat-body>.lcpd-icon,.lcpd-empty .lcpd-cat-text small{display:none}
.lcpd-empty .lcpd-cat-text strong{font-size:16px;font-weight:800;line-height:1.25}
.lcpd-empty .lcpd-cat-go{display:inline-flex;margin-left:8px;color:var(--lc-vert-fonce)}
.lcpd-empty .lcpd-cat-go .lcpd-icon{width:18px;height:18px}
/* Besoin d'aide */
.lcpd-help{display:grid;grid-template-columns:1.25fr 1fr 1fr;margin:36px 0 0;padding:22px 10px;border-radius:14px;background:#e6f4f1}
.lcpd-help-item{display:flex;align-items:center;gap:18px;padding:0 30px;color:var(--lc-bleu)!important;text-decoration:none!important}
.lcpd-help-item+.lcpd-help-item{border-left:1px solid #c6e3dc}
.lcpd-help-item .lcpd-icon{flex:none;width:42px;height:42px;color:var(--lc-vert-fonce)}
.lcpd-help-item p{margin:0;font-size:15px;line-height:1.4;color:var(--lc-texte-couleur)}
.lcpd-help-item strong{display:block;font-size:20px;font-weight:800;color:var(--lc-bleu)}
.lcpd-help-item span{margin:0 6px;color:#a3abb5}
a.lcpd-help-item:hover strong{color:var(--lc-vert-fonce)}
@media (min-width:1101px){.lcpd-empty .lcpd-acc-strip li{justify-content:center}}
@media (max-width:1200px){
  .lcpd-empty .lcpd-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lcpd-help{grid-template-columns:minmax(0,1fr);gap:18px}
  .lcpd-help-item+.lcpd-help-item{border-left:0}
}
@media (max-width:760px){
  .lcpd-empty-hero{grid-template-columns:minmax(0,1fr);text-align:center}
  .lcpd-empty-media img{max-width:300px;margin:0 auto}
  .lcpd-empty-lead{margin-bottom:22px}
  .lcpd-empty-btn{width:100%;justify-content:center;min-height:56px;padding:12px 18px;font-size:18px}
  .lcpd-empty-fav{margin:20px auto 0}
  .lcpd-empty .lcpd-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .lcpd-empty-h{margin:34px 0 18px;font-size:22px}
  .lcpd-empty-h::before,.lcpd-empty-h::after{width:24px}
  .lcpd-empty .lcpd-cat-text strong{font-size:14px}
  .lcpd-empty .lcpd-cat-go{margin-left:4px}
  .lcpd-help-item{padding:0 14px}
  .lcpd-help-item strong{font-size:18px}
}

/* ---------- Favoris (TI Wishlist : templates/page-wishlist.php, wishlist.php, wishlist-empty.php) ---------- */
.lcpd-wishpage:has(.lcpd-empty) .lcpd-cart-head,
.lcpd-wishpage:has(.lcpd-empty) .lcpd-page-container>.lcpd-acc-strip{display:none}
.lcpd-wishpage .tinv-wishlist{margin:0!important;padding:0!important}
.lcpd-wishpage .tinv-wishlist .woocommerce-message,.lcpd-wishpage .tinv-wishlist .woocommerce-info,.lcpd-wishpage .tinv-wishlist .woocommerce-error{margin:0 0 20px}
/* Illustration des favoris vides : grand cœur dans une pastille */
.lcpd-empty-heart{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,340px);aspect-ratio:1;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f1faf8,#dff2ee 70%)}
.lcpd-empty-heart .lcpd-icon{width:46%;height:46%;color:#d32f2f;fill:#fdecec;stroke-width:1.4}
.lcpd-wl-count{margin:-6px 0 18px;font-size:15px;color:var(--lc-texte-couleur)}
.lcpd-wl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important;padding:0!important;list-style:none}
.lcpd-wl-item{position:relative;display:flex;flex-direction:column;margin:0;overflow:hidden;border:1px solid var(--lc-ligne);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(21,22,53,.06)}
.lcpd-wl-img{display:block;aspect-ratio:1;padding:18px;background:#fff}
.lcpd-wl-img img{display:block;width:100%!important;height:100%!important;object-fit:contain}
.lcpd-wl-remove{position:absolute;top:10px;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin:0!important;padding:0!important;border:1px solid var(--lc-ligne)!important;border-radius:50%!important;background:#fff!important;color:#d32f2f!important;cursor:pointer;transition:color .15s,border-color .15s}
.lcpd-wl-remove .lcpd-icon{width:20px;height:20px;fill:currentColor}
.lcpd-wl-remove:hover,.lcpd-wl-remove:focus-visible{border-color:var(--lc-vert)!important;color:var(--lc-vert)!important}
.lcpd-wl-cb{position:absolute;top:14px;left:14px;z-index:1}
.lcpd-wl-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:16px 18px 18px;border-top:1px solid var(--lc-ligne)}
.lcpd-wl-name{margin:0;font-size:16px;font-weight:700;line-height:1.35}
.lcpd-wl-name a{color:var(--lc-bleu)!important;text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lcpd-wl-name a:hover{color:var(--lc-vert-fonce)!important}
.lcpd-wl-stock .lcpd-stock{font-size:14px;font-weight:600}
.lcpd-wl-stock .lcpd-stock--in{color:#1e8e3e}
.lcpd-wl-stock .lcpd-stock--low,.lcpd-wl-stock .lcpd-stock--order{color:#b26a00}
.lcpd-wl-stock .lcpd-stock--out{color:#d32f2f}
.lcpd-wl-date{font-size:13px;color:var(--lc-attenue)}
.lcpd-wl-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:6px}
.lcpd-wl-price{font-size:21px;font-weight:800;color:var(--lc-bleu)}
.lcpd-wl-price del{font-size:14px;font-weight:500;color:var(--lc-attenue)}
.lcpd-wl-price ins{text-decoration:none;color:#d32f2f}
.lcpd-wishpage .lcpd-wl-cart,.lcpd-wishpage .lcpd-wl-foot .button{display:inline-flex!important;align-items:center;gap:8px;min-height:44px;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:8px!important;background:var(--lc-vert-fonce)!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important}
.lcpd-wishpage .lcpd-wl-cart:hover,.lcpd-wishpage .lcpd-wl-foot .button:hover{background:var(--lc-vert)!important}
.lcpd-wl-cart .lcpd-icon{width:20px;height:20px}
.lcpd-wl-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding:14px 16px;border:1px solid var(--lc-ligne);border-radius:12px;background:#f6f8fa}
.lcpd-wl-actions:empty{display:none}
.lcpd-wl-actions .look_in{float:none!important;width:auto!important;margin:0!important}
.lcpd-wl-actions .tinvwl-input-group,.lcpd-wl-actions .tinvwl-to-right{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px}
.lcpd-wl-actions .tinvwl-input-group-btn{display:flex;margin:0!important;padding:0!important}
.lcpd-wl-actions .tinvwl-mobile{display:none!important}
.lcpd-wl-actions select{width:auto!important;min-width:180px;height:44px;margin:0!important;padding:0 12px;border:1px solid #cfd6de;border-radius:8px;background-color:#fff;color:var(--lc-bleu);font-size:15px}
.lcpd-wishpage .lcpd-wl-actions .button{display:inline-flex!important;align-items:center;width:auto!important;min-height:44px;margin:0!important;padding:10px 16px!important;border:1px solid var(--lc-bleu)!important;border-radius:8px!important;background:#fff!important;color:var(--lc-bleu)!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important}
.lcpd-wishpage .lcpd-wl-actions .button:hover{border-color:var(--lc-vert-fonce)!important;color:var(--lc-vert-fonce)!important}
.lcpd-wishpage .lcpd-wl-actions button[name="tinvwl-action-product_all"]{border-color:var(--lc-vert-fonce)!important;background:var(--lc-vert-fonce)!important;color:#fff!important}
.lcpd-wishpage .lcpd-wl-actions button[name="tinvwl-action-product_all"]:hover{background:var(--lc-vert)!important;color:#fff!important}
/* Favoris dans la colonne de Mon compte : moins de place */
@media (min-width:761px){.woocommerce-MyAccount-content .lcpd-empty-hero{grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:20px 36px}}
@media (min-width:861px){.woocommerce-MyAccount-content .lcpd-empty .lcpd-cat-grid,.woocommerce-MyAccount-content .lcpd-wl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.woocommerce-MyAccount-content .lcpd-help{grid-template-columns:minmax(0,1fr);gap:16px}
.woocommerce-MyAccount-content .lcpd-help-item+.lcpd-help-item{border-left:0}
@media (max-width:1200px){.lcpd-wl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:860px){.lcpd-wl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media (max-width:560px){
  .lcpd-wl-grid{grid-template-columns:minmax(0,1fr)}
  .lcpd-wl-item{flex-direction:row}
  .lcpd-wl-img{flex:none;width:120px;aspect-ratio:auto;padding:12px}
  .lcpd-wl-body{border-top:0;border-left:1px solid var(--lc-ligne);padding:14px 14px 14px}
  .lcpd-wl-name{padding-right:34px;font-size:15px}
  .lcpd-wl-foot{flex-direction:column;align-items:stretch}
  .lcpd-wishpage .lcpd-wl-cart{justify-content:center}
  .lcpd-empty-heart{width:220px}
  .lcpd-wl-actions,.lcpd-wl-actions .look_in,.lcpd-wl-actions .tinvwl-input-group,.lcpd-wl-actions .tinvwl-input-group-btn,.lcpd-wl-actions .tinvwl-to-right{flex-direction:column;align-items:stretch;width:100%!important}
  .lcpd-wl-actions select,.lcpd-wishpage .lcpd-wl-actions .button{width:100%!important;justify-content:center}
}

/* ---------- Page Commande (templates/page-checkout.php) ---------- */
body.woocommerce-checkout{background:#fff}
.lcpd-steps{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 0 22px;padding:0;list-style:none;font-size:15px;font-weight:600;color:var(--lc-attenue)}
.lcpd-steps li{display:flex;align-items:center;gap:10px;margin:0}
.lcpd-steps li+li::before{content:"";width:28px;height:2px;margin-right:18px;border-radius:2px;background:var(--lc-ligne)}
.lcpd-steps span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:2px solid var(--lc-ligne);font-size:13px;font-weight:800}
.lcpd-steps a{display:inline-flex;align-items:center;gap:10px;color:inherit!important;text-decoration:none!important}
.lcpd-steps .is-done{color:var(--lc-vert-fonce)}
.lcpd-steps .is-done span{border-color:var(--lc-vert-fonce);background:var(--lc-vert-fonce);color:#fff}
.lcpd-steps .is-current{color:var(--lc-bleu)}
.lcpd-steps .is-current span{border-color:var(--lc-bleu);background:var(--lc-bleu);color:#fff}
/* Bloc Commande : pas de débord (« alignwide »), deux colonnes formulaire | récapitulatif */
.lcpd-checkoutpage .wp-block-woocommerce-checkout{width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;color:var(--lc-bleu)}
.lcpd-checkoutpage .wc-block-checkout.wc-block-components-sidebar-layout{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:28px;align-items:start;width:100%!important;max-width:100%;margin:0!important}
.lcpd-checkoutpage .wc-block-checkout__main,.lcpd-checkoutpage .wc-block-checkout__sidebar{box-sizing:border-box;width:auto!important;margin:0!important;padding:0!important}
.lcpd-checkoutpage .wc-block-checkout__sidebar{position:sticky;top:20px}
/* Une carte numérotée par étape du formulaire */
.lcpd-checkoutpage .wc-block-checkout__form{counter-reset:lcpd-step}
.lcpd-checkoutpage .wc-block-checkout__form>.wc-block-components-checkout-step:not(.wc-block-checkout__order-notes){counter-increment:lcpd-step;margin:0 0 18px!important;padding:22px 26px 24px!important;border:1px solid var(--lc-ligne);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(21,22,53,.06)}
.lcpd-checkoutpage .wc-block-components-checkout-step::before,.lcpd-checkoutpage .wc-block-components-checkout-step::after{display:none!important}
.lcpd-checkoutpage .wc-block-components-checkout-step__heading-container{margin:0 0 16px}
.lcpd-checkoutpage .wc-block-components-checkout-step__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0!important}
.lcpd-checkoutpage .wc-block-components-checkout-step__title{display:flex!important;align-items:center;gap:12px;margin:0!important;font-size:19px!important;font-weight:800!important;color:var(--lc-bleu)!important}
.lcpd-checkoutpage .wc-block-checkout__form>.wc-block-components-checkout-step .wc-block-components-checkout-step__title::before{content:counter(lcpd-step);display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--lc-vert-pale);color:var(--lc-vert-fonce);font-size:14px;font-weight:800}
.lcpd-checkoutpage .wc-block-components-checkout-step__heading-content a,.lcpd-checkoutpage .wc-block-components-checkout-step__heading-content button{font-size:14px;font-weight:600;color:var(--lc-vert-fonce)!important;text-decoration:none}
.lcpd-checkoutpage .wc-block-components-checkout-step__content{padding:0!important}
.lcpd-checkoutpage .wc-block-components-checkout-step__description{margin:-6px 0 14px;font-size:14px;color:var(--lc-texte-couleur)}
/* Champs */
.lcpd-checkoutpage .wc-block-components-text-input input,.lcpd-checkoutpage .wc-block-components-text-input textarea,.lcpd-checkoutpage .wc-blocks-components-select__select,.lcpd-checkoutpage .wc-block-components-textarea{border:1px solid #cfd6de!important;border-radius:8px!important;background:#fff!important;color:var(--lc-bleu)!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s}
.lcpd-checkoutpage .wc-block-components-text-input input:hover,.lcpd-checkoutpage .wc-blocks-components-select__select:hover{border-color:#a9b4c0!important}
.lcpd-checkoutpage .wc-block-components-text-input input:focus,.lcpd-checkoutpage .wc-block-components-text-input textarea:focus,.lcpd-checkoutpage .wc-blocks-components-select__select:focus,.lcpd-checkoutpage .wc-block-components-textarea:focus{border-color:var(--lc-vert)!important;box-shadow:0 0 0 3px rgba(0,154,140,.15)!important;outline:0!important}
.lcpd-checkoutpage .wc-block-components-text-input label,.lcpd-checkoutpage .wc-blocks-components-select__label{color:var(--lc-attenue)!important}
.lcpd-checkoutpage .wc-block-components-text-input.has-error input,.lcpd-checkoutpage .wc-block-components-select-input.has-error .wc-blocks-components-select__select{border-color:#d32f2f!important;box-shadow:0 0 0 3px rgba(211,47,47,.12)!important}
.lcpd-checkoutpage .wc-block-components-validation-error{color:#d32f2f}
.lcpd-checkoutpage .wc-block-components-address-form__address_2-toggle{font-weight:600;color:var(--lc-vert-fonce)!important;text-decoration:none!important}
/* Livraison / retrait : deux gros boutons */
.lcpd-checkoutpage .wc-block-checkout__shipping-method-container{gap:12px}
.lcpd-checkoutpage .wc-block-checkout__shipping-method-option{border:1px solid #cfd6de!important;border-radius:10px!important;background:#fff!important;color:var(--lc-bleu)!important;box-shadow:none!important}
.lcpd-checkoutpage .wc-block-checkout__shipping-method-option--selected{border-color:var(--lc-vert-fonce)!important;background:var(--lc-vert-pale)!important;box-shadow:0 0 0 1px var(--lc-vert-fonce)!important}
/* Cases à cocher */
.lcpd-checkoutpage .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]{border:1.5px solid #a9b4c0!important;border-radius:5px!important;background:#fff!important}
.lcpd-checkoutpage .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked{border-color:var(--lc-vert-fonce)!important;background:var(--lc-vert-fonce)!important}
.lcpd-checkoutpage .wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:#fff!important}
.lcpd-checkoutpage .wc-block-components-checkbox__label{color:var(--lc-bleu)}
/* Options de livraison et moyens de paiement */
.lcpd-checkoutpage .wc-block-components-radio-control--highlight-checked::after,.lcpd-checkoutpage .wc-block-components-radio-control-accordion-option::after{display:none!important}
.lcpd-checkoutpage .wc-block-components-radio-control__option,.lcpd-checkoutpage .wc-block-components-radio-control-accordion-option{margin:0 0 10px!important;border:1px solid #cfd6de!important;border-radius:10px!important;box-shadow:none!important}
.lcpd-checkoutpage .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option{margin:0!important;border:0!important}
.lcpd-checkoutpage .wc-block-components-radio-control__option--checked-option-highlighted,.lcpd-checkoutpage .wc-block-components-radio-control-accordion-option--checked-option-highlighted{border-color:var(--lc-vert-fonce)!important;background:#f3fbf9;box-shadow:0 0 0 1px var(--lc-vert-fonce)!important}
.lcpd-checkoutpage .wc-block-components-radio-control__label{font-weight:700;color:var(--lc-bleu)}
.lcpd-checkoutpage .wc-block-components-radio-control__input{border-color:#a9b4c0!important}
.lcpd-checkoutpage .wc-block-components-radio-control__input:checked{border-color:var(--lc-vert-fonce)!important}
.lcpd-checkoutpage .wc-block-components-radio-control__input:checked::before{background:var(--lc-vert-fonce)!important}
/* Note, CGV, bouton Commander */
.lcpd-checkoutpage .wc-block-checkout__order-notes{margin:0 0 14px!important;padding:0 4px!important}
.lcpd-checkoutpage .wc-block-checkout__terms{margin:0 0 18px!important;padding:0 4px!important;border:0!important;font-size:14px;color:var(--lc-texte-couleur)}
.lcpd-checkoutpage .wc-block-checkout__terms a{font-weight:600;color:var(--lc-vert-fonce)}
.lcpd-checkoutpage .wc-block-checkout__actions{padding:0!important}
.lcpd-checkoutpage .wc-block-checkout__actions_row{display:flex;align-items:center;justify-content:space-between!important;gap:16px}
.lcpd-checkoutpage .wc-block-components-checkout-return-to-cart-button{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--lc-bleu)!important;text-decoration:none!important}
.lcpd-checkoutpage .wc-block-components-checkout-return-to-cart-button:hover{color:var(--lc-vert-fonce)!important}
.lcpd-checkoutpage .wc-block-components-checkout-place-order-button{width:auto!important;min-width:260px;min-height:56px!important;margin-left:auto;padding:14px 32px!important;border:0!important;border-radius:8px!important;background:var(--lc-vert-fonce)!important;color:#fff!important;font-size:18px!important;font-weight:700!important;box-shadow:0 8px 20px rgba(0,127,115,.22)}
.lcpd-checkoutpage .wc-block-components-checkout-place-order-button:hover:not(:disabled){background:var(--lc-vert)!important}
.lcpd-checkoutpage .wc-block-components-checkout-place-order-button:disabled{opacity:.7}
/* Récapitulatif (colonne de droite) */
.lcpd-checkoutpage .wp-block-woocommerce-checkout-order-summary-block{padding:22px 24px 24px;border:1px solid var(--lc-ligne)!important;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(21,22,53,.06)}
.lcpd-checkoutpage .wc-block-components-checkout-order-summary__title-text{margin:0 0 6px!important;font-size:13px!important;font-weight:700!important;letter-spacing:.04em;text-transform:uppercase;color:var(--lc-attenue)!important}
.lcpd-checkoutpage .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper{padding-right:0!important;padding-left:0!important;border-top:1px solid var(--lc-ligne)!important}
.lcpd-checkoutpage .wc-block-components-order-summary-item__image img{border:1px solid var(--lc-ligne);border-radius:8px}
.lcpd-checkoutpage .wc-block-components-order-summary-item__quantity{border:2px solid #fff!important;background:var(--lc-bleu)!important;color:#fff!important;box-shadow:none!important;font-weight:700}
.lcpd-checkoutpage .wc-block-components-order-summary-item__description .wc-block-components-product-name{font-size:15px;font-weight:700;line-height:1.35;color:var(--lc-bleu)}
.lcpd-checkoutpage .wc-block-components-order-summary-item__total-price{font-weight:800;color:var(--lc-bleu)}
.lcpd-checkoutpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,.lcpd-checkoutpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:22px;font-weight:800;color:var(--lc-bleu)}
.lcpd-checkoutpage .wc-block-components-totals-item__description{font-size:13px;color:var(--lc-attenue)}
.lcpd-checkoutpage .lcpd-acc-strip{margin-top:44px}
@media (max-width:1000px){
  .lcpd-checkoutpage .wc-block-checkout.wc-block-components-sidebar-layout{grid-template-columns:minmax(0,1fr);gap:18px}
  .lcpd-checkoutpage .wc-block-checkout__sidebar{position:static;order:-1} /* récapitulatif au-dessus du formulaire */
}
@media (max-width:600px){
  .lcpd-steps{gap:8px 14px;font-size:13px}
  .lcpd-steps li+li::before{width:14px;margin-right:4px}
  .lcpd-checkoutpage .wc-block-checkout__form>.wc-block-components-checkout-step:not(.wc-block-checkout__order-notes),.lcpd-checkoutpage .wp-block-woocommerce-checkout-order-summary-block{padding:18px 16px!important}
  .lcpd-checkoutpage .wc-block-checkout__actions_row{flex-direction:column-reverse;align-items:stretch}
  .lcpd-checkoutpage .wc-block-components-checkout-place-order-button{width:100%!important;min-width:0}
}

/* ---------- Confirmation de commande (même page, /order-received/) ---------- */
.lcpd-checkoutpage .woocommerce-order{max-width:1100px;color:var(--lc-bleu)}
.lcpd-checkoutpage .woocommerce-thankyou-order-received{margin:0 0 22px;padding:16px 20px;border-radius:12px;background:var(--lc-vert-pale);font-size:17px;font-weight:700;color:var(--lc-vert-fonce)}
.lcpd-checkoutpage ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:0;margin:0 0 28px!important;padding:0!important;border:1px solid var(--lc-ligne);border-radius:14px;background:#fff;list-style:none;box-shadow:0 8px 24px rgba(21,22,53,.06)}
.lcpd-checkoutpage ul.woocommerce-order-overview::before,.lcpd-checkoutpage ul.woocommerce-order-overview::after{display:none!important} /* clearfix du thème : prendrait une case de la grille */
.lcpd-checkoutpage ul.woocommerce-order-overview li{margin:0!important;padding:16px 20px!important;border:0!important;border-right:1px solid var(--lc-ligne)!important;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--lc-attenue)}
.lcpd-checkoutpage ul.woocommerce-order-overview li:last-child{border-right:0!important}
.lcpd-checkoutpage ul.woocommerce-order-overview li strong{display:block;margin-top:4px;font-size:16px;letter-spacing:0;text-transform:none;color:var(--lc-bleu)}
.lcpd-checkoutpage .woocommerce-order-details,.lcpd-checkoutpage .woocommerce-customer-details,.lcpd-checkoutpage .woocommerce-bacs-bank-details{margin:0 0 24px;padding:22px 24px;border:1px solid var(--lc-ligne);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(21,22,53,.06)}
.lcpd-checkoutpage .woocommerce-order-details__title,.lcpd-checkoutpage .woocommerce-column__title,.lcpd-checkoutpage .wc-bacs-bank-details-heading{margin:0 0 14px;font-size:19px;font-weight:800;color:var(--lc-bleu)}
.lcpd-checkoutpage .woocommerce-table--order-details{width:100%;margin:0;border:0;border-collapse:collapse}
.lcpd-checkoutpage .woocommerce-table--order-details th,.lcpd-checkoutpage .woocommerce-table--order-details td{padding:12px 0;border:0;border-bottom:1px solid var(--lc-ligne);text-align:left}
.lcpd-checkoutpage .woocommerce-table--order-details td:last-child,.lcpd-checkoutpage .woocommerce-table--order-details tfoot td{text-align:right}
.lcpd-checkoutpage .woocommerce-table--order-details tfoot tr:last-child th,.lcpd-checkoutpage .woocommerce-table--order-details tfoot tr:last-child td{border-bottom:0;font-size:18px;font-weight:800}
.lcpd-checkoutpage .woocommerce-table--order-details a{font-weight:700;color:var(--lc-bleu);text-decoration:none}
.lcpd-checkoutpage .woocommerce-customer-details address{padding:0!important;border:0!important;font-style:normal;line-height:1.6}
@media (max-width:600px){
  .lcpd-checkoutpage ul.woocommerce-order-overview li{border-right:0!important;border-bottom:1px solid var(--lc-ligne)!important}
  .lcpd-checkoutpage .woocommerce-order-details,.lcpd-checkoutpage .woocommerce-customer-details,.lcpd-checkoutpage .woocommerce-bacs-bank-details{padding:18px 16px}
}

/* Lien de confirmation invalide (page Commande) */
.lcpd-checkoutpage .lcpd-noresult>p{margin:4px 0 24px;padding:16px 20px;border-radius:10px;background:#f6f8fa;font-size:15px;line-height:1.5;color:var(--lc-texte-couleur)}
.lcpd-checkoutpage .lcpd-noresult>p strong{display:block;margin-bottom:2px;font-size:17px;color:var(--lc-bleu)}
.lcpd-checkoutpage .lcpd-arch-stock{font-weight:600;color:var(--lc-vert-fonce)!important;text-decoration:underline;text-underline-offset:3px}

/* ---------- Page 404 : grand « 404 » à la place de l'illustration ---------- */
.lcpd-empty-404{display:flex;align-items:center;justify-content:center;width:min(100%,340px);aspect-ratio:1;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f1faf8,#dff2ee 70%);font-size:clamp(64px,8vw,110px);font-weight:800;letter-spacing:-.04em;color:var(--lc-bleu)}
@media (max-width:560px){.lcpd-empty-404{width:220px}}
