/**
 * Header Styles
 * 
 * Header navigation, WPML dropdown, scroll behavior
 */

.whb-header-bottom-inner {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.whb-header-bottom-inner::-webkit-scrollbar {
    display: none;
}

.whb-header-bottom .wd-header-nav {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.whb-header-bottom .wd-header-nav::-webkit-scrollbar {
    display: none;
}

.whb-header-bottom .wd-nav {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-wrap: nowrap;
}

.whb-header-bottom .wd-nav::-webkit-scrollbar {
    display: none;
}

.whb-header-bottom .wd-nav > li {
    flex-shrink: 0;
    white-space: nowrap;
}

.whb-header-bottom .container {
    overflow: visible;
}

.whb-header-bottom .whb-header-bottom-inner {
    min-width: 100%;
    flex-wrap: nowrap;
}

.whb-header .whb-main-header .whb-general-header .container {
    background: radial-gradient(circle 350px at 20% 50%, #c60f0173 0%, #000 70%);
}

.wd-menu > .widget-title {
    padding: 0px !important;
    text-transform: none !important;
}

.wd-nav > li > a {
    min-height: auto !important;
}

/* WPML Dropdown Styles */
.menu-item-has-children:hover > .wd-dropdown-menu,
.wpml-ls-item:hover .wd-dropdown-menu,
.wpml-ls-item:hover .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    top: 100% !important;
    pointer-events: auto !important;
}

.wpml-ls-item .wd-dropdown-menu {
    padding: 0 !important;
    margin: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: auto !important;
    min-width: max-content !important;
    background-color: var(--color-white) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: var(--radius-sm) !important;
    padding: var(--spacing-md) !important;
}

.wpml-ls-item .wd-dropdown-menu .wd-sub-menu li a {
    justify-content: flex-end !important;
    text-align: right !important;
    color: #333333 !important;
    font-weight: 600 !important;
    padding: 0 !important;
    border-radius: 4px !important;
}

.wpml-ls-item .wd-dropdown-menu .wd-sub-menu li a:hover {
    color: var(--color-primary) !important;
}

@media (min-width: 1025px) {
    .whb-header-bottom-inner,
    .whb-header-bottom .wd-header-nav,
    .whb-header-bottom .wd-nav {
        overflow: visible !important;
    }
}

@media (max-width: 1024px) {
    .whb-header .whb-main-header .whb-general-header .container {
        background: radial-gradient(circle 200px at 50% 50%, #c60f0173 0%, #000 70%);
    }

    .wd-logo img {
        padding-bottom: 10px !important;
    }
}

