/*
 * Checkout [ebp_checkout] — structure alignée maquette réservation Le Providence.
 * Palette : navy, fond page gris clair, cartes blanches, accent chaud réservé aux badges futurs.
 */
.ebp-checkout {
  --ebp-navy: #1a2744;
  --ebp-navy-soft: #2a3f5f;
  --ebp-page-bg: #eceef2;
  --ebp-card-bg: #ffffff;
  --ebp-muted: #5c6778;
  --ebp-border: #e4e7ec;
  --ebp-accent-warm: #d4935c;
  --ebp-success: #1e8a54;
  --ebp-radius-card: 12px;
  --ebp-radius-btn: 8px;
  --ebp-max: 1180px;
  --ebp-shadow-card: 0 8px 28px rgba(26, 39, 68, 0.08);
}

.ebp-checkout--error {
  max-width: var(--ebp-max);
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  border: 1px solid #c00;
  border-radius: var(--ebp-radius-card);
  background: #fff5f5;
}

/* --- Hero pleine largeur --- */
.ebp-checkout__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  min-height: 716px;
  box-sizing: border-box;
  padding: clamp(2rem, 5vw, 3.25rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  background-color: var(--ebp-navy);
  background-image: linear-gradient(
      105deg,
      rgba(26, 39, 68, 0.88) 0%,
      rgba(26, 39, 68, 0.35) 55%,
      rgba(26, 39, 68, 0.2) 100%
    ),
    var(--ebp-hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ebp-checkout__hero--no-photo {
  background-image: linear-gradient(
    155deg,
    var(--ebp-navy) 0%,
    var(--ebp-navy-soft) 65%,
    #1e3048 100%
  );
}

.ebp-checkout__hero-inner {
  width: 100%;
  max-width: var(--ebp-max);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.ebp-checkout__hero-tag {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(110, 180, 255, 0.28);
  color: #eaf4ff;
}

.ebp-checkout__hero-tag--placeholder {
  min-height: 1.875rem;
  min-width: 10rem;
  background: rgba(255, 255, 255, 0.12);
}

.ebp-checkout__hero-tag--gift {
  background: rgba(212, 147, 92, 0.35);
  color: #fff8f2;
}

.ebp-checkout__hero-tag--popular {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: #259df499;
  color: #fff;
}

.ebp-checkout__hero-tag-star {
  color: #ffd34d;
  font-size: 1.05em;
  line-height: 1;
}

.ebp-checkout__hero .ebp-checkout__hero-title {
  margin: 0 0 0.85rem;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.ebp-checkout__hero-intro.ebp-rich-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.94);
}

.ebp-checkout__hero-intro.ebp-rich-text > *:first-child {
  margin-top: 0;
}

.ebp-checkout__hero-intro.ebp-rich-text > *:last-child {
  margin-bottom: 0;
}

.ebp-checkout__hero-note--placeholder {
  margin: 1.25rem 0 0;
  max-width: 52ch;
  min-height: 3.25rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

/* --- Zone principale 2 cols --- */
.ebp-checkout__shell {
  background: var(--ebp-page-bg);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.25rem) clamp(2.5rem, 5vw, 3.5rem);
  box-sizing: border-box;
}

.ebp-checkout__layout {
  max-width: var(--ebp-max);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.ebp-checkout__primary {
  min-width: 0;
}

.ebp-checkout__aside {
  min-width: 0;
}

.ebp-checkout__sticky {
  position: sticky;
  top: calc(1rem + var(--ebp-sticky-offset, 0px));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Desktop : garder un espace entre le récap et la carte « Navigation durable ». */

/* --- Cartes étapes --- */
.ebp-checkout__step {
  background: var(--ebp-card-bg);
  border-radius: var(--ebp-radius-card);
  box-shadow: var(--ebp-shadow-card);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.ebp-checkout__step:last-of-type {
  margin-bottom: 0;
}

.ebp-checkout__step-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--ebp-border);
}

.ebp-checkout__step-num {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ebp-navy);
  background: #f4f6f9;
}

.ebp-checkout__step-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout__step-head--calendar {
  border-bottom: 0;
  padding-bottom: 0.95rem;
}

.ebp-checkout__step-num--calendar {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  color: #fff;
  background: #081a64;
}

.ebp-checkout__step-title--calendar {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.ebp-checkout__step-head-copy {
  min-width: 0;
}

.ebp-checkout__step-subtitle {
  margin: 0.35rem 0 0;
  font-size: 15px;
  line-height: 1.35;
  color: #95a1b8;
  font-weight: 400;
}

.ebp-checkout__step-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.ebp-checkout__step-body--empty {
  min-height: 8rem;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(228, 231, 236, 0.45) 10px,
    rgba(228, 231, 236, 0.45) 11px
  );
}

.ebp-checkout__step-body--slots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: 1.35rem;
}

/* Créneau + tarifs : une seule carte (pas de double en-tête) */
.ebp-checkout__step-body--compound {
  padding: 0;
}

.ebp-checkout__compound-slot .ebp-checkout__step-body--slots {
  padding-bottom: 1.15rem;
}

.ebp-checkout__compound-prices {
  border-top: 1px solid var(--ebp-border);
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 56px);
}

