/* Start custom CSS for page-settings *//* =========================================================
   CASH EXPERT - PANIER / CART DESIGN PRO
   Page panier uniquement
========================================================= */

body#cart{
  background: linear-gradient(180deg,#f7fafc 0%,#ffffff 48%,#f3f6f9 100%) !important;
  color:#071f3a !important;
}

/* Conteneur général */
body#cart #wrapper,
body#cart main,
body#cart #content-wrapper{
  background: transparent !important;
}

body#cart .container,
body#cart #main{
  max-width:1180px !important;
  margin:0 auto !important;
}

/* Titre panier */
body#cart h1,
body#cart .cart-grid-body h1,
body#cart .card-block h1{
  font-size:30px !important;
  font-weight:900 !important;
  color:#071f3a !important;
  letter-spacing:-.5px !important;
  margin-bottom:28px !important;
}

/* Cartes principales */
body#cart .card,
body#cart .cart-grid-body .card,
body#cart .cart-grid-right .card{
  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(7,31,58,.10) !important;
  border-radius:22px !important;
  box-shadow:0 18px 45px rgba(7,31,58,.08) !important;
  overflow:hidden !important;
}

/* En-tête carte */
body#cart .card-block,
body#cart .card-body{
  padding:26px !important;
}

/* Produit */
body#cart .cart-item{
  padding:26px !important;
  border-bottom:1px solid rgba(7,31,58,.08) !important;
}

body#cart .cart-item:last-child{
  border-bottom:none !important;
}

/* Image produit */
body#cart .product-line-grid-left img{
  max-width:120px !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(7,31,58,.12) !important;
  padding:6px !important;
}

/* Nom produit */
body#cart .product-line-info a.label,
body#cart .product-line-info .label{
  color:#071f3a !important;
  font-size:15px !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  letter-spacing:.4px !important;
  line-height:1.35 !important;
}

/* Déclinaisons */
body#cart .product-line-info span,
body#cart .product-line-info{
  color:#526174 !important;
  font-weight:600 !important;
}

/* Prix en vert */
body#cart .current-price,
body#cart .product-price,
body#cart .price,
body#cart .cart-summary-line .value,
body#cart .cart-total .value,
body#cart .cart-summary-totals .value,
body#cart .product-line-grid-right .price{
  color:#16a34a !important;
  font-weight:900 !important;
}

/* Prix principal produit */
body#cart .product-line-grid-right .price,
body#cart .current-price{
  font-size:20px !important;
}

/* Quantité */
body#cart .bootstrap-touchspin,
body#cart .qty .input-group{
  border:1px solid rgba(7,31,58,.14) !important;
  border-radius:14px !important;
  overflow:hidden !important;
  box-shadow:0 8px 18px rgba(7,31,58,.06) !important;
}

body#cart input.js-cart-line-product-quantity,
body#cart .qty input{
  height:46px !important;
  width:58px !important;
  border:none !important;
  text-align:center !important;
  font-weight:900 !important;
  color:#071f3a !important;
  background:#fff !important;
}

body#cart .bootstrap-touchspin .btn{
  background:#fff !important;
  color:#071f3a !important;
  border:none !important;
  font-weight:900 !important;
}

/* Poubelle */
body#cart .remove-from-cart,
body#cart .cart-line-product-actions a{
  color:#071f3a !important;
  opacity:.85 !important;
  transition:.2s ease !important;
}

body#cart .remove-from-cart:hover,
body#cart .cart-line-product-actions a:hover{
  color:#e0004d !important;
  opacity:1 !important;
}

/* Colonne résumé */
body#cart .cart-grid-right .card{
  position:sticky !important;
  top:120px !important;
}

/* Bloc résumé */
body#cart .cart-summary-line{
  padding:10px 0 !important;
  font-size:15px !important;
  color:#071f3a !important;
  font-weight:700 !important;
}

body#cart .cart-summary-line .label{
  color:#071f3a !important;
  font-weight:700 !important;
}

/* Livraison gratuite en vert */
body#cart .cart-summary-line .value:contains("gratuit"),
body#cart .cart-summary-line .value{
  font-weight:900 !important;
}

/* Total */
body#cart .cart-summary-totals,
body#cart .cart-total{
  border-top:1px solid rgba(7,31,58,.10) !important;
  margin-top:16px !important;
  padding-top:18px !important;
}

body#cart .cart-total .label,
body#cart .cart-summary-totals .label{
  font-size:18px !important;
  font-weight:900 !important;
  color:#071f3a !important;
}

body#cart .cart-total .value,
body#cart .cart-summary-totals .value{
  font-size:24px !important;
  font-weight:950 !important;
  color:#16a34a !important;
}

