/* bt-quote-form.css — structural only, zéro couleur hardcodée.
   Toutes les couleurs sont injectées par Elementor via {{WRAPPER}} selectors.
   ══════════════════════════════════════════════════════════ */

/* ── Wrapper ── */

.bt-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ══════════════════════════════════════════
   STEPS
   ══════════════════════════════════════════ */

.bt-quote-step {
  border-width: 1px;
  border-style: solid;
  border-radius: 12px;
  overflow: hidden;
  transition: opacity .3s, border-color .3s;
}

/* Étape future — réduite */
.bt-quote-step--collapsed {
  opacity: .6;
}

/* Étape active — bordure plus épaisse, opacité forcée (spécificité 0-2-0 pour battre Elementor) */
.bt-quote-step.bt-quote-step--active {
  border-width: 2px;
  opacity: 1;
}

/* Étape complétée — pleine opacité (même spécificité) */
.bt-quote-step.bt-quote-step--done {
  opacity: 1;
}

/* ── Header ── */

.bt-quote-step__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.bt-quote-step__number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bt-quote-step__title {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

/* SVG check — caché par défaut, visible sur --done */
.bt-quote-step__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: none;
  stroke: currentColor;
  fill: none;
}

.bt-quote-step--done .bt-quote-step__check {
  display: block;
}

/* ── Summary (en dessous du header, hors flow header) ── */

.bt-quote-step__summary {
  font-size: 12px;
  padding: 0 18px 12px 54px; /* 54px = 26px numéro + 10px gap + 18px left-padding */
  display: none;
}

.bt-quote-step--done .bt-quote-step__summary:not(:empty) {
  display: block;
}

/* ── Content ── */

.bt-quote-step__content {
  display: none;
  padding: 0 18px 18px;
}

.bt-quote-step--active .bt-quote-step__content {
  display: block;
}

/* ── Actions (à l'intérieur de __content) ── */

.bt-quote-step__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.bt-quote-step__next {
  padding: 9px 22px;
  border-width: 0;
  border-style: solid;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: filter .15s, transform .1s;
}

.bt-quote-step__next:hover {
  filter: brightness(1.1);
}

.bt-quote-step__next:active {
  transform: scale(.97);
}

/* Shake feedback */
.bt-quote-step--shake {
  animation: btQuoteShake .4s ease;
}

@keyframes btQuoteShake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}

/* ══════════════════════════════════════════
   STEP 1 — EXCURSION
   ══════════════════════════════════════════ */

.bt-quote-exc-auto {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.bt-quote-exc-auto__name {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

.bt-quote-exc-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bt-quote-exc-choice__btn {
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s, background-color .2s, color .2s;
}

.bt-quote-exc-choice__btn--selected,
.bt-quote-exc-choice__btn[aria-selected="true"] {
  border-width: 2px;
}

.bt-quote-exc-custom {
  margin-top: 12px;
}

/* ══════════════════════════════════════════
   EXCURSION CARDS — Structure uniquement
   Couleurs/typo/border/shadow via Elementor {{WRAPPER}}
   ══════════════════════════════════════════ */

.bt-quote-exc-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bt-quote-exc-card {
  display: flex;
  flex-direction: row; /* Elementor override via qt_exc_card_direction */
  align-items: stretch;
  overflow: hidden;
  cursor: pointer;
}

.bt-quote-exc-card__img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Mode vertical (image en haut) */
.bt-quote-exc-card[style*="column"] .bt-quote-exc-card__img {
  width: 100%;
  min-width: 100%;
  height: 140px;
}

.bt-quote-exc-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bt-quote-exc-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bt-quote-exc-card__title {
  margin: 0;
  line-height: 1.35;
}

.bt-quote-exc-card__skipper {
  align-self: flex-start;
  width: fit-content;
}

/* T1 — Compact */
.bt-quote-exc-card--t1 .bt-quote-exc-card__img {
  width: 110px;
  min-width: 110px;
}
.bt-quote-exc-card--t1 .bt-quote-exc-card__body {
  padding: 12px 14px;
  gap: 6px;
}
.bt-quote-exc-card--t1 .bt-quote-exc-card__title {
  font-size: 14px;
}

/* T2 — Large */
.bt-quote-exc-card--t2 .bt-quote-exc-card__img {
  width: 160px;
  min-width: 160px;
}
.bt-quote-exc-card--t2 .bt-quote-exc-card__body {
  padding: 16px 18px;
  gap: 8px;
}
.bt-quote-exc-card--t2 .bt-quote-exc-card__title {
  font-size: 15px;
}

/* ══════════════════════════════════════════
   STEP 2 — BOAT CARDS
   Clean template — CSS vars controllables via Elementor
   ══════════════════════════════════════════ */

.bt-quote-boat-auto {
  padding: 12px 14px;
  border-radius: 8px;
}
.bt-quote-boat-auto__name {
  font-weight: 600;
  margin: 0;
  font-size: 13px;
}

/* ── Grid container ── */
.bt-quote-boat-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bt-boat-cards-gap, 12px);
}