.ebp-checkout__compound-prices .ebp-checkout__step-body--prices {
  padding-top: 1.2rem;
}

/* Bon cadeau : pas de calendrier / créneaux — carte tarifs seule */
.ebp-checkout__step-body--gift-prices-only .ebp-checkout__compound-prices {
  border-top: 0;
  background: var(--ebp-card-bg, #fff);
  border-radius: var(--ebp-radius-card);
  box-shadow: var(--ebp-shadow-card);
}

.ebp-checkout__step-body--gift-prices-only .ebp-checkout__compound-prices .ebp-checkout__step-body--prices {
  padding: 1.35rem 1.35rem 1.1rem;
}

.ebp-checkout__recap-kv--gift-placeholder {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .ebp-checkout__step-body--slots {
    grid-template-columns: 1fr;
  }
}

.ebp-checkout__slot-col--calendar .ebp-checkout-cal {
  max-width: none;
}

.ebp-checkout-times__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout-times__period-heading {
  display: none;
}

.ebp-checkout-times__period--morning:not([hidden])
  ~ .ebp-checkout-times__period--afternoon:not([hidden]) {
  margin-top: 0.8rem;
}

.ebp-checkout__slot-col--times {
  padding-top: 1rem;
}

.ebp-checkout__gift-lead {
  margin: 0 0 1.25rem;
}

.ebp-checkout__gift-info {
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--ebp-border);
  border-left: 4px solid var(--ebp-navy-soft);
  border-radius: var(--ebp-radius-card);
  background: #f6f8fb;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ebp-navy);
}

.ebp-checkout__gift-info-card {
  background: #fff;
  border-radius: var(--ebp-radius-card);
}

.ebp-checkout__gift-info-card .ebp-checkout__gift-info {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: #fff;
}

.ebp-checkout__gift-info-p {
  margin: 0 0 0.65rem;
}

.ebp-checkout__gift-info-p--last {
  margin-bottom: 0;
}

.ebp-checkout__gift-info a {
  color: var(--ebp-navy-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ebp-checkout__gift-info a:hover,
.ebp-checkout__gift-info a:focus-visible {
  color: var(--ebp-navy);
}

.ebp-checkout__placeholder {
  color: var(--ebp-muted);
  font-style: italic;
}

/* --- Étape 2 : prix & quantités --- */
.ebp-checkout__step--prices-locked .ebp-checkout-prices__table-wrap {
  opacity: 0.55;
}

.ebp-checkout-prices__hint {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--ebp-muted);
}

.ebp-checkout-prices__table-wrap {
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ebp-border);
  border-radius: var(--ebp-radius-card);
  background: var(--ebp-card-bg);
  box-shadow: var(--ebp-shadow-card);
}

