/* ===============================
   RESET BÁSICO
=============================== */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #000000;
}

/* ===============================
   BARRA SUPERIOR REDES
=============================== */
.top-bar {
    background: #f7006f;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.socials {
    display: flex;
    gap: 25px;
}

.socials a {
    color: #fff;
    font-size: 18px;
    transition: 0.3s ease;
}

.socials a:hover {
    transform: scale(1.2);
    color: #ffd1e8;
}

/* ===============================
   HEADER
=============================== */
.header {
    text-align: center;
    padding: 10px 0;
}

.header img {
    max-width: 150px;
    width: 100%;
}

/* ===============================
   BARRA INFORMATIVA
=============================== */
.info-bar {
    background: #ff4398;
    color: #fff;
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: center;
}

/* =========================
   MENÚ
========================= */
.menu-toggle { display: none; }

.nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: #ff4398;
    padding: 15px 0;
    position: relative;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #000;
    font-weight: normal;
}

.dropdown-menu a:hover {
    background: #f7006f;
    color: #fff;
}

.dropdown:hover .dropdown-menu { display: block; }

/* =========================
   CARRUSEL CATEGORÍAS
========================= */
.categorias { width: 100%; overflow: hidden; }

.categorias-wrapper { overflow: hidden; width: 100%; }

.categorias-row {
    display: flex;
    width: max-content;
    animation: scrollCategorias 25s linear infinite;
}

.categoria {
    flex: 0 0 auto;
    width: 25vw;
    position: relative;
    text-decoration: none;
    color: white;
}

.categoria img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.categoria h3,
.categoria p {
    position: absolute;
    left: 20px;
    z-index: 2;
}

.categoria h3 { bottom: 60px; }
.categoria p { bottom: 30px; }

@keyframes scrollCategorias {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===============================
   PRODUCTOS
=============================== */
.productos { padding: 60px 40px; text-align: center; }

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.producto img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
}

.producto h3 { margin: 12px 0 6px; }
.producto p { font-weight: bold; }

.btn-wsp {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #f7006f;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
}

/* ==================================== NOVEDADES ==================================== */
.novedades {
    padding: 40px 20px;
    background: #f5f5f5;
    text-align: center;
}

.novedades h2 {
    color: #ff4398;
    font-size: 26px;
    margin-bottom: 20px;
}

.novedades-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.novedad-card {
    width: 220px;
}

.novedad-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
}

.novedad-card h4 {
    margin: 10px 0;
}



/* ==================================== REDES SOCIALES ==================================== */
.social-feed {
    padding: 60px 40px;
    text-align: center;
}

.social-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

/* ==================================== MAPA ==================================== */
.ubicacion {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ubicacion iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.mapa {
    max-width: 1000px;
    margin: 0 auto;
}

.ubicacion h2,
.ubicacion p {
    color: #ff4398;
    text-align: center;
}

/* ==================================== BARRA LOGO INFERIOR ==================================== */
.logo-bar {
    background: #ffffff;
    padding: 5px 0;
    text-align: center;
}

.logo-bar img { max-width: 140px; }

/* ==================================== FOOTER NUEVO ==================================== */
.footer {
    background: #f7006f;
    color: #fff;
    padding: 20px 10px 20px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    justify-items: center;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s ease;
}

.footer a:hover { color: #ffd1e8; }

.footer-socials {
    display: flex;
    gap: 15px;
    font-size: 18px;
    justify-content: left;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
}

.creditos {
    font-size: 14px;
    opacity: 0.8;
}

.creditos a {
    display: inline !important;
    font-weight: bold;
}

.creditos a:hover { color: #ffd1e8; }

/* ====================================
   CATÁLOGO DINÁMICO (SOLO catalogo/index.html)
==================================== */

/* Contenedor principal */
#contenido {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: start;
}

/* Tarjetas */
#contenido .producto {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

#contenido .producto:hover {
    transform: scale(1.03);
}

/* Imagen */
#contenido .producto img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Título debajo imagen */
#contenido .producto h3 {
    font-size: 20px;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none;
}

/* Links productos formato */
#contenido .producto a,
#contenido .producto a:link,
#contenido .producto a:visited,
#contenido .producto a:hover,
#contenido .producto a:active {
    color: #ff0084 !important;
    text-decoration: none !important;
}

/* Precio oculto */
#contenido .producto p {
    display: none;
}

/* Título principal */
#titulo {
    text-align: center;
    margin-top: 60px;
    font-size: 34px;
}

/* ===============================
   DETALLE PRODUCTO
=============================== */

#contenido.detalle-activo {
    display: block;
}

#titulo.oculto {
    display: none;
}

.detalle-producto {
    max-width: 1100px;
    margin: 80px auto;
    display: flex;
    gap: 70px;
    align-items: flex-start;
    justify-content: center;
}

/* IZQUIERDA */
.detalle-izquierda {
    display: flex;
    flex-direction: column;
}

.imagen-principal-wrapper {
    width: 420px;
    height: 520px;
    overflow: hidden;
    border-radius: 20px;
}

#imagen-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MINIATURAS */
.miniaturas-grid {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(5, 70px);
    gap: 10px;
}

