﻿/* HeaderShellStyles */
.hb-menu-shell .hb-pro-header {
    position: relative;
    width: 100%;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    z-index: 40;
}

    .hb-menu-shell .hb-pro-header > .container,
    .hb-menu-shell .hb-pro-header > .container-fluid,
    .hb-menu-shell .hb-pro-header > [class*="container-"] {
        width: 100%;
        max-width: 100%;
        padding-left: clamp(12px, 2vw, 28px);
        padding-right: clamp(12px, 2vw, 28px);
    }

.hb-menu-shell .hb-pro-header__inner {
    min-height: 98px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.hb-menu-shell .hb-pro-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 360px;
    min-height: 72px;
}

    .hb-menu-shell .hb-pro-header__brand img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 78px;
        object-fit: contain;
        object-position: left center;
        position: relative;
        top: 2px;
    }

.hb-menu-shell .hb-pro-header__desktop {
    min-width: 0;
    width: 100%;
}

.hb-menu-shell .hb-pro-header__desktop-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.hb-menu-shell .hb-pro-header__menu {
    display: flex;
    align-items: center;
    min-width: 0;
}

.hb-menu-shell .hb-pro-header__nav {
    gap: clamp(12px, 1.3vw, 28px);
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
}

    .hb-menu-shell .hb-pro-header__nav .nav-link {
        padding: .5rem 0;
        font-weight: 800;
        color: #1f2937;
        white-space: nowrap;
    }

.hb-menu-shell .hb-pro-header__desktop-lang,
.hb-menu-shell .hb-pro-header__lang {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hb-menu-shell .hb-pro-header__mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.hb-menu-shell .hb-pro-header__toggle {
    border: 4px solid #66666b;
    border-radius: 18px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

    .hb-menu-shell .hb-pro-header__toggle:focus {
        box-shadow: 0 0 0 .2rem rgba(37,99,235,.12);
    }

.hb-menu-shell .hb-pro-header__mobile-collapse {
    border-top: 1px solid rgba(15,23,42,.08);
    margin-top: 8px;
}

.hb-menu-shell .navbar-brand {
    display: none !important;
}

@media (max-width: 991.98px) {
    .hb-menu-shell .hb-pro-header {
        width: auto !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

        .hb-menu-shell .hb-pro-header > .container,
        .hb-menu-shell .hb-pro-header > .container-fluid,
        .hb-menu-shell .hb-pro-header > [class*="container-"] {
            width: auto !important;
            max-width: none !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

    .hb-menu-shell .hb-pro-header__inner {
        min-height: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        gap: 8px !important;
    }

    .hb-menu-shell .hb-pro-header__brand {
        max-width: none;
        min-height: auto;
    }

        .hb-menu-shell .hb-pro-header__brand img {
            max-height: 44px;
        }

    .hb-menu-shell .hb-pro-header__mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        width: auto !important;
        margin: 0 !important;
    }

    .hb-menu-shell .hb-pro-header__lang select,
    .hb-menu-shell .hb-pro-header__lang .form-select {
        min-width: 58px !important;
        width: 58px !important;
        height: 34px !important;
        font-size: 12px !important;
        padding: 4px 22px 4px 8px !important;
        border-radius: 9px !important;
    }

    .hb-menu-shell .hb-pro-header__toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border: 2px solid #6b7280 !important;
        border-radius: 11px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .hb-menu-shell .navbar-toggler-icon {
        transform: scale(.78) !important;
    }
}

@media (max-width: 575.98px) {
    .hb-menu-shell .hb-pro-header__lang select,
    .hb-menu-shell .hb-pro-header__lang .form-select {
        min-width: 54px !important;
        width: 54px !important;
        height: 32px !important;
        font-size: 11px !important;
    }

    .hb-menu-shell .hb-pro-header__toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }
}

/* MobileStyles */
.hb-mob,
.hb-mob * {
    box-sizing: border-box;
}

.hb-mob {
    --hb-mob-text: #0f172a;
    --hb-mob-muted: #64748b;
    position: relative;
    color: var(--hb-mob-text);
    max-width: 100%;
    overflow-x: hidden;
}

.offcanvas, .offcanvas-start, .offcanvas-end {
    max-width: 100vw !important;
}

    .offcanvas.offcanvas-start, .offcanvas.offcanvas-end {
        width: min(92vw,380px) !important;
    }

.offcanvas-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

.hb-mob-sticky {
    position: sticky;
    top: 0;
    z-index: 12;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15,23,42,.06);
    padding: 0 0 10px 0;
    margin-bottom: 10px;
}

.hb-mob-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 10px;
}

    .hb-mob-search .form-control {
        height: 44px;
        border-radius: 14px;
        border: 1px solid rgba(15,23,42,.08);
        background: #fff;
        color: var(--hb-mob-text);
        box-shadow: none;
        font-size: 14px;
        padding-left: 14px;
        padding-right: 14px;
    }

        .hb-mob-search .form-control:focus {
            border-color: rgba(37,99,235,.20);
            box-shadow: 0 0 0 .2rem rgba(37,99,235,.08);
        }

    .hb-mob-search .btn {
        height: 44px;
        min-width: 44px;
        border-radius: 14px;
    }