.ebp-checkout-prices__table {
  width: 100%;
  min-width: 18rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

/* Sans en-tête (maquette Figma « Détail des prix »). */
.ebp-checkout-prices__table--plain tbody tr.ebp-checkout-price-row:first-child td {
  padding-top: 1.1rem;
}

.ebp-checkout-prices__table tbody tr.ebp-checkout-price-row {
  border-bottom: 1px solid var(--ebp-border);
}

.ebp-checkout-prices__table tbody tr.ebp-checkout-price-row:last-child {
  border-bottom: none;
}

.ebp-checkout-prices__table tbody td {
  padding: 1rem;
  background: var(--ebp-card-bg);
}

.ebp-checkout-prices__table tbody td.ebp-checkout-price-row__cat {
  vertical-align: middle;
  min-width: 0;
  width: auto;
}

.ebp-checkout-prices__table tbody td.ebp-checkout-price-row__unit {
  vertical-align: middle;
  width: 1%;
  padding-left: 0.75rem;
  padding-right: 1rem;
}

.ebp-checkout-prices__table tbody td.ebp-checkout-price-row__stepper-cell {
  vertical-align: middle;
  width: 1%;
  white-space: nowrap;
  padding-left: 0.25rem;
}

.ebp-checkout-price-row__labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.ebp-checkout-price-row__ticket-scope {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ebp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ebp-checkout-price-row__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ebp-navy);
  line-height: 1.25;
}

/* Sous-texte d’âge sous le libellé (ex. adultes, maquette Figma) */
.ebp-checkout-price-row__subtitle--stacked {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ebp-muted);
  line-height: 1.35;
}

.ebp-checkout-price-row__qty {
  margin-top: 0;
}

.ebp-checkout-price-row__unit {
  text-align: right;
  white-space: nowrap;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

/* Stepper : blocs joints, séparateurs verticaux (maquette) */
.ebp-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ebp-border);
  border-radius: var(--ebp-radius-btn);
  background: var(--ebp-card-bg);
  overflow: hidden;
}

/* Champ saisissable (+ spinners masqués type number) ou ancien span. */
input.ebp-qty-stepper__value {
  -moz-appearance: textfield;
  appearance: textfield;
  display: inline-block;
  box-sizing: border-box;
  min-width: 2.65rem;
  max-width: 4.75rem;
  min-height: 2.4rem;
  padding: 0 0.35rem;
  margin: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: var(--ebp-navy);
  border: none;
  border-left: 1px solid var(--ebp-border);
  border-right: 1px solid var(--ebp-border);
  border-radius: 0;
  background: #fafbfd;
}

input.ebp-qty-stepper__value:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(26, 39, 68, 0.15);
}

input.ebp-qty-stepper__value:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f3f5f9;
}

input.ebp-qty-stepper__value::-webkit-outer-spin-button,
input.ebp-qty-stepper__value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ebp-qty-stepper__btn {
  width: 2.4rem;
  min-height: 2.4rem;
  border: none;
  background: var(--ebp-card-bg);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: var(--ebp-navy);
}

.ebp-qty-stepper__btn--minus {
  border-radius: 0;
}

.ebp-qty-stepper__btn--plus {
  border-radius: 0;
}

.ebp-qty-stepper__btn:hover:not(:disabled) {
  background: #f0f2f7;
}

.ebp-qty-stepper__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.ebp-checkout-prices__footnote {
  margin: 0.75rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ebp-navy);
}

.ebp-checkout-prices__total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ebp-border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout-prices__total-amount {
  font-weight: 700;
  font-size: 1.2rem;
}

.ebp-checkout-sandwiches {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--ebp-border);
}

.ebp-checkout-sandwiches--muted {
  opacity: 0.65;
}

.ebp-checkout-sandwiches__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout-sandwiches__subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ebp-muted);
}

.ebp-checkout-sandwiches__hint {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--ebp-muted);
}

.ebp-checkout-sandwiches__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ebp-checkout-sandwich-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
  gap: 0.65rem 0.85rem;
  align-items: center;
}

