/**
 * YON shell — canlı override (v8 header fix)
 * deploy-marker: yon-shell-live-v21-topbar-ref
 * EN SON yüklenir — header taşma / kesilme düzeltmeleri burada.
 */

.yon-shell.yon-shell--yon {
    --yn-live-accent: var(--h-blue);
    --yn-live-green: var(--h-green);
    --yn-live-topbar: rgba(14, 17, 26, 0.92);
    --yn-live-glass: rgba(20, 25, 38, 0.76);
    --yn-live-glass-strong: rgba(18, 22, 34, 0.94);
    --yn-live-nav: rgba(38, 40, 56, 0.82);
    --yn-overlay-backdrop: 10050;
    --yn-overlay-wrap: 10060;
    --yn-overlay-panel: 10070;
}

/* ── Shell çekirdek ── */
.yon-shell.yon-shell--yon .yon-shell__core {
    position: sticky !important;
    top: 0 !important;
    z-index: 61 !important;
    isolation: isolate;
    overflow: visible !important;
    background: var(--yn-live-glass) !important;
    backdrop-filter: blur(22px) saturate(178%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(178%) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--yn-live-accent) 28%, var(--h-border)) !important;
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 10%, transparent) !important;
}

.yon-shell.yon-shell--yon .yon-shell__core::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--yn-live-accent) 15%, transparent) 0%,
        var(--yn-live-accent) 25%,
        var(--yn-live-green) 50%,
        var(--yn-live-accent) 75%,
        color-mix(in srgb, var(--yn-live-accent) 15%, transparent) 100%
    );
}

.yon-shell.yon-shell--yon.is-scrolled .yon-shell__core,
.yon-shell.yon-shell--yon .yon-shell__core.is-scrolled {
    background: var(--yn-live-glass-strong) !important;
}

