/* P'tiTemps — Page d'options après l'ajout du Pack. */
.upsell-page { background: var(--cream); }
.upsell-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); }
.upsell-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.secure-path { margin: 0; color: var(--green-dark); font-size: .82rem; font-weight: 800; }
.secure-path span { margin-right: 6px; color: var(--green); }

.upsell-intro { padding: 35px 0 48px; }
.checkout-progress { max-width: 620px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto 32px; padding: 0; list-style: none; }
.checkout-progress li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; color: #82908c; font-size: .78rem; font-weight: 800; text-align: center; }
.checkout-progress li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 16px; left: calc(50% + 25px); width: calc(100% - 50px); height: 2px; background: #d6dfdc; }
.checkout-progress span { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid #d6dfdc; border-radius: 50%; background: var(--cream); }
.checkout-progress strong { position: relative; z-index: 1; line-height: 1.2; }
.checkout-progress .is-done, .checkout-progress .is-current { color: var(--green-dark); }
.checkout-progress .is-done span { border-color: var(--green); color: white; background: var(--green); }
.checkout-progress .is-done::after { background: var(--green); }
.checkout-progress .is-current span { border-color: var(--green); background: white; }

.pack-confirmation { display: grid; grid-template-columns: 105px 1fr auto; gap: 24px; align-items: center; padding: 22px 28px; border: 1px solid #cfe5df; border-left: 7px solid var(--green-dark); border-radius: 22px; background: var(--green-soft); box-shadow: 0 12px 28px rgba(23, 100, 85, .06); }
.pack-confirmation img { width: 105px; height: 85px; border-radius: 13px; object-fit: cover; }
.confirmation-label { margin-bottom: .25rem; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pack-confirmation h1 { margin-bottom: .35rem; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -.025em; }
.pack-confirmation p:last-child { margin-bottom: 0; }
.confirmed-price { min-width: 130px; padding-left: 22px; border-left: 1px solid #c2ddd6; text-align: right; }
.confirmed-price span, .confirmed-price strong { display: block; }
.confirmed-price span { font-size: .75rem; }
.confirmed-price strong { color: var(--ink); font-size: 1.55rem; }
.intro-heading { max-width: 760px; margin: 55px auto 0; text-align: center; }
.intro-heading h2 { margin-bottom: .75rem; }
.intro-heading p:last-child { max-width: 650px; margin-inline: auto; }

.options-section { padding-bottom: 75px; }
.screen-reader-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.upsell-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .72fr 1.28fr; border: 2px solid transparent; border-radius: 26px; background: white; box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.upsell-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(27, 86, 74, .14); }
.upsell-card.is-selected { border-color: var(--green); }
.discount-badge { position: absolute; z-index: 2; top: 15px; left: 15px; padding: .38rem .72rem; border-radius: 999px; color: #6d4a00; background: #ffe7a7; font-size: .72rem; font-weight: 900; }
.upsell-image { min-height: 520px; display: grid; place-items: center; padding: 70px 24px 30px; background: linear-gradient(160deg, #eef8f5, #dcefe9); }
.upsell-image img { width: 100%; max-height: 390px; object-fit: contain; filter: drop-shadow(0 14px 15px rgba(80, 63, 32, .13)); }
.upsell-content { display: flex; flex-direction: column; padding: 34px 30px 28px; }
.option-kicker { margin-bottom: .4rem; color: var(--green); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.upsell-content h3 { margin-bottom: .7rem; font-size: 1.7rem; }
.option-promise { font-size: .95rem; }
.option-benefits { margin-bottom: 1rem; font-size: .86rem; }
.option-details { margin-bottom: 22px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: #f9fbfa; font-size: .82rem; }
.option-details summary { color: var(--green-dark); cursor: pointer; font-weight: 800; }
.option-details ul { margin: 12px 0 3px; padding-left: 20px; }
.option-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.option-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 10px; margin-bottom: 14px; }
.option-price strong { color: var(--ink); font-size: 1.65rem; }
.option-price small { width: 100%; color: var(--green-dark); font-size: .72rem; font-weight: 750; }
.option-button { width: 100%; cursor: pointer; }
.button-selected { display: none; }
.upsell-card.is-selected .option-button { border-color: var(--green-dark); background: var(--green-dark); }
.upsell-card.is-selected .button-default { display: none; }
.upsell-card.is-selected .button-selected { display: inline; }

.upsell-checkout { padding: 0 0 70px; }
.checkout-box { display: grid; grid-template-columns: 1fr .8fr; gap: 45px; align-items: center; padding: 38px 42px; border: 1px solid #cfe5df; border-radius: 26px; background: var(--green-soft); box-shadow: 0 14px 35px rgba(23, 100, 85, .08); }
.selection-summary h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.summary-lines { margin: 0 0 12px; padding: 0; list-style: none; }
.summary-lines li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid #c9dfda; color: var(--ink); }
.summary-lines li.is-option { color: var(--green-dark); }
.selection-message { margin: 12px 0 0; font-size: .8rem; }
.checkout-action { text-align: center; }
.total-line { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 14px; }
.total-line span { font-size: .8rem; }
.total-line strong { color: var(--ink); font-size: 2rem; }
.checkout-button { width: min(100%, 360px); }
.checkout-action .purchase-info { justify-content: center; }
.no-pressure { margin: 10px 0 0; color: #657571; font-size: .72rem; }

@media (max-width: 1000px) {
  .option-grid { grid-template-columns: 1fr; }
  .upsell-card { grid-template-columns: .65fr 1.35fr; }
  .upsell-image { min-height: 460px; }
}

@media (max-width: 760px) {
  .pack-confirmation { grid-template-columns: 75px 1fr; }
  .pack-confirmation img { width: 75px; height: 65px; }
  .confirmed-price { grid-column: 2; padding: 0; border: 0; text-align: left; }
  .checkout-progress li { flex-direction: column; text-align: center; }
  .checkout-progress li:not(:last-child)::after { top: 16px; }
  .upsell-card { grid-template-columns: 1fr; }
  .upsell-image { min-height: 310px; padding: 60px 25px 20px; }
  .upsell-image img { max-height: 260px; }
  .checkout-box { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .upsell-header-inner { min-height: 68px; }
  .secure-path { font-size: .7rem; }
  .checkout-progress li { font-size: .68rem; }
  .pack-confirmation { gap: 15px; padding: 18px; }
  .pack-confirmation h1 { font-size: 1.35rem; }
  .intro-heading { margin-top: 42px; }
  .upsell-content { padding: 28px 22px 22px; }
  .checkout-box { padding: 28px 22px; }
}
