﻿/* ==========================================================================
   Lilyana menü — masaüstü mega menü + mobil kategori ekranı
   Markup: view/Kategori.ascx (veri), Tema.master (iskelet), js/lilyana-menu.js
   ========================================================================== */
:root {
    --lm-navy: #26375c;
    --lm-navy-ink: #1b2847;
    --lm-pink: #f5507b;
    --lm-ink: #1f2a44;
    --lm-muted: #6b7489;
    --lm-line: #e8ebf1;
    --lm-soft: #f5f6fa;
    --lm-ease: cubic-bezier(.32, .72, 0, 1);
}

.lm-nav,
.lm-drawer {
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}
.lm-nav *,
.lm-drawer * {
    box-sizing: border-box;
}
.lm-nav ul,
.lm-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lm-nav a,
.lm-drawer a {
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Masaüstü menü çubuğu
   -------------------------------------------------------------------------- */
.lm-nav {
    position: relative;
    /* .header-area (z-index 1000) içinde; Segmentify arama karartması (10), sepet (9) ve
       üyelik (20) açılır menüleri bunun üstünde kalmalı. Mega panel yine sayfanın üstünde açılır. */
    z-index: 5;
    background: #fff;
    border-top: 1px solid var(--lm-line);
    box-shadow: 0 1px 0 var(--lm-line);
}
.lm-nav__inner {
    position: relative;
}
.lm-bar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(28px, 5vw, 72px);
}
/* Başlık sayısı çoksa (panelden gelen menü) aralıklar daralır, çubuk taşmaz */
.lm-bar:has(> .lm-item:nth-child(8)) {
    justify-content: space-between;
    gap: 8px;
}
.lm-item {
    position: static;
}
.lm-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 4px;
    color: var(--lm-ink);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: .1px;
    white-space: nowrap;
    transition: color .15s ease;
}
.lm-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--lm-navy);
    transform: scaleX(0);
    transition: transform .22s var(--lm-ease);
}
.lm-link:hover,
.lm-link:focus-visible,
.lm-item.is-open > .lm-link {
    color: var(--lm-navy);
}
.lm-link:hover::after,
.lm-item.is-open > .lm-link::after {
    transform: scaleX(1);
}
.lm-link:focus-visible {
    outline: 2px solid var(--lm-navy);
    outline-offset: -2px;
    border-radius: 6px;
}
/* Bir panel açıkken diğer başlıklar geri plana çekilir. */
.lm-bar.has-open > .lm-item:not(.is-open) > .lm-link {
    color: #9aa1b2;
}
/* Mega panel */
.lm-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    z-index: 2;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 340px;
    margin-top: 1px;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 28px 56px -20px rgba(20, 33, 61, .35), 0 2px 6px rgba(20, 33, 61, .06);
    overflow: hidden;
}
.lm-item.is-open > .lm-panel {
    display: grid;
    animation: lm-panel-in .2s var(--lm-ease);
}
.lm-list {
    padding: 26px 28px 28px;
}
.lm-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px 10px;
    color: var(--lm-navy);
    font-size: 15px;
    font-weight: 700;
}
.lm-all::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s var(--lm-ease);
}
.lm-all:hover {
    color: var(--lm-navy-ink);
}
.lm-all:hover::after {
    transform: translateX(3px) rotate(45deg);
}
.lm-sub {
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 250px);
    gap: 2px 18px;
    align-content: start;
}
.lm-sub > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 6px 10px;
    border-radius: 12px;
    color: var(--lm-ink);
    font-size: 14px;
    line-height: 1.3;
    transition: background-color .15s ease, color .15s ease;
}
.lm-sub > li > a img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--lm-soft);
    box-shadow: 0 0 0 1px var(--lm-line);
    transition: transform .25s var(--lm-ease);
}
.lm-sub > li > a:hover,
.lm-sub > li > a:focus-visible {
    background: var(--lm-soft);
    color: var(--lm-navy);
    outline: none;
}
.lm-sub > li > a:hover img {
    transform: scale(1.08);
}
.lm-sub > li > a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--lm-navy);
}
/* 3. kademe: üst kategorinin altında küçük etiketler */
.lm-sub3 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: -4px 0 8px 62px;
}
.lm-sub3 a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: var(--lm-soft);
    color: var(--lm-muted);
    font-size: 13px;
    line-height: 1.2;
    transition: background-color .15s ease, color .15s ease;
}
.lm-sub3 a img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
.lm-sub3 a:hover,
.lm-sub3 a:focus-visible {
    background: #e8ecf6;
    color: var(--lm-navy);
    outline: none;
}
.lm-sub3 a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--lm-navy);
}