/* ── Top bar — referans (ItemSatis tarzı) ── */
.yon-shell.yon-shell--yon .yon-site-topbar--ref {
    position: relative;
    z-index: 4;
    background: #12121e !important;
    border-bottom: 1px solid #1a1d2b !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref::after {
    display: none !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__inner,
.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__inner--yon {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    max-width: min(1680px, 100%) !important;
    margin: 0 auto !important;
    padding: 0 clamp(12px, 1.4vw, 18px) !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__left,
.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__right {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__left {
    gap: 10px !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__right {
    gap: 0 !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-site-topbar__announce {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-announce__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 24px !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    border: none !important;
    background: linear-gradient(90deg, #8b4513 0%, #c45a1a 100%) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-announce__btn i {
    font-size: 13px !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-announce__text {
    margin: 0 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #fff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link,
.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link i,
.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__trigger i {
    font-size: 14px !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link--purple {
    color: #c4b5fd !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link--cyan {
    color: #67e8f9 !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link:hover,
.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__trigger:hover,
.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop.is-open .yon-topbar-drop__trigger {
    background: #25293d !important;
    color: #fff !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link--register {
    color: var(--h-green) !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-link--login {
    color: var(--h-blue-text) !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop {
    position: relative !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop.is-open {
    z-index: var(--yn-overlay-wrap, 10060) !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__chev {
    font-size: 14px !important;
    opacity: 0.85;
    margin-left: 2px !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__panel {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    padding: 6px 0 !important;
    background: #1a1d2b !important;
    border: 1px solid #25293d !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
    z-index: var(--yn-overlay-panel, 10070) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop.is-open .yon-topbar-drop__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 14px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.12s ease !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__item i {
    font-size: 15px !important;
    opacity: 0.9;
    width: 18px;
    text-align: center;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop__item:hover {
    background: #25293d !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-meta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-meta:hover {
    background: #25293d !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-currency {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    padding: 0 14px 0 12px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-currency__badge {
    position: absolute !important;
    top: 6px !important;
    right: 2px !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #25293d !important;
    border: 1px solid #3d4258 !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 12px !important;
    text-align: center !important;
    color: #fff !important;
}

@media (max-width: 1279px) {
    .yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-announce__text {
        max-width: 280px !important;
    }
}

@media (max-width: 1099px) {
    .yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-announce__text {
        display: none !important;
    }

    .yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-meta span {
        display: none !important;
    }
}

/* ── Header grid — taşma düzelt ── */
.yon-shell.yon-shell--yon .yon-site-header {
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
    background: transparent !important;
}

.yon-shell.yon-shell--yon .yon-site-header__inner {
    display: grid !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto) !important;
    align-items: center !important;
    gap: 10px 14px !important;
    min-height: 68px !important;
    max-width: min(1680px, 100%) !important;
    width: 100% !important;
    margin-inline: auto !important;
    padding: 10px clamp(12px, 1.4vw, 18px) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.yon-shell.yon-shell--yon .yon-site-header__left {
    min-width: 0 !important;
    flex-shrink: 1 !important;
}

.yon-shell.yon-shell--yon .yon-logo {
    max-width: min(180px, 28vw) !important;
}

.yon-shell.yon-shell--yon .yon-site-header__search {
    min-width: 0 !important;
    max-width: min(480px, 100%) !important;
    width: 100% !important;
    justify-self: center !important;
}

.yon-shell.yon-shell--yon .yon-site-header__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    flex-shrink: 1 !important;
}

/* Kullanıcı şeridi: bakiye + ikon grubu */
.yon-shell.yon-shell--yon .yon-header-user-strip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
}

/* Pill arama */
.yon-shell.yon-shell--yon .yon-search-wrap--yon .yon-search {
    height: 44px !important;
    border-radius: 999px !important;
    padding: 0 16px !important;
    border: 1.5px solid color-mix(in srgb, var(--yn-live-accent) 32%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-raised) 88%, transparent) !important;
    backdrop-filter: blur(12px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(165%) !important;
}

.yon-shell.yon-shell--yon .yon-search-wrap--yon .yon-search:focus-within {
    border-color: var(--yn-live-accent) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yn-live-accent) 22%, transparent) !important;
}

.yon-shell.yon-shell--yon .yon-search-wrap--yon .yon-search__icon {
    color: var(--h-blue-text) !important;
}

/* Hızlı aksiyonlar — sadece geniş ekran */
.yon-shell.yon-shell--yon .yon-site-header__quick {
    display: none !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

@media (min-width: 1536px) {
    .yon-shell.yon-shell--yon:not(:has(.yon-site-topbar--ref)) .yon-site-header__quick {
        display: inline-flex !important;
    }
}

.yon-shell.yon-shell--yon .yon-site-header__quick-btn {
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    border: 1px solid color-mix(in srgb, var(--yn-live-accent) 20%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-card) 75%, transparent) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.yon-shell.yon-shell--yon .yon-site-header__quick-btn i {
    color: var(--h-blue-text) !important;
    font-size: 15px !important;
}

.yon-shell.yon-shell--yon .yon-site-header__quick-btn:hover {
    border-color: var(--yn-live-accent) !important;
    background: var(--h-blue-soft) !important;
}

/* Bakiye — dikey ikon + yeşil pill (ikon grubu ile aynı hiza) */
.yon-shell.yon-shell--yon .yon-header-icon-group {
    --yn-hdr-icon: 44px;
    --yn-hdr-bar: 54px;
    --yn-hdr-balance-w: 68px;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 8px !important;
    min-height: var(--yn-hdr-bar) !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 14px !important;
    border: 1px solid color-mix(in srgb, var(--yn-live-accent) 36%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-card) 74%, transparent) !important;
    backdrop-filter: blur(14px) saturate(168%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(168%) !important;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 8%, transparent) !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop {
    height: var(--yn-hdr-icon) !important;
    min-height: var(--yn-hdr-icon) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--balance {
    width: var(--yn-hdr-balance-w) !important;
    min-width: var(--yn-hdr-balance-w) !important;
    height: var(--yn-hdr-bar) !important;
    min-height: var(--yn-hdr-bar) !important;
    align-self: center !important;
    z-index: var(--yn-overlay-wrap, 10060);
}

.yon-shell.yon-shell--yon .yon-balance-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .yon-balance-stack__icon {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    font-size: 20px;
    line-height: 1;
    color: var(--h-text);
    flex-shrink: 0;
}

.yon-shell.yon-shell--yon .yon-balance-stack__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--yn-hdr-balance-w);
    min-height: 16px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--h-green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    box-shadow: 0 1px 6px color-mix(in srgb, var(--h-green) 40%, transparent);
}

.yon-shell.yon-shell--yon .yon-balance-stack__value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.yon-shell.yon-shell--yon .yon-hdrop--balance.is-open > .yon-balance-stack .yon-balance-stack__icon {
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .yon-hdrop--balance.is-open > .yon-balance-stack .yon-balance-stack__pill {
    box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--h-blue) 40%, transparent);
}

.yon-shell.yon-shell--yon .yon-hdrop__panel--balance {
    right: 0;
    left: auto;
    min-width: 232px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--yn-live-accent) 32%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-card) 90%, var(--yn-live-glass)) !important;
    backdrop-filter: blur(20px) saturate(175%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(175%) !important;
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 8%, transparent) !important;
    color: var(--h-text) !important;
}

.yon-shell.yon-shell--yon .yon-balance-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yon-shell.yon-shell--yon .yon-balance-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--h-text-bright);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.yon-shell.yon-shell--yon .yon-balance-menu__link i {
    width: 20px;
    font-size: 18px;
    color: var(--h-text);
    flex-shrink: 0;
}

.yon-shell.yon-shell--yon .yon-balance-menu__link.is-highlight {
    background: color-mix(in srgb, var(--h-blue) 22%, var(--h-bg-raised));
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .yon-balance-menu__link.is-highlight i {
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .yon-balance-menu__link:not(.is-highlight):not(.yon-balance-menu__link--muted):hover {
    background: var(--h-bg-raised);
}

.yon-shell.yon-shell--yon .yon-balance-menu__link--muted {
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--h-border);
    border-radius: 0 0 10px 10px;
    color: var(--h-text-muted);
    font-size: 12px;
    min-height: 40px;
}

.yon-shell.yon-shell--yon .yon-balance-menu__link--muted:hover {
    color: var(--h-text);
    background: var(--h-bg-raised);
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--balance {
    margin-right: 0;
}

/* İkon hücreleri — eşit boyut */
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-msg,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-notify-wrap,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-notify-wrap .yon-notify-trigger,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-header-admin {
    width: var(--yn-hdr-icon) !important;
    height: var(--yn-hdr-icon) !important;
    min-width: var(--yn-hdr-icon) !important;
    min-height: var(--yn-hdr-icon) !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--h-text-muted) !important;
    flex-shrink: 0 !important;
    font-size: 21px !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-msg i,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-notify-trigger i,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-header-admin i {
    font-size: 21px !important;
    line-height: 1 !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-notify-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-msg:hover,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-notify-trigger:hover,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-header-admin:hover {
    background: var(--h-blue-soft) !important;
    border-color: color-mix(in srgb, var(--yn-live-accent) 28%, var(--h-border)) !important;
    color: var(--h-blue-text) !important;
}

.yon-shell.yon-shell--yon .yon-header-admin span {
    display: none !important;
}

/* Profil — ikon grubunda sadece avatar (38px) */
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--user {
    width: var(--yn-hdr-icon) !important;
    min-width: var(--yn-hdr-icon) !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--user > .yon-user {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: var(--yn-hdr-icon) !important;
    min-width: var(--yn-hdr-icon) !important;
    max-width: var(--yn-hdr-icon) !important;
    height: var(--yn-hdr-icon) !important;
    min-height: var(--yn-hdr-icon) !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid color-mix(in srgb, var(--yn-live-accent) 28%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-raised) 80%, transparent) !important;
    overflow: hidden !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-user__text,
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-user__chev {
    display: none !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-user__icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: 2px solid color-mix(in srgb, var(--yn-live-accent) 35%, var(--h-border)) !important;
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%) !important;
    display: grid !important;
    place-items: center !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-user__icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-user__initial {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1 !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop.is-open > .yon-user {
    background: var(--h-blue-soft) !important;
    border-color: var(--yn-live-accent) !important;
}

/* Mesaj / bildirim rozetleri — ikon boyutuna uyum */
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-msg__badge,
.yon-shell.yon-shell--yon .yon-header-icon-group .ynm-bell-badge {
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    line-height: 14px !important;
    border-width: 2px !important;
}

@media (min-width: 1400px) {
    .yon-shell.yon-shell--yon .yon-header-icon-group {
        --yn-hdr-icon: 46px;
        --yn-hdr-bar: 56px;
        --yn-hdr-balance-w: 72px;
    }

    .yon-shell.yon-shell--yon .yon-balance-stack__pill {
        font-size: 10.5px;
        padding-inline: 7px;
    }
}

@media (max-width: 1199px) {
    .yon-shell.yon-shell--yon .yon-header-icon-group {
        --yn-hdr-icon: 42px;
        --yn-hdr-bar: 50px;
        --yn-hdr-balance-w: 62px;
    }

    .yon-shell.yon-shell--yon .yon-balance-stack__pill {
        font-size: 9px;
    }
}

.yon-shell.yon-shell--yon:has(.yon-site-topbar--ref) .yon-site-nav--yon .yon-site-nav__cats-btn {
    border-radius: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.yon-shell.yon-shell--yon:has(.yon-site-topbar--ref) .yon-site-nav--yon .yon-site-nav__link {
    border-radius: 0 !important;
}

.yon-shell.yon-shell--yon:has(.yon-site-topbar--ref) .yon-site-nav.yon-site-nav--yon {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none !important;
}

/* Nav */
.yon-shell.yon-shell--yon .yon-site-nav.yon-site-nav--yon {
    z-index: 90 !important;
    min-height: 48px !important;
    background: var(--yn-live-nav) !important;
    backdrop-filter: blur(16px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(165%) !important;
    border-top: 1px solid color-mix(in srgb, var(--yn-live-accent) 18%, var(--h-border)) !important;
}

.yon-shell.yon-shell--yon .yon-site-nav--yon .yon-site-nav__cats-btn {
    border-radius: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%) !important;
    box-shadow: var(--h-shadow-blue) !important;
}

.yon-shell.yon-shell--yon .yon-site-nav--yon .yon-site-nav__cta:not(.yon-site-nav__cart-btn) {
    border-radius: 999px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%) !important;
    box-shadow: var(--h-shadow-blue) !important;
}

.yon-shell.yon-shell--yon .yon-site-nav--yon .yon-site-nav__link {
    border-radius: 9px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.yon-shell.yon-shell--yon .yon-site-nav--yon .yon-site-nav__link.is-active::after {
    background: var(--h-gradient-listing) !important;
}

/* Topbar dropdown — header/nav üstünde */
body.yon-topbar-overlay-open .yon-shell.yon-shell--yon .yon-shell__core {
    z-index: 10040 !important;
    overflow: visible !important;
}

body.yon-topbar-overlay-open .yon-shell.yon-shell--yon .yon-site-topbar--ref {
    z-index: calc(var(--yn-overlay-wrap, 10060) + 20) !important;
    overflow: visible !important;
}

body.yon-topbar-overlay-open .yon-shell.yon-shell--yon .yon-site-header {
    z-index: 50 !important;
}

body.yon-topbar-overlay-open .yon-shell.yon-shell--yon .yon-site-nav.yon-site-nav--yon {
    z-index: 40 !important;
}

body.yon-topbar-overlay-open .yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop.is-open {
    z-index: calc(var(--yn-overlay-wrap, 10060) + 5) !important;
}

body.yon-topbar-overlay-open .yon-shell.yon-shell--yon .yon-site-topbar--ref .yon-topbar-drop.is-open .yon-topbar-drop__panel {
    z-index: var(--yn-overlay-panel, 10070) !important;
}

/* Overlay z-index — dropdown her şeyin üstünde */
body.yon-header-overlay-open .yon-shell.yon-shell--yon .yon-shell__core {
    z-index: 10040 !important;
}

body.yon-header-overlay-open .yon-shell.yon-shell--yon .yon-site-header {
    z-index: calc(var(--yn-overlay-wrap) + 5) !important;
    overflow: visible !important;
}

body.yon-header-overlay-open .yon-shell.yon-shell--yon .yon-site-nav.yon-site-nav--yon {
    z-index: 80 !important;
}

.yon-shell.yon-shell--yon .yon-site-header__actions,
.yon-shell.yon-shell--yon .yon-header-user-strip,
.yon-shell.yon-shell--yon .yon-header-icon-group {
    overflow: visible !important;
}

body.yon-header-overlay-open .yon-shell.yon-shell--yon .yon-site-header__actions,
body.yon-header-overlay-open .yon-shell.yon-shell--yon .yon-header-icon-group,
.yon-shell.yon-shell--yon .yon-site-header__actions:has(.yon-hdrop.is-open),
.yon-shell.yon-shell--yon .yon-site-header__actions:has(.yon-notify-wrap.is-open),
.yon-shell.yon-shell--yon .yon-header-icon-group:has(.yon-hdrop.is-open),
.yon-shell.yon-shell--yon .yon-header-icon-group:has(.yon-notify-wrap.is-open) {
    z-index: calc(var(--yn-overlay-wrap) + 5) !important;
    overflow: visible !important;
}

.yon-notify-wrap.is-open,
.yon-hdrop.is-open {
    z-index: var(--yn-overlay-wrap) !important;
    isolation: isolate;
}

.yon-notify-wrap.is-open .ynm-panel--notify,
.yon-hdrop.is-open .yon-hdrop__panel {
    z-index: var(--yn-overlay-panel) !important;
}

/* Panel — trigger hemen altında (absolute, fixed değil) */
.yon-shell.yon-shell--yon .yon-hdrop__panel {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
}

.yon-shell.yon-shell--yon .yon-hdrop--balance .yon-hdrop__panel--balance {
    right: 0 !important;
    left: auto !important;
}

.yon-shell.yon-shell--yon .yon-hdrop--user .yon-hdrop__panel--menu {
    right: 0 !important;
    left: auto !important;
    width: min(380px, calc(100vw - 24px)) !important;
}

.yon-shell.yon-shell--yon .yon-hdrop--cart .yon-hdrop__panel {
    right: 0 !important;
    left: auto !important;
    width: min(340px, calc(100vw - 24px)) !important;
}

.yon-shell.yon-shell--yon .yon-hdrop {
    position: relative !important;
}

.yon-shell.yon-shell--yon .yon-notify-wrap {
    position: relative !important;
}

.yon-shell.yon-shell--yon .yon-notify-wrap .ynm-panel--notify {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
}

/* Tüm header dropdown — shell glass (opak, nav/hero alttan görünmesin) */
.yon-shell.yon-shell--yon .yon-hdrop__panel {
    border-radius: 14px !important;
    border: 1px solid color-mix(in srgb, var(--yn-live-accent) 32%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-card) 98%, var(--h-bg-header)) !important;
    backdrop-filter: blur(20px) saturate(175%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(175%) !important;
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.55),
        0 0 0 1px color-mix(in srgb, var(--h-border) 65%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 8%, transparent) !important;
    color: var(--h-text) !important;
    overflow: hidden !important;
    isolation: isolate;
}

.yon-shell.yon-shell--yon .yon-hdrop__panel--menu {
    padding: 0 !important;
    background: color-mix(in srgb, var(--h-bg-card) 92%, var(--yn-live-glass)) !important;
}

.yon-shell.yon-shell--yon .yon-hdrop__panel--menu .yum-shell.yon-user-menu,
.yon-shell.yon-shell--yon .yon-hdrop__panel--menu .yon-user-menu.yum-shell {
    position: static !important;
    width: 100% !important;
    max-height: min(78vh, 620px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.yon-shell.yon-shell--yon .yon-cart-drop,
.yon-shell.yon-shell--yon .yon-auth-drop {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.yon-shell.yon-shell--yon .yon-cart-drop::after,
.yon-shell.yon-shell--yon .yon-auth-drop::after {
    background: color-mix(in srgb, var(--h-bg-card) 98%, var(--h-bg-header)) !important;
    border-color: color-mix(in srgb, var(--yn-live-accent) 32%, var(--h-border)) !important;
    z-index: 3;
}

/* Mobil */
@media (max-width: 767px) {
    .yon-shell.yon-shell--yon .yon-site-header__inner {
        min-height: 60px !important;
        grid-template-columns: 40px 1fr auto !important;
    }

    .yon-shell.yon-shell--yon .yon-header-user-strip {
        display: none !important;
    }

    .yon-shell.yon-shell--yon .yon-search-wrap--yon .yon-search {
        height: 42px !important;
    }
}

@media (hover: none) {
    .yon-shell.yon-shell--yon .yon-site-header__quick-btn:hover,
    .yon-shell.yon-shell--yon .yon-logo:hover {
        transform: none !important;
    }
}

/* Header sepet — ikon + dropdown (referans) */
.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--cart {
    width: var(--yn-hdr-icon) !important;
    min-width: var(--yn-hdr-icon) !important;
    height: var(--yn-hdr-icon) !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--cart > .yon-cart {
    width: var(--yn-hdr-icon) !important;
    height: var(--yn-hdr-icon) !important;
    min-width: var(--yn-hdr-icon) !important;
    min-height: var(--yn-hdr-icon) !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: var(--h-text-muted) !important;
    font-size: 22px !important;
    position: relative !important;
}

.yon-shell.yon-shell--yon .yon-header-icon-group .yon-hdrop--cart > .yon-cart:hover,
.yon-shell.yon-shell--yon .yon-hdrop--cart.is-open > .yon-cart {
    background: var(--h-blue-soft) !important;
    border-color: color-mix(in srgb, var(--yn-live-accent) 28%, var(--h-border)) !important;
    color: var(--h-blue-text) !important;
}

.yon-shell.yon-shell--yon .yon-hdrop--cart .yon-cart__badge {
    top: -1px !important;
    right: -3px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%) !important;
    color: #fff !important;
    border: 2px solid color-mix(in srgb, var(--h-bg-header) 88%, var(--h-bg-card)) !important;
    font-size: 10px !important;
    line-height: 14px !important;
    box-shadow: 0 2px 8px rgba(61, 90, 254, 0.35) !important;
}

.yon-shell.yon-shell--yon .yon-hdrop--cart .yon-hdrop__panel {
    width: min(340px, calc(100vw - 24px)) !important;
    padding: 0 !important;
    overflow: visible !important;
}

.yon-shell.yon-shell--yon .yon-cart-drop {
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.yon-shell.yon-shell--yon .yon-cart-drop::after {
    top: -5px !important;
    right: 18px !important;
}

.yon-shell.yon-shell--yon .yon-cart-drop__items {
    max-height: 280px;
    overflow-y: auto;
    padding: 10px 10px 8px;
    background: var(--h-bg-card);
    position: relative;
    z-index: 1;
}

.yon-shell.yon-shell--yon .yon-cart-drop__empty {
    margin: 0;
    padding: 18px 12px 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .yon-cart-drop__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    gap: 10px;
    align-items: center;
    padding: 8px 4px;
    border-radius: 10px;
    transition: opacity 0.2s ease;
}

.yon-shell.yon-shell--yon .yon-cart-drop__item + .yon-cart-drop__item {
    margin-top: 2px;
    border-top: 1px solid color-mix(in srgb, var(--h-border) 65%, transparent);
    padding-top: 10px;
}

.yon-shell.yon-shell--yon .yon-cart-drop__item.is-removing {
    opacity: 0.45;
    pointer-events: none;
}

.yon-shell.yon-shell--yon .yon-cart-drop__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--h-bg-raised);
    border: 1px solid var(--h-border);
    flex-shrink: 0;
    text-decoration: none;
}

.yon-shell.yon-shell--yon .yon-cart-drop__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yon-shell.yon-shell--yon .yon-cart-drop__thumb i {
    font-size: 20px;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .yon-cart-drop__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yon-shell.yon-shell--yon .yon-cart-drop__item-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--h-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yon-shell.yon-shell--yon .yon-cart-drop__item-name:hover {
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .yon-cart-drop__item-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--h-blue-text);
    letter-spacing: 0.01em;
}

.yon-shell.yon-shell--yon .yon-cart-drop__remove {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--h-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.yon-shell.yon-shell--yon .yon-cart-drop__remove:hover {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
}

.yon-shell.yon-shell--yon .yon-cart-drop__remove:disabled {
    opacity: 0.5;
    cursor: wait;
}

.yon-shell.yon-shell--yon .yon-cart-drop__footer {
    padding: 14px 14px 16px;
    background: var(--h-bg-raised);
    border-top: 1px solid var(--h-border);
    position: relative;
    z-index: 2;
}

.yon-shell.yon-shell--yon .yon-cart-drop__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .yon-cart-drop__total strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .yon-cart-drop__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0 0 10px;
    padding: 11px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%) !important;
    border: 0;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--h-shadow-blue);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.yon-shell.yon-shell--yon .yon-cart-drop__cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    color: #fff !important;
}

.yon-shell.yon-shell--yon .yon-cart-drop__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, #f87171 45%, var(--h-border));
    background: color-mix(in srgb, #f87171 8%, transparent);
    color: #fca5a5;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yon-shell.yon-shell--yon .yon-cart-drop__clear:hover {
    background: color-mix(in srgb, #f87171 16%, transparent);
    border-color: color-mix(in srgb, #f87171 65%, var(--h-border));
    color: #fecaca;
}

.yon-shell.yon-shell--yon .yon-site-header__cart-mobile .yon-cart__badge {
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%) !important;
    color: #fff !important;
    border: 2px solid var(--h-bg-header) !important;
}

@media (max-width: 767px) {
    .yon-shell.yon-shell--yon .yon-cart-drop__footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}
