:root {
  --primary-color: #222248;
  --primary-hover: #222248;
  --text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --card-radius: 16px;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ======================
   Global Layout
   ====================== */
#cart .cart-grid {
  margin-top: 3rem;
  margin-bottom: 0rem;
  gap: 0;
}

/* ======================
   Left Column - Product List
   ====================== */
.cart-container {
  background: #fff;
  border: none;
  border-radius: var(--card-radius);
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.cart-container .card-block h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
  border-bottom: none;
  letter-spacing: -0.5px;
}

.cart-overview .cart-item {
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
  transition: background-color 0.2s;
}

.cart-overview .cart-item:last-child {
  border-bottom: none;
}

/* Product Image */
.product-line-grid-left img {
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-line-grid-left img:hover {
  transform: scale(1.02);
}

/* Product Info */
.product-line-grid-body .product-line-info {
  margin-bottom: 0.75rem;
}

.product-line-grid-body .product-line-info a.label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.product-line-grid-body .product-line-info a.label:hover {
  color: var(--primary-color);
}

.product-line-info .value {
  color: var(--text-gray);
  font-size: 0.95rem;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 4px;
}

.product-line-info .label {
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 6px;
}

/* Price & Quantity */
.product-line-grid-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.cart-grid-right.col-lg-4 {
  margin-top: 6%;
}

.product-line-grid-right .qty {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 4px;
  display: flex;
  align-items: center;
  width: fit-content;
  background: #fff;
  transition: border-color 0.2s;
}

.product-line-grid-right .qty:hover {
  border-color: var(--primary-color);
}

.product-line-grid-right .qty .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
}

.product-line-grid-right .qty .js-cart-line-product-quantity {
  border: none;
  font-weight: 700;
  color: var(--text-dark);
  width: 40px;
  text-align: center;
  font-size: 1rem;
}

.product-line-grid-right .qty .btn-touchspin {
  color: var(--text-gray);
  padding: 0px 10px;
}

.product-line-grid-right .qty .btn-touchspin:hover {
  color: var(--primary-color);
}


@media (max-width: 991px) {
  #main {
    display: flex !important;
    flex-direction: column !important;
  }

  .cart-grid.row {
    display: contents;
    /* Annule la structure intermédiaire pour laisser passer le flex */
  }

  .cart-grid-body {
    order: 1 !important;
  }

  .cart-extras-wrapper {
    order: 2 !important;
  }

  .cart-grid-right {
    order: 3 !important;
  }
}

.product-line-grid-right .product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.product-line-grid-right .cart-line-product-actions .remove-from-cart {
  color: var(--text-gray);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  margin-top: 1rem;
}

.product-line-grid-right .cart-line-product-actions .remove-from-cart:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* ======================
   Right Column - Summary
   ====================== */
.cart-summary {
  background: #fff;
  border: none;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  position: sticky;
  top: 2rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--text-gray);
}

.cart-summary-line .label {
  color: var(--text-gray);
}

.cart-summary-line .value {
  font-weight: 600;
  color: var(--text-dark);
}

.cart-summary-line.cart-total {
  background: #fff9f8;
  padding: 1.5rem;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  border-top: 2px solid rgb(0 57 216 / 26%);
}

@media (min-width:768px) {

  .cart-summary-line.cart-total {
    margin: 0.5rem -2rem 1rem;
  }

}