/* 3 kademeli panel (tazecicek düzeni): sol sütun 2. kademe, orta sütun 3. kademe */
.lm-panel--tiered {
    grid-template-columns: 270px minmax(0, 1fr) auto;
}
.lm-panel--tiered .lm-list {
    padding: 0;
    background: var(--lm-soft);
    border-right: 1px solid var(--lm-line);
}
.lm-panel--tiered .lm-all {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 14px 22px;
    border-bottom: 1px solid var(--lm-line);
    font-size: 15px;
    font-weight: 600;
}
.lm-panel--tiered .lm-all:hover {
    background: #fff;
}
.lm-panel--tiered .lm-sub {
    display: block;
}
.lm-panel--tiered .lm-sub3 {
    display: none;
}
.lm-panel--tiered .lm-sub > li > a {
    justify-content: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 8px 22px 8px 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--lm-line);
    font-size: 15px;
}
/* 2. kademe: Menü Ürünü görseli (yuvarlak) + ad + ok */
.lm-panel--tiered .lm-sub > li > a img,
.lm-panel--tiered .lm-sub > li > a .lm-ph {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}
.lm-panel--tiered .lm-sub > li > a > span:not(.lm-ph) {
    flex: 1 1 auto;
    min-width: 0;
}
.lm-panel--tiered .lm-sub > li.lm-has-sub > a::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.lm-panel--tiered .lm-sub > li > a:hover,
.lm-panel--tiered .lm-sub > li.is-active > a {
    background: #fff;
    color: var(--lm-navy);
}
.lm-panel--tiered .lm-sub > li.is-active > a {
    font-weight: 600;
}
.lm-panel--tiered .lm-sub > li > a:focus-visible {
    box-shadow: inset 3px 0 0 var(--lm-navy);
}
.lm-tier {
    display: grid;
    align-content: start;
    padding: 14px 28px 24px;
}
/* Tüm grupların içeriği aynı hücrede üst üste durur; sütun yüksekliği en kalabalık gruba göre sabitlenir. */
.lm-tier__pane {
    grid-area: 1 / 1;
    min-width: 0;
    visibility: hidden;
}
.lm-tier__pane.is-active {
    visibility: visible;
    animation: lm-panel-in .15s ease-out;
}
.lm-tier__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 12px;
    color: var(--lm-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}
.lm-tier__all::after {
    content: "→";
    font-size: 16px;
    transition: transform .2s var(--lm-ease);
}
.lm-tier__all:hover::after {
    transform: translateX(3px);
}
/* 3. kademe: görselli kutucuklar (masaüstü panel + mobil ekran ortak) */
.lm-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 16px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lm-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--lm-ink);
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.lm-tile__img {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(20, 33, 61, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lm-tile__img img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    transition: transform .35s var(--lm-ease);
}
.lm-tile__img .lm-ph {
    width: 46%;
    height: 46%;
}
.lm-tile__label {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13.5px;
    line-height: 1.3;
}
.lm-tile:hover .lm-tile__img,
.lm-tile:focus-visible .lm-tile__img {
    border-color: #d9dfec;
    box-shadow: 0 8px 18px -10px rgba(20, 33, 61, .35);
}
.lm-tile:hover .lm-tile__img img {
    transform: scale(1.06);
}
.lm-tile:hover .lm-tile__label,
.lm-tile:focus-visible .lm-tile__label {
    color: var(--lm-navy);
}
.lm-tile:focus-visible {
    outline: none;
}
.lm-tile:focus-visible .lm-tile__img {
    box-shadow: 0 0 0 2px var(--lm-navy);
}
/* Kutucuklara yer açmak için 3 kademeli panelde tek kart gösterilir. */
.lm-panel--tiered .lm-promo + .lm-promo {
    display: none;
}
.lm-panel--tiered .lm-promos {
    grid-template-columns: 220px;
}

/* Görselli kartlar */
.lm-promos {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 16px;
    padding: 20px;
    background: var(--lm-soft);
}
.lm-promo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-height: 300px;
    padding: 16px;
    border-radius: 14px;
    overflow: hidden;
    background: #e3e7ef;
    isolation: isolate;
}
.lm-promo img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--lm-ease);
}
.lm-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 22, 40, 0) 45%, rgba(15, 22, 40, .72) 100%);
}
.lm-promo:hover img {
    transform: scale(1.05);
}
.lm-promo-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.lm-promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: var(--lm-navy);
    font-size: 14px;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease;
}
.lm-promo:hover .lm-promo-btn {
    background: var(--lm-navy);
    color: #fff;
}
.lm-promo:focus-visible {
    outline: 3px solid var(--lm-navy);
    outline-offset: 2px;
}

