/* =====================================
   VARIABLES
===================================== */

:root {
  --bg: #05080f;
  --bg-soft: #0a0f1c;
  --panel: #0f1a2c;
  --panel-alto: #142338;
  --borde: rgba(255, 255, 255, 0.08);

  --accent: #2f8fff;
  --accent-2: #6ce7ff;
  --pop: #ff4d7d;
  --verde: #1eae62;

  --texto: #f4f8fc;
  --muted: #8ea0b8;

  --fuente-display: "Unbounded", sans-serif;
  --fuente-texto: "Manrope", sans-serif;
}

/* =====================================
   BASE
===================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente-texto);
  background: var(--bg);
  color: var(--texto);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font-family: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}

.contenedor {
  width: min(1200px, 90%);
  margin: auto;
}

::selection {
  background: var(--accent);
  color: white;
}

/* =====================================
   LOADER
===================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--bg);

  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader.oculto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-marco {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background: linear-gradient(135deg, var(--accent), var(--accent-2));

  font-size: 28px;
  color: white;

  animation: pulso-loader 1s ease-in-out infinite;
}

@keyframes pulso-loader {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

/* =====================================
   CURSOR GLOW
===================================== */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;

  width: 500px;
  height: 500px;

  margin-left: -250px;
  margin-top: -250px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(47, 143, 255, 0.1), transparent 70%);

  pointer-events: none;

  will-change: transform;
}

/* =====================================
   REVEAL AL SCROLL
===================================== */

[data-reveal] {
  opacity: 1;
}

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

html.js-reveal [data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================
   BARRA SUPERIOR
===================================== */

:root {
  --topbar-h: 36px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--topbar-h);

  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borde);

  transition: transform 0.35s ease;
}

.topbar.oculta {
  transform: translateY(-100%);
}

.topbar-contenido {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-contacto {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;

  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.topbar-contacto a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-contacto a i {
  color: #25d366;
  font-size: 14px;
}

.topbar-contacto .fa-clock,
.topbar-contacto .fa-location-dot {
  color: var(--accent-2);
  margin-right: 4px;
}

.topbar-separador {
  width: 1px;
  height: 14px;
  background: var(--borde);
  flex-shrink: 0;
}

.topbar-pagos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar-pagos-titulo {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.pago-logo {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;

  border: 1px solid var(--borde);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .topbar-horario,
  .topbar-direccion,
  .topbar-pagos-titulo,
  .topbar-contacto .topbar-separador {
    display: none;
  }

  .topbar-contacto {
    font-size: 12px;
  }
}

/* =====================================
   HEADER
===================================== */

.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;

  padding: 22px 0;

  transition: 0.35s ease;
}

.header.encogido {
  top: 0;
  padding: 12px 0;

  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--borde);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;

  font-family: var(--fuente-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
}

.logo span {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--accent-2);
  margin-bottom: 6px;
  font-family: var(--fuente-texto);
  font-weight: 800;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu a {
  position: relative;

  color: #c3cedb;
  font-size: 14px;
  font-weight: 600;

  transition: 0.3s;
}

.menu a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;

  background: linear-gradient(90deg, var(--accent), var(--accent-2));

  transition: width 0.3s ease;
}

.menu a:hover {
  color: white;
}

.menu a:hover::after {
  width: 100%;
}

.menu-favoritos {
  display: flex;
  align-items: center;
  gap: 6px;
}

#contadorFavoritos {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 18px;
  height: 18px;
  padding: 0 4px;

  border-radius: 50px;

  background: var(--pop);
  color: white;

  font-size: 10px;
  font-weight: 700;
}

.boton-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 22px;

  border-radius: 50px;

  background: linear-gradient(135deg, var(--accent), var(--accent-2));

  color: white;
  font-size: 13px;
  font-weight: 700;

  box-shadow: 0 8px 24px rgba(47, 143, 255, 0.3);

  transition: 0.3s;
}

.boton-nav-cta:hover {
  transform: translateY(-2px);
}

.menu-movil {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  width: 40px;
  height: 40px;

  border: none;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.06);
}

.menu-movil span {
  width: 20px;
  height: 2px;
  margin: 0 auto;

  background: white;
  border-radius: 5px;

  transition: 0.3s;
}

.menu-movil.activo span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-movil.activo span:nth-child(2) {
  opacity: 0;
}
.menu-movil.activo span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================
   BOTONES GENERALES
