/* Panier KOHÏBA GRILL : mêmes cartes, compteurs et encart que l'étape « Pour aller plus loin » (extras.css) */
.kg-panier{max-width:560px;margin:0 auto;display:grid;gap:16px}
.kg-panier-collaterals{max-width:560px;margin:16px auto 0}
.kg-panier-collaterals::after{content:"";display:block;clear:both}
.kg-panier,.kg-panier *,.kg-panier-collaterals,.kg-panier-collaterals *{box-sizing:border-box}
.woocommerce .kg-panier-collaterals .cart_totals,.woocommerce-page .kg-panier-collaterals .cart_totals{float:none;width:100%;margin:0}
.kg-panier .kg-lead{margin:0;color:#3a3833}
.kg-panier .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.kg-panier-lignes{display:grid;gap:8px}
.kg-ligne{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d8d0c3;border-radius:14px;background:#fff}
.kg-ligne-nom{min-width:0;flex:1 1 auto;display:grid;gap:2px}
.kg-ligne-nom strong{font-size:.95rem;line-height:1.3}
.kg-ligne-nom small{color:#6d685f;font-size:.8rem;line-height:1.35}
.kg-ligne-nom small.kg-ligne-formule{color:#b97c3d}
.kg-ligne-droite{display:flex;align-items:center;gap:10px;flex-shrink:0}
.kg-ligne-total{min-width:4.4em;text-align:right;font-size:.95rem;white-space:nowrap}
.kg-ligne-total .woocommerce-Price-amount{font-weight:700}
.kg-stepper{display:inline-flex;flex-shrink:0;align-items:center;border:1px solid #d8d0c3;border-radius:999px;overflow:hidden;background:#fbf8f2}
.kg-stepper button{width:36px;height:36px;border:0;background:transparent;font:inherit;font-size:1.2rem;line-height:1;cursor:pointer;color:#171714}
.kg-stepper .quantity{display:contents}
.kg-stepper input.qty{width:34px;height:36px;margin:0;padding:0;text-align:center;border:0;border-radius:0;background:transparent;font:inherit;font-weight:700;color:#171714;-moz-appearance:textfield;appearance:textfield}
.kg-stepper input.qty:focus{outline:none;background:#f4e7d7}
.kg-stepper input::-webkit-inner-spin-button,.kg-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.kg-qte-fixe{width:34px;text-align:center;font-weight:700}
.kg-panier .product-remove a.remove{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f1ece2;color:#6d685f;text-decoration:none;font-size:1.15rem;line-height:1;font-weight:400}
.kg-panier .product-remove a.remove:hover{background:#171714;color:#fbf8f2}
/* Outils : code avantage discret ; le bouton « Actualiser » reste pour WooCommerce mais la mise à jour est automatique (panier.js) */
.kg-panier-outils{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.kg-panier-outils:empty{display:none}
.kg-maj{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden;padding:0;border:0}
.kg-coupon{width:100%}
.kg-coupon summary{cursor:pointer;color:#171714;font-size:.9rem;text-decoration:underline;list-style:none}
.kg-coupon summary::-webkit-details-marker{display:none}
.kg-coupon-champ{display:flex;gap:8px;margin-top:8px}
.kg-coupon-champ input{flex:1;min-width:0;padding:10px 12px;border:1px solid #d8d0c3;border-radius:12px;background:#fff;font:inherit}
.kg-secondaire-bouton{padding:10px 14px;border:1px solid #171714;border-radius:12px;background:transparent;color:#171714;font:inherit;font-weight:700;cursor:pointer}
/* Encart total */
.kg-total{display:grid;gap:14px;padding:16px 18px;border-radius:16px;background:#171714;color:#fbf8f2}
.kg-total-kicker{font-size:.62rem;letter-spacing:.16em;color:#b97c3d;font-weight:700}
.kg-total-lignes{margin:0;display:grid;gap:6px}
.kg-total-ligne{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0}
.kg-total-ligne dt{font-size:.9rem;color:#d9d3c7;font-weight:500}
.kg-total-ligne dd{margin:0;font-weight:600;text-align:right;color:#fbf8f2}
.kg-total-ligne .woocommerce-Price-amount{color:#fbf8f2}
.kg-total-final{padding-top:10px;border-top:1px solid #3a3833}
.kg-total-final dt{color:#fbf8f2;font-weight:700;font-size:1rem}
.kg-total-final dd strong,.kg-total-final dd .woocommerce-Price-amount{font-size:1.45rem;font-weight:800}
.kg-total .includes_tax{display:block;font-size:.72rem;font-weight:400;color:#d9d3c7;margin-top:2px}
.kg-total .includes_tax .woocommerce-Price-amount{font-size:.72rem;font-weight:400}
.kg-total .woocommerce-remove-coupon{color:#b97c3d;margin-left:6px;font-size:.8rem}
.kg-total-livraison{width:100%;color:#fbf8f2;border-collapse:collapse}
.kg-total-livraison th,.kg-total-livraison td{padding:4px 0;font-size:.9rem;border:0}
/* Actions */
.kg-actions{display:flex;gap:10px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.kg-total .kg-actions{padding-top:4px}
.kg-secondaire{color:#fbf8f2;font-size:.9rem;text-decoration:underline}
.kg-principal{flex:1 1 100%;display:flex;justify-content:space-between;gap:12px;padding:14px 18px;border:0;border-radius:14px;background:#b97c3d;color:#171714;font:inherit;font-size:1rem;font-weight:700;text-decoration:none;cursor:pointer}
.kg-principal:hover{background:#c98a49;color:#171714}
.kg-principal span{color:#171714;font-weight:800}
.kg-principal span .woocommerce-Price-amount{color:#171714}
/* Panier vide */
.kg-panier-vide{display:grid;gap:14px}
.kg-vide{margin:0;padding:18px;border-radius:16px;background:#f1ece2;font-size:1rem;line-height:1.5;color:#171714}
.kg-panier-vide .kg-actions{margin:0}
.kg-panier-vide .kg-principal{flex:0 1 auto;justify-content:center}
.kg-panier-vide .kg-secondaire{color:#171714}
/* Notices WooCommerce (erreurs de règle, article retiré) à la charte */
body.woocommerce-cart .wc-block-components-notice-banner,body.woocommerce-cart .woocommerce-message,body.woocommerce-cart .woocommerce-info,body.woocommerce-cart .woocommerce-error{max-width:560px;margin:0 auto 14px;padding:12px 14px;border:1px solid #d8d0c3;border-left-width:1px;border-radius:14px;background:#fff;color:#171714;font-size:.92rem;list-style:none}
body.woocommerce-cart .wc-block-components-notice-banner.is-error,body.woocommerce-cart .woocommerce-error{border-color:#b71c1c;background:#fde0dc}
body.woocommerce-cart .wc-block-components-notice-banner.is-success,body.woocommerce-cart .woocommerce-message{border-color:#6f7960;background:#e8ebe3}
body.woocommerce-cart .wc-block-components-notice-banner svg{fill:currentColor}
body.woocommerce-cart .woocommerce-error li,body.woocommerce-cart .woocommerce-message li,body.woocommerce-cart .woocommerce-info li{margin:0}
body.woocommerce-cart .wc-block-components-notice-banner .button,body.woocommerce-cart .woocommerce-message .button{display:inline-block;margin-left:8px;padding:6px 10px;border-radius:10px;background:#171714;color:#fbf8f2;font-size:.82rem;text-decoration:none}
@media (max-width:480px){
  .kg-ligne{flex-wrap:wrap}
  .kg-ligne-nom{flex-basis:100%}
  .kg-ligne-droite{width:100%;justify-content:space-between}
  .kg-ligne-total{min-width:0}
  .kg-panier-vide .kg-principal{flex-basis:100%}
}