.miniatura {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s ease;
}

.miniatura:hover {
    transform: scale(1.05);
}

.miniatura.activa {
    opacity: 1;
    outline: 2px solid #ff4398;
}

/* DERECHA */
.detalle-derecha {
    max-width: 350px;
    padding-top: 60px;
}

.detalle-derecha h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* BOTÓN */
.btn-consultar {
    display: inline-block;
    padding: 14px 28px;
    background: #f7006f;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-consultar:hover {
    background: #d60060;
}

/* PALETA ROSA */
:root {
    --rosa-principal: #e60073;
    --rosa-secundario: #ff4fa3;
    --rosa-suave: #ff9cc9;
    --rosa-fondo: #fff5fa;
    --texto-oscuro: #3a0030;
    --texto-medio: #6b2b58;
}

/* HERO */

.nosotros-hero {
    text-align: center;
    padding: 80px 20px 35px;
    background: var(--rosa-fondo);
}

.nosotros-hero h1 {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--rosa-principal);
    margin-bottom: 15px;
    position: relative;
}

.nosotros-hero h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--rosa-secundario);
    margin: 14px auto 0;
    border-radius: 2px;
}

.nosotros-hero p {
    font-size: 18px;
    max-width: 650px;
    margin: 15px auto 0;
    line-height: 1.7;
    color: var(--texto-medio);
}

/* CONTENIDO */

.nosotros-contenido {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

/* BLOQUES */

.bloque {
    margin-bottom: 60px;
    text-align: center;
}

.bloque h2 {
    font-size: 30px;
    font-weight: 600;
    color: var(--rosa-principal);
    margin-bottom: 15px;
    position: relative;
}

.bloque h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: var(--rosa-suave);
    margin: 12px auto 0;
    border-radius: 2px;
}

.bloque p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 750px;
    margin: 15px auto 0;
    color: var(--texto-oscuro);
}

/* VALORES */

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.valor-card {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(230, 0, 115, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(230, 0, 115, 0.15);
}

.valor-card h3 {
    color: var(--rosa-secundario);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 20px;
}

.valor-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--texto-medio);
}

/* ===============================
   CONTACTO
=============================== */

.contacto {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 80px 20%;
    background: #f5f5f5;
    align-items: center;
}

.contacto-info h2 {
    font-size: 42px;
    color: #f7006f;
    margin-bottom: 20px;
}

.direccion {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.direccion a {
    color: #f7006f;
    font-weight: bold;
    text-decoration: none;
}

.redes h4 {
    margin-bottom: 10px;
}

.contacto-socials {
    display: flex;
    gap: 20px;
}

.contacto-socials a {
    font-size: 26px;
    color: #f7006f;
    transition: 0.3s;
}

.contacto-socials a:hover {
    color: #97003c;
}

.contacto-mapa iframe {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    border: 4px solid #f7006f;
}


/* ===============================
   BOTON WHATS
=============================== */
.btn-whatsapp {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: #f7006f;
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

/* ===============================
   RESPONSIVE CATÁLOGO
=============================== */

@media (max-width: 1024px) {

    .detalle-producto {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .imagen-principal-wrapper {
        width: 350px;
        height: 450px;
    }

    .miniaturas-grid {
        grid-template-columns: repeat(5, 60px);
    }

    .miniatura {
        width: 60px;
        height: 60px;
    }

}

@media (max-width: 767px) {

    .contacto {
        grid-template-columns: 1fr;
        padding: 50px 6%;
        text-align: center;
    }

    .contacto-info h2 {
        font-size: 32px;
    }

    .contacto-socials {
        justify-content: center;
    }

    .contacto-mapa iframe {
        height: 300px;
    }

    #titulo {
     margin-top: 20px;
      font-size: 28px;
    }
    #contenido {
        grid-template-columns: 1fr;
        justify-items: center;
        justify-content: center;
        margin: 25px auto;
    }

    #contenido .producto {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        align-items: center;
    }

    #contenido .producto a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #contenido .producto h3 {
        font-size: 18px;
        margin-top: 8px;
    }
   
    .productos {
        padding: 10px 10px;
    }

    .menu-toggle {
      display: block;
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 22px;
      color: #ffffff;
      cursor: pointer;
      z-index: 1000;
  }

 .detalle-producto {
    flex-direction: column;
    align-items: center;
    gap: 8px;                
    margin: 10px auto 0;     
}

.imagen-principal-wrapper {
    width: 300px;
    height: 400px;
    margin-bottom: 0;        
}

.miniaturas-grid {
    display: flex !important;        
    justify-content: center !important;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    width: auto;
}

.miniatura {
    width: 58px;
    height: 58px;
}

.detalle-derecha {
    padding-top: 0;
    margin-top: 0;
    text-align: center;
}

.detalle-izquierda {
    align-items: center;
}
.detalle-derecha h2 {
    margin: 6px 0 12px;
}

  .nav {
      display: none;
      flex-direction: column;
      background: #ff4398;
      width: 100%;
  }

  .nav.active {
      display: flex;
  }

  .dropdown-menu {
      position: static;
      box-shadow: none;
  }

}



