/*  INPUT TELEPHONE WITH FLAGS */
.iti {
  width: 100%;
  max-width: calc(50% - 16px);
  display: flex !important;
  border: 0.0625rem solid var(--cross-grey-scale-05-light-grey);
  border-radius: 0.25rem;
}

.iti input {
  max-width: 100% !important;
  height: 3rem;
  border: none !important;
  margin-left: 1.125rem !important;
  background-color: transparent;
}

.iti input:focus, .iti input:focus-visible, .iti input.focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: var(--white) !important;
}

.iti .iti__flag-container {
  position: relative;
}

.iti .iti__flag-container:hover .iti__selected-flag {
  background-color: transparent !important;
}

.iti .iti__flag-container:after {
  content: "";
  width: 0.0625rem;
  height: 1.5rem;
  display: block;
  position: absolute;
  top: 0.6875rem;
  right: -0.4375rem;
  background: var(--cross-grey-scale-04-grey);
  z-index: 1;
}

.iti .iti__flag-container .iti__selected-flag {
  background: var(--white);
}

.iti .iti__flag-container .iti__selected-flag .iti__arrow {
  order: 1;
  margin-right: 0.9375rem;
}

.iti .iti__flag-container .iti__selected-flag .iti__flag {
  order: 2;
}

.iti .iti__flag-container .iti__selected-flag .iti__selected-dial-code {
  order: 3;
}

@media (max-width: 47.9375rem) {
  .iti {
    max-width: 100%;
  }
}
:root {
  --adr-color-error: #C62828; /* Ho preso il colore rosso dal tuo CSS esistente */
}

.product-container {
  font-family: "Gabarito", sans-serif;
}

/* --- Header Section --- */
.product-header-container {
  background-color: #f8f9fa; /* Sfondo grigio chiaro */
  padding: 40px 20px;
  text-align: center;
}

.product-header-container h1 {
  font-weight: bold;
  margin-bottom: 30px;
}

.product-header-container img {
  max-width: 100%;
  height: auto;
  border-radius: 15px; /* Angoli stondati */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- Detail Section --- */
.product-detail-container {
  padding: 40px 20px;
}

.product-title-blue {
  color: #0d6efd; /* Blu bootstrap */
  font-weight: bold;
}

.product-description {
  margin-top: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Purchase Section --- */
.purchase-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #dee2e6;
}

.purchase-title {
  font-weight: bold;
  color: #000;
}

.price-tagline {
  font-size: 1.5rem;
  margin-top: 15px;
  margin-bottom: 40px;
}

.solution--shower .price-tagline {
  margin-bottom: 10px;
}

.price-tagline .final-price {
  font-weight: bold;
  color: #198754; /* Verde bootstrap */
}

/* --- Step Wizard --- */
.step-wizard {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Allinea gli item in alto */
  position: relative;
  margin-bottom: 30px;
  scroll-margin-top: 60px;
}

.step-wizard-line {
  position: absolute;
  top: 17px; /* Metà altezza del cerchio */
  left: 8%; /* Spazio per non sovrapporre il primo cerchio */
  right: 8%; /* Spazio per non sovrapporre l'ultimo cerchio */
  height: 2px;
  background-image: linear-gradient(to right, #D7E1ED 50%, transparent 50%);
  background-size: 4px 4px; /* Larghezza del trattino + spazio, altezza della linea */
  background-repeat: repeat-x;
  z-index: 1;
}

.step-wizard-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%; /* Inizialmente a 0, aggiornato via JS */
  background-color: #D7E1ED; /* Colore della linea continua (nero) */
  transition: width 0.4s ease;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2; /* Sopra la linea */
  width: 16%; /* Larghezza per ogni item */
}

.step-number {
  width: 35px;
  height: 35px;
  border: 2px solid #D7E1ED; /* Bordo grigio */
  border-radius: 8px; /* Cerchio */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #343a40; /* Testo grigio */
  background-color: #fff; /* Sfondo bianco per stare sopra la linea */
  transition: all 0.4s ease;
  font-size: 24px;
}

.step-label {
  margin-top: 10px;
  font-weight: 500;
  color: #6c757d; /* Grigio scuro per la label */
  transition: all 0.4s ease;
}

/* Stato Attivo */
.step-item.active .step-number {
  border-color: #343a40; /* Bordo blu */
  color: #343a40; /* Testo blu */
}

.step-item.active .step-label {
  color: #343a40;
  font-weight: 700;
}

.step-item.completed .step-number {
  border-color: #D7E1ED; /* Bordo grigio chiaro, come richiesto */
  background-color: #FFFFFF; /* Sfondo bianco, come richiesto */
  color: transparent; /* NASCONDE il numero di testo */
  /* Icona SVG con tratto (#) VERDE (%2300882E) */
  background-image: url("../img/check.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
}

.step-item.completed .step-label {
  color: #343a40;
  font-weight: 500;
}

.flatpickr-day.nextMonthDay, .flatpickr-day.prevMonthDay {
  color: #393939 !important;
}

/* Dimensione del radio button */
.product-radio-input {
  margin-top: 4px;
  margin-right: 10px;
  width: 20px !important;
  height: 20px !important;
  border-width: 2px !important;
  box-shadow: none !important;
}

/* Titolo del prodotto */
.product-title {
  font-family: "Gabarito", sans-serif; /* Assicurati che il font sia caricato */
  font-weight: 500;
  font-size: 24px;
  color: #0057A7;
}

/* Testo della descrizione e degli orari */
.product-info-text {
  font-size: 16px;
  color: #495057; /* Un grigio scuro ma non nero */
}

.product-info-text a {
  color: #0057A7;
  text-decoration: underline;
}

.product-info-text .icon {
  color: #6c757d; /* Grigio per le icone */
  font-size: 18px;
  vertical-align: middle;
}

/* Colonna di destra (Logo e Prezzo) */
.product-price-section {
  text-align: right;
}

.product-price-section .product-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.product-price-section .price-label {
  font-size: 14px;
  color: #6c757d;
}

.product-price-section .price-value {
  font-size: 24px;
  font-weight: bold;
  color: #0057A7;
}

/* Stili per il form dello Step 2 (Dettagli) - VERSIONE FINALE */
/* --- Gestione Icona a Sinistra --- */
.form-group.has-icon {
  position: relative;
}

.form-group.has-icon .form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
  z-index: 1;
}

.form-group.has-icon .form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none; /* L'icona non deve essere cliccabile */
}

