.topbar {
    background: var(--navy);
}

.topbar-inner, .topbar-tools, .nav-inner, .nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.topbar p {
    margin: 0;
}

.topbar-tools a, .topbar-tools button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-picker {
    position: relative;
}

.language-picker button {
    border: 0;
    background: none;
    padding: 8px 0;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    padding: 10px;
    background: #fff;
}

.language-menu a {
    padding: 7px 15px;
}

.nav-bar {
    background: var(--surface);
}

.nav-inner {
    min-height: 90px;
    position: relative;
}

.brand {
    margin-right: auto;
    flex-shrink: 0;
}

.brand img {
    width: 160px;
    height: 70px;
    object-fit: contain;
    margin-left: -4px;
}

.desktop-nav {
    display: flex;
    gap: clamp(14px, 1.4vw, 22px);
}

.desktop-nav [aria-current="page"] {
    color: var(--red);
}

.nav-actions {
    gap: 8px;
    flex-shrink: 0;
}

.cart-entry {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--red);
    color: white;
    padding: 0 6px;
}

.menu-button {
    display: none;
}

.global-search {
    position: absolute;
    top: 100%;
    right: 0;
    width: 600px;
    padding: 24px;
    background: #fff;
    z-index: 50;
}

.search-row {
    display: flex;
    gap: 8px;
}

.global-search input {
    min-width: 0;
    flex: 1;
}

.search-row .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.search-open-icon, .search-close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: #09182b99;
    z-index: 90;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 90vw);
    background: var(--surface);
}

.mobile-drawer {
    z-index: 100;
    padding: 24px;
    overflow-y: auto;
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.drawer-head img {
    width: 160px;
}

.mobile-drawer nav a {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 1100px) {
.desktop-nav {
    display: none;
}
 .menu-button {
    display: inline-flex;
}

}

@media (max-width: 640px) {
.topbar-inner {
    justify-content: flex-end;
}

    .top-phone {
        display: none !important;
    }

.global-search {
    width: calc(100vw - 32px);
    padding: 16px;
}

.brand img {
    width: 145px;
}

.nav-inner {
    gap: 10px;
}

.nav-actions {
    gap: 3px;
}

}
.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 14px;
}
.topbar-inner {
    min-height: 39px;
}
.topbar a:hover, .topbar button:hover {
    color: #fff;
}
.topbar p {
    line-height: 1.35;
    max-width: 65%;
}
.topbar .icon {
    width: 17px;
    height: 17px;
}
.language-menu {
    background: var(--surface);
    color: var(--ink);
    min-width: 170px;
    box-shadow: 0 10px 28px #0b1b3020;
}
.language-menu a:hover, .language-menu [aria-current] {
    background: var(--surface-muted);
    color: var(--red);
}
.nav-inner {
    min-height: 93px;
}
.nav-bar {
    border-bottom: 1px solid var(--line);
}
.desktop-nav {
    font-weight: 600;
}
.desktop-nav a {
    padding: 34px 0;
    position: relative;
    white-space: nowrap;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .2s;
}
.desktop-nav a:hover::after, .desktop-nav [aria-current]::after {
    transform: scaleX(1);
}
.nav-actions .icon-button {
    border-color: transparent;
}
.cart-badge {
    border-radius: 20px;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    font-size: 12px;
    text-align: center;
    top: -4px;
    right: -6px;
}
.global-search {
    border-top: 3px solid var(--red);
    background: var(--surface);
    box-shadow: 0 15px 30px #0b1b3024;
}
.mobile-drawer:not([hidden]) {
    animation: drawer-in .22s ease-out;
}
.drawer-head {
    position: sticky;
    top: -24px;
    padding: 20px 0;
    background: var(--surface);
}
.mobile-drawer nav a {
    font-size: 18px;
}
.mobile-drawer nav [aria-current="page"] {
    color: var(--red);
}
@keyframes drawer-in {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}
@media (max-width: 1180px) {
    .desktop-nav {
        gap: 20px;
    }
    .nav-inner {
        gap: 18px;
    }
}
@media (max-width: 640px) {
    .nav-inner {
        min-height: 77px;
    }
    .brand img {
        width: 143px;
        height: 58px;
    }
    .topbar-inner {
        min-height: 34px;
    }
    .search-row .button {
        padding-right: 16px;
        padding-left: 16px;
    }
}
@media (max-width: 640px) {
    .topbar-inner {
        justify-content: space-between;
        gap: 14px;
    }
    .topbar p {
        flex: 1;
        min-width: 0;
        max-width: none;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .topbar-tools {
        flex-shrink: 0;
    }
}