===================================== */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 28px;

  border-radius: 50px;
  border: none;

  font-size: 13px;
  font-weight: 700;

  transition: 0.3s;
}

.boton-primario {
  color: white;

  background: linear-gradient(135deg, var(--accent), var(--accent-2));

  box-shadow: 0 12px 30px rgba(47, 143, 255, 0.28);
}

.boton-primario:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(47, 143, 255, 0.38);
}

.boton-secundario {
  color: white;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.boton-secundario:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.boton-blanco {
  background: white;
  color: #0d3f80;

  box-shadow: 0 12px 30px rgba(4, 10, 18, 0.25);
}

.boton-blanco:hover {
  transform: translateY(-3px);
}

/* =====================================
   ETIQUETAS
===================================== */

.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 9px 18px;

  border-radius: 50px;

  background: rgba(47, 143, 255, 0.12);
  border: 1px solid rgba(47, 143, 255, 0.25);

  color: var(--accent-2);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;

  margin-bottom: 22px;
}

.etiqueta .punto {
  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: var(--accent-2);

  box-shadow: 0 0 0 4px rgba(108, 231, 255, 0.18);

  animation: parpadeo 1.8s ease-in-out infinite;
}

@keyframes parpadeo {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* =====================================
   HERO
===================================== */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  padding-top: 100px;
  padding-bottom: 60px;

  overflow: hidden;

  background-image: url("imagenes/monturas/0.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    100deg,
    rgba(5, 8, 15, 0.97) 0%,
    rgba(5, 8, 15, 0.85) 25%,
    rgba(5, 8, 15, 0.4) 50%,
    rgba(5, 8, 15, 0.12) 75%,
    rgba(5, 8, 15, 0) 100%
  );
}

.hero::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;

  width: 100%;
  height: 200px;

  background: linear-gradient(transparent, var(--bg));
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.blob-1 {
  width: 420px;
  height: 420px;

  top: -100px;
  right: -60px;

  background: radial-gradient(circle, var(--accent), transparent 70%);

  animation: flotar-1 14s ease-in-out infinite;
}

.blob-2 {
  width: 320px;
  height: 320px;

  bottom: -60px;
  left: -80px;

  background: radial-gradient(circle, var(--pop), transparent 70%);

  animation: flotar-2 18s ease-in-out infinite;
}

.blob-3 {
  width: 260px;
  height: 260px;

  top: 40%;
  left: 50%;

  background: radial-gradient(circle, var(--accent-2), transparent 70%);

  opacity: 0.3;

  animation: flotar-1 22s ease-in-out infinite reverse;
}

@keyframes flotar-1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 50px);
  }
}

@keyframes flotar-2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, -30px);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: flex-start;
}

.hero-texto {
  width: 100%;
  max-width: 640px;
}

.hero-titulo {
  font-family: var(--fuente-display);

  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.08;

  margin-bottom: 22px;
}

.hero-titulo-linea {
  display: block;

  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-descripcion {
  max-width: 520px;

  color: #c3cedb;

  font-size: 16px;
  line-height: 1.8;

  margin-bottom: 34px;
}

.hero-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-bottom: 46px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

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

.stat-numero {
  font-family: var(--fuente-display);
  font-size: 30px;
  font-weight: 700;

  background: linear-gradient(135deg, white, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

/* =====================================
   MARQUEE DE MARCAS
===================================== */

.marquee {
  position: relative;

  padding: 26px 0;

  background: var(--bg-soft);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);

  overflow: hidden;
}

.marquee::before,
.marquee::after {
  content: "";

  position: absolute;
  top: 0;

  width: 140px;
  height: 100%;

  z-index: 2;

  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-soft), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-soft), transparent);
}