.form-group.has-icon .form-control,
.form-group.has-icon .form-select {
  padding-left: 40px; /* Spazio per l'icona */
}

/* Nasconde l'icona di default del date picker */
input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

#dynamic-options-container .form-control[type=date] {
  padding-right: 0;
}

/* Stile per il componente Number Stepper */
.number-stepper {
  display: flex;
  align-items: center;
}

.number-stepper .stepper-btn {
  background-color: #0057A7; /* Colore primario blu */
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.25rem;
}

.number-stepper .stepper-btn:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.number-stepper .stepper-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  margin: 0 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  /* Rimuove le frecce di default dell'input number */
  -moz-appearance: textfield;
}

.number-stepper .stepper-input::-webkit-outer-spin-button,
.number-stepper .stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-label-container {
  margin-bottom: 0.5rem;
}

.stepper-sublabel {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Stili per i pulsanti Indietro/Successivo */
.wizard-nav-buttons .btn-secondary {
  background-color: transparent;
  border: 1px solid #0057A7;
  color: #0057A7;
  font-weight: bold;
}

.wizard-nav-buttons .btn-primary[disabled] {
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #adb5bd;
}

.modal-header .btn-close {
  background-image: url("../img/modal_btn_close.svg");
  /* Aggiungiamo anche altre proprietà di base per assicurarci che funzioni */
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  background-color: transparent;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1em auto;
}

/* Aggiungiamo anche lo stile per l'hover, per coerenza */
.modal-header .btn-close:hover {
  opacity: 0.75;
}

/* Se il tuo modal ha uno sfondo scuro (es. .modal-header-dark) */
.modal-header.modal-header-dark .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-content.porterage {
  border-radius: 1rem;
}

.options-disabled {
  opacity: 0.5;
  pointer-events: none; /* Impedisce qualsiasi interazione (click, hover, etc.) */
  transition: opacity 0.3s ease-in-out;
}

/* Stili per il calendario Flatpickr */
.flatpickr-day.day-full-free {
  background-color: #d4edda; /* Verde chiaro */
  border-color: #c3e6cb;
}

.flatpickr-day.day-partial-reserved {
  background-color: #fff3cd; /* Giallo/Arancio chiaro */
  border-color: #ffeeba;
}

.flatpickr-day.day-full-reserved {
  background-color: #f8d7da; /* Rosso chiaro */
  border-color: #f5c6cb;
  color: #721c24;
  text-decoration: line-through;
}

/* Migliora la leggibilità del giorno selezionato */
.flatpickr-day.selected.day-full-free,
.flatpickr-day.selected.day-partial-reserved,
.flatpickr-day.selected.day-full-reserved {
  color: #fff !important;
}

.payment-methods-wrapper .payment-option {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.payment-methods-wrapper .payment-option:hover {
  border-color: #0d6efd;
}

.payment-methods-wrapper .payment-option.selected {
  border-color: #0d6efd;
  border-width: 2px;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.payment-methods-wrapper .payment-option span {
  font-weight: 500;
}

.payment-methods-wrapper .payment-logos img {
  height: 24px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Contenitore principale del banner */
.coupon-success-banner {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #f1f3f6; /* Un grigio molto chiaro */
  border: 1px solid #e0e4e8;
  border-radius: 8px; /* Angoli arrotondati */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin-top: 16px;
  margin-bottom: 16px;
}

/* Icona SVG del check */
.coupon-success-banner .coupon-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  flex-shrink: 0; /* Evita che l'icona si rimpicciolisca */
}

/* Testo del codice coupon */
.coupon-success-banner .coupon-code-text {
  font-weight: bold;
  font-size: 16px;
  color: #111827;
  text-transform: uppercase;
}

/* Bottone per chiudere (la 'X') */
.coupon-success-banner .coupon-close-btn {
  margin-left: auto; /* Spinge il bottone a destra */
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0 4px;
  color: #374151;
}

/*** FAST TRACK ***/
.solution__title {
  font-family: "Gabarito", sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #004996;
}

.solution__subtitle {
  font-family: "Gabarito", sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.625rem;
  font-weight: 600;
}

.solution__price-info {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Gabarito", sans-serif;
}

.solution__price-label {
  font-weight: 700;
  color: #2058A1;
}

.solution__price {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2058A1;
  padding-left: 1rem;
  font-family: "Gabarito", sans-serif;
}

.solution__stepper {
  margin: 0 5%;
}

.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  list-style-type: none;
  padding: 0;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 1.063rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(50%, #d7e1ed), color-stop(50%, transparent));
  background-image: linear-gradient(to right, #d7e1ed 50%, transparent 50%);
  background-size: 10px 2px;
  z-index: -1;
}

.stepper::after {
  content: "";
  position: absolute;
  top: 1.063rem;
  left: 5%;
  height: 2px;
  background-color: #d7e1ed;
  width: 0;
  z-index: -1;
  transition: width 0.4s ease-in-out;
}

.stepper.step-2-active::after {
  width: 45%;
}

.stepper.step-3-active::after {
  width: 90%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
  padding: 0 0.625rem;
}

.step-number,
.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #ffffff !important;
  border: 2px solid #d7e1ed;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #415264;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #415264;
  text-transform: uppercase;
}

.step.active .step-number {
  background-color: #fff;
  border-color: #415264;
  color: #415264;
}

.solution__form {
  margin: 2rem 0 5rem;
}

.solution__form-content {
  max-width: 100%;
  margin: 0 8%;
  /*  margin: 0 auto;
      max-width: 780px; */
}

.solution__form-content.meeting {
  display: contents;
}

.form__title {
  font-size: 1.688rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form__subtitle {
  font-size: 1rem;
  color: #1c161c;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.form__wrapper {
  /*margin-bottom: 2.5rem;*/
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form__field,
.input__wrapper {
  position: relative;
}

.input__wrapper input {
  width: 100%;
  padding: 1rem 0.75rem 1rem 1.5rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  font-size: 1rem;
}

.input__wrapper > svg ~ input {
  padding: 1rem 0.75rem 1rem 2.5rem;
}

.input__wrapper.input-no-icon input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  font-size: 1rem;
}

.input__wrapper label {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #6E6E6E;
  pointer-events: none;
  transition: 0.2s ease all;
  background: transparent;
  font-weight: 500;
}

.input__wrapper > svg ~ label {
  left: 2.5rem;
}

.input__wrapper.groupiva_icon {
  padding-bottom: 1.5rem;
}

.input__wrapper.groupiva_icon label {
  left: unset;
  position: unset;
  margin-left: 5px;
  margin-right: 10px;
}

.input__wrapper.groupiva_icon input {
  width: unset;
}

.input__wrapper.input-no-icon label {
  left: 1rem;
}

.input__wrapper input:focus + .form-label,
.input__wrapper input:not(:placeholder-shown) + .form-label,
.input__wrapper input.has-value + .form-label {
  top: 0rem;
  font-size: 0.75rem;
  color: #6E6E6E;
  background: #fff;
  padding: 0 0.25rem;
}

.input__wrapper:has(input:disabled) {
  opacity: 0.5;
  pointer-events: none; /* Opzionale: rende l'intero blocco non cliccabile */
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.helper-text {
  font-size: 0.75rem;
  color: #6E6E6E;
  margin-top: 0.25rem;
  display: block;
  font-weight: 600;
}

.required-note {
  color: #15161C;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
}

.solution__btn-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ko__btn-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.meeting-point .solution__btn-wrap {
  margin-top: 0;
}

.solution__btn-wrap .btn.btn-primary,
.solution__btn-wrap .btn.btn-secondary {
  font-weight: 700;
  border: 0;
  opacity: 1;
  margin: 0;
  padding: 0.675rem 3rem;
}

.solution__container .btn.btn-primary,
.solution__btn-wrap .btn.btn-primary {
  background-color: #004996;
  color: #fff;
}

.solution__container.btn.btn.btn-secondary,
.solution__btn-wrap .btn.btn.btn-secondary {
  border: 1px solid #004996;
  background-color: #F3F6FA;
}

.solution__container .btn.btn-primary:hover,
.solution__btn-wrap .btn.btn-primary:hover {
  background-color: #052A5D;
}

.solution__btn-wrap .btn.btn-primary:disabled {
  background-color: #D7E1ED !important;
  cursor: not-allowed;
}

.btn-plus:disabled,
.btn-minus:disabled {
  background-color: #f3f6fa !important;
  color: #004996 !important;
  opacity: 1 !important;
}

.btn-plus:disabled:hover,
.btn-minus:disabled:hover {
  background-color: #DEE7F1 !important;
}

.passenger-form-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quantity-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quantity-selector {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.quantity-selector input[type=text] {
  text-align: center;
  height: 2.688rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #6E6E6E;
  border-radius: 4px;
  max-width: 4rem;
}

.btn.btn-plus,
.btn.btn-minus {
  padding: 0.5rem 1rem;
  border: none;
  max-width: 2.75rem;
  width: 100%;
  height: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.solution-divider {
  color: #999;
  margin: 1rem 0 2rem;
}

.form__wrapper-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0 0;
}

.number__passengers {
  font-size: 1rem;
  margin-top: 3rem;
  color: #000;
}

.summary__content {
  flex-direction: column;
  display: flex;
}

.summary__item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.summary__icon {
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.summary__text {
  display: grid;
  grid-template-columns: 120px auto;
  gap: 0.5rem;
  width: 100%;
  align-items: center;
}

.summary__text.porterage__grid {
  grid-template-columns: 190px 235px auto;
  align-items: center;
}

.summary__label,
.summary__detail {
  color: #15161C;
}

.summary__label {
  font-size: 0.875rem;
}

.summary__detail {
  font-weight: 700;
  font-size: 1rem;
}

.summary__uppercase {
  text-transform: uppercase;
}

/*** SHOWER ***/
.solution__info {
  background: #f2f6fa;
  border-left: 0.25rem solid #007ef6;
  padding: 0.625rem;
  font-family: "Gabarito", sans-serif;
  color: #1c161c;
  margin-bottom: 2rem;
}

.solution__info.no-active:active {
  border-left: 0.25rem solid #007ef6;
}

.solution__info.no-mb {
  margin-bottom: 0px;
}

.solution__info-content {
  display: flex;
  align-items: center;
}

.info-icon {
  padding-right: 1rem;
}

.info-title {
  font-size: 1rem;
  font-weight: 500;
}

.info-text {
  font-size: 0.875rem;
  font-weight: 400;
}

.solution__container a {
  text-decoration: underline;
  color: #2f7df7;
}

.solution__container a:hover,
a.link-area-lounge {
  color: #004996;
  text-decoration: underline;
}

a.link-area-lounge:hover {
  text-decoration: underline;
  color: #2f7df7;
}

.alert-success a {
  color: #1e5e2d;
}

.alert-success a:hover {
  color: #164220;
}

.stepper a,
.stepper a:hover {
  text-decoration: none;
}

/*** VIP LOUNGE ***/
.service__item {
  border-bottom: 1px solid #ddd;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.service__item-image {
  height: 2rem;
}

.service__item-content {
  flex: 2;
}

.service__item-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.meeting_service__item-header {
  margin-bottom: 0;
}

.service__item-aside {
  text-align: right;
}

.service__item input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #6E6E6E;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  top: 2px;
  margin-right: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service__item input[type=radio]:checked::before,
.passenger__type input[type=radio]:checked::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #013e75;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.service__item-title {
  font-size: 1.688rem;
  color: #0057a7;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service__item-title span {
  display: block;
}

.service__item-description {
  font-size: 1rem;
  color: #1c161c;
  margin-left: 2.7rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.service__item-details {
  display: flex;
  gap: 0.6rem;
  margin-left: 2.7rem;
  font-weight: 500;
  font-size: 0.938rem;
  justify-content: space-between;
  align-items: flex-start;
}

.service__item-details.location {
  align-items: center;
}

.service__item-main-details {
  display: block;
}

.service__item-hour,
.service__item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service__item-hour svg,
.service__item-location svg {
  flex-shrink: 0;
}

.service__item-logo {
  margin-bottom: 1.5rem;
}

.service__item-logo.service__item-capacity {
  margin-bottom: 0.5rem;
}

.service__item-price {
  align-items: flex-end;
  text-align: right;
}

.service__item-price span {
  font-size: 1.125rem;
  color: #282f36;
  font-family: "Gabarito", sans-serif;
}

.service__item-price strong {
  font-size: 1.5rem;
  color: #2058a1;
  font-weight: 600;
  padding-left: 0.5rem;
}

.input__wrapper select {
  width: 100%;
  padding: 1rem 0.75rem 1rem 2.5rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  font-size: 1rem;
  background: #fff;
  appearance: none;
}

.input__wrapper.input-no-icon input,
.input__wrapper.input-no-icon select {
  width: 100%;
  height: 3.2rem;
  padding: 0 1rem;
  line-height: 3.2rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  font-size: 1rem;
  background: #fff;
  color: #15161C;
  box-sizing: border-box;
}

.input__wrapper.input-no-icon select {
  appearance: none;
}

.input__wrapper select + label {
  position: absolute;
  top: 50%;
  left: 2.5rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #6E6E6E;
  pointer-events: none;
  transition: 0.2s ease all;
  background: transparent;
  font-weight: 500;
}

.input__wrapper select:focus + label,
.input__wrapper:has(select:valid) label {
  top: 0rem;
  font-size: 0.75rem;
  color: #6E6E6E;
  background: #fff;
  padding: 0 0.25rem;
}

.solution--ko {
  text-align: center;
}

/*** MEETING ***/
.meeting__capacity {
  margin-left: 2.7rem;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: #1c161c;
}

.capacity-number {
  font-weight: 700;
}

.desktop--only {
  display: block;
}

.mobile--only {
  display: none;
}

.meeting__aside {
  align-self: flex-end;
  text-align: right;
  margin-top: 2rem;
}

.addon__aside {
  text-align: right;
  margin-top: 2rem;
  flex: 1.2;
}

.service__disabled label,
.service__disabled strong {
  color: #d7e1ed;
}

.service__disabled .service__item-description,
.service__disabled .service__item-price span {
  color: #b8b8b8;
}

.service__disabled input[type=radio] {
  border: 1px solid #dfdfdf;
}

.service__disabled input,
.service__disabled label {
  cursor: not-allowed;
}

.solution--luggage .col-md-7 .summary__text {
  grid-template-columns: 180px auto;
}

/*** LUGGAGE ***/
.passenger__type {
  font-size: 1rem;
  color: #15161C;
  font-weight: 400;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
}

.passenger__type input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #6E6E6E;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  margin-right: 1rem;
  flex-shrink: 0;
}

.icon__box {
  display: flex;
  color: #6E6E6E;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
  text-align: center;
  height: 2.688rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #6E6E6E;
  border-radius: 4px;
  max-width: 4rem;
}

.modal__overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal__window {
  background: #fff;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 815px;
  width: 100%;
  padding: 2rem;
}

.modal__window img {
  max-width: 750px;
}

.modal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

h2.modal__title {
  font-family: "Gabarito", sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.btn.btn-primary.porterage {
  font-size: 16px;
  width: 20%;
}

.modal__text.porterage {
  padding-left: 1.8rem;
}

.modal__text {
  font-size: 1.375rem;
}

.modal__btn-wrap {
  margin: 1.8rem 0 1rem;
  text-align: center;
}

.modal__list-icon {
  list-style: none;
  padding: 0;
}

.modal__list-icon li {
  position: relative;
  padding: 0 2rem;
  font-size: 1.375rem;
  margin: 1.8rem;
  line-height: 1.875rem;
}

.modal__list-icon li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: url("../img/check-list.svg") no-repeat center/contain;
}

.solution__form textarea {
  height: 140px;
}

.solution--luggage .col-md-7 .summary-text-content {
  grid-template-columns: 190px auto !important;
}

.phone__group {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.phone__prefix-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  background: #fff;
  flex: 0 0 80px;
}

.phone__number-field {
  flex: 1;
}

.phone__number-field input {
  width: 100%;
  padding: 1rem 0.75rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  outline: none;
}

.field__error label,
.field__error input,
.error__text {
  color: #C62828;
}

.field__error input {
  border: 1px solid #C62828 !important;
}

.field__error input:focus + .form-label,
.field__error input:not(:placeholder-shown) + .form-label {
  color: #C62828;
}

.field__error svg path {
  stroke: #C62828;
}

.error__text {
  margin-top: -1rem;
  margin-bottom: 0;
}

.floating-label textarea {
  width: 100%;
  padding: 1rem 0.75rem;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  outline: none;
  resize: vertical;
  min-height: 100px;
}

.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.75rem;
  background: #fff;
  padding: 0 0.25rem;
  color: #6E6E6E;
}

.input__wrapper-textarea textarea:focus + label,
.input__wrapper-textarea textarea:not(:placeholder-shown) + label {
  top: 0rem;
  left: 0.5rem;
  font-size: 0.75rem;
  background: #fff;
  padding: 0 0.25rem;
  color: #6E6E6E;
}

.input__wrapper-textarea label {
  top: 1.5rem;
  left: 1.5rem;
  transition: 0.2s ease all;
}

/*** CARRELLO ***/
.cart__container {
  margin: 2rem 0 5rem;
  display: flex;
  flex-flow: column;
  gap: 1.5rem;
  color: #15161C;
}

.cart__container .solution__form {
  margin: 2rem 0 0;
}

.cart__main-title {
  font-family: "Gabarito", sans-serif;
  font-size: 2rem;
  font-weight: 600;
}

.cart__subtitle {
  font-size: 1.125rem;
  font-family: "Gabarito", sans-serif;
  font-weight: 400;
}

.cart__item-header {
  display: flex;
  justify-content: flex-end;
  font-family: "Gabarito", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #052a5d;
  text-transform: uppercase;
}

.cart__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 2px solid #e3e3e3;
}

.cart__item-details {
  display: flex;
  flex-direction: column;
}

.cart__item-options span::after {
  content: "|";
  margin: 0 1rem;
  color: #dcdcdc;
  font-weight: 300;
}

.cart__service-name {
  font-size: 1.125em;
  font-weight: 600;
  color: #15161c;
  margin-bottom: 1.6rem;
}

.cart__item-options {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.cart__remove-btn {
  background: none;
  color: #052A5D;
  cursor: pointer;
  font-size: 0.85em;
  border: 0;
  padding: 0;
  font-weight: 500;
}

.cart__remove-btn:hover {
  text-decoration: underline;
}

.cart__item-price {
  font-size: 1.5em;
  font-weight: 400;
  color: #004996;
}

.cart__total-row {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 20px 0;
  border-bottom: 2px solid #e3e3e3;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
}

.cart__total-label,
.cart__total-price {
  color: #004996;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: "Gabarito", sans-serif;
}

.cart__total-discount {
  max-width: 10rem;
  width: 100%;
  font-size: 1.125rem;
  color: #8b8b8b;
  text-decoration: line-through;
  text-align: center;
  font-weight: 400;
}

.cart__discount-section {
  margin-top: 30px;
  padding-top: 20px;
}

.cart__discount-section h2 {
  font-size: 1.125rem;
  color: #15161c;
  margin-bottom: 15px;
  font-weight: 600;
}

.cart__discount-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cart__discount-input-group input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
  font-size: 1em;
  max-width: 250px;
  width: 100%;
}

.cart__apply-btn {
  margin: 0 !important;
}

.cart__discount-info {
  font-size: 0.8em;
  color: #15161C;
  margin-top: 0;
}

.cart__checkout-footer {
  margin-top: 40px;
  text-align: right;
}

.cart__confirm-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
}

.cart__confirm-btn:hover {
  background-color: #0056b3;
}

.cart__discount-code {
  display: flex;
  background-color: #f2f6fa;
  max-width: 350px;
  width: 100%;
  padding: 0.5rem;
}

.cart__discount-text {
  font-size: 1.125rem;
  color: #15161C;
  font-weight: 600;
  padding-left: 0.5rem;
}

.cart__discount-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.tipo__utente-row {
  justify-content: space-around;
}

.form__wrapper--payment input[type=radio] {
  display: none;
}

.cart__metodo-pagamento {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background: #fff;
}

.cart__metodo-pagamento:hover {
  border-color: #15161C;
}

.form__wrapper--payment input[type=radio]:checked + .cart__metodo-pagamento {
  border: 2px solid #15161C;
}

.metodo__pagamento-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.form__wrapper--payment {
  gap: 0.8rem;
  margin-bottom: 4rem;
}

h3.form__subtitle {
  font-family: "Gabarito", sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #15161C;
  padding-bottom: 1rem;
}

h4.metodo__pagamento-title {
  font-family: "Gabarito", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #15161C;
}

.form__field.no__padding .passenger__type {
  padding-left: unset;
}

.icon__box {
  padding-top: 2rem;
}

.form__field.form__field--checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

.form__field.form__field--checkbox > input[type=checkbox] {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.form__field.form__field--checkbox > label {
  margin: 0;
  line-height: 1.2;
}

.cart__info-text {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.8rem 0;
}

.info__icons {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*** THANK YOU PAGE ***/
.cart__container--confirmation > hr.solution-divider,
.cart__container--error > hr.solution-divider {
  margin-bottom: 0;
}

.cart__container--confirmation > .solution__btn-wrap,
.cart__container--error > .solution__btn-wrap {
  margin-top: 0.55rem;
}

h2#purchase__summary-heading,
h2#purchased__services-heading {
  font-size: 1.125rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #15161C;
  margin-bottom: 1.5rem;
}

.purchase__summary-label {
  font-size: 1.125rem;
  font-weight: 400;
  color: #15161C;
}

.purchase__summary-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #15161C;
}

.purchase__summary {
  margin-bottom: 1.5rem;
}

.purchase__summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.purchase__summary-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 1.5rem;
  align-items: center;
}

.purchased__service-list {
  padding-left: 1rem;
  margin-bottom: 0;
}

.purchased__service-list li {
  padding-bottom: 1.5rem;
}

.purchased__service-list li:last-child {
  padding-bottom: 0;
}

a.btn,
a.btn:hover {
  text-decoration: none;
}

.cart__container--confirmation .solution__info {
  margin-bottom: 1rem;
}

.extra__discount {
  margin-top: 0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #b8b8b8;
}

.extra__discount-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: #15161C;
}

/*** ERROR PAGE ***/
.cart__container--error {
  text-align: center;
}

.cart__container--error .solution__btn-wrap {
  justify-content: center;
}

.error__page-title {
  font-size: 1.875rem;
  color: #15161C;
  font-family: "Gabarito", sans-serif;
  font-weight: 700;
}

.error__page-text {
  font-size: 1.438rem;
  color: #15161C;
  font-family: "Gabarito", sans-serif;
  font-weight: 500;
}

.hidden {
  display: none !important;
}

.iti {
  width: 100%;
  max-width: 100% !important;
}

/* ========================================================== */
/* ====   OVERRIDE PER INTEGRAZIONE INTL-TEL-INPUT      ==== */
/* ========================================================== */
/* Applichiamo lo stile del bordo e dell'altezza al wrapper corretto */
.form__field .input__wrapper:has(input[type=tel]) {
  position: relative;
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  height: 3.2rem;
  transition: border-color 0.2s ease-in-out;
}

/* Annulliamo gli stili del contenitore .iti che creano il conflitto */
.form__field .iti {
  display: block !important;
  border: none !important;
  max-width: 100% !important;
  width: 100% !important;
  position: static;
  height: 100%;
  overflow: hidden;
}

/* Posizioniamo correttamente la bandiera */
.form__field .iti .iti__flag-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
}

