/* Reset y ajustes básicos - apply to all devices */
body,html {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
}

/* Mobile and Tablet Styles (devices under 800px) */
@media (max-width: 994px) {

  /* Debug indicator - remove after testing 
  body::before {
    content: "Mobile/Tablet View Active";
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 9999;
    border-radius: 4px;
  }
*/

  .user-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: auto;
  }

  .user-actions .login-btn {
    background-color: #f3f7ff;
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;

  }



  .lang-currency,
  .user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: lighter;
  }


  .lang-currency a,
  .user-actions a {
    text-decoration: none;
    color: #333;
  }

  .head-options.active {
    background: #e2eeff;
    border-radius: 5px;
  }

  .head-options.active:hover {
    background-color: #cce0ff;
  }

  .head-options i {
    transition: transform 0.3s ease;
  }


  .dropdown-menu {
    position: absolute;
    margin-top: 4px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
    text-wrap: nowrap;
  }

  .dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }

  .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2001;
  }

  .dropdown-menu.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Espaciado entre el ícono y el texto */
    padding: 12px 8px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
  }

  .dropdown-menu a img {
    object-fit: contain;
  }

  .dropdown-menu a:hover {
    background: #f5f5f5;
  }

  .dropdown-container {
    position: relative;
    display: inline-block;
  }

  .dropdown-container {
    position: relative;
    display: inline-block;
  }

  /* Header y wrapper */
  .header-wrapper {
    border-bottom: 1px solid #e0e0e0;
    position: relative;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 20px;
  }

  .lang-currency {
    display: flex;
    align-items: center;
    margin-left: auto;

  }

  .lang-currency a.head-options:nth-child(5) {
    font-size: 0;
  }

  .lang-currency a.head-options:nth-child(5) i {
    font-size: 16px;
  }

  .user-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
  }



  .lang-currency .dropdown-container,
  .lang-currency .idioma {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .logo {
    display: flex;
    align-items: center;
    /* ajusta si ves que queda desfasado */
  }

  .logo img {
    height: auto;
    max-width: 60px;
  }



  .promo-banner {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .head-options.active {
    background: #e2eeff;
    border-radius: 5px;
  }

  .head-options.active:hover {
    background-color: #cce0ff;
  }

  .head-options i {
    transition: transform 0.3s ease;
  }


  .dropdown-menu {
    position: absolute;
    margin-top: 4px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
    text-wrap: nowrap;
  }

  .dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }

  .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2001;
  }

  .dropdown-menu.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Espaciado entre el ícono y el texto */
    padding: 12px 8px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
  }

  .dropdown-menu a img {
    object-fit: contain;
  }

  .dropdown-menu a:hover {
    background: #f5f5f5;
  }

  .dropdown-container {
    position: relative;
    display: inline-block;
  }

  .dropdown-container {
    position: relative;
    display: inline-block;
  }

  .dropdown-menu-phone {
    position: absolute;
    margin-top: 6px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 430px;
    z-index: 1000;
    font-family: sans-serif;
    overflow: hidden;
  }

  .dropdown-menu-phone {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }

  .dropdown-menu-phone.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2001;
  }

  .dropdown-menu-phone.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }


  .dropdown-content {
    display: none;
  }



  .dropdown-footer {
    background-color: #eef5ff;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    color: #1a73e8;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .dropdown-footer img {
    width: 18px;
    height: 18px;
  }

  .head-options .chevron {
    transition: transform 0.3s ease;
  }

  .head-options.active .chevron {
    transform: rotate(180deg);
  }

  .flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* NAV */
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: left !important;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    gap: 15px;
  }

  nav a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
  }

  nav a:hover {
    color: #0056b3;
  }

  .fa-plane:before,
  .fa-bed:before,
  .fa-luggage-cart:before,
  .fa-discord:before {
    color: #003b98;
  }

  .fa-fire::before {
    color: red;
  }

  /* Línea azul permanente en el primer enlace */
  nav a:first-child {
    border-bottom: 3px solid #007bff;
  }

  /* Línea animada */
  nav a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    border-radius: 15px;
  }

  nav a:hover::after {
    transform: scaleX(1);
    border-radius: 15px;
  }

  /* Quita la animación en el primero (ya tiene línea) */
  nav a:first-child::after {
    display: none;
  }




  /* Header Section */
  .supra-container h1 {
    padding-right: 20px;
    font-size: calc(1.0375rem + 1vw);
    text-align: center;
  }

  .subtitulo {
    margin-right: 20px;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
  }


  .supra-container {
    position: relative;
    background-color: #0056b3;
    border-bottom: 2px solid #ccc;
    margin-left: auto;
  }

  /* fondo blanco a la izquierda */
  /* Parte blanca (izquierda + parte del centro en diagonal) */
  .supra-container::before {
    
    background: none;
    clip-path: polygon(none);
  }

  /* Parte azul degradada (derecha) */
  .supra-container::after {
    position: absolute;
    background: none; 
     clip-path: polygon(none);
    inset: 0;
    z-index: 0;
  }

  /* Título principal */
  .supra-container h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: right;
    padding-right: 10px;
    color: #fff;
    margin-right: 150px;
  }

 
    /* Contenedor blanco */
    .container {
      max-width: 568px;
      width: 90%;
      margin: 50px auto 0 auto;
      background-color: #fff;
      padding: 30px 30px;
      border-radius: 5px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
      /* Cambiado para sombra uniforme */
      overflow: visible;
      position: relative;
      z-index: 2000;
  }

  /* Subtítulo */
  .subtitulo {
    color: white;
    margin-top: 15px;
    text-align: right;
    font-size: 0.95rem;
    margin-right: 150px;
  }

  /* Layout del formulario */
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hidden {
    display: none !important;
  }

  /* Botón BUSCAR estilizado */
  button.buscar {
    width: 100%;
    background-color: #1a73e8;
    color: white;
    font-weight: 600;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
  }

  button.buscar:hover {
    background-color: #0f5bb5;
  }

  /* Container */
  .container {
    margin: 30px auto 0 auto;
    padding: 20px 15px;
    width: 100%;
  }

  /* Form Layout */
  .form-row {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  /* RADIO BUTTONS */
  .radio-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    justify-content: left;
  }

  /* Estilo de los botones de radio */
  .radio-buttons input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007bff;
    /* Borde azul */
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin-right: 8px;
    background-color: white;
    /* Fondo blanco inicial */
  }

  .radio-buttons input[type="radio"]:checked {
    background-color: white;
    /* Fondo blanco entre el borde y el centro */
    border-color: #007bff;
    /* Borde azul */
    box-shadow: inset 0 0 0 2px white, inset 0 0 0 8px #007bff;
    /* Espacio blanco y centro azul */
  }

  .radio-buttons label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    margin-right: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* Campos con label encima y línea debajo */
  .field {
    display: flex;
    flex-direction: column;
    /* Label arriba, input abajo */
    min-width: 120px;
    /* Ajusta si necesitas más ancho */
  }

  /* Label del campo */
  .field-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    font-weight: normal;

  }

  /* Contenedor del input e ícono */
  .field-content {
    position: relative;
    /* Asegura que el dropdown se posicione relativo a este contenedor */
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* La línea debajo del input */
  .field-underline {
    width: 100%;
    height: 1px;
    background-color: #ccc;
  }

  /* El ícono a la izquierda */
  .field-content i {
    font-size: 16px;
    color: rgb(52, 52, 52);
  }

  /* El input en sí */
  .field-content input {
    border: none;
    outline: none;
    font-size: 14px;
    background: none;
    width: 100%;
  }


  /* Search Button */
  button.buscar {
    width: 100%;
    padding: 12px 25px;
    margin-top: 10px;
  }

  /* Dropdowns */
  .dropdown {
    position: absolute;
    z-index: 1001;
    top: calc(100% + 5px);
    left: 0;
    width: 400px;
    /* Ancho suficiente para evitar scroll horizontal */
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 5px;
    max-height: 400px;
    /* Altura máxima */
    overflow-y: auto;
    /* Scroll vertical si hay demasiadas ciudades */
    display: flex;
    flex-direction: column;
    /* Alinea las ciudades en una columna */
    gap: 10px;
    /* Espaciado entre las ciudades */
  }

  .dropdown-item {
    padding: 8px;
  }

  .dropdown-item img {
    width: 50px;
    height: 40px;
  }

  .dropdown-item .city-info span {
    font-size: 14px;
  }

  .dropdown-item .city-code {
    font-size: 14px;
    margin-left: 10px;
  }



  .calendar {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 20px;
  }

  .calendar .month {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .calendar .month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .calendar .month-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #007bff;
  }

  .calendar .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
  }

  .calendar .day {
    padding: 5px;
    cursor: pointer;

    transition: background 0.3s;
    will-change: transform;
  }

  .calendar .day:hover {
    background: #1d87da;
    border-radius: 50% 0% 0% 50%;
  }

  .calendar .day:hover:not(.start):not(.end) {
    background: #f0f0f0;
  }

  .day.disabled {
        pointer-events: none;
        opacity: 0.5;
        /* opcional: indicar visualmente que está inactivo */
        color: #999;
        /* opcional: tono más claro */
    }

  /* 5) El “in-range” (rango entre start y hover) lo desactivamos o le damos fondo claro */
  .calendar .day.in-range {
    background: #e6f3ff;
    color: #333;
    border-radius: 0;
  }

  .calendar .day.temp-range {
    transform: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #1d87da !important;
  }





  .calendar .day.start {
    position: relative;
    background: #007bff;
    color: white;
    border-radius: 50% 0% 0% 50%;

  }

  .calendar .day.end {
    position: relative;
    background: #007bff;
    color: white;
    border-radius: 0 50% 50% 0;
  }

  .calendar .day.start::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #007bff !important;
  }

  .calendar .day.end::after {
    left: -5px;
    border-width: 5px 5px 5px 0;
    border-color: transparent #007bff transparent transparent;
  }

  /* Hover para la segunda fecha (con la puntica hacia la izquierda) */
  .calendar .day.end::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
    /* Cambia la posición hacia la izquierda */
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #007bff transparent transparent;
  }



  /* Tooltip para los días de diferencia */
  .tooltip {
    position: absolute;
    /* no toques top/left aquí, lo calculas en JS */
    transform: translateX(-50%);
    background: #fff;
    color: #555;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    display: none;
    z-index: 2000;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* borde exterior de la flechita */
  .tooltip::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.1);
  }

  /* relleno interior blanco de la flechita */
  .tooltip::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
  }




  /* Hover dinámico para la última fecha del rango (simula la clase .end) */
  /* 2) Punto final provisional (derecha) */
  .calendar .day.temp-range.hover-end {
    background: #007bff !important;
    color: #fff !important;
    border-radius: 0 50% 50% 0 !important;
  }

  /* Puntica hacia la izquierda para la última fecha del rango en hover */
  .calendar .day.temp-range.hover-end::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
    /* Posición hacia la izquierda */
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #007bff transparent transparent;
  }

  /* 3) Día en medio (hover) */
  .calendar .day.temp-range:not(.hover-end):not(.start) {
    background: #fff;
    color: #333;
    position: relative;
    border-radius: 0;
  }

  .calendar .day.temp-range:not(.hover-end) {
    background: #007bff !important;
    color: #fff;
    border-radius: 50% 0 0 50% !important;
    transform: none !important;
    margin: 0 !important;
  }

  /* 2) Quitar redondeo en los intermedios */
  .calendar .day.temp-range:not(.start):not(.hover-end) {
    background: #e6f3ff !important;
    color: #333 !important;
    border-radius: 0 !important;
    transform: none !important;
    margin: 0 !important;
  }

  /* 4) Poniendo de nuevo las esquinas redondeadas en los extremos */
  /* extremo izquierdo */
  .calendar .day.temp-range.start {
    border-radius: 50% 0 0 50%;
  }

  .calendar .day.temp-range:not(.start) {
    transform: translateX(-5px);
    /* asegúrate de resetear cualquier margin, por si acaso */
    margin: 0;
    /* y deshabilita transiciones en ese transform */
    transition: none;
  }

  /* punta derecha */
  .calendar .day.temp-range:not(.hover-end):not(.start)::after {
    border-width: 10px 0 10px 8px;
    border-color: transparent transparent transparent #fff;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Hover dinámico para la última fecha del rango (simula la clase .end) */




  /* Solo el día exacto con punta (hover-end) */

  .calendar .day.hover-end::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #007bff transparent transparent;
  }

  .calendar .day:hover:not(.start):not(.end):not(.temp-range) {
    background: #007bff;
  }

  .passenger-dropdown {
    position: absolute;
    top: 100%;
    /* Justo debajo del input */
    left: 0;
    width: 284px;
    /* Ajusta el ancho */
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 12px;
    /* Bordes más cuadrados */
    padding: 20px;
    font-family: 'Poppins SemiBold', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: auto;
  }

  .passenger-dropdown h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
  }

  .passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .passenger-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    /* Alinea los botones a la derecha */
  }

  .passenger-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    /* Alinea los botones a la derecha */
  }

  .passenger-controls button {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 50%;
    /* Hace que el botón sea perfectamente redondo */
    width: 44px;
    /* Asegúrate de que el ancho sea igual a la altura */
    height: 44px;
    /* Asegúrate de que la altura sea igual al ancho */
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  }

  .passenger-controls button:hover {
    background: #e4e5e6;
    box-shadow: 0 calc(0.5px* 8) calc(1px* 8) hsla(210, 18%, 4%, 0.14), 0 calc(0.5px* 8) calc(1px* 8) hsla(210, 18%, 4%, 0.14);
  }

  .passenger-controls span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

  #child-ages {
    margin-top: 10px;
  }

  .child-age-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .child-age-row span {
    font-size: 14px;
    color: #333;
  }

  .child-age-row select {
    width: 100%;
    max-width: 150px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
  }

  .passenger-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .passenger-actions button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    /* Bordes más cuadrados */
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s, box-shadow 0.3s;
    width: 100%;
    /* Botón centrado y ancho */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Sombra inicial */
  }

  .passenger-actions button:hover {
    background: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Más sombra al hacer hover */
  }

  #close-passenger-dropdown {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
  }

  #close-passenger-dropdown:hover {
    color: #007bff;
  }

  .passenger-limit-message {
    display: none;
    /* Oculto por defecto */
    background: #f8f9fa;
    /* Fondo gris claro */
    border: 1px solid #007bff;
    /* Borde azul */
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .passenger-limit-message i {
    color: #007bff;
    /* Ícono azul */
    font-size: 18px;
  }

  .passenger-limit-message span {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
  }

  /* Modal Dialog */
  dialog {
    width: 70%;
    padding: 15px;
  }

  .modal-header h2 {
    font-size: 18px;
  }

  .option {
    padding: 8px;
    font-size: 14px;
  }

  .apply-btn {
    padding: 10px 15px;
    font-size: 14px;
    width: 100%;
  }
  
  .mobile-menu{
    display: none;
  }
}