.hb-mob-offcanvas-head {
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(180deg,#fff,#fbfdff);
}

.hb-mob-offcanvas-kicker {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    color: #94a3b8;
}

.hb-mob-offcanvas-title {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.01em;
    color: #0f172a;
}

.hb-mob-offcanvas-body {
    padding: 12px 12px 16px;
    background: radial-gradient(circle at top right, rgba(37,99,235,.05), transparent 30%), linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}

.hb-mob-acc-tree {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hb-mob-acc-item {
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}

.hb-mob-det, .hb-mob-subdet {
    display: block;
}

    .hb-mob-det summary, .hb-mob-subdet summary {
        list-style: none;
    }

        .hb-mob-det summary::-webkit-details-marker, .hb-mob-subdet summary::-webkit-details-marker {
            display: none;
        }

.hb-mob-det-summary, .hb-mob-det-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px;
    background: linear-gradient(180deg,#fff,#fcfdff);
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 800;
    cursor: pointer;
    border: 0;
    outline: 0;
}

.hb-mob-det[open] > .hb-mob-det-summary {
    background: rgba(37,99,235,.03);
    border-bottom: 1px solid rgba(15,23,42,.05);
}

.hb-mob-det-icon, .hb-mob-subchev, .hb-mob-subext {
    flex: 0 0 auto;
    font-size: 14px;
    color: #64748b;
    font-weight: 800;
    transition: transform .18s ease;
}

.hb-mob-det[open] > .hb-mob-det-summary .hb-mob-det-icon, .hb-mob-subdet[open] > .hb-mob-subtoggle .hb-mob-subchev {
    transform: rotate(90deg);
}

.hb-mob-acc-title, .hb-mob-title {
    font-weight: 750;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.hb-mob-acc-item a, .hb-mob-acc-item a:link, .hb-mob-acc-item a:visited, .hb-mob-acc-item a:hover, .hb-mob-acc-item a:active {
    color: #0f172a !important;
    text-decoration: none !important;
}

.hb-mob-det summary:focus, .hb-mob-subdet summary:focus, .hb-mob-det-link:focus, .hb-mob-sublink:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}

.hb-mob-det-summary, .hb-mob-det-link {
    border-radius: 16px;
}

.hb-mob-det[open] > .hb-mob-det-summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.hb-mob-subdet[open] > .hb-mob-subtoggle {
    background: rgba(37,99,235,.03);
}

.hb-mob-acc-body {
    padding: 10px 12px 12px;
}

.hb-mob-subtree {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: calc(var(--hb-sub-depth,1) * 6px);
    padding-left: 10px;
    border-left: 1px dashed rgba(15,23,42,.12);
}

.hb-mob-subtoggle, .hb-mob-sublink {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none !important;
    border: 1px solid rgba(15,23,42,.06);
    background: #fff;
    color: #0f172a !important;
    border-radius: 12px;
    padding: 11px 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15,23,42,.03);
    cursor: pointer;
    outline: 0;
}

    .hb-mob-subtoggle:hover, .hb-mob-sublink:hover, .hb-mob-det-link:hover {
        background: rgba(37,99,235,.03);
        color: #0f172a;
    }

.hb-mob-subtitle {
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
}

.hb-mob-subcollapse {
    padding-top: 8px;
}

.hb-mob-suball {
    display: inline-flex;
    margin-top: 6px;
    margin-left: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
}

.hb-mob-minimal .hb-mob-acc-item, .hb-mob-minimal .hb-mob-subtoggle, .hb-mob-minimal .hb-mob-sublink {
    box-shadow: none;
}

@media (max-width:575.98px) {
    .offcanvas.offcanvas-start, .offcanvas.offcanvas-end {
        width: 92vw !important;
    }

    .hb-mob-offcanvas-body {
        padding: 10px 10px 14px;
    }

    .hb-mob-acc-title, .hb-mob-title {
        font-size: 15px;
    }

    .hb-mob-subtitle {
        font-size: 13px;
    }
}

/* Mega3Styles */
.hb-mega-root {
    position: relative;
}

.hb-mega3 {
    padding: 0 !important;
    width: auto;
    min-width: 0;
    --bs-dropdown-min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
    backdrop-filter: blur(8px);
    --hb-indent: 18px;
    left: 0 !important;
    right: auto;
    top: 100% !important;
    transform: none !important;
    margin-top: 0 !important;
    background: #fff;
}


.hb-mega-root > .dropdown-menu.hb-mega3 {
    max-width: min(var(--hb-mega3-max, 1240px), calc(100vw - 24px));
}


.hb-cascade-root > .dropdown-menu.hb-cascade-menu {
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: auto;
    transform: none !important;
    margin-top: 0 !important;
    width: var(--hb-cascade-w, 230px);
    min-width: var(--hb-cascade-w, 230px);
    max-height: none !important;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .16);
    overflow: visible !important;
    isolation: isolate;
}

.hb-cascade-menu,
.hb-cascade-menu ul {
    list-style: none;
}

.hb-cascade-item {
    position: relative;
    margin: 0;
}

