body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
}

/* HEADER */
.header {
  background: #0b2239;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 20px;
}

/* PASOS */
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

.step {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step.active {
  background: #007bff;
  color: rgb(255, 253, 253);
}

.line {
  width: 60px;
  height: 3px;
  background: #ccc;
}

.line.active {
  background: #007bff;
}

/* BOX */
.box {
  background: rgb(255, 255, 255);
  width: 600px;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
}

/* TEXTOS */
.subtext {
  color: #666;
  font-size: 14px;
}

.link {
  color: #007bff;
  cursor: pointer;
  margin: 10px 0;
}

/* BUSCADOR */
.search-box {
  display: flex;
  justify-content: flex-start;
  position: relative;
}


.search-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.search-input {
  position: relative;
  width: 50%; /* 🔥 reduce tamaño */
}

.search-input input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border-radius: 10px;
  border: 2px solid #007bff;
  font-size: 14px;
  outline: none;
}

/* RESULTADOS */
.resultados {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%; /* 🔥 igual que el input */

  background: white;
  border-radius: 10px;
  margin-top: 5px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.1);

  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.resultados.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block;
}

.resultado-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: 0.2s;
}

.resultado-item:hover {
  background: #f7f9fc;
}

.resultado-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* IMAGEN */
.resultado-content img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 8px;
}

/* TEXTO */
.resultado-text {
  flex: 1;
}

.resultado-text strong {
  font-size: 14px;
}

/* TAGS */
.tags {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}

.tag {
  background: #eef2f7;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 5px;
}

/* BOTON +36 */
.more {
  background: #e3edff;
  color: #007bff;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 5px;
}

.resultado-item:hover {
  background: #f4f6f8;
}

/* MARCAS */
.brands {
  display: flex;
  justify-content: center; /* 🔥 centra todo */
  gap: 20px;
  margin-top: 15px;
}

.brand {
  width: 220px;
  height: 80px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: white;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden; /* 🔥 evita que se salga */
}

.brand img {
  max-width: 120px; /* 🔥 controla tamaño */
  max-height: 40px;
  object-fit: contain;
}

.brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FLOAT BUTTONS */
.float {
  position: fixed;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
}

.float img {
  max-width: 100%;
}

.whatsapp {
  bottom: 20px;
}

.insta {
  bottom: 85px;
}

html {
  scroll-behavior: smooth;
}

.card-modelo,
.card-servicio {
  transition: all 0.25s ease;
}

.card-modelo:hover,
.card-servicio:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* RESULTADOS BUSCADOR */
.resultado-item {
  transition: all 0.2s ease;
}

.resultado-item:hover {
  background: #f1f5ff;
  transform: scale(1.01);
}

.skeleton {
  background: linear-gradient(
    90deg,
    #eee 25%,
    #ddd 37%,
    #eee 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 10px;
  height: 60px;
  margin-bottom: 10px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.skeleton {
  height: 60px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    #eee 25%,
    #ddd 37%,
    #eee 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding: 30px;
}

/* IZQUIERDA */
.left {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
}

/* DERECHA */
.right {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  height: fit-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* TITULOS */
.subtitle {
  color: #777;
  margin-bottom: 15px;
}

/* GRID SERVICIOS */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 220px); /* 🔥 solo 2 columnas fijas */
  justify-content: start; /* o center si quieres centrado */
  justify-content: center;
  gap: 20px;
}
/* CARD SERVICIO */
.servicio-card {
  aspect-ratio: 1 / 1; /* 🔥 esto las hace cuadradas */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: 0.2s;
}

.servicio-card h4 {
  margin: 0;
  font-size: 14px;
}

.servicio-card:hover {
  transform: translateY(-3px);
  border-color: #007bff;
}

.servicio-card.activo {
  border: 2px solid #007bff;
  background: #f7f5f5;
}

/* TEXTO */
.precio {
  color: #007bff;
  font-weight: bold;
  margin: 10px 0;
}

.desc {
  font-size: 12px;
  color: #666;
}

/* TOTAL */
.total {
  margin-top: 15px;
  font-weight: bold;
}

/* BOTON FINAL */
.btn-final {
  width: 100%;
  padding: 12px;
  background: #0d2742;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* CONTENEDOR */
.container-modelos {
  width: 80%;
  margin: auto;
}

/* HEADER */
.top-modelos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  color: rgb(2, 2, 2);
}

/* GRID */
.grid-modelos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

/* CARD */
.modelo-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.modelo-card:hover {
  transform: translateY(-5px);
}

/* IMAGEN */
.modelo-card img {
  width: 80px;
  height: 100px;
  object-fit: contain;
}

/* TEXTO */
.nombre {
  font-size: 14px;
  margin-top: 10px;
}

.codigo {
  font-size: 12px;
  color: #007bff;
}

/* CARD ESPECIAL */
.especial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
}

.icono {
  font-size: 30px;
}

.icon-search {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  opacity: 0.7;
  pointer-events: none;
}

.wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}


/* FONDO GENERAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f6f8; /* 🔥 gris claro en TODO */
}

.layout {
  display: grid;
  grid-template-columns: auto 300px; /* izquierda se ajusta */
  gap: 40px;
  justify-content: center;
}

.page-bg {
  background: linear-gradient(
    180deg,
    #0b2239 0%,
    #0b2239 180px,
    #ffffff 180px
  );
  min-height: 100vh;
}

.card-container {
  background: #e7e7e7;
  border-radius: 16px;
  padding: 30px;
}


#modeloTitulo {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

h1, h2, h3 {
  font-weight: 600;
}