/* Sayfayı karartan perde (yalnızca menü çubuğunun altını kaplar) */
.lm-scrim {
    position: fixed;
    top: var(--lm-scrim-top, 0);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(17, 24, 42, .38);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s linear .2s;
}
.lm-nav.is-open .lm-scrim {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .lm-link {
        font-size: 13.5px;
    }
    .lm-list {
        padding: 22px 18px;
    }
    .lm-sub {
        grid-auto-columns: minmax(170px, 210px);
        gap: 2px 8px;
    }
    .lm-promos {
        grid-template-columns: repeat(2, 180px);
        gap: 12px;
        padding: 16px;
    }
    .lm-promo {
        min-height: 270px;
    }
    /* Dar ekranda 3 kademeli panelde orta sütuna yer açmak için tek kart */
    .lm-panel--tiered .lm-promos {
        grid-template-columns: 180px;
    }
    .lm-panel--tiered {
        grid-template-columns: 230px minmax(0, 1fr) auto;
    }
    .lm-tier {
        padding: 12px 20px 20px;
    }
    .lm-tier .lm-tiles {
        grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
        gap: 14px 10px;
    }
}
@media (max-width: 991px) {
    .lm-nav {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Mobil: hamburger düğmesi
   -------------------------------------------------------------------------- */
.lm-burger {
    display: none;
}
@media screen and (max-width: 991px), screen and (orientation: portrait) and (max-width: 1024px) {
    .lm-burger {
        position: absolute;
        top: 10px;
        left: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--lm-navy);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .lm-burger:active {
        background: var(--lm-soft);
    }
    .lm-burger:focus-visible {
        outline: 2px solid var(--lm-navy);
    }
    .lm-burger svg {
        width: 26px;
        height: 26px;
    }
}

/* --------------------------------------------------------------------------
   Mobil kategori ekranı (drawer)
   -------------------------------------------------------------------------- */
.lm-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: var(--lm-drawer-bottom, 0px);
    z-index: 10001;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .32s;
}
.lm-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.lm-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(15, 22, 40, .45);
    opacity: 0;
    transition: opacity .3s ease;
}
.lm-drawer.is-open .lm-drawer__scrim {
    opacity: 1;
}
.lm-drawer__sheet {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(100%, 440px);
    background: #fff;
    box-shadow: 8px 0 32px rgba(15, 22, 40, .18);
    transform: translateX(-100%);
    transition: transform .32s var(--lm-ease);
    padding-top: env(safe-area-inset-top, 0px);
}
.lm-drawer.is-open .lm-drawer__sheet {
    transform: none;
}
.lm-drawer__head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    flex: 0 0 auto;
    min-height: 60px;
    padding: 4px 6px;
    border-bottom: 1px solid var(--lm-line);
    background: #fff;
}
.lm-drawer__heading {
    min-width: 0;
    text-align: center;
    line-height: 1.2;
}
.lm-drawer__heading strong {
    display: block;
    overflow: hidden;
    color: var(--lm-ink);
    font-size: 17px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lm-drawer__crumb {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--lm-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lm-drawer__crumb:empty {
    display: none;
}
.lm-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--lm-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s ease;
}
.lm-icon-btn:active,
.lm-icon-btn:hover {
    background: var(--lm-soft);
}
.lm-icon-btn:focus-visible {
    outline: 2px solid var(--lm-navy);
}
.lm-icon-btn svg {
    width: 24px;
    height: 24px;
}
.lm-icon-btn.is-hidden {
    visibility: hidden;
    display: flex;
}

.lm-levels {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
}
.lm-level {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    transition: transform .32s var(--lm-ease), opacity .32s ease;
    padding-bottom: 24px;
}
/* Alt seviyeler sağdan gelir; arkada kalan seviye hafifçe sola kayıp söner. */
.lm-level:not(.lm-level--1) {
    transform: translateX(100%);
}
.lm-level.is-current {
    transform: none;
}
.lm-level.is-behind {
    transform: translateX(-28%);
    opacity: 0;
    visibility: hidden;
    transition: transform .32s var(--lm-ease), opacity .32s ease, visibility 0s linear .32s;
}

/* Satırlar */
.lm-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid var(--lm-line);
    background: #fff;
    color: var(--lm-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .12s ease;
}
.lm-row:active,
.lm-row:hover {
    background: var(--lm-soft);
    color: var(--lm-ink);
}
.lm-row:focus-visible {
    outline: 2px solid var(--lm-navy);
    outline-offset: -2px;
}
.lm-row__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--lm-soft);
    box-shadow: 0 0 0 1px var(--lm-line);
}
.lm-row__label {
    flex: 1 1 auto;
    min-width: 0;
}
.lm-row__chev {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #a3a9b8;
}
.lm-row--all {
    min-height: 56px;
    color: var(--lm-navy);
    font-weight: 700;
}
.lm-row--all .lm-row__chev {
    color: var(--lm-navy);
}
.lm-row--sub {
    min-height: 60px;
    font-size: 15px;
    font-weight: 400;
}
.lm-row--sub .lm-row__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
}
.lm-row--plain {
    min-height: 54px;
}

