/* =========================================================
   FERİDE — Ayakkabı E-Ticaret | Ana stil dosyası
   ========================================================= */
:root {
    --ink: #111111;
    --ink-2: #2a2a2a;
    --paper: #ffffff;
    --sand: #f6f3ee;
    --sand-2: #ece6dc;
    --line: #e6e1d8;
    --muted: #7a756c;
    --accent: #8b5e34;
    --accent-2: #b98a5a;
    --sale: #b3261e;
    --success: #2f7a4b;
    --radius: 2px;
    --shadow: 0 18px 50px rgba(17, 17, 17, .08);
    --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: hidden HTML'DE olmalı, BODY'de değil.
 *
 * Body'ye verildiğinde CSS kuralı gereği diğer eksen "visible" kalamıyor ve
 * overflow-y kendiliğinden "auto" oluyor; body kendi kaydırma kutusuna
 * dönüşüyor. Sonuçları: sağda kaydırma çubuğu şeridi (kullanıcı "bir parmak
 * beyaz boşluk" diye bildirdi), görünüm alanı genişliğinin küçülmesi ve
 * yapışkan/sabit öğelerle kaydırma konumu uyuşmazlığı.
 *
 * HTML'de olduğunda görünüm alanına doğru biçimde yayılır, body normal akışta
 * kalır. Yatay taşma yine kırpılır. */
html {
    scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}
body {
    margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink);
    background: var(--paper); -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: #fff; }

/* İÇERİK GENİŞLİĞİ
   Önceki değer 1440px'ti. 1440'tan geniş ekranlarda (MacBook 14" 1512,
   MacBook 16" 1728, 1080p monitör 1920) içerik ortada sıkışıyor ve iki
   yanda boş bant kalıyordu; menü yazıları solu doldurduğu için bu boşluk
   SAĞDA bir şerit gibi görünüyordu (kullanıcı bildirdi, 1728px'te ölçüldü:
   her iki yanda 184px). 1920'ye çıkarıldı: yaygın masaüstü genişliklerinin
   tamamı boşluksuz dolar.
   Izgaralar sabit kolon sayılı (repeat(4,1fr)) olduğu için kolon sayısı
   değişmez, yalnız kartlar büyür. Okunabilirlik gerektiren bloklar
   .container-sm / .container-xs ile kendi dar sınırlarını korur. */
.container { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 1080px; }
.container-xs { max-width: 760px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 34px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
    font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { height: 42px; padding: 0 22px; font-size: 11px; }
.btn[disabled], .btn.loading { opacity: .6; pointer-events: none; }
.btn.loading::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Duyuru bandı ---------- */
.announcement { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; height: 38px; display: flex; align-items: center; }
.announcement-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 45s linear infinite; }
.announcement-track span { padding: 0 40px; position: relative; }
.announcement-track span::after { content: '✦'; position: absolute; right: -6px; opacity: .5; font-size: 9px; top: 2px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.logo { font-size: 28px; font-weight: 500; letter-spacing: .42em; text-align: center; line-height: 1; padding-left: .42em; display: inline-flex; flex-direction: column; align-items: center; }
.logo small { font-size: 9px; letter-spacing: .38em; color: var(--muted); margin-top: 7px; font-weight: 400; text-transform: uppercase; }
.logo-sm { font-size: 20px; }
.logo-light small { color: rgba(255,255,255,.5); }
.main-nav ul { display: flex; gap: 30px; }
.main-nav > ul > li > a { white-space: nowrap; }
.main-nav > ul > li > a { display: flex; align-items: center; height: var(--header-h); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav > ul > li:hover > a::after { transform: scaleX(1); transform-origin: left; }
.nav-sale { color: var(--sale) !important; }
.header-actions { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; position: relative; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.icon-btn .count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.icon-btn .count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.menu-toggle { display: none; }

/* Mega menü */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1.3fr; gap: 40px; padding-top: 40px; padding-bottom: 44px; }
.mega-col h6 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.mega-col a { display: block; padding: 6px 0; font-size: 15px; }
.mega-col a:hover { color: var(--accent); transform: translateX(4px); }
/* padding-left YERİNE transform: yazı imlecin altından kayıyordu ve kullanıcı
   "sağa gitmem gerekiyor" diye tarif etti. transform yerleşimi bozmaz, kutu
   yerinde kalır, yazı yumuşak kayar. */
.mega-col a { transition: color .2s, transform .2s var(--ease); }
.mega-card { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.mega-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega-card:hover img { transform: scale(1.06); }
.mega-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.55)); display: flex; justify-content: space-between; }

/* Arama paneli */
.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 90; background: #fff; padding: 34px 0 40px; transform: translateY(-100%); transition: transform .5s var(--ease); max-height: 90vh; overflow-y: auto; }
.search-panel.open { transform: none; box-shadow: var(--shadow); }
.search-form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.search-form > i { font-size: 24px; }
.search-form input { flex: 1; border: 0; outline: 0; font-size: 26px; font-weight: 300; background: none; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.search-suggest a { color: var(--ink); border-bottom: 1px solid var(--line); }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }
.search-item { display: flex; gap: 14px; align-items: center; padding: 10px; transition: background .2s; }
.search-item:hover { background: var(--sand); }
.search-item img { width: 70px; height: 70px; object-fit: cover; background: var(--sand); }
.search-item b { display: block; font-weight: 500; font-size: 14px; }
.search-item span { font-size: 13px; color: var(--muted); }
.search-empty { grid-column: 1/-1; color: var(--muted); }

/* Çekmeceler (drawer) */
.overlay { position: fixed; inset: 0; background: rgba(17,17,17,.45); z-index: 80; opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 95; width: 440px; max-width: 92vw; background: #fff; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); width: 360px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h4 { margin: 0; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 26px 26px; }
.mobile-nav > a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.mobile-nav-sub { margin-top: 26px; display: grid; gap: 14px; }
.mobile-nav-sub a { display: flex; gap: 12px; color: var(--muted); }
.drawer-cart { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dc-items { flex: 1; overflow-y: auto; padding: 6px 26px; }
.dc-item { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dc-item img { width: 86px; height: 100px; object-fit: cover; background: var(--sand); }
.dc-item h5 { font-size: 14px; margin: 0 0 4px; font-weight: 500; }
.dc-meta { font-size: 12.5px; color: var(--muted); }
.dc-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.dc-remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.dc-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); background: var(--sand); }
.dc-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.dc-foot small { display: block; color: var(--muted); margin-bottom: 16px; }
.dc-foot .btn + .btn { margin-top: 10px; }
.free-ship { padding: 16px 26px; font-size: 13px; border-bottom: 1px solid var(--line); }
.free-ship .bar { height: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.dc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.dc-empty i { font-size: 54px; color: var(--sand-2); margin-bottom: 10px; }
.loader { width: 28px; height: 28px; margin: 60px auto; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }

/* Adet seçici */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 36px; }
.qty button { width: 34px; height: 100%; font-size: 15px; }
.qty button:hover { background: var(--sand); }
.qty input { width: 38px; text-align: center; border: 0; outline: 0; height: 100%; -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-lg { height: 52px; }
.qty-lg button { width: 44px; }
.qty-lg input { width: 48px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h) - 38px); min-height: 560px; max-height: 900px; background: var(--ink); }
.hero .swiper { height: 100%; }
.hero-slide { position: relative; height: 100%; overflow: hidden; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s var(--ease); }
.swiper-slide-active .hero-slide img { transform: scale(1); }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.05) 80%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 35%); }
.hero-slide.theme-light::after { background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 50%, transparent 85%), linear-gradient(0deg, rgba(0,0,0,.3), transparent 35%); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-content { color: #fff; max-width: 640px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-content .btn { text-shadow: none; }
.hero-content .eyebrow { color: rgba(255,255,255,.8); }
.hero-content h1 { font-size: clamp(42px, 6.4vw, 96px); font-weight: 400; line-height: .98; letter-spacing: -.03em; margin-bottom: 24px; white-space: pre-line; }
.hero-content p { font-size: 17px; max-width: 460px; color: rgba(255,255,255,.9); margin-bottom: 36px; font-weight: 300; }
.hero-content .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-content > * { opacity: 0; transform: translateY(30px); transition: all 1s var(--ease); }
.swiper-slide-active .hero-content > * { opacity: 1; transform: none; }
.swiper-slide-active .hero-content > *:nth-child(2) { transition-delay: .15s; }
.swiper-slide-active .hero-content > *:nth-child(3) { transition-delay: .3s; }
.swiper-slide-active .hero-content > *:nth-child(4) { transition-delay: .45s; }
.hero-ui { position: absolute; z-index: 5; bottom: 40px; left: 0; right: 0; }
/* Sağ altta sabit duran FERİDE AI düğmesi (60px + 24px boşluk = alttan 84px)
   hero oklarının tam üstüne geliyor ve "sonraki" oku hiç tıklanamıyordu.
   Okların göründüğü genişliklerde (769px+) hero arayüzü o şeridin üstüne
   alınır. Oklar 768px altında zaten gizli olduğu için mobil etkilenmez. */
@media (min-width: 769px) {
    .hero-ui { bottom: 104px; }
}
.hero-ui .container { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.hero-pagination { display: flex; gap: 10px; position: static !important; width: auto !important; }
.hero-pagination .swiper-pagination-bullet { width: 46px; height: 2px; border-radius: 0; background: rgba(255,255,255,.35); opacity: 1; margin: 0 !important; position: relative; overflow: hidden; }
.hero-pagination .swiper-pagination-bullet::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-pagination .swiper-pagination-bullet-active::after { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-nav { display: flex; gap: 8px; }
.hero-nav button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; font-size: 20px; transition: all .3s; }
.hero-nav button:hover { background: #fff; color: var(--ink); }
.scroll-hint { position: absolute; z-index: 5; left: 50%; bottom: 36px; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint::after { content: ''; width: 1px; height: 40px; background: linear-gradient(#fff, transparent); animation: scrollHint 2s infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Bölümler ---------- */
/* KISAYOL "padding" KULLANMAYIN.
   Bu sınıflar sık sık .container ile aynı öğede kullanılıyor
   (class="container section"). Kısayol padding, .container'ın
   "padding: 0 40px" yan boşluğunu SİLİYORDU — ikisi de aynı özgüllükte
   olduğu için dosyada sonra gelen kazanıyor ve içerik ekran kenarına
   yapışıyordu (sayfa.php, sss.php, iletisim.php). Uzun yazım yalnız
   dikey boşluğu değiştirir. */
.section { padding-top: 110px; padding-bottom: 110px; }
.section-sm { padding-top: 70px; padding-bottom: 70px; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.section-head p { color: var(--muted); max-width: 420px; margin: 12px 0 0; }
.section-head .actions { display: flex; align-items: center; gap: 18px; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; transition: all .3s; }
.slider-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider-nav button.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* Marquee yazı bandı */
.text-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.text-marquee-track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.text-marquee-track span { font-size: clamp(28px, 4vw, 54px); font-weight: 300; letter-spacing: -.02em; padding: 0 30px; display: inline-flex; align-items: center; gap: 60px; }
.text-marquee-track span::after { content: '✦'; font-size: .4em; color: var(--accent); }
.text-marquee-track .serif { font-weight: 400; }

/* Kategori kartları */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--sand); display: block; }
.cat-card:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.cat-info { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; }
.cat-info h3 { font-size: 30px; font-weight: 400; margin: 0; }
.cat-info span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.cat-info .arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: all .4s var(--ease); flex: none; }
.cat-card:hover .arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }

/* Ürün kartı */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; }
.pc-media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4/5; }
.pc-img { display: block; width: 100%; height: 100%; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s; }
.pc-img .img-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.product-card.has-hover:hover .img-hover { opacity: 1; }
.pc-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.badge { display: inline-block; padding: 5px 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: #fff; color: var(--ink); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-new { background: var(--ink); color: #fff; }
.badge-out { background: #fff; color: var(--muted); }
.pc-fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .3s var(--ease); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.pc-fav:hover { transform: scale(1.1); }
.pc-fav .ri-heart-3-fill, .pc-fav.active .ri-heart-3-line { display: none; }
.pc-fav.active .ri-heart-3-fill { display: block; color: var(--sale); animation: bump .5s var(--ease); }
.pc-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); padding: 12px 14px; transform: translateY(calc(100% + 14px)); transition: transform .45s var(--ease); }
.product-card:hover .pc-quick { transform: none; }
.qs-label { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; text-align: center; }
.qs-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.qs-size { min-width: 34px; height: 30px; font-size: 12.5px; border: 1px solid var(--line); transition: all .2s; }
.qs-size:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.qs-size[disabled] { color: #c9c4bb; text-decoration: line-through; cursor: not-allowed; }
.pc-body { padding-top: 16px; }
.pc-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pc-title { font-size: 16px; font-weight: 500; margin: 4px 0 6px; letter-spacing: 0; }
/* ÖLÜ ALAN: satır içi bağlantı iki satıra sarınca ikinci satırın boş kalan
   kısmı TIKLANAMIYORDU (ölçüldü: %14-26). Blok yapılınca başlığın tamamı
   tıklanabilir olur. */
.pc-title a { display: block; }
.pc-title a:hover { color: var(--accent); }
.pc-price { display: flex; gap: 10px; align-items: baseline; }
.price-now { font-weight: 500; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.pc-price .price-old + * { color: var(--sale); }
.product-card .pc-price:has(.price-old) .price-now { color: var(--sale); }

/* Editorial (iki sütun) */
.editorial { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.editorial-media { position: relative; overflow: hidden; }
.editorial-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-text { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(40px, 8vw, 140px); background: var(--sand); }
.editorial-text h2 { font-size: clamp(36px, 4.4vw, 66px); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; margin-bottom: 26px; }
.editorial-text p { color: var(--muted); font-size: 16px; max-width: 460px; margin-bottom: 34px; }
.editorial-stats { display: flex; gap: 48px; margin: 10px 0 40px; }
.editorial-stats b { display: block; font-size: 40px; font-weight: 300; line-height: 1; }
.editorial-stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Banner ikilisi */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { position: relative; overflow: hidden; aspect-ratio: 16/11; display: block; color: #fff; }
.duo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card:hover img { transform: scale(1.05); }
.duo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%); }
.duo-text { position: absolute; z-index: 2; left: 40px; bottom: 36px; right: 40px; }
.duo-text h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 400; margin-bottom: 14px; }

/* Lookbook / Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta-grid a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta-grid a::after { content: '\ee66'; font-family: remixicon; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.insta-grid a:hover::after { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.08); }

/* Yorum / referans */
.testimonials .swiper-slide { height: auto; }
.testimonial { background: #fff; padding: 40px; height: 100%; display: flex; flex-direction: column; }
.testimonial .stars { color: var(--accent); margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 24px; line-height: 1.35; font-style: italic; flex: 1; }
.testimonial cite { font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.testimonial cite span { display: block; color: var(--muted); letter-spacing: 0; text-transform: none; margin-top: 2px; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); font-size: 14px; }

/* Bülten */
.newsletter-band { background: var(--ink); color: #fff; text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.newsletter-band h2 { font-size: clamp(34px, 4.4vw, 62px); font-weight: 300; letter-spacing: -.02em; }
.newsletter-band p { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 36px; }
.newsletter-big { display: flex; max-width: 560px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,.5); }
.newsletter-big input { flex: 1; background: none; border: 0; outline: 0; color: #fff; padding: 16px 0; font-size: 17px; }
.newsletter-big input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-big button { color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }

/* USP */
.usp-bar { border-top: 1px solid var(--line); padding: 46px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.usp { display: flex; gap: 18px; align-items: center; }
.usp i { font-size: 30px; font-weight: 300; color: var(--accent); }
.usp b { display: block; font-weight: 500; font-size: 14px; letter-spacing: .06em; }
.usp span { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { background: #0d0d0d; color: rgba(255,255,255,.7); padding: 90px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 50px; padding-bottom: 70px; }
.footer-brand .logo { color: #fff; align-items: flex-start; padding-left: 0; margin-bottom: 26px; }
.footer-brand p { max-width: 320px; line-height: 1.8; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; transition: all .3s; }
.socials a:hover { background: #fff; color: var(--ink); }
.footer-col h6 { color: #fff; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 22px; font-weight: 500; }
.footer-col a { display: block; padding: 5px 0; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.newsletter-form { display: flex; border-bottom: 1px solid rgba(255,255,255,.3); margin: 18px 0 26px; }
.newsletter-form input { flex: 1; background: none; border: 0; outline: 0; color: #fff; padding: 12px 0; }
.newsletter-form button { color: #fff; font-size: 20px; }
.contact-mini a { display: flex; gap: 10px; align-items: center; padding: 3px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.payments { display: flex; gap: 14px; font-size: 26px; color: rgba(255,255,255,.5); }

.whatsapp-float { position: fixed; z-index: 50; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: transform .3s var(--ease); }
.whatsapp-float:hover { transform: scale(1.08); }
.to-top { position: fixed; z-index: 50; right: 30px; bottom: 94px; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Toast */
.toast-wrap { /* z 120 → 150: bildirim AI panelinin de üstünde kalmalı */ position: fixed; z-index: 150; top: 24px; right: 24px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; min-width: 280px; max-width: 380px; background: var(--ink); color: #fff; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; box-shadow: var(--shadow); animation: toastIn .45s var(--ease); }
.toast i { font-size: 19px; }
.toast.success i { color: #7fd99c; } .toast.error i { color: #ff8a80; } .toast.info i { color: #f1c27d; }
.toast.hide { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Sayfa başlığı / Breadcrumb ---------- */
.page-hero { background: var(--sand); padding: 70px 0 60px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 14px auto 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.page-hero .breadcrumb { justify-content: center; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------- Mağaza ---------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; padding-top: 50px; padding-bottom: 110px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-toolbar .result { font-size: 14px; color: var(--muted); }
.shop-toolbar .tools { display: flex; align-items: center; gap: 12px; }
.select { height: 44px; border: 1px solid var(--line); padding: 0 40px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-6-6h12z' fill='%23111'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; font-size: 13px; outline: 0; cursor: pointer; }
.filter-toggle { display: none; }
.view-toggle { display: flex; border: 1px solid var(--line); }
.view-toggle button { width: 44px; height: 42px; font-size: 18px; color: var(--muted); }
.view-toggle button.active { color: var(--ink); background: var(--sand); }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; }
.filters-head { display: none; }
.filter-group { border-bottom: 1px solid var(--line); padding: 20px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h6 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; font-weight: 500; }
.filter-list a, .filter-check { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.filter-list a.active { font-weight: 600; color: var(--ink); }
.filter-list a.active::before { content: ''; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; margin-right: 8px; }
.filter-list a span, .filter-check span.c { color: var(--muted); font-size: 12px; margin-left: auto; }
.filter-check input { display: none; }
.filter-check .box { width: 18px; height: 18px; border: 1px solid #c9c3b8; margin-right: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.filter-check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.filter-check input:checked + .box::after { content: '\eb7b'; font-family: remixicon; color: #fff; font-size: 13px; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.size-chip { position: relative; }
.size-chip input { position: absolute; opacity: 0; }
.size-chip span { display: flex; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 13px; cursor: pointer; transition: all .2s; }
.size-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-chip span:hover { border-color: var(--ink); }
.color-list { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot { position: relative; }
.color-dot input { position: absolute; opacity: 0; }
.color-dot span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); cursor: pointer; box-shadow: inset 0 0 0 3px #fff; transition: box-shadow .2s; }
.color-dot input:checked + span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--ink); }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; height: 42px; border: 1px solid var(--line); padding: 0 12px; outline: 0; font-size: 13px; }
.filter-actions { display: flex; gap: 10px; margin-top: 22px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--sand); font-size: 12.5px; }
.active-filters a:hover { background: var(--sand-2); }
/* Kısayol padding kullanılmaz: .container ile aynı öğede kullanıldığında
   onun yan boşluğunu siliyordu (bkz. .section notu). */
.empty-state { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.empty-state i { font-size: 60px; color: var(--sand-2); }
.empty-state h3 { font-size: 26px; font-weight: 400; margin: 14px 0 8px; }
.empty-state p { color: var(--muted); margin-bottom: 28px; }
.product-grid.list-view { grid-template-columns: 1fr; }
.product-grid.list-view .product-card { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.product-grid.list-view .pc-title { font-size: 22px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 70px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 14px; padding: 0 8px; }
.pagination a:hover { border-color: var(--ink); }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .dots { border: 0; }

/* ---------- Ürün detay ---------- */
.product-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; padding-top: 30px; padding-bottom: 100px; }
.gallery { display: grid; grid-template-columns: 90px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumbs button { aspect-ratio: 4/5; overflow: hidden; background: var(--sand); opacity: .55; transition: opacity .2s; border: 1px solid transparent; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; background: var(--sand); aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out, opacity .3s; }
.gallery-main.zoom img { transform: scale(2); }
.gallery-main .pc-badges { top: 20px; left: 20px; }
.gallery-expand { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 2; }
.pd-info .breadcrumb { margin-bottom: 22px; }
.pd-cat { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pd-info h1 { font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: -.02em; margin: 8px 0 12px; }
.pd-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.pd-rating a { text-decoration: underline; }
.pd-price { display: flex; align-items: baseline; gap: 14px; font-size: 26px; margin-bottom: 8px; }
.pd-price .price-old { font-size: 18px; }
.pd-price.on-sale .price-now { color: var(--sale); }
.pd-save { display: inline-block; background: #fbeceb; color: var(--sale); font-size: 12px; padding: 4px 10px; letter-spacing: .06em; margin-bottom: 18px; }
.pd-short { color: var(--muted); margin: 18px 0 28px; font-size: 15.5px; }
.pd-option { margin-bottom: 26px; }
.pd-option-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pd-option-head b { font-weight: 500; }
.pd-option-head button { font-size: 12px; text-decoration: underline; letter-spacing: .04em; text-transform: none; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.pd-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.pd-size { position: relative; }
.pd-size input { position: absolute; opacity: 0; }
.pd-size span { display: flex; height: 52px; align-items: center; justify-content: center; border: 1px solid var(--line); cursor: pointer; font-size: 14px; transition: all .2s; position: relative; }
.pd-size span:hover { border-color: var(--ink); }
.pd-size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pd-size input:disabled + span { color: #c4beb4; cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent, transparent 6px, #f4f1ec 6px, #f4f1ec 7px); }
.pd-size .low { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 9px; color: var(--sale); letter-spacing: .04em; }
.pd-size input:checked + span .low { color: #ffb3ad; }
.pd-color { display: flex; align-items: center; gap: 12px; }
.pd-color i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 3px #fff; outline: 1px solid var(--ink); outline-offset: 2px; display: inline-block; }
.pd-actions { display: flex; gap: 10px; margin-bottom: 14px; }
.pd-actions .btn { flex: 1; height: 56px; }
.pd-fav { width: 56px; height: 56px; border: 1px solid var(--line); font-size: 22px; display: flex; align-items: center; justify-content: center; transition: all .2s; flex: none; }
.pd-fav:hover { border-color: var(--ink); }
.pd-fav .ri-heart-3-fill, .pd-fav.active .ri-heart-3-line { display: none; }
.pd-fav.active .ri-heart-3-fill { display: block; color: var(--sale); }
.pd-stock { font-size: 13px; color: var(--success); display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.pd-stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47,122,75,.15); }
.pd-stock.low { color: #c27a00; }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; background: var(--sand); margin-bottom: 30px; font-size: 13px; }
.pd-perks div { display: flex; gap: 10px; align-items: center; }
.pd-perks i { font-size: 20px; color: var(--accent); }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-align: left; }
/* Simge ESNEK ÖĞE olarak küçülmemeli, metin ise küçülebilmeli.
   Aksi hâlde uzun soru metni simgeyi kutunun dışına itiyordu: telefonda
   sayfa 8px genişliyor ve sağda boşluk oluşuyordu (ölçüldü: ikon 364→398,
   görünür alan 390). */
.acc-head { gap: 14px; }
.acc-head i { transition: transform .3s; font-size: 18px; flex: 0 0 auto; }
.acc-item.open .acc-head i { transform: rotate(45deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-body > div { overflow: hidden; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div > *:last-child { margin-bottom: 20px; }
.spec-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.spec-list li span { color: var(--muted); }
.sticky-atc { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 0; transform: translateY(100%); transition: transform .4s var(--ease); }
.sticky-atc.show { transform: none; }
.sticky-atc .container { display: flex; align-items: center; gap: 16px; }
.sticky-atc img { width: 52px; height: 52px; object-fit: cover; background: var(--sand); }
.sticky-atc .info { flex: 1; min-width: 0; }
.sticky-atc .info b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Yorumlar */
.reviews-layout { display: grid; grid-template-columns: 340px 1fr; gap: 70px; }
.review-summary { background: var(--sand); padding: 36px; align-self: start; }
.review-summary .big { font-size: 64px; font-weight: 300; line-height: 1; }
.review-bars { margin: 24px 0; }
.review-bars div { display: grid; grid-template-columns: 30px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; margin: 6px 0; }
.review-bars .bar { height: 4px; background: var(--sand-2); }
.review-bars .bar span { display: block; height: 100%; background: var(--ink); }
.review { padding: 28px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.review-head b { font-weight: 500; }
.review-head small { color: var(--muted); }
.review .verified { font-size: 12px; color: var(--success); display: inline-flex; gap: 4px; align-items: center; margin-left: 10px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; font-size: 26px; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: var(--sand-2); transition: color .15s; }
.star-input label::before { content: '\f18b'; font-family: remixicon; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--accent); }

/* ---------- Formlar ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.field label .req { color: var(--sale); }
.input, .textarea, .field select { height: 52px; border: 1px solid var(--line); padding: 0 16px; outline: 0; background: #fff; transition: border-color .2s; width: 100%; font-size: 15px; }
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus { border-color: var(--ink); }
.field small { color: var(--muted); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--ink); width: 16px; height: 16px; }
.alert { padding: 14px 18px; font-size: 14px; margin-bottom: 20px; border-left: 3px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: #fbeceb; border-color: var(--sale); color: #7d1a14; }
.alert-success { background: #e9f4ed; border-color: var(--success); color: #1f5133; }
.alert-info { background: var(--sand); border-color: var(--accent); }

/* Auth */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h) - 38px); }
.auth-media { position: relative; background: var(--ink); overflow: hidden; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.auth-media .quote { position: absolute; left: 50px; right: 50px; bottom: 50px; color: #fff; font-family: var(--serif); font-size: 34px; font-style: italic; line-height: 1.25; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 70px 30px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 40px; font-weight: 400; letter-spacing: -.02em; }
.auth-box > p { color: var(--muted); margin-bottom: 32px; }
.auth-box form { display: grid; gap: 18px; }
.auth-tabs { display: flex; gap: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: 12px 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.auth-tabs a.active { color: var(--ink); border-color: var(--ink); }
.demo-hint { margin-top: 26px; padding: 14px 16px; background: var(--sand); font-size: 13px; color: var(--muted); }
.pass-field { position: relative; }
.pass-field button { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }

/* ---------- Sepet & Ödeme ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 60px; padding-top: 50px; padding-bottom: 110px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 26px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-prod { display: flex; gap: 20px; align-items: center; }
.cart-prod img { width: 100px; height: 120px; object-fit: cover; background: var(--sand); }
.cart-prod h4 { font-size: 16px; font-weight: 500; margin: 0 0 6px; }
.cart-prod .meta { font-size: 13px; color: var(--muted); }
.cart-prod .remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; margin-top: 10px; display: inline-block; }
.summary { background: var(--sand); padding: 36px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; }
.summary-row.discount { color: var(--success); }
.summary-total { display: flex; justify-content: space-between; border-top: 1px solid var(--sand-2); margin-top: 14px; padding-top: 18px; font-size: 20px; font-weight: 500; margin-bottom: 24px; }
.coupon-form { display: flex; margin: 20px 0; }
.coupon-form input { flex: 1; height: 48px; border: 1px solid var(--sand-2); border-right: 0; padding: 0 14px; outline: 0; background: #fff; text-transform: uppercase; }
.coupon-form button { height: 48px; padding: 0 20px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 12px 14px; margin: 18px 0; font-size: 13px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.checkout-steps { display: flex; justify-content: center; gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.checkout-steps span { display: flex; gap: 10px; align-items: center; }
.checkout-steps span b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; letter-spacing: 0; }
.checkout-steps .done, .checkout-steps .current { color: var(--ink); }
.checkout-steps .current b { background: var(--ink); color: #fff; border-color: var(--ink); }
.co-block { margin-bottom: 44px; }
.co-block h3 { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; display: flex; gap: 12px; align-items: center; }
.co-block h3 b { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0; }
.pay-options { display: grid; gap: 10px; }
.pay-option { border: 1px solid var(--line); padding: 18px 20px; cursor: pointer; display: block; transition: border-color .2s; }
.pay-option:has(input:checked) { border-color: var(--ink); background: #fcfbf9; }
.pay-option > div:first-child, .pay-option > .pay-head { display: flex; align-items: center; gap: 12px; }
.pay-option input[type=radio] { accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.pay-head { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.pay-option .icons { margin-left: auto; font-size: 22px; color: var(--muted); display: flex; gap: 8px; }
.pay-detail { display: none; padding-top: 18px; margin-top: 16px; border-top: 1px dashed var(--line); }
.pay-option:has(input:checked) .pay-detail { display: block; }
.card-preview { background: linear-gradient(135deg, #1b1b1b, #3c3226); color: #fff; padding: 24px; aspect-ratio: 1.6; max-width: 340px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 18px; border-radius: 10px; font-family: 'Courier New', monospace; }
.card-preview .num { font-size: 19px; letter-spacing: .12em; }
.card-preview .row { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; }
.mini-items { max-height: 320px; overflow-y: auto; margin-bottom: 18px; }
.mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini-item .thumb { position: relative; }
.mini-item img { width: 64px; height: 72px; object-fit: cover; background: #fff; }
.mini-item .thumb em { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-style: normal; display: flex; align-items: center; justify-content: center; }
.mini-item small { display: block; color: var(--muted); }

/* Başarı */
.success-wrap { text-align: center; padding-top: 100px; padding-bottom: 100px; }
.success-icon { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 46px; animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } }
.success-wrap h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 400; }
.order-box { max-width: 640px; margin: 40px auto; text-align: left; border: 1px solid var(--line); }
.order-box-head { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sand); padding: 20px 24px; gap: 14px; font-size: 13px; }
.order-box-head span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.order-box-body { padding: 10px 24px 20px; }
.bank-box { background: #fffaf2; border: 1px dashed var(--accent-2); padding: 18px 22px; margin: 0 24px 24px; font-size: 14px; }

/* Hesabım */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; padding-top: 50px; padding-bottom: 110px; }
.account-nav { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { display: flex; gap: 14px; align-items: center; padding-bottom: 24px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 500; flex: none; }
.account-user small { display: block; color: var(--muted); font-size: 12.5px; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 14.5px; color: var(--ink-2); }
.account-nav a.active { font-weight: 600; color: var(--ink); }
.account-nav a i { font-size: 18px; color: var(--muted); }
.account-nav a.active i { color: var(--ink); }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.account-card { background: var(--sand); padding: 26px; }
.account-card b { display: block; font-size: 32px; font-weight: 300; }
.account-card span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 16px 10px; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; padding: 4px 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; border-radius: 20px; white-space: nowrap; }
.status-warning { background: #fdf3e1; color: #9a6200; }
.status-info { background: #e8f0fb; color: #1f4f8f; }
.status-primary { background: #eee8fb; color: #5530a0; }
.status-success { background: #e6f3ea; color: #23633b; }
.status-danger { background: #fbe8e7; color: #9c2a21; }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 30px 0 40px; }
.timeline::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline .tl-progress { position: absolute; top: 15px; left: 0; height: 2px; background: var(--ink); }
.tl-step { position: relative; z-index: 1; text-align: center; font-size: 12px; color: var(--muted); flex: 1; }
.tl-step i { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 15px; }
.tl-step.done { color: var(--ink); }
.tl-step.done i { background: var(--ink); border-color: var(--ink); color: #fff; }

/* İçerik sayfaları */
.prose { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.prose h2 { font-size: 28px; font-weight: 400; margin: 40px 0 14px; color: var(--ink); }
.prose h3 { font-size: 20px; font-weight: 500; margin: 28px 0 10px; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { padding: 40px; background: #fff; }
.value-card i { font-size: 34px; color: var(--accent); }
.value-card h3 { font-size: 22px; font-weight: 400; margin: 18px 0 10px; }
.value-card p { color: var(--muted); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.contact-info-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-info-item i { font-size: 24px; color: var(--accent); }
.contact-info-item span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.map-frame { width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.1); display: block; }
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; }
.faq-cats a { padding: 10px 20px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.faq-cats a:hover { border-color: var(--ink); }
.size-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 14px; }
.size-table th, .size-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.size-table th { background: var(--sand); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); }
.modal-box { position: relative; background: #fff; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; padding: 44px; transform: translateY(20px); transition: transform .4s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal-box h3 { font-size: 26px; font-weight: 400; }
.lightbox .modal-box { max-width: 1000px; padding: 0; background: var(--sand); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }

/* Reveal animasyon */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .main-nav ul { gap: 18px; }
    .main-nav > ul > li > a { font-size: 11.5px; letter-spacing: .12em; }
}
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand, .footer-news { grid-column: span 3; }
    .footer-brand p { max-width: 560px; }
}
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    :root { --header-h: 64px; }
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; justify-self: start; }
    .logo { font-size: 22px; }
    .logo small { font-size: 8px; margin-top: 5px; }
    .section { padding-top: 80px; padding-bottom: 80px; }
    .shop-layout { grid-template-columns: 1fr; gap: 0; }
    .filter-toggle { display: inline-flex; }
    .filters { position: fixed; top: 0; left: 0; bottom: 0; width: 340px; max-width: 90vw; max-height: none; background: #fff; z-index: 95; padding: 0 24px 24px; transform: translateX(-100%); transition: transform .5s var(--ease); }
    .filters.open { transform: none; }
    .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .gallery { position: static; }
    .editorial { grid-template-columns: 1fr; }
    .editorial-media { min-height: 520px; }
    .cart-layout, .account-layout { grid-template-columns: 1fr; gap: 40px; }
    .account-nav { position: static; }
    .reviews-layout, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-media { display: none; }
    .usp-grid { grid-template-columns: 1fr 1fr; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
    .values { grid-template-columns: 1fr; }
    .mega { display: none; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    body { font-size: 14.5px; }
    .hide-sm { display: none; }
    .icon-btn { width: 38px; height: 38px; font-size: 20px; }
    .header-actions { gap: 0; }
    /* ===================== MOBİL HERO =====================
       MASAÜSTÜYLE AYNI DAVRANIŞ: fotoğraf çerçeveyi doldurur (cover),
       karartma gradyanı üstünde, yazılar dikey ortada. Boş/siyah alan YOK.

       Masaüstünden tek farkı ölçüler: kutu biraz daha az dikey tutuldu
       (4/5 yerine 100vh değil), fazladan zoom kapatıldı ve yazı boyutları
       küçültüldü. Böylece yatay fotoğraflarda kırpma en aza iner.

       NOT: yatay fotoğrafı dikey ekranda çerçeveyi doldurarak göstermek
       kaçınılmaz olarak yanlardan kırpar — bu cover'ın tanımı. Kırpmayı
       tamamen bitirmek için slayt başına DİKEY mobil görseli gerekir. */
    /* KESİN yükseklik. aspect-ratio + height:auto denenmişti ama Swiper
       slaytlara kendi stilini verdiği için "height:100%" belirsiz bir
       ebeveyne çarpıyor ve mutlak konumlu görsel kutudan YUKARI taşıyordu.
       Özgün kuralın biçimi (tek bir uzunluk) korunur.
       Bu blok 768px'e kadar geçerlidir (tablet dahil). Tablette YATAY görsel
       kullanıldığı için kutu da daha yatay tutulur. Telefon ölçüsü (≤600px)
       aşağıda ayrıca ele alınır. */
    .hero {
        height: clamp(430px, 78vw, 70vh);
        min-height: 0;
        max-height: none;
    }

    .hero-slide img {
        object-fit: cover;          /* çerçeveyi doldurur — boş alan yok */
        object-position: center;
        transform: none;            /* masaüstündeki 1.12 zoom mobilde kapalı:
                                       kırpmayı gereksiz yere artırıyordu */
    }
    /* Gradyan: masaüstündeki yatay geçişin mobil karşılığı. Yazılar dikey
       ortada olduğu için alttan ve soldan hafif karartma yeter. */
    .hero-slide::after {
        background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 35%, rgba(0,0,0,.62) 100%),
                    linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 60%, transparent 100%);
    }
    .hero-slide.theme-light::after {
        background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.16) 35%, rgba(0,0,0,.58) 100%),
                    linear-gradient(90deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
    }

    /* Yazılar masaüstündeki gibi dikey ortada */
    .hero-inner { align-items: center; }
    .hero-content { max-width: none; }
    .hero-content .eyebrow { font-size: 10px; letter-spacing: .22em; }
    .hero-content h1 {
        font-size: clamp(28px, 7.4vw, 38px);   /* önce 46px'e kadar çıkıyordu */
        line-height: 1.02;
        margin-bottom: 12px;
    }
    .hero-content p {
        font-size: 14px; line-height: 1.55; margin-bottom: 20px; max-width: 30ch;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-content .actions { gap: 10px; }
    .hero-content .actions .btn { height: 46px; padding: 0 18px; font-size: 13px; }

    .hero-nav, .scroll-hint { display: none; }
    .hero-ui { bottom: 20px; }
    .hero-pagination { justify-content: center; width: 100% !important; }
    .hero-pagination .swiper-pagination-bullet { width: 34px; }
    .section { padding-top: 64px; padding-bottom: 64px; }
    .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; gap: 16px; }
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-card:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
    .cat-info { left: 16px; right: 16px; bottom: 16px; }
    .cat-info h3 { font-size: 20px; }
    .cat-info .arrow { display: none; }
    .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
    .pc-quick { display: none; }
    .pc-title { font-size: 14px; }
    .pc-fav { width: 34px; height: 34px; top: 8px; right: 8px; font-size: 16px; }
    .pc-badges { top: 8px; left: 8px; }
    .duo { grid-template-columns: 1fr; }
    .duo-text { left: 22px; bottom: 22px; }
    .editorial-text { padding: 60px 20px; }
    .editorial-stats { gap: 26px; }
    .editorial-stats b { font-size: 30px; }
    .usp-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand, .footer-news { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .gallery-thumbs button { width: 70px; flex: none; }
    .pd-perks { grid-template-columns: 1fr; }
    .cart-table thead { display: none; }
    .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--line); padding: 18px 0; }
    .cart-table td { border: 0; padding: 0; }
    .cart-table td:first-child { grid-column: 1/-1; }
    .cart-table td.hide-sm-cell { display: none; }
    .cart-prod img { width: 80px; height: 96px; }
    .summary { padding: 26px 20px; position: static; }
    .shop-toolbar { flex-wrap: wrap; }
    .view-toggle { display: none; }
    .product-grid.list-view { grid-template-columns: 1fr 1fr; }
    .product-grid.list-view .product-card { display: block; border: 0; padding: 0; }
    .account-cards { grid-template-columns: 1fr; }
    .order-box-head { grid-template-columns: 1fr 1fr; }
    .checkout-steps { gap: 16px; font-size: 10px; }
    .checkout-steps span { flex-direction: column; gap: 6px; }
    .modal-box { padding: 30px 20px; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 24px; }
    .to-top { right: 20px; bottom: 80px; }
    .toast-wrap { left: 16px; right: 16px; top: 16px; }
    .toast { min-width: 0; max-width: none; }
    .search-form input { font-size: 19px; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
    .text-marquee { padding: 18px 0; }
    .testimonial { padding: 28px; }
    .testimonial blockquote { font-size: 20px; }
    .timeline { font-size: 10px; }
    .tl-step span { display: none; }
    .sticky-atc .btn { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1180px) {
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; justify-self: start; }
}
.badge-campaign { background: var(--accent); color: #fff; }

/* ---------- Ödeme adımları (v2) ---------- */
.checkout-steps a { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.checkout-steps a b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }
.co-next-info { display: flex; gap: 10px; align-items: center; padding: 16px 18px; background: var(--sand); font-size: 13.5px; color: var(--muted); }
.co-next-info i { font-size: 20px; color: var(--success); }
.address-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border: 1px solid var(--line); padding: 20px 22px; margin-bottom: 36px; font-size: 14px; line-height: 1.7; background: #fcfbf9; }
.card-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.card-wrap .card-preview { margin: 0; max-width: none; }
.installments { margin-top: 6px; }
.inst-row { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); margin-top: -1px; cursor: pointer; font-size: 14px; }
.inst-row:has(input:checked) { border-color: var(--ink); background: #fcfbf9; position: relative; z-index: 1; }
.inst-row input { accent-color: var(--ink); }
.secure-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.secure-badges i { color: var(--success); margin-right: 4px; }
@media (max-width: 900px) { .card-wrap { grid-template-columns: 1fr; } .card-wrap .card-preview { max-width: 320px; } }
.dc-camp { display: flex; justify-content: space-between; font-size: 13px; color: var(--success); margin-bottom: 6px; }
.camp-hints { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sand-2); display: grid; gap: 6px; font-size: 13px; }
.camp-hints b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.camp-hints span { color: var(--accent); }

/* Logo görseli */
.logo-img { height: 54px; max-width: 260px; width: auto; object-fit: contain; display: block; transition: height .3s var(--ease); }
.site-header.scrolled .logo-img { height: 44px; }
.logo-img-light { height: 58px; max-width: 260px; }
.footer-brand .logo { margin-bottom: 30px; }
@media (max-width: 1024px) { .logo-img { height: 36px; max-width: 170px; } .site-header.scrolled .logo-img { height: 32px; } }
@media (max-width: 480px) { .logo-img { height: 30px; max-width: 140px; } }

/* ---------- Açılış popup ---------- */
.promo-popup { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.promo-popup.open { opacity: 1; visibility: visible; }
.pp-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(3px); }
.pp-box { position: relative; background: #fff; width: 100%; max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(30px) scale(.97); transition: transform .55s var(--ease); max-height: 92vh; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.25); }
.promo-popup.open .pp-box { transform: none; }
.pp-media { display: block; position: relative; min-height: 420px; background: var(--sand); }
.pp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-body { padding: 54px 46px 40px; display: flex; flex-direction: column; justify-content: center; text-align: center; overflow-y: auto; }
.pp-body h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.pp-body p { color: var(--muted); margin-bottom: 24px; }
.pp-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.pp-coupon { display: flex; justify-content: space-between; align-items: center; border: 1.5px dashed var(--accent); background: #fcf8f3; padding: 14px 18px; margin-bottom: 18px; width: 100%; transition: background .2s; }
.pp-coupon span { font-size: 20px; letter-spacing: .18em; font-weight: 600; color: var(--accent); }
.pp-coupon small { font-size: 12px; color: var(--muted); }
.pp-coupon.copied { background: #e9f4ed; border-color: var(--success); }
.pp-news { display: flex; gap: 8px; margin-bottom: 14px; }
.pp-news input { flex: 1; height: 42px; border: 1px solid var(--line); padding: 0 14px; outline: 0; }
.pp-dismiss { margin-top: 14px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.layout-image .pp-box { grid-template-columns: 1fr; max-width: 560px; }
.layout-image .pp-media { min-height: 0; aspect-ratio: 1; }
.layout-center .pp-box { grid-template-columns: 1fr; max-width: 500px; }
.layout-center .pp-media { min-height: 0; aspect-ratio: 16/10; }
.layout-center .pp-body { padding: 34px 38px; }
@media (max-width: 720px) {
    .pp-box { grid-template-columns: 1fr; max-width: 420px; }
    .pp-media { min-height: 0; aspect-ratio: 16/11; }
    .pp-body { padding: 28px 24px 24px; }
}
.return-box { margin-top: 26px; border: 1px solid var(--line); padding: 18px 22px; }
.return-box summary { cursor: pointer; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; list-style: none; display: flex; gap: 10px; align-items: center; }
.return-box summary::-webkit-details-marker { display: none; }
.card-wrap .card-preview .num { font-size: 17px; letter-spacing: .08em; white-space: nowrap; }
.address-card .eyebrow { display: block; }

/* ---------- Renk varyantları ---------- */
.pc-swatches { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.pc-swatches .sw { width: 34px; height: 42px; border: 1px solid var(--line); background: var(--sand); padding: 2px; position: relative; transition: border-color .2s; display: block; }
.pc-swatches .sw img { width: 100%; height: 100%; object-fit: cover; }
.pc-swatches .sw:hover { border-color: var(--muted); }
.pc-swatches .sw.active { border-color: var(--ink); }
.pc-swatches .sw.oos::after, .pd-color-sw.oos::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(17,17,17,.45); transform: rotate(40deg); }
.pc-swatches .sw.oos img, .pd-color-sw.oos img { opacity: .45; }
.pc-swatches .sw-more { font-size: 12px; color: var(--muted); min-width: 30px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); }
.pc-swatches .sw-count { font-size: 11.5px; color: var(--muted); margin-left: 2px; }
.pd-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-color-sw { width: 76px; text-align: center; position: relative; display: block; }
.pd-color-sw img { width: 76px; height: 92px; object-fit: cover; background: var(--sand); border: 1px solid var(--line); padding: 3px; transition: border-color .2s; }
.pd-color-sw span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-color-sw:hover img { border-color: var(--muted); }
.pd-color-sw.active img { border: 2px solid var(--ink); padding: 2px; }
.pd-color-sw.active span { color: var(--ink); font-weight: 500; }
@media (max-width: 768px) {
    .pc-swatches .sw { width: 26px; height: 32px; }
    .pc-swatches .sw:nth-child(n+5) { display: none; }
    .pc-swatches .sw-more { height: 32px; }
    .pd-color-sw, .pd-color-sw img { width: 64px; } .pd-color-sw img { height: 78px; }
}

/* ---------- Ürün kartı galeri animasyonu ---------- */
.pc-img { position: relative; overflow: hidden; }
.pc-slides { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.pc-media.g-active .pc-slides { opacity: 1; }
.pc-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.0); transition: opacity .7s var(--ease), transform 0s linear .7s; }
.pc-slides img.on { opacity: 1; transform: scale(1.07); transition: opacity .7s var(--ease), transform 4s cubic-bezier(.2,.6,.3,1); }
.product-card.has-gallery:hover .pc-img > img { transform: none; }
.pc-dots { position: absolute; z-index: 3; left: 12px; right: 12px; top: 8px; display: flex; gap: 4px; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; pointer-events: none; }
.pc-media.g-active .pc-dots { opacity: 1; transform: none; }
.pc-dots i { flex: 1; height: 2px; background: rgba(255,255,255,.45); border-radius: 2px; overflow: hidden; box-shadow: 0 0 3px rgba(0,0,0,.18); }
.pc-dots i b { display: block; height: 100%; width: 0; background: #fff; }
.pc-dots i.done b { width: 100%; }
.pc-dots i.run b { animation: pcDot var(--dur, 1300ms) linear forwards; }
.pc-media.g-touch .pc-dots i.run b { animation: none; width: 100%; }
@keyframes pcDot { to { width: 100%; } }
.has-gallery .pc-badges { top: 18px; }
.pc-gallery-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.9); font-size: 11px; padding: 3px 8px; letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce) { .pc-slides img.on { transform: none; } }

/* ---------- Ürün kartı: eylem alanı & kart görünümü ---------- */
.product-card { background: #fff; transition: box-shadow .4s var(--ease), transform .4s var(--ease); display: flex; flex-direction: column; height: 100%; }
.product-card .pc-body { padding: 14px 12px 16px; display: flex; flex-direction: column; flex: 1; }
.product-card:hover { box-shadow: 0 22px 48px -18px rgba(17,17,17,.22); transform: translateY(-3px); }
.product-card .pc-title { min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.pc-rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.pc-rating .stars { font-size: 12px; color: var(--accent); gap: 1px; }
.pc-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.pc-buy { flex: 1; height: 44px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; }
.pc-buy i { font-size: 16px; }
.pc-buy:hover, .product-card.qs-open .pc-buy { background: var(--ink); color: #fff; }
.pc-buy.added { background: var(--success); border-color: var(--success); color: #fff; }
.pc-buy.loading { opacity: .6; pointer-events: none; }
.pc-buy[disabled] { border-color: var(--line); color: #b9b3a9; cursor: not-allowed; background: #faf9f6; }
.pc-view { width: 44px; height: 44px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: none; transition: border-color .25s, background .25s; }
.pc-view:hover { border-color: var(--ink); background: var(--sand); }
/* Beden paneli: "Sepete Ekle"ye basınca açılır (mobilde de) */
.pc-quick { padding: 14px 14px 12px; }
.qs-close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted); }
.qs-close:hover { background: var(--sand); color: var(--ink); }
.qs-size { min-width: 38px; height: 34px; font-size: 13px; background: #fff; }
.product-card.qs-open .pc-quick { transform: none; box-shadow: 0 -10px 30px rgba(0,0,0,.08); }

/* TIKLAMA YUTMA (kullanıcı bildirdi, tarayıcıda ölçülerek doğrulandı):
   panel kapalıyken translateY ile aşağı kaydırılıyor ve kart BAŞLIĞININ
   üstünde duruyor. Görünmez olduğu hâlde tıklamaları yakaladığı için
   başlığa/karta basmak çalışmıyor, birkaç piksel yana kayınca çalışıyordu.
   Yalnız açıkken tıklama alır. */
.pc-quick { pointer-events: none; }
.product-card.qs-open .pc-quick { pointer-events: auto; }
.product-card.qs-open .pc-quick .qs-label { color: var(--ink); font-weight: 500; }
/* Liste görünümü */
.product-grid.list-view .product-card { flex-direction: row; height: auto; }
.product-grid.list-view .pc-actions { max-width: 320px; }
@media (max-width: 768px) {
    .pc-quick { display: block; }
    .product-card:not(.qs-open) .pc-quick { transform: translateY(calc(100% + 14px)); }
    .product-card:hover { transform: none; box-shadow: none; }
    .product-card .pc-body { padding: 10px 2px 12px; }
    .pc-buy { height: 38px; font-size: 10px; letter-spacing: .1em; gap: 6px; }
    .pc-buy i { font-size: 14px; }
    .pc-view { display: none; }
    .qs-size { min-width: 32px; height: 30px; font-size: 12px; }
}
.product-card:not(.qs-open):hover .pc-quick { transform: translateY(calc(100% + 14px)); }
.pc-cat { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Eşit yükseklikli ürün kartları ---------- */
/* Swiper slaytları varsayılan olarak içeriğe göre boylanır; height:auto ile
   flex kapsayıcı hepsini en uzun slayta eşitler, kart da height:100% ile doldurur. */
[data-product-slider] .swiper-slide { height: auto; }
.product-grid > * { min-width: 0; }

/* Koşullu blokların yer tutucuları: renk seçenekleri, kategori satırı ve puan */
.pc-swatches { min-height: 42px; }
.pc-rating { min-height: 18px; }
.pc-rating.is-empty { margin-top: 6px; }
.pc-cat { min-height: 1.45em; }

/* Liste görünümünde boş yer tutucular gereksiz boşluk yapmasın */
.product-grid.list-view .pc-swatches.is-empty,
.product-grid.list-view .pc-rating.is-empty { display: none; min-height: 0; }

@media (max-width: 768px) {
    .pc-swatches { min-height: 32px; }
}

/* Sezon fırsatları bölümünün üst başlığı indirim rengiyle */
[data-home-section="firsat"] .section-head .eyebrow { color: var(--sale); }
/* Instagram bölümünde link yoksa görseller span içinde basılır */
.insta-grid > span { position: relative; display: block; }

/* ===========================================================================
   YAPIMCI KÜNYESİ
   Koyu footer'ın en altında, telif satırının altında ayrı bir şerit.
   Sakin durur: öntanımlı olarak soluk, üzerine gelince aydınlanır ve
   alan adının altı çizilir. Tüm blok tek bağlantıdır.
   =========================================================================== */
.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 20px 0 26px;
    display: flex;
    justify-content: center;
}
.footer-credit > a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 2px;                       /* mağazanın keskin köşe dili */
    color: rgba(255, 255, 255, .42);
    transition: color .3s var(--ease), background .3s var(--ease);
}
.footer-credit > a:hover,
.footer-credit > a:focus-visible { color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .045); }
.footer-credit > a:focus-visible { outline: 1px solid rgba(255, 255, 255, .35); outline-offset: 2px; }

.credit-pre {
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .72;
}
/* Marka adı: mağazanın serif ailesiyle, künye bir imza gibi dursun */
.credit-name {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .035em;
    color: rgba(255, 255, 255, .78);
    transition: color .3s var(--ease);
}
.footer-credit > a:hover .credit-name { color: #fff; }

.credit-domain {
    font-size: 11px;
    letter-spacing: .07em;
    opacity: .6;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), opacity .3s var(--ease);
}
.credit-domain i { font-size: 12px; transition: transform .3s var(--ease); }
.footer-credit > a:hover .credit-domain { opacity: .95; border-bottom-color: rgba(255, 255, 255, .45); }
.footer-credit > a:hover .credit-domain i { transform: translate(2px, -2px); }

/* ===================== TELEFON: HERO KUTUSU 4/5 =====================
   Önerilen mobil görsel 1080×1350 (4:5). Kutu TAM aynı orana ayarlanır
   (125vw = 1/0.8), böylece o görsel yüklendiğinde cover hiçbir yeri
   kırpmaz. Tavan 82vh: 125vw'yi kısıtlayıp kırpmaya yol açmasın.
   Tablet bu blokta DEĞİL — orada yatay görsel kullanılıyor. */
@media (max-width: 600px) {
    /* --hero-mr yüklenen mobil görselin oranıdır (index.php basar).
       Kutu yüksekliği = genişlik / oran → görsel KIRPILMADAN ve BOŞLUK
       bırakmadan tam oturur. Değişken yoksa 4:5 varsayılanı kullanılır. */
    .hero { height: clamp(420px, 125vw, 82vh); }
    .hero[style*="--hero-mr"] {
        height: calc(100vw / var(--hero-mr));
        min-height: 0;
        max-height: none;
    }

    /* Yatay mobil görsel: kutu kısa ve geniş olur. O yükseklikte paragraf
       sığmaz; gizlenir, başlık ve düğme sıkıştırılır ki yazılar taşmasın. */
    .hero.hero-mw .hero-content p { display: none; }
    .hero.hero-mw .hero-content h1 {
        font-size: clamp(22px, 6vw, 30px);
        line-height: 1.04;
        margin-bottom: 10px;
    }
    .hero.hero-mw .hero-content .eyebrow { font-size: 9px; letter-spacing: .2em; margin-bottom: 6px; }
    .hero.hero-mw .hero-content .actions .btn { height: 40px; padding: 0 15px; font-size: 12px; }
    .hero.hero-mw .hero-inner { align-items: flex-end; padding-bottom: 46px; }
    /* Kısa kutuda gradyan alttan yoğunlaşsın: yazılar okunur kalsın */
    .hero.hero-mw .hero-slide::after {
        background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.8) 100%);
    }
    .hero.hero-mw .hero-ui { bottom: 12px; }
}

@media (max-width: 560px) {
    .footer-credit { padding: 16px 0 22px; }
    .footer-credit > a { gap: 4px; }
    .credit-pre { font-size: 9.5px; letter-spacing: .13em; }
    .credit-name { font-size: 15px; }
}

/* <picture> sarmalayıcısı, .hero-slide img kurallarını bozmamalı:
   img mutlak konumlu olduğu için picture'ın kendisi de kutuyu kaplar. */
.hero-slide picture { position: absolute; inset: 0; display: block; }
.hero-slide picture img { position: absolute; inset: 0; }

/* ===========================================================================
   FERİDE AI — ayakkabı öneri asistanı
   Sağ altta yuvarlak simge + her zaman görünen çağrı balonu; tıklanınca
   sohbet paneli açılır. Masaüstünde yüzen panel, telefonda tam ekran sayfa.
   =========================================================================== */
.ai-launcher { position: fixed; z-index: 132; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; }

/* --- Çağrı balonu: simgenin solunda, her zaman görünür --- */
.ai-nudge {
    position: relative; background: var(--ink); color: #fff; padding: 11px 34px 11px 15px;
    border-radius: 2px; box-shadow: 0 14px 34px rgba(17,17,17,.22);
    max-width: 232px; animation: aiNudgeIn .6s var(--ease) both .9s;
}
.ai-nudge::after {
    content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px;
    background: var(--ink); transform: translateY(-50%) rotate(45deg);
}
.ai-nudge b { display: block; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.ai-nudge span { display: block; font-size: 11px; opacity: .62; line-height: 1.4; margin-top: 2px; }
.ai-nudge-x {
    position: absolute; top: 5px; right: 6px; width: 20px; height: 20px; border: 0;
    background: none; color: rgba(255,255,255,.5); font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.ai-nudge-x:hover { color: #fff; background: rgba(255,255,255,.12); }
.ai-nudge.gone { display: none; }
@keyframes aiNudgeIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* --- Yuvarlak simge --- */
.ai-fab {
    position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; flex: none;
    background: var(--ink); color: #fff; font-size: 26px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(17,17,17,.3);
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.ai-fab:hover { transform: scale(1.07); background: var(--accent); }
.ai-fab i { position: relative; z-index: 2; }
/* Dikkat çeken yumuşak halka — sonsuz değil, 6 tur sonra durur.
   pointer-events: none ZORUNLU: halka scale(1.75) ile büyüyüp 105px'e kadar
   çıkıyor ve görünmez olduğu hâlde tıklamaları yakalıyordu; altındaki hero
   slider okunu tamamen tıklanamaz yapmıştı. Süslemedir, tıklama almamalı. */
.ai-fab-ring {
    position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent-2);
    animation: aiRing 2.6s var(--ease) 6; opacity: 0;
    pointer-events: none;
}
@keyframes aiRing {
    0% { transform: scale(1); opacity: .55; }
    70%, 100% { transform: scale(1.75); opacity: 0; }
}
.ai-launcher.open .ai-fab { background: var(--accent); }
/* NOT: kapanma ikonu JS'te sınıf değiştirilerek yapılır (ri-close-line).
   Eskiden burada sabit bir font kod noktası vardı; Remix Icon sürümü
   değişince yanlış simge çıkma riski taşıyordu. */
.ai-launcher.open .ai-fab { transform: rotate(90deg); }
.ai-launcher.open .ai-fab:hover { transform: rotate(90deg) scale(1.07); }

/* --- Panel --- */
.ai-panel {
    position: fixed; z-index: 133; right: 24px; bottom: 100px;
    width: 390px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 150px);
    background: #fff; border: 1px solid var(--line); border-radius: 2px;
    box-shadow: 0 28px 70px rgba(17,17,17,.24);
    display: flex; flex-direction: column; overflow: hidden;
    animation: aiPanelIn .32s var(--ease) both;
}
.ai-panel[hidden] { display: none; }
@keyframes aiPanelIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.ai-head { display: flex; align-items: center; gap: 11px; padding: 14px 14px 13px; border-bottom: 1px solid var(--line); flex: none; }
.ai-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex;
    align-items: center; justify-content: center; font-size: 19px;
    background: var(--ink); color: #fff;
}
.ai-head-t { flex: 1; min-width: 0; }
.ai-head-t b { display: block; font-size: 14px; letter-spacing: .04em; }
.ai-head-t small { color: var(--muted); font-size: 11px; }
.ai-head-btn {
    width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 17px;
    cursor: pointer; border-radius: 2px; display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
}
.ai-head-btn:hover { background: var(--sand); color: var(--ink); }

.ai-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; background: var(--sand); }

/* --- Mesaj baloncukları --- */
.ai-msg { max-width: 88%; font-size: 13.5px; line-height: 1.6; animation: aiMsgIn .3s var(--ease) both; }
@keyframes aiMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ai-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 12px 14px; }
.ai-msg.me  { align-self: flex-end; background: var(--ink); color: #fff; padding: 10px 14px; max-width: 80%; }
.ai-msg.bot b { color: var(--ink); font-weight: 500; }
.ai-hint { align-self: flex-start; max-width: 92%; font-size: 11.5px; color: var(--muted); line-height: 1.55; padding: 0 2px; }

/* --- Seçenek çipleri --- */
.ai-opts { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; max-width: 100%; }
.ai-opt {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px;
    background: #fff; border: 1px solid var(--line); border-radius: 2px;
    font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; text-align: left;
    transition: border-color .2s, background .2s, transform .15s var(--ease);
}
.ai-opt:hover { border-color: var(--ink); background: var(--sand-2); }
.ai-opt:active { transform: scale(.97); }
.ai-opt i { font-size: 15px; color: var(--muted); }
.ai-opt:hover i { color: var(--ink); }
.ai-opt small { color: var(--muted); font-size: 10.5px; }
.ai-sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(17,17,17,.18); flex: none; }

/* --- Ürün kartları --- */
.ai-cards { display: flex; flex-direction: column; gap: 9px; align-self: stretch; }
.ai-card {
    display: flex; gap: 11px; background: #fff; border: 1px solid var(--line);
    padding: 10px; text-align: left; transition: border-color .25s, box-shadow .25s;
    animation: aiMsgIn .34s var(--ease) both;
}
.ai-card:hover { border-color: var(--ink); box-shadow: 0 8px 22px rgba(17,17,17,.08); }
.ai-card img { width: 74px; height: 92px; object-fit: cover; flex: none; background: var(--sand-2); }
.ai-card-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ai-card-t b {
    font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ai-card-why { font-size: 10.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.ai-card-sizes { font-size: 10px; color: var(--muted); margin-top: 3px; }
.ai-card-p { margin-top: auto; display: flex; align-items: baseline; gap: 7px; padding-top: 6px; }
.ai-card-p strong { font-size: 14px; font-weight: 500; color: var(--ink); }
.ai-card-p s { font-size: 11px; color: var(--muted); }
.ai-card-go { font-size: 11px; color: var(--accent); white-space: nowrap; }

/* --- Yazıyor göstergesi --- */
.ai-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: aiDot 1.3s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .18s; }
.ai-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes aiDot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* --- Alt kısım --- */
.ai-foot { flex: none; border-top: 1px solid var(--line); padding: 10px 12px 12px; background: #fff; }
.ai-form { display: flex; gap: 8px; }
.ai-form input {
    flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 2px;
    padding: 0 12px; font: inherit; font-size: 13px; background: var(--sand); outline: 0;
    transition: border-color .2s, background .2s;
}
.ai-form input:focus { border-color: var(--ink); background: #fff; }
.ai-form button {
    width: 42px; height: 42px; flex: none; border: 0; border-radius: 2px;
    background: var(--ink); color: #fff; font-size: 18px; cursor: pointer;
    transition: background .2s;
}
.ai-form button:hover { background: var(--accent); }
.ai-human {
    display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 9px;
    font-size: 11.5px; color: var(--muted); transition: color .2s;
}
.ai-human:hover { color: #25d366; }
.ai-human i { font-size: 15px; }

/* --- Telefon: tam ekran sayfa --- */
@media (max-width: 600px) {
    .ai-launcher { right: 16px; bottom: 16px; gap: 9px; }
    .ai-fab { width: 54px; height: 54px; font-size: 23px; }
    .ai-nudge { max-width: 180px; padding: 9px 30px 9px 12px; }
    .ai-nudge b { font-size: 12px; }
    .ai-nudge span { font-size: 10px; }

    .ai-panel {
        right: 0; left: 0; bottom: 0; top: 0;
        width: auto; max-width: none; height: auto; max-height: none;
        border: 0; animation: aiSheetIn .3s var(--ease) both;
    }
    @keyframes aiSheetIn { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
    .ai-head { padding-top: calc(14px + env(safe-area-inset-top)); }
    .ai-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .ai-msg { max-width: 92%; font-size: 14px; }
    .ai-card img { width: 82px; height: 102px; }
    /* Panel açıkken simge gizlenir: tam ekranda üstte durması anlamsız */
    body.ai-open .ai-launcher { display: none; }
    body.ai-open { overflow: hidden; }
}

/* Panel açıkken "yukarı çık" düğmesi gizlenir: masaüstünde panelin altında
   ince bir şerit olarak görünüyordu (z-50 panelin z-61'inin altında kalıyor),
   telefonda ise tam ekran panelin üstünde durması anlamsız. */
body.ai-open .to-top { opacity: 0; pointer-events: none; }

/* KATMAN SORUNU (kullanıcı bildirdi, gerçek tarayıcıda doğrulandı):
   açılış popup'ı z-130 ve karartması inset:0 ile tüm ekranı kaplıyordu;
   AI parçacığı z-60/61 olduğu için hem simgeye hem panelin X'ine yapılan
   tıklamaları popup yutuyordu — "X'e basınca kapanmıyor" hatasının sebebi
   buydu. Parçacık 132/133'e çıkarıldı; ayrıca sohbet açıkken popup hiç
   görünmez (sohbet kapanınca yeniden görünebilir). */
body.ai-open .promo-popup { display: none; }

/* Sayfanın en dibinde iki SABİT denetim footer künyesinin üstüne geliyor ve
   bağlantıyı tıklanamaz yapıyordu (telefonda ölçüldü):
     · FERİDE AI düğmesi  → alttan 16-70px
     · "yukarı çık"       → alttan 80-124px
   Künye ikisini de aşacak kadar yukarıda kalmalı. */
@media (max-width: 600px) {
    .footer-credit { padding-bottom: 134px; }
}
@media (min-width: 601px) {
    /* Masaüstünde düğmeler alttan 24-84px ve 94-138px'te duruyor. */
    .footer-credit { padding-bottom: 150px; }
}

/* Hareketi azalt tercihine saygı */
@media (prefers-reduced-motion: reduce) {
    .ai-fab-ring { animation: none; }
    .ai-nudge, .ai-panel, .ai-msg, .ai-card { animation-duration: .01ms !important; }
}