.marquee-pista {
  display: flex;
  align-items: center;
  gap: 70px;

  width: max-content;

  animation: desplazar-marquee 50s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #7c8a9a;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}


/* LOGOS REALES DE LAS MARCAS */

.marquee-logo {
  width: 55px;

  height: 35px;

  object-fit: contain;

  display: block;
}

.marquee:hover .marquee-pista {
  animation-play-state: paused;
}

@keyframes desplazar-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

/* =====================================
   SECCIONES GENERALES
===================================== */

.catalogo,
.contacto {
  padding: 120px 0;
}

.catalogo {
  background: var(--bg-soft);
}
.contacto {
  background: var(--bg);
}

.titulo-seccion {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.etiqueta-clara {
  margin-left: auto;
  margin-right: auto;
}

.titulo-seccion h2 {
  font-family: var(--fuente-display);

  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.2;

  margin-bottom: 18px;
}

.titulo-seccion-texto {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* =====================================
   BUSCADOR
===================================== */

.buscador-contenedor {
  position: relative;

  max-width: 650px;
  margin: 0 auto 28px;
}

.buscador-contenedor i {
  position: absolute;
  left: 22px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--accent-2);
}

#buscar {
  width: 100%;

  padding: 17px 20px 17px 52px;

  border-radius: 50px;
  border: 1px solid var(--borde);

  background: var(--panel);
  color: white;

  outline: none;

  transition: 0.3s;
}

#buscar:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 143, 255, 0.15);
}

/* =====================================
   FILTROS
===================================== */

.filtros {
  width: min(900px, 100%);
  margin: 0 auto 25px;
  padding: 18px;
  border: 1px solid var(--borde);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}

.filtros-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.filtros-titulo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f4f8ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.filtros-titulo i {
  color: var(--accent-2);
}

.filtros-limpiar {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 2px;
  transition: .25s;
}

.filtros-limpiar:hover {
  color: white;
}

.filtros-controles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filtro-control {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filtro-control > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.filtro-control > span i {
  color: var(--accent);
}

.filtro-control select {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 15px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  outline: none;
  appearance: auto;
  background: var(--panel);
  color: #f5f8fc;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s;
}

.filtro-control select:hover,
.filtro-control select:focus {
  border-color: rgba(47,143,255,.55);
  box-shadow: 0 0 0 4px rgba(47,143,255,.10);
}

.filtro-control select option {
  background: #111b2a;
  color: white;
}

/* =====================================
   CHIPS DE FILTRO GENERAL
===================================== */

.chips-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.chip-filtro {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: var(--panel);
  color: #f5f8fc;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.chip-filtro:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.chip-filtro.activo {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47,143,255,.35);
}

@media (max-width: 560px) {
  .filtros {
    padding: 15px;
    border-radius: 18px;
  }

  .filtros-controles {
    grid-template-columns: 1fr;
  }

  .filtros-cabecera {
    align-items: flex-start;
  }
}

.contador-productos {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}

/* =====================================
   PRODUCTOS
===================================== */

.productos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.producto {
  position: relative;

  overflow: hidden;

  border-radius: 22px;

  background: var(--panel);
  border: 1px solid var(--borde);

  transition:
    transform 0.15s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;

  animation: aparecer-tarjeta 0.5s ease both;
  animation-delay: var(--retraso, 0s);
}

@keyframes aparecer-tarjeta {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.producto:hover {
  border-color: rgba(108, 231, 255, 0.35);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.producto-imagen {
  position: relative;

  height: 300px;

  overflow: hidden;
  cursor: pointer;

  background: #12202f;
}

.producto-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.6s ease;
}

.producto:hover .producto-imagen img {
  transform: scale(1.09);
}

.producto-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 40px 18px 16px;

  background: linear-gradient(
    to top,
    rgba(3, 6, 12, 0.92) 10%,
    transparent 100%
  );
}

.producto-overlay .producto-marca {
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  margin-bottom: 4px;
}

.producto-overlay h3 {
  font-family: var(--fuente-display);
  color: white;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.producto-estado {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;

  padding: 6px 12px;

  border-radius: 50px;

  font-size: 10px;
  font-weight: 700;

  backdrop-filter: blur(6px);
}

.boton-favorito {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;

  width: 40px;
  height: 40px;

  border: none;
  border-radius: 50%;

  background: rgba(5, 8, 15, 0.55);
  color: white;

  font-size: 15px;

  backdrop-filter: blur(6px);

  transition: 0.25s;
}

.boton-favorito:hover {
  transform: scale(1.12);
}

.boton-favorito.activo {
  color: var(--pop);
  animation: latido 0.4s ease;
}

@keyframes latido {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
}

.producto-info {
  padding: 18px 20px 20px;
}

.producto-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--muted);
  font-size: 11px;
  font-weight: 600;

  margin-bottom: 12px;
}

.producto-meta i {
  color: var(--accent);
  margin-right: 5px;
}

.producto-colores {
  display: flex;
  align-items: center;
  gap: 5px;
}

