/* Ecig Design Hub 1.1.87 — refonte visuelle stable du checkout "Annonce Urgente".
   Important : aucune structure HTML n'est créée/supprimée. Le JS ne fait qu'ajouter des classes
   aux éléments déjà générés par le checkout afin de préserver tous les handlers de paiement. */

body.ecig-urgent-checkout-refresh {
  --ecig-u-ink: #302039;
  --ecig-u-muted: #756d7d;
  --ecig-u-line: #ebe4f0;
  --ecig-u-soft: #fbf9fd;
  --ecig-u-purple: #7b2ddb;
  --ecig-u-pink: #d63694;
  --ecig-u-green: #20b764;
}

body.ecig-urgent-checkout-refresh .ecig-urgent-success-card,
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-card,
body.ecig-urgent-checkout-refresh .ecig-urgent-payment-options,
body.ecig-urgent-checkout-refresh .ecig-urgent-section-heading,
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-card,
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-pay-button {
  box-sizing: border-box !important;
}

/* Confirmation : beaucoup plus compacte que l'ancien grand panneau vert. */
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card {
  width: min(760px, calc(100% - 28px)) !important;
  margin: 18px auto 22px !important;
  padding: 20px 22px !important;
  border: 1px solid rgba(31, 183, 100, .24) !important;
  border-top: 4px solid var(--ecig-u-green) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffc 100%) !important;
  box-shadow: 0 12px 32px rgba(41, 89, 59, .07) !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h1,
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h2,
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h3,
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h4,
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card strong {
  color: #174d2e !important;
  font-size: clamp(21px, 4.8vw, 29px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card p,
body.ecig-urgent-checkout-refresh .ecig-urgent-success-card div {
  line-height: 1.45 !important;
}

/* Récapitulatif du produit et du total. */
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-card {
  width: min(760px, calc(100% - 28px)) !important;
  margin: 0 auto 30px !important;
  padding: 0 !important;
  border: 1px solid var(--ecig-u-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(68, 39, 84, .055) !important;
  overflow: hidden !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #f0ebf3 !important;
  background: #fff !important;
  color: var(--ecig-u-ink) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-row:last-child {
  border-bottom: 0 !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-row * {
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-product {
  font-weight: 700 !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-summary-total {
  background: #fcfaff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

/* Titres de section. */
body.ecig-urgent-checkout-refresh .ecig-urgent-section-heading {
  position: relative !important;
  width: min(760px, calc(100% - 28px)) !important;
  margin: 30px auto 18px !important;
  padding: 0 0 13px !important;
  color: var(--ecig-u-ink) !important;
  font-size: clamp(24px, 5.8vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-section-heading::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #862ee8 0%, #bd32c8 52%, #fb536d 100%) !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-form-heading {
  margin-top: 34px !important;
}

/* Le bandeau "Publier une annonce" est déjà présent plus haut dans le parcours : on évite le doublon. */
body.ecig-urgent-checkout-refresh .ecig-urgent-duplicate-publish-hero {
  display: none !important;
}

/* Choix du moyen de paiement. */
body.ecig-urgent-checkout-refresh .ecig-urgent-payment-options {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: min(760px, calc(100% - 28px)) !important;
  margin: 0 auto 30px !important;
  padding: 0 !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-pay-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 70px !important;
  margin: 0 !important;
  padding: 14px 14px !important;
  border: 1px solid var(--ecig-u-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #433a48 !important;
  box-shadow: 0 7px 20px rgba(66, 38, 83, .05) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-pay-option.ecig-urgent-pay-selected {
  border-color: transparent !important;
  background: linear-gradient(110deg, #8d2ee5 0%, #be32c6 50%, #f65370 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(168, 48, 200, .18) !important;
}
/* L'option Ecig+ contient déjà sa coche : pas de pseudo-coche supplémentaire. */
body.ecig-urgent-checkout-refresh .ecig-urgent-pay-option.ecig-urgent-pay-selected::before,
body.ecig-urgent-checkout-refresh .ecig-urgent-pay-option.ecig-urgent-pay-selected::after {
  content: none !important;
  display: none !important;
}

/* Carte Ecig+. */
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-card {
  width: min(760px, calc(100% - 28px)) !important;
  max-width: 760px !important;
  margin: 0 auto 14px !important;
  padding: 24px !important;
  border: 1px solid var(--ecig-u-line) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, #fff 0%, #fdfaff 66%, #fff8fb 100%) !important;
  box-shadow: 0 16px 42px rgba(71, 35, 95, .075) !important;
  overflow: hidden !important;
}

/* On reprend l'entête existant sans injecter de nouveau DOM. */
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-head {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 76px !important;
  margin: 0 0 18px !important;
  padding: 2px 126px 18px 82px !important;
  border-bottom: 1px solid #efe9f3 !important;
  box-sizing: border-box !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-head-copy-path {
  position: static !important;
  display: block !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  transform: none !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-icon {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #7430d8 0%, #c92d9f 100%) !important;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(124, 43, 186, .18) !important;
  font-size: 23px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center !important;
  z-index: 2 !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-title {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ecig-u-ink) !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-desc {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  color: var(--ecig-u-muted) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-recommended {
  position: absolute !important;
  top: 2px !important;
  right: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 118px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: 1px solid #eadcf6 !important;
  border-radius: 999px !important;
  background: #fbf7ff !important;
  color: #8842c9 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
  z-index: 2 !important;
}

/* Montant débité. */
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-debit {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 16px !important;
  padding: 18px 16px !important;
  border: 1px solid #e9e2ee !important;
  border-radius: 18px !important;
  background: #faf8fd !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-debit-label {
  display: block !important;
  margin: 0 0 7px !important;
  color: #7e7383 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-debit-amount {
  display: block !important;
  margin: 0 !important;
  color: #5e2dc7 !important;
  font-size: clamp(34px, 8vw, 46px) !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
}

/* Solde avant/après. */
body.ecig-urgent-checkout-refresh .ecig-urgent-balance-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 16px !important;
  border: 1px solid #e9e2ef !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-balance-card > * {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-balance-label {
  color: #756a7c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-balance-status {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid #f0ebf3 !important;
  color: #6b6270 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

/* Avantages en grille propre. */
body.ecig-urgent-checkout-refresh .ecig-urgent-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-feature {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 13px 10px !important;
  border: 1px solid #eee8f2 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #4d4251 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-feature * {
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-note {
  display: block !important;
  margin: 14px 0 0 !important;
  color: #817788 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

/* Bouton final. */
body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-pay-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(760px, calc(100% - 28px)) !important;
  min-height: 60px !important;
  margin: 12px auto 30px !important;
  padding: 16px 22px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(105deg, #6633db 0%, #912fc0 52%, #ca378e 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(113, 42, 175, .18) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  body.ecig-urgent-checkout-refresh .ecig-urgent-success-card {
    width: calc(100% - 24px) !important;
    margin: 14px auto 18px !important;
    padding: 17px 16px !important;
    border-radius: 18px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h1,
  body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h2,
  body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h3,
  body.ecig-urgent-checkout-refresh .ecig-urgent-success-card h4,
  body.ecig-urgent-checkout-refresh .ecig-urgent-success-card strong {
    font-size: 21px !important;
  }

  body.ecig-urgent-checkout-refresh .ecig-urgent-summary-card {
    width: calc(100% - 24px) !important;
    margin-bottom: 24px !important;
    border-radius: 18px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-summary-row {
    min-height: 58px !important;
    padding: 13px 15px !important;
    font-size: 15px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-summary-total {
    font-size: 17px !important;
  }

  body.ecig-urgent-checkout-refresh .ecig-urgent-section-heading {
    width: calc(100% - 24px) !important;
    margin-top: 26px !important;
    margin-bottom: 15px !important;
    padding-bottom: 11px !important;
    font-size: 24px !important;
  }

  body.ecig-urgent-checkout-refresh .ecig-urgent-payment-options {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: calc(100% - 24px) !important;
    margin-bottom: 24px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-pay-option {
    min-height: 58px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    font-size: 15.5px !important;
  }

  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-card {
    width: calc(100% - 24px) !important;
    margin: 0 auto 12px !important;
    padding: 18px 15px 16px !important;
    border-radius: 20px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-head {
    min-height: 68px !important;
    margin-bottom: 15px !important;
    padding: 1px 0 14px 70px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    font-size: 20px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-title {
    font-size: 23px !important;
    line-height: 1.08 !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-desc {
    margin-top: 5px !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
  }
  /* Sur mobile le badge créait l'écrasement du titre : le choix Ecig+ est déjà visuellement mis en avant. */
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-recommended {
    display: none !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-debit {
    margin-bottom: 13px !important;
    padding: 15px 12px !important;
    border-radius: 16px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-debit-amount {
    font-size: 36px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-balance-card {
    gap: 9px !important;
    margin-bottom: 13px !important;
    padding: 13px 12px !important;
    border-radius: 16px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-feature-grid {
    gap: 8px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-feature {
    padding: 11px 7px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-note {
    margin-top: 12px !important;
    font-size: 11.5px !important;
  }
  body.ecig-urgent-checkout-refresh .ecig-urgent-ecig-pay-button {
    width: calc(100% - 24px) !important;
    min-height: 56px !important;
    margin: 10px auto 24px !important;
    padding: 14px 18px !important;
    border-radius: 16px !important;
    font-size: 16.5px !important;
  }
}

/* v1.1.88 — pendant le micro-paiement, le bandeau de publication n’a plus lieu d’être. */
body.ecig-urgent-checkout-refresh .eoc-publish-manage-hero {
  display: none !important;
}
