
/* Ensure no horizontal scrolling */
body, html {
    overflow-x: hidden;
    width: 100%;
}

/* Header Bottom Mobile Menu */
@media (max-width: 1199px) {
    /* Hide the desktop nav container by default on mobile */
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 9999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 15px;
    }
    
    /* Show when active class is added via JS */
    .header-nav.active {
        display: block !important;
    }

    /* Ensure dropdowns inside mobile menu are full width */
    .header-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }

    /* Mobile Search Box */
    .search-box-container {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 2000;
    }
    
    /* Handle the search box visibility toggling if needed */
    .mobile-top-search-theme-mod .search-box-container {
        display: none; /* Hide by default */
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        right: 0;
        z-index: 2000;
        padding: 10px;
        background: #fff;
    }

    .mobile-top-search-theme-mod .search-box-container.active {
        display: block !important;
    }
}

/* Fix for unwanted dots/separators in header and menus (RTL support) */
/* Applied globally to override main.css/main2.css */
.site-header ul,
.site-header li,
.mobile-main-menu,
.mobile-main-menu li,
.header-user-menu ul,
.header-user-menu li,
.dropdown-body ul,
.dropdown-body li,
.header-nav ul,
.header-nav li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure no pseudo-elements are creating dots */
.site-header li::before,
.site-header li::after,
.mobile-main-menu li::before,
.mobile-main-menu li::after {
    content: none !important;
    display: none !important;
}

/* Specific fix for side menu if it uses ul/li */
.hesap-sidebar ul,
.hesap-view ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Fix slider width - Re-applied */
.hero-slider img,
.main-slider img,
.custom-hero-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

/* Ensure hero section is constrained */


@media (max-width: 768px) {
  .hero-mobile-mx {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
  
  .container-xx2 {
      margin-left: 10px !important;
    margin-right: 10px !important;
  }
  
  .mt-4 {
    margin-top: 0rem !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
}
.hero-bottom-grid {
    margin-top: -20px !important;
}

}