/* Adattiamo la linea di separazione */
.form__field .iti .iti__flag-container::after {
  height: 60%;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

/* Sistemiamo l'input del telefono */
.form__field .iti input[type=tel] {
  width: 100%;
  height: 100% !important;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  /* Padding a sinistra per fare spazio alla bandiera (aggiusta se serve) */
  padding: 1.2rem 1rem 1.2rem 95px !important;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

/* Gestione della Label Fluttuante */
.form__field .input__wrapper:has(input[type=tel]) label {
  position: absolute;
  top: 50%;
  left: 95px; /* Allineata dopo la bandiera */
  transform: translateY(-50%);
  font-size: 1rem;
  color: #6E6E6E;
  pointer-events: none;
  transition: 0.2s ease all;
  background: #fff;
  font-weight: 500;
  padding: 0 0.25rem;
  z-index: 3; /* Sopra a tutto */
}

/* Classe 'is-filled' (gestita da JS) per animare la label */
.form__field .input__wrapper.is-filled label {
  top: 0;
  font-size: 0.75rem;
}

/* Gestione dello stato di errore */
.form__field .input__wrapper:has(.iti.is-invalid) {
  border-color: var(--adr-color-error) !important;
}

.form__field .input__wrapper:has(.iti.is-invalid) label {
  color: var(--adr-color-error) !important;
}

.input-chevron {
  position: absolute; /* Si posiziona rispetto al .input__wrapper che ha già position: relative */
  right: 15px; /* Distanza dal bordo destro */
  top: 50%;
  transform: translateY(-50%); /* Centra verticalmente */
  pointer-events: none; /* Fa in modo che il click "passi attraverso" la freccia e vada all'input */
}

.step-item {
  width: auto;
  padding: 0 3%;
}

.step-content {
  padding: 0 3%;
}

.date-container {
  position: relative;
}

/* Stile del placeholder personalizzato usando ::before */
input[type=date]::before {
  content: "GG-MM-AAAA"; /* Il tuo testo personalizzato */
  position: absolute;
  top: 50%;
  left: 10px; /* Adatta la posizione se necessario */
  transform: translateY(-50%);
  color: #999; /* Colore tipico di un placeholder */
  pointer-events: none; /* Permette di cliccare "attraverso" il testo */
}

/* Quando l'input ha un valore valido, nascondi il nostro placeholder */
input[type=date]:valid::before {
  display: none;
}

/* Quando l'input è a fuoco o ha un valore, nascondi il nostro placeholder */
/* Questa regola è aggiuntiva per una maggiore compatibilità */
input[type=date]:focus::before,
input[type=date]:not(:placeholder-shown)::before {
  display: none;
}

/* Stile per il campo di input (text, email, tel, textarea) quando non è valido */
.form__field input.is-invalid,
.form__field select.is-invalid,
.form__field textarea.is-invalid {
  border-color: var(--adr-color-error) !important;
}

/* Stile per la label associata a un campo non valido */
.form__field input.is-invalid + .form-label,
.form__field select.is-invalid + .form-label,
.form__field textarea.is-invalid + .form-label {
  color: var(--adr-color-error) !important;
}

/*
 * Adattamento per lo stile "floating" quando il campo è invalido.
 *    Forza il colore della label a rimanere rosso anche quando è "fluttuante".
 */
.form__field input.is-invalid:focus + .form-label,
.form__field input.is-invalid:not(:placeholder-shown) + .form-label,
.form__field select.is-invalid:focus + .form-label,
.form__field select.is-invalid:not(:placeholder-shown) + .form-label,
.form__field textarea.is-invalid:focus + .form-label,
.form__field textarea.is-invalid:not(:placeholder-shown) + .form-label {
  color: var(--adr-color-error) !important;
}

/* Stile specifico per il campo telefono (intl-tel-input) quando non è valido */
/*    Il plugin avvolge l'input, quindi dobbiamo puntare al contenitore .iti */
.form__field .iti.is-invalid {
  border: 1px solid var(--adr-color-error);
  border-radius: 2px; /* Mantiene lo stile degli altri input */
}

/*  Rimuove il bordo dall'input interno per evitare doppi bordi */
.form__field .iti.is-invalid input[type=tel] {
  border: none;
}

/* Stile per il messaggio di errore sotto l'input */
.invalid-feedback {
  display: none; /* Nascosto di default */
  width: 100%;
  margin-top: 0.25rem; /* Spazio dall'input */
  font-size: 0.875em;
  color: var(--adr-color-error);
  text-align: left;
}

/* Regola per MOSTRARE il messaggio di errore quando l'input è invalido */
/*    Funziona esattamente come prima, ma è più specifica per la tua struttura. */
.form__field:has(input.is-invalid) .invalid-feedback,
.form__field:has(select.is-invalid) .invalid-feedback,
.form__field:has(textarea.is-invalid) .invalid-feedback {
  display: block;
}

/* Stile per il wrapper del select quando è in stato di caricamento */
.input__wrapper.is-loading .time-spinner {
  display: inline-block; /* Mostra lo spinner */
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.input__wrapper.is-loading .input-chevron {
  display: none; /* Nasconde la freccia */
}

/* Stile base dello spinner (se non già presente) */
.time-spinner {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Stile per l'input non valido */
.form-control.is-invalid,
.input__wrapper.input-no-icon select.is-invalid {
  border-color: #dc3545; /* Colore rosso per l'errore */
}

/* Stile per il messaggio di errore */
.invalid-feedback {
  display: none; /* Nascosto di default */
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545; /* Colore rosso per l'errore */
}

/* Mostra il messaggio quando l'input è invalido */
.form__field:has(input.is-invalid) .invalid-feedback,
.form__field:has(textarea.is-invalid) .invalid-feedback,
.form__field:has(.iti.is-invalid) .invalid-feedback {
  display: block;
}

/* ========================================================== */
/* ==== FIX DEFINITIVO: STILE SELECT2 COME FLOATING LABEL ==== */
/* ========================================================== */
.form__field.floating-label.flight-form {
  height: 52px;
}

.flight-form .input__wrapper {
  height: 52px !important;
}

/* 1. Wrapper principale: è il nostro punto di riferimento con il bordo */
#flightDiv {
  position: relative;
  height: 100%;
  background-color: #fff;
}

#flightDiv .select2-container {
  height: 100%;
}

/* 2. Rimuoviamo completamente lo stile di default di Select2 */
#flightDiv .select2-selection--single {
  background-color: transparent !important;
  border: none !important;
  height: 100% !important;
  outline: none;
}

/* 3. Icona: posizionata in modo assoluto, z-index basso */
#flightDiv .input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

/* 4. Area del testo selezionato in Select2 */
#flightDiv .select2-selection__rendered {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 12px 0 45px; /* Padding per label e icona */
  line-height: normal !important;
  color: #15161C !important;
  z-index: 2;
}

