.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 12, 4, 0.95); /* White background with opacity */
    z-index: 9999; /* High z-index to cover the page */
    display: none; /* Hidden by default */
}

.loader {
    border: 4px solid rgba(255, 255, 255, .5);
    border-left-color: transparent;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin89345 1s linear infinite;
    
    /* Centering */
    position: absolute;
    top: 50%;
    left: 46%;
    transform: translate(-50%, -50%);
}

@keyframes spin89345 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



#second-level-categories-container nav{
	position:sticky;
	top:80px;
}

/* Main categories nav */
.main-categories-nav{
	position:sticky;
	top:15px;
	
}



/* Modal Preços Restaurante */

.modal {
    display: none;
    position: fixed;
    z-index: 99999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust color and opacity as needed */
    z-index: -1; /* Ensures it does not interfere with modal content */
}


#second-level-wrapper-82 > div:nth-child(1) {
    display: flex;
    padding-bottom: 10px;
    background-color: #f9f9f9;
    position: sticky;
    top: 80px;
    transition: box-shadow 0.3s ease;
}

#second-level-wrapper-82 > div:nth-child(1).is-sticky {
    box-shadow: 0px 30px 30px 0px rgba(17, 17, 17, 0.15);
}



