@charset "UTF-8";

:root {
    --color-foreground: 18, 18, 18;
    --font-heading-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar estilo Bootstrap */
#navbar {
    z-index: 1050;

}

#namePage {
    font-weight: var(--font-heading-weight, 600);
    /* line-height: 1.2; */
}

/* #namePage a {
    font-family: 'Assistant', sans-serif !important;
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    color: #121212BF
} */


.store__logo-img {
    width: clamp(35px, 5vw, 70px) !important;
    height: clamp(35px, 5vw, 70px) !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    transition: transform 0.2s ease;
}



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




/* Overlay debajo del navbar */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1030;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}




/* Menú compartido: lateral en mobile, horizontal en desktop */
#mainMenu {
    position: absolute;
    top: 100%;
    left: 0;
    height: 92vh;

    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1040;
    visibility: hidden;
    pointer-events: none;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;

    font-family: 'Assistant', sans-serif !important;
}

#mainMenu.show-menu {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}



.navbar .__menuItem_padding {
    padding: 1.1rem 3rem;
    font-family: 'Assistant', sans-serif !important;
}


/* ============================
Search Styles
   ============================ */

.w-80 {
    width: 80%;
}

.max-w-700px {
    max-width: 700px;
}

/* Para el overlay: */
#searchOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1060;
    height: 0;
    /* padding: 0 2rem; */
    overflow: hidden;
    transition: height 0.3s ease, padding 0.3s ease;
}

#searchOverlay.active {
    height: 100px;
    padding: 1rem 2rem;
}




/* En escritorio (>= 992px), menú normal horizontal */
@media (min-width: 992px) {
    #mainMenu {
        position: static;
        width: auto;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap !important;
    }

    .menu-overlay {
        display: none !important;
        box-sizing: border-box;

    }

    .nav-link.active,
    .custom-hover:hover {
        font-weight: bold;
        text-decoration: underline;
    }

    .__menuItem_padding {
        padding: 1.1rem !important;
    }
}

@media (max-width: 700px) {
    #mainMenu {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .nav-link.active,
    .custom-hover:hover {
        background-color: rgba(var(--color-foreground), .04);
    }

    #mainMenu li {
        width: 100%;
    }

}


@media (min-width: 701px) and (max-width: 991px) {
    #mainMenu {
        width: 50vw;
    }

    #mainMenu li {
        width: 100%;
    }

    .nav-link.active,
    .custom-hover:hover {
        background-color: rgba(var(--color-foreground), .04);
    }
}

















/* btn whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

@media (max-width: 500px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
    }

    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}