/*
 * Site kabuğu: üst bant, başlık, mega menü, mobil menü, arama ve çekmeceler.
 * Digitalog'un modacho temasının main.css dosyasından seçiciye göre ayıklandı;
 * kurallar değiştirilmeden alındı. Renk ve yazı tipi temanın kendi değişkenlerinden gelir.
 */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.icon-btn {
    display: inline-grid; place-items: center; position: relative;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: none; color: inherit; text-decoration: none;
}
.icon-btn:hover { background: var(--stone); }
/* ----- Üst bant ----- */
.topbar { background: var(--ink); color: #e9e9e6; font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; min-height: 34px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar .icon { width: 15px; height: 15px; opacity: .85; }
.topbar__item--wide { display: none; }
@media (min-width: 800px) {
.topbar__inner { justify-content: space-between; }
.topbar__item--wide { display: inline-flex; }
}
/* ----- Üst kısım ----- */
.header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
.admin-bar .header { top: 0; }
}
.header__inner { display: flex; align-items: center; gap: 4px; min-height: var(--header-h); }
.header__menu-btn { margin-left: -10px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo__img { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 960px) {
.logo__img { height: 38px; max-width: 190px; }
}
.logo__text { font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: .06em; line-height: 1; }
.header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: -8px; }
.action {
    position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 44px; height: 48px; padding: 0 6px; border: 0; border-radius: var(--radius);
    background: none; color: inherit; text-decoration: none;
}
.action:hover { background: var(--stone); }
.action__label { display: none; font-size: 12px; font-weight: 600; line-height: 1; }
.action--account { display: inline-flex; }
.cart-btn__icon { position: relative; display: block; }
.cart-btn__count {
    position: absolute; top: -6px; right: -9px;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--tape); color: var(--ink);
    font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.search { position: relative; display: none; }