@media (max-width: 600px) {
  .ebp-checkout-sandwich-row {
    grid-template-columns: 1fr;
  }
}

.ebp-checkout-sandwich-row__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ebp-navy);
  line-height: 1.35;
}

.ebp-checkout__select.ebp-checkout-sandwich-select {
  max-width: 100%;
}

.ebp-checkout-sandwiches__note {
  margin: 0;
  padding: 0 0.05rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ebp-muted);
}

.ebp-checkout-prices__foot--placeholder {
  margin: 0.85rem 0 0;
  min-height: 1rem;
}

.ebp-checkout-prices__empty {
  margin: 0;
  color: var(--ebp-muted);
  font-style: italic;
}

/* --- Cartes sidebar (vides pour l’instant) --- */
.ebp-checkout__card {
  background: var(--ebp-card-bg);
  border-radius: var(--ebp-radius-card);
  box-shadow: var(--ebp-shadow-card);
  overflow: hidden;
}

.ebp-checkout__card-head {
  min-height: 3.75rem;
  background: linear-gradient(to bottom, #f8f9fc 0%, #eef1f6 100%);
  border-bottom: 1px solid var(--ebp-border);
}

.ebp-checkout__card-body {
  min-height: 7rem;
  padding: 0;
}

.ebp-checkout__card-foot {
  min-height: 5.5rem;
  border-top: 1px solid var(--ebp-border);
  padding: 0;
}

.ebp-checkout__card--eco {
  border: 2px dashed #cfd6e4;
  background: var(--ebp-card-bg);
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.07);
}

.ebp-checkout__eco-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
}

.ebp-checkout__eco-leaf {
  flex: 0 0 auto;
  line-height: 0;
}

.ebp-checkout__eco-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout__eco-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ebp-muted);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

/* --- Calendrier --- */
.ebp-checkout-cal {
  position: relative;
}

.ebp-checkout-cal--loading {
  opacity: 0.65;
  pointer-events: none;
}

.ebp-checkout-cal__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ebp-checkout-cal__subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.ebp-checkout-cal__prompt {
  color: #1f2d53;
  font-size: 16px;
  font-weight: 500;
}

.ebp-checkout-cal__month-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ebp-navy);
  text-transform: capitalize;
  min-width: 70px;
  text-align: center;
}

.ebp-checkout-cal__nav {
  cursor: pointer;
  border: 0;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--ebp-radius-btn);
  font-size: 0;
  line-height: 0;
  color: var(--ebp-navy);
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ebp-checkout-cal__nav:hover:not(:disabled) {
  border: 0;
  background: transparent;
}

.ebp-checkout-cal__nav::before {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  color: var(--ebp-navy);
}

.ebp-checkout-cal__nav--prev::before {
  content: "‹";
}

.ebp-checkout-cal__nav--next::before {
  content: "›";
}

.ebp-checkout-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.ebp-checkout-cal__weekday {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ebp-muted);
}