/* Görseli henüz olmayan kategoriler için yer tutucu çiçek ikonu */
.lm-ph {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fdeef3 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23f5507b%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M12%207c0-2.5%201-4%202.5-4S16%205%2014%207M14%209c2.5-.5%204%20.5%204%202s-2%202-4%200M13%2011c1%202%20.5%204-1%204s-2-2-1-4M10%209c-2.5-.5-4%20.5-4%202s2%202%204%200M10%207C8%205%208.5%203%2010%203s2%201.5%202%204M12%2015v6M12%2019c-1.5-1.5-3.5-1.5-4.5-1M12%2018c1.5-1.5%203.5-1.5%204.5-1%22%2F%3E%3C%2Fsvg%3E") center / 22px no-repeat;
    box-shadow: 0 0 0 1px var(--lm-line);
}

/* Alt seviye: öne çıkan kartlar */
.lm-feature {
    padding: 20px 16px 4px;
}
/* Mobil 3. kademe: 3 sütun görselli kutucuk */
.lm-drawer .lm-tiles--drawer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 18px 16px 8px;
}
.lm-tiles--drawer .lm-tile__img {
    border-radius: 18px;
}
.lm-tiles--drawer .lm-tile__label {
    font-size: 13px;
}
.lm-tiles--drawer .lm-tile:active .lm-tile__img {
    transform: scale(.97);
}
@media (min-width: 480px) {
    .lm-drawer .lm-tiles--drawer {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.lm-feature__title,
.lm-quick__title {
    margin: 0 0 12px;
    color: var(--lm-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
}
.lm-feature__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.lm-feature .lm-promo {
    min-height: 0;
    aspect-ratio: 4 / 5;
    padding: 12px;
    gap: 8px;
}
.lm-feature .lm-promo-title {
    font-size: 14px;
}
.lm-feature .lm-promo-btn {
    height: 34px;
    font-size: 13px;
}

/* Hızlı erişim */
.lm-quick {
    margin-top: 8px;
    padding: 20px 16px 0;
    border-top: 8px solid var(--lm-soft);
}
.lm-qrow {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 6px 4px;
    color: var(--lm-ink);
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
}
.lm-qrow:hover,
.lm-qrow:active {
    color: var(--lm-navy);
}
.lm-qrow:focus-visible {
    outline: 2px solid var(--lm-navy);
    border-radius: 8px;
}
.lm-qrow svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--lm-navy);
}
.lm-qrow span {
    flex: 1 1 auto;
}
.lm-qrow small {
    color: var(--lm-muted);
    font-size: 13px;
}
.lm-qrow--accent,
.lm-qrow--accent svg {
    color: var(--lm-pink);
    font-weight: 600;
}
.lm-badge {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(245, 80, 123, .12);
    color: var(--lm-pink);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

/* Açıkken sayfa kaymasın; alt sekme çubuğu ekranın üstünde kalsın */
html.lm-lock,
html.lm-lock body {
    overflow: hidden;
}
html.lm-lock .sticky-footer {
    z-index: 10002 !important;
}
html.lm-lock #chatbot-icon,
html.lm-lock #chatbot-widget {
    visibility: hidden !important;
}

@keyframes lm-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lm-nav *,
    .lm-drawer *,
    .lm-drawer {
        animation: none !important;
        transition-duration: 0s !important;
    }
}

