body {
  background: radial-gradient(
    circle at top,
    #f7f2e6 0%,
    #ece5d6 55%,
    #e3dac7 100%
  );
}

  /* ================= PANIER GLOBAL ================= */

.panier-container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
  color: #3a342a;
}

.cart {
  background: linear-gradient(
    180deg,
    rgba(248,244,235,0.98),
    rgba(236,230,218,0.98)
  );
  border: 1px solid rgba(180,150,80,0.35);
  border-radius: 18px;
  padding: 2rem;
  box-shadow:
    0 12px 28px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.cart__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(160,130,70,0.25);
  padding-bottom: 0.8rem;
}

.cart__header h2 {
  font-size: 1.4rem;
  color: #6b5422;
  letter-spacing: 0.05em;
}

.cart__count {
  font-size: 0.9rem;
  color: #8b7745;
  opacity: 0.85;
}


/* ================= LIGNE PRODUIT ================= */

.cart-item {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(160,130,70,0.25);
}

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

.cart-item__infos {
  display: flex;
  flex-direction: column;
}

.cart-item__title {
  font-weight: 600;
  color: #3a342a;
}

.cart-item__ref {
  font-size: 0.75em;
  color: #8b7745;
}

.cart-item__remove {
  color: #b28b42;
  font-size: 1.2em;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.cart-item__remove:hover {
  opacity: 1;
  color: #e2b96b;
  transform: scale(1.1);
}

.cart-item__price,
.cart-item__total {
  color: #5a4a2a;
  font-weight: 600;
}

.cart-item__quantity input {
  background: #ffffff;
  border: 1px solid rgba(160,130,70,0.35);
  color: #2f2a20;
}

.cart-item__quantity input:focus {
  outline: none;
  border-color: #caa35c;
  box-shadow: 0 0 0 2px rgba(202,163,92,0.25);
}


/* ================= RÉCAP PANIER ================= */

.cart-summary {
  margin-top: 1.8rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(180,150,80,0.35);
  border-radius: 14px;
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #5a4a2a;
  border-top: 1px solid rgba(160,130,70,0.25);
  padding-top: 1rem;
}

.cart-summary__actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.btn {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-outline {
  border: 1px solid rgba(160,130,70,0.5);
  color: #6b5422;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(202,163,92,0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #f5d88c, #caa35c);
  color: #2b1f0d;
}

.btn-primary:hover {
  box-shadow: 0 0 18px rgba(255,215,160,0.6);
}


.cart-empty {
  text-align: center;
  padding: 3rem;
  color: #8b7745;
  font-style: italic;
}

.cart-item__ref {
  font-size: 0.75em;
  opacity: 0.6;
}

.cart-item__quantity input {
  width: 64px;
  padding: 0.3rem;
  text-align: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,215,160,0.35);
  color: #f5e6c8;
  border-radius: 6px;
}

.cart-item__price,
.cart-item__total {
  color: #C69836;
  font-weight: 500;
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cart-summary__actions {
    flex-direction: column;
  }
}

/* ================= HEADER PANIER ================= */

.modern-header {
  padding: 1.2rem 1rem 0.8rem;
  min-height: auto;
}

.modern-header .header-wing {
  width: 60px;
  margin-bottom: 0.3rem;
}

.header-title {
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: 0.08em;
}

.header-sous-titre {
  font-size: 0.95rem;
  margin-top: 0.2rem;
  opacity: 0.75;
}

/* ================= BARRE D'ÉTAPES COMMANDE ================= */

.checkout-steps {
  max-width: 900px;
  margin: 1.5rem auto 2.2rem;
  padding: 0 1rem;
}

.checkout-steps ol {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Ligne horizontale */
.checkout-steps ol::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255,215,160,0.25),
    rgba(180,180,180,0.35)
  );
}

/* Étape */
.step {
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 1;
}

/* Cercle */
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;

  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,215,160,0.35);
  color: #b9a678;

  transition: all 0.25s ease;
}

/* Texte */
.step-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #bfae7c;
  letter-spacing: 0.05em;
}

/* Étape terminée */
.step.done .step-index {
  background: linear-gradient(135deg, #f5d88c, #caa35c);
  color: #2b1f0d;
  border-color: rgba(255,215,160,0.65);
  box-shadow: 0 0 14px rgba(255,215,160,0.55);
}

.step.done .step-label {
  color: #e6d2a2;
}

/* Étape active */
.step.active .step-index {
  background: linear-gradient(
    180deg,
    rgba(255,215,160,0.25),
    rgba(0,0,0,0.85)
  );
  border-color: #ffd27d;
  color: #f5e6c8;
  box-shadow: 0 0 18px rgba(255,215,160,0.4);
}

.step.active .step-label {
  color: #f5e6c8;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .checkout-steps ol::before {
    top: 16px;
  }

  .step-label {
    font-size: 0.75rem;
  }
}

.step.active .step-index {
  animation: pulseGold 2.5s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 12px rgba(255,215,160,0.35); }
  50% { box-shadow: 0 0 22px rgba(255,215,160,0.65); }
}