/* ══════════════════════════════════════════
   BOAT CARD — Base (shared)
   ══════════════════════════════════════════ */
.bt-quote-boat-card {
  display: flex;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--bt-boat-radius, 12px);
  /* Border géré par Elementor Group_Control_Border */
  border-style: solid;
  border-width: 0;
  border-color: transparent;
  background: var(--bt-boat-bg, #fff);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.bt-quote-boat-card:hover {
  /* Hover géré par Elementor */
}
.bt-quote-boat-card--selected,
.bt-quote-boat-card.bt-forfait-card--active {
  /* Selected géré par Elementor */
}

/* ── Image background ── */
.bt-quote-boat-card__bg,
.bt-quote-boat-card__img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Mode colonne (image en haut) : largeur 100% obligatoire */
.bt-quote-boat-card[style*="column"] .bt-quote-boat-card__bg,
.bt-quote-boat-card--vertical .bt-quote-boat-card__bg {
  width: 100%;
}

/* ── Right column (body wrapper) ── */
.bt-quote-boat-card__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ── Body content ── */
.bt-quote-boat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--bt-boat-body-padding, 14px 16px);
  gap: var(--bt-boat-body-gap, 8px);
}

/* ── Title ── */
.bt-quote-boat-card__title {
  font-size: var(--bt-boat-title-size, 15px);
  font-weight: var(--bt-boat-title-weight, 600);
  color: var(--bt-boat-title-color, inherit);
  margin: 0;
  line-height: 1.3;
}