.ebp-checkout-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.ebp-checkout-cal__cell {
  min-height: 2.65rem;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.ebp-checkout-cal__cell--pad {
  min-height: 0;
  pointer-events: none;
}

.ebp-checkout-cal__day {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  color: var(--ebp-navy);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ebp-checkout-cal__day:hover:not(:disabled) {
  background: #f7f9fd;
  color: var(--ebp-navy);
}

.ebp-checkout-cal__day:disabled {
  cursor: default;
  font-weight: 500;
  color: #b8c0cc;
  background: #fff;
}

.ebp-checkout-cal__day--today:not(.ebp-checkout-cal__day--picked):not(.ebp-checkout-cal__day--highlight) {
  box-shadow: inset 0 0 0 1px var(--ebp-navy-soft);
}

.ebp-checkout-cal__day--has-occ:not(:disabled) {
  color: var(--ebp-navy);
}

.ebp-checkout-cal__day--full:not(:disabled) {
  color: #a65d5d;
}

/* :not(:disabled) pour l’emporter sur --has-occ / --full (spécificité + texte blanc lisible). */
.ebp-checkout-cal__day--picked:not(:disabled),
.ebp-checkout-cal__day--highlight:not(:disabled) {
  background: #259df41a;
  color: var(--ebp-navy);
  border: 2px solid var(--ebp-navy);
  box-shadow: none;
}

.ebp-checkout-cal__day--picked:not(:disabled):hover,
.ebp-checkout-cal__day--highlight:not(:disabled):hover {
  background: #259df41a;
  color: var(--ebp-navy);
  border: 2px solid var(--ebp-navy);
}

.ebp-checkout-cal__panel {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ebp-checkout-cal__slots {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ebp-checkout-cal__slots > li {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ebp-checkout-cal__slots > li::marker {
  content: none;
}

.ebp-checkout-cal__slot-btn {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border: 2px solid var(--ebp-border);
  border-radius: var(--ebp-radius-btn);
  background: #fff;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ebp-navy);
  line-height: 1.35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ebp-checkout-cal__slot-title {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout-cal__slot-meta {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ebp-muted);
}

.ebp-checkout-cal__slot-btn:hover:not(:disabled) {
  border-color: var(--ebp-navy-soft);
}

.ebp-checkout-cal__slot-btn--disabled {
  cursor: default;
  color: var(--ebp-muted);
  font-weight: 500;
  border-color: #eceef2;
  background: #fafbfc;
}

.ebp-checkout-cal__slot-btn--disabled .ebp-checkout-cal__slot-title,
.ebp-checkout-cal__slot-btn--disabled .ebp-checkout-cal__slot-meta {
  color: var(--ebp-muted);
}

.ebp-checkout-cal__slot-btn--selected {
  border-color: var(--ebp-navy);
  background: #f4f7fb;
  box-shadow: 0 0 0 1px var(--ebp-navy);
}

.ebp-checkout-cal__slot-btn--selected::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.6 14.6L15.65 7.55L14.25 6.15L8.6 11.8L5.75 8.95L4.35 10.35L8.6 14.6ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z' fill='%23060A40'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1024px) {
  .ebp-checkout__hero {
    min-height: 520px;
  }

  .ebp-checkout__hero .ebp-checkout__hero-title {
    font-size: 56px;
  }

  .ebp-checkout__layout {
    grid-template-columns: 1fr;
  }

  .ebp-checkout__sticky {
    position: static;
  }
}

@media (max-width: 600px) {
  .ebp-checkout__hero {
    min-height: 360px;
    padding-top: 1.75rem;
    padding-bottom: 2.25rem;
  }

  .ebp-checkout__hero .ebp-checkout__hero-title {
    font-size: 40px;
    line-height: 1.12;
  }

  .ebp-checkout__step-head {
    flex-wrap: wrap;
  }

  .ebp-checkout__step-title--calendar {
    font-size: 24px;
  }

  .ebp-checkout-cal__subhead {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .ebp-checkout__slot-col--times {
    padding-top: 0;
  }

  .ebp-checkout__field-grid {
    grid-template-columns: 1fr;
  }

  .ebp-checkout__coupon-input {
    max-width: none;
  }
}

/* --- Étape 03 : informations client --- */
.ebp-checkout__step--form-locked .ebp-checkout__customer-form-wrap {
  pointer-events: none;
}

.ebp-checkout__form-hint--locked {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  color: var(--ebp-muted);
}

/* --- Récapitulatif réservation (colonne droite, maquette) --- */
.ebp-checkout__booking-aside {
  padding: 0;
  overflow: hidden;
}

.ebp-checkout__recap-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.2rem;
  background: linear-gradient(180deg, #d9ecfb 0%, #cfe5f8 100%);
}

.ebp-checkout__recap-banner-icon {
  flex: 0 0 auto;
  display: flex;
}

.ebp-checkout__recap-banner-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ebp-navy);
}

.ebp-checkout__recap-body {
  padding: 1.05rem 1.2rem 1.35rem;
  background: #fff;
}

.ebp-checkout__recap-body .ebp-checkout__payment-hint--locked.ebp-checkout__recap-hint-muted {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ebp-muted);
}

.ebp-checkout__recap-kv {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 1rem;
  align-items: baseline;
}

.ebp-checkout__recap-k {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6f7b8f;
}

.ebp-checkout__recap-v {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ebp-navy);
  text-align: right;
}

.ebp-checkout__recap-items {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--ebp-border);
}

.ebp-checkout__recap-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.32rem 0;
  font-size: 0.875rem;
}

