/* ============ Cart-specific Coffret blocks ============ */

/* Spot #1 — Top-of-cart attached banner (full width, orange outline) */
.gift-coffret-cart-banner {
  border: 2px solid #e07a2c;
  border-radius: 10px;
  background: #fff7ef;
  margin: 18px 0 24px;
  position: relative;
  padding: 18px 18px 16px;
}
.gift-coffret-cart-banner__pill {
  position: absolute;
  top: -14px;
  left: 16px;
  background: linear-gradient(90deg, #e07a2c, #c95a18);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gift-coffret-cart-banner__body {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}
.gift-coffret-cart-banner__icon {
  flex: 0 0 90px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-coffret-cart-banner__icon svg {
  width: 90px;
  height: 80px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}
.gift-coffret-cart-banner__icon-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.gift-coffret-cart-banner__text { flex: 1 1 auto; min-width: 0; }
.gift-coffret-cart-banner__headline {
  margin: 0 0 4px;
  font-size: 16px;
  color: #2b2b2b;
  font-weight: 500;
  line-height: 1.35;
}
.gift-coffret-cart-banner__headline strong { color: #c95a18; font-weight: 700; }
.gift-coffret-cart-banner__sub {
  margin: 0;
  font-size: 13px;
  color: #6a4a2a;
  line-height: 1.4;
}
.gift-coffret-cart-banner__sub strong { color: #c95a18; }
.gift-coffret-cart-banner__price {
  flex: 0 0 100px;
  text-align: center;
  border-left: 1px dashed #f3b27a;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.gift-coffret-cart-banner__price-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #8a7960;
  font-weight: 600;
}
.gift-coffret-cart-banner__price-amount {
  font-size: 28px;
  font-weight: 800;
  color: #c95a18;
  line-height: 1;
}
.gift-coffret-cart-banner__price-offered {
  display: inline-block;
  background: #fcdfcb;
  color: #c95a18;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 4px;
  margin-top: 2px;
}
@media (max-width: 700px) {
  .gift-coffret-cart-banner__body { flex-wrap: wrap; gap: 10px; }
  .gift-coffret-cart-banner__price { border-left: 0; border-top: 1px dashed #f3b27a; padding: 8px 0 0; flex-basis: 100%; flex-direction: row; gap: 10px; justify-content: flex-start; }
  .gift-coffret-cart-banner__price-amount { font-size: 22px; }
}

/* Spot #2 — Coffret line (sibling of .cart-table, not a <tr>) */
.cart-coffret-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #fff7ef;
  border: 1px solid #f0e3d0;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
}
.cart-coffret-line__icon-wrap {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-coffret-line__icon {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.cart-coffret-line__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-coffret-line__title {
  font-weight: 700;
  font-size: 14px;
  color: #2b2b2b;
  line-height: 1.2;
}
.cart-coffret-line__sub {
  font-size: 12px;
  color: #b08465;
  font-weight: 400;
  line-height: 1.3;
}
.cart-coffret-line__price {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.cart-coffret-line__price .original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}
.cart-coffret-line__offered {
  color: #c95a18;
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
}
.cart-coffret-line__qty {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6a4a2a;
  font-weight: 600;
  font-size: 14px;
}
.cart-coffret-line__qty .fa-lock { color: #b08465; font-size: 11px; }
.cart-coffret-line__subtotal {
  flex: 0 0 auto;
  background: #e07a2c;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Spot #3 — Coupon-style -299 row in totals */
.total-line.cart-coffret-coupon {
  border: 1px solid #f3b27a;
  border-radius: 6px;
  background: #fff7ef;
  padding: 6px 10px;
  margin: 4px 0;
}
.cart-coffret-coupon__label {
  color: #c95a18;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-coffret-coupon__icon { font-size: 14px; }
.cart-coffret-coupon__amount { color: #c95a18 !important; font-weight: 700; }

/* Vous économisez (only present when gift active) */
.total-line.cart-coffret-savings {
  border-top: 1px dashed #d4c5ad;
  padding-top: 8px;
  font-size: 13px;
  color: #2ea84a;
}
.total-line.cart-coffret-savings .amount { color: #2ea84a; font-weight: 700; }

/* Spot #4 — Reservation pill above CTA */
.cart-coffret-reservation {
  border: 1px solid #e07a2c;
  border-radius: 8px;
  background: #fff7ef;
  padding: 8px 12px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #c95a18;
  font-weight: 600;
  font-size: 13px;
}
.cart-coffret-reservation__icon { font-size: 14px; }
.cart-coffret-reservation__timer { font-weight: 800; font-size: 14px; }
.cart-coffret-reservation--expired { opacity: 0.5; }

/* Spot #5 — Delivery note below CTA */
.cart-coffret-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: #8a7960;
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
}
.cart-coffret-note span { color: #c95a18; margin-right: 4px; }

/* ============ Mobile tweaks (≤ 700px) ============ */
@media (max-width: 700px) {
  /* Top banner: stack icon/text vertically, full-width price strip at bottom */
  .gift-coffret-cart-banner { padding: 18px 14px 14px; margin: 22px 0 18px; }
  .gift-coffret-cart-banner__pill {
    font-size: 11px;
    padding: 4px 12px;
    left: 12px;
    white-space: nowrap;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gift-coffret-cart-banner__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .gift-coffret-cart-banner__icon { flex: 0 0 auto; height: 60px; align-self: center; }
  .gift-coffret-cart-banner__icon svg { width: 70px; height: 60px; }
  .gift-coffret-cart-banner__icon-label { font-size: 15px; }
  .gift-coffret-cart-banner__headline { font-size: 14px; line-height: 1.3; }
  .gift-coffret-cart-banner__sub { font-size: 12px; }
  .gift-coffret-cart-banner__price {
    flex: 1 1 100%;
    border-left: 0;
    border-top: 1px dashed #f3b27a;
    padding: 8px 0 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }
  .gift-coffret-cart-banner__price-amount { font-size: 22px; }
  .gift-coffret-cart-banner__price-offered { margin-top: 0; }

  /* Coffret line on mobile — tighter padding + wrap right cells */
  .cart-coffret-line {
    gap: 10px;
    padding: 10px 12px;
    flex-wrap: wrap;
  }
  .cart-coffret-line__icon-wrap { flex: 0 0 40px; }
  .cart-coffret-line__icon { width: 40px; height: 36px; }
  .cart-coffret-line__title { font-size: 13px; }
  .cart-coffret-line__sub { font-size: 11px; }
  .cart-coffret-line__price { flex: 0 0 auto; }
  .cart-coffret-line__price .original-price { font-size: 11px; }
  .cart-coffret-line__offered { font-size: 10px; }
  .cart-coffret-line__qty { font-size: 12px; }
  .cart-coffret-line__subtotal { font-size: 10px; padding: 3px 6px; }

  /* Reservation pill on mobile */
  .cart-coffret-reservation { font-size: 12px; padding: 7px 10px; }
  .cart-coffret-reservation__timer { font-size: 13px; }

  /* Note on mobile */
  .cart-coffret-note { font-size: 10px; }
}