.hb-cascade-link {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #0f172a;
    background: transparent;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: .94rem;
    line-height: 1.28;
    letter-spacing: 0;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.hb-cascade-item:last-child > .hb-cascade-link {
    border-bottom-color: transparent;
}

.hb-cascade-title {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hb-cascade-arrow {
    flex: 0 0 auto;
    color: var(--hb-cascade-accent, #0072a8);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.hb-cascade-item:hover > .hb-cascade-link,
.hb-cascade-item:focus-within > .hb-cascade-link {
    background: linear-gradient(90deg, rgba(0,114,168,.10), rgba(0,114,168,.03));
    color: var(--hb-cascade-accent, #0072a8);
    transform: translateX(2px);
}

.hb-cascade-submenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--hb-cascade-w, 230px);
    min-width: var(--hb-cascade-w, 230px);
    max-height: min(78vh, 620px) !important;
    padding: 8px;
    margin: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: rgba(255,255,255,.985);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .16);
    overflow-y: auto;
    overflow-x: visible;
    z-index: 99999;
    opacity: 0;
    transform: translateY(4px) scale(.985);
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
}

    .hb-cascade-item:hover > .hb-cascade-submenu,
    .hb-cascade-item:focus-within > .hb-cascade-submenu,
    .hb-cascade-submenu.hb-cascade-open {
        display: block;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

.hb-cascade-menu .hb-cascade-submenu .hb-cascade-submenu {
    z-index: 100000;
}

.hb-cascade-root:nth-last-child(1) > .hb-cascade-menu,
.hb-cascade-root:nth-last-child(2) > .hb-cascade-menu {
    left: auto !important;
    right: 0 !important;
}

.hb-cascade-link:focus-visible {
    outline: 3px solid rgba(0,114,168,.20);
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .hb-cascade-root > .dropdown-menu.hb-cascade-menu {
        --hb-cascade-w: min(220px, calc(100vw - 24px));
    }

    .hb-cascade-link {
        min-height: 44px;
        padding: 9px 12px;
        font-size: .9rem;
    }
}

.hb-mega-root > .dropdown-menu.hb-classic-dropdown {
    top: 100% !important;
    left: 0 !important;
    right: auto;
    transform: none !important;
    margin-top: 0 !important;
    min-width: 385px;
    max-width: min(440px, calc(100vw - 24px));
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.hb-classic-dropdown .dropdown-item,
.hb-classic-dropdown .dropdown-item-text,
.hb-classic-dropdown .hb-dd-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: 1rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: transparent;
    transition: background .18s ease, color .18s ease;
}

.hb-classic-dropdown li:last-child > .dropdown-item,
.hb-classic-dropdown li:last-child > .hb-dd-link {
    border-bottom: 0;
}

.hb-classic-dropdown .dropdown-item:hover,
.hb-classic-dropdown .hb-dd-link:hover {
    background: #ffffff;
    color: #ea580c;
}

.hb-mega-root:last-child > .dropdown-menu.hb-mega3,
.hb-mega-root:nth-last-child(2) > .dropdown-menu.hb-mega3 {
    left: auto !important;
    right: 0 !important;
}

.hb-mega3-shell {
    display: flex;
    width: 100%;
}

    .hb-mega3-shell.justify-start {
        justify-content: flex-start;
    }

    .hb-mega3-shell.justify-center {
        justify-content: center;
    }

.hb-mega3-grid {
    display: grid;
    width: min(var(--hb-mega3-max, 1240px), calc(100vw - 40px));
    min-width: min(var(--hb-mega3-min, 980px), calc(100vw - 40px));
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    min-height: 440px;
}

    .hb-mega3-grid.is-left-only {
        width: fit-content;
        min-width: 0;
        min-height: auto;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

.hb-mega3-left {
    overflow: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-right: 1px solid rgba(15, 23, 42, .08);
    padding: 0;
}

.hb-mega3-grid.is-left-only .hb-mega3-left {
    border-right: 0;
    min-width: min(420px, calc(100vw - 40px));
}

.hb-mega3-left-head {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #64748b;
    padding: .9rem 1.2rem .75rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: sticky;
    top: 0;
    z-index: 2;
}

.hb-mega3-left a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 62px;
    padding: 1rem 1.2rem;
    margin-bottom: 0;
    text-decoration: none;
    color: #0f172a;
    border: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    border-radius: 0;
    font-weight: 700;
    background: transparent;
    transition: background .18s ease, color .18s ease;
}

    .hb-mega3-left a:hover {
        background: #ffffff;
        color: #ea580c;
        box-shadow: none;
    }

    .hb-mega3-left a.active {
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        color: #0f172a;
        box-shadow: none;
    }

        .hb-mega3-left a.active .text-truncate {
            color: #ea580c;
        }


    .hb-mega3-left a:last-child {
        border-bottom: 0;
    }

.hb-mega3-left-arrow {
    opacity: .45;
    font-size: 1.2rem;
    line-height: 1;
    margin-left: .5rem;
}

.hb-mega3-mid {
    overflow: auto;
    min-width: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
    padding: 1.2rem 1.35rem 1.05rem;
}

.hb-mega3-mid-head {
    margin-bottom: 1rem;
    padding-bottom: .95rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.hb-mega3-eyebrow {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.hb-mega3-mid-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.hb-mega3-mid-subtitle {
    margin-top: .4rem;
    color: #64748b;
    font-size: .95rem;
}

.hb-mega3-thumb {
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    flex: 0 0 auto;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .06);
}

.hb-mega3-mid-cols {
    column-gap: 1rem;
}

.hb-col-block {
    break-inside: avoid;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    padding: 1rem 1rem .7rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.hb-col-h {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    text-decoration: none;
    padding: 0 0 .75rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    margin-bottom: .45rem;
    line-height: 1.35;
}

    .hb-col-h:hover {
        color: #ea580c;
    }

.hb-col-a {
    display: block;
    text-decoration: none;
    color: #475569;
    padding: .58rem 0;
    border-bottom: 1px dashed rgba(15, 23, 42, .06);
    font-weight: 500;
    transition: all .16s ease;
}

    .hb-col-a:hover {
        color: #0f172a;
        transform: translateX(2px);
    }

    .hb-col-a.depth-2 {
        padding-left: calc(.25rem + var(--hb-indent, 14px));
    }

    .hb-col-a.depth-3 {
        padding-left: calc(.25rem + (var(--hb-indent, 14px) * 2));
        opacity: .96;
    }

    .hb-col-a.depth-4 {
        padding-left: calc(.25rem + (var(--hb-indent, 14px) * 3));
        opacity: .92;
    }

.hb-mega3-right {
    border-left: 1px solid rgba(15, 23, 42, .08);
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    padding: 1.2rem;
    position: relative;
}

    .hb-mega3-right::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 34%);
        pointer-events: none;
    }

.hb-mega3-right-card {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    backdrop-filter: blur(8px);
}

.hb-mega3-right-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
}

.hb-mega3-right-desc {
    color: #475569;
    font-size: .95rem;
    line-height: 1.5;
    min-height: 1.5rem;
}

.hb-mega3-right img {
    width: 100%;
    height: 220px;
    object-fit: @(_settings.Mega3ImageFit ?? "contain");
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.hb-mega3-cta {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: .85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .20);
    transition: all .18s ease;
}

    .hb-mega3-cta:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(15, 23, 42, .24);
    }



/* ===== PRO MEGA MENU OVERRIDES ===== */
.hb-mega3-grid {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 28px 80px rgba(15,23,42,.18);
}

.hb-mega3-left {
    background: linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
    border-right: 1px solid rgba(15,23,42,.08);
}

.hb-mega3-left-sticky {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg,#f8fafc 0%,rgba(248,250,252,.96) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15,23,42,.07);
}

.hb-mega3-search {
    margin: 0 .9rem .9rem;
    display: flex;
    align-items: center;
    gap: .45rem;
    height: 40px;
    padding: 0 .75rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
    color: #94a3b8;
}

    .hb-mega3-search input {
        border: 0;
        outline: 0;
        width: 100%;
        min-width: 0;
        background: transparent;
        font-weight: 650;
        color: #0f172a;
    }

.hb-mega3-left a {
    margin: .18rem .55rem;
    border-radius: 14px;
    border-bottom: 0 !important;
}

    .hb-mega3-left a.active,
    .hb-mega3-left a:hover {
        background: linear-gradient(90deg, rgba(249,115,22,.13), rgba(255,255,255,.94));
        color: #ea580c;
    }

.hb-mega3-left-meta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-left: auto;
}

.hb-mega3-count {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15,23,42,.06);
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
}

.hb-mega3-left a.active .hb-mega3-count,
.hb-mega3-left a:hover .hb-mega3-count {
    background: #fff;
    color: #ea580c;
}

.hb-mega3-mid {
    padding: 1.35rem 1.45rem;
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

.hb-mega3-mid-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.hb-mega3-chip-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem;
    max-width: 420px;
}

.hb-mega3-chip {
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    color: #475569;
    border-radius: 999px;
    min-height: 32px;
    padding: .35rem .7rem;
    font-size: .78rem;
    font-weight: 750;
    box-shadow: 0 6px 14px rgba(15,23,42,.04);
}

    .hb-mega3-chip.active,
    .hb-mega3-chip:hover {
        color: #fff;
        background: #0f172a;
    }

.hb-mega3-mid-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--hb-card-min, 260px), 1fr));
    gap: 1rem;
}

.hb-col-block {
    margin: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15,23,42,.06);
}

    .hb-col-block:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(15,23,42,.10);
    }

.hb-col-h {
    font-size: 1.02rem;
}