.color-punto {
  width: 15px;
  height: 15px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.modal-colores-linea {
  display: flex;
  align-items: center;
  gap: 10px;

  flex-wrap: wrap;
}

.modal-colores-linea .producto-colores {
  gap: 6px;
}

.modal-colores-linea .color-punto {
  width: 18px;
  height: 18px;
}

.producto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  margin-bottom: 16px;
}

.producto-tag {
  padding: 4px 10px;

  border-radius: 50px;

  background: var(--panel-alto);
  color: #8fa3b8;

  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.estado-disponibilidad {
  display: inline-block;

  margin: 10px 0 15px;

  padding: 6px 12px;

  border-radius: 50px;

  font-size: 10px;
  font-weight: 700;
}

.disponible {
  color: #6ce2aa;
  background: rgba(40, 180, 110, 0.16);
}
.ultimas-unidades {
  color: #ffca65;
  background: rgba(255, 190, 50, 0.16);
}
.agotada {
  color: #ff7186;
  background: rgba(255, 70, 100, 0.16);
}

.producto-pie {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
}

.boton-detalles,
.boton-consultar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 11px 8px;

  border-radius: 12px;
  border: none;

  font-size: 11px;
  font-weight: 700;

  transition: 0.3s;
}

.boton-detalles {
  background: var(--panel-alto);
  color: white;
}

.boton-consultar {
  background: var(--verde);
  color: white;
}

.boton-detalles:hover,
.boton-consultar:hover {
  transform: translateY(-2px);
}

.contenedor-cargar-mas {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.boton-cargar-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  border: none;

  padding: 15px 26px;

  border-radius: 50px;

  background: var(--panel-alto);
  color: white;

  font-size: 12px;
  font-weight: 700;

  transition: 0.3s;
}

.boton-cargar-mas:hover {
  background: var(--panel);
  transform: translateY(-2px);
}

/* =====================================
   CTA BANNER
===================================== */

.cta-banner {
  position: relative;

  padding: 100px 0;
  text-align: center;

  background: linear-gradient(120deg, #061428, #0d3f80 50%, #12599f);

  overflow: hidden;
}

.cta-shine {
  position: absolute;
  top: 0;
  left: -50%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );

  animation: pasar-brillo 5s ease-in-out infinite;
}

@keyframes pasar-brillo {
  0% {
    left: -60%;
  }
  50% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

.cta-banner-contenido {
  position: relative;
  z-index: 1;

  max-width: 620px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--fuente-display);
  color: white;

  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.2;

  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.7;

  margin-bottom: 30px;
}

/* =====================================
   CONTACTO
===================================== */

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto-whatsapp {
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: 28px;

  border-radius: 22px;

  background: linear-gradient(135deg, #0d2d1f, var(--panel));
  border: 1px solid rgba(30, 174, 98, 0.25);
}

.contacto-whatsapp-etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  padding: 7px 14px;

  border-radius: 50px;

  background: rgba(30, 174, 98, 0.15);
  color: #6ce2aa;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contacto-whatsapp-etiqueta span {
  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: #6ce2aa;

  box-shadow: 0 0 0 4px rgba(108, 226, 170, 0.18);
}

.contacto-whatsapp h3 {
  font-family: var(--fuente-display);
  font-size: 21px;
  font-weight: 600;
}

.contacto-whatsapp p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contacto-whatsapp-boton {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 18px;

  border-radius: 16px;

  background: var(--verde);
  color: white;

  transition: 0.3s;
}

.contacto-whatsapp-boton:hover {
  transform: translateY(-2px);
}

.contacto-whatsapp-boton i {
  font-size: 24px;
}
.contacto-whatsapp-boton strong {
  display: block;
  font-size: 14px;
}
.contacto-whatsapp-boton span {
  font-size: 11px;
  opacity: 0.85;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 20px;

  border-radius: 18px;

  background: var(--panel);
  border: 1px solid var(--borde);

  transition: 0.3s;
}

.contacto-item:hover {
  border-color: rgba(47, 143, 255, 0.3);
}

.contacto-icono {
  min-width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: rgba(47, 143, 255, 0.14);
  color: var(--accent-2);

  font-size: 18px;
}

.contacto-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}

.contacto-item p,
.contacto-item a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.contacto-item a:hover {
  color: var(--accent-2);
}

