/* Hifa Tesettür Giyim - tema */
:root {
  --text: #2f2b2b;
  --dark: #1d1d1b;
  --muted: #8a8a8a;
  --line: #eaeaea;
  --soft: #f5f5f5;
  --campaign: #e46767;
  --ribbon: #535353;
  --footer: #ededed;
  --green: #00aa5b;
  --content: 1300px;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* Sayfa hiçbir zaman yana kaymaz; yana kaydırma sadece vitrin (carousel) içinde olur */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { font-family: "Poppins", "Product Sans", Arial, sans-serif; font-size: 14px; color: var(--text); background: #fff; line-height: 1.45; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
svg { width: 1em; height: 1em; flex: none; }
.container { max-width: var(--content); margin: 0 auto; padding: 0 0; }

/* ---------- Header ---------- */
.header-discount { background: var(--campaign); color: #fff; text-align: center; font-size: 27px; line-height: 36px; padding: 0 10px; }
.main-header { background: #fff; }
/* Masaüstü üst kısım: logo ortada; sağda kompakt arama + kullanıcı ikonları */
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 100px; padding: 0 20px; gap: 24px; }
.header-logo { grid-column: 2; display: flex; justify-content: center; }
.header-right { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-width: 0; }
.header-right .header-search { flex: 0 1 250px; min-width: 150px; transition: flex-basis .25s ease; }
.header-right .header-search:focus-within { flex-basis: 330px; }
.mobile-menu-btn { display: none; font-size: 24px; }
.header-search { position: relative; width: 100%; }
.header-search input { width: 100%; height: 42px; border: 1px solid #d9d4cf; border-radius: 22px; padding: 0 48px 0 18px; font-size: 14px; outline: none; background: #faf8f6; transition: border-color .2s, background .2s, box-shadow .2s; }
.header-search input:focus { border-color: #b07a5c; background: #fff; box-shadow: 0 0 0 3px rgba(176,122,92,.12); }
.header-search button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #18375f; color: #fff; font-size: 16px; display: grid; place-items: center; }
.header-search button:hover { background: #0e2340; }

/* Logo: amblem + görsel yazı (HİFA / TESETTÜR GİYİM); oranlar logo görselindeki gibi */
.logo { display: inline-flex; align-items: center; gap: 16px; line-height: 1; text-decoration: none; }
.logo-mark { height: 84px; width: auto; flex: none; }
.logo-word { height: 66px; width: auto; flex: none; }
.user-block { display: flex; justify-content: flex-end; gap: 26px; font-size: 14px; }
.ub-item { display: inline-flex; align-items: center; gap: 6px; position: relative; color: var(--text); white-space: nowrap; }
.ub-item svg { font-size: 20px; }
.ub-item:hover { color: #000; }
.ub-item i { font-style: normal; }
.badge { position: absolute; top: -8px; left: 8px; background: var(--campaign); color: #fff; border-radius: 10px; font-size: 9px; min-width: 15px; height: 15px; display: grid; place-items: center; padding: 0 3px; }
/* Masaüstü: "Giriş Yap" üzerine gelince açılan Giriş Yap / Üye Ol menüsü */
.ub-account { position: relative; display: inline-flex; }
.ub-dropdown { display: none; position: absolute; top: 100%; right: -20px; padding-top: 12px; z-index: 60; }
.ub-account:hover .ub-dropdown, .ub-account:focus-within .ub-dropdown { display: block; }
.ub-dropdown-inner { position: relative; display: flex; flex-direction: column; gap: 8px; width: 200px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.ub-dropdown-inner::before { content: ""; position: absolute; top: -7px; right: 42px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.ub-dropdown .btn { height: 42px; font-size: 14px; width: 100%; }
.ub-dropdown .btn-light:hover { background: var(--soft); }

.nav-top-menu { background: #fff; border-top: 1px solid var(--line); position: relative; z-index: 50; }
.nav-mobile-head { display: none; }
.navbar { display: flex; justify-content: center; flex-wrap: wrap; }
.navbar > li > a { display: flex; align-items: center; gap: 5px; height: 37px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--text); }
.navbar > li > a svg { font-size: 13px; }
.navbar > li > a:hover, .navbar > li:hover > a { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.mega { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: var(--content); max-width: 100vw; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 10px 10px 10px 8px; gap: 16px; }
.has-mega:hover .mega { display: flex; }
.mega-landing { display: flex; flex-direction: column; gap: 14px; width: 190px; }
.mega-landing a { border: 1px solid #333; font-size: 14px; text-align: center; padding: 5px 6px; }
.mega-landing a:hover { background: #333; color: #fff; }
.mega-cols { flex: 1; display: flex; gap: 20px; flex-wrap: wrap; align-content: flex-start; padding-left: 20px; }
.mega-cols ul { min-width: 190px; display: flex; flex-direction: column; gap: 14px; }
.mega-cols a { font-size: 14px; color: #555; }
.mega-cols a:hover { color: #000; }
.mega-img { width: 300px; position: relative; display: block; overflow: hidden; border-radius: 4px; }
.mega-img img { width: 100%; height: 300px; object-fit: cover; }
.mega-img span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; text-align: center; padding: 6px; }

.marquee { background: #000; color: #fff; overflow: hidden; padding: 5px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee-track span { font-size: 13px; line-height: 22px; font-weight: 700; letter-spacing: 1px; padding: 0 60px; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 1000; }
.cart-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Ana içerik ---------- */
main { padding: 10px 12px 0; }
.box { max-width: var(--content); margin: 0 auto 19px; }
.page-heading { text-align: center; font-size: 22px; font-weight: 700; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.page-heading svg { font-size: 18px; }
.home-tab { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 8px rgba(0,0,0,.08); padding: 14px 15px 12px; }
.home-tab .page-heading { border-bottom: 1px solid var(--line); margin: 0 10px 22px; box-shadow: 0 8px 8px -8px rgba(0,0,0,.15); }

.carousel { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .product-item { flex: 0 0 25%; scroll-snap-align: start; }
.carousel .prev, .carousel .next { position: absolute; top: 38%; font-size: 30px; color: #333; z-index: 2; display: flex; }
.carousel .prev { left: -14px; } .carousel .next { right: -14px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 4px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: #ccc; }
.carousel-dots button.on { background: #333; }

/* Ürün kartı */
.product-item { padding: 0 10px 20px; min-width: 0; }
.product-container { position: relative; }
.left-block { position: relative; overflow: hidden; border-radius: 10px; background: var(--soft); }
.left-block .img-link img { width: 100%; aspect-ratio: 2/3; object-fit: cover; transition: transform .5s; }
.product-container:hover .img-link img { transform: scale(1.04); }
.ribbon-free { position: absolute; top: 10px; left: 15px; z-index: 2; background: var(--ribbon); color: #fff; font-size: 9px; font-weight: 700; line-height: 1.15; padding: 1px 4px; width: 55px; height: 24px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 3px; }
.buttons { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: .25s; }
.product-container:hover .buttons { opacity: 1; transform: none; }
.buttons > * { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.buttons > *:hover { background: #000; color: #fff; }
.addtowishlist.active { color: var(--campaign); opacity: 1; }
.right-block { padding: 2px 0 0; }
.product-name { font-size: 14px; font-weight: 400; text-transform: uppercase; line-height: 20px; height: 20px; }
.product-name a { color: #555; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-name a:hover { color: #000; }
.content-price { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.discount-badge { background: var(--dark); color: #fff; border-radius: 3px; height: 30px; width: 45px; display: flex; align-items: center; justify-content: center; font-size: 16px; padding: 0 4px; }
.discount-badge small { font-size: 11px; margin-right: 1px; }
.prices { display: flex; flex-direction: column; line-height: 1; }
.old-price { color: #999; text-decoration: line-through; font-size: 13px; line-height: 15px; }
.product-price { font-size: 19px; line-height: 19px; font-weight: 600; color: var(--dark); letter-spacing: -1px; }

/* Bannerlar */
.banner-wide { display: block; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 1300/709; background: radial-gradient(ellipse at 65% 40%, #fbf3e3 0%, #e9dcc5 55%, #cdb998 100%); }
/* Fotoğraflar afişin sol yarısında kalır, yazı sağ tarafta */
.banner-wide .bw-figs { position: absolute; left: 4%; width: 44%; top: 9%; bottom: 9%; display: flex; align-items: flex-start; gap: 16px; }
.banner-wide .bw-figs img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; object-position: center 15%; border-radius: 10px; box-shadow: 0 10px 24px rgba(60,40,20,.22); }
.banner-wide .bw-figs img:nth-child(2) { margin-top: 5%; height: 95%; }
.banner-wide .bw-text { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); text-align: center; width: 44%; display: flex; flex-direction: column; align-items: center; }
.bw-ribbon { display: inline-block; background: linear-gradient(#f2d27c, #c9932b); color: #1c1c1c; font-weight: 700; font-size: clamp(11px, 1.6vw, 22px); letter-spacing: 4px; padding: 6px 22px; border-radius: 4px; }
.bw-big { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(28px, 6.2vw, 88px); line-height: 1.05; color: #3a2a20; margin: 18px 0 12px; text-wrap: balance; }
.bw-sub { font-size: clamp(11px, 1.5vw, 20px); color: #5c4a3d; margin-bottom: 26px; text-wrap: balance; }
.bw-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: #fff; border-radius: 50px; padding: 15px 34px; font-weight: 600; letter-spacing: 1px; font-size: clamp(10px, 1.3vw, 17px); transition: background .2s; }
.banner-wide:hover .bw-btn { background: #000; }
/* Panelde tasarlanan afişler (js/afis.js): öğeler yüzdeyle konumlanır, yazı boyutu afiş genişliğine göre (cqw) */
.afis-ozel { aspect-ratio: auto !important; background: none !important; isolation: isolate; }
.afis-ozel::after { display: none !important; }
.afis-ozel .afis-t { display: none; }
@media (max-width: 767px) { .afis-ozel:has(.afis-t) .afis-m { display: none; } .afis-ozel .afis-t { display: block; } }
.afis-tasarim { position: relative; container-type: inline-size; overflow: hidden; width: 100%; }
.ao { position: absolute; box-sizing: border-box; }
.ao-yazi { line-height: 1.15; overflow-wrap: anywhere; white-space: normal; }
.ao-gorsel img, .afis-ozel .ao-gorsel img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: inherit; transform: none !important; }
.banner-sq:not(:has(img)) { background: linear-gradient(135deg, #cdb998, #6b4a35); }

/* Kare kategori afişleri: fotoğrafın altında koyu geçiş, üstünde beyaz yazı */
.banner-squares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.banner-sq { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; display: block; isolation: isolate; }
.banner-sq img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .5s; }
.banner-sq:hover img { transform: scale(1.05); }
.banner-sq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.68) 100%); pointer-events: none; }
.banner-sq .sq-text { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.sq-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; opacity: .9; }
.sq-title { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; text-wrap: balance; }
.sq-meta { font-size: 13px; opacity: .85; }
.sq-btn { margin-top: 8px; background: #fff; color: var(--dark); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 20px; text-shadow: none; transition: background .2s, color .2s; }
.banner-sq:hover .sq-btn { background: var(--dark); color: #fff; }

/* Grid ürün listesi */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Güven ikonları, Instagram */
.features { max-width: var(--content); margin: 20px auto 0; background: var(--soft); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 77px; padding: 0 20px; }
.features .item { display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 14px; }
.features .item svg { font-size: 30px; }
.insta-block { text-align: center; padding: 50px 12px 40px; }
.insta-block h3 { font-size: 28px; font-weight: 400; display: flex; align-items: center; justify-content: center; gap: 6px; }
.insta-block a { display: inline-block; margin-top: 18px; background: #222; color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); padding: 60px 12px 42px; }
.footer-inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 214px) 1fr; gap: 15px; padding: 0 15px; }
.f-title { font-size: 21px; font-weight: 500; margin-bottom: 20px; line-height: 30px; }
.f-col ul li { margin-bottom: 8px; }
.f-col ul a { font-size: 15px; color: #555; line-height: 21px; }
.f-col ul a:hover { color: #000; text-decoration: underline; }
.newsletter { display: flex; margin-bottom: 24px; max-width: 360px; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid #ccc; border-right: 0; height: 38px; font-size: 14px; padding: 0 12px; background: #fff; outline: none; }
.newsletter button { background: #222; color: #fff; font-size: 14px; font-weight: 700; padding: 0 16px; }
.social { display: flex; gap: 6px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; }
.social .fb { background: #3b5998; } .social .ig { background: #c13584; } .social .tw { background: #1da1f2; } .social .yt { background: #e62117; }
.footer-bottom { background: #fff; padding: 20px 12px 22px; }
.payments { max-width: var(--content); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; padding: 0 15px; }
.pay-method { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 20px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: #444; }
.pay-method svg { font-size: 18px; color: #18375f; }
.pay { font-weight: 800; font-size: 20px; }
.pay.bonus { color: #3fae3a; } .pay.world { color: #6c2a85; font-style: italic; } .pay.cf { color: #1b4f9c; font-size: 17px; }
.pay.axess { color: #1d2b58; } .pay.maximum { color: #c3157c; font-style: italic; } .pay.paraf { color: #44a7c4; font-family: "Great Vibes", cursive; font-weight: 400; font-size: 26px; }
.pay.visa { color: #1a1f71; font-style: italic; font-size: 23px; } .pay.troy { color: #c3263c; border: 2px solid #c3263c; border-radius: 5px; padding: 0 6px; font-size: 16px; }
.pay.mc { display: inline-flex; } .pay.mc i { width: 24px; height: 24px; border-radius: 50%; background: #eb001b; } .pay.mc i + i { background: #f79e1b; margin-left: -10px; opacity: .9; }
.copyright { text-align: center; font-size: 13px; color: #888; margin-top: 16px; }

.whatsapp-btn { position: fixed; left: 15px; bottom: 30px; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 80; }
.whatsapp-btn:hover { transform: scale(1.08); }

/* ---------- Sepet çekmecesi ---------- */
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; background: #fff; z-index: 1001; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; display: flex; flex-direction: column; }
.cart-drawer.open { transform: none; visibility: visible; }
.cd-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 18px; }
.cd-head button { font-size: 24px; display: flex; }
.cd-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cd-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cd-line img { width: 70px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.cd-info { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cd-info a { font-weight: 500; }
.cd-info small { color: var(--muted); font-size: 13px; }
.cd-qty { display: inline-flex; align-items: center; border: 1px solid #ddd; width: max-content; border-radius: 4px; margin-top: 4px; }
.cd-qty button { width: 30px; height: 30px; font-size: 16px; }
.cd-qty span { min-width: 26px; text-align: center; font-size: 14px; }
.cd-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 15px; }
.cd-price button { color: #999; font-size: 18px; display: flex; }
.cd-empty { text-align: center; color: var(--muted); padding: 50px 0; font-size: 15px; }
.cd-empty svg { font-size: 50px; margin-bottom: 10px; }
.cd-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; }
.cd-total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 4px; font-weight: 600; font-size: 15px; text-align: center; transition: .2s; }
.btn svg { font-size: 18px; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; border: 1px solid var(--dark); }
.btn-light:hover { background: var(--soft); }
.btn-green { background: #25d366; color: #fff; }
.btn-green:hover { background: #1ebe5a; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: #222; color: #fff; padding: 12px 22px; border-radius: 6px; font-size: 15px; opacity: 0; visibility: hidden; transition: .3s; z-index: 1100; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Kategori sayfası ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a:hover { color: #000; }
.cat-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.cat-head h1 { font-size: 26px; font-weight: 600; }
.cat-head h1 small { font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.cat-tools { display: flex; gap: 8px; }
.cat-tools select { border: 1px solid #ddd; height: 42px; border-radius: 4px; padding: 0 12px; font-size: 15px; background: #fff; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.subcats a { border: 1px solid #ddd; border-radius: 20px; padding: 7px 18px; font-size: 14px; }
.subcats a:hover, .subcats a.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); font-size: 16px; }
.empty .btn { margin-top: 16px; }

/* Filtreler: masaüstünde sol sütun, mobilde sağdan kayan panel */
.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: start; }
.cat-results { min-width: 0; }
.cat-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subcats { display: none; } /* masaüstünde kategoriler sol sütunda; mobilde yatay şerit olarak görünür */
.cat-mbar, .filters-head, .filters-foot { display: none; }
.f-block { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; background: #fff; }
.f-block summary { list-style: none; cursor: pointer; padding: 14px 16px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.f-block summary::-webkit-details-marker { display: none; }
.f-block summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #555; border-bottom: 2px solid #555; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.f-block[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.f-block summary:focus-visible { outline: 2px solid var(--dark); outline-offset: -2px; border-radius: 8px; }
.f-block > :not(summary) { padding: 0 16px 16px; }
.f-catlist a { display: block; padding: 7px 0; font-size: 15px; color: #555; }
.f-catlist a:hover { color: #000; }
.f-catlist a.on { color: #000; font-weight: 600; }
.f-colors { max-height: 320px; overflow-y: auto; display: grid; gap: 2px; }
.f-colors label { display: flex; align-items: center; gap: 10px; padding: 7px 6px; cursor: pointer; font-size: 15px; border-radius: 4px; }
.f-colors label:hover { background: var(--soft); }
.f-colors label.empty { opacity: .45; }
.f-colors input { width: 18px; height: 18px; accent-color: var(--dark); flex: none; margin: 0; }
.f-colors .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-colors small { color: var(--muted); margin-left: auto; font-size: 13px; }
.f-none { font-size: 14px; color: var(--muted); }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }

.range2 { position: relative; height: 28px; margin: 4px 6px 16px; }
.range2::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: #ddd; border-radius: 2px; }
.range2-fill { position: absolute; top: 50%; height: 4px; margin-top: -2px; background: var(--dark); border-radius: 2px; }
.range2 input { position: absolute; left: -6px; right: -6px; top: 0; width: calc(100% + 12px); height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range2 input:focus { outline: none; }
.range2 input::-webkit-slider-runnable-track { height: 28px; background: transparent; }
.range2 input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: #fff; border: 2px solid var(--dark); box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: grab; }
.range2 input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(0,0,0,.15); }
.range2 input::-moz-range-track { background: transparent; }
.range2 input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--dark); cursor: grab; }
.f-price-inputs { display: flex; align-items: flex-end; gap: 8px; }
.f-price-inputs label { flex: 1; min-width: 0; }
.f-price-inputs span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.f-price-inputs input { width: 100%; height: 40px; border: 1px solid #ccc; border-radius: 4px; padding: 0 10px; font-size: 15px; outline: none; }
.f-price-inputs input:focus { border-color: #555; }
.f-price-inputs i { font-style: normal; padding-bottom: 9px; color: var(--muted); }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ccc; border-radius: 20px; padding: 6px 12px; font-size: 14px; background: #fff; }
.chip:hover { border-color: var(--dark); }
.chip svg { font-size: 13px; }
.chip .sw { width: 14px; height: 14px; }
.chip-clear { font-size: 14px; text-decoration: underline; padding: 6px 4px; color: #555; }

@media (max-width: 991px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-tools { display: none; }
  .subcats { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 4px; padding: 0 12px 6px; }
  .subcats::-webkit-scrollbar { display: none; }
  .subcats a { flex: none; white-space: nowrap; }
  .cat-mbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; position: sticky; top: 0; z-index: 20; background: #fff; padding: 10px 0; margin-bottom: 8px; }
  .mbtn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; font-weight: 500; background: #fff; overflow: hidden; min-width: 0; padding: 0 10px; cursor: pointer; }
  .mbtn b { font-weight: 600; }
  .mbtn-ico { display: flex; font-size: 18px; flex: none; }
  .mbtn select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
  #sortLabel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .filters { position: fixed; top: 0; right: 0; bottom: 0; width: min(92vw, 420px); background: #fff; z-index: 1001; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; display: flex; flex-direction: column; box-shadow: -6px 0 18px rgba(0,0,0,.15); }
  .filters.open { transform: none; visibility: visible; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--line); font-size: 18px; }
  .filters-head button { font-size: 24px; display: flex; }
  .filters-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; }
  .filters-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
  .f-cats { display: none; }
  .f-colors { max-height: none; }
  html.sheet-open { overflow: hidden; }
}
@media (max-width: 767px) {
  .cat-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-head h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .filters { transition: none; } }

/* ---------- Ürün detay ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.pd-gallery { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-self: start; }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pd-thumbs img { border: 2px solid transparent; border-radius: 6px; cursor: pointer; aspect-ratio: 2/3; object-fit: cover; }
.pd-thumbs img.on { border-color: var(--dark); }
.pd-main { position: relative; border-radius: 10px; overflow: hidden; background: var(--soft); }
/* Fotoğraflar 3:4; kırpılmadan gösterilir ki büyüteç birebir aynı noktayı büyütsün */
.pd-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.pd-main.zoomable { cursor: crosshair; }
.zoom-lens { position: absolute; z-index: 3; pointer-events: none; background-repeat: no-repeat; background-color: #fff; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 6px 22px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.18); }
.zoom-hint { display: none; position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.9); color: #333; font-size: 12px; padding: 5px 10px; border-radius: 14px; pointer-events: none; transition: opacity .2s; }
.pd-main.zoomable .zoom-hint { display: block; }
.pd-main.zoomable:hover .zoom-hint { opacity: 0; }
.pd-info h1 { font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1.3; }
.pd-meta { display: flex; gap: 16px; align-items: center; font-size: 15px; color: var(--muted); margin: 10px 0 16px; flex-wrap: wrap; }
.pd-meta .stars { font-size: 16px; }
.stars { color: #f5a623; display: inline-flex; gap: 1px; }
.pd-price { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-price .discount-badge { height: auto; width: auto; flex-direction: column; padding: 8px 12px; font-size: 20px; line-height: 1; }
.pd-price .discount-badge small { font-size: 11px; margin: 3px 0 0; }
.pd-price .old-price { font-size: 18px; line-height: 1.3; }
.pd-price .product-price { font-size: 34px; line-height: 1.1; letter-spacing: -.5px; }
.pd-links { display: flex; gap: 22px; font-size: 15px; margin: 14px 0; flex-wrap: wrap; }
.pd-links button, .pd-links a { display: inline-flex; align-items: center; gap: 6px; color: #555; }
.pd-links svg { font-size: 18px; }
.pd-links .active { color: var(--campaign); }
.pd-label { font-size: 17px; font-weight: 600; margin: 20px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.pd-label a { font-weight: 400; font-size: 15px; color: #555; display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; }
.pd-more { display: inline-block; font-size: 15px; margin-top: 10px; text-decoration: underline; color: #555; }
.pd-colors { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-colors a { width: 76px; text-align: center; font-size: 14px; color: #555; }
.pd-colors img { border: 2px solid transparent; border-radius: 6px; aspect-ratio: 2/3; object-fit: cover; margin-bottom: 4px; }
.pd-colors a.on img { border-color: var(--dark); }
.pd-colors a.on { color: var(--dark); font-weight: 600; }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-sizes button { border: 1px solid #ccc; border-radius: 6px; height: 52px; font-size: 17px; font-weight: 500; padding: 0 18px; min-width: 118px; white-space: nowrap; background: #fff; transition: .15s; }
.pd-sizes button:hover:not(:disabled) { border-color: var(--dark); }
.pd-sizes button { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.pd-sizes button small { font-size: 11px; font-weight: 500; }
.pd-sizes button small.low { color: var(--campaign); }
.pd-sizes button:disabled { color: #aaa; background: var(--soft); text-decoration: line-through; cursor: not-allowed; }
.pd-sizes button:disabled small { text-decoration: none; }
.pd-gallery.single { grid-template-columns: minmax(0, 1fr); }
.pd-sizes button.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.pd-sizes.error button { border-color: var(--campaign); }
.pd-buy { display: grid; grid-template-columns: 96px 1fr; gap: 10px; margin-top: 22px; }
.pd-buy .btn { height: 56px; font-size: 17px; }

/* Adet: aşağı açılan, kaydırılabilir liste */
.qty-dd { position: relative; }
.qty-dd-btn { width: 100%; height: 56px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 18px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 18px; }
.qty-dd-btn::after { content: ""; border: 6px solid transparent; border-top: 7px solid #555; margin-top: 6px; transition: transform .2s; }
.qty-dd.open .qty-dd-btn { border-color: var(--dark); border-radius: 6px 6px 0 0; }
.qty-dd.open .qty-dd-btn::after { transform: rotate(180deg); margin-top: -6px; }
.qty-dd-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid var(--dark); border-top: 0; border-radius: 0 0 6px 6px; max-height: 264px; overflow-y: auto; box-shadow: 0 8px 18px rgba(0,0,0,.12); overscroll-behavior: contain; }
.qty-dd-list li { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; outline: none; }
.qty-dd-list li:hover, .qty-dd-list li:focus { background: var(--soft); }
.qty-dd-list li.on { background: var(--dark); color: #fff; font-weight: 600; }
.qty-dd-list::-webkit-scrollbar { width: 6px; }
.qty-dd-list::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }

.pd-alt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.pd-cargo { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: 6px; padding: 14px 16px; margin-top: 18px; font-size: 15px; line-height: 1.5; }
.pd-cargo svg { font-size: 28px; }
.pd-cargo b { color: var(--green); }
.pd-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.pd-badges div { text-align: center; font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 12px 6px; }
.pd-badges svg { font-size: 24px; display: block; margin: 0 auto 6px; }
.tabs { margin-top: 36px; }
.tab-nav { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-nav button { padding: 14px 20px; font-size: 17px; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; color: #777; }
.tab-nav button.on { border-color: var(--dark); color: var(--dark); }
.tab-panel { display: none; padding: 20px 2px; font-size: 16px; color: #444; line-height: 1.8; }
.tab-panel.on { display: block; }
.tab-panel ul { list-style: disc; padding-left: 22px; }
.tab-panel table { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 15px; }
.tab-panel td, .tab-panel th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 1050; padding: 16px; }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 8px; max-width: 620px; width: 100%; padding: 24px; position: relative; max-height: 90vh; overflow: auto; }
.modal-box h3 { margin-bottom: 14px; font-size: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 24px; display: flex; }

/* ---------- Sepet / ödeme ---------- */
.cart-page { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cart-table th { text-align: left; font-weight: 600; border-bottom: 2px solid var(--line); padding: 10px 8px; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 14px 8px; vertical-align: middle; }
.cart-table .ct-prod { display: flex; gap: 14px; align-items: center; }
.cart-table .ct-prod small { font-size: 13px; color: var(--muted); }
.cart-table img { width: 70px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.ct-sil-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 19px; color: #888; transition: .2s; }
.ct-sil-btn:hover, .ct-sil-btn:focus-visible { color: var(--campaign); background: #fdf0ee; }
.qty { display: flex; border: 1px solid #ccc; border-radius: 4px; height: 40px; width: 112px; }
.qty button { width: 36px; font-size: 18px; }
.qty input { width: 100%; text-align: center; border: 0; outline: none; min-width: 0; font-size: 15px; }
.summary { border: 1px solid var(--line); border-radius: 8px; padding: 20px; position: sticky; top: 10px; }
.summary h3 { font-size: 19px; margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 10px; }
.summary .row.total { font-size: 20px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.summary .green { color: var(--green); font-weight: 600; }
.summary .btn { width: 100%; margin-top: 12px; }
.checkout { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.checkout h2 { font-size: 21px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #ccc; border-radius: 4px; height: 46px; padding: 0 14px; font-size: 16px; outline: none; background: #fff; }
.field textarea { height: 96px; padding: 10px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #555; }
.pay-options { display: grid; gap: 10px; }
.pay-options label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #ddd; border-radius: 6px; padding: 14px 16px; cursor: pointer; font-size: 16px; }
.pay-options label:has(input:checked) { border-color: var(--dark); background: var(--soft); }
.pay-options input { margin-top: 5px; }
.pay-options small { display: block; color: var(--muted); font-size: 14px; }
.check { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.check input { margin-top: 5px; }
.check a { text-decoration: underline; }
.success { text-align: center; padding: 50px 10px; font-size: 16px; }
.success h2 { font-size: 26px; }
.success .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 40px; }

/* ---------- Bilgi sayfaları ---------- */
.info-page { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.info-side { border: 1px solid var(--line); border-radius: 8px; align-self: start; }
.info-side a { display: block; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--line); }
.info-side a:last-child { border: 0; }
.info-side a.on, .info-side a:hover { background: var(--soft); font-weight: 600; }
.info-content h1 { font-size: 28px; margin-bottom: 18px; }
.info-content h3 { font-size: 19px; margin: 20px 0 8px; }
.info-content p, .info-content li { font-size: 16px; color: #444; line-height: 1.8; margin-bottom: 10px; }
.info-content ul { list-style: disc; padding-left: 22px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.contact-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: 15px; color: #444; transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: #bbb; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.contact-card > svg { font-size: 30px; flex: none; color: #555; }
.contact-card.wa > svg { color: #25d366; }
.contact-card.ig > svg { color: #c13584; }
.contact-card b { display: block; font-size: 16px; color: var(--dark); margin-bottom: 2px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq summary { padding: 14px 18px; font-weight: 500; font-size: 16px; cursor: pointer; }
.faq details p { padding: 0 18px 14px; }
.bank { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 12px; font-size: 16px; line-height: 1.7; }
.bank b { display: block; margin-bottom: 4px; }

/* Hesap */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.auth form { border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: grid; gap: 16px; align-content: start; }
.auth form { transition: border-color .4s, box-shadow .4s; }
.auth form.highlight { border-color: #b07a5c; box-shadow: 0 0 0 4px rgba(176,122,92,.15); }
.auth h2 { font-size: 22px; }
.auth-tabs { display: none; }
.forgot { justify-self: start; font-size: 13px; color: #555; text-decoration: underline; }
.giris-alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.giris-alt .check { font-size: 14px; align-items: center; }
.giris-alt .check input { margin-top: 0; }
.auth-switch { display: none; font-size: 14px; text-align: center; color: #666; }
.auth-switch a { color: var(--dark); font-weight: 600; text-decoration: underline; }
.field.pw { position: relative; }
.field.pw input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 4px; bottom: 4px; width: 38px; height: 38px; display: grid; place-items: center; color: #888; font-size: 20px; border-radius: 4px; }
.pw-toggle:hover { color: var(--dark); }
@media (max-width: 767px) {
  /* Mobil: üstte Üye Girişi / Üye Ol butonları, sadece seçili form görünür */
  .auth-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 20px; border-bottom: 1px solid var(--line); }
  .auth-tabs button { height: 52px; font-size: 16px; font-weight: 600; color: #999; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
  .auth-tabs button[aria-selected="true"] { color: var(--dark); border-bottom-color: var(--dark); }
  .auth[data-tab="giris"] #registerForm, .auth[data-tab="uye"] #loginForm { display: none; }
  .auth form { border: 0; padding: 0; }
  .auth h2 { display: none; }
  .auth-switch { display: block; }
}

/* ---------- Mobil menü (soldan kayar, sayfayı iter) ---------- */
:root { --mm-w: min(80vw, 440px); --mm-bg: #f3f3f3; --mm-ease: .4s ease; }
.mobile-left, #mmenu, #mm-blocker, .menufix { display: none; }
#mmenu { position: fixed; top: 0; bottom: 0; left: 0; width: var(--mm-w); background: var(--mm-bg); color: rgba(0,0,0,.9); z-index: 1; transform: translateX(-30%); transition: transform var(--mm-ease); }
html.mm-opening #mmenu { transform: none; }
html:not(.mm-opened) #mmenu { visibility: hidden; }
.mm-slideout { transition: transform var(--mm-ease); }
html.mm-opening .mm-slideout { transform: translateX(var(--mm-w)); box-shadow: -8px 0 12px -6px rgba(0,0,0,.3); }
html.mm-opened { overflow: hidden; }
#mm-blocker { position: fixed; top: 0; bottom: 0; right: 0; left: var(--mm-w); z-index: 5; background: #000; opacity: 0; transition: opacity var(--mm-ease); }
html.mm-opening #mm-blocker { opacity: .3; transition-delay: .2s; }
.mm-panels { position: absolute; top: 0; left: 0; right: 0; bottom: calc(46px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.mm-panel { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--mm-bg); padding: 48px 0 10px; transform: translateX(100%); transition: transform var(--mm-ease); }
.mm-panel.mm-opened { transform: none; }
.mm-panel.mm-subopened { transform: translateX(-30%); }
.mm-panel.mm-opened:not([data-id="root"]) { box-shadow: 0 0 10px rgba(0,0,0,.3); }
.mm-navbar { position: absolute; top: 0; left: 0; right: 0; height: 48px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; border-bottom: 1px solid rgba(0,0,0,.1); background: var(--mm-bg); }
.mm-navbar button { height: 48px; display: grid; place-items: center; font-size: 20px; color: rgba(0,0,0,.6); }
.mm-title { text-align: center; font-size: 15px; font-weight: 600; color: rgba(0,0,0,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .3px; }
.mm-listview > li { position: relative; display: flex; align-items: stretch; opacity: 0; transform: translateX(50%); transition: transform var(--mm-ease), opacity var(--mm-ease); transition-delay: calc(var(--i) * 50ms); }
html.mm-opening .mm-panel.mm-opened .mm-listview > li, html.mm-opening .mm-panel.mm-subopened .mm-listview > li { opacity: 1; transform: none; }
.mm-listview > li::after { content: ""; position: absolute; left: 20px; right: 0; bottom: 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.mm-listview > li > a { flex: 1; min-width: 0; display: flex; align-items: center; min-height: 52px; padding: 10px 10px 10px 20px; font-size: 16px; font-weight: 400; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-listview > li > a:active, .mm-next:active { background: rgba(0,0,0,.06); }
.mm-next { width: 56px; flex: none; display: grid; place-items: center; font-size: 18px; color: rgba(0,0,0,.45); border-left: 1px solid rgba(0,0,0,.1); }
.mm-navbar-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(0,0,0,.1); background: var(--mm-bg); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mm-navbar-bottom a { height: 46px; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: rgba(0,0,0,.7); }
.mm-navbar-bottom a + a { border-left: 1px solid rgba(0,0,0,.1); }
@media (prefers-reduced-motion: reduce) {
  #mmenu, .mm-slideout, .mm-panel, .mm-listview > li, #mm-blocker { transition: none !important; }
}

/* Alt sabit çubuk (mobil) */
.menufix { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; box-shadow: 0 0 18px rgba(51,51,51,.23); padding-bottom: env(safe-area-inset-bottom, 0px); transition: transform var(--mm-ease); }
.menufix a { flex: 1 1 20%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 6px; font-size: 10.5px; line-height: 1.3; color: #333; position: relative; text-align: center; }
.menufix a svg { font-size: 22px; }
.menufix a.on { color: #000; font-weight: 600; }
.menufix span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mf-count { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #e10b17; color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box; }
html.mm-opening .menufix, html.mm-opening .whatsapp-btn { transform: translateX(var(--mm-w)); }
.whatsapp-btn { transition: transform var(--mm-ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1340px) {
  .header-discount { font-size: 20px; }
  .footer-inner { grid-template-columns: repeat(4, minmax(0, 1fr)) 1.4fr; }
}
@media (max-width: 1700px) {
  /* Sağ taraf sığsın diye ikon yazıları gizlenir, sadece ikonlar kalır */
  .user-block span { display: none; }
  .user-block { gap: 20px; }
  .ub-item svg { font-size: 22px; }
  .ub-dropdown { right: -35px; } /* sadece ikon varken ok işareti ikonun altına gelsin */
}
@media (max-width: 1240px) {
  /* Orta genişlikte logo biraz küçülür */
  .navbar > li > a { font-size: 14px; padding: 0 9px; }
  .logo-mark { height: 70px; }
  .logo-word { height: 55px; }
}
@media (max-width: 1100px) {
  .navbar > li > a { font-size: 13px; padding: 0 7px; }
}
@media (max-width: 991px) {
  /* Mobil üst kısım: solda menü + arama, ortada logo, sağda kullanıcı + sepet */
  .header-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); height: auto; min-height: 62px; padding: 4px 12px; gap: 8px 10px; }
  .mobile-left { display: flex; align-items: center; gap: 14px; }
  .mobile-menu-btn { display: flex; flex-direction: column; align-items: center; color: #222; }
  .mobile-menu-btn svg { font-size: 26px; }
  .mobile-menu-btn span { font-size: 10px; line-height: 1; margin-top: 1px; }
  .mobile-search-btn { display: flex; font-size: 23px; color: #222; }
  .header-search { display: none; grid-column: 1 / -1; order: 5; max-width: none; margin-bottom: 8px; }
  .header-search.show { display: block; }
  .logo { gap: 8px; }
  .header-logo { grid-column: 2; justify-content: center; }
  .header-right { display: contents; }
  .user-block { grid-column: 3; }
  .user-block span, .ub-fav { display: none; }
  .ub-dropdown { display: none !important; }
  .user-block { gap: 16px; }
  .ub-item svg { font-size: 22px; }
  .nav-top-menu { display: none; }
  /* Katman sadece menü açıkken kurulur; kapalıyken içerideki sabit paneller (filtre) en üstte kalabilsin */
  .mm-slideout { position: relative; background: #fff; display: flow-root; }
  html.mm-opened .mm-slideout { z-index: 2; }
  #mmenu, .menufix { display: block; }
  .menufix { display: flex; }
  html.mm-opened #mm-blocker { display: block; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-btn { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; font-size: 27px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .carousel-track .product-item { flex-basis: 33.333%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hide-md { display: none; }
  .f-news { grid-column: 1 / -1; }
  .cart-page { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .header-discount { font-size: 12px; }
  .logo-mark { height: 52px; }
  .logo-word { height: 41px; }
  /* Telefonda vitrin: ekrana yan yana 2 ürün sığar; kenar boşlukları az, oklar yerine parmakla kaydırılır */
  .home-tab { padding: 14px 4px 10px; }
  .carousel-track .product-item { flex-basis: 50%; padding: 0 5px 16px; }
  .carousel .prev, .carousel .next { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-squares { grid-template-columns: minmax(0, 1fr); }
  .banner-wide { aspect-ratio: 4/3; }
  .banner-wide .bw-figs { left: 4%; width: 40%; top: 10%; bottom: 10%; gap: 8px; }
  .banner-wide .bw-figs img:nth-child(2) { display: none; }
  .banner-wide .bw-text { right: 4%; width: 52%; }
  .bw-ribbon { font-size: 10px; letter-spacing: 2px; padding: 4px 12px; }
  .bw-big { font-size: 30px; margin: 10px 0 6px; }
  .bw-sub { font-size: 11px; margin-bottom: 12px; }
  .bw-btn { font-size: 10px; padding: 9px 14px; letter-spacing: .5px; gap: 6px; }
  .banner-sq { aspect-ratio: 4/3; }
  .banner-sq .sq-text { left: 18px; right: 18px; bottom: 16px; }
  .sq-title { font-size: 24px; }
  .buttons { opacity: 1; transform: none; }
  .buttons .addtocart { display: none; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 12px 0; height: auto; padding: 14px 10px; }
  .features .item { flex-direction: column; justify-content: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.3; }
  .features .item svg { font-size: 24px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hide-xs { display: none; }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery { grid-template-columns: minmax(0, 1fr); }
  .pd-thumbs { flex-direction: row; order: 2; }
  .pd-thumbs img { width: 56px; }
  .pd-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid, .auth, .info-page { grid-template-columns: minmax(0, 1fr); }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .cart-table td { border: 0; padding: 2px 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .cart-table td.ct-unit { display: none; }
  /* Telefonda çöp kutusu ürünün sağ üst köşesinde; ürün adı altına girmesin diye sağda boşluk bırakılır */
  .cart-table tr { position: relative; }
  .cart-table td.ct-sil { position: absolute; top: 6px; right: 0; padding: 0; }
  .cart-table .ct-prod { padding-right: 40px; }
}

/* ---------- Supabase'e bağlı ekranlar ---------- */
.veri-hatasi { color: var(--campaign); text-align: center; font-weight: 600; }
.pd-aciklama { margin-bottom: 14px; line-height: 1.7; }
.pd-aciklama p + p { margin-top: 8px; }
.track-form { display: flex; gap: 8px; max-width: 620px; margin: 12px 0; align-items: flex-end; flex-wrap: wrap; }
.track-form .field { flex: 1 1 200px; margin: 0; }
.track-form .btn { height: 38px; }

.hesap-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hesap-butonlar { display: flex; gap: 8px; flex-wrap: wrap; }
.hesap-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.hesap-kart { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.hesap-kart h3 { margin-bottom: 12px; }
.hesap-siparis { border-bottom: 1px solid var(--line); padding: 10px 0; line-height: 1.6; }
.hesap-siparis:last-child { border-bottom: 0; }
.hesap-siparis small { color: #666; }
@media (max-width: 767px) {
  .hesap-grid { grid-template-columns: 1fr; }
}
/* Telefon kutusu: başında sabit +90 */
.tel-kutu { display: flex; }
.tel-kutu > span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #ccc; border-right: 0; border-radius: 4px 0 0 4px; background: var(--soft); font-size: 16px; font-weight: 500; }
.field .tel-kutu input { border-radius: 0 4px 4px 0; flex: 1; min-width: 0; }
.field select:disabled { background: var(--soft); color: #999; }