.hb-mega3-right {
    background: linear-gradient(180deg,#f8fafc 0%,#eef4fb 100%);
}

.hb-mega3-right-placeholder {
    width: 100%;
    height: 190px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -.06em;
    color: #ea580c;
    background: radial-gradient(circle at top right,rgba(249,115,22,.18),transparent 38%), linear-gradient(135deg,#fff7ed,#ffffff);
    border: 1px solid rgba(249,115,22,.16);
}

.hb-mega3-empty-panel {
    min-width: 420px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}

.hb-mega3-empty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hb-mega3-empty-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
}

.hb-mega3-empty-text,
.hb-mega3-empty-small {
    color: #64748b;
    font-weight: 650;
}

.hb-mega3-empty-small {
    padding: 1rem;
}



/* ===== COMPACT FINAL FIX - ekrana sığan pro görünüm ===== */
.dropdown-menu.hb-mega3 {
    left: 50% !important;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100vw - 24px);
}

.hb-mega-root:last-child > .dropdown-menu.hb-mega3,
.hb-mega-root:nth-last-child(2) > .dropdown-menu.hb-mega3 {
    left: 50% !important;
    right: auto;
}

.hb-mega3-grid {
    width: min(var(--hb-mega3-max, 1080px), calc(100vw - 24px)) !important;
    min-width: 0 !important;
    min-height: 380px;
}

.hb-mega3-left a {
    min-height: 48px;
    padding: .72rem .9rem;
    font-size: .95rem;
}

.hb-mega3-left-head {
    padding: .75rem 1rem .55rem;
    font-size: .72rem;
}

.hb-mega3-search {
    height: 38px;
    margin: 0 .75rem .75rem;
}

.hb-mega3-mid {
    padding: 1rem 1.1rem;
    min-width: 0 !important;
}

.hb-mega3-mid-head {
    display: block;
    padding-bottom: .8rem;
    margin-bottom: .8rem;
}

.hb-mega3-chip-row {
    display: none !important;
}

.hb-mega3-mid-title {
    font-size: 1.25rem;
}

.hb-mega3-mid-subtitle {
    font-size: .86rem;
}

.hb-mega3-mid-cols {
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: .75rem;
}

.hb-col-block {
    border-radius: 16px;
    padding: .85rem .9rem .55rem;
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
}

.hb-col-h {
    font-size: .96rem;
    padding-bottom: .55rem;
}

.hb-col-a {
    padding: .44rem 0;
    font-size: .92rem;
}

.hb-mega3-right {
    display: none;
}

@media (max-width: 1400px) {
    .hb-mega3-grid {
        width: min(1120px, calc(100vw - 24px));
    }

        .hb-mega3-grid.is-left-only {
            min-width: min(340px, calc(100vw - 24px));
        }

    .hb-mega3-mid {
        min-width: 460px;
    }
}

/* External JS viewport safety */
.hb-cascade-menu,
.hb-cascade-submenu {
    overflow: visible !important;
}

    .hb-cascade-submenu.hb-flip-left {
        left: auto !important;
        right: 100% !important;
    }

    .hb-cascade-menu.hb-align-up,
    .hb-cascade-submenu.hb-align-up {
        transform: translateY(var(--hb-cascade-shift-y, 0)) !important;
    }

/* =========================================================
   RESPONSIVE VIEWPORT FIT FINAL
   Menü ekran dışına taşmasın, dropdown viewport merkezinde kalsın.
   ========================================================= */
.hb-menu-shell,
.hb-menu-shell .hb-pro-header,
.hb-menu-shell .hb-pro-header__inner,
.hb-menu-shell .hb-pro-header__desktop,
.hb-menu-shell .hb-pro-header__desktop-inner,
.hb-menu-shell .hb-pro-header__menu,
.hb-menu-shell .hb-pro-header__nav,
.hb-mega-root,
.hb-cascade-root {
    overflow: visible !important;
}

    .hb-menu-shell .dropdown-menu.hb-mega3 {
        position: fixed !important;
        left: 50vw !important;
        right: auto;
        top: var(--hb-menu-top, 96px) !important;
        width: min(var(--hb-mega3-max, 1080px), calc(100vw - 28px)) !important;
        max-width: calc(100vw - 28px) !important;
        min-width: 0 !important;
        max-height: calc(100vh - var(--hb-menu-top, 96px) - 16px) !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 18px !important;
        z-index: 10050 !important;
    }

    .hb-menu-shell .hb-mega3-shell,
    .hb-menu-shell .hb-mega3-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .hb-menu-shell .hb-mega3-grid {
        grid-template-columns: minmax(235px, 285px) minmax(0, 1fr) !important;
        min-height: 0 !important;
        height: min(540px, calc(100vh - var(--hb-menu-top, 96px) - 16px)) !important;
        max-height: calc(100vh - var(--hb-menu-top, 96px) - 16px) !important;
    }

    .hb-menu-shell .hb-mega3-left,
    .hb-menu-shell .hb-mega3-mid {
        max-height: 100% !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

        .hb-menu-shell .hb-mega3-left a {
            min-height: 44px !important;
            padding: .62rem .85rem !important;
            font-size: .9rem !important;
        }

    .hb-menu-shell .hb-mega3-left-head {
        padding: .65rem .9rem .5rem !important;
        font-size: .68rem !important;
    }

    .hb-menu-shell .hb-mega3-search {
        height: 36px !important;
        margin: 0 .65rem .65rem !important;
    }

    .hb-menu-shell .hb-mega3-mid {
        padding: .85rem .95rem !important;
    }

    .hb-menu-shell .hb-mega3-mid-head {
        padding-bottom: .65rem !important;
        margin-bottom: .65rem !important;
    }

    .hb-menu-shell .hb-mega3-mid-title {
        font-size: 1.15rem !important;
    }

    .hb-menu-shell .hb-mega3-mid-subtitle {
        font-size: .82rem !important;
    }

    .hb-menu-shell .hb-mega3-chip-row,
    .hb-menu-shell .hb-mega3-right {
        display: none !important;
    }

    .hb-menu-shell .hb-mega3-mid-cols {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
        gap: .65rem !important;
    }

    .hb-menu-shell .hb-col-block {
        border-radius: 14px !important;
        padding: .75rem .8rem .45rem !important;
        box-shadow: 0 7px 16px rgba(15,23,42,.05) !important;
    }

    .hb-menu-shell .hb-col-h {
        font-size: .9rem !important;
        padding-bottom: .45rem !important;
    }

    .hb-menu-shell .hb-col-a {
        padding: .34rem 0 !important;
        font-size: .86rem !important;
        line-height: 1.28 !important;
    }

@media (max-width: 1280px) {
    .hb-menu-shell .dropdown-menu.hb-mega3 {
        width: calc(100vw - 24px) !important;
    }

    .hb-menu-shell .hb-mega3-grid {
        grid-template-columns: minmax(225px, 270px) minmax(0, 1fr) !important;
        height: min(500px, calc(100vh - var(--hb-menu-top, 96px) - 14px)) !important;
    }

    .hb-menu-shell .hb-mega3-mid-cols {
        grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)) !important;
    }
}

