/**
 * Kategoriler mega menü — itemsatış tarzı
 */
body.ynm-lock {
    overflow: hidden;
}

.ynm-wrap {
    position: relative;
    flex-shrink: 0;
}

.yon-site-nav__cats-btn.is-open,
.yon-site-nav__cats-btn.is-open:hover {
    filter: brightness(0.96);
}

.ynm-root {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: var(--ynm-offset, 118px);
    pointer-events: none;
}

.ynm-root > * {
    pointer-events: auto;
}

.ynm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 23, 35, 0.72);
    backdrop-filter: blur(3px);
    pointer-events: auto;
}

.ynm-panel {
    position: relative;
    z-index: 1;
    width: min(1680px, 100%);
    margin: 0 auto;
    height: min(560px, calc(100vh - var(--ynm-offset, 118px) - 8px));
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--h-border);
    border-top: 0;
    background: var(--h-bg-card);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    pointer-events: auto;
}

.ynm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 18px;
}

.ynm-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ynm-side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid var(--h-border);
    background: var(--h-bg-raised);
}

.ynm-side__head {
    padding: 16px 14px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--h-text-muted);
}

.ynm-side__scroll {
    flex: 1;
    overflow: auto;
    padding: 0 8px 12px;
}

.ynm-side__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--h-text);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ynm-side__item:hover {
    background: var(--h-blue-soft);
    color: var(--h-text-bright);
}

.ynm-side__item.is-active {
    background: var(--h-blue-soft);
    color: var(--h-blue-text);
    box-shadow: inset 3px 0 0 var(--h-blue);
}

.ynm-side__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 16px;
    color: var(--h-blue-text);
}

.ynm-side__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ynm-side__label {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.ynm-side__arrow {
    font-size: 14px;
    color: #64748b;
}

.ynm-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px 16px 16px;
}

.ynm-toolbar {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    padding-right: 42px;
}

.ynm-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--h-border);
    background: var(--h-bg-raised);
    color: var(--h-text-muted);
}

.ynm-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--h-text);
    font-size: 13px;
    outline: none;
}

.ynm-search input::placeholder {
    color: #64748b;
}

