html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Poppins', sans-serif;
}

.encabezado{
    display: flex;
    gap: 5px;
    width: 100%;
    background-color: #f2f4f2;
}

.encabezado > div{
    flex: 1;
    height: 80px;
    background-color:#f2f4f2;
}
/*inico del ccs del logo imagen de kivy*/
/* la imagen ocupa todo el div */
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* fondo limpio para el logo */
}

.logo img{
    height: 60px;          /* tamaño controlado */
    width: auto;           /* mantiene proporción */
    transition: transform 0.3s ease;
}

/* efecto cuando el usuario pasa el mouse */
.logo img:hover{
    transform: scale(1.1);
}/*final del  css del logo*/

/*inicio del css del menu del encabezado*/
.menu{
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    height: 100%;
}

.menuEncabezado{
    list-style: none;
    display: flex;
    justify-content: center; /* centra los elementos del menú */
    align-items: center;
    gap: 35px;
    padding: 0;
    margin: 0;
}

.menu a{
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    transition: all 0.25s ease;
}

/* efecto hover */
.menu a:hover{
    color: #2bb3d6;
}

/* dropdown */
.dropdown{
    position: relative;
}

.dropdown-menu{
    list-style: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    padding: 10px 0;
    margin: 0;
    min-width: 190px;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
     z-index: 1000;
}

.dropdown-menu li{
    padding: 8px 18px;
}

.dropdown-menu li a{
    display: block;
}

/* cuando esté activo */
.dropdown.active .dropdown-menu{
    display: block;
}
/*inicio del css del contador del carrito*/
.iconoCarrito{
    position: relative;
    font-size: 22px;
    cursor: pointer;
}

.contador-carrito{
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}/*final del css del contador del carrito*/




/* fin del css del menu del encabezado */

/*inicia la parte del inicio de sesion y carrito */
.contenedor{
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    gap: 20px;               /* espacio entre iconos */
    height: 100%;
}

/* iconos */
.contenedor i{
    font-size: 24px;
    cursor: pointer;
}

/* menu usuario */
.iconoUsuario{
    position:relative;
}

/* menu desplegable */
.menuUsuario{
    list-style:none;
    position:absolute;
    top:35px;
    right:0;
    background:white;
    padding:10px 0;
    margin:0;
    min-width: 170px;
    border-radius:6px;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
    display:none;
     z-index: 1000;
}

.menuUsuario li{
    padding:8px 15px;
}

.menuUsuario a{
    text-decoration:none;
    color: black;
    font-size: 13px;
}

/* mostrar menu */
.iconoUsuario.active .menuUsuario{
    display:block;
}


/*incio del css correspondiente al nav (que lleva imagen y eslogan)*/
/* Hero */
.hero {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 1s ease-in-out;
}

.hero-image-carousel img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 8%;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Syncopate';
    font-size: 4rem;
    margin-bottom: 20px;
    color: #000;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    color: #333;
}

/* Texto especial del hero */
.hero-content p {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.hero-content p span {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 2.5rem;
    margin-top: 10px;
    letter-spacing: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}/*final del css del nav*/

















/* incio  correspondiente al  css Footer */
/* links del footer */
.footer-links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
}

/* columnas */
.footer-links .columna{
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

/* títulos */
.footer-links h4{
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
}

/* links */
.footer-links a{
    text-decoration: none;
    color: #aaa;
    font-size: 13px;
    transition: 0.3s;
}

/* hover elegante */
.footer-links a:hover{
    color: #c9a05e;
}/*Aui termina la parte de estilos para los enlaces del footer*/




footer {
    padding: 50px 8%;
    background: #fff;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: #666;
}




.footer-social {
    margin-bottom: 15px;
}

.footer-social a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ff3e3e;
}

footer {
    background: #0a0a0a;
    padding: 40px 20px;
    border-top: 1px solid rgba(201, 160, 94, 0.2);
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-footer {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 160, 94, 0.3);
    border-radius: 50%;
    color: #c9a05e;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-footer:hover {
    background: #c9a05e;
    color: #000;
    transform: translateY(-5px);
    border-color: #c9a05e;
}

