/* ======== Estilos base ======== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
}

/* Banner siempre arriba */
.banner-anuncio {
  position: fixed;
  top: 10px;
  left: 20px;
  width: 100%;
  z-index: 5;
  background-color: #f5f5f5;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Dancing Script', cursive;
  font-style: italic;  /* opcional si quieres acentuar la cursiva */
}

/* ======== Menú principal ======== */
/*background-color: #e3f2fd;*/
/* Menú transparente sobre el banner */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background-color: rgba(227, 242, 253, 0.5); Fondo semi-transparente */
  background-color: #f8f9fa !important;
  backdrop-filter: blur(10px);               /* Desenfoque */
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0px;          /* Debajo del banner, ajusta según el alto del banner */
  z-index: 10;        /* Encima del banner */
}
/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Contenedores de menú */
.menu-izquierda,
.menu-derecha {
  display: flex;
  gap: 10px;
}

.menu-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.menu-centro .logo {
  height: 60px;
}

/* Menú en escritorio */
.menu nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;   /* negrita */
  letter-spacing: 0.5px;
}

/* Redes */
.redes ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  
  margin: 10px 20px 0 0; /* Margen derecho de 10px */
}

.redes img {
  width: 32px;
  height: auto;
  margin-left: 5px; /* Ajusta según necesites */
}

/* ======== Carrusel horizontal ======== */
.carrusel-horizontal {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 70px; /* Para que no quede debajo del menú */
}