.ynm-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ynm-letter {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid var(--h-border);
    border-radius: 8px;
    background: var(--h-bg-raised);
    color: var(--h-text-muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.ynm-letter:hover {
    color: var(--h-text);
    border-color: rgba(61, 90, 254, 0.28);
}

.ynm-letter.is-active {
    background: var(--h-blue-soft);
    border-color: rgba(61, 90, 254, 0.35);
    color: var(--h-blue-text);
}

.ynm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.ynm-section-head h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
    color: var(--h-text-bright);
}

.ynm-section-head h3 i {
    color: #fbbf24;
}

.ynm-section-head__all {
    font-size: 12px;
    font-weight: 700;
    color: var(--h-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ynm-section-head__all:hover {
    color: var(--h-blue-dark);
}

.ynm-grid-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
}

.ynm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 12px;
}

.ynm-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.ynm-card__art {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    display: grid;
    place-items: center;
}

.ynm-card__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.ynm-card__art em {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(167, 139, 250, 0.16);
    color: #c4b5fd;
    font-style: normal;
    font-size: 22px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.ynm-card:hover .ynm-card__art img {
    transform: scale(1.04);
}

.ynm-card__label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--h-text);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ynm-empty {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    text-align: center;
}

.ynm-empty i {
    font-size: 28px;
    color: #475569;
}

.ynm-empty strong {
    color: #cbd5e1;
    font-size: 14px;
}

.ynm-empty p {
    margin: 0;
    font-size: 12px;
}

@media (max-width: 900px) {
    .ynm-panel {
        grid-template-columns: 1fr;
        height: min(78vh, 720px);
    }

    .ynm-side {
        display: none;
    }

    .ynm-toolbar {
        padding-right: 0;
    }

    .ynm-grid {
        grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .ynm-root {
        padding-top: calc(var(--ynm-offset, 96px) + 8px);
        place-items: stretch center;
    }

    .ynm-panel {
        width: calc(100vw - 16px);
        border-radius: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ynm-panel — kategori mega menu (kurumsal v2, yon-shell--yon)
   ═══════════════════════════════════════════════════════════════ */

.yon-shell.yon-shell--yon .ynm-backdrop {
    background: rgba(22, 27, 40, 0.82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.yon-shell.yon-shell--yon .ynm-panel {
    width: min(var(--yon-shell-max, 1680px), calc(100% - 32px));
    height: min(520px, calc(100vh - var(--ynm-offset, 118px) - 12px));
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--h-border);
    border-top: 0;
    background: var(--h-bg-header);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.yon-shell.yon-shell--yon .ynm-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--h-border);
    background: var(--h-bg-card);
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .ynm-close:hover {
    background: var(--h-bg-raised);
    color: var(--h-text-bright);
    border-color: color-mix(in srgb, var(--h-blue) 35%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-side {
    background: var(--h-bg-card);
    border-right-color: var(--h-border);
}

.yon-shell.yon-shell--yon .ynm-side__head {
    padding: 14px 14px 8px;
    font-size: 10px;
    letter-spacing: 0.09em;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .ynm-side__item {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.yon-shell.yon-shell--yon .ynm-side__item:hover {
    background: color-mix(in srgb, var(--h-blue) 8%, var(--h-bg-raised));
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .ynm-side__item.is-active {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-raised));
    color: var(--h-blue-text);
    box-shadow: inset 3px 0 0 var(--h-blue);
}

.yon-shell.yon-shell--yon .ynm-side__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--h-bg-raised);
    border-color: var(--h-border);
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .ynm-main {
    padding: 12px 14px 14px;
    background: var(--h-bg-header);
}

.yon-shell.yon-shell--yon .ynm-search {
    height: 40px;
    border-radius: 999px;
    border-color: var(--h-border);
    background: var(--h-bg-raised);
    padding: 0 14px;
}

.yon-shell.yon-shell--yon .ynm-search:focus-within {
    border-color: var(--h-blue);
    background: color-mix(in srgb, var(--h-blue) 6%, var(--h-bg-raised));
}

.yon-shell.yon-shell--yon .ynm-letter {
    min-width: 26px;
    height: 26px;
    border-radius: 6px;
    border-color: var(--h-border);
    background: var(--h-bg-raised);
    font-size: 10px;
}

.yon-shell.yon-shell--yon .ynm-letter.is-active {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-raised));
    border-color: color-mix(in srgb, var(--h-blue) 40%, var(--h-border));
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .ynm-section-head h3 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.yon-shell.yon-shell--yon .ynm-section-head h3 i {
    color: var(--h-orange);
}

.yon-shell.yon-shell--yon .ynm-section-head__all {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--h-blue) 28%, var(--h-border));
    background: color-mix(in srgb, var(--h-blue) 8%, transparent);
    font-size: 11px;
    font-weight: 700;
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .ynm-section-head__all:hover {
    background: color-mix(in srgb, var(--h-blue) 14%, transparent);
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .ynm-card__art {
    border-radius: 10px;
    border-color: var(--h-border);
    background: var(--h-bg-raised);
}

.yon-shell.yon-shell--yon .ynm-card__art em {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-card));
    color: var(--h-blue-text);
    border: 1px solid color-mix(in srgb, var(--h-blue) 22%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-card:hover .ynm-card__art {
    border-color: color-mix(in srgb, var(--h-blue) 35%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-card__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--h-text);
}

.yon-shell.yon-shell--yon .ynm-empty {
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .ynm-empty strong {
    color: var(--h-text-bright);
}

@media (max-width: 767px) {
    .yon-shell.yon-shell--yon .ynm-panel {
        width: calc(100vw - 12px);
        border-radius: 10px;
        height: min(76vh, 680px);
    }
}

/* Kurumsal v4 — belirgin kategori mega menü */
.yon-shell.yon-shell--yon .ynm-backdrop {
    background: rgba(10, 12, 20, 0.9) !important;
}

.yon-shell.yon-shell--yon .ynm-panel:not(.ynm-panel--notify) {
    border: 2px solid color-mix(in srgb, var(--h-blue) 32%, var(--h-border)) !important;
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 9%, transparent) !important;
}

/* =================================================================
   ynm-panel v3 — kategori mega menü (glass, shell uyumlu)
   deploy-marker: ynm-panel-v3-glass
   ================================================================= */

.yon-shell.yon-shell--yon .ynm-panel--v3:not(.ynm-panel--notify) {
    width: min(var(--yon-shell-max, 1680px), calc(100% - 32px));
    height: min(520px, calc(100vh - var(--ynm-offset, 118px) - 12px));
    border-radius: 0 0 14px 14px;
    border: 1px solid color-mix(in srgb, var(--h-blue) 22%, var(--h-border)) !important;
    border-top: 0 !important;
    background: color-mix(in srgb, var(--h-bg-header) 78%, transparent) !important;
    backdrop-filter: blur(20px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(165%) !important;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px color-mix(in srgb, var(--h-blue) 12%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 6%, transparent) !important;
    overflow: hidden;
}

.yon-shell.yon-shell--yon .ynm-panel--v3 ~ .ynm-backdrop,
.yon-shell.yon-shell--yon .ynm-root:has(.ynm-panel--v3) .ynm-backdrop {
    background: rgba(22, 27, 40, 0.72) !important;
    backdrop-filter: blur(6px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--h-border-soft);
    background: color-mix(in srgb, var(--h-bg-card) 82%, transparent);
    color: var(--h-text-muted);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-close:hover {
    background: color-mix(in srgb, var(--h-bg-raised) 90%, transparent);
    color: var(--h-text-bright);
    border-color: color-mix(in srgb, var(--h-blue) 35%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side {
    background: color-mix(in srgb, var(--h-bg-card) 80%, transparent);
    border-right-color: var(--h-border-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side__head {
    padding: 14px 14px 8px;
    font-size: 10px;
    letter-spacing: 0.09em;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side__item {
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side__item:hover {
    background: color-mix(in srgb, var(--h-blue) 8%, var(--h-bg-raised));
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side__item.is-active {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-raised));
    color: var(--h-blue-text);
    box-shadow: inset 3px 0 0 var(--h-blue);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--h-bg-raised) 88%, transparent);
    border-color: var(--h-border-soft);
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-main {
    padding: 12px 14px 14px;
    background: color-mix(in srgb, var(--h-bg-header) 62%, transparent);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-search {
    height: 40px;
    border-radius: 999px;
    border-color: var(--h-border-soft);
    background: color-mix(in srgb, var(--h-bg-raised) 88%, transparent);
    padding: 0 14px;
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-search:focus-within {
    border-color: var(--h-blue);
    background: color-mix(in srgb, var(--h-blue) 6%, var(--h-bg-raised));
    box-shadow: 0 0 0 3px var(--h-blue-soft);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-letter {
    min-width: 26px;
    height: 26px;
    border-radius: 6px;
    border-color: var(--h-border-soft);
    background: color-mix(in srgb, var(--h-bg-raised) 88%, transparent);
    font-size: 10px;
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-letter.is-active {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-raised));
    border-color: color-mix(in srgb, var(--h-blue) 40%, var(--h-border));
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-section-head h3 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-section-head h3 i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    font-size: 14px;
    color: var(--h-orange);
    background: color-mix(in srgb, var(--h-orange) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--h-orange) 28%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-section-head__all {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--h-blue) 28%, var(--h-border));
    background: color-mix(in srgb, var(--h-blue) 8%, transparent);
    font-size: 11px;
    font-weight: 700;
    color: var(--h-blue-text);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-section-head__all:hover {
    background: color-mix(in srgb, var(--h-blue) 14%, transparent);
    color: var(--h-text-bright);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-card__art {
    border-radius: 12px;
    border-color: var(--h-border-soft);
    background: color-mix(in srgb, var(--h-bg-raised) 88%, transparent);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-card__art em {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-card));
    color: var(--h-blue-text);
    border: 1px solid color-mix(in srgb, var(--h-blue) 22%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-card:hover .ynm-card__art {
    border-color: color-mix(in srgb, var(--h-blue) 35%, var(--h-border));
    box-shadow: var(--h-shadow-blue);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-card__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--h-text);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-empty {
    min-height: 220px;
    color: var(--h-text-muted);
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-empty i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--h-blue-text);
    background: color-mix(in srgb, var(--h-blue) 10%, var(--h-bg-raised));
    border: 1px solid color-mix(in srgb, var(--h-blue) 22%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-empty strong {
    color: var(--h-text-bright);
}

@media (max-width: 767px) {
    .yon-shell.yon-shell--yon .ynm-panel--v3:not(.ynm-panel--notify) {
        width: 100vw;
        max-width: none;
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        height: calc(100dvh - var(--ynm-offset, 96px));
        max-height: none;
    }

    .yon-shell.yon-shell--yon .ynm-root:has(.ynm-panel--v3) {
        padding-top: var(--ynm-offset, 96px);
    }

    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-section-head {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-section-head__all {
        justify-content: center;
        min-height: 44px;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-letters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-letter {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 32px;
        min-height: 32px;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-close {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 479px) {
    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-grid {
        grid-template-columns: 1fr;
    }
}

@media (hover: none) {
    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-side__item,
    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-letter,
    .yon-shell.yon-shell--yon .ynm-panel--v3 .ynm-close {
        min-height: 44px;
    }
}

/* =================================================================
   ynm-panel v4 — kategori mega menü (unified glass polish)
   deploy-marker: ynm-panel-v4
   ================================================================= */

.yon-shell.yon-shell--yon .ynm-panel--v4:not(.ynm-panel--notify) {
    border-radius: 0 0 16px 16px !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 28%, var(--h-border)) !important;
    border-top: 0 !important;
    background: color-mix(in srgb, var(--h-bg-header) 74%, transparent) !important;
    backdrop-filter: blur(24px) saturate(172%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(172%) !important;
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.5),
        0 0 0 1px color-mix(in srgb, var(--h-blue) 16%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 8%, transparent) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 ~ .ynm-backdrop,
.yon-shell.yon-shell--yon .ynm-root:has(.ynm-panel--v4) .ynm-backdrop {
    background: rgba(10, 12, 20, 0.92) !important;
    backdrop-filter: blur(8px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(150%) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-close {
    border-radius: 11px;
    border-color: color-mix(in srgb, var(--h-blue) 24%, var(--h-border));
    background: color-mix(in srgb, var(--h-bg-card) 78%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 5%, transparent);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-side {
    background: color-mix(in srgb, var(--h-bg-card) 76%, transparent);
    border-right-color: color-mix(in srgb, var(--h-blue) 16%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-side__item.is-active {
    background: color-mix(in srgb, var(--h-blue) 14%, var(--h-bg-raised));
    box-shadow: inset 4px 0 0 var(--h-blue);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-search {
    height: 42px;
    border-radius: 999px;
    border-color: color-mix(in srgb, var(--h-blue) 22%, var(--h-border));
    background: color-mix(in srgb, var(--h-bg-raised) 82%, transparent);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-search:focus-within {
    border-color: var(--h-blue);
    box-shadow:
        0 0 0 4px var(--h-blue-soft),
        inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letters {
    gap: 4px;
    padding: 6px 0 8px;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter {
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    font-weight: 700;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter.is-active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--h-blue) 18%, var(--h-bg-raised)), color-mix(in srgb, var(--h-blue) 10%, var(--h-bg-card)));
    border-color: var(--h-blue);
    color: var(--h-text-bright);
    box-shadow: var(--h-shadow-blue);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-section-head h3 i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card {
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card:hover {
    transform: translateY(-2px);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card__art {
    border-radius: 13px;
    background: color-mix(in srgb, var(--h-bg-raised) 84%, transparent);
    border-color: color-mix(in srgb, var(--h-blue) 18%, var(--h-border));
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card:hover .ynm-card__art {
    border-color: color-mix(in srgb, var(--h-blue) 42%, var(--h-border));
    box-shadow:
        var(--h-shadow-blue),
        0 8px 24px rgba(0, 0, 0, 0.22);
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-empty {
    min-height: 240px;
    gap: 8px;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-empty i {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 28px;
    box-shadow: var(--h-shadow-blue);
}

@media (max-width: 767px) {
    .yon-shell.yon-shell--yon .ynm-panel--v4:not(.ynm-panel--notify) {
        height: calc(100dvh - var(--ynm-offset, 96px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 34px;
        min-height: 34px;
    }
}

@media (max-width: 479px) {
    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-grid {
        grid-template-columns: 1fr;
    }
}

@media (hover: none) {
    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-side__item,
    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter,
    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-close {
        min-height: 44px;
    }
}

/* =================================================================
   ynm-panel v4 KAPSAMLI — kategori mega (unified chrome, cascade kazanır)
   yon-shell-v4-comprehensive
   deploy-marker: yon-shell-v4-kapsamli
   ================================================================= */

.yon-shell.yon-shell--yon .ynm-panel--v4:not(.ynm-panel--notify) {
    border-radius: 0 0 16px 16px !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 32%, var(--h-border)) !important;
    border-top: 0 !important;
    background: color-mix(in srgb, var(--h-bg-header) 70%, transparent) !important;
    backdrop-filter: blur(26px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(26px) saturate(180%) !important;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.54),
        0 0 0 1px color-mix(in srgb, var(--h-blue) 18%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 10%, transparent) !important;
    overflow: hidden !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 ~ .ynm-backdrop,
.yon-shell.yon-shell--yon .ynm-root:has(.ynm-panel--v4) .ynm-backdrop {
    background: rgba(10, 12, 20, 0.92) !important;
    backdrop-filter: blur(10px) saturate(155%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(155%) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-head,
.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-toolbar {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--h-bg-header) 90%, transparent) 0%,
        color-mix(in srgb, var(--h-bg-card) 65%, transparent) 100%
    ) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--h-blue) 20%, var(--h-border)) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-close {
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 28%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-card) 76%, transparent) !important;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 6%, transparent) !important;
    transition: background 0.14s ease, border-color 0.14s ease !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-close:hover {
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-raised)) !important;
    border-color: var(--h-blue) !important;
    color: var(--h-text-bright) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-side {
    background: color-mix(in srgb, var(--h-bg-card) 72%, transparent) !important;
    border-right: 1px solid color-mix(in srgb, var(--h-blue) 18%, var(--h-border)) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-side__item {
    min-height: 44px !important;
    border-radius: 10px !important;
    margin: 2px 6px !important;
    transition: background 0.14s ease !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-side__item.is-active {
    background: color-mix(in srgb, var(--h-blue) 16%, var(--h-bg-raised)) !important;
    box-shadow: inset 4px 0 0 var(--h-blue) !important;
    color: var(--h-text-bright) !important;
    font-weight: 700 !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-search {
    height: 44px !important;
    border-radius: 999px !important;
    padding-inline: 16px !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 24%, var(--h-border)) !important;
    background: color-mix(in srgb, var(--h-bg-raised) 84%, transparent) !important;
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 color-mix(in srgb, var(--h-text-bright) 5%, transparent) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-search:focus-within {
    border-color: var(--h-blue) !important;
    box-shadow:
        0 0 0 4px var(--h-blue-soft),
        inset 0 1px 2px rgba(0, 0, 0, 0.1),
        var(--h-shadow-blue) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letters {
    gap: 5px !important;
    padding: 8px 0 10px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter {
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 9px !important;
    font-weight: 800 !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    border: 1px solid color-mix(in srgb, var(--h-border) 80%, transparent) !important;
    background: color-mix(in srgb, var(--h-bg-raised) 70%, transparent) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter.is-active {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--h-blue) 20%, var(--h-bg-raised)),
        color-mix(in srgb, var(--h-blue) 10%, var(--h-bg-card))
    ) !important;
    border-color: var(--h-blue) !important;
    color: var(--h-text-bright) !important;
    box-shadow: var(--h-shadow-blue) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-section-head h3 {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-section-head h3 i {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: color-mix(in srgb, var(--h-blue) 12%, var(--h-bg-raised)) !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 24%, var(--h-border)) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-grid {
    gap: 12px !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card {
    border-radius: 14px !important;
    border: 1px solid color-mix(in srgb, var(--h-border) 85%, transparent) !important;
    background: color-mix(in srgb, var(--h-bg-card) 78%, transparent) !important;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card:hover {
    transform: translateY(-3px) !important;
    border-color: color-mix(in srgb, var(--h-blue) 38%, var(--h-border)) !important;
    box-shadow:
        var(--h-shadow-blue),
        0 10px 28px rgba(0, 0, 0, 0.24) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card__art {
    border-radius: 12px !important;
    background: color-mix(in srgb, var(--h-bg-raised) 86%, transparent) !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 20%, var(--h-border)) !important;
    transition: border-color 0.14s ease, box-shadow 0.14s ease !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card:hover .ynm-card__art {
    border-color: color-mix(in srgb, var(--h-blue) 48%, var(--h-border)) !important;
    box-shadow: var(--h-shadow-blue) !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-empty {
    min-height: 260px !important;
    gap: 10px !important;
}

.yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-empty i {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    font-size: 30px !important;
    color: var(--h-blue-text) !important;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--h-blue) 14%, var(--h-bg-raised)),
        color-mix(in srgb, var(--h-blue) 6%, var(--h-bg-card))
    ) !important;
    border: 1px solid color-mix(in srgb, var(--h-blue) 28%, var(--h-border)) !important;
    box-shadow: var(--h-shadow-blue) !important;
}

@media (max-width: 767px) {
    .yon-shell.yon-shell--yon .ynm-panel--v4:not(.ynm-panel--notify) {
        height: calc(100dvh - var(--ynm-offset, 96px)) !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        border-radius: 0 !important;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letters {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-inline: 4px !important;
    }

    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-letter {
        min-width: 36px !important;
        min-height: 36px !important;
    }
}

@media (max-width: 479px) {
    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (hover: none) {
    .yon-shell.yon-shell--yon .ynm-panel--v4 .ynm-card:hover {
        transform: none !important;
    }
}