.copyright {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 1px;
    margin: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .social-footer {
        gap: 15px;
    }
    
    .social-icon-footer {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}/*final correspondiente al css footer*/


/*Inicio del css correspondiente al section cuerpo del index*/
.contenido{/*inicio del css correspondiente al div categorias */
    padding: 50px 8%;
    background: #fff;
    text-align: center;
}

.titulo-seccion{
    font-size: 28px;
    margin-bottom: 30px;
}

/* grid de categorías */
.categorias{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.categoria{
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    /* Forzar que el overflow:hidden funcione aunque el navegador tenga zoom */
    isolation: isolate;
}

/* imagen */
.categoria img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;           /* elimina espacio extra debajo de la imagen */
    transition: transform 0.4s ease;
    will-change: transform;   /* evita artefactos durante la animación */
}

/* texto encima */
.categoria p{
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* efecto hover */
.categoria:hover img{
    transform: scale(1.1);
}

/* agregue cambio de redes sociales */
/* Footer moderno y minimalista */
footer {
    background: #000000;
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-footer {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

.social-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 50%;
}

.social-icon-footer:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Efecto moderno sin fondo, solo íconos limpios */
.social-icon-footer:hover .fa-facebook-f {
    filter: drop-shadow(0 0 5px #1877f2);
}

.social-icon-footer:hover .fa-instagram {
    filter: drop-shadow(0 0 5px #e4405f);
}

.social-icon-footer:hover .fa-tiktok {
    filter: drop-shadow(0 0 5px #ffffff);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 1rem;
    }
    
    .social-footer {
        gap: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .social-icon-footer {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .copyright {
        font-size: 0.65rem;
    }
}
/*agregue cambio al cuerpo /*
/* Sección de contenido */
.contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.descripcion-seccion {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Categorías */
.categorias {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.categoria {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.categoria a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.categoria-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 1rem;
    /* Prevenir distorsión al hacer zoom en el navegador */
    isolation: isolate;
    line-height: 0;  /* evita espacio fantasma debajo de la imagen */
}

.categoria-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;           /* elimina espacio extra (inline gap) */
    transition: transform 0.4s ease;
    will-change: transform;
}

.categoria:hover .categoria-img img {
    transform: scale(1.05);
}

.categoria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.categoria:hover .categoria-overlay {
    opacity: 1;
}

.categoria p {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0.8rem 0 0.2rem;
    color: #1a1a1a;
}

.categoria-legado {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sobre nosotros */
.sobre-nosotros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: #f8f8f8;
    border-radius: 28px;
    padding: 2.5rem;
    align-items: center;
}

.etiqueta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff6b6b;
    font-weight: 600;
}

.sobre-texto h3 {
    font-size: 1.8rem;
    margin: 0.5rem 0 1rem;
    color: #1a1a1a;
}

.sobre-texto p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sobre-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

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

.stat-numero {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-texto {
    font-size: 0.75rem;
    color: #888;
}

.sobre-imagen img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 300px;
}

/* Banner inspiracional */
.banner-inspiracion {
    background: linear-gradient(135deg, #0a0a0a 0%, #2c2c2c 100%);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.banner-etiqueta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffd966;
    font-weight: 600;
}

.banner-contenido h3 {
    font-size: 2rem;
    color: white;
    margin: 0.5rem 0;
}

.banner-contenido p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

/* Descripción de marcas */
.subtitulo {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.grid-marcas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.marca-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.marca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.marca-icono {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.marca-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.marca-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Beneficios */
.beneficios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.beneficio {
    text-align: center;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 16px;
}

.beneficio-icono {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.beneficio h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
}

.beneficio p {
    font-size: 0.75rem;
    color: #888;
}

/* Testimonios */
.testimonios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonio {
    background: #f8f8f8;
    padding: 1.8rem;
    border-radius: 20px;
}

.testimonio-estrellas {
    color: #ffc107;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.testimonio p {
    font-style: italic;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.testimonio h4 {
    font-size: 0.9rem;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .contenido {
        padding: 2rem 1rem;
    }
    
    .titulo-seccion {
        font-size: 1.8rem;
    }
    
    .sobre-nosotros {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .grid-marcas {
        grid-template-columns: 1fr;
    }
    
    .beneficios {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonios {
        grid-template-columns: 1fr;
    }
    
    .banner-contenido h3 {
        font-size: 1.4rem;
    }
}