     /* Custom styles */
        .btn-md-square {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .categories-bars {
            margin: 0;
            padding: 0;
        }
        
        .categories-bars-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .categories-bars-item:last-child {
            border-bottom: none;
        }
        
        .categories-bars-item a {
            text-decoration: none;
            color: #333;
        }
        
        .categories-bars-item a:hover {
            color: #007bff;
        }
        
        #result {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-top: none;
            border-radius: 0 0 0.375rem 0.375rem;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        #result li {
            padding: 10px 15px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
        }
        
        #result li:hover {
            background-color: #f8f9fa;
        }
        
        .nav-bar {
            position: relative;
            z-index: 100;
        }
        
       
      .header-bg { background:#021b52!important; }
        
      .navbar-bg { background: #0A2463 !important; }
        
        .btn-secondary {
            background-color: #4a5568;
            border-color: #4a5568;
            color: #fff;
        }
        
        .btn-secondary:hover {
            background-color: #718096;
            border-color: #718096;
            color:white;
        }
        
        .dropdown-menu {
            border: none;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
            background-color: #2d3748;
        }
        
        /* .dropdown-item {
            color: #e2e8f0;
        } */
        
        .dropdown-item:hover {
            background-color: #4a5568;
            color: #ffffff;
        }
        
        .navbar-nav .nav-link {
            color: #e2e8f0 !important;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        /* Search bar styling for dark theme */
        .search-container .form-control {
            background-color: white;
            border-color: #4a5568;
            color: black;
        }
        
        .search-container .form-control::placeholder {
            color: #a0aec0;
        }
        
        .search-container .border {
            border-color: #4a5568 !important;
        }
        
        /* Icon styling for dark theme */
        .icon-container .btn-md-square {
            border-color: #4a5568 !important;
            color: #a0aec0;
            transition: all 0.3s;
        }
        
        .icon-container .btn-md-square:hover {
            background-color: #4a5568;
            color: #ffffff;
        }
        
        .icon-container .text-dark {
            color: #e2e8f0 !important;
        }
        
        /* Top Black Header */
        .top-black-header {
            background-color: #000000;
            color: #a0aec0;
            font-size: 0.875rem;
            padding: 8px 0;
            border-bottom: 1px solid #2d3748;
        }
        
        .top-black-header a {
            color: #a0aec0;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .top-black-header a:hover {
            color: #ffffff;
        }
        
        .top-black-header .divider {
            color: #4a5568;
            margin: 0 10px;
        }
        
        /* Navigation styling */
        .navbar-light .navbar-toggler {
            border-color: rgba(255, 255, 255, 0.1);
        }
        
        .navbar-light .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        .megamenu {
    position: static !important;
}

.megamenu-content {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.megamenu-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
}

.megamenu-list-item {
    margin-bottom: 8px;
}

.megamenu-list-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.dropdown .dropdown-menu .megamenu-list-link:hover {
    color: #0A2463;
    background-color: white;
}

/* Adjust dropdown positioning */
@media (min-width: 992px) {
    .megamenu-content {
        margin-top: 0;
    }
}


.product-item {
    transition: all 0.3s ease;
    /* border-radius: 15px; */
}

.product-item:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}

.title-border-radius {
    border-radius: 10px;
}

.bg-opacity-10 {
    opacity: 0.1;
}

.progress {
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Global typography tune-down to match old PHP pages */
html {
    font-size: 14px;
}

body {
    font-size: 14px;
}

li a{
     font-size: 0.95rem;
}

p,
a
{
  font-size: 1.2rem;  
}
li,
input,
textarea,
button {
    font-size: 0.95rem;
}

h1,
.h1 {
    font-size: 2rem;
}

h2,
.h2 {
    font-size: 1.75rem;
}

h3,
.h3 {
    font-size: 1.5rem;
}

h4,
.h4 {
    font-size: 1.2rem;
}

h5,
.h5 {
    font-size: 1.05rem;
}

h6,
.h6 {
    font-size: 0.95rem;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-size: 1.75rem !important;
    line-height: 1.2;
}

.nav-bar .navbar .navbar-nav .nav-link {
    font-size: 15px !important;
}

.btn {
    font-size: 1rem;
}

/* Final header visibility overrides */
.navbar .dropdown-menu .dropdown-item {
    color: #e2e8f0 !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: #ffffff !important;
    background-color: #4a5568 !important;
}

.navbar .megamenu-content .megamenu-title {
    color: #ffffff !important;
}

.navbar .megamenu-content .megamenu-list-link {
    color: #d6deea !important;
}

.navbar .megamenu-content .megamenu-list-link:hover {
    color: #ffffff !important;
}

/* Header brand strip text visibility fix */
.products.productList .products-mini-content a {
    color: #1f2937 !important;
    display: block;
    line-height: 1.35;
    text-decoration: none;
}

.products.productList .products-mini-content a:hover {
    color: #0A2463 !important;
}

.products.productList .productImg-item {
    background: #ffffff;
}

/* Responsive overflow fix (prevents unwanted page scrollbars) */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.header-carousel .owl-stage-outer,
.productList-carousel .owl-stage-outer,
.productImg-carousel .owl-stage-outer {
    overflow: hidden;
}

/* Header submenu visibility fix */
.nav-bar .navbar .dropdown-menu,
.nav-bar .navbar .megamenu-content {
    background-color: #ffffff !important;
    border: none !important;
}

.nav-bar .navbar .dropdown-menu .dropdown-item {
    color: #666666 !important;
}

.nav-bar .navbar .dropdown-menu .dropdown-item:hover,
.nav-bar .navbar .dropdown-menu .dropdown-item:focus {
    color: #0A2463 !important;
    background-color: #ffffff !important;
}

.nav-bar .navbar .megamenu-content .megamenu-title {
    color: #333333 !important;
}

.nav-bar .navbar .megamenu-content .megamenu-list-link {
    color: #666666 !important;
}

.nav-bar .navbar .megamenu-content .megamenu-list-link:hover,
.nav-bar .navbar .megamenu-content .megamenu-list-link:focus {
    color: #0A2463 !important;
    background-color: transparent !important;
}

/* Header right action alignment */
.header-action-group {
    gap: 10px;
}

.header-action-group .btn {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .header-action-group {
        width: 100%;
        justify-content: center;
        margin-top: 14px !important;
    }
}

/* Product card top-right actions */
.product-item-inner-item {
    position: relative;
}

.product-top-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-top-actions .btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e5e7eb;
}

/* Consistent product image sizing across pages */
.product-item-inner-item img,
.related-item-inner-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.products-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .product-item-inner-item img,
    .related-item-inner-item img {
        height: 220px;
    }
}
       
    