.carrusel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrusel img {
  min-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.slide {
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Flechas de navegación */
.flecha-banner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.flecha-izq { left: 10px; }
.flecha-der { right: 10px; }

/* ======== Carrusel modelos ======== */
.carrusel-modelos {
  overflow: hidden;
  padding: 20px 0;
}

.modelos-contenedor {
  display: flex;
  gap: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  padding: 10px;
}

.modelos-contenedor img {
  scroll-snap-align: start;
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.modelos-contenedor img:hover {
  transform: scale(1.05);
}

/* ======== Footer ======== */
.footer-norton {
  background-color: #e3f2fd;
  padding: 40px 20px;
  font-size: 10px;
  color: #333;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-contenido .col {
  flex: 1 1 200px;
}

.footer-contenido h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.footer-contenido ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contenido ul li {
  margin-bottom: 8px;
}

.footer-contenido ul li a {
  text-decoration: none;
  color: #007bff;
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin-top: 20px;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {

  /* HEADER compacto */
  .menu {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 10px 20px;
    height: 60px;
    top: 0 !important;
  }

  /* Botón hamburguesa visible */
  .menu-toggle {
    display: block;
    font-size: 28px;
    z-index: 999;
  }

  /* Ajuste de logo */
  .menu-centro .logo {
    height: 45px;
  }

  /* MENÚ DESPLEGABLE */
  .menu nav ul {
    position: absolute;
    top: 60px;         /* debajo del header */
    left: 0;
    width: 100%;
    background: #ffffff; /* fondo sólido */
    display: none;
    flex-direction: column;
    padding: 14px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  /* Mostrar menú */
  .menu nav ul.mostrar {
    display: flex;
  }

  .menu nav ul li {
    text-align: center;
    padding: 12px 0;
  }

  .menu nav ul li a {
    color: #000;
    font-size: 18px;
    font-weight: 600;
  }
  .carrusel-horizontal {
    height: 80vh; /* banner mucho más grande */
    margin-top: 140px !important;
  }

  .carrusel-horizontal .slide img {
    height: 100%;
    object-fit: cover;
   }


  .redes ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .carrusel-horizontal {
    height: auto;
    margin-top: 90px; /* Ajuste para menú fijo */
  }

  .modelos-contenedor img {
    width: 150px;
    height: 220px;
  }
  .banner-anuncio {
        top: 0;
        padding: 10px;
        font-size: 14px;
    }

    .menu {
        top: 45px; /* para no tapar */
    }

  .footer-contenido {
    flex-direction: column;
    align-items: flex-start;
  }
   .carrusel-contenedor {
        height: 100% !important;
    }

    .carrusel {
        height: 100% !important;
    }

    .carrusel .slide {
        height: 100% !important;
    }
}

/* Sección de colecciones (banner publicitario) */
.colecciones {
  width: 100%;
  display: flex;
  justify-content: center; /* Centra la imagen horizontalmente */
  align-items: center; /* centra verticalmente el contenido */
  padding: 10px;
}

.colecciones .cuadro {
  width: 100%;          /* Ocupa todo el ancho disponible */
  
  max-width: 1200px;    /* Tamaño máximo para no verse demasiado grande en pantallas grandes */
  overflow: hidden;   /* evita que sobresalga la imagen */
  border-radius: 8px; /* opcional, bordes redondeados */
}

.colecciones .cuadro img {

  width: 100%;
  height: auto;       /* que la imagen siempre ocupe el alto del cuadro */
  object-fit: cover;  /* recorta sin deformar */
  display: block;
}
/* ============================================
   ULTRA PREMIUM ECOMMERCE — TIPO NIKE / SHEIN
   ============================================ */

/* Grid fluido */
.prendas-precios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  padding: 50px 20px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Tarjeta avanzada con efecto 3D */
.prenda {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  animation: fadeUp 0.6s ease both;
}

.prenda:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Fade-up al cargar */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Imagen estilo Shein/Nike */
.prenda img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease, opacity 0.45s ease;
}

/* Efecto hover: zoom + blur + oscurecimiento */
.prenda:hover img {
  transform: scale(1.15);
  filter: brightness(70%) blur(1px);
}

/* Overlay premium para botones - sobre la prenda*/
.overlay-prenda {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    height: 70px; /* altura del efecto 70px */
    background: rgba(0,0,0,0.65);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity .25s ease;
    z-index: 8;
}

/* Mostrar overlay al hacer hover en la imagen */
.img-wrapper:hover .overlay-prenda {
    opacity: 1;
    
}


.prenda:hover .overlay-prenda {
  opacity: 1;
}

/* Texto descriptivo */
.prenda p {
  padding: 15px;
  font-size: 18px;
  color: #222;
  font-weight: 600;
  text-align: center;
  margin: 0;
  border-top: 1px solid #eee;
}

/* Contenedor de precios */
.precio-prenda {
    margin-top: 5px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Precio antes */
.precio-antes {
    font-size: 14px;
    color: #777;
    text-decoration: line-through;
}

/* Precio actual */
.precio-ahora {
    font-size: 18px;
    font-weight: bold;
    color: #d17a00; /* tono elegante que resalta */
}


/* Botón WhatsApp flotante */
.btn-pedir {
  display: inline-block;
  width: 80%;
  background: #111;
  color: white;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-pedir:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* Botón secundario “Ver detalles” */
.btn-detalle {
  display: inline-block;
  width: 80%;
  background: rgba(255,255,255,0.85);
  color: #111;
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.25s, transform 0.25s;
}

.btn-detalle:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* Badge inferior */
.badge-prenda {
  position: absolute;
  top: 8px;      /* Cambiar bottom por top */
  left: 8px;     /* Mantener left */
  background: #2b2b2b;  /* gris oscuro elegante */
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  z-index: 5;
}


/* Responsive */
@media (max-width: 768px) {
  .prenda img { height: 240px; }
}

@media (max-width: 480px) {
  .prenda img { height: 200px; }
}

/* ================================
   SECCIÓN MODELOS ESTILO PREMIUM
   ================================ */

.carrusel-modelos {
  position: relative;
  width: 100%;
  padding: 40px 0;
  margin-top: 40px;
  background: #fff;
}

.titulo-seccion {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #222;
}

/* Contenedor tipo carrusel */
/* Tarjeta del carrusel */
.modelo-item {
    flex: 0 0 42%;     /* antes 48% (40% extra), ahora ~25% más del tamaño original */
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);

    /* NUEVO → altura fija */
    height: 380px;        /* AJUSTA ESTE VALOR según tu segunda imagen */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen */
.modelo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* recorta estético, como catálogo profesional */
    display: block;
}

/* Hover tipo Norton */
.modelo-item:hover img {
  transform: scale(1.12);
  filter: brightness(75%);
}

/* Título superpuesto */
.modelo-titulo {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 18px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 1px;
}

/* Flechas */
.flecha-modelo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.25s;
}

.flecha-modelo:hover {
  background: rgba(0,0,0,0.75);
}

.flecha-modelo.izquierda {
  left: 10px;
}

.flecha-modelo.derecha {
  right: 10px;
}

/* RESPONSIVE */
/* Tablet: 1 tarjeta por vista */
@media (max-width: 1024px) {
    .modelo-item {
        flex: 0 0 75%;
    }
}

/* Celular: 1 tarjeta por vista, pero más ancha */
@media (max-width: 600px) {
    .modelo-item {
        flex: 0 0 90%;
    }
}

  .modelo-titulo {
    font-size: 16px;
  }

/* ===========================
   SECCIÓN SUSCRIPCIÓN BALACK
=========================== */
/* Sección de suscripción con fondo */
.suscribete {
    width: 100%;
    height: 40vh; /* puedes ajustar: 35vh, 45vh, etc. */
    background-image: url("img/golfista.png"); /* Ajusta la ruta */
    background-size: cover;
    background-position: center right; /* mantiene enfoque a la derecha */
    background-repeat: no-repeat;

    display: flex;
    justify-content: flex-end; /* Mueve el contenido a la derecha */
    align-items: center;       /* Centrado vertical */
    padding: 20px 40px;
    position: relative;
}

/* Contenido interno */
.sus-content {
    background: rgba(255, 255, 255, 0.75); /* Panel blanco semitransparente */
    padding: 25px 35px;
    border-radius: 12px;
    max-width: 420px;
    text-align: center;
    backdrop-filter: blur(4px);
}

/* Ícono */
.sus-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #000;
}

/* Título */
.sus-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
}

/* Formulario */
.sus-form {
    display: flex;
    gap: 10px;
}

.sus-form input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #bbb;
}

.sus-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.sus-form button:hover {
    opacity: 0.85;
}

/* Responsivo: centrado en móviles */
@media (max-width: 768px) {
    .suscribete {
        justify-content: center; /* En móvil el bloque va al centro */
        height: 50vh;
        padding: 20px;
    }

    .sus-content {
        width: 90%;
    }

    .sus-form {
        flex-direction: column;
    }
}

/* === BOTÓN WHATSAPP FLOTANTE (GRIS OSCURO) === */
.whatsapp-flotante {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    background:  #d1d1d1; /* gris oscuro */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

.whatsapp-flotante img {
    width: 34px;
    height: 34px;
}

.whatsapp-flotante:hover {
    transform: scale(1.08);
    background: #1f1f1f;
}

/* Versión para móvil */
@media (max-width: 480px) {
    .whatsapp-flotante {
        width: 52px;
        height: 52px;
        right: 15px;
        bottom: 18px;
    }
    .whatsapp-flotante img {
        width: 28px;
        height: 28px;
    }
}

/* ================================
   FOOTER ESTILO RAMAHO PARA BALACK
   ================================ */

.footer-bk {
    margin-top: 40px;
    font-family: Arial, sans-serif;
}

/* BLOQUE NEGRO */
.footer-top {
    background: #111; 
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: white;
    text-align: center;
}

.footer-top i {
    font-size: 32px;
    margin-bottom: 10px;
}

.footer-top h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-top p {
    font-size: 13px;
    opacity: 0.8;
}


/* BLOQUE BLANCO */
.footer-bottom {
    background: white;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}

.footer-col ul {
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #000;
}

/* Logotipos */
.logo-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.logo-row img {
    width: 45px;
    height: auto;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top,
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===========================
   MODAL PREMIUM – BALACK
=========================== */

.modal-tiendas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s ease;
}

.modal-tiendas.show {
    display: flex;
    opacity: 1;
}

.modal-content-tiendas {
    background: #fff;
    width: 90%;
    max-width: 1100px;
    height: 85%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
    transition: all .35s ease;
}

.modal-content-tiendas.show {
    transform: translateY(0);
    opacity: 1;
}

/* BOTÓN CERRAR */
.btn-cerrar {
    position: absolute;
    top: 15px; right: 18px;
    background: #000;
    color: #fff;
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
    z-index: 10;
}

.btn-cerrar:hover {
    background: #333;
}

/* CONTENIDO PRINCIPAL */
.tiendas-wrapper {
    display: flex;
    height: 100%;
}

/* LISTA */
.lista-tiendas {
    width: 32%;
    background: #f8f9fa;
    padding: 30px 20px;
    border-right: 1px solid #ddd;
}

.lista-tiendas h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.lista-tiendas ul {
    list-style: none;
    padding: 0;
}

.lista-tiendas ul li {
    padding: 14px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    border-radius: 10px;
    transition: background .2s, transform .15s;
}

.lista-tiendas ul li i {
    color: #444;
    font-size: 18px;
}

.lista-tiendas ul li:hover {
    background: #e2e6ea;
    transform: translateX(5px);
}

.lista-tiendas ul li.active {
    background: #000;
    color: #fff;
}

.lista-tiendas ul li.active i {
    color: #fff;
}

/* MAPA */
.mapa-tiendas {
    flex: 1;
    background: #000;
}

.mapa-tiendas iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .tiendas-wrapper {
        flex-direction: column;
    }

    .lista-tiendas {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

/* ================================
   COLORES MINI EN TARJETAS
================================ */

.prenda .colores-mini {
  display: flex;
  gap: 6px;
  padding: 0 15px 8px;
  margin-top: 4px;
}

.prenda .color-mini {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  box-sizing: border-box;
}

/* ================================
   MODAL DETALLE PRODUCTO BALACK
================================ */

.modal-producto {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal-producto.activo {
  display: flex;
}

.overlay-modal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.caja-modal {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  max-width: 980px;
  width: 96%;
  max-height: 90vh;
  padding: 18px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  z-index: 1;
  display: flex;
  gap: 22px;
  overflow: hidden;
}

.btn-cerrar-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.col-modal {
  flex: 1;
}

/* Imagen principal */
.col-modal-izq img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Info modal */
.badge-modal {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  margin-bottom: 6px;
}

.col-modal-der h2 {
  margin: 4px 0 3px;
  font-size: 22px;
}

.descripcion-modal {
  margin: 0 0 4px;
  font-size: 14px;
  color: #555;
}

.fit-modal {
  margin: 0 0 10px;
  font-size: 13px;
  color: #777;
}

.precios-modal {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.antes-modal {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.ahora-modal {
  color: #d32f2f;
  font-weight: 700;
  font-size: 18px;
}

.bloque-modal {
  margin-bottom: 12px;
}

.bloque-modal h4 {
  margin: 0 0 5px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
}

/* Colores en modal */
.modal-colores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-option-modal {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.color-option-modal.seleccionado {
  border-color: #111;
}

/* Tallas en modal */
.modal-tallas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tallas .talla-item {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 12px;
}

/* Responsive modal */
@media (max-width: 768px) {
  .caja-modal {
    flex-direction: column;
    max-height: 95vh;
    padding: 14px 12px;
  }

  .col-modal-izq img {
    max-height: 260px;
    object-fit: cover;
  }
}
/* COLORES MINI EN LAS TARJETAS */
.colores-mini {
  display: flex;
  gap: 6px;
  margin: 6px 0;
}

.color-mini {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #999;
  display: inline-block;
}

/* MODAL PRODUCTO */
.modal-producto {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
}

.modal-producto.show {
  display: flex;
}

.caja-modal {
  background: white;
  width: 90%;
  max-width: 950px;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  position: relative;
}

.col-modal-izq img {
  width: 100%;
  border-radius: 10px;
}

.col-modal {
  flex: 1;
}

.btn-cerrar-modal {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-colores, .modal-tallas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.color-option.active {
  border-color: #000;
}

.talla-option {
  padding: 6px 10px;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 14px;
}

/* Ajuste de contenedor de imagen */
.img-wrapper {
    position: relative;
    width: 100%;
    height: 370px; /* Ajusta según tus imágenes */
    overflow: hidden;
}

/* Imagen adaptada al contenedor */
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre sin deformar */
    display: block;
}



/* Botón cerrar del modal */
.btn-cerrar-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    font-size: 22px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.btn-cerrar-modal:hover {
    background: rgba(0,0,0,0.85);
}
/* Contenedor de precio + colores alineados */
.precio-con-colores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

/* Dots de colores */
.colores-mini {
    display: flex;
    gap: 6px;
}

.color-mini {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #999;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.color-mini:hover {
    transform: scale(1.15);
}

/* Animación fade */
.img-wrapper img.fade-out {
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

.img-wrapper img.fade-in {
    opacity: 1;
    transition: opacity 0.25s ease-in;
}

/* === AJUSTE DEL CARRUSEL EN CELULARES === */
@media (max-width: 768px) {
    .carrusel-horizontal {
        height: 45vh;   /* Aumenta el alto visible en móviles */
    }

    .carrusel-contenedor {
        height: 45vh;
    }

    .carrusel-horizontal img {
        object-fit: cover; /* Ocupa más espacio sin deformarse */
        height: 100%;
        width: 100%;
    }
}

/* Para celulares muy pequeños */
@media (max-width: 480px) {
    .carrusel-horizontal {
        height: 50vh;  /* aún más alto */
    }
    
    .carrusel-contenedor {
        height: 50vh;
    }
}

/* =======================================
   Marquesina infinita sin cortes
   ======================================= */

.marquesina {
    width: 100%;
    overflow: hidden;
    background: #2b2b2b;
    padding: 6px 0;
}

.marquesina-inner {
    display: flex;
    width: max-content;
    animation: scrollMarquesina 18s linear infinite;
}

.marquesina-inner img {
    height: 38px;         /* ajusta según tu diseño */
    object-fit: contain;
    margin-right: 60px;   /* espacio entre copias */
}

@keyframes scrollMarquesina {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* mueve solo la mitad para empalmar perfecto */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .marquesina-inner img {
        height: 32px;
        margin-right: 40px;
    }
}

/* Marco alrededor de los botones de colores */
.color-frame {
    display: inline-flex;
    padding: 1px 3px;             /* MENOS altura */
    border: 2px solid #c8c8c8;  /* BORDE MÁS FUERTE */
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10); /* Sombra más sutil */
}

.colores-mini {
    display: flex;
    gap: 4px;                     /* Espaciado más compacto */
}

.color-mini {
    width: 12px;                  /* Más pequeños */
    height: 12px;
    border-radius: 50%;
    border: 1px solid #888;       /* Borde más visible */
    cursor: pointer;
}


.color-mini.active {
    border: 2px solid #333;
    transform: scale(1.15);
}

.descripcion-img {
    width: 100%;
    max-width: 260px;
    margin: 6px auto;
    display: block;
}

.colecciones-grid {
    width: 100%;
    padding: 20px 0;
}

.colecciones-grid .titulo-seccion {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.grid-colecciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 0 10px;
}

.coleccion-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.coleccion-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.coleccion-item:hover img {
    transform: scale(1.05);
}

.coleccion-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: black;
    background: rgba(255,255,255,0.85);
    padding: 12px 20px;
    border-radius: 10px;
    text-align: left;
}

.coleccion-info h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.btn-ver {
    background: black;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-ver:hover {
    background: #333;
}
/* ================================
   GRID COLECCIONES 2x2
================================ */

.grid-colecciones.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px auto;
    width: 100%;
    max-width: 1300px;
}

.coleccion-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.coleccion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene proporción y llena el cuadro */
    display: block;
}

.coleccion-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #000;
}

.coleccion-info h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
}

.coleccion-info .btn-ver {
    display: inline-block;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

/* MOBILE - versión compacta de colecciones */
@media (max-width: 768px) {

    .grid-colecciones.grid-2x2 {
        grid-template-columns: 1fr; /* una sola columna */
        gap: 10px;
    }

    .coleccion-item {
        height: 200px; /* controla la altura en celular */
    }

    .coleccion-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .coleccion-info {
        bottom: 12px;
        left: 12px;
    }

    .coleccion-info h3 {
        font-size: 20px;   /* más pequeño */
        margin-bottom: 6px;
    }

    .coleccion-info .btn-ver {
        padding: 6px 14px;
        font-size: 13px;
        border-radius: 10px;
    }
}

/* FIX CRÍTICO PARA QUE FUNCIONE LA IMAGEN MOBILE DEL BANNER */
/* FIX: permitir que <picture> use la imagen mobile correctamente */
@media (max-width: 768px) {
    .carrusel-horizontal .slide img {
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .carrusel-horizontal,
    .carrusel-contenedor,
    .carrusel {
        height: auto !important;
    }
}

/* === SUBMENÚ CATÁLOGO === */

.submenu {
    position: relative;
}

.submenu > a {
    cursor: pointer;
}

/* Lista oculta por defecto */
.submenu-items {
    position: absolute;
    top: 100%;
    left: 0;
    width: 180px;
    background: white;
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    list-style: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 999;
}

.submenu-items li {
    padding: 10px 15px;
}

.submenu-items li a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.submenu-items li:hover {
    background: #f4f4f4;
}

/* Mostrar submenú en PC */
@media (min-width: 769px) {
    .submenu:hover .submenu-items {
        display: block;
    }
}

/* MODO MÓVIL — abrir al hacer clic */
@media (max-width: 768px) {
    .submenu-items {
        position: static;
        width: 100%;
        box-shadow: none;
        padding-left: 20px;
    }
    .submenu.open > .submenu-items {
        display: block;
    }
}

/* CONTROL DEL TAMAÑO DE LA IMAGEN DE DESCRIPCIÓN */
.descripcion-img {
    width: 100%;
    max-width: 260px;      /* Tamaño máximo visible */
    height: auto;
    display: block;
    margin: 10px auto 0;   /* centrado y con margen */
    object-fit: contain;
}

@media (max-width: 480px) {
    .descripcion-img {
        max-width: 240px;
    }
}

/* ============================================
   CONTROL DEFINITIVO PARA IMAGEN DE DESCRIPCIÓN
   ============================================ */

.descripcion-img {
    width: 100%;
    max-width: 260px !important;   /* LIMITE REAL */
    height: auto !important;
    display: block;
    margin: 10px auto 0;
    object-fit: contain !important;
    pointer-events: none;
}
.prenda p {
    padding: 8px 0 !important;
    text-align: center;
}

/* SUBMENÚ — OCULTO POR DEFECTO */
.submenu {
    position: relative;
}

.submenu-items {
    display: none;                 /* OCULTO */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    min-width: 160px;
}

/* Mostrar SOLO cuando el mouse esté encima */
.submenu:hover .submenu-items {
    display: block;
}

/* Estilos internos */
.submenu-items li {
    list-style: none;
    padding: 10px 16px;
    white-space: nowrap;
}

.submenu-items li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.submenu-items li:hover {
    background: #f2f2f2;
}
/* ======== SUBMENÚ — FORZADO ======== */
.submenu-items {
    display: none !important;      /* SIEMPRE OCULTO */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 10px 0;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* Mostrar solo al pasar el mouse */
.submenu:hover .submenu-items {
    display: block !important;
}

/* Items */
.submenu-items li {
    list-style: none;
    padding: 12px 18px;
    white-space: nowrap;
}

.submenu-items li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.submenu-items li:hover {
    background: #f3f3f3;
}