/* 5. La freccetta di Select2 */
#flightDiv .select2-selection__arrow {
  height: 100% !important;
  right: 10px !important;
  z-index: 3;
}

#flightDiv span.select2-selection__arrow {
  display: none;
}

/* 6. Label: posizionata in modo assoluto, z-index più alto */
#flightDiv .form-label {
  position: absolute;
  top: 50%;
  left: 45px;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out;
  pointer-events: none;
  z-index: 4; /* Sopra tutto il resto */
  color: #6E6E6E;
  background-color: #fff;
  padding: 0 5px;
}

/* 7. Animazione della Label (basata sulle classi JS) */
#flightDiv.is-focused .form-label,
#flightDiv.is-filled .form-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.75rem;
}

/* 8. Bordo e stati di focus/errore applicati al WRAPPER */
#flightDiv {
  border: 1px solid #6E6E6E;
  border-radius: 2px;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#flightDiv.is-focused {
  box-shadow: 0 0 0 0.1rem rgba(0, 73, 150, 0.25);
}

#flightDiv.is-invalid {
  border-color: var(--adr-color-error) !important;
  box-shadow: 0 0 0 0.1rem rgba(198, 40, 40, 0.25);
}

#flightDiv.is-invalid .form-label {
  color: var(--adr-color-error) !important;
}