.cart-summary-line.cart-total .label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.cart-summary-line.cart-total .value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* Checkout Button */
.checkout .btn-primary {
  width: 100%;
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  padding: 1.25rem;
  /* border-radius: 12px; */
  border: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.checkout .btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Promo Code */
.promo-code {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
}

.promo-code .alert-danger {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.promo-input {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  transition: border-color 0.2s;
  font-family: inherit;
}

.promo-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Continue Shopping */
.label[href*="index"] {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  color: var(--text-gray);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.label[href*="index"]:hover {
  color: var(--primary-color);
  background: #fff5f3;
}

.label[href*="index"] i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Reassurance */
.blockreassurance_product {
  display: none;
}

/* ======================
   Responsive
   ====================== */
@media (max-width: 991px) {

  /* Colonnes empilÃ©es sur tablette */
  .cart-grid {
    display: block;
  }

  .cart-grid-body,
  .cart-grid-right {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .cart-grid-body {
    margin-bottom: 2rem;
  }

  .cart-summary {
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 767px) {

  /* Padding global plus compact */
  .cart-container {
    padding: 1.25rem;
  }

  .cart-container .separator {
    display: none;
  }

  .cart-container .card-block h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  /* Items */
  .cart-overview .cart-item {
    padding: 1rem 0;
  }

  /* Image au-dessus, centrÃ©e */
  .product-line-grid-left {
    margin-bottom: 0.75rem;
    text-align: center;
    padding-right: 0 !important;
  }

  .product-line-grid-left img {
    max-width: 110px;
    width: 100%;
    height: auto;
  }

  /* Infos produit centrÃ©es */
  .product-line-grid-body {
    text-align: center;
    margin-bottom: 0.75rem;
    padding: 0 !important;
  }

  .product-line-grid-body .product-line-info a.label {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  /* Prix, quantitÃ© et actions sur une ligne */
  .product-line-grid-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0 !important;
    margin-top: 0.5rem;
  }

  .product-line-grid-right .product-price {
    margin-bottom: 0;
    order: 2;
    font-size: 1.1rem;
  }

  .product-line-grid-right .qty {
    order: 1;
  }

  .product-line-grid-right .qty .js-cart-line-product-quantity {
    width: 36px;
  }

  .product-line-grid-right .qty .btn-touchspin {
    padding: 0 8px;
  }

  .product-line-grid-right .cart-line-product-actions .remove-from-cart {
    margin-top: 0;
    order: 3;
  }

  /* RÃ©sumÃ© passe en bloc plein largeur */
  .cart-summary {
    padding: 1.25rem;
  }

  .cart-summary-line {
    font-size: 0.95rem;
  }

  .cart-summary-line.cart-total .value {
    font-size: 1.4rem;
  }

  .checkout .btn-primary {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* ======================
   Mobile-specific Cart Styles
   ====================== */
@media (max-width: 767px) {

  /* Center and adjust product image */
  .product-line-grid-left {
    text-align: center;
    margin-bottom: 1rem;
  }

  .product-line-grid-left img {
    max-width: 100px;
    height: auto;
    margin: 0 auto;
  }

  /* Improve product details layout */
  .product-line-grid-body {
    text-align: left;
    padding: 0;
  }

  .product-line-grid-body .product-line-info {
    margin-bottom: 0.5rem;
  }

  .product-line-grid-body .product-line-info .label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
  }

  .product-line-grid-body .product-line-info .value {
    font-size: 0.9rem;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 4px;
  }

  /* Align quantity and price */
  .product-line-grid-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .product-line-grid-right .qty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .product-line-grid-right .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
  }

  .product-line-grid-right .cart-line-product-actions {
    margin-top: 1rem;
  }

  /* Adjust cart summary */
  .cart-summary {
    padding: 1.5rem;
    margin-top: 1rem;
  }

  .cart-summary-line {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .cart-summary-line.cart-total {
    padding: 1rem;
    font-size: 1.2rem;
  }

  .checkout .btn-primary {
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--card-radius);
  }

  /* Adjust spacing */
  .cart-container {
    padding: 0rem;
  }

  .cart-overview .cart-item {
    padding: 1.5rem 0;
  }
}

@media (min-width: 1200px) {
  .page-cart #wrapper .container {
    width: 1344px !important;


  }
}

/* ================================================================
   CART EXTRAS — Produits complémentaires & Allergènes
   Maison Sushi — Design cohérent avec --primary: #222248
   ================================================================ */

:root {
  --primary: #222248;
  --primary-light: #2e2f6b;
  --accent: #E52A20;
  --accent-dark: #e07a4a;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #8888aa;
  --border: #e8e8f0;
  --bg-soft: #f7f7fb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(34, 34, 72, .07);
  --shadow-md: 0 6px 24px rgba(34, 34, 72, .11);
  --trans: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---- Wrapper global ---- */
.cart-extras-wrapper {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---- En-tête de section partagé ---- */
.cart-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.cart-section-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--bg-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.cart-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 4px;
  letter-spacing: -.3px;
}

.cart-section-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ================================================================
   PRODUITS COMPLÉMENTAIRES
   ================================================================ */
.cart-complements {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* Grille produits */
.complements-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Loading spinner */
.complements-loading {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

.complements-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: comp-spin .7s linear infinite;
}

@keyframes comp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Carte produit complémentaire */
.complement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 18px 12px 16px;
  cursor: pointer;
  transition: all var(--trans);
  position: relative;
  user-select: none;
}

.complement-card:hover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.complement-card.is-in-cart {
  border-color: var(--accent);
  background: #fff8f4;
}

/* Badge "dans le panier" */
.complement-card.is-in-cart::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
}

.complement-card-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.complement-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.complement-card:hover .complement-card-img-wrap img {
  transform: scale(1.06);
}

.complement-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
  max-height: 32px;
  overflow: hidden;
}

.complement-card-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.complement-card-price.is-free {
  color: #27ae60;
}

/* Sélecteur de quantité inline */
.complement-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
  height: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
}

.complement-card.is-in-cart .complement-qty {
  opacity: 1;
  pointer-events: auto;
}

.complement-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-mid);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans), color var(--trans);
  font-weight: 500;
}

