/* Digitalog teması — (c) 2026 Digitalog.com.tr. Yalnızca moddacho.com için lisanslıdır. İzinsiz kullanım yasaktır; kullanmak için Digitalog.com.tr ile iletişime geçin. */
/* ==========================================================================
   Modacho — ana stiller
   Siyah, beyaz, taş grisi; tek vurgu: mezura sarısı (sayaç, seçili filtre, bilgi kutuları).
   Yazı: Archivo. Logo geniş kesim, diğer her şey normal genişlik.
   ========================================================================== */

:root {
    --ink: #000;
    --paper: #fff;
    --stone: #f2f2ef;
    --line: #e1e0db;
    --muted: #63625e;
    --tape: #f5c400;
    --sale: #c8161d;
    --ok: #157347;
    --wa: #25d366;

    --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1280px;
    --gutter: clamp(16px, 3.5vw, 32px);
    --radius: 6px;
    --header-h: 60px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --fs-sm: 13px;
    --fs-base: 15px;
    --fs-h3: 17px;
    --fs-h2: clamp(20px, 2.2vw, 24px);
    --fs-h1: clamp(24px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
@media (min-width: 960px) { body { font-size: 16px; } :root { --fs-base: 16px; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.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 { width: 22px; height: 22px; flex: none; }

/* ----- Düğmeler ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border: 1.5px solid var(--ink); border-radius: var(--radius);
    background: var(--paper); color: var(--ink);
    font-weight: 700; font-size: 15px; line-height: 1;
    text-decoration: none; white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn--ghost:hover { background: var(--stone); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--tape); border-color: var(--tape); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: var(--paper); }
.btn--outline-light:hover { border-color: var(--paper); }
.btn--whatsapp { background: #0f8a44; border-color: #0f8a44; color: #fff; }
.btn--whatsapp:hover { background: #0c7439; border-color: #0c7439; }
.btn--block { width: 100%; }

.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); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; }
.chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 52px; min-height: 40px; padding: 0 12px;
    border: 1.5px solid var(--line); border-radius: var(--radius);
    font-weight: 700; font-size: 14px; text-decoration: none; background: var(--paper);
    transition: border-color .15s, background-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--clear { font-weight: 500; color: var(--muted); }

.badge {
    display: inline-block; padding: 3px 7px; border-radius: 3px;
    background: var(--ink); color: var(--paper);
    font-size: 12px; font-weight: 700; line-height: 1.3;
}
.badge--sale { background: var(--sale); }
.badge--muted { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }

/* ----- Ü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; }
a.topbar__item:hover { color: var(--paper); text-decoration: underline; }
@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) {
    :root { --header-h: 72px; }
    .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%; }
@keyframes drawer-in { from { transform: translateX(var(--from)); } to { transform: none; } }
.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; }
@keyframes fade-in { from { opacity: 0; } }
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; }

.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; }
.qty__btn .icon { width: 16px; height: 16px; }
.qty__val { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }

/* ----- Ana sayfa: karşılama ----- */
.hero { background: var(--ink); color: var(--paper); }
.hero__inner { display: grid; gap: 28px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__title { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; max-width: 18ch; }
.hero__text { max-width: 46ch; margin: 0; color: #cfcfca; font-size: 15px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__points { display: grid; gap: 0; border: 1px solid #2e2e2e; border-radius: var(--radius); align-self: center; }
.hero__points li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; font-size: 14px; color: #bdbdb8; }
.hero__points li + li { border-top: 1px solid #2e2e2e; }
.hero__points .icon { color: var(--tape); margin-top: 1px; }
.hero__points strong { display: block; color: var(--paper); font-size: 15px; }
.hero__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: #1a1a1a; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) {
    .hero__cta .btn { flex: 1 1 0; padding: 0 12px; }
    .hero__points { display: none; }
}
@media (min-width: 960px) {
    .hero__inner { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }
    .hero--image .hero__inner { grid-template-columns: 1fr 1fr; }
}

/* ----- Bölümler ----- */
.section { padding: clamp(36px, 5vw, 64px) 0; }
.section--tight { padding-bottom: 0; }
.section--stone { background: var(--stone); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 20px; }
.section__title { margin: 0; font-size: var(--fs-h2); font-weight: 800; }
.section__sub { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 14px; order: 3; }
.section__link { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* Beden kutuları */
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 600px) { .sizes { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; } }
.sizes__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 76px; padding: 10px 6px;
    border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.sizes__name { font-weight: 800; font-size: 20px; line-height: 1.1; }
.sizes__count { font-size: 12px; color: var(--muted); }
.sizes__item:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sizes__item:hover .sizes__count { color: #cfcfca; }

/* Kategoriler */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.cats::-webkit-scrollbar { display: none; }
.cats__item { scroll-snap-align: start; }
.cats__item a { display: block; text-decoration: none; }
.cats__media { display: block; aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; border-radius: var(--radius); }
.cats__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cats__item a:hover img { transform: scale(1.03); }
.cats__name { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }
@media (min-width: 600px) { .cats { grid-auto-columns: 24%; } }
@media (min-width: 960px) {
    .cats { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); overflow: visible; margin-right: 0; padding-right: 0; gap: 14px; }
}

/* ----- Ürün ızgarası ve kartlar ----- */
ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; margin: 0; padding: 0; }
@media (min-width: 600px) { ul.products { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; } }
@media (min-width: 1024px) { ul.products { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; } }
ul.products::before, ul.products::after { display: none; }

.card { position: relative; min-width: 0; }
.card__link, .card__img-link { display: block; text-decoration: none; height: 100%; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card { position: relative; }
.card__media { position: relative; aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; border-radius: var(--radius); }
.card__img { transition: transform .7s var(--ease), opacity .35s ease; }
@media (hover: hover) { .card:hover .card__img { transform: scale(1.035); } }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__img--alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .card:hover .card__img--alt { opacity: 1; } }
.card__badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.card__body { padding-top: 10px; }
.card__title {
    margin: 0 0 4px; font-size: 14px; font-weight: 500; line-height: 1.4; color: #1f1f1f;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card__title a { text-decoration: underline; }
.card .price { display: block; font-weight: 700; font-size: 15px; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; }
.card__sizes span {
    padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px;
    font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--muted);
}

.price del { color: var(--muted); font-weight: 400; margin-right: 6px; font-size: .9em; }
.price ins { text-decoration: none; color: var(--sale); }

/* ----- Mağaza / kategori sayfası ----- */
.shop { padding-top: 16px; padding-bottom: 64px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.shop .woocommerce-products-header { margin-bottom: 16px; }
.shop .page-title { margin: 0; font-size: var(--fs-h1); font-weight: 800; }
.term-description { max-width: 70ch; margin-top: 8px; color: var(--muted); font-size: 14px; }
.term-description p:last-child { margin-bottom: 0; }

.shop-toolbar { display: grid; gap: 12px; margin-bottom: 24px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop-toolbar__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce-result-count { margin: 0; font-size: 13px; color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
    height: 40px; padding: 0 34px 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none; appearance: none; font-size: 14px; font-weight: 600;
}
.size-filter { display: flex; align-items: center; gap: 12px; min-width: 0; }
.size-filter__label { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: 14px; }
.size-filter__label .icon { width: 18px; height: 18px; }
.size-filter__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.size-filter__list::-webkit-scrollbar { display: none; }
.size-filter .chip { flex: none; min-width: 48px; min-height: 36px; font-size: 13px; }
@media (min-width: 960px) { .shop-toolbar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* Sayfa numaraları: WooCommerce hem <ul> hem bağlantılara "page-numbers" sınıfı verir. */
.woocommerce-pagination { margin-top: 48px; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination ul.page-numbers li { display: block; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination li .page-numbers {
    display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
    border: 1.5px solid var(--line); border-radius: var(--radius);
    font-weight: 700; font-size: 14px; text-decoration: none;
}
.woocommerce-pagination li .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.woocommerce-pagination li a.page-numbers:hover { border-color: var(--ink); }
.woocommerce-pagination li .page-numbers.dots { border-color: transparent; }

/* ----- Bildirimler ----- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    margin: 0 0 20px; padding: 13px 16px; list-style: none;
    border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius);
    background: var(--paper); font-size: 14px;
}
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-error { border-left-color: var(--sale); }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 12px; font-weight: 700; }

/* ----- Sayfa ve metin ----- */
.site-page { padding-top: 28px; padding-bottom: 64px; }
.page__head { margin-bottom: 20px; }
.page__title { font-size: var(--fs-h1); font-weight: 800; }
.page--404 { text-align: center; max-width: 720px; }
.prose { max-width: 75ch; }
.prose img { height: auto; margin: 16px 0; }
.prose h2 { font-size: var(--fs-h2); margin-top: 1.4em; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.2em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.post-card { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* ----- Güvence bandı ----- */
.promise { border-top: 1px solid var(--line); background: var(--paper); }
.promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 28px; padding-bottom: 28px; }
.promise__item { display: flex; align-items: flex-start; gap: 12px; }
.promise__item .icon { width: 26px; height: 26px; }
.promise__item strong { display: block; font-size: 14px; line-height: 1.3; }
.promise__item > div > span { display: block; font-size: 13px; color: var(--muted); }
@media (min-width: 960px) { .promise__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* ----- Alt kısım ----- */
.footer { background: var(--ink); color: #bdbdb8; font-size: 14px; }
.footer a { text-decoration: none; color: #e4e4e0; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 48px; padding-bottom: 40px; }
.footer__brand { grid-column: 1 / -1; }
.footer__logo { display: inline-block; margin-bottom: 12px; font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: .06em; color: var(--paper) !important; text-decoration: none !important; }
.footer__brand p { max-width: 40ch; margin: 0; line-height: 1.6; }
.footer__title { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--paper); }
.footer__title--spaced { margin-top: 24px; }
.footer__list li { padding: 5px 0; }
.footer__list a { display: inline-flex; align-items: center; gap: 8px; }
.footer__list .icon { width: 16px; height: 16px; }
.footer__pay { margin: 0; }
.footer__bottom { border-top: 1px solid #262626; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 20px; font-size: 12.5px; color: #8c8c87; }
@media (min-width: 900px) {
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
    .footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Etkileşim ve hareket
   ========================================================================== */

a, button { -webkit-tap-highlight-color: transparent; }
.btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease; }
.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; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.card__quick.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
    border: 2px solid currentColor; border-color: #fff #fff transparent transparent; border-radius: 50%;
    animation: spin .7s linear infinite;
}
.btn--ghost.is-loading::after { border-color: #000 #000 transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.cart-btn__count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Çekmece kapanırken */
.drawer.is-closing { animation: drawer-out .22s ease forwards; }
@keyframes drawer-out { to { transform: translateX(var(--from)); } }
.scrim.is-closing { animation: fade-out .22s ease forwards; }
@keyframes fade-out { to { opacity: 0; } }

/* WordPress yönetim çubuğu yokken üstte boşluk kalmasın */
html:not(:has(body.admin-bar)) { margin-top: 0 !important; }

/* ==========================================================================
   Ü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; }
    a.mega__head:hover { text-decoration: underline; }
    .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); }

/* ==========================================================================
   Ana sayfa slider ve avantaj bandı
   ========================================================================== */

.slider { position: relative; background: var(--stone); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider__slide a, .slider__slide picture { display: block; }
.slider__slide img { display: block; width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover; }
@media (max-width: 599px) { .slider__slide img { height: auto; max-height: 62vh; } }
.slider__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    display: none; place-items: center; width: 46px; height: 46px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    opacity: 0; transition: opacity .25s ease, background-color .2s ease;
}
.slider__arrow:hover { background: var(--paper); }
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
@media (hover: hover) and (min-width: 960px) { .slider__arrow { display: grid; } }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: width .3s var(--ease), background-color .3s; }
.slider__dots button.is-active { width: 26px; background: var(--paper); }

.perks { border-bottom: 1px solid var(--line); background: var(--paper); }
.perks__inner { display: flex; gap: 12px 28px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 14px; }
.perks__inner::-webkit-scrollbar { display: none; }
.perks__item { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 13px; color: var(--muted); text-decoration: none; }
.perks__item strong { color: var(--ink); font-weight: 700; }
.perks__item .icon { width: 20px; height: 20px; color: var(--ink); }
@media (min-width: 960px) { .perks__inner { justify-content: space-between; font-size: 14px; } }

/* ==========================================================================
   Ürün kartı: hızlı ekle
   ========================================================================== */

.card__quick {
    position: absolute; right: 8px; bottom: 8px; z-index: 3;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
    background: var(--paper); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
    font-weight: 700; font-size: 14px;
    transition: background-color .2s ease, color .2s ease, transform .25s var(--ease), opacity .25s ease;
}
.card__quick .icon { width: 20px; height: 20px; }
.card__quick span { display: none; }
.card__quick:hover { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (min-width: 1024px) {
    .card__quick { left: 10px; right: 10px; bottom: 10px; width: auto; height: 44px; border-radius: var(--radius); opacity: 0; transform: translateY(10px); }
    .card__quick span { display: inline; }
    .card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
}

/* 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; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.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; }
    @keyframes sheet-in { from { transform: translateY(100%); } }
    @keyframes sheet-out { to { transform: translateY(100%); } }
    .drawer--quick .drawer__body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* Bildirim */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 70;
    display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px);
    padding: 14px 18px; background: var(--ink); color: var(--paper); border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: 14px;
    opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s ease, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--tape); font-weight: 700; white-space: nowrap; }
.toast__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); font-weight: 800; line-height: 1; }
.single-product .toast { bottom: 90px; }
@media (min-width: 960px) { .toast { left: auto; right: 24px; transform: translate(0, 16px); } .toast.is-visible { transform: none; } .single-product .toast { bottom: 24px; } }

/* ----- Alt kısım ek düzen ----- */
.footer__brand .footer__title { margin-top: 4px; }
.footer__list--plain li { display: flex; align-items: flex-start; gap: 8px; color: #d5d5d1; }
.footer__list--plain li > .icon { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.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); }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@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; }
.toast { z-index: 71; }
@media (min-width: 960px) { .toast { bottom: 96px; } .single-product .toast { bottom: 96px; } }

/* 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; }
.submenu-toggle { position: absolute; right: 0; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.submenu-toggle .icon { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.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; }


/* ==========================================================================
   Sürüm 0.5 eklemeleri
   ========================================================================== */

/* Kısa sayfalarda alt kısım ekranın en altına otursun (altta boşluk kalmasın). */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }
.topbar, .header, .promise, .footer { flex: none; }

/* iOS'ta alana dokununca yakınlaşmasın */
input, select, textarea { font-size: 16px; }
@media (min-width: 960px) { input, select, textarea { font-size: inherit; } }

/* 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);
}
@keyframes drop-in { from { opacity: 0; transform: translateY(6px); } }
.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; }

/* Ana sayfa: beden kutuları tek satır, sade */
.sizes { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sizes::-webkit-scrollbar { display: none; }
.sizes > li { flex: 1 0 auto; }
.sizes__item { min-height: 58px; min-width: 76px; padding: 8px 14px; border-radius: 10px; }
.sizes__name { font-size: 17px; }
.sizes__count { font-size: 11px; }

/* Kategori sayfası: başlık, filtre ve sıralama */
.shop .woocommerce-products-header { margin-bottom: 20px; }
.term-description { margin-top: 6px; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 14px 0; }
.shop-toolbar__actions { display: flex; align-items: center; gap: 8px; }
.woocommerce-ordering select { height: 42px; border-radius: 999px; padding-left: 16px; }
.filter { position: relative; }
.filter__btn {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
    border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
    font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; user-select: none;
    transition: border-color .15s;
}
.filter__btn::-webkit-details-marker { display: none; }
.filter__btn:hover, .filter[open] .filter__btn { border-color: var(--ink); }
.filter__btn .icon { width: 18px; height: 18px; }
.filter__chev { width: 14px !important; height: 14px !important; transform: rotate(90deg); transition: transform .2s; }
.filter[open] .filter__chev { transform: rotate(-90deg); }
.filter__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 20px; text-align: center; }
.filter__panel {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(320px, calc(100vw - 32px));
    padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    animation: drop-in .18s var(--ease);
}
@media (max-width: 599px) { .filter__panel { right: auto; left: 0; } }
.filter__title { margin: 0 0 12px; font-weight: 700; font-size: 14px; }
.filter__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.filter__opt { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.filter__opt:hover { border-color: var(--ink); }
.filter__box { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid #b9b8b3; border-radius: 4px; }
.filter__box .icon { width: 12px; height: 12px; opacity: 0; }
.filter__opt.is-on { border-color: var(--ink); background: var(--stone); }
.filter__opt.is-on .filter__box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter__opt.is-on .filter__box .icon { opacity: 1; }
.filter__clear { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 20px; font-size: 13px; color: var(--muted); }
.active-filters__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.active-filters__chip .icon { width: 14px; height: 14px; }
.active-filters__clear { color: var(--muted); }

/* Adet düğmeleri (ürün ve sepet sayfası) */
.quantity.has-steps { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.quantity.has-steps .qty { width: 44px; height: 44px; padding: 0; border: 0 !important; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.quantity.has-steps .qty::-webkit-outer-spin-button, .quantity.has-steps .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity.has-steps .qty:focus { outline: none; }
.qty-step { display: grid; place-items: center; width: 38px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color .15s; }
.qty-step:hover { background: var(--stone); }
.qty-step:disabled { color: #bbb; cursor: default; background: none; }
.qty-step svg { width: 16px; height: 16px; }

/* Alt kısım: yasal bağlantılar */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { color: #b5b5b0 !important; }
.footer__list--plain li { padding: 4px 0; }


/* ==========================================================================
   Sürüm 0.6
   ========================================================================== */

/* Mobil üst kısım: arama, hesap, sepet */
@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; }

/* Kategori sayfası üst alanı */
.shop .woocommerce-products-header { margin-bottom: 8px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shop-toolbar__count { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.shop-toolbar__count strong { color: var(--ink); }
.shop-toolbar__actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.woocommerce-ordering { min-width: 0; }
.woocommerce-ordering select { max-width: 230px; }
@media (max-width: 599px) {
    .shop-toolbar { flex-wrap: wrap; }
    .shop-toolbar__count { flex-basis: 100%; }
    .shop-toolbar__actions { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .filter__btn { width: 100%; justify-content: center; }
    .woocommerce-ordering select { width: 100%; max-width: none; }
    .filter__panel {
        position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: 70;
        max-height: 80vh; overflow-y: auto; padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0; animation: sheet-up .28s var(--ease);
    }
    .filter[open]::before { content: ""; position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, .4); }
    .filter__grid { grid-template-columns: repeat(4, 1fr); }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
.filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter__head .filter__title { margin: 0; }
.filter__close { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--stone); cursor: pointer; }
.filter__close .icon { width: 16px; height: 16px; }
.filter__opt { justify-content: flex-start; }

/* Kategori açıklaması: ürünlerin altında, kısaltılmış */
.archive-about { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.archive-about__title { margin: 0 0 12px; font-size: var(--fs-h3); font-weight: 800; }
.archive-about__text { max-height: 7.5em; overflow: hidden; position: relative; color: var(--muted); font-size: 14px; line-height: 1.65; transition: max-height .4s var(--ease); }
.archive-about__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(transparent, var(--paper)); }
.archive-about__text.is-open { max-height: 4000px; }
.archive-about__text.is-open::after { display: none; }
.archive-about__text h2, .archive-about__text h3 { font-size: 15px; color: var(--ink); }
.archive-about__more { margin-top: 10px; padding: 0; border: 0; background: none; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Tasarım imzası */
.footer__credit { color: #8c8c87 !important; }
.footer__credit:hover { color: var(--paper) !important; }


/* ==========================================================================
   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;
}
.cats { scroll-snap-type: x proximity; }

/* Hızlı ekle: beklerken görselin üzerinde gösterge */
.card__media.is-busy::after {
    content: "Hazırlanıyor…"; position: absolute; inset: 0; z-index: 4;
    display: grid; place-items: center; padding-top: 44px;
    background: rgba(255, 255, 255, .72); backdrop-filter: blur(2px);
    font-size: 13px; font-weight: 700; color: var(--ink);
    animation: fade-in .2s ease;
}
.card__media.is-busy::before {
    content: ""; position: absolute; left: 50%; top: 50%; z-index: 5; width: 26px; height: 26px; margin: -24px 0 0 -13px;
    border: 2.5px solid var(--ink); border-right-color: transparent; border-radius: 50%;
    animation: spin .7s linear infinite;
}
.card__media.is-busy .card__quick { opacity: 0 !important; }

/* 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; }

/* WooCommerce "Yakında" modu bandı ve eklentilerin üst kısma bastığı boş alanlar (mağaza sayfalarında üstte beyaz boşluk yapıyordu) */
.woocommerce-coming-soon-banner-container, .woocommerce-coming-soon-banner, .wc-block-coming-soon-banner { display: none !important; }


/* ==========================================================================
   Sürüm 0.8.1
   ========================================================================== */

/* Mobil hızlı ekle: tam genişlik alt panel (sağdaki boşluk düzeltmesi) */
@media (max-width: 599px) {
    .drawer.drawer--quick { left: 0; right: 0; width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; }
}
html, body { overflow-x: clip; }

/* Alt güvence şeridi: bağlantı olan öğe */
a.promise__item { color: inherit; text-decoration: none; }
a.promise__item:hover strong { text-decoration: underline; }

/* Kategori filtresi */
.filter__btn-text { max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.catf { margin: 0; padding: 0; list-style: none; max-height: min(60vh, 420px); overflow-y: auto; overscroll-behavior: contain; }
.catf li { list-style: none; }
.catf__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: background-color .15s; }
.catf__link:hover { background: var(--stone); }
.catf__link.is-on { background: var(--ink); color: var(--paper); }
.catf__link.is-on .catf__count { color: inherit; opacity: .75; }
.catf__link--all { margin-bottom: 4px; border: 1px solid var(--line); }
.catf__count { flex: none; font-size: 12px; font-weight: 500; color: var(--muted); }
.catf__sub { margin: 0 0 6px 12px; padding: 0 0 0 8px; border-left: 2px solid var(--line); }
.catf__sub .catf__link { font-weight: 500; padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 600px) { .filter--cat .filter__panel { right: auto; left: 0; } }
@media (max-width: 599px) {
    .shop-toolbar__actions { grid-template-columns: 1fr 1fr; }
    .shop-toolbar__actions .woocommerce-ordering { grid-column: 1 / -1; }
    .filter__btn-text { max-width: 100px; }
    .catf { max-height: 62vh; }
}

/* Güvence şeridi: 3 madde */
.promise__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 960px) { .promise__grid { grid-template-columns: repeat(3, 1fr); } .promise__grid > :last-child:nth-child(odd) { grid-column: auto; } }

/* Masaüstü açılır menü: alt kategoriler kesilmesin (0.7'deki overflow-y kuralını masaüstünde geri al) */
@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; }
}
