/* Professional compact navbar like reference */
.announcement-bar {
    font-size: 0.73rem !important;
    letter-spacing: 0.015em !important;
    padding: 0.28rem 0.75rem !important;
}

.top-social-bar {
    display: none !important;
}

.global-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

body[data-theme] .global-header {
    background: #1f3556 !important;
}

.global-header__main {
    max-width: 84rem !important;
    margin: 0 auto !important;
    min-height: 58px !important;
    padding: 0.38rem 1rem !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 0.85rem !important;
}

.global-header__left {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
}

.elegant-search {
    display: none !important;
}

.global-brand {
    gap: 0.5rem !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.global-brand__logo,
.global-brand__logo--text {
    width: 2rem !important;
    height: 2rem !important;
}

.global-brand__name {
    max-width: 180px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.93rem !important;
    font-weight: 700 !important;
    color: #f4f8ff !important;
}

.global-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.18rem !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

.global-nav__link {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    padding: 0.34rem 0.58rem !important;
    border-radius: 0.46rem !important;
    color: rgba(245, 248, 255, 0.9) !important;
}

.global-nav__link:hover,
.global-nav__link.is-active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.global-header__actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.36rem !important;
}

.global-search {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 0.48rem !important;
    border: 1px solid rgba(148, 163, 184, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 0.06rem !important;
}

.global-search__input {
    height: 1.72rem !important;
    min-width: 98px !important;
    max-width: 132px !important;
    border: 0 !important;
    padding: 0 0.45rem !important;
    font-size: 0.74rem !important;
    background: transparent !important;
    color: #ffffff !important;
}

.global-search__input::placeholder {
    color: rgba(255, 255, 255, 0.65) !important;
}

.global-search__btn {
    width: 1.72rem !important;
    height: 1.72rem !important;
    border-radius: 0.36rem !important;
    border: 0 !important;
    background: #f97316 !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
}

.header-social-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.22rem !important;
}

.header-social-inline__link {
    width: 1.42rem !important;
    height: 1.42rem !important;
    border-radius: 0.34rem !important;
    border: 1px solid rgba(148, 163, 184, 0.42) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.66rem !important;
}

.header-social-inline__link.is-disabled {
    opacity: 0.45 !important;
    pointer-events: none !important;
}

.btn.btn--outline {
    min-height: 1.8rem !important;
    padding: 0 0.58rem !important;
    font-size: 0.68rem !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.global-cart,
.global-cart.btn--primary {
    min-height: 1.8rem !important;
    padding: 0 0.62rem !important;
    font-size: 0.69rem !important;
    border-radius: 0.44rem !important;
    gap: 0.28rem !important;
}

.global-cart__badge {
    min-width: 0.96rem !important;
    height: 0.96rem !important;
    font-size: 0.56rem !important;
}

.global-header__mobile-toggle {
    width: 1.8rem !important;
    height: 1.8rem !important;
    border-radius: 0.42rem !important;
    font-size: 0.84rem !important;
}

@media (max-width: 1080px) {
    .global-nav {
        display: none !important;
    }
    .global-header__main {
        grid-template-columns: auto 1fr auto !important;
    }
}

@media (max-width: 760px) {
    .global-search,
    .header-social-inline {
        display: none !important;
    }
    .global-brand__name {
        max-width: 132px !important;
    }
}

/* Çentik / yatay güvenli alan (viewport-fit=cover ile) */
@media (max-width: 900px) {
    .global-header__main {
        padding: 0.38rem calc(1rem + env(safe-area-inset-right, 0px)) 0.38rem calc(1rem + env(safe-area-inset-left, 0px)) !important;
    }
}