.ebp-checkout__recap-line-label {
  flex: 1 1 auto;
  font-weight: 500;
  color: #6f7b8f;
}

.ebp-checkout__recap-line-price {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout__recap-fees {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ebp-border);
  font-size: 0.875rem;
}

.ebp-checkout__recap-fees-label {
  color: #6f7b8f;
}

.ebp-checkout__recap-fees-value {
  font-weight: 700;
  color: var(--ebp-success);
}

.ebp-checkout__recap-promo-wrap {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ebp-border);
}

.ebp-checkout__recap-promo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
}

.ebp-checkout__recap-promo-label {
  flex: 1 1 auto;
  font-weight: 600;
  color: var(--ebp-navy-soft);
}

.ebp-checkout__recap-promo-amt {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--ebp-success);
}

.ebp-checkout__recap-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.9rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--ebp-border);
}

.ebp-checkout__recap-total-word {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout__recap-total-num {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ebp-navy);
}

.ebp-checkout__recap-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.95rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--ebp-success);
  background: rgba(30, 138, 84, 0.1);
}

.ebp-checkout__recap-trust-ico {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: var(--ebp-success);
}

.ebp-checkout__payment-gate--in-recap {
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--ebp-border);
}

.ebp-checkout__promo-row--aside {
  margin-bottom: 0.95rem;
}

.ebp-checkout__promo-row--aside .ebp-checkout__coupon-input {
  flex: 1 1 auto;
  max-width: none;
}

.ebp-checkout__terms-row--aside {
  margin: 0.65rem 0 0.85rem;
}

.ebp-checkout__payment-gate--in-recap .ebp-checkout__booking-error {
  margin-top: 0.25rem;
}

.ebp-checkout__payment-gate--in-recap .ebp-checkout__pay-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ebp-checkout__payment-gate--in-recap .ebp-checkout__pay-actions button.ebp-checkout__pay-btn,
.ebp-checkout__payment-gate--in-recap .ebp-checkout__pay-actions .ebp-checkout__pay-btn {
  width: 100%;
  margin: 0 !important;
  padding: 0.85rem 1.35rem !important;
  border-radius: 999px !important;
  border: none !important;
  background: var(--ebp-navy) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-align: center;
}

.ebp-checkout__payment-gate--in-recap .ebp-checkout__pay-actions button.ebp-checkout__pay-btn:disabled {
  opacity: 0.45;
}

.ebp-checkout__recap-legal {
  margin: 0.85rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--ebp-muted);
}

.ebp-checkout__recap-legal a {
  color: var(--ebp-navy-soft);
  font-weight: 600;
}

/* --- Carte Paiement (sidebar) --- */
.ebp-checkout__card-head--payment {
  min-height: auto;
}

.ebp-checkout__payment-title {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ebp-navy);
}

.ebp-checkout__card-body--payment {
  min-height: 0;
  padding: 0 1.25rem 1.35rem;
}

.ebp-checkout__payment-hint--locked {
  margin: 1rem 0 0.85rem;
  font-size: 0.875rem;
  color: var(--ebp-muted);
}

.ebp-checkout__booking-aside--locked .ebp-checkout__payment-gate--in-recap {
  pointer-events: none;
}

.ebp-checkout__card-body--payment .ebp-checkout__promo-row {
  margin-top: 0;
}

.ebp-checkout__btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: var(--ebp-radius-btn);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--ebp-border);
  background: #f4f6f9;
  color: var(--ebp-navy);
}

