/*ROOT*/
:root {
    --league-spartan: 'League Spartan', sans-serif;
    --great-vibes: 'Great Vibes', cursive;
    --mocha-muse: #a47864;
    --white: #fff;
    --orange: orange;
    --purple: #7e5e91;
    --cafecito: #cab7af;
    --verde:#aca17d;
    --rosita: #d2a99f;
}
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "League Spartan", serif;
}
/* ---------------------- NAVBAR ---------------------- */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: var(--white); /* Transparente */
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
} 
.navbar img {
    height: 70px; /* Logo */
    cursor: pointer;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center; /* Alineación vertical de los ítems */
}
.navbar ul li a {
    text-decoration: none;
    color:black;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px; /* Ajuste de tamaño para mejor alineación */
    text-transform: uppercase;
    position: relative;
}
/* Iconos de Lordicon */
.navbar ul li a .lord-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Estilo para el contador del carrito */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: orange;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
/* ---------------------- MENÚ HAMBURGUESA ---------------------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    height: 60px;
    width: auto;
}
.menu-toggle i{
    font-size: 30px;
}
/* ---------------------- ESTILO FOOTER ---------------------- */
footer {
    position: relative;
    color: white;
    text-align: center;
    background-color: var(--verde);
    width: 100%;
    height: 100%;
    padding: 5px;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    flex-direction: column;
}
.footer-container h4 {
    font-size: 24px;
    padding: 5px;
    font-weight: 300;
}
.icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: row;
    align-items: center;
}
.icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}
.icons a:hover {
    color: orange;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: white;
    font-weight: 300;
}
/* Burbuja de WhatsApp */
.whatsapp-bubble {
    position: fixed;
    align-items: center;
    bottom: 20px;
    right: 20px;
    background-color: #23d366;
    padding: 5px;    
    border-radius: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    cursor: pointer;
}
/*--ESTILOS NUEVOS--*/
/* ---------------------- GENERAL ---------------------- */
body{
    background-color:white;
}
/* ---------------------- SECCIÓN DE PRODUCTOS ---------------------- */
.products {
    text-align: center;
    padding: 80px 20px;
}
.product-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
    max-width: 800px;
    margin: auto;
}
.products h2 {
    font-size: 60px;
    font-family: var(--great-vibes);
    position: relative;
    z-index: 1;
    background: transparent;
    font-weight: 500;
    color: var(--mocha-muse);
    padding: 5px;
    margin-top: 60px;
}
.products p{
    font-size: 26px;
    position: relative;
    z-index: 1;
    background: transparent;
    font-weight: 300;
    color: var(--rosita);
    padding: 15px;
}
.product {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    margin: 15px auto;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: inline-block;
}
.product:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}
.product h3 {
    font-size: 22px;
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: 300;
    text-transform: uppercase;
}
.product p {
    font-size: 18px;
    color: #a47864;
    font-weight: bold;
    margin-bottom: 15px;
    font-weight: 300;
}
.product .btn {
    background: var(--cafecito);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}
.product .btn:hover {
    background: #a47864;
}
/* Por defecto: color original */
.responsive-icon {
    filter: none;
}
/* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
    }
    .responsive-icon {
        filter: brightness(0) invert(1);
      }
    .navbar ul li a {
        color:white;
    }
    .navbar ul.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        text-align: center;
    }
    .product-container {
        grid-template-columns: 1fr;
    }
    .products {
        padding: 50px 10px;
    }
    .product {
        width: 90%;
        margin: auto;
    }
}