/* ── Subtitle (model + year) ── */
.bt-quote-boat-card__subtitle {
  font-size: var(--bt-boat-subtitle-size, 12px);
  color: var(--bt-boat-subtitle-color, #737373);
  margin: 0;
}

/* ── Badge "(Actuel)" ── */
.bt-quote-boat-card__badge {
  font-size: .8em;
  font-weight: 400;
  opacity: .6;
}

/* ══════════════════════════════════════════
   FORFAITS — Pills grid
   ══════════════════════════════════════════ */
.bt-quote-boat-card__forfaits {
  display: grid;
  grid-template-columns: repeat(var(--bt-boat-forfaits-cols, 2), 1fr);
  gap: var(--bt-boat-forfaits-gap, 6px);
}
.bt-quote-boat-card__forfait {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: var(--bt-boat-forfait-padding, 8px 10px);
  border-radius: var(--bt-boat-forfait-radius, 6px);
  border: 1px solid var(--bt-boat-forfait-border, #e5e5e5);
  background: var(--bt-boat-forfait-bg, transparent);
  transition: background .15s, border-color .15s;
}
.bt-quote-boat-card__forfait:hover {
  background: var(--bt-boat-forfait-bg-hover, #fafafa);
  border-color: var(--bt-boat-forfait-border-hover, #d4d4d4);
}
.bt-quote-boat-card__forfait--active {
  background: var(--bt-boat-forfait-bg-active, #0a0a0a);
  border-color: var(--bt-boat-forfait-border-active, #0a0a0a);
}
.bt-quote-boat-card__forfait--active .bt-quote-boat-card__forfait-label,
.bt-quote-boat-card__forfait--active .bt-quote-boat-card__forfait-price {
  color: var(--bt-boat-forfait-color-active, #fff);
}
.bt-quote-boat-card__forfait-label {
  font-size: var(--bt-boat-forfait-label-size, 10px);
  color: var(--bt-boat-forfait-label-color, #737373);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
}
.bt-quote-boat-card__forfait-price {
  font-size: var(--bt-boat-forfait-price-size, 14px);
  font-weight: 600;
  color: var(--bt-boat-forfait-price-color, inherit);
  line-height: 1.2;
}

/* ══════════════════════════════════════════
   FORFAITS — Tabs variant (template-2)
   ══════════════════════════════════════════ */
.bt-quote-boat-card__forfait-tabs {
  display: flex;
  border: 1px solid var(--bt-boat-tabs-border, #e5e5e5);
  border-radius: var(--bt-boat-tabs-radius, 8px);
  overflow: hidden;
}
.bt-quote-boat-card__forfait-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--bt-boat-tab-padding, 8px 10px);
  background: var(--bt-boat-tab-bg, #f5f5f5);
  border: none;
  transition: background .15s;
}
.bt-quote-boat-card__forfait-tab:not(:last-child) {
  border-right: 1px solid var(--bt-boat-tabs-border, #e5e5e5);
}
.bt-quote-boat-card__forfait-tab--active {
  background: var(--bt-boat-tab-bg-active, #0a0a0a);
}
.bt-quote-boat-card__forfait-tab--active .bt-quote-boat-card__forfait-label,
.bt-quote-boat-card__forfait-tab--active .bt-quote-boat-card__forfait-price {
  color: var(--bt-boat-tab-color-active, #fff);
}

/* ══════════════════════════════════════════
   PRIX / PERSONNE
   ══════════════════════════════════════════ */
.bt-quote-boat-card__pp {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: var(--bt-boat-pp-size, 13px);
  color: var(--bt-boat-pp-color, inherit);
}
.bt-quote-boat-card__pp-val {
  font-weight: 600;
}
.bt-quote-boat-card__pp-label,
.bt-quote-boat-card__per {
  font-size: .85em;
  opacity: .7;
}

/* ══════════════════════════════════════════
   META (capacité, jockey)
   ══════════════════════════════════════════ */
.bt-quote-boat-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bt-boat-meta-gap, 8px);
}
.bt-quote-boat-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--bt-boat-meta-size, 12px);
  color: var(--bt-boat-meta-color, #737373);
}
.bt-quote-boat-card__meta-item--yes {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bt-boat-meta-yes-bg, #f0fdf4);
  color: var(--bt-boat-meta-yes-color, #166534);
  font-weight: 500;
}
.bt-quote-boat-card__icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Bottom row (template-2) ── */
.bt-quote-boat-card__bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.bt-quote-boat-card__sep {
  width: 1px;
  height: 16px;
  background: var(--bt-boat-sep-color, #e5e5e5);
  flex-shrink: 0;
}
.bt-quote-boat-card__pax,
.bt-quote-boat-card__jockey {
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   BOUTON "Plus d'infos"
   ══════════════════════════════════════════ */
.bt-quote-boat-card__more {
  display: block;
  width: 100%;
  padding: var(--bt-boat-more-padding, 8px);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-top: 1px solid var(--bt-boat-more-border, #e5e5e5);
  background: var(--bt-boat-more-bg, transparent);
  color: var(--bt-boat-more-color, inherit);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.bt-quote-boat-card__more:hover {
  background: var(--bt-boat-more-bg-hover, #fafafa);
}

/* ══════════════════════════════════════════
   TEMPLATE 1 — Horizontal (image à gauche)
   ══════════════════════════════════════════ */
.bt-quote-boat-card--template-1 {
  flex-direction: row;
  align-items: stretch;
  min-height: 130px;
}
.bt-quote-boat-card--template-1 .bt-quote-boat-card__bg {
  flex: 0 0 var(--bt-boat-img-width, 160px);
  min-width: var(--bt-boat-img-width, 160px);
  min-height: var(--bt-boat-img-height, 130px);
  aspect-ratio: var(--bt-boat-img-ratio, 4/3);
  align-self: stretch;
}
.bt-quote-boat-card--template-1 .bt-quote-boat-card__body {
  justify-content: center;
}

/* ══════════════════════════════════════════
   TEMPLATE 2 — Vertical (image en haut)
   ══════════════════════════════════════════ */
.bt-quote-boat-card--template-2 {
  flex-direction: column;
}
.bt-quote-boat-card--template-2 .bt-quote-boat-card__img {
  width: 100%;
  height: var(--bt-boat-img-height, 140px);
}

/* ══════════════════════════════════════════
   STEP 3 — DURÉE + TIMESLOT
   ══════════════════════════════════════════ */

.bt-quote-duration-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.bt-quote-duration-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: border-color .2s, background-color .2s, color .2s;
  user-select: none;
}

.bt-quote-duration-card--selected,
.bt-quote-duration-card[aria-selected="true"] {
  border-width: 2px;
}

.bt-quote-duration-card__label {
  font-size: .9em;
  font-weight: 600;
}

.bt-quote-fields__textarea {
  resize: vertical;
  min-height: 60px;
}

/* Timeslot */

.bt-quote-timeslot {
  margin-top: 16px;
}

.bt-quote-timeslot__title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
}

.bt-quote-timeslot__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.bt-quote-timeslot__btn {
  padding: 10px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: border-color .2s, background-color .2s, color .2s;
}

.bt-quote-timeslot__btn--selected,
.bt-quote-timeslot__btn[aria-selected="true"] {
  border-width: 2px;
}

/* État erreur — créneau obligatoire non sélectionné */
.bt-quote-timeslot--error {
  animation: btQuotePulseError .6s ease;
}

.bt-quote-timeslot--error .bt-quote-timeslot__title {
  color: var(--bt-quote-error, #dc2626);
}

.bt-quote-timeslot--error .bt-quote-timeslot__btn {
  border-color: var(--bt-quote-error, #dc2626);
}

@keyframes btQuotePulseError {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ══════════════════════════════════════════
   DATE SUMMARY — Résumé de sélection
   ══════════════════════════════════════════ */

.bt-quote-date-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--bt-quote-summary-bg, #fafafa);
  border: 1px solid var(--bt-quote-summary-border, #e5e5e5);
  font-size: 14px;
  line-height: 1.5;
}

.bt-quote-date-summary:empty {
  display: none !important;
}

/* Meta label = gris foncé */
.bt-quote-date-summary__meta {
  color: var(--bt-quote-summary-meta, #525252);
  font-weight: 400;
}

/* Valeur = noir (info importante) */
.bt-quote-date-summary__value {
  color: var(--bt-quote-summary-value, #0a0a0a);
  font-weight: 600;
}

/* Séparateur bullet */
.bt-quote-date-summary__sep {
  color: var(--bt-quote-summary-meta, #525252);
  margin: 0 6px;
}

/* ══════════════════════════════════════════
   DATE PICKER
   ══════════════════════════════════════════ */

.bt-dp {
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  padding: 14px;
  user-select: none;
}

.bt-dp__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bt-dp__month-label {
  font-size: 13px;
  font-weight: 600;
}

.bt-dp__prev,
.bt-dp__next {
  width: 28px;
  height: 28px;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color .15s;
}

.bt-dp__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.bt-dp__day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 0;
}

.bt-dp__cell {
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.bt-dp__cell--empty {
  cursor: default;
}

.bt-dp__cell--disabled {
  opacity: .3;
  cursor: not-allowed;
}

.bt-dp__cell--today {
  font-weight: 700;
}

.bt-dp__cell--start,
.bt-dp__cell--end {
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.bt-dp__cell--start {
  border-radius: 6px 0 0 6px;
}

.bt-dp__cell--end {
  border-radius: 0 6px 6px 0;
}

.bt-dp__cell--range {
  border-radius: 0;
  background-color: color-mix(in srgb, currentColor 8%, transparent);
}

/* ══════════════════════════════════════════
   CHAMPS CONTACT (STEP 4)
   ══════════════════════════════════════════ */

.bt-quote-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bt-quote-fields__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bt-quote-fields__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bt-quote-fields__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bt-quote-fields__input {
  padding: 9px 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.bt-quote-fields__input--error {
  border-width: 2px;
}

/* ══════════════════════════════════════════
   RECAP + SUBMIT (STEP 5)
   ══════════════════════════════════════════ */

.bt-quote-recap {
  margin-bottom: 14px;
}

.bt-quote-recap__line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  font-size: 13px;
}

.bt-quote-recap__label {}

.bt-quote-recap__value {
  font-weight: 600;
}

.bt-quote-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-width: 0;
  border-style: solid;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  width: 100%;
  transition: filter .15s, transform .1s;
}

.bt-quote-submit:hover {
  filter: brightness(1.1);
}

.bt-quote-submit:active {
  transform: scale(.98);
}

.bt-quote-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.bt-quote-submit--loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-style: solid;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btQuoteSpin .6s linear infinite;
}

@keyframes btQuoteSpin {
  to { transform: rotate(360deg); }
}

/* Messages */

.bt-quote-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.bt-quote-message:empty {
  display: none;
}

/* ══════════════════════════════════════════
   POPUP (DIALOG)
   ══════════════════════════════════════════ */

.bt-quote-popup {
  border-width: 0;
  border-radius: 12px;
  padding: 32px;
  max-width: 800px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.bt-quote-popup::backdrop {
  background-color: rgba(0,0,0,.5);
}

.bt-quote-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-width: 0;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: opacity .15s;
}

.bt-quote-popup__close:hover {
  opacity: .7;
}

.bt-quote-popup__title {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 16px;
}

.bt-quote-popup__table-wrap {
  overflow-x: auto;
}

.bt-quote-popup__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9em;
}

.bt-quote-popup__table th,
.bt-quote-popup__table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.bt-quote-popup__table thead th {
  font-weight: 600;
  font-size: .8em;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bt-quote-popup__tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: .8em;
  font-weight: 600;
  border-radius: 12px;
}

/* ══════════════════════════════════════════
   LOADING / EMPTY / ERROR
   ══════════════════════════════════════════ */

.bt-quote__loading {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.bt-quote__loading::after {
  content: '';
  width: 24px;
  height: 24px;
  border-width: 3px;
  border-style: solid;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btQuoteSpin .7s linear infinite;
}

.bt-quote__empty,
.bt-quote__error {
  text-align: center;
  padding: 16px;
  font-size: .9em;
}

.bt-quote-loop-fallback {
  text-align: center;
  padding: 24px 16px;
  font-size: .9em;
}

/* ══════════════════════════════════════════
   OPTIONS BATEAU — Step boat-options
   ══════════════════════════════════════════ */
.bt-quote-taxo-group {
  margin-bottom: 16px;
}
.bt-quote-taxo-group__label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 600px) {
  .bt-quote-fields__row {
    grid-template-columns: 1fr;
  }
  .bt-quote-popup {
    width: 95vw;
    padding: 20px;
  }

  /* Template-1 : passer en vertical sur mobile */
  .bt-quote-boat-card--template-1 {
    flex-direction: column;
    min-height: auto;
  }
  .bt-quote-boat-card--template-1 .bt-quote-boat-card__bg {
    flex: none;
    width: 100%;
    min-width: 100%;
    height: var(--bt-boat-img-height-mobile, 140px);
  }
}

/* ══════════════════════════════════════════
   CARD "TRAJET SUR MESURE" — Option custom
   Visuellement distincte des excursions classiques
   ══════════════════════════════════════════ */
.bt-quote-exc-card--custom {
  border: 2px dashed var(--bt-quote-custom-border, var(--bt-quote-border, #d4d4d4));
  background: var(--bt-quote-custom-bg, linear-gradient(135deg, #fafbfc 0%, #f4f5f6 100%));
  position: relative;
}
/* Icône crayon pour indiquer "sur mesure" */
.bt-quote-exc-card--custom::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.bt-quote-exc-card--custom:hover::before,
.bt-quote-exc-card--custom:focus::before {
  opacity: 1;
}
.bt-quote-exc-card--custom:hover,
.bt-quote-exc-card--custom:focus {
  border-color: var(--bt-quote-custom-hover-border, var(--bt-quote-primary, #0a0a0a));
  background: var(--bt-quote-custom-hover-bg, linear-gradient(135deg, #fff 0%, #fafbfc 100%));
}
/* État sélectionné — garde le style dashed pour rester distinct */
.bt-quote-exc-card--custom[aria-selected="true"] {
  border-style: dashed;
  border-width: 2px;
  border-color: var(--bt-quote-custom-sel-border, var(--bt-quote-primary, #0a0a0a));
  background: var(--bt-quote-custom-sel-bg, #fff);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}
.bt-quote-exc-card--custom[aria-selected="true"]::before {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
}
.bt-quote-exc-card__desc {
  margin: 4px 0 0;
}

/* ══════════════════════════════════════════
   WIDGET BOAT TARIFS (.bt-btarifs)
   Classes séparées pour éviter conflits avec Tarifs Body
   ══════════════════════════════════════════ */
.bt-btarifs {
  display: block;
}
.bt-btarifs--hidden {
  display: none;
}
.bt-btarifs__inner {
  display: block;
}
.bt-btarifs__devis-reveal {
  margin-top: 24px;
}
.bt-btarifs__devis-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: var(--bt-quote-primary, #0a0a0a);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.bt-btarifs__devis-btn:hover {
  background: var(--bt-quote-primary-hover, #262626);
}
.bt-btarifs__devis-btn:active {
  transform: scale(0.98);
}
.bt-btarifs__devis-btn-icon {
  width: 18px;
  height: 18px;
}

/* ══════════════════════════════════════════
   DROPDOWN TEMPLATE (excursions & bateaux)
   ══════════════════════════════════════════ */

.bt-quote-dd {
  position: relative;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

/* Trigger button */
.bt-quote-dd__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--bt-quote-border, #e5e5e5);
  border-radius: 10px;
  background: var(--bt-quote-dd-bg, #fff);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}

.bt-quote-dd__trigger:hover {
  border-color: var(--bt-quote-border-hover, #a3a3a3);
}

.bt-quote-dd__trigger:focus {
  outline: none;
  border-color: var(--bt-quote-primary, #0a0a0a);
  box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.1);
}

.bt-quote-dd__trigger[aria-expanded="true"] {
  border-color: var(--bt-quote-primary, #0a0a0a);
}

/* Trigger thumbnail */
.bt-quote-dd__thumb {
  width: 52px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Trigger info */
.bt-quote-dd__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bt-quote-dd__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-quote-text, #0a0a0a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-quote-dd__sub {
  font-size: 12px;
  color: var(--bt-quote-text-muted, #737373);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-quote-dd__sub:empty {
  display: none;
}

/* Arrow icon */
.bt-quote-dd__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--bt-quote-text-muted, #737373);
  stroke-width: 2;
  fill: none;
  transition: transform .2s ease;
}

.bt-quote-dd__trigger[aria-expanded="true"] .bt-quote-dd__arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.bt-quote-dd__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bt-quote-dd-bg, #fff);
  border-width: 1px;
  border-style: solid;
  border-color: var(--bt-quote-border, #e5e5e5);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, visibility .2s, transform .2s;
}

.bt-quote-dd__trigger[aria-expanded="true"] + .bt-quote-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Option item */
.bt-quote-dd__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color .15s;
}

.bt-quote-dd__opt:first-child {
  border-radius: 9px 9px 0 0;
}

.bt-quote-dd__opt:last-child {
  border-radius: 0 0 9px 9px;
}

.bt-quote-dd__opt:only-child {
  border-radius: 9px;
}

.bt-quote-dd__opt:hover {
  background: var(--bt-quote-dd-hover, #f5f5f5);
}

.bt-quote-dd__opt--sel {
  background: var(--bt-quote-dd-selected-bg, #fafafa);
}

/* Option thumbnail */
.bt-quote-dd__opt-thumb {
  width: 52px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Option info */
.bt-quote-dd__opt-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bt-quote-dd__opt-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-quote-text, #0a0a0a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-quote-dd__opt-sub {
  font-size: 12px;
  color: var(--bt-quote-text-muted, #737373);
}

/* Option prices (boats) */
.bt-quote-dd__opt-prices {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.bt-quote-dd__opt-price {
  font-size: 12px;
  color: var(--bt-quote-text-muted, #737373);
}

.bt-quote-dd__opt-price strong {
  color: var(--bt-quote-text, #0a0a0a);
}

/* Checkmark icon */
.bt-quote-dd__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--bt-quote-primary, #0a0a0a);
  stroke-width: 2.5;
  fill: none;
  opacity: 0;
  transition: opacity .15s;
}

.bt-quote-dd__opt--sel .bt-quote-dd__check {
  opacity: 1;
}

/* Custom trip styling */
.bt-quote-dd__opt[data-custom-trip="1"] {
  border-top: 1px dashed var(--bt-quote-border, #e5e5e5);
}

.bt-quote-dd__opt[data-custom-trip="1"]:first-child {
  border-top: none;
}

/* Separator between current and other options */
.bt-quote-dd__opt--sel + .bt-quote-dd__opt:not(.bt-quote-dd__opt--sel) {
  border-top: 1px solid var(--bt-quote-border, #e5e5e5);
}

/* Hide prices row for excursion dropdown (only used for boats) */
.bt-quote-dd:not(.bt-quote-dd--boat) .bt-quote-dd__opt-prices {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .bt-quote-dd__thumb,
  .bt-quote-dd__opt-thumb {
    width: 44px;
    height: 32px;
  }

  .bt-quote-dd__trigger {
    padding: 10px 12px;
    gap: 10px;
  }

  .bt-quote-dd__name {
    font-size: 13px;
  }

  .bt-quote-dd__sub,
  .bt-quote-dd__opt-sub {
    font-size: 11px;
  }
}