.ebp-checkout__btn:hover:not(:disabled) {
  border-color: var(--ebp-navy-soft);
  background: #eef1f6;
}

.ebp-checkout__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.ebp-checkout__card-body--payment .ebp-checkout__coupon-input {
  max-width: none;
}

.ebp-checkout__card-body--payment .ebp-checkout__pay-actions .ebp-checkout__pay-btn,
.ebp-checkout__card-body--payment .ebp-checkout__pay-actions button.ebp-checkout__pay-btn {
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.5rem;
  text-align: center;
}

.ebp-checkout__card-body--payment .ebp-checkout__pay-actions button.ebp-checkout__pay-btn:last-of-type {
  margin-bottom: 0;
}

.ebp-checkout__promo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.75rem;
  margin-bottom: 1.25rem;
}

.ebp-checkout__coupon-input {
  flex: 1 1 180px;
  max-width: 280px;
}

.ebp-checkout__coupon-msg {
  flex: 1 1 100%;
  font-size: 0.875rem;
  color: var(--ebp-muted);
}

.ebp-checkout__field-grid .ebp-checkout__field,
.ebp-checkout__payment-gate .ebp-checkout__terms-row {
  scroll-margin-top: clamp(4.5rem, 10vh, 5.75rem);
}

.ebp-checkout__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.ebp-checkout__field--wide {
  grid-column: 1 / -1;
}

.ebp-checkout__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ebp-navy);
}

.ebp-checkout__field--error > label {
  color: #b42318;
}

.ebp-checkout__field--error .ebp-checkout__input {
  border-color: #c53030;
  box-shadow: 0 0 0 1px rgba(197, 48, 48, 0.12);
}

.ebp-checkout__field .iti {
  width: 100%;
}

.ebp-checkout__field .iti input {
  box-sizing: border-box;
}

.ebp-checkout__field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b42318;
  line-height: 1.35;
}

.ebp-checkout__req {
  color: #b42318;
  font-weight: 700;
}

.ebp-checkout__input,
.ebp-checkout__textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--ebp-border);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--ebp-navy);
  background: #fff;
}

.ebp-checkout__textarea {
  resize: vertical;
  min-height: 5rem;
}

.ebp-checkout__field-help {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--ebp-muted);
}

.ebp-checkout__terms-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.ebp-checkout__terms-row--error > label {
  color: #b42318;
}

.ebp-checkout__terms-row--error label a {
  color: #8f2f26;
}

.ebp-checkout__terms-row .ebp-checkout__terms-error {
  flex: 1 1 100%;
  margin-top: -0.1rem;
  padding-left: 1.75rem;
}

.ebp-checkout__terms-row label a {
  color: var(--ebp-navy-soft);
  font-weight: 600;
}

.ebp-checkout__checkbox {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.ebp-checkout__booking-error {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #f5a8a8;
  background: #fff5f5;
  color: #8a1818;
  font-size: 0.9375rem;
}

.ebp-checkout__pay-actions .ebp-checkout__pay-btn,
.ebp-checkout__pay-actions button {
  margin: 0 0.65rem 0.65rem 0;
}

.ebp-checkout__pay-actions button.ebp-checkout__pay-btn {
  cursor: pointer;
  padding: 0.65rem 1.15rem;
  border-radius: var(--ebp-radius-btn);
  border: 1px solid var(--ebp-border);
  background: var(--ebp-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

.ebp-checkout__pay-actions button.ebp-checkout__pay-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Paiement inline (retour gateways) */
.ebp-checkout__inline-root {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  background: rgba(26, 39, 68, 0.45);
}

.ebp-checkout__inline-root-box {
  position: relative;
  max-width: min(560px, 100%);
  padding: 1.5rem;
  border-radius: var(--ebp-radius-card);
  background: #fff;
  box-shadow: var(--ebp-shadow-card);
}

.ebp-checkout__inline-root-close {
  position: absolute;
  right: 0.75rem;
  top: 0.55rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ebp-muted);
}

