

.gb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

body {
    padding-top: 100px;
}

@media (max-width: 1359px) {
    body {
        padding-top: 80px;
    }
}

.gb-header__bar {
    position: relative;
    overflow: visible;
    box-shadow: 0 15px 40px -20px rgba(0, 0, 0, 0.6);
}

.gb-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gb-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(var(--agriox-primary-rgb, 43, 40, 43), 0.95) 0%,
        rgba(var(--agriox-primary-rgb, 43, 40, 43), 0.82) 50%,
        rgba(var(--agriox-primary-rgb, 43, 40, 43), 0.95) 100%);
}

.gb-header__bar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100px;
    gap: 14px;
}

.gb-header__list {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.gb-header__list--left {
    right: calc(50% + 90px);
    justify-content: flex-end;
}

.gb-header__list--right {
    left: calc(50% + 90px);
    justify-content: flex-start;
}

.gb-header__list > li {
    position: relative;
}

.gb-header__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--agriox-font, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 200ms ease;
}

.gb-header__list > li > a i {
    font-size: 11px;
    opacity: 0.7;
}

.gb-header__list > li:hover > a,
.gb-header__list > li.active > a {
    color: var(--agriox-base, #cfae53);
}

.gb-header__logo-slot {
    flex: 0 0 auto;
    width: 160px;
}

.gb-header__logo {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -64%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 102px;
    border-radius: 17px;
    background: #ffffff;
    padding: 13px;
    box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.45);
    transition: transform 250ms ease;
}

.gb-header__logo:hover {
    transform: translate(-50%, -64%) scale(1.04);
}

.gb-header__logo img {

    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-top: -15px;
}

.gb-header__list .dropdown > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin-top: 14px;
    padding: 10px 0;
    list-style: none;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 200ms ease;
    z-index: 30;
}

.gb-header__list .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gb-header__list .dropdown > ul li a {
    display: block;
    padding: 10px 24px;
    font-family: var(--agriox-font, 'Poppins', sans-serif);
    font-size: 14px;
    color: var(--agriox-primary, #2b282b);
    white-space: nowrap;
}

.gb-header__list .dropdown > ul li a:hover {
    background: var(--brand-cream, #f7f3ec);
    color: var(--agriox-secondary, #567a3d);
}

.gb-header__toggler {
    display: none;
    color: #ffffff;
    font-size: 22px;
}

.gb-header__source-nav {
    display: none;
}

.mobile-nav__wrapper {
    z-index: 9999;
}

@media (max-width: 1359px) {
    .gb-header__list--left,
    .gb-header__list--right,
    .gb-header__logo-slot {
        display: none;
    }

    .gb-header__bar-inner {
        display: flex;
        height: 80px;
        justify-content: space-between;
    }

    .gb-header__toggler {
        display: block;
    }

    .gb-header__logo {
        width: 148px;
        height: 100px;
        padding: 12px;
        border-radius: 16px;
    }

    .gb-header__logo img {
         max-height: 122px;
    }
}