/* Code promo */
body#cart .promo-code,
body#cart .block-promo{
  margin-top:18px !important;
}

body#cart .promo-code input,
body#cart .block-promo input{
  border:1px solid rgba(7,31,58,.14) !important;
  border-radius:14px !important;
  height:46px !important;
  padding:0 14px !important;
  color:#071f3a !important;
  font-weight:700 !important;
}

/* Bouton commander */
body#cart .checkout a,
body#cart .cart-detailed-actions a,
body#cart a.btn-primary,
body#cart button.btn-primary{
  background:linear-gradient(135deg,#e0004d 0%,#ff2f78 100%) !important;
  color:#fff !important;
  border:none !important;
  border-radius:999px !important;
  min-height:50px !important;
  padding:14px 28px !important;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  box-shadow:0 14px 28px rgba(224,0,77,.24) !important;
  transition:.22s ease !important;
}

body#cart .checkout a:hover,
body#cart .cart-detailed-actions a:hover,
body#cart a.btn-primary:hover,
body#cart button.btn-primary:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 18px 36px rgba(224,0,77,.32) !important;
}

/* Continuer les achats */
body#cart .cart-grid-body a[href],
body#cart .cart-grid-body .btn{
  color:#071f3a !important;
  font-weight:800 !important;
}

/* Bloc garanties */
body#cart .cart-summary-subtotals-container + .card,
body#cart .blockreassurance_product,
body#cart .cart-grid-right .blockreassurance{
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid rgba(7,31,58,.10) !important;
  box-shadow:0 14px 35px rgba(7,31,58,.06) !important;
}

body#cart .blockreassurance_product div,
body#cart .blockreassurance-item{
  color:#071f3a !important;
  font-weight:800 !important;
}

/* Zone widget Creative Elements à droite */
body#cart .elementor,
body#cart .ce-edit-wrapper,
body#cart .elementor-widget-wrap{
  border-radius:18px !important;
}

/* Responsive mobile */
@media (max-width: 768px){

  body#cart .container,
  body#cart #main{
    max-width:100% !important;
    padding:0 14px !important;
  }

  body#cart .card,
  body#cart .cart-grid-body .card,
  body#cart .cart-grid-right .card{
    border-radius:18px !important;
  }

  body#cart .cart-item{
    padding:20px 16px !important;
    text-align:center !important;
  }

  body#cart .product-line-grid-left,
  body#cart .product-line-grid-body,
  body#cart .product-line-grid-right{
    width:100% !important;
    text-align:center !important;
  }

  body#cart .product-line-grid-left img{
    margin:0 auto 14px auto !important;
    max-width:135px !important;
  }

  body#cart .product-line-info a.label,
  body#cart .product-line-info .label{
    display:block !important;
    text-align:center !important;
    font-size:14px !important;
  }

  body#cart .qty,
  body#cart .bootstrap-touchspin{
    margin:16px auto !important;
    justify-content:center !important;
  }

  body#cart .cart-grid-right .card{
    position:relative !important;
    top:auto !important;
    margin-top:20px !important;
  }

  body#cart .checkout a,
  body#cart .cart-detailed-actions a{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }
}
/* =========================================================
   FIX PANIER - garanties qui passent sous le résumé
========================================================= */

body#cart .cart-grid-right{
  display:flex !important;
  flex-direction:column !important;
  gap:24px !important;
}

body#cart .cart-grid-right .card{
  position:relative !important;
  top:auto !important;
  z-index:2 !important;
  margin-bottom:0 !important;
}

body#cart .cart-grid-right .blockreassurance,
body#cart .cart-grid-right .blockreassurance_product,
body#cart .cart-grid-right section,
body#cart .cart-grid-right .card + .card{
  position:relative !important;
  z-index:1 !important;
  margin-top:0 !important;
  clear:both !important;
}

/* évite que le bouton déborde sur les garanties */
body#cart .cart-detailed-actions,
body#cart .checkout{
  margin-bottom:24px !important;
  padding-bottom:8px !important;
}

/* remet de l'air dans la carte total */
body#cart .cart-grid-right .card-block,
body#cart .cart-grid-right .card-body{
  padding-bottom:34px !important;
}
/* =========================================================
   HOVER BOUTON COMMANDER → VERT (au lieu du jaune)
========================================================= */

body#cart .checkout a:hover,
body#cart .cart-detailed-actions a:hover,
body#cart a.btn-primary:hover,
body#cart button.btn-primary:hover{
  background:linear-gradient(135deg,#16a34a 0%,#22c55e 100%) !important;
  color:#fff !important;
  box-shadow:0 18px 36px rgba(34,197,94,.40) !important;
  transform:translateY(-2px) !important;
}