@media (max-width: 1100px) {
    .hb-menu-shell .hb-mega3-grid {
        grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) !important;
    }

    .hb-menu-shell .hb-mega3-mid-cols {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    }
}

@media (max-width: 991.98px) {
    .hb-menu-shell .dropdown-menu.hb-mega3 {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        transform: none !important;
        overflow: visible !important;
    }
}

/* Cascade kolonlar için viewport güvenliği */
.hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu {
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - var(--hb-menu-top, 96px) - 16px) !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
}

.hb-menu-shell .hb-cascade-submenu {
    max-height: calc(100vh - 24px) !important;
    overflow-y: auto !important;
    z-index: 10060 !important;
}

/* HEADER SAFE FINAL FIX - APPENDED OVERRIDE */
.hb-menu-shell .dropdown-menu.hb-mega3 {
    position: fixed !important;
    left: 50vw !important;
    right: auto;
    top: var(--hb-menu-top, 132px) !important;
    transform: translateX(-50%) !important;
    width: min(var(--hb-mega3-max, 1040px), calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
    max-height: calc(100vh - var(--hb-menu-top, 132px) - 18px) !important;
    margin: 0 !important;
    overflow: hidden !important;
    z-index: 10050 !important;
}

.hb-menu-shell .hb-mega3-grid {
    height: min(520px, calc(100vh - var(--hb-menu-top, 132px) - 18px)) !important;
    max-height: calc(100vh - var(--hb-menu-top, 132px) - 18px) !important;
}

@media (min-width: 1281px) {
    .hb-menu-shell .dropdown-menu.hb-mega3 {
        width: min(var(--hb-mega3-max, 1040px), calc(100vw - 80px)) !important;
        max-width: calc(100vw - 80px) !important;
    }
}

@media (max-width: 1280px) {
    .hb-menu-shell .dropdown-menu.hb-mega3 {
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
    }
}

@media (max-width: 1100px) {
    .hb-menu-shell .dropdown-menu.hb-mega3 {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }
}

/* =========================================================
   CASCADE FINAL FIX - nested columns must never render inside parent column
   ========================================================= */
.hb-menu-shell,
.hb-menu-shell .hb-pro-header,
.hb-menu-shell .hb-pro-header__desktop,
.hb-menu-shell .hb-pro-header__menu,
.hb-menu-shell .hb-pro-header__nav,
.hb-menu-shell .hb-cascade-root,
.hb-menu-shell .hb-cascade-menu,
.hb-menu-shell .hb-cascade-item {
    overflow: visible !important;
}

    .hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu {
        overflow: visible !important;
        max-height: none !important;
        z-index: 10050 !important;
    }

    .hb-menu-shell .hb-cascade-item {
        position: relative !important;
    }

    .hb-menu-shell .hb-cascade-submenu {
        position: fixed !important;
        display: none !important;
        width: var(--hb-cascade-w, 230px) !important;
        min-width: var(--hb-cascade-w, 230px) !important;
        max-width: min(var(--hb-cascade-w, 230px), calc(100vw - 24px)) !important;
        max-height: calc(100vh - 24px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        left: -9999px;
        top: -9999px;
        right: auto;
        bottom: auto;
        margin: 0 !important;
        padding: 8px !important;
        opacity: 0 !important;
        transform: translate3d(0, 4px, 0) scale(.985) !important;
        pointer-events: none !important;
        z-index: 10080 !important;
    }

        .hb-menu-shell .hb-cascade-item:hover > .hb-cascade-submenu,
        .hb-menu-shell .hb-cascade-item:focus-within > .hb-cascade-submenu,
        .hb-menu-shell .hb-cascade-submenu.hb-cascade-open {
            display: block !important;
            opacity: 1 !important;
            transform: translate3d(0, 0, 0) scale(1) !important;
            pointer-events: auto !important;
        }

        .hb-menu-shell .hb-cascade-submenu .hb-cascade-link {
            min-height: 44px !important;
            padding: 9px 12px !important;
            font-size: .9rem !important;
        }

@media (max-width: 991.98px) {
    .hb-menu-shell .hb-cascade-submenu {
        position: static !important;
        display: block !important;
        left: auto !important;
        top: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: none !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border-radius: 12px !important;
        margin: 6px 0 0 10px !important;
    }
}

/* =========================================================
   FINAL VISIBLE FIX - JS controls fixed submenu coordinates
   ========================================================= */
.hb-menu-shell .hb-cascade-submenu.hb-cascade-open {
    visibility: visible !important;
}

.hb-menu-shell .hb-cascade-submenu:not(.hb-cascade-open) {
    visibility: hidden;
}

.hb-menu-shell .hb-cascade-item:hover > .hb-cascade-submenu,
.hb-menu-shell .hb-cascade-item:focus-within > .hb-cascade-submenu {
    visibility: visible !important;
}

/* =========================================================
   STABLE CASCADE FALLBACK FINAL
   ========================================================= */
.hb-menu-shell,
.hb-menu-shell .hb-pro-header,
.hb-menu-shell .hb-pro-header__desktop,
.hb-menu-shell .hb-pro-header__menu,
.hb-menu-shell .hb-pro-header__nav,
.hb-menu-shell .hb-cascade-root,
.hb-menu-shell .hb-cascade-menu,
.hb-menu-shell .hb-cascade-item {
    overflow: visible !important;
}

    .hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: auto !important;
        width: var(--hb-cascade-w, 230px) !important;
        min-width: var(--hb-cascade-w, 230px) !important;
        max-width: min(var(--hb-cascade-w, 230px), calc(100vw - 24px)) !important;
        max-height: min(74vh, 680px) !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
        z-index: 10050 !important;
    }

    .hb-menu-shell .hb-cascade-item {
        position: relative !important;
    }

    .hb-menu-shell .hb-cascade-submenu {
        position: absolute !important;
        top: -8px !important;
        left: calc(100% + 8px) !important;
        right: auto !important;
        bottom: auto !important;
        display: none !important;
        visibility: visible !important;
        opacity: 0 !important;
        transform: translate3d(4px, 0, 0) scale(.985) !important;
        pointer-events: none !important;
        width: var(--hb-cascade-w, 230px) !important;
        min-width: var(--hb-cascade-w, 230px) !important;
        max-width: min(var(--hb-cascade-w, 230px), calc(100vw - 24px)) !important;
        max-height: min(74vh, 680px) !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
        margin: 0 !important;
        z-index: 10080 !important;
    }

        .hb-menu-shell .hb-cascade-item:hover > .hb-cascade-submenu,
        .hb-menu-shell .hb-cascade-item:focus-within > .hb-cascade-submenu,
        .hb-menu-shell .hb-cascade-submenu.hb-cascade-open {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            transform: translate3d(0, 0, 0) scale(1) !important;
            pointer-events: auto !important;
        }

        .hb-menu-shell .hb-cascade-submenu.hb-cascade-fixed {
            position: fixed !important;
            top: var(--hb-fixed-top, 12px) !important;
            left: var(--hb-fixed-left, 12px) !important;
            right: auto !important;
            bottom: auto !important;
        }

        .hb-menu-shell .hb-cascade-submenu.hb-flip-left:not(.hb-cascade-fixed) {
            left: auto !important;
            right: calc(100% + 8px) !important;
        }

    /* =========================================================
   RIGHT SIDE CASCADE FINAL OVERRIDE
   Amaç: alt kırılım her zaman ilgili satırın SAĞINDA açılsın.
   Not: Bu blok dosyanın EN ALTINDA kalmalı.
   ========================================================= */
    .hb-menu-shell,
    .hb-menu-shell .hb-pro-header,
    .hb-menu-shell .hb-pro-header__inner,
    .hb-menu-shell .hb-pro-header__desktop,
    .hb-menu-shell .hb-pro-header__desktop-inner,
    .hb-menu-shell .hb-pro-header__menu,
    .hb-menu-shell .hb-pro-header__nav,
    .hb-menu-shell .hb-cascade-root,
    .hb-menu-shell .hb-cascade-item {
        overflow: visible !important;
    }

        .hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu {
            position: absolute !important;
            top: calc(100% + 10px) !important;
            left: 0 !important;
            right: auto !important;
            width: var(--hb-cascade-w, 230px) !important;
            min-width: var(--hb-cascade-w, 230px) !important;
            max-width: min(var(--hb-cascade-w, 230px), calc(100vw - 24px)) !important;
            max-height: min(76vh, 720px) !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            z-index: 10050 !important;
            overscroll-behavior: contain;
        }

        .hb-menu-shell .hb-cascade-submenu {
            position: fixed !important;
            top: var(--hb-fixed-top, -10000px) !important;
            left: var(--hb-fixed-left, -10000px) !important;
            right: auto !important;
            bottom: auto !important;
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            transform: translate3d(6px, 0, 0) scale(.985) !important;
            width: var(--hb-cascade-w, 230px) !important;
            min-width: var(--hb-cascade-w, 230px) !important;
            max-width: min(var(--hb-cascade-w, 230px), calc(100vw - 24px)) !important;
            max-height: calc(100vh - 24px) !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            margin: 0 !important;
            padding: 8px !important;
            border: 1px solid rgba(15, 23, 42, .08) !important;
            border-radius: 18px !important;
            background: rgba(255,255,255,.985) !important;
            box-shadow: 0 22px 55px rgba(15, 23, 42, .16) !important;
            z-index: 10090 !important;
        }

            .hb-menu-shell .hb-cascade-submenu.hb-cascade-open,
            .hb-menu-shell .hb-cascade-submenu.hb-cascade-fixed {
                display: block !important;
                visibility: visible !important;
                opacity: 1 !important;
                pointer-events: auto !important;
                transform: translate3d(0, 0, 0) scale(1) !important;
            }

        .hb-menu-shell .hb-cascade-item:hover > .hb-cascade-submenu:not(.hb-cascade-fixed),
        .hb-menu-shell .hb-cascade-item:focus-within > .hb-cascade-submenu:not(.hb-cascade-fixed) {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        .hb-menu-shell .hb-cascade-submenu.hb-flip-left {
            transform: translate3d(0, 0, 0) scale(1) !important;
        }

        .hb-menu-shell .hb-cascade-submenu .hb-cascade-link {
            min-height: 44px !important;
            padding: 9px 12px !important;
            font-size: .9rem !important;
        }

@media (max-width: 991.98px) {
    .hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu,
    .hb-menu-shell .hb-cascade-submenu {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        box-shadow: none !important;
    }
}

/* =========================================================
   RIGHT OPEN FINAL - KESIN OVERRIDE
   Alt kırılımlar aşağı değil, her zaman ilgili satırın sağında açılır.
   Bu blok dosyanın EN ALTINDA kalmalı.
   ========================================================= */
.hb-menu-shell,
.hb-menu-shell .hb-pro-header,
.hb-menu-shell .hb-pro-header__inner,
.hb-menu-shell .hb-pro-header__desktop,
.hb-menu-shell .hb-pro-header__desktop-inner,
.hb-menu-shell .hb-pro-header__menu,
.hb-menu-shell .hb-pro-header__nav,
.hb-menu-shell .hb-cascade-root,
.hb-menu-shell .hb-cascade-root.dropdown,
.hb-menu-shell .hb-cascade-menu,
.hb-menu-shell .hb-cascade-item {
    overflow: visible !important;
}

    .hb-menu-shell .hb-cascade-root {
        position: relative !important;
    }

        .hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu {
            position: absolute !important;
            top: calc(100% + 10px) !important;
            left: 0 !important;
            right: auto !important;
            bottom: auto !important;
            width: var(--hb-cascade-w, 260px) !important;
            min-width: var(--hb-cascade-w, 260px) !important;
            max-width: var(--hb-cascade-w, 260px) !important;
            max-height: none !important;
            overflow: visible !important;
            padding: 8px !important;
            border-radius: 18px !important;
            border: 1px solid rgba(15,23,42,.08) !important;
            background: rgba(255,255,255,.985) !important;
            box-shadow: 0 20px 52px rgba(15,23,42,.15) !important;
            z-index: 50000 !important;
        }

    .hb-menu-shell .hb-cascade-item {
        position: relative !important;
        isolation: auto !important;
    }

    .hb-menu-shell .hb-cascade-link {
        min-height: 46px !important;
        padding: 10px 14px !important;
        border-radius: 12px !important;
        border-bottom: 1px solid rgba(15,23,42,.06) !important;
        background: rgba(255,255,255,.86) !important;
        color: #111827 !important;
        font-weight: 800 !important;
        line-height: 1.24 !important;
        text-decoration: none !important;
    }

    .hb-menu-shell .hb-cascade-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .hb-menu-shell .hb-cascade-arrow {
        color: var(--hb-cascade-accent, #0072a8) !important;
        font-size: 24px !important;
        line-height: 1 !important;
    }

    .hb-menu-shell .hb-cascade-item:hover > .hb-cascade-link,
    .hb-menu-shell .hb-cascade-item:focus-within > .hb-cascade-link {
        background: linear-gradient(90deg, rgba(0,114,168,.12), rgba(0,114,168,.035)) !important;
        color: var(--hb-cascade-accent, #0072a8) !important;
    }

    /* Eski fixed/-9999px kurallarını tamamen ezer. */
    .hb-menu-shell .hb-cascade-submenu,
    .hb-menu-shell .hb-cascade-submenu.hb-cascade-fixed,
    .hb-menu-shell .hb-cascade-submenu.hb-cascade-open {
        position: absolute !important;
        top: -8px !important;
        left: calc(100% + 10px) !important;
        right: auto !important;
        bottom: auto !important;
        width: var(--hb-cascade-w, 260px) !important;
        min-width: var(--hb-cascade-w, 260px) !important;
        max-width: var(--hb-cascade-w, 260px) !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translate3d(10px,0,0) scale(.985) !important;
        transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s !important;
        margin: 0 !important;
        padding: 8px !important;
        border: 1px solid rgba(15,23,42,.08) !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,.99) !important;
        box-shadow: 0 20px 52px rgba(15,23,42,.15) !important;
        z-index: 50010 !important;
    }

        .hb-menu-shell .hb-cascade-item:hover > .hb-cascade-submenu,
        .hb-menu-shell .hb-cascade-item:focus-within > .hb-cascade-submenu,
        .hb-menu-shell .hb-cascade-submenu.hb-cascade-open,
        .hb-menu-shell .hb-cascade-submenu.hb-cascade-fixed {
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            transform: translate3d(0,0,0) scale(1) !important;
            transition-delay: 0s !important;
        }

        /* Sağda yer yoksa JS bunu ekler; CSS fallback olarak sola alır. */
        .hb-menu-shell .hb-cascade-submenu.hb-flip-left {
            left: auto !important;
            right: calc(100% + 10px) !important;
        }

    /* Hover boşluğu kapanmasın. */
    .hb-menu-shell .hb-cascade-item.has-children::after {
        content: "";
        position: absolute;
        top: 0;
        right: -12px;
        width: 14px;
        height: 100%;
        pointer-events: auto;
    }

@media (max-width: 991.98px) {
    .hb-menu-shell .hb-cascade-root > .dropdown-menu.hb-cascade-menu,
    .hb-menu-shell .hb-cascade-submenu,
    .hb-menu-shell .hb-cascade-submenu.hb-cascade-fixed,
    .hb-menu-shell .hb-cascade-submenu.hb-cascade-open {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
}

/* =========================================================
   ULTRA PREMIUM MEGA MENU - görselli vitrin modu
   DesktopMenuType = premium
   ========================================================= */
.hb-premium-root {
    position: relative;
}

    .hb-premium-root > .hb-mega-premium.dropdown-menu {
        width: min(1360px, calc(100vw - 72px)) !important;
        min-width: min(1040px, calc(100vw - 72px)) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(10px);
        top: calc(100% + 12px) !important;
        padding: 0 !important;
        border: 1px solid rgba(15, 23, 42, .08) !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,.96) !important;
        box-shadow: 0 28px 80px rgba(15,23,42,.18), 0 1px 2px rgba(15,23,42,.06) !important;
        overflow: hidden !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .18s ease, transform .22s cubic-bezier(.2,.8,.2,1), visibility .18s ease;
    }

        .hb-premium-root.show > .hb-mega-premium.dropdown-menu,
        .hb-premium-root:hover > .hb-mega-premium.dropdown-menu,
        .hb-premium-root:focus-within > .hb-mega-premium.dropdown-menu,
        .hb-premium-root > .hb-mega-premium.dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

.hb-mega-premium .hb-mega3-shell {
    padding: 0 !important;
}

.hb-mega-premium .hb-mega3-grid {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 300px minmax(300px, 390px) minmax(430px, 1fr) !important;
    gap: 0 !important;
    max-height: min(640px, calc(100vh - 170px));
    overflow: hidden;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, #f8fbff 100%);
}

.hb-mega-premium .hb-mega3-left,
.hb-mega-premium .hb-mega3-mid,
.hb-mega-premium .hb-mega3-right {
    max-height: min(640px, calc(100vh - 170px)) !important;
}

.hb-mega-premium .hb-mega3-left {
    border-right: 1px solid rgba(15,23,42,.08);
    padding: 22px 18px !important;
    overflow-y: auto;
    background: #fff;
}

.hb-mega-premium .hb-mega3-left-sticky {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(#fff 76%, rgba(255,255,255,.88));
    padding-bottom: 12px;
}

.hb-mega-premium .hb-mega3-left-head,
.hb-mega-premium .hb-mega3-eyebrow {
    color: #64748b !important;
    letter-spacing: .12em;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.hb-mega-premium .hb-mega3-search {
    height: 44px;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

    .hb-mega-premium .hb-mega3-search input {
        font-weight: 700;
    }

.hb-mega-premium .hb-mega3-left > a {
    min-height: 52px;
    padding: 13px 12px !important;
    margin: 6px 0;
    border-radius: 13px !important;
    color: #111827 !important;
    font-weight: 750;
    border: 1px solid transparent;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

    .hb-mega-premium .hb-mega3-left > a::before {
        content: "";
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        border-radius: 9px;
        border: 1px solid rgba(0,114,168,.18);
        background: linear-gradient(135deg, rgba(0,114,168,.10), rgba(0,114,168,.02));
        margin-right: 10px;
    }

    .hb-mega-premium .hb-mega3-left > a:hover,
    .hb-mega-premium .hb-mega3-left > a.active {
        background: linear-gradient(90deg, rgba(0,114,168,.12), rgba(0,114,168,.035)) !important;
        border-color: rgba(0,114,168,.18) !important;
        color: #006da3 !important;
        transform: translateX(2px);
    }

.hb-mega-premium .hb-mega3-left-arrow {
    color: #0072a8;
    font-size: 26px;
    line-height: 1;
}

.hb-mega-premium .hb-mega3-count {
    background: #eff6ff !important;
    color: #006da3 !important;
    border: 1px solid rgba(0,114,168,.12);
}

.hb-mega-premium .hb-mega3-mid {
    border-right: 1px solid rgba(15,23,42,.08);
    padding: 24px 22px !important;
    overflow-y: auto;
    background: #fff;
}

.hb-mega-premium .hb-mega3-mid-head {
    padding: 0 0 16px 0 !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.hb-mega-premium .hb-mega3-mid-title {
    font-size: 28px !important;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #0f172a;
    font-weight: 850 !important;
}

.hb-mega-premium .hb-mega3-mid-subtitle {
    color: #64748b;
    font-size: 15px;
    margin-top: 8px;
}

.hb-mega-premium .hb-mega3-mid-cols {
    display: block !important;
    columns: auto !important;
}

.hb-mega-premium .hb-col-block {
    break-inside: avoid;
    border: 0 !important;
    border-bottom: 1px solid rgba(15,23,42,.08) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.hb-mega-premium .hb-col-h,
.hb-mega-premium .hb-col-a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 4px !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 720 !important;
    text-decoration: none !important;
    transition: color .15s ease, padding-left .15s ease;
}

    .hb-mega-premium .hb-col-h::after,
    .hb-mega-premium .hb-col-a::after {
        content: "›";
        color: #0072a8;
        font-size: 24px;
        font-weight: 500;
    }

.hb-mega-premium .hb-col-a {
    color: #334155 !important;
    font-weight: 620 !important;
    font-size: 15px !important;
}

    .hb-mega-premium .hb-col-h:hover,
    .hb-mega-premium .hb-col-a:hover {
        color: #0072a8 !important;
        padding-left: 10px !important;
    }

.hb-mega-premium .hb-mega3-right {
    padding: 26px !important;
    overflow-y: auto;
    background: radial-gradient(circle at 82% 8%, rgba(0,114,168,.10), transparent 34%), linear-gradient(135deg, #f8fbff, #ffffff 54%);
}

.hb-mega-premium .hb-mega3-right-card {
    height: 100%;
    min-height: 430px;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: grid;
    grid-template-rows: auto auto auto minmax(170px, 1fr) auto;
    align-items: start;
}

.hb-mega-premium .hb-mega3-right-title {
    font-size: 30px !important;
    line-height: 1.13;
    letter-spacing: -.035em;
    color: #0067a0 !important;
    font-weight: 850 !important;
    margin: 10px 0 8px 0 !important;
}

.hb-mega-premium .hb-mega3-right-desc {
    max-width: 520px;
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.55;
    margin-bottom: 18px !important;
}

.hb-mega-premium .hb-mega3-right-card img {
    width: 100%;
    max-height: 220px;
    object-fit: contain !important;
    object-position: right center;
    filter: drop-shadow(0 18px 24px rgba(15,23,42,.16));
    margin: 0 0 18px auto !important;
    border-radius: 16px;
}

.hb-mega-premium .hb-mega3-right-placeholder {
    width: 100%;
    min-height: 190px;
    border-radius: 20px;
    border: 1px solid rgba(0,114,168,.12);
    background: linear-gradient(135deg, rgba(0,114,168,.08), rgba(255,255,255,.88)), radial-gradient(circle at 74% 30%, rgba(0,114,168,.16), transparent 32%);
    color: rgba(0,114,168,.22);
    display: grid;
    place-items: center;
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.hb-mega-premium .hb-mega3-cta {
    height: 48px;
    padding: 0 18px !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg, rgba(0,114,168,.11), rgba(0,114,168,.06)) !important;
    color: #006da3 !important;
    border: 1px solid rgba(0,114,168,.14) !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    text-decoration: none !important;
}

    .hb-mega-premium .hb-mega3-cta::after {
        content: "›";
        font-size: 24px;
    }

.hb-premium-root > .nav-link {
    position: relative;
}

.hb-premium-root.show > .nav-link::after,
.hb-premium-root:hover > .nav-link::after,
.hb-premium-root:focus-within > .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -16px;
    height: 2px;
    border-radius: 999px;
    background: #0072a8;
}

@media (max-width: 1199.98px) {
    .hb-premium-root > .hb-mega-premium.dropdown-menu {
        width: calc(100vw - 32px) !important;
        min-width: 0 !important;
    }

    .hb-mega-premium .hb-mega3-grid {
        grid-template-columns: 270px 1fr !important;
    }

    .hb-mega-premium .hb-mega3-right {
        display: none !important;
    }
}

/* =========================================================
   HOTFIX 20260424: Premium menu open/display fix
   Bootstrap dropdown-menu default display:none oldugunda hover class calissa bile
   panel hic gorunmez. Premium panel opacity/visibility ile yonetildigi icin
   display her zaman block olmalidir.
   ========================================================= */
.hb-menu-shell .hb-premium-root {
    position: relative !important;
    overflow: visible !important;
}

    .hb-menu-shell .hb-premium-root > .hb-mega-premium.dropdown-menu,
    .hb-menu-shell .hb-premium-root > div.dropdown-menu.hb-mega-premium {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 50% !important;
        right: auto !important;
        width: min(1360px, calc(100vw - 72px)) !important;
        min-width: min(1040px, calc(100vw - 72px)) !important;
        transform: translateX(-50%) translateY(10px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 10050 !important;
    }

        .hb-menu-shell .hb-premium-root.show > .hb-mega-premium.dropdown-menu,
        .hb-menu-shell .hb-premium-root:hover > .hb-mega-premium.dropdown-menu,
        .hb-menu-shell .hb-premium-root:focus-within > .hb-mega-premium.dropdown-menu,
        .hb-menu-shell .hb-premium-root > .hb-mega-premium.dropdown-menu.show,
        .hb-menu-shell .hb-premium-root > .hb-mega-premium.dropdown-menu.force-show {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto !important;
            transform: translateX(-50%) translateY(0) !important;
        }

.hb-menu-shell,
.hb-menu-shell .hb-pro-header,
.hb-menu-shell .hb-pro-header__inner,
.hb-menu-shell .hb-pro-header__desktop,
.hb-menu-shell .hb-pro-header__desktop-inner,
.hb-menu-shell .hb-pro-header__menu,
.hb-menu-shell .hb-pro-header__nav,
.hb-menu-shell .navbar,
.hb-menu-shell .container-fluid {
    overflow: visible !important;
}

    /* Classic dropdownlar Bootstrap display:none kuralindan etkilenmesin */
    .hb-menu-shell .hb-mega-root:hover > .hb-classic-dropdown.dropdown-menu,
    .hb-menu-shell .hb-mega-root.show > .hb-classic-dropdown.dropdown-menu,
    .hb-menu-shell .hb-mega-root:focus-within > .hb-classic-dropdown.dropdown-menu {
        display: block !important;
    }

/* =========================================================
   IMAGE PARAM FIX - kategori/ürün görselleri
   Resimli göster aktifken tüm menü tiplerinde küçük görselleri stabil gösterir.
   ========================================================= */
.hb-menu-mini-img,
.hb-menu-product-img,
.hb-mega3-thumb {
    flex: 0 0 auto;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
}

.hb-menu-mini-img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    padding: 4px;
}

.hb-menu-mini-img--classic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    margin-right: 8px;
}

.hb-menu-mini-img--cascade {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    margin-right: 10px;
}

.hb-classic-img-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.hb-cascade-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hb-menu-product-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    padding: 5px;
}

.hb-col-h.has-img,
.hb-col-a.has-img {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    min-height: 64px;
}

    .hb-col-h.has-img span,
    .hb-col-a.has-img span {
        min-width: 0;
    }

.hb-mega3-left .hb-mega3-thumb {
    border-radius: 9px;
    padding: 3px;
}

.hb-mega3-right-card img {
    object-fit: contain;
    background: linear-gradient(135deg, #f8fafc, #eef6fb);
}

@media (max-width: 991.98px) {
    .hb-menu-product-img,
    .hb-menu-mini-img,
    .hb-mega3-thumb {
        display: none !important;
    }
}