.mapa {
  min-height: 500px;

  overflow: hidden;

  border-radius: 22px;
  border: 1px solid var(--borde);
}

/* =====================================
   FOOTER
===================================== */

/* =====================================
   FRANJA MÉTODOS DE PAGO
===================================== */
.franja-pagos {
  padding: 56px 0;

  text-align: center;

  background: var(--bg-soft);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.franja-pagos h2 {
  font-family: var(--fuente-display);
  font-size: clamp(20px, 3vw, 28px);

  margin-bottom: 24px;
}

.pagos-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.pago-logo-franja {
  height: 99px;
  width: auto;

  border-radius: 12px;

  transition: 0.3s;
}

.pago-logo-franja:hover {
  transform: scale(1.05);
}

/* =====================================
   SOBRE NOSOTROS
===================================== */
.sobre-nosotros {
  padding: 90px 0;
}

.sobre-nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.sobre-nosotros-foto img {
  width: 100%;
  max-height: 480px;

  object-fit: cover;

  border-radius: 24px;
  border: 1px solid var(--borde);

  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sobre-nosotros-texto h2 {
  font-family: var(--fuente-display);
  font-size: clamp(26px, 4vw, 40px);

  margin: 14px 0 18px;
}

.sobre-nosotros-texto > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.sobre-nosotros-texto .boton {
  margin-top: 26px;
}

/* =====================================
   BANDA INSTAGRAM
===================================== */
.banda-instagram {
  padding: 80px 0;

  background: #000;

  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.instagram-cabecera {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;

  margin-bottom: 34px;
}

.instagram-cabecera h2 {
  font-family: var(--fuente-display);
  font-size: clamp(20px, 3vw, 30px);
}

.instagram-handle {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;

  color: var(--accent-2);
}

.instagram-fila {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.instagram-fila img {
  width: 100%;
  aspect-ratio: 1;

  object-fit: cover;

  border-radius: 14px;
  border: 1px solid var(--borde);

  transition: 0.3s;
}

.instagram-fila a:hover img {
  transform: scale(1.03);

  border-color: var(--accent);
}

/* =====================================
   FOOTER
===================================== */
.footer {
  padding: 70px 0 28px;

  background: #030509;

  border-top: 1px solid var(--borde);
}

.footer-columnas {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;

  margin-bottom: 44px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 20px;
  padding-bottom: 10px;

  position: relative;
}

.footer-col h4::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 34px;
  height: 3px;

  border-radius: 3px;

  background: var(--accent);
}

.footer-col > a {
  display: block;

  margin-bottom: 12px;

  color: #aeb9c9;
  font-size: 14px;

  transition: 0.3s;
}

.footer-col > a:hover {
  color: #ffffff;
}

.footer-tagline {
  color: var(--muted);
  font-size: 14px;

  margin: 12px 0 20px;
}

.footer-dato {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-bottom: 12px;

  color: #aeb9c9;
  font-size: 14px;
}

a.footer-dato {
  transition: 0.3s;
}

a.footer-dato:hover {
  color: #ffffff;
}

.footer-dato i {
  color: var(--accent-2);

  margin-top: 3px;
}

.footer-inferior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 24px 0;

  border-top: 1px solid var(--borde);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--borde);
  border-radius: 50%;

  color: var(--texto);
  font-size: 18px;

  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);

  color: #ffffff;
}

.footer-pagos {
  display: flex;
  gap: 8px;
}

.footer-pagos span {
  padding: 6px 12px;

  border: 1px solid var(--borde);
  border-radius: 8px;

  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.copyright {
  text-align: center;

  color: #5c6b7e;
  font-size: 12px;
}

/* =====================================
   WHATSAPP FLOTANTE
===================================== */

.whatsapp-flotante {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 90;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--verde);
  color: white;

  font-size: 29px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  transition: 0.3s;
}

.whatsapp-flotante:hover {
  transform: scale(1.1);
}

.whatsapp-pulso {
  position: absolute;
  inset: 0;

  border-radius: 50%;
  background: var(--verde);

  animation: pulso-whatsapp 2.4s ease-out infinite;
}

@keyframes pulso-whatsapp {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* =====================================
   MODALES
===================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal.activo {
  display: flex;
  animation: aparecer-modal 0.25s ease;
}

@keyframes aparecer-modal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-contenido {
  position: relative;

  width: min(950px, 100%);
  max-height: 90vh;

  overflow-y: auto;

  border-radius: 24px;
  padding: 35px;

  background: var(--panel);
  border: 1px solid var(--borde);

  animation: subir-modal 0.3s ease;
}

@keyframes subir-modal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cerrar-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: var(--panel-alto);
  color: white;

  font-size: 20px;

  transition: 0.3s;
}