@media (max-width: 768px) {
  .desktop-menu{
    display: none;
  }
}

@media (max-width: 767px) {
  /* Solución para el espacio blanco */
  body, html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Header principal */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    width: 100%;
  }
  
  .logo img {
    height: auto;
    max-width: 60px;
  }
  
  /* Ocultar elementos innecesarios en móvil */
  .lang-currency, 
  .user-actions {
    display: none;
  }
  /* Estilos para el menú móvil */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: block !important; /* Asegurarse de que no esté oculto por display:none */
  }
  
  /* Clase que se agrega cuando el menú está activo */
  .mobile-menu.active {
    right: 0 !important;
  }
  
  /* Botón de menú hamburguesa */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    position: absolute;
    right: 15px;
    top: 45%;
    transform: translateY(-50%);
    z-index: 1000;
  }
  
  /* Overlay para cuando el menú está abierto */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
  }
  
  .menu-overlay.active {
    display: block !important;
  }
  
  /* Cabecera del menú móvil */
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #2851a3;
    color: white;
  }
  
  .mobile-menu-header h2 {
    margin: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-header h2 i {
    margin-right: 10px;
  }
  
  .close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Sección promocional */
  .mobile-menu-promo {
    padding: 15px 20px 20px;
    background-color: #2851a3;
    color: white;
  }
  
  .mobile-menu-promo p {
    margin: 0 0 10px;
    font-size: 16px;
  }
  
  .mobile-menu-promo a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    position: relative;
  }
  
  .mobile-menu-promo a::after {
    content: ' >';
    font-size: 14px;
    margin-left: 2px;
  }
  
  /* Selector de idioma */
  .language-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .language-selector div {
    display: flex;
    align-items: center;
  }
  
  .language-selector .flag {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
  }
  
  /* Navegación principal */
  .mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-nav li {
    border-bottom: 1px solid #e0e0e0;
  }
  
  .mobile-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
  }
  
  .mobile-nav a i {
    margin-right: 15px;
    width: 24px;
    text-align: center;
    color: #2851a3;
  }
  
  /* Estilo para Vuelos con fondo azul claro */
  .mobile-nav li:first-child a {
    background-color: #f0f7ff;
    color: #2851a3;
  }
  
  /* Submenu */
  .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .submenu li {
    border-bottom: 1px solid #e0e0e0;
  }
  
  .submenu li:last-child {
    border-bottom: none;
  }
  
  .submenu a {
    padding-left: 50px;
    font-size: 15px;
  }
  
  /* Sección de servicio al cliente */
  .section-title {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-weight: bold;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 0;
    background-color: #f9f9f9;
  }
  
  .section-title i {
    margin-right: 10px;
    color: #555;
  }
  
  /* Opciones de ayuda */
  .help-options {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .help-options li {
    border-bottom: 1px solid #e0e0e0;
  }
  
  .help-options a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
  }
  
  .help-options a i {
    margin-right: 15px;
    width: 24px;
    text-align: center;
    color: #2851a3;
  }
  
  /* Sección de necesitas que te llamemos */
  .need-help {
    background-color: #e8f2ff;
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #d0e0f7;
  }
  
  .need-help a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2851a3;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
  }
  
  .need-help a i {
    margin-right: 10px;
    color: #2851a3;
  }


  
  /* Barra de navegación con pestañas */
  nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e0e0e0;
  }
  
  nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px 15px;
    white-space: nowrap;
  }
  
  nav a:first-child {
    color: #0056b3;
    background-color: #e6f0ff;
  }
  
  nav a i {
    margin-right: 5px;
  }
  
  .promo-actions{
    display: flex;
  }
  /* Banner promocional */
  .promo-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
  }

  .promo-banner strong{
    color: #dc3004;
  }

  .promo-banner
  
  .promo-banner span {
    font-size: 14px;
  }
  
  .btn-download {
    border: 2px solid #186cdf;
    color: #186cdf;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    letter-spacing: 0.02em;
  }
  
  .btn-close {
    background: none;
    border: none;
    font-size: 18px;
    margin-left: 5px;
    font-weight: bold;
  }
}