p {
  font-weight: 400;
  color: #555;
}

button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.modelo-header img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 30px;
}


/*barra de progreso

/* CONTENEDOR */
.progress-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* BARRA */
.progress-bar {
  position: relative;
  width: 400px;
  height: 4px;
  background: #ddd;
  border-radius: 10px;
}

/* RELLENO */
.progress-fill {
  position: absolute;
  height: 100%;
  width: 0%;
  background: #007bff;
  border-radius: 10px;
  transition: width 0.6s ease; /* 🔥 animación suave */
}

/* STEPS */
.steps {
  position: absolute;
  top: -12px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.step {
  width: 28px;
  height: 28px;
  background: #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  transition: 0.3s;
}

/* ACTIVO */
.step.active {
  background: #007bff;
}


/* DISPOSITIVOS */
.devices {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.device-card {
  width: 23%;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.device-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.device-card p {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
}



/* CONTENEDOR */
.devices {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
}

/* CARD */
.device-card {
  flex: 1;
  background: #f7f7f7;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;

  border: 1px solid #e0e0e0;

  transition: all 0.3s ease;
}

/* IMAGEN */
.device-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* TEXTO */
.device-card p {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* HOVER 🔥 */
.device-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  border-color: #007bff;
  background: white;
}

/* OPCIONAL: EFECTO CLICK */
.device-card:active {
  transform: scale(0.98);
}


/* CONTENEDOR MARCAS */
.brands-pro {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

/* CARD MARCA */
.brand-card {
  width: 220px;
  height: 120px;
  background: #f7f7f7;
  border-radius: 14px;
  border: 1px solid #ddd;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.3s ease;
}

/* IMAGEN */
.brand-card img {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* TEXTO */
.brand-card p {
  font-size: 14px;
  font-weight: 500;
}

/* HOVER 🔥 */
.brand-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  border-color: #007bff;
  background: white;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 100;
}

.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 400px;
  position: relative;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
}

/* METODOS */
.metodos {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.metodo {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.metodo.activo {
  border: 2px solid #007bff;
  background: #f0f6ff;
}

/* FORM */
.form input,
.form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.form button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
}


.fechas, .horas { display:flex; gap:10px; }
.fecha-card, .hora-card {
  padding:10px;
  background:#f5f5f5;
  border-radius:10px;
  cursor:pointer;
}
.fecha-card.activa, .hora-card.activa {
  border:2px solid #007bff;
  background:#eef4ff;
}

/* MODAL MEJORADO */
.modal-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}

/* ESPACIADO GENERAL */
.modal-content p,
.modal-content input,
.modal-content textarea {
  margin-bottom: 12px;
}

/* METODOS */
.metodos {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.metodo {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  text-align: center;
  cursor: pointer;
}

.metodo.activo {
  border: 2px solid #007bff;
  background: #eef4ff;
}

/* FECHAS */
.fechas {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 15px;
}

.fecha-card {
  min-width: 60px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}

.fecha-card.activa {
  border: 2px solid #007bff;
  background: #eef4ff;
}

/* HORAS */
.horas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hora-card {
  padding: 10px 15px;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
}

.hora-card.activa {
  border: 2px solid #007bff;
  background: #eef4ff;
}

/* DIRECCION PRO */
.direccion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* INPUTS */
.form input,
.form textarea,
.direccion-grid input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* BOTON */
.form button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
}


/* SELECT */
.input-select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

/* DIRECCION ENVIO */
.direccion-envio {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.direccion-envio div {
  font-size: 13px;
}

/* TITULOS CENTRADOS */
.subtitle.center {
  text-align: center;
  margin-top: 10px;
}

/* TERMINOS */
.terminos {
  font-size: 12px;
  color: #555;
  padding-left: 20px;
}

.terminos li {
  margin-bottom: 8px;
}



.colores {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0 10px 0;
  max-width: 100%;
  scroll-snap-type: x mandatory;
}

.color-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  background: #fff;
}

.color-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.color-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc; /* 🔥 importante */
}

.color-card.activo {
  border: 2px solid #007bff;
  background: #eef4ff;
}


/* CARD COMPLETA */
.servicio-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.servicio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.servicio-card.activo {
  border: 2px solid #007bff;
}

/* TOP */
.servicio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ICONO */
.icono {
  font-size: 18px;
  background: #f3f4f6;
  padding: 8px;
  border-radius: 8px;
}

/* INFO */
.servicio-info {
  flex: 1;
  margin-left: 10px;
}

.servicio-info h4 {
  margin: 0;
  font-size: 14px;
}

.tiempo {
  font-size: 11px;
  color: #6b7280;
}

/* BADGE */
.badge {
  font-size: 12px;
  background: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 600;
}

/* DESCRIPCIÓN */
.desc {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}


/* opcional: ocultar scrollbar feo */
.colores::-webkit-scrollbar {
  height: 6px;
}

.colores::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.color-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s;
}

.color-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.color-card.activo {
  border: 2px solid #007bff;
  background: #eef4ff;
}


.resumen-titulo {
  font-weight: 600;
  margin-bottom: 5px;
}

.resumen-color {
  font-size: 13px;
  color: #007bff;
  margin-bottom: 10px;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0d2742;
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #1e7e34;
}

.toast.error {
  background: #c82333;
}

.loader {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.btn-quote {
  width: 100%;
  padding: 12px;
  background: #e9f2ff;
  color: #007bff;
  border: none;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  cursor: pointer;
}

.btn-quote:hover {
  background: #dbe9ff;
}
#langSelector{position:fixed;top:15px;right:15px;z-index:9999;padding:8px;border-radius:8px;}