* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffd8ec;
    color: #444;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #4b0082;
}


.logo {
    font-family: "Great Vibes", "Segoe Script", cursive;
    font-size: 2rem;
    font-weight: 700;
    color: #f4d03f;
}

.logo span {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #f4d03f;
    font-weight: 500;
    transition: color 0.3s ease-out;
    cursor: pointer;
}

.link:hover {
    color: white;
}

.log {
    margin-left: 15px;
    text-decoration: none;
    color: #f4d03f;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
}

.log:hover {
    color: #d63384;
}


/* Hero */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 60px 20px;
    background-image: url(public/img/bg-hero.jpg);
    background-size: cover;
    background-position: center;
}

.hero-text h2 {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 2.2rem;
    color: #d63384;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-img img {
    background-color: white;
    max-width: 300px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.hero-img img:hover {
    transform: scale(1.1);
}

.btn {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #d633848a;
    filter: background-color blur(5px);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background-color: #b82b6f;
}

/* Categorías */
.categorias {
    width: 100%;
    padding: 10px;
    text-align: center;
    background: linear-gradient(180deg, #ffd8ec 70%, rgba(255, 255, 255, 0) 90%);
}

.categorias h2 {
    color: #d63384;
    font-size: 1.8rem;
}

.categoria-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.categoria {
    background-color: #d633848a;
    backdrop-filter: blur(50px);
    color: white;
    display: inline-block;
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.categoria:hover {
    background-color: #b82b6f;
}

/* Catálogo */
.catalogo {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    padding: 40px 20px;
}

.catalogo h2 {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #d63384;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.productos-grid {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.producto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 220px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}


.producto img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}


.precio {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #d63384;
    font-weight: 700;
    margin: 10px 0;
}

.btn-whatsapp {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #25d366;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

/* Footer */
.footer {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    padding: 20px;
    background-color: #4b0082;
    color: white;
    margin-top: 0;
}

.redes {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-top: 10px;
}

.redes a {
    color: #f4d03f;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 600;
    transition: 0.3s;
}

.redes a:hover {
    color: white;
}

.footer a {
    color: #f4d03f;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1080px) {
    .body {
        width: 100%;
        height: 100dvh;
    }

    /* Ocultamos la imagen totalmente en tablets y resoluciones inferiores */
    .hero-img {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width:500px) {

    .body {
        width: 100%;
        height: 100dvh;
    }

    .header {
        display: block;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
        background-color: #4b0082;
    }

    .logo {
        font-family: "Great Vibes", "Segoe Script", cursive;
        font-size: 2rem;
        font-weight: 700;
        color: #f4d03f;
    }

    .logo span {
        font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 1.6rem;
        font-weight: 700;
        color: white;
    }

    .nav a {
        font-size: 1.1rem;
        text-decoration: none;
        color: #f4d03f;
        font-weight: 500;
        transition: color 0.3s ease-out;
        cursor: pointer;
    }

    .hero {
        flex-direction: column;
    }

    .hero img {
        display: none;
    }

    .categoria-grid {
        display: contents;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

}