/*
Theme Name: AC Viajes
Author: AC Viajes
Description: Tema personalizado para AC Viajes.
Version: 1.0
*/

/* ==========================================================
MONTSERRAT — NORMAL
========================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/Montserrat-Variable.woff2") format("woff2-variations");
}

/* ==========================================================
MONTSERRAT — ITALIC
========================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/Montserrat-Italic-Variable.woff2")
    format("woff2-variations");
}

:root {
  --color-primary: rgb(63, 208, 211);
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;

  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* --------------------------------------------------------------------------
COUNTRY CODE DROPDOWN SELECT STYLES
-------------------------------------------------------------------------- */

.phone-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.country-code-select-wrapper {
  position: relative;
  flex-shrink: 0;
}

.country-code-select {
  padding: 0 32px 0 12px;
  height: 48px;

  border: 1px solid #ccd0d4;
  border-radius: 6px;

  background-color: #fff;

  font-size: 16px;
  font-family: inherit;

  cursor: pointer;

  display: inline-flex;
  align-items: center;

  outline: none;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  color: #333;
}

.country-code-select-wrapper::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
}

.phone-input-group input[type="tel"] {
  flex: 1 !important;
  min-width: 0 !important;
}

/* --------------------------------------------------------------------------
GLOBAL MOBILE RESETS
-------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

.container {
  min-width: 0;
}

/* --------------------------------------------------------------------------
ICONOS SVG (reemplazo de Font Awesome)
-------------------------------------------------------------------------- */

svg.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
FORM CONTROLS
-------------------------------------------------------------------------- */

@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* --------------------------------------------------------------------------
COUNTRY CODE RESPONSIVE
-------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .country-code-select {
    height: 44px;
    font-size: 14px;
  }

  .phone-input-group {
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
CUSTOM SCROLLBAR (Estilización de Barra de Desplazamiento Horizontal y Vertical)
-------------------------------------------------------------------------- */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #0b111e #f1f5f9;
}

/* Webkit (Chrome, Edge, Safari, Opera) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px; /* Altura para la barra de scroll horizontal */
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #0b111e;
  border-radius: 10px;
  border: 2px solid #f1f5f9;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e293b;
}

::-webkit-scrollbar-corner {
  background: #f1f5f9;
}