/* Mobile Specific Styles (under 480px) */
@media (max-width: 720px) {

  /* Debug indicator - remove after testing 
  body::before {
    content: "Mobile View Active";
    background: rgba(255, 0, 0, 0.7);
  }
  */

  .supra-container h1 {
    font-size: calc(1rem + 0.5vw);
  }

  .radio-buttons {
    
    align-items: flex-start;
  }

  .radio-buttons label {
    margin-right: 0;
    margin-bottom: 8px;
  }


  nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e0e0e0;
  }
  
  nav {
    scrollbar-width: auto;         /* Firefox */
    overflow-x: scroll !important; /* fuerza que aparezca */
  }
  
  nav::-webkit-scrollbar {
    height: 3px;                   /* Altura de la barra (horizontal) */
  }
  
  nav::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 3px;
  }
  
  nav::-webkit-scrollbar-track {
    background-color: #eee;
  }
  
  nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px 15px;
    white-space: nowrap; /* esto evita que se corten a varias líneas */
  }
  
  .calendar{
    display: grid;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    position: absolute;
    right: 15px;
    top: 45%;
    transform: translateY(-50%);
    z-index: 1000;
  }
  .dropdown-item img {
    width: 40px;
    height: 30px;
  }

  .dropdown-item .city-info span {
    font-size: 13px;
  }

  .dropdown-item .city-code {
    font-size: 13px;
  }

  .calendar .day {
    padding: 2px;
    font-size: 12px;
  }

  .passenger-controls button {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .passenger-limit-message {
    font-size: 12px;
  }

  .passenger-limit-message i {
    font-size: 16px;
  }
  .container {
    padding: 15px 10px;
    width: 80%;
  }

}

/* Very Small Devices (under 380px) */
@media (max-width: 480px) {

  .dropdown{
    width: fit-content;
  }

  /* Debug indicator - remove after testing 
  body::before {
    content: "Very Small Mobile View Active";
    background: rgba(128, 0, 128, 0.7);
  }
*/
  .logo img {
    max-width: 60px;
  }

  .supra-container h1 {
    font-size: calc(0.9rem + 0.5vw);
    padding-right: 10px;
  }

  .subtitulo {
    margin-right: 10px;
    font-size: 0.9rem;
  }

  .container {
    padding: 15px 10px;
    width: 80%;
  }

  .radio-buttons label {
    font-size: 13px;
  }

  .field-label {
    font-size: 13px;
  }

  .dropdown-item img {
    width: 35px;
    height: 25px;
  }

  .calendar .day {
    padding: 1px;
    font-size: 11px;
  }

  .passenger-controls button {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}