.cerrar-modal:hover {
  background: var(--pop);
}

.modal-producto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.imagen-principal-modal {
  height: 420px;

  background: white;
  border-radius: 18px;
  overflow: hidden;
}

.imagen-principal-modal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.miniaturas {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.miniatura {
  width: 80px;
  height: 70px;
  padding: 0;

  overflow: hidden;
  border-radius: 12px;
  border: 2px solid transparent;

  background: white;

  transition: 0.3s;
}

.miniatura.activa {
  border-color: var(--accent);
}

.miniatura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.modal-info h2 {
  font-family: var(--fuente-display);
  font-size: 30px;
  font-weight: 700;

  margin: 10px 0 20px;
}

.modal-info p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.modal-favoritos {
  max-width: 650px;
}

.modal-favoritos h2 {
  font-family: var(--fuente-display);
  font-size: 22px;
  margin-bottom: 10px;
}

.texto-favoritos {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}

.lista-favoritos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.favorito-item {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 12px;

  border-radius: 16px;
  background: var(--panel-alto);
}

.favorito-item img {
  width: 65px;
  height: 65px;

  object-fit: cover;
  border-radius: 10px;
  background: white;
}

.favorito-info {
  flex: 1;
}
.favorito-info strong {
  font-size: 13px;
}
.favorito-info p {
  color: #9ba8b6;
  font-size: 11px;
  margin-top: 5px;
}

.eliminar-favorito {
  border: none;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: rgba(255, 70, 100, 0.1);
  color: #ff7186;

  transition: 0.3s;
}

.eliminar-favorito:hover {
  background: rgba(255, 70, 100, 0.22);
}

.sin-resultados {
  grid-column: 1 / -1;

  text-align: center;
  padding: 70px 20px;

  color: var(--muted);
}

.sin-resultados i {
  font-size: 45px;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.sin-resultados h3 {
  color: white;
  margin-bottom: 10px;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1000px) {
  .hero-grid {
    text-align: center;
  }

  .hero-descripcion {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-botones,
  .hero-stats {
    justify-content: center;
  }

  .productos {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .mapa {
    min-height: 400px;
  }
  .modal-producto {
    grid-template-columns: 1fr;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 760px) {
  .menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding: 30px 8%;

    background: rgba(5, 8, 15, 0.98);
    backdrop-filter: blur(20px);
  }

  .menu.activo {
    display: flex;
  }

  .menu a {
    font-size: 18px;
  }

  .boton-nav-cta {
    display: none;
  }
  .menu-movil {
    display: flex;
  }

  .hero {
    padding-top: 120px;
    background-position: 70% center;
  }
  .hero-titulo {
    font-size: 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .contenedor {
    width: 92%;
  }

  .catalogo,
  .contacto {
    padding: 80px 0;
  }
  .cta-banner {
    padding: 70px 0;
  }

  .productos {
    grid-template-columns: 1fr;
  }

  .hero-botones {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-columnas {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inferior {
    flex-direction: column;
    text-align: center;
  }

  .sobre-nosotros-grid {
    grid-template-columns: 1fr;
  }

  .instagram-fila {
    grid-template-columns: repeat(3, 1fr);
  }

  .instagram-cabecera {
    justify-content: center;
    text-align: center;
  }

  .modal-contenido {
    padding: 22px;
  }
  .imagen-principal-modal {
    height: 280px;
  }
}

/* =====================================
   ARMADOR DE GAFAS
===================================== */

.armar-gafas {
  padding: 110px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(47,143,255,.16), transparent 32%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.armar-gafas-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.armar-gafas-copy h2 {
  font-family: var(--fuente-display);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.1;
  margin-bottom: 22px;
}

.armar-gafas-copy > p:not(.etiqueta) {
  color: #b9c6d5;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 30px;
}

.armar-gafas-preview {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(20,35,56,.95), rgba(8,14,25,.95));
  border: 1px solid rgba(108,231,255,.15);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  overflow: hidden;
}

.armar-preview-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(47,143,255,.25);
  filter: blur(50px);
}



.modal-armador {
  width: min(1120px, 100%);
}

.armador-cabecera {
  padding-right: 50px;
  margin-bottom: 25px;
}

.armador-cabecera h2 {
  font-family: var(--fuente-display);
  font-size: clamp(25px, 3vw, 38px);
  margin-bottom: 8px;
}

.armador-cabecera > p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.armador-progreso {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.armador-paso {
  border: 1px solid var(--borde);
  background: rgba(255,255,255,.035);
  color: #8292a6;
  border-radius: 14px;
  padding: 12px 10px;
  font-weight: 700;
  font-size: 12px;
}

.armador-paso span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 6px;
  background: rgba(255,255,255,.08);
}

.armador-paso.activo,
.armador-paso.completado {
  color: white;
  border-color: rgba(47,143,255,.5);
  background: rgba(47,143,255,.09);
}

.armador-paso.activo span,
.armador-paso.completado span {
  background: var(--accent);
}

.armador-titulo {
  margin-bottom: 20px;
}

.armador-titulo > span {
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.armador-titulo h3 {
  font-family: var(--fuente-display);
  font-size: 25px;
  margin: 7px 0;
}

.armador-titulo p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.armador-buscador {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 17px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--borde);
}

.armador-buscador i { color: var(--accent-2); }
.armador-buscador input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
}

.armador-grid-monturas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-height: 440px;
  overflow-y: auto;
  padding: 2px 4px 8px 2px;
}

/* Insignia de estado dentro de las tarjetas del armador */
.armador-estado {
  margin: 8px 0 2px;
  font-size: 9px;
  padding: 4px 10px;
}

.armador-montura {
  position: relative;
  text-align: left;
  border: 1px solid var(--borde);
  background: rgba(255,255,255,.035);
  color: white;
  padding: 8px;
  border-radius: 16px;
  transition: .25s;
}

.armador-montura:hover,
.armador-montura.seleccionada {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(47,143,255,.08);
}

.armador-montura-imagen {
  height: 135px;
  border-radius: 11px;
  background: white;
  overflow: hidden;
  margin-bottom: 9px;
}

.armador-montura-imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.armador-montura strong,
.armador-montura span,
.armador-montura small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.armador-montura strong { font-size: 11px; color: var(--accent-2); }
.armador-montura span { font-size: 12px; margin-top: 2px; }
.armador-montura small { color: var(--muted); margin-top: 4px; font-size: 10px; }
.armador-montura > i {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--accent);
  background: white;
  border-radius: 50%;
}

.armador-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  gap: 10px;
}

.armador-footer-doble {
  justify-content: space-between;
}

.armador-footer button:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}

.lentes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.lente-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  color: white;
  padding: 8px;
  transition: .25s;
  cursor: pointer;
}