.search input[type="search"] {
    width: 100%; height: 44px; padding: 0 48px 0 16px;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--stone);
    font-size: 16px; -webkit-appearance: none; appearance: none;
}
.search input[type="search"]:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.search__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: var(--radius); background: none; }
.search__btn .icon { width: 20px; height: 20px; }
.search__icon { display: none; }
.search.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    padding: 10px var(--gutter) 14px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.search--inline { display: block; max-width: 520px; margin: 24px auto; }
.nav { display: none; border-top: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 8px; }
.nav__all {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    margin-right: 8px; padding: 12px 16px 12px 0;
    border-right: 1px solid var(--line);
    font-size: 14px; font-weight: 700; text-decoration: none;
}
.nav__all .icon { width: 18px; height: 18px; }
.nav__all:hover, .nav__all.is-current { text-decoration: underline; }
.nav .menu { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav .menu::-webkit-scrollbar { display: none; }
.nav .menu a {
    display: block; padding: 12px 10px; white-space: nowrap;
    font-size: 14px; font-weight: 500; text-decoration: none; color: #2b2b2b;
    border-bottom: 2px solid transparent;
}
.nav .menu a:hover, .nav .current-menu-item > a { border-bottom-color: var(--ink); color: var(--ink); }
@media (min-width: 960px) {
.header__menu-btn, .header__search-btn { display: none; }
.header__inner { gap: 32px; }
.logo__text { font-size: 24px; }
.search { display: block; flex: 1; max-width: 560px; margin: 0 auto; }
.header__actions { margin-left: 0; gap: 6px; }
.action { min-width: 64px; }
.action--account { display: inline-flex; }
.action__label { display: block; }
.nav { display: block; }
}
/* ----- Çekmeceler (menü, sepet) ----- */
.drawer {
    position: fixed; top: 0; bottom: 0; z-index: 60;
    display: flex; flex-direction: column;
    width: min(400px, 90vw); background: var(--paper);
    animation: drawer-in .26s var(--ease);
}
.drawer--left { left: 0; --from: -100%; }
.drawer--right { right: 0; --from: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-weight: 700; font-size: 17px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.drawer__all { margin-bottom: 24px; }
.drawer__label { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.drawer__body .chips { margin-bottom: 24px; }
.drawer .menu { margin-bottom: 20px; }
.drawer .menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; text-decoration: none; }
.drawer .sub-menu a { padding-left: 16px; font-size: 15px; }
.drawer__link { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 600; text-decoration: none; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .45); animation: fade-in .2s; }
body.has-drawer { overflow: hidden; }
/* Sepet çekmecesi */
.drawer-cart { display: flex; flex-direction: column; padding: 0; }
.drawer-cart__loading, .drawer-cart__empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.drawer-cart__empty .icon { width: 36px; height: 36px; margin: 0 auto 12px; }
.drawer-cart__items { flex: 1; padding: 4px 20px; }
.drawer-cart__item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 36px 14px 0; border-bottom: 1px solid var(--line); }
.drawer-cart__thumb img { width: 64px; height: 85px; object-fit: cover; background: var(--stone); }
.drawer-cart__name { font-weight: 600; font-size: 14px; line-height: 1.35; text-decoration: none; }
.drawer-cart__meta { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.drawer-cart__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.drawer-cart__price { font-weight: 700; font-size: 15px; }
.drawer-cart__remove { position: absolute; top: 8px; right: -8px; width: 36px; height: 36px; color: var(--muted); }
.drawer-cart__remove .icon { width: 18px; height: 18px; }
.drawer-cart__foot { position: sticky; bottom: 0; padding: 16px 20px 20px; background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-cart__total { display: flex; justify-content: space-between; font-size: 16px; }
.drawer-cart__hint { margin: 0; padding: 10px 12px; background: var(--stone); border-left: 3px solid var(--tape); font-size: 13px; }
.drawer-cart.is-busy { opacity: .6; pointer-events: none; }
.btn:active, .action:active, .chip:active, .swatch:active { transform: scale(.97); }
.action, .icon-btn, .chip, .sizes__item, .nav .menu a, .nav__all { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.cart-btn__count.is-bump { animation: bump .45s var(--ease); }
/* Çekmece kapanırken */
.drawer.is-closing { animation: drawer-out .22s ease forwards; }
.scrim.is-closing { animation: fade-out .22s ease forwards; }
/* ==========================================================================
   Üst kısım: açılır paneller (hesap, sepet özeti), menüler
   ========================================================================== */

.hdrop { position: relative; }
.hdrop__panel { display: none; }
@media (hover: hover) and (min-width: 960px) {
.hdrop__panel {
        display: block; position: absolute; right: -8px; top: calc(100% + 10px); z-index: 50;
        width: 280px; padding: 16px; background: var(--paper);
        border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity .2s ease, transform .2s var(--ease), visibility 0s linear .2s;
    }
.hdrop__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hdrop:hover .hdrop__panel, .hdrop:focus-within .hdrop__panel {
        opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
    }
.hdrop__panel--cart { width: 380px; padding: 0; overflow: hidden; }
.hdrop__panel--cart .drawer-cart__items { max-height: 340px; overflow-y: auto; }
.hdrop__panel--cart .drawer-cart__foot { position: static; }
}
.hdrop__hello { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.hdrop__hello strong { color: var(--ink); }
.hdrop__panel .btn { min-height: 44px; margin-bottom: 8px; }
.hdrop__list li + li { border-top: 1px solid var(--line); }
.hdrop__list a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: var(--radius); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s, padding-left .2s var(--ease); }
.hdrop__list a:hover { background: var(--stone); padding-left: 10px; }
.hdrop__list .icon { width: 18px; height: 18px; color: var(--muted); }
.hdrop__link { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
.hdrop__link .icon { width: 16px; height: 16px; }
@media (min-width: 960px) {
.nav .menu { overflow: visible; }
.nav .menu > li { position: relative; }
.nav .menu-item-has-children > a::after {
        content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 2px;
        border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
        transition: transform .2s ease;
    }
.nav .menu-item-has-children:hover > a::after { transform: rotate(-135deg) translate(-2px, -2px); }
.nav .sub-menu {
        position: absolute; left: 0; top: 100%; z-index: 45; min-width: 220px; padding: 8px;
        background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity .2s ease, transform .2s var(--ease), visibility 0s linear .2s;
    }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav .sub-menu a { padding: 9px 12px; border: 0; border-radius: var(--radius); font-size: 14px; }
.nav .sub-menu a:hover { background: var(--stone); }
.mega { position: static; }
.nav { position: relative; }
.nav__chev { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s ease; }
.mega:hover .nav__chev { transform: rotate(-90deg); }
.mega__panel {
        position: absolute; left: 0; right: 0; top: 100%; z-index: 45;
        background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .08);
        opacity: 0; visibility: hidden; transform: translateY(6px);
        transition: opacity .22s ease, transform .22s var(--ease), visibility 0s linear .22s;
    }
.mega:hover .mega__panel, .mega:focus-within .mega__panel { opacity: 1; visibility: visible; transform: none; transition-delay: .06s; }
.mega__inner { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 32px; align-content: start; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__col--wide { grid-column: span 2; }
.mega__list { display: grid; grid-template-columns: 1fr; gap: 2px; }
.mega__col--wide .mega__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.mega__head { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; text-decoration: none; }
.mega__link { padding: 5px 0; font-size: 14px; color: #3a3a38; text-decoration: none; transition: color .15s, transform .2s var(--ease); }
.mega__link:hover { color: var(--ink); transform: translateX(3px); }
.mega__all { margin-top: 6px; font-size: 13px; font-weight: 600; }
.mega__cta {
        display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px;
        background: var(--ink); color: var(--paper); border-radius: 12px; text-decoration: none;
        transition: transform .25s var(--ease);
    }
.mega__cta:hover { transform: translateY(-2px); }
.mega__cta > .icon { width: 28px; height: 28px; color: var(--tape); margin-bottom: 6px; }
.mega__cta strong { font-size: 17px; }
.mega__cta span { font-size: 13px; color: #c9c9c4; }
.mega__cta .mega__cta-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--tape); font-weight: 700; font-size: 14px; }
.mega__cta-btn .icon { width: 16px; height: 16px; }
}
@media (max-width: 959px) {
.mega__panel, .nav__chev { display: none; }
}
.drawer .sub-menu a { color: var(--muted); }
/* Hızlı ekle paneli (mobilde alttan açılır) */
.quick__head { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; margin-bottom: 20px; }
.quick__head img { width: 96px; height: 128px; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.quick__name { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; }
.quick__price { font-weight: 800; font-size: 17px; }
.quick__attr { margin-bottom: 18px; }
.quick__label { margin: 0 0 8px; font-weight: 700; font-size: 14px; }
.quick__current { font-weight: 500; color: var(--muted); }
.quick__add { margin-top: 4px; }
.quick__add[aria-disabled="true"] { background: #3a3a3a; border-color: #3a3a3a; }
.quick__more { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; }
.quick .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.quick .swatch {
    display: inline-grid; place-items: center; min-width: 52px; min-height: 44px; padding: 0 10px;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
    font-weight: 700; font-size: 14px; transition: border-color .15s, background-color .15s, color .15s;
}
.quick .swatch:hover { border-color: var(--ink); }
.quick .swatch[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.quick .swatch.is-disabled { color: #b3b2ad; background: linear-gradient(to top left, transparent calc(50% - .75px), var(--line) calc(50% - .75px), var(--line) calc(50% + .75px), transparent calc(50% + .75px)); }
.quick .swatches--color .swatch { min-width: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; border-color: transparent; background: none; }
.quick .swatches--color .swatch[aria-checked="true"] { border-color: var(--ink); background: none; }
.quick .swatches--color .swatch.is-disabled { opacity: .35; background: none; }
.quick .swatch__dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.quick__attr.is-missing .quick__label { color: var(--sale); }
.quick__attr.is-missing .swatches { animation: nudge .35s; }
.quick .form-error { margin: 0 0 12px; color: var(--sale); font-size: 13px; font-weight: 600; }
@media (max-width: 599px) {
.drawer--quick { top: auto; left: 0; right: 0; width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; --from: 0; animation: sheet-in .3s var(--ease); }
.drawer--quick.is-closing { animation: sheet-out .22s ease forwards; }
.drawer--quick .drawer__body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
.footer__logo .logo__img { height: 34px; width: auto; }
/* ----- Sabit WhatsApp düğmesi ----- */
.wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 34;
    display: inline-flex; align-items: center; gap: 8px;
    height: 54px; padding: 0 15px; border-radius: 27px;
    background: #0f8a44; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    transition: transform .25s var(--ease), box-shadow .25s ease;
    animation: wa-in .5s var(--ease) .8s both;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
@media (min-width: 960px) {
.wa-float { right: 24px; bottom: 24px; padding: 0 20px 0 16px; }
.wa-float__label { display: inline; }
}
.wa-float { height: 48px; padding: 0 12px; right: 12px; bottom: 14px; }
.wa-float .icon { width: 24px; height: 24px; }
body.has-buybar .wa-float { bottom: 80px; }
@media (min-width: 960px) {
.wa-float { height: 54px; }
body.has-buybar .wa-float { bottom: 24px; }
}
body.has-drawer .wa-float { opacity: 0; pointer-events: none; }
/* Mobil menüde alt kategoriler açılır-kapanır */
.drawer .menu-item-has-children { position: relative; }
.drawer .menu-item-has-children > a { padding-right: 48px; }
.drawer .sub-menu { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.drawer .menu-item-has-children.is-open > .sub-menu { max-height: 800px; }
.topbar, .header, .promise, .footer { flex: none; }
/* Canlı arama sonuçları */
.search { z-index: 46; }
.search__results {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60;
    max-height: min(70vh, 520px); overflow-y: auto; padding: 8px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    animation: drop-in .18s var(--ease);
}
.search.is-open .search__results { left: var(--gutter); right: var(--gutter); }
.search__msg { margin: 0; padding: 14px; font-size: 14px; color: var(--muted); }
.search__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 10px; border-bottom: 1px solid var(--line); }
.search__cats a { display: inline-flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--stone); font-size: 13px; font-weight: 600; text-decoration: none; }
.search__cats a span { color: var(--muted); font-weight: 400; }
.search__list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 6px; border-radius: var(--radius); text-decoration: none; }
.search__list a:hover { background: var(--stone); }
.search__list img { width: 44px; height: 58px; object-fit: cover; border-radius: 4px; background: var(--stone); }
.search__name { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search__price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.search__price del { display: none; }
.search__all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); text-align: center; font-weight: 700; font-size: 14px; }
/* Mobil menü */
.drawer__head .logo__img { height: 28px; }
.mnav { display: flex; flex-direction: column; padding-top: 16px; }
.mnav__search { position: relative; margin-bottom: 18px; }
.mnav__search > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.mnav__search input[type="search"] { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--stone); -webkit-appearance: none; }
.mnav__search input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.mnav__search .search__results { top: calc(100% + 6px); }
.mnav__label { margin: 20px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.mnav__row { display: flex; align-items: center; gap: 12px; min-height: 50px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; text-decoration: none; }
.mnav__row > .icon { width: 20px; height: 20px; color: var(--muted); }
.mnav__row--strong { font-weight: 700; border-top: 1px solid var(--line); }
.mnav__row--strong > .icon:first-child { color: var(--ink); }
.mnav__chev { margin-left: auto; width: 18px; height: 18px; }
.mnav__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--tape); font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.drawer .mnav__menu { margin: 0; border-top: 1px solid var(--line); }
.drawer .mnav__menu a { padding: 14px 0; font-size: 16px; }
.drawer .mnav__menu .sub-menu a { padding: 11px 0 11px 16px; font-size: 15px; border-bottom: 0; }
.drawer .mnav__menu .sub-menu { border-left: 2px solid var(--line); margin-left: 4px; }
.mnav__wa { margin-top: 24px; }
@media (max-width: 959px) {
.header__actions { gap: 0; }
.action { min-width: 40px; padding: 0 4px; }
}
/* Yan paneller: başlık, sayaç */
.drawer__title { display: inline-flex; align-items: center; gap: 10px; }
.drawer__title > .icon { width: 20px; height: 20px; }
.drawer__count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--tape); font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.drawer { box-shadow: 0 0 60px rgba(0, 0, 0, .18); }
.drawer--right { border-radius: 16px 0 0 16px; }
.drawer--left { border-radius: 0 16px 16px 0; }
@media (max-width: 599px) {
.drawer--right, .drawer--left { width: min(420px, 92vw); }
}
/* Sepet paneli */
.drawer-cart__item { grid-template-columns: 72px 1fr; }
.drawer-cart__thumb img { width: 72px; height: 96px; border-radius: 8px; }
.drawer-cart__name { font-size: 14px; }
.drawer-cart__price { font-size: 15px; }
.drawer-cart__foot { gap: 10px; box-shadow: 0 -10px 24px rgba(0, 0, 0, .05); }
.drawer-cart__total strong { font-size: 18px; }
.drawer-cart__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.drawer-cart__empty .btn { margin-top: 10px; }
/* Hesap paneli */
.dacc { display: flex; flex-direction: column; }
.dacc__hello { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px; border-radius: 12px; background: var(--stone); }
.dacc__avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 18px; }
.dacc__hello strong { display: block; font-size: 16px; }
.dacc__hello div span { display: block; font-size: 13px; color: var(--muted); word-break: break-all; }
.dacc__nav { border-top: 1px solid var(--line); }
.dacc__logout, .dacc__logout > .icon { color: var(--sale) !important; }
.dacc__intro { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.dacc .btn { margin-bottom: 10px; }
.dacc__perks { margin: 12px 0 18px; padding: 14px; border-radius: 12px; background: var(--stone); }
.dacc__perks p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; font-size: 14px; }
.dacc__perks .icon { width: 18px; height: 18px; }
/* ==========================================================================
   Sürüm 0.7
   ========================================================================== */

/* Yana kaydırmalı alanlar dikeyde oynamasın (mobilde sayfa kaydırılırken). */
.cats, .sizes, .perks__inner, .slider__track, .nav .menu, .size-filter__list, .tabs__nav,
.woocommerce-MyAccount-navigation ul, .gallery__track, .lightbox__track, .tape__sizes {
    overflow-y: hidden; overscroll-behavior-x: contain;
}
/* Arama: masaüstünde alan içinde düğme, mobilde tam ekran panel */
.search__field { position: relative; flex: 1; min-width: 0; }
.search__close { display: none; }
@media (max-width: 959px) {
body.search-open { overflow: hidden; }
.search.is-open {
        position: fixed; inset: 0; z-index: 80; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px;
        padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper);
        border: 0; animation: fade-in .15s ease;
    }
.search.is-open .search__field input[type="search"] { height: 48px; }
.search.is-open .search__close {
        display: inline-flex; align-items: center; gap: 6px; flex: none; height: 48px; padding: 0 12px;
        border: 0; border-radius: var(--radius); background: var(--stone); font-weight: 700; font-size: 14px; cursor: pointer;
    }
.search__close .icon { width: 18px; height: 18px; }
.search.is-open .search__results {
        position: static; flex: 1 1 100%; max-height: none; height: calc(100dvh - 90px); margin: 0; padding: 4px 0;
        border: 0; box-shadow: none; border-radius: 0; overflow-y: auto; animation: none;
    }
}
.mnav__search .search__results { position: static; margin-top: 8px; max-height: none; box-shadow: none; animation: none; }
@media (max-width: 599px) {
.drawer.drawer--quick { left: 0; right: 0; width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; }
}
@media (min-width: 960px) {
.nav .menu { overflow: visible !important; flex-wrap: wrap; }
.nav .menu > li > .sub-menu { margin: 0; list-style: none; }
.nav .menu > li > .sub-menu li { list-style: none; }
/* Fare menüden alt kutuya geçerken arada boşluk kapanmasın */
    .nav .menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}

/* ==========================================================================
   Kabuk düzeltmeleri
   Taşınan başlık/çekmece/menü kodu, modacho'daki genel sıfırlamalara dayanıyordu.
   Bu temada o sıfırlamalar yok; burada yalnız kabuk kapsayıcılarına uygulanıyor
   (sayfa içeriğindeki listeler etkilenmesin diye genel bir kural yazılmadı).
   ========================================================================== */
.topbar ul, .header ul, .drawer ul, .hdrop ul, .mega ul, .drawer-cart ul,
.mnav ul, .dacc ul, .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.topbar li, .header li, .drawer li, .hdrop li, .mega li, .drawer-cart li,
.mnav li, .dacc li, .woocommerce-MyAccount-navigation li { list-style: none; }

/* Satır içi SVG'ler taban çizgisinde boşluk bırakıp ikonları kaydırıyordu. */
.topbar svg, .header svg, .drawer svg, .hdrop svg, .drawer-cart svg, .wa-float svg { display: block; }

/* Yapışkan başlık, bağlantıyla gelinen bölümün üstünü örtmesin. */
html { scroll-padding-top: calc(var(--header-h) + 24px); }

/* Sepet çekmecesi: adet düğmeleri ve gövde (modacho main.css'ten; ayıklamada atlanmıştı) */
.drawer-cart__body { display: block; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); }
.qty__btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; color: inherit; cursor: pointer; }
.qty__btn:hover { background: var(--stone); }
.qty__btn:disabled { color: #bbb; cursor: default; background: none; }
.qty__btn .icon { width: 16px; height: 16px; }
.qty__val { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }

/* Menüde "Yeni" etiketi (eski başlıkta vardı, yeni yapıya taşındı) */
.nav .menu-highlight > a::after,
.mnav .menu-highlight > a::after {
    content: "Yeni";
    margin-left: 6px;
    padding: 2px 5px;
    border-radius: 3px;
    background: var(--saffron);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ==========================================================================
   Kabuk düzeltmeleri — 2. tur
   ========================================================================== */

/* Animasyonlar. Seçiciye göre ayıklama @ ile başlayan blokları almadığı için
   @keyframes tanımları gelmemişti; çekmece ve açılır menüler animasyonsuz açılıyordu. */
@keyframes drawer-in { from { transform: translateX(var(--from)); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(var(--from)); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes sheet-up { from { transform: translateY(100%); } }

/* Mega menü paneli: .wrap kuralı (main.css, sonra yüklenir) padding kısayolunu
   kullandığı için üst/alt iç boşluğu siliniyordu. Özgüllük artırılarak geri veriliyor,
   ayrıca panel ekrana sığmazsa kendi içinde kaydırılır. */
.mega .mega__inner.wrap {
    padding-top: 32px;
    padding-bottom: 36px;
    max-height: calc(100vh - var(--header-h) - 60px);
    overflow-y: auto;
}

/* Sepet özeti açılır paneli yana kayıyordu. */
.hdrop__panel--cart { overflow-x: hidden; }
.hdrop__panel--cart .drawer-cart__items { overflow-x: hidden; }
.drawer-cart__items { overflow-x: hidden; }
.drawer-cart__item { min-width: 0; }
.drawer-cart__item * { min-width: 0; overflow-wrap: anywhere; }
