.site-header-v9 {
    position: relative;
    z-index: 1000;
    background: #fff;
    font-family: var(--theme-font-family, var(--font-family, Arial, sans-serif));
}

.site-topbar {
    width: 100%;
    background: var(--theme-dark, #1e2228);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.site-topbar-inner,
.site-topbar-group,
.site-topbar-item,
.site-main-nav-inner,
.site-nav-actions {
    display: flex;
    align-items: center;
}

.site-topbar-inner {
    justify-content: space-between;
    min-height: 42px;
    gap: 24px;
}

.site-topbar-group {
    gap: 18px;
    min-width: 0;
}

.site-topbar-item {
    gap: 8px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.site-topbar-item span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--theme-primary, #f6b704);
}

.site-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-topbar-social {
    display: flex;
    align-items: center;
    gap: 7px;
}

.site-topbar-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    transition: all 0.25s ease;
}

.site-topbar-social a:hover {
    background: var(--theme-primary, #f6b704);
    border-color: var(--theme-primary, #f6b704);
    color: var(--theme-dark, #1e2228);
}

.site-main-nav {
    width: 100%;
    background: #fff;
    box-shadow: 0 3px 18px rgba(30, 34, 40, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.site-main-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 10px 28px rgba(30, 34, 40, 0.16);
}

.site-main-nav-inner {
    justify-content: space-between;
    min-height: 92px;
    gap: 28px;
    transition: min-height 0.3s ease;
}

.site-main-nav.is-sticky .site-main-nav-inner {
    min-height: 74px;
}

.site-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    width: auto;
    height: 78px;
    max-width: 210px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.site-main-nav.is-sticky .site-logo img {
    height: 62px;
}

.site-desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-menu > li {
    position: relative;
}

.site-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    color: var(--theme-heading, #222);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.site-menu > li > a:hover,
.site-menu > li > a.active {
    color: var(--theme-primary, #f6b704);
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.has-dropdown:hover > a .dropdown-arrow,
.has-dropdown.is-open > a .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 235px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(30, 34, 40, 0.08);
    box-shadow: 0 18px 34px rgba(30, 34, 40, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    width: 100%;
    min-height: 0;
    padding: 10px 18px;
    color: var(--theme-text, #666);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: none;
    white-space: normal;
}

.dropdown-menu a:hover {
    background: var(--theme-light, #f4f5f8);
    color: var(--theme-primary, #f6b704);
}

.site-nav-actions {
    flex: 0 0 auto;
    gap: 12px;
}

.site-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 2px solid var(--theme-primary, #f6b704);
    border-radius: 6px;
    background: var(--theme-primary, #f6b704);
    color: var(--theme-dark, #1e2228);
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.site-header-cta:hover {
    background: var(--theme-dark, #1e2228);
    border-color: var(--theme-dark, #1e2228);
    color: #fff;
}

.site-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(30, 34, 40, 0.14);
    border-radius: 6px;
    background: #fff;
    color: var(--theme-heading, #222);
    cursor: pointer;
}

.site-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