/* ==========================================================================
   Başlık eylemleri: Sipariş Takibi · Üyelik/Profilim · Sepetim (Tema.master .lh-actions)
   Eski tema kuralları !important kullandığı için seçiciler bilinçli olarak güçlü tutuldu.
   ========================================================================== */
.header-button-list.lh-actions {
    display: flex !important; /* eski .sepetim-div { display:inline-block !important } kuralını ezer */
    position: relative;
    z-index: 6; /* Üyelik/sepet menüsü alttaki kategori çubuğunun (.lm-nav, 5) üstünde açılsın, Segmentify arama karartmasının (10) altında kalsın */
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}
.lh-actions .lh-item {
    position: relative;
    float: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.lh-actions .lh-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 6px 12px 6px 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--lm-ink) !important;
    font: inherit;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.lh-actions .lh-action:hover,
.lh-actions .lh-action[aria-expanded="true"] {
    background: var(--lm-soft);
    color: var(--lm-navy) !important;
}
.lh-actions .lh-action:focus-visible {
    outline: 2px solid var(--lm-navy);
    outline-offset: 2px;
}
.lh-actions .lh-ico {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef1f7;
    color: var(--lm-navy);
    transition: background-color .18s ease, color .18s ease, transform .18s var(--lm-ease);
}
.lh-actions svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lh-actions .lh-ico svg {
    width: 20px;
    height: 20px;
}
.lh-actions .lh-action:hover .lh-ico,
.lh-actions .lh-action[aria-expanded="true"] .lh-ico {
    background: var(--lm-navy);
    color: #fff;
}
.lh-actions .lh-caret {
    width: 14px;
    height: 14px;
    margin-left: -2px;
    color: var(--lm-muted);
    transition: transform .2s var(--lm-ease);
}
.lh-actions .lh-action[aria-expanded="true"] .lh-caret {
    transform: rotate(180deg);
}

/* Sepet: yalnızca ikon, eskisi gibi yeşil yuvarlak içinde alışveriş arabası + adet rozeti */
.lh-actions .lh-cart .lh-action {
    padding: 0;
    justify-content: center;
    width: 44px;
    min-width: 44px;
}
.lh-actions .lh-cart .lh-action:hover {
    background: transparent;
}
.lh-actions .lh-cart .lh-ico {
    width: 40px;
    height: 40px;
    background: #51b549;
    color: #fff;
}
.lh-actions .lh-cart .lh-ico svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.9;
}
.lh-actions .lh-cart .lh-action:hover .lh-ico {
    background: #43a03c;
    transform: translateY(-1px);
}
.lh-actions .lh-cart .cart-counter {
    position: absolute;
    top: -4px;
    right: -6px;
    display: grid;
    place-items: center;
    width: auto;
    min-width: 19px;
    height: 19px;
    margin: 0;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--lm-navy);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transform: none;
}

/* Üyelik açılır menüsü */
.lh-actions .header-top-single-dropdown {
    position: relative;
    margin: 0;
}
.lh-actions .header-top-single-dropdown .lh-menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 20;
    min-width: 200px;
    padding: 6px;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px -16px rgba(20, 33, 61, .35);
}
.lh-actions .header-top-single-dropdown .lh-menu.active-dropdown-menu {
    animation: lm-panel-in .16s var(--lm-ease);
}
.lh-actions .header-top-single-dropdown .lh-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.header-button-list.lh-actions .headertop-dropdown-container .header-top-single-dropdown .lh-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--lm-ink) !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    text-align: left;
}
.header-button-list.lh-actions .headertop-dropdown-container .header-top-single-dropdown .lh-menu ul li a:hover,
.header-button-list.lh-actions .headertop-dropdown-container .header-top-single-dropdown .lh-menu ul li a:focus-visible {
    background: var(--lm-soft);
    color: var(--lm-navy) !important;
    outline: none;
}
.lh-actions .lh-menu svg {
    width: 20px;
    height: 20px;
    color: var(--lm-navy);
}