.lente-card:hover,
.lente-card.seleccionado {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(47,143,255,.08);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.lente-imagen {
  position: relative;
  height: 135px;
  border-radius: 11px;
  background: white;
  overflow: hidden;
  margin-bottom: 9px;
}

.lente-imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.lente-etiqueta {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-block;
  padding: 5px 8px;
  border-radius: 50px;
  background: rgba(5,12,22,.78);
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.lente-card-info {
  padding: 2px 4px 5px;
}

.lente-card h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
}

.lente-card p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  min-height: 30px;
  margin: 5px 0 10px;
}

.lente-card-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.lente-card-pie i {
  font-size: 11px;
  transition: transform .2s;
}

.lente-card:hover .lente-card-pie i {
  transform: translateX(3px);
}

.lente-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #07111f;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}

.formula-opciones {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.formula-tipo {
  padding: 15px;
  border-radius: 14px;
  border: 1px solid var(--borde);
  background: rgba(255,255,255,.035);
  color: #c8d4e2;
  font-weight: 700;
}

.formula-tipo.activo {
  border-color: var(--accent);
  color: white;
  background: rgba(47,143,255,.1);
}


.formula-tabla {
  display: grid;
  grid-template-columns: 60px repeat(4,1fr);
  gap: 8px;
  align-items: center;
}

.formula-col-head {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.campo-formula {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.campo-formula span {
  font-size: 10px;
  color: var(--muted);
}

.campo-formula input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--borde);
  background: rgba(255,255,255,.05);
  color: white;
  border-radius: 10px;
  padding: 11px 9px;
  outline: none;
}

.campo-dp {
  max-width: 220px;
  margin-top: 15px;
}




.armador-resumen-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.armador-resumen-mini img {
  width: 60px;
  height: 50px;
  object-fit: contain;
  background: white;
  border-radius: 9px;
}

.armador-resumen-mini div { display: flex; flex-direction: column; gap: 3px; }
.armador-resumen-mini strong { font-size: 12px; }
.armador-resumen-mini span { color: var(--accent-2); font-size: 11px; }

.resumen-builder {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.resumen-montura,
.resumen-lente,
.resumen-formula {
  min-height: 180px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--borde);
}

.resumen-montura img,
.resumen-lente img {
  width: 100%;
  height: 105px;
  object-fit: contain;
  background: white;
  border-radius: 11px;
  margin-bottom: 12px;
}

.resumen-montura div,
.resumen-lente div,
.resumen-formula div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resumen-builder span {
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.resumen-builder strong { font-size: 12px; }
.resumen-builder small { color: var(--muted); font-size: 10px; line-height: 1.5; }

.resumen-formula > i {
  font-size: 30px;
  color: var(--accent-2);
  margin-bottom: 15px;
}

.aviso-archivo {
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(255,190,60,.08);
  border: 1px solid rgba(255,190,60,.2);
  color: #d8c28e;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .armar-gafas-grid { grid-template-columns: 1fr; gap: 35px; }
  .armador-grid-monturas { grid-template-columns: repeat(4,1fr); }
  .lentes-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  .armador-progreso { grid-template-columns: repeat(2,1fr); }
  .armador-grid-monturas { grid-template-columns: repeat(2,1fr); max-height: 420px; }
  .lentes-grid { grid-template-columns: 1fr; }
  .formula-opciones { grid-template-columns: 1fr; }
  .formula-tabla { grid-template-columns: 42px repeat(4, minmax(55px,1fr)); gap: 5px; }
  .formula-col-head { font-size: 8px; }
  .resumen-builder { grid-template-columns: 1fr; }
  .armador-footer, .armador-footer-doble { flex-direction: column; }
  .armador-footer .boton { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .armar-gafas { padding: 80px 0; }
  .armar-gafas-preview { padding: 20px; }
  .armador-grid-monturas { grid-template-columns: repeat(2,1fr); }
  .armador-montura-imagen { height: 115px; }
  .modal-armador { padding: 20px 14px; }
}

/* =====================================
   MEDIA Y COLORES — ARMADOR
===================================== */
.armador-media-contenido {
  position: relative;
  z-index: 1;
  min-height: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background: #08111f;
  border: 1px solid rgba(108,231,255,.14);
}

.armador-media-visual {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #08111f;
}

/* El contenido visual queda limpio: no hay texto ni panel superpuesto. */

.armador-colores {
  margin-top: 18px;
  padding: 16px;
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--borde);
}

.armador-colores-titulo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}

.armador-colores-titulo div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.armador-colores-titulo span {
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.armador-colores-titulo strong { font-size: 13px; }
.armador-colores-titulo small { color: var(--muted); font-size: 11px; }

.armador-color-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
}

.armador-color-preview-imagen {
  width: 110px;
  height: 78px;
  flex: 0 0 110px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.armador-color-preview-imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.armador-color-preview > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.armador-color-preview span {
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.armador-color-preview strong { font-size: 14px; }
.armador-color-preview small { color: var(--muted); font-size: 10px; }

.armador-colores-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.armador-color-opcion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 50px;
  border: 1px solid var(--borde);
  background: rgba(255,255,255,.035);
  color: #dce7f3;
  font-size: 11px;
  transition: .2s;
}

.armador-color-opcion:hover,
.armador-color-opcion.seleccionado {
  border-color: var(--accent);
  background: rgba(47,143,255,.10);
}

.armador-color-opcion .color-punto.grande {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}

.armador-color-opcion > i {
  color: var(--accent-2);
  font-size: 10px;
}

@media (max-width: 700px) {
  .armador-media-contenido,
  .armador-media-visual { min-height: 460px; height: 460px; }
}

@media (max-width: 560px) {
  .footer-columnas {
    grid-template-columns: 1fr;
  }

  .instagram-fila {
    grid-template-columns: repeat(2, 1fr);
  }

  .franja-pagos,
  .sobre-nosotros,
  .banda-instagram {
    padding-left: 4px;
    padding-right: 4px;
  }
}
