﻿
   /* Full-page overlay */
        .category-dropdown-overlay {
            position: fixed;
            /*top: 80px; /* adjust if header height changes */*/
            left: 0;
            width: 100%;
            height: 70vh;
            background-color: rgba(255, 255, 255, 0.97);
            z-index: 9999;
            display: none; /* hidden by default */
            overflow-y: auto;          
        }

            /* Show overlay */
            .category-dropdown-overlay.active {
                display: block;
            }

            /* Category image */
            .category-card .dropdown-img img {
                width: 50px;
                height: 50px;
                object-fit: contain;
            }

        /* Subcategories */
        .subcategory-list li a,
        .static-links li a {
            color: #333;
            font-size: 1.7rem;
            transition: color 0.3s;
            font-weight:400;
        }

            .subcategory-list li a:hover,
            .static-links li a:hover {
                color: #D6A21F;
            }
            body.no-scroll {
    overflow: hidden;
    position: fixed;  
    width: 100%;     
    top: 0;
}
            .category-dropdown-overlay {
 
    position: fixed;      
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto; 
    z-index: 1000;  
    display: none;
}

.category-dropdown-overlay.active {
    display: block; 
}
/* CSS to stop page scroll (used by tooglmenu) */
body.no-scroll {
    overflow: hidden; 
    position: fixed;  
    width: 100%;      
}

/* CSS for showing the dropdown (used by both functions) */
.category-dropdown-overlay.active {
    display: block; 
    overflow-y: auto; 
    max-height: 100vh;
}
.close-btn{
  font-size: 25px;
  background-color: #001c39;
  border-radius: 50%;
  padding: 0 10px;
  position:absolute;
  right:15px;
  color:white;
}
.dropdown-text{
    font-size:18px;
}
.category-grid {
    /* **REQUIRED:** Force the content to flow into 4 columns */
    column-count: 4; 
    
    /* Optional: Space between the vertical columns */
    column-gap: 30px; 
    
    /* Ensure no flex or grid behavior from Bootstrap's .row class interferes */
    display: block; 
}

.category-column-item {
    display: inline-block;
    break-inside: avoid; 
    width: 100%;
    padding-bottom: 15px;
}

.column-heading {
    color: #333 !important;
    font-size: 0.95rem; 
    text-transform: capitalize;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    display: block; 
}

.subcategory-list {
    list-style: none;
    padding-left: 0 !important;
    margin-bottom: 0;
}

.subcategory-text {
    color: #555 !important;
    font-size: 0.9rem; 
    line-height: 1.4;
    padding: 2px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.subcategory-text:hover {
    color: #ff5722 !important; 
}
.category-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.column-heading {


    padding-bottom: 5px; 
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}


.dropdown-list-item.d-flex {
    align-items: center;
}