@media (min-width: 992px) and (max-width: 1199px) {
    .lh-actions .lh-action {
        gap: 6px;
        padding: 6px 8px 6px 6px;
        font-size: 13px !important;
    }
}

/* Mobil başlık: Sipariş Takibi, Üyelik ve Sepet alttaki sabit çubukta ve kategori menüsünde zaten var;
   logonun yanında tekrar gösterilmez. */
@media screen and (max-width: 991px), screen and (orientation: portrait) and (max-width: 1024px) {
    .header-button-list.lh-actions {
        display: none !important;
    }
    /* Logo tam ortada: soldaki menü düğmesi kadar (44px) sağda da boşluk bırakılır. */
    .mobile-header-layout > div:first-child {
        grid-column: 1 / -1;
        padding-left: 44px;
        padding-right: 44px;
    }
}
/* Yatay tablette logo | arama yan yana dizilir; orada ortalama yapılmaz. */
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
    .mobile-header-layout > div:first-child {
        grid-column: 1;
        padding-left: 0;
        padding-right: 0;
    }
}


/* --------------------------------------------------------------------------
   Özel gün kategorileri (eski menüdeki ogretmenler-gunu / yilbasi / sevgililer /
   kadinlar / anneler-gunu renklendirmesi). Sınıfı App_Code/LilyanaMenu.cs kategori
   adresine göre ekler: <li class="lm-item lm-item--ozel lm-tema-ADRES">.
   Yeni bir özel gün için LilyanaMenu.Tema() ve aşağıya bir --lm-ozel-bg satırı yeterli.
   -------------------------------------------------------------------------- */
.lm-tema-ogretmenler-gunu { --lm-ozel-bg: #167e76; --lm-ozel-hover: #0a5751; --lm-ozel-ink: #fff; }
.lm-tema-yilbasi          { --lm-ozel-bg: #173f2c url(/img/icons/yilbasi.jpeg) center / cover; --lm-ozel-ink: #fff; }
.lm-tema-sevgililer       { --lm-ozel-bg: #d8174a url(/img/icons/sevgililer.png) center / cover; --lm-ozel-ink: #fff; }
.lm-tema-kadinlar         { --lm-ozel-bg: #df1f62 url(/img/icons/kadinlar.png) left center / cover; --lm-ozel-ink: #fff; --lm-ozel-pad: 0 12px 0 44px; }
.lm-tema-anneler-gunu     { --lm-ozel-bg: #fde3e6 url(/img/icons/annelergunu-bg.png) center / cover; --lm-ozel-ink: #f72525; }

/* Masaüstü: renkli sekme */
.lm-item--ozel > .lm-link,
.lm-item--ozel > .lm-link:hover,
.lm-item--ozel > .lm-link:focus-visible,
.lm-item--ozel.is-open > .lm-link {
    justify-content: center;
    padding: var(--lm-ozel-pad, 0 12px);
    border-radius: 6px 6px 0 0;
    background: var(--lm-ozel-bg);
    color: var(--lm-ozel-ink);
    font-weight: 600;
}
.lm-item--ozel > .lm-link::after {
    display: none;
}
.lm-item--ozel > .lm-link:hover,
.lm-item--ozel.is-open > .lm-link {
    background: var(--lm-ozel-hover, var(--lm-ozel-bg));
    filter: brightness(.92);
}
.lm-tema-ogretmenler-gunu > .lm-link:hover,
.lm-tema-ogretmenler-gunu.is-open > .lm-link {
    filter: none;
}
/* Başka bir panel açıkken renk korunur, yalnızca soluklaşır */
.lm-bar.has-open > .lm-item--ozel:not(.is-open) > .lm-link {
    color: var(--lm-ozel-ink);
    opacity: .6;
}

/* Mobil kategori ekranı: etiket aynı renkte bir rozet olarak görünür */
.lm-row--ozel .lm-row__label {
    flex: 0 1 auto;
    margin-right: auto;
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--lm-ozel-bg);
    color: var(--lm-ozel-ink);
    font-weight: 600;
}
.lm-row--ozel.lm-tema-kadinlar .lm-row__label {
    padding-left: 40px;
}
