/* Carte cadeau On range tout : charte ORT (rouge #E5322C, gris #58585A, gris clair #F5F5F5) */
.itrcc-page .product__prices,
.itrcc-page .product-prices,
.itrcc-page .js-product-prices,
.itrcc-page .product__variants,
.itrcc-page .product-variants,
.itrcc-page .product__quantity,
.itrcc-page .product-actions__quantity,
.itrcc-page #product-availability,
.itrcc-page .product__customization,
.itrcc-page .product-customization,
.itrcc-page .product__discounts {
  display: none !important;
}
.itrcc-page .product__actions-qty-add { justify-content: stretch; }
.itrcc-page .product__add-to-cart { flex: 1 1 auto; }
.itrcc-page .product__add-to-cart-button { width: 100%; }

/* Aperçu de la carte à la place des photos */
.itrcc-gauche > :not(.itrcc-apercu) { display: none !important; }
.itrcc-apercu { padding: 24px 0; }
.itrcc-apercu__note { margin: 14px 0 0; text-align: center; font-size: 13px; color: #58585A; }
/* Visuel de la carte cadeau d'origine (pois rouges + logo rond) */
.itrcc-carte {
  position: relative;
  max-width: 460px;
  aspect-ratio: 641 / 402;
  margin: 0 auto;
  border-radius: 18px;
  background: #fff url(../img/carte-recto-site.png) center / 100% 100% no-repeat;
  box-shadow: 0 18px 40px rgba(88, 88, 90, .25);
  overflow: hidden;
}
.itrcc-carte__montant {
  position: absolute; left: 14px; bottom: 14px;
  padding: 4px 14px; border-radius: 999px; background: #E5322C; color: #fff;
  font-size: clamp(22px, 5vw, 30px); font-weight: 800; line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.itrcc-carte__pour:empty { display: none; }
.itrcc-carte__pour {
  position: absolute; right: 14px; bottom: 16px; max-width: 45%;
  padding: 4px 12px; border-radius: 999px; background: #fff; color: #58585A;
  font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* Bloc de choix */
.itrcc { margin: 8px 0 18px; color: #58585A; }
.itrcc__etape { margin-bottom: 20px; }
.itrcc__titre { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; }
.itrcc__titre span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #E5322C; color: #fff; font-size: 14px; }
.itrcc__titre em { font-style: normal; font-weight: 400; text-transform: none; font-size: 14px; }
.itrcc__formats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.itrcc__format {
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  padding: 12px 14px; border: 2px solid #ddd; border-radius: 6px; background: #fff; color: #58585A; cursor: pointer;
}
.itrcc__format strong { font-size: 15px; }
.itrcc__format span { font-size: 13px; line-height: 1.3; }
.itrcc__montants { display: flex; flex-wrap: wrap; gap: 8px; }
.itrcc__montant {
  min-width: 72px; padding: 10px 14px; border: 2px solid #ddd; border-radius: 6px; background: #fff;
  color: #58585A; font-weight: 700; font-size: 16px; cursor: pointer;
}
.itrcc__montant--autre { font-weight: 600; font-size: 15px; }
.itrcc__format:hover, .itrcc__montant:hover { border-color: #E5322C; }
.itrcc__format.is-active, .itrcc__montant.is-active { border-color: #E5322C; background: #fdeceb; color: #E5322C; }
.itrcc__format.is-active span { color: #58585A; }
.itrcc__format:focus-visible, .itrcc__montant:focus-visible { outline: 3px solid rgba(229, 50, 44, .35); outline-offset: 2px; }
.itrcc__autre { margin-top: 12px; }
.itrcc__autre label, .itrcc__champ label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.itrcc__autre-champ { display: inline-flex; align-items: center; gap: 8px; }
.itrcc__autre-champ { display: flex; width: 100%; max-width: 320px; }
.itrcc .itrcc__autre-champ input[type="number"] { flex: 1 1 auto; width: auto; min-width: 0; font-size: 17px; padding: 11px 14px; }
.itrcc__invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.itrcc__autre-champ span { font-weight: 700; font-size: 18px; }
.itrcc input[type="text"], .itrcc input[type="email"], .itrcc input[type="date"], .itrcc input[type="number"], .itrcc textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; color: #58585A; background: #fff;
}
.itrcc input:focus, .itrcc textarea:focus { border-color: #E5322C; outline: none; box-shadow: 0 0 0 3px rgba(229, 50, 44, .15); }
.itrcc__champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.itrcc__champ--large { grid-column: 1 / -1; }
.itrcc__champ[hidden], .itrcc__autre[hidden], .itrcc__aide[hidden], .itrcc__erreur[hidden], .itrcc__ok[hidden] { display: none !important; }
.itrcc__compteur { display: block; text-align: right; font-size: 12px; }
.itrcc__aide { margin: 10px 0 0; font-size: 13px; }
.itrcc__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid #e5e5e5; }
.itrcc__total span { font-weight: 600; }
.itrcc__total strong { font-size: 28px; color: #E5322C; }
.itrcc__erreur { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid #E5322C; background: #fdeceb; font-weight: 600; }
.itrcc__ok { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid #2e7d32; background: #edf7ee; font-weight: 600; }
.itrcc__infos { margin: 0 0 6px; padding-left: 18px; font-size: 13px; }

@media (max-width: 575px) {
  .itrcc__formats, .itrcc__champs { grid-template-columns: 1fr; }
  .itrcc__montant { flex: 1 1 calc(33% - 8px); min-width: 0; }
  .itrcc-carte { border-radius: 14px; }
}

/* Livraison de l'e-carte (remplace les délais transporteurs) */
.itrcc-livraison { margin: 12px 0; padding: 14px 16px; border: 1px solid #e2e2e2; color: #58585A; }
.itrcc-livraison[hidden] { display: none !important; }
.itrcc-livraison__titre { font-size: 15px; margin-bottom: 10px; }
.itrcc-livraison__ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.itrcc-livraison__ligne strong { color: #333; }