.complement-qty-btn:hover {
  background: var(--accent);
  color: #fff;
}

.complement-qty-val {
  width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Bouton "Ajouter" (quand qty=0) */
.complement-add-btn {
  width: 100%;
  padding: 7px 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: .3px;
}

.complement-add-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(241, 157, 118, .35);
}

.complement-card.is-in-cart .complement-add-btn {
  display: none;
}

/* ================================================================
   ALLERGÈNES
   ================================================================ */
.cart-allergens {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.allergens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

/* Checkbox stylisée */
.allergen-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans);
  user-select: none;
}

.allergen-item:hover {
  border-color: var(--border);
  background: #fff;
}

.allergen-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.allergen-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--trans);
}

.allergen-check {
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(.5);
  transition: all .2s ease;
}

/* État coché */
.allergen-checkbox:checked~.allergen-box {
  background: var(--primary);
  border-color: var(--primary);
}

.allergen-checkbox:checked~.allergen-box .allergen-check {
  opacity: 1;
  transform: scale(1);
}

.allergen-item:has(.allergen-checkbox:checked) {
  border-color: var(--primary);
  background: #f0f0f8;
}

.allergen-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

/* Résumé sélection */
.allergens-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8f0;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

.allergens-summary .material-icons {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Note bas de section */
.allergens-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.allergens-note .material-icons {
  font-size: 16px;
  color: var(--text-light);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1199px) {
  .complements-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .complements-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cart-complements,
  .cart-allergens {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .cart-extras-wrapper {
    margin-top: 32px;
    gap: 20px;
  }

  .complements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cart-complements,
  .cart-allergens {
    padding: 18px;
  }

  .cart-section-title {
    font-size: 17px;
  }

  .allergens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .allergen-item {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .complements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .allergens-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* --- COMPTEUR DE QUANTITÉ DESIGN : [-] NOMBRE [+] --- */

/* Conteneur principal */
.qty .bootstrap-touchspin {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #343751 !important;
  /* Couleur sombre de ta capture */
  border-radius: 8px;
  padding: 0;
  width: 120px !important;
  /* Un peu plus large pour l'équilibre */
  height: 38px;
  border: 1px solid #444868;
  overflow: hidden;
}

/* On force la réorganisation des éléments */
.qty .input-group-btn-vertical {
  display: contents !important;
  /* Permet de manipuler les boutons individuellement */
}

/* Bouton Moins (Down) - Placé à gauche */
.qty .btn-touchspin.bootstrap-touchspin-down {
  order: 1 !important;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  width: 35px !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Le Chiffre - Placé au milieu */
.qty .js-cart-line-product-quantity.form-control {
  order: 2 !important;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  width: 45px !important;
  height: 100% !important;
  text-align: center !important;
  font-weight: 600;
  font-size: 15px;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Bouton Plus (Up) - Placé à droite */
.qty .btn-touchspin.bootstrap-touchspin-up {
  order: 3 !important;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  width: 35px !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Remplacement des icônes par des symboles propres */
.qty .btn-touchspin.bootstrap-touchspin-down::before {
  content: "—";
  font-size: 12px;
}

.qty .btn-touchspin.bootstrap-touchspin-up::before {
  content: "+";
  font-size: 18px;
}

/* On cache les icônes d'origine de PrestaShop */
.qty .btn-touchspin i {
  display: none !important;
}

/* Supprimer les flèches par défaut du navigateur */
.qty input[type=number]::-webkit-inner-spin-button,
.qty input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ============================================
   PANIER — Pizze & Cook
   Primary: var(--primary-color)
   Scoped: .page-cart
   ============================================ */

/* === CART ITEM CARD === */
.page-cart .cart-item {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin-bottom: 14px !important;
  box-shadow:
    0 2px 12px rgba(26, 16, 8, 0.07),
    0 0 0 1px rgba(255, 50, 0, 0.07) !important;
  border: none !important;
  transition: box-shadow 0.3s ease !important;
  list-style: none !important;
}

.page-cart .cart-item:hover {
  box-shadow:
    0 6px 24px rgba(26, 16, 8, 0.11),
    0 0 0 1.5px rgba(255, 50, 0, 0.18) !important;
}

/* === IMAGE === */
.page-cart .product-line-grid-left .product-image img {
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
}

/* === NOM DU PRODUIT === */
.page-cart .product-line-info .label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1008 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  display: block;
}

.page-cart .product-line-info .label:hover {
  color: var(--primary-color) !important;
}

/* === PRIX UNITAIRE === */
.page-cart .product-line-info.product-price .price {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* === ATTRIBUTS — pilules avec fond coloré === */
.page-cart .product-line-info[class*="frite"],
.page-cart .product-line-info[class*="bacon"],
.page-cart .product-line-info[class*="oignons"],
.page-cart .product-line-info[class*="boissons"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #fff8f5 !important;
  border: 1px solid rgba(255, 50, 0, 0.15) !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #6b4535 !important;
  margin: 3px 3px 0 0;
}

/* Label en rouge, value sans fond (fond porté par le parent) */
.page-cart .product-line-info .label:not(a) {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  display: inline !important;
}

.page-cart .product-line-info .value {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: #6b4535 !important;
}

/* === PRIX TOTAL LIGNE === */
.page-cart .product-line-actions .product-price strong {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #1a1008 !important;
}

/* =============================================
   SÉLECTEUR DE QUANTITÉ
   Ordre : [ − ] [ valeur ] [ + ]
   ============================================= */


.ams-cart-options {
  display: none;
}



.page-cart .btn-touchspin .material-icons.touchspin-up::before {
  content: '+' !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--primary-color) !important;
}

.page-cart .btn-touchspin .material-icons.touchspin-down::before {
  content: '−' !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--primary-color) !important;
}

.page-cart .btn-touchspin:hover .material-icons.touchspin-up::before,
.page-cart .btn-touchspin:hover .material-icons.touchspin-down::before {
  color: #ffffff !important;
}

/* Bouton − désactivé quand qty = 1 */
.page-cart .btn-touchspin.disabled,
.page-cart .btn-touchspin[disabled] {
  opacity: 0.35 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Cacher add-ons inutiles */
.page-cart .bootstrap-touchspin-prefix,
.page-cart .bootstrap-touchspin-postfix {
  display: none !important;
}

/* === BOUTON SUPPRIMER === */
.page-cart .remove-from-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  background: #fff5f3 !important;
  color: var(--primary-color) !important;
  border: 1px solid rgba(255, 50, 0, 0.15) !important;
  text-decoration: none !important;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s !important;
}

.page-cart .remove-from-cart:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  transform: scale(1.1) rotate(5deg) !important;
}

.page-cart .remove-from-cart .material-icons {
  font-size: 17px !important;
}

@media (min-width:788px) {
  .product-line-info {
    width: 180%;
  }
}

.product-line-info:nth-of-type(3) {
  margin-top: 15% !important;
}

a.remove-from-cart {}

/* ================================================================
   QUOTA ARTICLES OFFERTS — Popup
   ================================================================ */
.fq-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(3px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fq-fade-in .18s ease;
}

@keyframes fq-fade-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.fq-box {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  position: relative;
  animation: fq-slide-up .2s ease;
}

@keyframes fq-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.fq-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f0f0f0;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.fq-close:hover {
  background: #e0e0e0;
}

.fq-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 12px;
}

.fq-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.fq-msg {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

.fq-msg strong {
  color: var(--primary, #d35400);
}

.fq-progress-wrap {
  height: 8px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}

.fq-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f1a063, var(--accent, #f19d76));
  border-radius: 8px;
  transition: width .4s ease;
}

.fq-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
}

.fq-cta {
  background: var(--primary, #d35400);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 11px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
  letter-spacing: .3px;
}

.fq-cta:hover {
  background: #b84800;
  transform: translateY(-1px);
}

/* ================================================================
   QUOTA ARTICLES OFFERTS — Barre dans la section compléments
   ================================================================ */
.free-quota-bar {
  border-radius: 12px;
  padding: 14px 18px 10px;
  margin-bottom: 16px;
  border: 2px solid;
  font-size: 13.5px;
  transition: all .3s;
}

.free-quota-bar.fqb-ok {
  background: #f0fef4;
  border-color: #27ae60;
}

.free-quota-bar.fqb-full {
  background: #fff8f3;
  border-color: var(--accent, #f19d76);
}

.free-quota-bar.fqb-empty {
  background: #f9f9f9;
  border-color: #ddd;
}

.fqb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.fqb-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.fqb-text {
  flex: 1;
  color: #333;
  line-height: 1.4;
}

.fqb-text strong {
  color: #27ae60;
}

.fqb-full .fqb-text strong {
  color: var(--primary, #d35400);
}

.fqb-counter {
  font-weight: 800;
  font-size: 13px;
  background: rgba(0, 0, 0, .07);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.fqb-track {
  height: 6px;
  background: rgba(0, 0, 0, .08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 5px;
}

.fqb-fill {
  height: 100%;
  background: linear-gradient(90deg, #27ae60, #2ecc71);
  border-radius: 6px;
  transition: width .4s ease;
}

.fqb-full .fqb-fill {
  background: linear-gradient(90deg, #f1a063, var(--accent, #f19d76));
}

.fqb-caption {
  font-size: 11px;
  color: #999;
  text-align: right;
}

/* ================================================================
   CARTE BLOQUÉE (quota atteint, produit non encore dans le panier)
   ================================================================ */
.complement-card.is-quota-blocked {
  opacity: .5;
  filter: grayscale(.8);
  cursor: default;
}

.complement-card.is-quota-blocked .complement-add-btn {
  background: #bbb;
  cursor: not-allowed;
  pointer-events: none;
}

.complement-card.is-quota-blocked .complement-qty-btn,
.complement-card.is-quota-blocked .complement-qty-val {
  pointer-events: none;
}

/* Cadenas */
.complement-card.is-quota-blocked::before {
  content: '🔒';
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 16px;
  filter: none;
  /* le cadenas reste visible même avec grayscale */
  z-index: 2;
}

/* Bloquer le survol */
.complement-card.is-quota-blocked:hover {
  border-color: transparent;
  background: var(--bg-soft);
  box-shadow: none;
  transform: none;
}

.complement-card.is-quota-blocked:hover .complement-card-img-wrap img {
  transform: none;
}

/* ================================================================
   CARTE GRATUITE ACCESSIBLE (quota disponible)
   ================================================================ */
.complement-card.is-free-card:not(.is-quota-blocked) {
  border-color: #27ae60;
  background: #f0fef4;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, .12);
}

.complement-card.is-free-card:not(.is-quota-blocked):hover {
  border-color: #20c464;
  background: #e6fdf0;
  box-shadow: 0 6px 18px rgba(39, 174, 96, .25);
  transform: translateY(-3px);
}

.complement-card.is-free-card:not(.is-quota-blocked) .complement-add-btn {
  background: #27ae60;
}

.complement-card.is-free-card:not(.is-quota-blocked) .complement-add-btn:hover {
  background: #1e9450;
}

/* ================================================================
   LABEL "OFFERT" sur la carte
   ================================================================ */
.complement-free-label {
  display: inline-block;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: .4px;
  text-transform: uppercase;
}


.card-block.cart-detailed-subtotals.js-cart-detailed-subtotals #cart-subtotal-shipping {
  display: none !important;

}

.card-block.cart-summary-subtotals-container.js-cart-summary-subtotals-container #cart-subtotal-shipping {
  display: none !important;
}