/* 9. Stile del dropdown di Select2 */
.select2-dropdown {
  border: 1px solid #6E6E6E;
  border-top: none;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.select2-search__field {
  border-color: #6E6E6E !important;
}

select.flight-select2 {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.datepicker {
  cursor: pointer;
}

.checkout-overlay {
  /* Per default è nascosto */
  display: none;
  /* Posizionamento per coprire l'intera pagina */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Sfondo semi-trasparente */
  background-color: rgba(255, 255, 255, 0.7);
  /* Assicura che sia sopra tutto il resto */
  z-index: 9999;
  /* Centra il loader al suo interno */
  justify-content: center;
  align-items: center;
}

.modal-body {
  border-top: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Quando l'overlay è attivo, mostralo usando flex per la centratura */
.checkout-overlay.is-active {
  display: flex;
}

@media (max-width: 992px) {
  .solution-stepper {
    margin: 0 5%;
  }
  .form__row {
    flex-direction: column;
  }
  .form__row.codicedest_icon {
    flex-direction: row;
  }
  .form__wrapper-summary .form__row {
    gap: 0;
  }
  .solution__form-content {
    margin: 0;
  }
  .solution--luggage .col-md-7 .summary__text,
  .solution--luggage .col-md-5 .summary__text {
    grid-template-columns: 160px auto !important;
  }
  .service__item {
    display: block;
    padding: 1.5rem 0;
  }
  .service__item-logo-img {
    display: none;
  }
  .desktop--only {
    display: none;
  }
  .mobile--only {
    display: block;
  }
  .error__page-title {
    font-size: 1.688rem;
  }
  .error__page-text {
    font-size: 1.313rem;
  }
  .btn.btn-primary.porterage {
    font-size: 16px;
    width: auto;
  }
}
@media (max-width: 768px) {
  .solution__btn-wrap {
    flex-direction: column-reverse;
    width: 100%;
  }
  .purchase__summary-grid {
    grid-template-columns: 1fr; /* una colonna sola */
  }
  .step-label {
    display: none;
  }
  .step-content {
    padding: 0;
  }
  .form__field.col-12,
  .form__field.col-md-5,
  .form__field.col-md-7 {
    padding: 0;
  }
  input[type=number] {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .service__item-logo {
    display: none;
  }
  .service__item-logo.service__item-capacity {
    display: block;
  }
  .service__item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Aggiunge un po' di spazio verticale tra le due righe */
  }
  .service__item-details.location {
    align-items: flex-start;
  }
  .service__item-price {
    align-self: flex-end;
  }
  .step-wizard {
    scroll-margin-top: 50px;
  }
  .meeting_service__item-header {
    flex-direction: column;
  }
  h2.modal__title {
    font-family: "Gabarito", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .modal__text {
    font-size: 1.175rem;
  }
  .modal__list-icon li {
    position: relative;
    padding: 0 2rem;
    font-size: 1.175rem;
    margin: 1.5rem;
    line-height: 1.575rem;
  }
  .modal__list-icon li::before {
    width: 12px;
    height: 12px;
  }
  .input__wrapper input {
    padding: 1rem 0.75rem 1rem 1.5rem;
  }
  modal__list-icon li {
    font-size: 1.3rem;
    margin: 1rem 0rem;
  }
  .modal__btn-wrap .btn {
    width: auto;
    padding: 0.75rem 4rem;
  }
  .btn.btn-primary.porterage {
    font-size: 16px;
    width: auto;
  }
  .cart__item-options {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart__remove-btn {
    padding-top: 1rem;
  }
}
@media (max-width: 468px) {
  .solution__price {
    font-size: 1.8rem;
    padding: 0;
  }
  #price-conjunction {
    font-size: 0.7rem;
    padding: 0;
  }
  .form__title {
    font-size: 1rem;
  }
  .modal__text {
    font-size: 1rem;
  }
  .modal__list-icon li {
    position: relative;
    padding: 0 2rem;
    font-size: 1rem;
    margin: 1.5rem;
    line-height: 1.375rem;
  }
  .service__item-details.location {
    align-items: flex-start;
  }
  .summary__text.porterage__grid {
    grid-template-columns: 115px auto;
  }
  .btn.btn-primary.porterage {
    font-size: 16px;
    width: auto;
  }
  .cart__item-options {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart__remove-btn {
    padding-top: 1rem;
  }
  .cart__item-options span::after {
    display: none;
  }
}
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: #393939 !important;
}

.flatpickr-day.prevMonthDay.flatpickr-disabled {
  color: rgba(57, 57, 57, 0.1019607843) !important;
}

.required-note.font__w600 {
  font-weight: 600;
}

.ico-adr-cart-empty {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background-image: url("../img/icona_carrello_vuoto.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Cambia il cursore quando passi sopra al select o all’intera area */
.input__wrapper:hover select,
.input__wrapper:hover .input-chevron,
.input__wrapper:hover .input-icon {
  cursor: pointer;
}