/* on neutralise le jaune Presta */
body#cart .btn-primary:hover{
  background-color:unset !important;
  border-color:unset !important;
}
/* FIX NUCLEAIRE - bouton panier jaune */
body#cart .cart-detailed-actions .btn,
body#cart .cart-detailed-actions .btn-primary,
body#cart .cart-detailed-actions a.btn,
body#cart .cart-detailed-actions a.btn-primary,
body#cart .checkout .btn,
body#cart .checkout a,
body#cart .checkout a.btn,
body#cart .checkout a.btn-primary{
  background:#e0004d !important;
  background-image:linear-gradient(135deg,#e0004d 0%,#ff2f78 100%) !important;
  background-color:#e0004d !important;
  border-color:#e0004d !important;
  color:#fff !important;
}

body#cart .cart-detailed-actions .btn:hover,
body#cart .cart-detailed-actions .btn-primary:hover,
body#cart .cart-detailed-actions a.btn:hover,
body#cart .cart-detailed-actions a.btn-primary:hover,
body#cart .checkout .btn:hover,
body#cart .checkout a:hover,
body#cart .checkout a.btn:hover,
body#cart .checkout a.btn-primary:hover,
body#cart .cart-detailed-actions .btn:focus,
body#cart .cart-detailed-actions .btn-primary:focus,
body#cart .cart-detailed-actions a.btn:focus,
body#cart .cart-detailed-actions a.btn-primary:focus,
body#cart .checkout .btn:focus,
body#cart .checkout a:focus,
body#cart .checkout a.btn:focus,
body#cart .checkout a.btn-primary:focus,
body#cart .cart-detailed-actions .btn:active,
body#cart .cart-detailed-actions .btn-primary:active,
body#cart .cart-detailed-actions a.btn:active,
body#cart .cart-detailed-actions a.btn-primary:active,
body#cart .checkout .btn:active,
body#cart .checkout a:active,
body#cart .checkout a.btn:active,
body#cart .checkout a.btn-primary:active{
  background:#16a34a !important;
  background-image:linear-gradient(135deg,#16a34a 0%,#22c55e 100%) !important;
  background-color:#16a34a !important;
  border-color:#16a34a !important;
  color:#fff !important;
}
/* =========================================================
   CASH EXPERT - FIX DEFINITIF BOUTON COMMANDER JAUNE
========================================================= */

body#cart .cart-detailed-actions a[href],
body#cart .cart-detailed-actions a[href].btn,
body#cart .cart-detailed-actions a[href].btn-primary,
body#cart .cart-detailed-actions .btn-primary,
body#cart .checkout a[href],
body#cart .checkout a[href].btn,
body#cart .checkout a[href].btn-primary{
  background:linear-gradient(135deg,#e0004d 0%,#ff2f78 100%) !important;
  background-color:#e0004d !important;
  background-image:linear-gradient(135deg,#e0004d 0%,#ff2f78 100%) !important;
  border:0 !important;
  color:#fff !important;
  box-shadow:0 14px 28px rgba(224,0,77,.24) !important;
}

/* Hover / clic / focus = vert */
body#cart .cart-detailed-actions a[href]:hover,
body#cart .cart-detailed-actions a[href].btn:hover,
body#cart .cart-detailed-actions a[href].btn-primary:hover,
body#cart .cart-detailed-actions .btn-primary:hover,
body#cart .checkout a[href]:hover,
body#cart .checkout a[href].btn:hover,
body#cart .checkout a[href].btn-primary:hover,
body#cart .cart-detailed-actions a[href]:focus,
body#cart .cart-detailed-actions a[href]:active,
body#cart .checkout a[href]:focus,
body#cart .checkout a[href]:active{
  background:linear-gradient(135deg,#16a34a 0%,#22c55e 100%) !important;
  background-color:#16a34a !important;
  background-image:linear-gradient(135deg,#16a34a 0%,#22c55e 100%) !important;
  border:0 !important;
  color:#fff !important;
  box-shadow:0 18px 36px rgba(34,197,94,.38) !important;
}

/* Si le jaune vient d'un pseudo-élément du thème */
body#cart .cart-detailed-actions a[href]::before,
body#cart .cart-detailed-actions a[href]::after,
body#cart .checkout a[href]::before,
body#cart .checkout a[href]::after{
  background:transparent !important;
  background-image:none !important;
  background-color:transparent !important;
  box-shadow:none !important;
}/* End custom CSS */