/*!
 * Geliştirici: hello@halilcan.dev
 */
:root {
    --t-ana: var(--gy-turuncu, #E8641B);
    --t-ana-koyu: #c4520f;
    --t-ikincil: var(--gy-lacivert, #14283C);
    --t-vurgu: var(--gy-damga, #B3261E);
    --t-zemin: var(--gy-kagit, #F4EFE6);
    --t-yuzey: #fffdf8;
    --t-yuzey-2: #f6f0e4;
    --t-cizgi: rgba(20, 40, 60, .16);
    --t-yazi: var(--gy-yazi, #1d2b38);
    --t-yazi-2: #4a3a2a;
    --t-yazi-soluk: #7a6650;
    --t-basari: #1f7a3d; --t-basari-acik: #e4f2e7;
    --t-uyari: #9a5b00;  --t-uyari-acik: #fdf0d8;
    --t-tehlike: #b3261e; --t-tehlike-acik: #fbe6e4;
    --t-bilgi: #14283C;  --t-bilgi-acik: #e6edf4;
    --t-baslik-font: var(--gy-baslik-font, 'Arial Black', sans-serif);
    --t-dar-font: var(--gy-dar-font, 'Arial Narrow', sans-serif);
    --t-fiyat-font: var(--t-dar-font); /* fiyatlar (admin > Tema ayarları > Yazı tipleri) */
}

/* ---------- Sayfa iskeleti ---------- */
.t-yol { padding: 12px 0; border-bottom: 2px dashed var(--t-cizgi); font-size: 14px; font-weight: 600; color: var(--t-yazi-soluk); }
.t-yol ol, .t-yol nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.t-yol a { color: var(--t-yazi-2); text-decoration: none; }
.t-yol a:hover { color: var(--t-vurgu); }
.t-yol [aria-current] { color: var(--t-ikincil); }
.t-sayfa-baslik { font-family: var(--t-baslik-font); font-weight: 400; color: var(--t-ikincil); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin: 0; }
.t-sayfa-aciklama { color: var(--t-yazi-2); font-size: 15px; line-height: 1.6; margin-top: 6px; }
.t-bolum-baslik {
    display: inline-block; background: url('../assets/ui/baslik-bant.webp') center / 100% 100% no-repeat;
    padding: 10px 40px 10px 28px; font-family: var(--t-baslik-font); font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: #2b1d10; transform: rotate(-1deg); margin: 0;
}

/* ---------- Panel (kutu): formlar, özetler, bilgi alanları ---------- */
.t-panel {
    background: var(--t-zemin) url('../assets/ui/etiket-kagit.webp') center / 100% 100%;
    border-radius: 3px; box-shadow: 0 2px 6px rgba(60, 40, 20, .22); padding: 20px; position: relative;
}
.t-panel-baslik {
    margin: -20px -20px 16px; padding: 10px 18px; background: url('../assets/ui/baslik-bant.webp') center / 100% 100% no-repeat;
    font-family: var(--t-dar-font); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #2b1d10;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.t-panel-baslik a, .t-panel-baslik button { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--t-vurgu); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.t-ayrac { border: 0; border-top: 2px dashed var(--t-cizgi); margin: 16px 0; }

/* ---------- Düğmeler ---------- */
.t-btn, .t-btn-ikincil {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 22px;
    border-style: solid; border-radius: 0; background: transparent; cursor: pointer; text-decoration: none;
    font-family: var(--t-dar-font); font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase;
    transition: transform .12s ease;
}
.t-btn { border-image: url('../assets/ui/btn-ana.webp') 44 fill / 10px stretch; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.t-btn:hover { border-image-source: url('../assets/ui/btn-ana-basili.webp'); transform: translateY(1px); color: #fff; }
.t-btn-ikincil { border-image: url('../assets/ui/btn-kraft.webp') 40 fill / 12px stretch; color: #1b1209; }
.t-btn-ikincil:hover { border-image-source: url('../assets/ui/btn-kraft-hover.webp'); color: var(--t-vurgu); }
.t-btn:disabled, .t-btn-ikincil:disabled, .t-btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; transform: none; }
.t-btn-tam { width: 100%; }
.t-btn-kucuk { min-height: 34px; padding: 5px 14px; font-size: 14px; }
.t-btn-ikon {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; cursor: pointer;
    background: transparent url('../assets/ui/btn-ikon.webp') center / 100% 100% no-repeat; color: #3d2a17; text-decoration: none;
}
.t-btn-ikon:hover { color: var(--t-vurgu); transform: rotate(-4deg); }
.t-baglanti { color: var(--t-ikincil); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.t-baglanti:hover { color: var(--t-vurgu); }

/* ---------- Form ---------- */
.t-alan { display: block; margin-bottom: 14px; }
.t-alan > span:first-child { display: block; font-family: var(--t-dar-font); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--t-ikincil); margin-bottom: 6px; }
.t-alan small { display: block; font-size: 12.5px; color: var(--t-yazi-soluk); margin-top: 4px; }
.t-zorunlu { color: var(--t-vurgu); font-style: normal; }
.t-girdi, .t-alan input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .t-alan select, .t-alan textarea {
    width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--t-yazi);
    background: rgba(255, 255, 255, .78); border: 1px solid rgba(60, 40, 20, .28); border-radius: 2px; outline: 0;
}
.t-alan textarea { min-height: 110px; resize: vertical; }
.t-girdi:focus, .t-alan input:focus, .t-alan select:focus, .t-alan textarea:focus { border-color: var(--t-ana); box-shadow: 0 0 0 3px rgba(232, 100, 27, .18); background: #fff; }
.t-alan-hata input, .t-alan-hata select, .t-alan-hata textarea { border-color: var(--t-tehlike); }
.t-secim { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--t-yazi); cursor: pointer; margin-bottom: 10px; line-height: 1.5; }
.t-secim input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--t-ana); flex-shrink: 0; }
.t-form-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 16px; }

/* ---------- Bildirim kutuları ve rozetler ---------- */
.t-uyari { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-left: 4px solid var(--t-uyari); background: var(--t-uyari-acik); color: var(--t-uyari); font-size: 14px; line-height: 1.5; border-radius: 2px; }
.t-uyari-bilgi { border-color: var(--t-bilgi); background: var(--t-bilgi-acik); color: var(--t-bilgi); }
.t-uyari-basari { border-color: var(--t-basari); background: var(--t-basari-acik); color: var(--t-basari); }
.t-uyari-hata { border-color: var(--t-tehlike); background: var(--t-tehlike-acik); color: var(--t-tehlike); }
.t-uyari i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.t-rozet { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; font-family: var(--t-dar-font); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; background: var(--t-yuzey-2); color: var(--t-yazi-2); border: 1px dashed rgba(60, 40, 20, .35); }
.t-rozet-basari { background: var(--t-basari-acik); color: var(--t-basari); border-color: var(--t-basari); }
.t-rozet-uyari { background: var(--t-uyari-acik); color: var(--t-uyari); border-color: var(--t-uyari); }
.t-rozet-tehlike { background: var(--t-tehlike-acik); color: var(--t-tehlike); border-color: var(--t-tehlike); }
.t-rozet-bilgi { background: var(--t-bilgi-acik); color: var(--t-bilgi); border-color: var(--t-bilgi); }

/* ---------- Fiyat ---------- */
.t-fiyat { font-family: var(--t-fiyat-font); font-weight: 700; color: var(--t-ikincil); font-size: 1.9rem; line-height: 1; }
.t-fiyat-kucuk { font-size: 1.25rem; }
.t-eski-fiyat { font-family: var(--t-fiyat-font); color: var(--t-yazi-soluk); text-decoration: line-through; text-decoration-color: var(--t-vurgu); text-decoration-thickness: 2px; font-size: 1.05rem; }
.t-fiyat-not { font-size: 13px; color: var(--t-yazi-soluk); }
.t-teklif { font-family: var(--t-baslik-font); color: var(--t-ikincil); font-size: 1.5rem; line-height: 1.2; }

/* ---------- Tablo ---------- */
.t-tablo-sar { overflow-x: auto; }
.t-tablo { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--t-yazi); }
.t-tablo th { text-align: left; font-family: var(--t-dar-font); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--t-ikincil); padding: 10px 12px; border-bottom: 2px solid rgba(20, 40, 60, .25); }
.t-tablo td { padding: 11px 12px; border-bottom: 1px dashed var(--t-cizgi); vertical-align: middle; }
.t-tablo tr:last-child td { border-bottom: 0; }
.t-tablo .sag { text-align: right; }
.t-tablo-bilgi td:first-child { font-weight: 700; color: var(--t-yazi-2); width: 38%; }

/* ---------- Sekmeler ---------- */
.t-sekmeler { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px dashed var(--t-cizgi); margin-bottom: 16px; }
.t-sekmeler > a, .t-sekmeler > button {
    padding: 10px 16px; font-family: var(--t-dar-font); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .03em;
    color: var(--t-yazi-soluk); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; text-decoration: none;
}
.t-sekmeler > .aktif, .t-sekmeler > [aria-selected=true] { color: var(--t-ikincil); border-bottom-color: var(--t-ana); }

/* ---------- Boş durum ---------- */
.t-bos { text-align: center; padding: 40px 20px; color: var(--t-yazi-2); }
.t-bos > i { font-size: 48px; color: var(--t-yazi-soluk); display: block; margin-bottom: 10px; }
.t-bos h2, .t-bos h3 { font-family: var(--t-baslik-font); font-weight: 400; color: var(--t-ikincil); font-size: 1.5rem; margin: 0 0 6px; }

/* ---------- Adım göstergesi (sipariş) ---------- */
.t-adimlar { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0 0 20px; padding: 0; }
.t-adimlar li { display: flex; align-items: center; gap: 8px; font-family: var(--t-dar-font); font-weight: 700; text-transform: uppercase; color: var(--t-yazi-soluk); font-size: 15px; }
.t-adimlar li span { width: 28px; height: 28px; display: grid; place-items: center; border: 2px dashed currentColor; border-radius: 50%; }
.t-adimlar li.aktif { color: var(--t-ikincil); }
.t-adimlar li.aktif span { background: var(--t-ana); border-color: var(--t-ana); color: #fff; border-style: solid; }
.t-adimlar li.tamam { color: var(--t-basari); }

/* ---------- Galeri ve ürün detayı ---------- */
.t-galeri-ana { background: var(--t-yuzey) url('../assets/ui/etiket-kagit.webp') center / 100% 100%; box-shadow: 0 2px 6px rgba(60, 40, 20, .2); padding: 12px; }
.t-galeri-kucuk { border: 2px solid transparent; background: var(--t-yuzey); cursor: pointer; }
.t-galeri-kucuk.aktif, .t-galeri-kucuk:hover { border-color: var(--t-ana); }
.t-adet { display: inline-flex; align-items: stretch; border: 1px solid rgba(60, 40, 20, .3); background: rgba(255, 255, 255, .8); }
.t-adet button { width: 40px; border: 0; background: transparent; font-size: 18px; cursor: pointer; color: var(--t-ikincil); }
.t-adet button:hover { background: var(--t-yuzey-2); }
.t-adet input, .t-adet span { width: 52px; text-align: center; border: 0; background: transparent; font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.t-secenek { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid rgba(60, 40, 20, .3); background: rgba(255, 255, 255, .8); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--t-yazi); }
.t-secenek:hover { border-color: var(--t-ana); color: var(--t-ana-koyu); }
.t-secenek.active, .t-secenek.aktif { border-color: var(--t-ana); color: var(--t-ana-koyu); background: #fff7ed; box-shadow: inset 0 0 0 1px var(--t-ana); font-weight: 700; }
.t-secenek.tukendi { color: #9ca3af; text-decoration: line-through; background: #f9fafb repeating-linear-gradient(135deg, transparent 0 6px, rgba(156, 163, 175, .18) 6px 7px); }

/* ---------- liste: t-sayfalama (ürün listelerinde sayfa numaraları) ---------- */
.t-sayfalama { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; }
.t-sayfalama > a, .t-sayfalama > span {
    display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; box-sizing: border-box;
    font-family: var(--t-dar-font); font-weight: 700; font-size: 16px; color: var(--t-yazi); text-decoration: none;
    border: 1px solid rgba(60, 40, 20, .3); background: rgba(255, 255, 255, .8);
}
.t-sayfalama > a:hover { border-color: var(--t-ana); color: var(--t-ana-koyu); }
.t-sayfalama > [aria-current], .t-sayfalama > .aktif { background: var(--t-ana); border-color: var(--t-ana); color: #fff; }
.t-sayfalama > .t-sayfalama-bosluk { border-color: transparent; background: none; color: var(--t-yazi-soluk); min-width: 24px; padding: 0; }

/* ---------- liste: t-cip (seçili filtre etiketi; × ile kaldırılır) ---------- */
.t-cip {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px; box-sizing: border-box;
    font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--t-ikincil); text-decoration: none;
    background: rgba(255, 255, 255, .75); border: 1px dashed var(--t-ana); border-radius: 2px;
}
.t-cip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.t-cip > i { font-size: 11px; color: var(--t-vurgu); flex-shrink: 0; }
.t-cip:hover { background: var(--t-ana); border-color: var(--t-ana); border-style: solid; color: #fff; }
.t-cip:hover > i { color: #fff; }

/* ---------- liste: t-sayi (filtre seçeneğinin yanındaki adet) ---------- */
.t-sayi { margin-left: auto; flex-shrink: 0; min-width: 24px; padding: 0 6px; text-align: center; font-size: 12px; font-weight: 700; line-height: 20px; color: var(--t-yazi-soluk); background: rgba(20, 40, 60, .07); border-radius: 2px; }

/* ---------- liste: t-baglanti düğme olarak (Tamamını gör vb.) ---------- */
button.t-baglanti { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* ---------- liste: t-cekmece (filtre kenar paneli; mobilde soldan açılır, masaüstünde yerinde) ---------- */
.t-perde { position: fixed; inset: 0; z-index: 75; background: rgba(20, 15, 10, .5); }
.t-cekmece-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px dashed var(--t-cizgi); font-family: var(--t-dar-font); font-weight: 700; font-size: 20px; color: var(--t-ikincil); }
@media (max-width: 767.98px) {
    .t-cekmece {
        position: fixed; top: 0; bottom: 0; left: 0; z-index: 80; width: 86%; max-width: 360px; box-sizing: border-box;
        padding: 16px 14px 32px; overflow-y: auto; background: var(--t-zemin); box-shadow: 4px 0 24px rgba(20, 15, 10, .35);
        transform: translateX(-105%); visibility: hidden; transition: transform .25s ease, visibility .25s;
    }
    .t-cekmece.acik { transform: none; visibility: visible; }
}
@media (min-width: 768px) {
    .t-cekmece-ust, .t-perde { display: none !important; }
}

/* ---------- icerik: t-odak (giriş, kayıt, şifre ve bakım sayfalarının tam genişlik zemini) ---------- */
.t-odak { position: relative; padding: 48px 16px; background: var(--t-ikincil) url('../assets/ui/giris-liman.webp') center / cover no-repeat; }
.t-odak::before { content: ''; position: absolute; inset: 0; background: rgba(13, 27, 41, .45); }
.t-odak > * { position: relative; }
.t-odak .t-panel { box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.t-odak-logo { display: block; width: fit-content; margin: 0 auto 18px; padding: 6px 12px; background: var(--t-zemin) url('../assets/ui/etiket-kagit.webp') center / 100% 100%; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transform: rotate(-1.5deg); }
.t-odak-logo img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }

/* ---------- icerik: t-kod (güvenlik kodu görseli + yenile düğmesi) ---------- */
.t-kod { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.t-kod img { height: 56px; width: 180px; background: #fff; border: 1px solid rgba(60, 40, 20, .28); border-radius: 2px; }

/* ---------- icerik: t-icerik (yönetimden gelen zengin metin: sayfa, blog, sözleşme) ---------- */
.t-icerik { color: var(--t-yazi); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.t-icerik > :first-child { margin-top: 0; }
.t-icerik p, .t-icerik ul, .t-icerik ol, .t-icerik blockquote, .t-icerik figure, .t-icerik table { margin: 0 0 1.1em; }
.t-icerik h1, .t-icerik h2, .t-icerik h3, .t-icerik h4 { font-family: var(--t-dar-font); font-weight: 700; color: var(--t-ikincil); line-height: 1.25; margin: 1.6em 0 .6em; }
.t-icerik h1, .t-icerik h2 { font-size: 1.5rem; }
.t-icerik h3 { font-size: 1.25rem; }
.t-icerik h4 { font-size: 1.1rem; }
.t-icerik ul { list-style: disc; padding-left: 1.4em; }
.t-icerik ol { list-style: decimal; padding-left: 1.4em; }
.t-icerik li { margin-bottom: .3em; }
.t-icerik a { color: var(--t-ikincil); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.t-icerik a:hover { color: var(--t-vurgu); }
.t-icerik img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; }
.t-icerik blockquote { border-left: 4px solid var(--t-ana); background: var(--t-yuzey-2); padding: 12px 18px; font-style: italic; }
.t-icerik table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.t-icerik th, .t-icerik td { border: 1px dashed var(--t-cizgi); padding: 8px 10px; text-align: left; }
.t-icerik hr { border: 0; border-top: 2px dashed var(--t-cizgi); margin: 1.6em 0; }

/* ---------- icerik: t-bilgi-liste (ikonlu bilgi satırları: adres, telefon, e-posta, saatler) ---------- */
.t-bilgi-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 14px; color: var(--t-yazi); }
.t-bilgi-liste > li { display: flex; align-items: flex-start; gap: 12px; }
.t-bilgi-liste > li > i { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; font-size: 15px; color: var(--t-ana-koyu); background: var(--t-yuzey-2); border: 1px dashed rgba(60, 40, 20, .35); }
.t-bilgi-liste > li > div { min-width: 0; line-height: 1.5; overflow-wrap: anywhere; }
.t-bilgi-liste strong { display: block; margin-bottom: 2px; font-family: var(--t-dar-font); font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--t-ikincil); }
.t-bilgi-liste a { color: inherit; text-decoration: none; }
.t-bilgi-liste a:hover { color: var(--t-vurgu); }

/* ---------- icerik: t-not (küçük, soluk açıklama metni: tarih, ek bilgi) ---------- */
.t-not { font-size: 13px; color: var(--t-yazi-soluk); }

/* ---------- sepet: t-secim-kart (kart biçiminde radyo seçimi: ödeme yöntemi, adres) ---------- */
.t-secim-kart {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; box-sizing: border-box; cursor: pointer;
    font-size: 14px; line-height: 1.5; color: var(--t-yazi); background: rgba(255, 255, 255, .6); border: 1px dashed rgba(60, 40, 20, .35);
}
.t-secim-kart:hover { border-color: var(--t-ana); }
.t-secim-kart:has(input:checked) { border-style: solid; border-color: var(--t-ana); background: #fff7ed; box-shadow: inset 0 0 0 1px var(--t-ana); }
.t-secim-kart:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.t-secim-kart > input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--t-ana); flex-shrink: 0; }
.t-secim-kart-baslik { display: block; font-family: var(--t-dar-font); font-weight: 700; font-size: 16px; letter-spacing: .02em; color: var(--t-ikincil); }

/* ---------- sepet: t-ozet (ad/tutar satırları: sepet ve sipariş özeti) ---------- */
.t-ozet { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--t-yazi-2); }
.t-ozet > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-ozet > div > span:last-child { font-weight: 700; color: var(--t-yazi); text-align: right; white-space: nowrap; }
.t-ozet > .t-ozet-ince, .t-ozet > .t-ozet-ince > span:last-child { font-size: 13px; font-weight: 400; color: var(--t-yazi-soluk); }
.t-ozet > .t-ozet-olumlu, .t-ozet > .t-ozet-olumlu > span:last-child { color: var(--t-basari); }
.t-ozet > .t-ozet-ayrac { border-top: 2px dashed var(--t-cizgi); padding-top: 10px; }
.t-ozet > .t-ozet-toplam { border-top: 2px dashed var(--t-cizgi); padding-top: 12px; margin-top: 2px; font-family: var(--t-dar-font); font-weight: 700; font-size: 19px; color: var(--t-ikincil); }
.t-ozet > .t-ozet-toplam > span:last-child { font-size: 26px; color: var(--t-ikincil); }

/* ---------- sepet: t-ilerleme (ilerleme çubuğu: ücretsiz kargoya kalan tutar) ---------- */
.t-ilerleme { display: block; width: 100%; height: 10px; -webkit-appearance: none; appearance: none; border: 1px solid rgba(60, 40, 20, .3); border-radius: 0; background: var(--t-yuzey-2); overflow: hidden; }
.t-ilerleme::-webkit-progress-bar { background: var(--t-yuzey-2); }
.t-ilerleme::-webkit-progress-value { background: var(--t-ana); }
.t-ilerleme::-moz-progress-bar { background: var(--t-ana); }

/* ---------- sepet: t-referans (kopyalanacak kod: havale açıklama kodu, sipariş referansı) ---------- */
.t-referans { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; background: rgba(255, 255, 255, .8); border: 2px dashed var(--t-ana); }
.t-referans code, .t-referans > span { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 1.25rem; letter-spacing: .05em; color: var(--t-ikincil); word-break: break-all; }

/* ---------- sepet: t-bos durum renkleri (sonuç ekranı: başarılı / başarısız) ---------- */
.t-bos-basari > i { color: var(--t-basari); }
.t-bos-hata > i { color: var(--t-tehlike); }

/* ---------- sepet: t-adet sınırda (artır düğmesi devre dışı) ---------- */
.t-adet button:disabled { opacity: .4; cursor: not-allowed; background: transparent; }

/* ---------- sepet: t-tablo-secilir (satırı tıklanarak seçilen tablo: taksit seçenekleri) ---------- */
.t-tablo-secilir tbody tr { cursor: pointer; }
.t-tablo-secilir tbody tr:hover td, .t-tablo-secilir tbody tr.aktif td { background: rgba(232, 100, 27, .08); }
.t-tablo-secilir tbody tr.aktif td { font-weight: 700; color: var(--t-ikincil); }

/* ---------- sepet: t-alan-grup (çerçevesiz fieldset: koşula göre açılıp kapanan alan grubu) ---------- */
.t-alan-grup { border: 0; margin: 0; padding: 0; min-width: 0; }

/* ---------- anasayfa: t-slider (Swiper kaydırıcılarının ok ve nokta renkleri) ---------- */
.t-slider { --swiper-theme-color: var(--t-ana); --swiper-navigation-color: #fff; --swiper-navigation-size: 28px; --swiper-pagination-bullet-inactive-color: var(--t-ikincil); }
.t-slider .swiper-button-next, .t-slider .swiper-button-prev { opacity: .6; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); transition: opacity .15s; }
.t-slider .swiper-button-next:hover, .t-slider .swiper-button-prev:hover { opacity: 1; }
.t-slider .swiper-slide > .gy-kart, .t-slider .swiper-slide > * { height: 100%; }

/* ---------- anasayfa: t-kayan (sonsuz kayan şerit: duyurular, marka logoları; içerik iki kez basılır) ---------- */
.t-kayan { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 94%, transparent 100%); }
.t-kayan-serit { display: flex; width: max-content; animation: t-kayan 30s linear infinite; }
.t-kayan-yavas { animation-duration: 36s; }
.t-kayan:hover .t-kayan-serit, .t-kayan-serit:hover { animation-play-state: paused; }
@keyframes t-kayan { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .t-kayan-serit { animation: none; } }

/* ---------- anasayfa: t-logo-kutu (marka logosu kutusu) ---------- */
.t-logo-kutu { display: flex; align-items: center; justify-content: center; flex: none; width: 200px; height: 100px; margin-right: 24px; padding: 12px; box-sizing: border-box; background: var(--t-yuzey); border: 1px solid var(--t-cizgi); transition: box-shadow .15s; }
.t-logo-kutu:hover { box-shadow: 0 4px 12px rgba(60, 40, 20, .2); }
.t-logo-kutu img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: .9; }
@media (max-width: 639.98px) { .t-logo-kutu { width: 140px; height: 72px; margin-right: 14px; } }

/* ---------- anasayfa: t-hikaye (yuvarlak hikaye kapağı + ad) ---------- */
.t-hikaye { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 76px; text-decoration: none; cursor: pointer; }
.t-hikaye-halka { display: block; width: 72px; height: 72px; padding: 2px; border: 2px solid var(--t-vurgu); border-radius: 50%; transition: transform .15s; }
.t-hikaye-halka img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid var(--t-yuzey); }
.t-hikaye:hover .t-hikaye-halka { transform: scale(1.05); }
.t-hikaye-ad { width: 80px; font-size: 12px; text-align: center; color: var(--t-yazi-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- anasayfa: t-modal (açılır pencere: kampanya, hikaye) + t-modal-perde (karartma; her ekranda) ---------- */
.t-modal-perde { background: rgba(20, 15, 10, .6); }
.t-modal { background: var(--t-yuzey); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.t-modal img { display: block; }

/* ---------- anasayfa: t-kampanya (kampanya/vitrin görseli bağlantısı) ---------- */
.t-kampanya { display: block; overflow: hidden; box-shadow: 0 2px 6px rgba(60, 40, 20, .22); }
.t-kampanya img { display: block; width: 100%; height: 100%; max-height: 280px; object-fit: cover; transition: transform .5s; }
.t-kampanya:hover img { transform: scale(1.04); }

/* ---------- anasayfa: t-yazi-kart (blog / rehber yazısı kartı) ---------- */
.t-yazi-kart { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--t-yuzey); box-shadow: 0 2px 6px rgba(60, 40, 20, .2); }
.t-yazi-kart-gorsel { display: block; overflow: hidden; flex-shrink: 0; }
.t-yazi-kart-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.t-yazi-kart:hover .t-yazi-kart-gorsel img { transform: scale(1.05); }
.t-yazi-kart-govde { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px; }
.t-yazi-kart-baslik { margin: 0; font-family: var(--t-dar-font); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--t-ikincil); }
.t-yazi-kart-baslik a { color: inherit; text-decoration: none; }
.t-yazi-kart-baslik a:hover { color: var(--t-vurgu); }
.t-yazi-kart-metin { margin: 0; font-size: 13px; line-height: 1.55; color: var(--t-yazi-2); }

/* ---------- anasayfa: t-yatay-sira (ürün kartlarının yatay kaydırılan sırası; JS'siz) ---------- */
.t-yatay-sira { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 46%); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.t-yatay-sira > * { scroll-snap-align: start; }
@media (min-width: 768px) { .t-yatay-sira { grid-auto-columns: calc((100% - 64px) / 5); } }

/* ---------- urun: t-yildiz (puan yıldızları; dolu fas, boş far) ---------- */
.t-yildiz { display: inline-flex; align-items: center; gap: 2px; color: #d99a00; }
.t-yildiz .far { color: rgba(60, 40, 20, .3); }
button.t-yildiz { background: none; border: 0; padding: 0 2px; cursor: pointer; transition: transform .12s; }
button.t-yildiz:hover { transform: scale(1.12); }

/* ---------- urun: t-galeri-buyut (görsel büyütme katmanı) ---------- */
.t-galeri-buyut { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(13, 20, 28, .92); }
.t-galeri-buyut img { max-width: 100%; max-height: 90vh; object-fit: contain; }

/* ---------- urun: t-secenek tükenmiş+seçili ve klavye odağı ---------- */
.t-secenek.tukendi.active { color: #9ca3af; border-color: #9ca3af; box-shadow: none; }
.t-secenek:focus-visible { outline: 2px solid var(--t-ana); outline-offset: 2px; }

/* ---------- urun: boş bildirim gizlenir (JS'in doldurduğu t-uyari / t-rozet kutuları) ---------- */
.t-uyari:empty, .t-rozet:empty { display: none; }

/* ---------- urun: kaydırıcıda ikon düğmesi durumu (Swiper oku olarak t-btn-ikon) ---------- */
.t-btn-ikon.swiper-button-disabled { opacity: .35; cursor: default; transform: none; }
.t-btn-ikon.swiper-button-lock { display: none; }

/* ---------- kabuk: temel yazı tipi, x-cloak (header.php'deki satır içi stilin yerine; !important yok, t-* yazı tipleri geçerli olur) ---------- */
:root { --t-govde-font: 'Inter', sans-serif; }
html, body, .font-sans { font-family: var(--t-govde-font); }
body { background-color: var(--t-zemin); color: var(--t-yazi); }
[x-cloak] { display: none !important; }

/* ---------- kabuk: site iskeleti (t-site-ust-serit, t-site-ust, t-site-menu, t-site-alt, t-site-alt-menu); tema süslemesi gy-* ile üstüne biner ---------- */
.t-site-ust-serit { background: var(--t-ikincil); color: #d8dee6; }
.t-site-ust-serit a:hover { color: var(--t-ana); }
.t-site-ust { background: var(--t-ikincil); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55); }
.t-ust-ikon { color: #f4efe6; text-decoration: none; transition: color .15s; }
.t-ust-ikon:hover { color: var(--t-ana); }
.t-site-menu { background: var(--t-yuzey-2); border-bottom: 1px solid var(--t-cizgi); }
.t-site-menu a, .t-site-menu button { color: var(--t-yazi); }
.t-site-menu a:hover, .t-site-menu button:hover { color: var(--t-vurgu); }
.t-site-alt { background: var(--t-ikincil); color: #e6dccd; }
.t-site-alt a:hover { color: var(--t-ana); }
.t-site-alt h4, .t-site-alt h5 { color: #fff; font-family: var(--t-dar-font); }
.t-site-alt .t-ayrac { border-top: 1px solid rgba(255, 255, 255, .14); margin: 0; }
.t-site-alt .t-btn-ikincil { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.t-site-alt .t-btn-ikincil:hover { background: var(--t-ana); color: #fff; border-color: var(--t-ana); }
.t-site-alt-menu { background: var(--t-ikincil); color: #d8dee6; box-shadow: 0 -5px 20px rgba(0, 0, 0, .12); }
.t-site-alt-menu a, .t-site-alt-menu button { color: inherit; background: none; border: 0; }
.t-site-alt-menu .aktif { color: var(--t-ana); }
.t-ikon-vurgu { color: var(--t-ana); }

/* ---------- kabuk: t-sayac (ikon üstündeki adet rozeti: sepet, favori; display Tailwind ile) ---------- */
.t-sayac { min-width: 16px; padding: 0 3px; box-sizing: border-box; background: var(--t-ana); color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1; }

/* ---------- kabuk: t-arama (üst bilgideki arama kutusu) ---------- */
.t-arama input { background: var(--t-yuzey); color: var(--t-yazi); border-width: 0; outline: 0; }
.t-arama input::placeholder { color: var(--t-yazi-soluk); }
.t-arama button[type=submit] { background-color: var(--t-ana); color: #fff; cursor: pointer; }
.t-arama-ikon { color: var(--t-yazi-soluk); pointer-events: none; }

/* ---------- kabuk: t-acilir (menü açılır kutusu) + t-acilir-yan (sağa açılan alt kutu) ---------- */
.t-acilir { background: var(--t-yuzey); border: 1px solid var(--t-cizgi); box-shadow: 0 10px 24px rgba(20, 15, 10, .2); }
.t-acilir a { color: var(--t-yazi); text-decoration: none; }
.t-acilir a:hover { color: var(--t-vurgu); background: var(--t-yuzey-2); }
.t-acilir-yan { position: absolute; top: 0; left: 100%; min-width: 260px; z-index: 60; }

/* ---------- kabuk: t-yan-panel (yandan açılan panel: mini sepet, mobil menü) + başlık, bölüm başlığı, bağlantı, öğe ---------- */
.t-yan-panel { background: var(--t-zemin); color: var(--t-yazi); box-shadow: 8px 0 24px rgba(0, 0, 0, .35); }
.t-yan-panel-ust { background: var(--t-ikincil); color: #fff; }
.t-yan-panel-ust > span { font-family: var(--t-baslik-font); font-size: 20px; }
.t-yan-panel-ust button { color: inherit; background: none; border: 0; cursor: pointer; }
.t-yan-panel-ust button:hover { color: var(--t-ana); }
.t-yan-panel-baslik { font-family: var(--t-dar-font); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--t-yazi-2); }
.t-yan-panel-bolum { border-top: 2px dashed var(--t-cizgi); }
.t-yan-panel-baglanti { color: var(--t-yazi); text-decoration: none; border-bottom: 1px dashed var(--t-cizgi); }
.t-yan-panel-baglanti:hover { color: var(--t-vurgu); }
.t-yan-panel-oge { border-bottom: 1px dashed rgba(20, 40, 60, .18); }
.t-yan-panel-oge:last-child { border-bottom: 0; }
.t-yan-panel-oge a, .t-yan-panel-oge button { color: var(--t-yazi); text-decoration: none; background: none; border: 0; }
.t-yan-panel-oge a:hover, .t-yan-panel-oge button:hover { color: var(--t-vurgu); }
.t-ikon-kutu { flex-shrink: 0; color: var(--t-ikincil); background: var(--t-yuzey-2); border: 1px dashed rgba(60, 40, 20, .35); }

/* ---------- kabuk: t-mini-sepet (ajax.php?islem=sepetim çıktısı: ul > li, .shopping-cart-*) ---------- */
.t-mini-sepet ul { list-style: none; margin: 0; padding: 0; }
.t-mini-sepet li:last-child { border-bottom: 0; margin-bottom: 0; }
.t-mini-sepet li { display: flex; gap: 1rem; border-bottom: 1px dashed var(--t-cizgi); padding-bottom: 1rem; margin-bottom: 1rem; color: var(--t-yazi); }
.t-mini-sepet .shopping-cart-img { width: 80px; height: 80px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid var(--t-cizgi); }
.t-mini-sepet .shopping-cart-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.t-mini-sepet .shopping-cart-title { flex: 1; min-width: 0; }
.t-mini-sepet h4 { font-size: .9rem; font-weight: 600; line-height: 1.45; margin: 0 0 .5rem; color: var(--t-yazi); }
.t-mini-sepet h4 a { color: var(--t-ikincil); text-decoration: none; }
.t-mini-sepet h4 a:hover { color: var(--t-vurgu); }
.t-mini-sepet h4 span { color: var(--t-yazi-soluk); font-weight: 400; font-size: .8rem; }
.t-mini-sepet hr { border: 0; border-top: 1px dashed var(--t-cizgi); margin: 4px 0; }
.t-mini-sepet .shopping-cart-delete { display: flex; align-items: center; padding-left: 10px; }
.t-mini-sepet .shopping-cart-delete a { color: var(--t-yazi-soluk); font-size: 1.1rem; padding: 5px; transition: color .15s; }
.t-mini-sepet .shopping-cart-delete a:hover { color: var(--t-tehlike); }
.t-mini-sepet .shopping-cart-footer { padding-top: 1rem; border-top: 2px dashed var(--t-cizgi); }
.t-mini-sepet .shopping-cart-total { margin-bottom: 1rem; }
.t-mini-sepet .shopping-cart-total h4 { font-family: var(--t-dar-font); font-size: 1.2rem; font-weight: 700; color: var(--t-ikincil); margin: 0; display: flex; justify-content: space-between; }
.t-mini-sepet .shopping-cart-total span { color: var(--t-ikincil); font-size: 1.2rem; font-weight: 700; }
.t-mini-sepet .shopping-cart-button a { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: .75rem; background: var(--t-ana); color: #fff; font-weight: 700; text-decoration: none; }
.t-mini-sepet .alert { padding: 12px 14px; border-left: 4px solid var(--t-uyari); background: var(--t-uyari-acik); color: var(--t-uyari); }
.t-mini-sepet .alert h3, .t-mini-sepet .alert h4 { margin: 0; font-size: 15px !important; font-weight: 600; color: inherit; }

/* ---------- kabuk: t-modal ekleri (başlık satırı, kapat, metin, ürün bağlantısı, görsel kutusu, durum ikonu) ---------- */
.t-modal-ust { border-bottom: 2px dashed var(--t-cizgi); }
.t-modal-ust h3 { font-family: var(--t-dar-font); font-weight: 700; font-size: 18px; letter-spacing: .02em; color: var(--t-ikincil); margin: 0; }
.t-modal-kapat { width: 34px; height: 34px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--t-yazi-soluk); cursor: pointer; }
.t-modal-kapat:hover { color: var(--t-vurgu); background: var(--t-yuzey-2); }
.t-modal-metin { color: var(--t-yazi-2); }
.t-modal-urun { color: var(--t-ikincil); font-weight: 600; text-decoration: none; }
.t-modal-urun:hover { color: var(--t-vurgu); }
.t-gorsel-kutu { background: #fff; border: 1px solid var(--t-cizgi); overflow: hidden; }
.t-durum-ikon { border-radius: 50%; background: var(--t-bilgi-acik); color: var(--t-bilgi); flex-shrink: 0; }
.t-durum-basari { background: var(--t-basari-acik); color: var(--t-basari); }
.t-durum-hata { background: var(--t-tehlike-acik); color: var(--t-tehlike); }
.t-durum-uyari { background: var(--t-uyari-acik); color: var(--t-uyari); }

/* ---------- kabuk: t-bildirim (köşede beliren kısa bildirim; popup_bildirim) ---------- */
.t-bildirim { background: var(--t-yuzey); color: var(--t-yazi); border: 1px solid var(--t-cizgi); border-left: 4px solid var(--t-bilgi); box-shadow: 0 6px 18px rgba(20, 15, 10, .2); }
.t-bildirim h6 { font-size: 14px; font-weight: 700; margin: 0; color: var(--t-ikincil); }
.t-bildirim-basari { border-left-color: var(--t-basari); }
.t-bildirim-basari > i { color: var(--t-basari); }
.t-bildirim-hata { border-left-color: var(--t-tehlike); }
.t-bildirim-hata > i { color: var(--t-tehlike); }

/* ---------- kabuk: t-favori-aktif (favoriye eklenmiş ürünün kalp ikonu) ---------- */
.t-favori-aktif { color: var(--t-vurgu) !important; }

/* ---------- kabuk: t-odeme-logo (alt bilgideki ödeme / ETBİS logosu kutusu) ---------- */
.t-odeme-logo { display: flex; align-items: center; justify-content: center; min-width: 50px; height: 40px; padding: 0 8px; box-sizing: border-box; background: #fff; border: 1px solid var(--t-cizgi); border-radius: 2px; filter: grayscale(1); transition: filter .2s; }
.t-odeme-logo:hover { filter: none; }
.t-odeme-logo img { height: 24px; width: auto; object-fit: contain; }
.t-odeme-logo-renkli { height: 50px; filter: none; }
.t-odeme-logo-renkli img { height: auto; max-height: 40px; }

/* ---------- ana sayfa: açılır pencere görseli ---------- */
.t-modal-gorsel{display:block;width:100%;height:auto;max-height:85vh;object-fit:contain;margin:0 auto}

/* ---------- kabuk: t-ikon (tema ikon seti, tema_ikon(); kalınlık admin > Üst bölüm ve ikonlar) ---------- */
.t-ikon { display: inline-block; flex-shrink: 0; vertical-align: middle; stroke-width: 1.75; }
.t-ikon-ince .t-ikon { stroke-width: 1.25; }
.t-ikon-kalin .t-ikon { stroke-width: 2.25; }
.t-ikon-yazisiz .t-ust-ikon-yazi { display: none !important; }
.t-ikon-yazisiz .t-ust-ikon .t-ikon { width: 1.625rem; height: 1.625rem; }

/* ---------- kabuk: t-serit-oge (üst şerit öğesi: ikon + metin) ---------- */
.t-serit-oge { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: color .15s; }

/* ---------- kabuk: data-ipucu (üzerine gelince bilgi) ---------- */
/* Yalnız CSS: [data-ipucu="Metin"] öğenin üstünde balon; data-ipucu-yon="alt" altta (overflow:hidden kapsayıcılarda üstü kesilen öğeler için). */
@media (hover: hover) {
    :where([data-ipucu]) { position: relative; } /* özgüllük 0: absolute konumlu düğmeler (ör. kart üstü favori) bozulmaz */
    [data-ipucu]::after {
        content: attr(data-ipucu); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 60;
        transform: translateX(-50%); width: max-content; max-width: 220px; padding: 5px 9px; border-radius: 6px;
        background: var(--t-ikincil); color: var(--t-yuzey); font: 600 12px/1.35 var(--t-dar-font, sans-serif);
        letter-spacing: 0; text-transform: none; text-align: center; white-space: normal;
        box-shadow: 0 4px 12px rgba(20, 40, 60, .22); pointer-events: none; opacity: 0; visibility: hidden;
    }
    [data-ipucu-yon="alt"]::after { bottom: auto; top: calc(100% + 8px); }
    [data-ipucu-hiza="sag"]::after { left: auto; right: 0; transform: none; } /* sağ kenardaki öğe: balon sola doğru açılır, kesilmez */
    [data-ipucu-hiza="sol"]::after { left: 0; transform: none; }
    [data-ipucu]:hover::after, [data-ipucu]:focus-visible::after { opacity: 1; visibility: visible; }
    [data-ipucu=""]::after { display: none; }
}

/* ---------- hesap: t-hesap-yerlesim (müşteri paneli: solda menü, sağda bölüm; mobilde tek sütun) ---------- */
.t-hesap-yerlesim { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1024px) { .t-hesap-yerlesim { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; } }
.t-hesap-baslik { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

/* ---------- hesap: t-hesap-menu (sol menü; mobilde "menü" düğmesiyle açılır) ---------- */
.t-hesap-menu { background: var(--t-zemin) url('../assets/ui/etiket-kagit.webp') center / 100% 100%; box-shadow: 0 2px 6px rgba(60, 40, 20, .22); border-radius: 3px; padding: 14px; }
@media (min-width: 1024px) { .t-hesap-menu { position: sticky; top: 16px; } }
.t-hesap-kimlik { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 2px dashed var(--t-cizgi); }
.t-hesap-kimlik strong, .t-hesap-kimlik > div > span:not(.t-rozet) { display: block; }
.t-hesap-kimlik strong { font-family: var(--t-dar-font); font-size: 17px; color: var(--t-ikincil); }
.t-hesap-kimlik > div > span:not(.t-rozet) { font-size: 12.5px; color: var(--t-yazi-soluk); }
.t-hesap-kimlik .t-rozet { font-size: 11px; padding: 1px 8px; }
.t-hesap-avatar { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--t-ikincil); color: #fff; font-family: var(--t-dar-font); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.t-hesap-menu-ac { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; min-height: 44px; padding: 8px 12px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(60, 40, 20, .28); color: var(--t-ikincil); font-family: var(--t-dar-font); font-weight: 700; font-size: 16px; cursor: pointer; text-align: left; }
.t-hesap-menu-liste { display: none; margin-top: 8px; }
.t-hesap-menu-liste.acik { display: block; }
@media (min-width: 1024px) {
    .t-hesap-menu-ac { display: none; }
    .t-hesap-menu-liste, .t-hesap-menu-liste.acik { display: block; }
}
.t-hesap-menu-grup { margin: 14px 8px 4px; font-family: var(--t-dar-font); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--t-yazi-soluk); }
.t-hesap-menu-liste a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-left: 3px solid transparent; color: var(--t-yazi); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.t-hesap-menu-liste a:hover { color: var(--t-vurgu); background: rgba(255, 255, 255, .55); }
.t-hesap-menu-liste a.aktif { color: var(--t-ikincil); background: rgba(255, 255, 255, .85); border-left-color: var(--t-ana); }
.t-hesap-menu-liste a.aktif .t-ikon { color: var(--t-ana); }
.t-hesap-menu-liste .t-sayac { display: inline-grid; place-items: center; height: 18px; min-width: 20px; font-size: 11px; }
.t-hesap-menu-liste .t-hesap-menu-cikis { margin-top: 10px; border-top: 2px dashed var(--t-cizgi); padding-top: 12px; color: var(--t-yazi-2); }

/* ---------- hesap: t-hesap-metrik (genel bakış ve rapor sayı kutusu) + t-hesap-kisayol (ikonlu hızlı bağlantı) ---------- */
.t-hesap-metrik { display: flex; flex-direction: column; gap: 6px; padding: 16px; min-width: 0; }
.t-hesap-metrik .t-fiyat { overflow-wrap: anywhere; }
.t-hesap-kisayol { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; text-align: center; text-decoration: none; color: var(--t-ikincil); font-family: var(--t-dar-font); font-weight: 700; font-size: 16px; }
.t-hesap-kisayol:hover { color: var(--t-vurgu); }
.t-hesap-kisayol .t-ikon { color: var(--t-ana); }

/* ---------- hesap: t-hesap-liste (bildirim / talep satırları; .okunmamis vurgulu) ---------- */
.t-hesap-liste { list-style: none; margin: 0; padding: 0; }
.t-hesap-liste > li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 6px; border-bottom: 1px dashed var(--t-cizgi); }
.t-hesap-liste > li:last-child { border-bottom: 0; }
.t-hesap-liste > li > a, .t-hesap-liste > li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: var(--t-yazi); text-decoration: none; overflow-wrap: anywhere; }
.t-hesap-liste > li > a:hover strong { color: var(--t-vurgu); }
.t-hesap-liste strong { font-weight: 600; color: var(--t-ikincil); }
.t-hesap-liste span { font-size: 14px; color: var(--t-yazi-2); }
.t-hesap-liste > li.okunmamis { background: rgba(232, 100, 27, .07); border-left: 3px solid var(--t-ana); padding-left: 10px; }
.t-hesap-liste > li.okunmamis strong { font-weight: 800; }

/* ---------- hesap: t-hesap-kutu (adres kartı; -vurgu varsayılan) + t-hesap-hata (satır hata metni) ---------- */
.t-hesap-kutu { padding: 14px 16px; background: rgba(255, 255, 255, .6); border: 1px dashed rgba(60, 40, 20, .35); font-size: 14px; line-height: 1.5; color: var(--t-yazi); min-width: 0; overflow-wrap: anywhere; }
.t-hesap-kutu strong { font-family: var(--t-dar-font); font-size: 16px; color: var(--t-ikincil); }
.t-hesap-kutu-vurgu { border-style: solid; border-color: var(--t-ana); background: #fff7ed; }
.t-hesap-hata { font-size: 13px; color: var(--t-tehlike); }

/* ---------- hesap: t-zaman-cizelgesi (sipariş durum geçmişi; li.t-zaman-basari|bilgi|uyari|tehlike|simdi) ---------- */
.t-zaman-cizelgesi { list-style: none; margin: 0 0 0 8px; padding: 0 0 0 22px; border-left: 2px dashed var(--t-cizgi); }
.t-zaman-cizelgesi > li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 16px; font-size: 14px; color: var(--t-yazi-2); }
.t-zaman-cizelgesi > li:last-child { padding-bottom: 0; }
.t-zaman-cizelgesi > li::before { content: ''; position: absolute; left: -31px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--t-yuzey); border: 3px solid var(--t-bilgi); box-sizing: border-box; }
.t-zaman-cizelgesi strong { color: var(--t-ikincil); font-weight: 700; }
.t-zaman-cizelgesi .t-zaman-basari::before { border-color: var(--t-basari); }
.t-zaman-cizelgesi .t-zaman-uyari::before { border-color: var(--t-uyari); }
.t-zaman-cizelgesi .t-zaman-tehlike::before { border-color: var(--t-tehlike); }
.t-zaman-cizelgesi .t-zaman-simdi::before { background: var(--t-ana); border-color: var(--t-ana); }

/* ---------- hesap: t-yazisma (destek talebi mesajları; t-mesaj-ben sağda, t-mesaj-karsi solda) ---------- */
.t-yazisma { display: flex; flex-direction: column; gap: 12px; }
.t-mesaj { max-width: 85%; padding: 12px 14px; border: 1px solid var(--t-cizgi); background: rgba(255, 255, 255, .75); font-size: 14.5px; line-height: 1.55; color: var(--t-yazi); overflow-wrap: anywhere; }
.t-mesaj-ben { align-self: flex-end; background: #fff7ed; border-color: rgba(232, 100, 27, .45); }
.t-mesaj-karsi { align-self: flex-start; background: var(--t-bilgi-acik); border-color: rgba(20, 40, 60, .25); }
.t-mesaj-ust { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; font-family: var(--t-dar-font); color: var(--t-ikincil); }
.t-mesaj .t-baglanti { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
@media (max-width: 639.98px) { .t-mesaj { max-width: 100%; } }

/* ---------- hesap: t-hesap-adimlar (sipariş adımları; dar ekranda alt alta) + yazdırma ---------- */
.t-hesap-adimlar li span .t-ikon { width: 16px; height: 16px; }
@media (max-width: 639.98px) { .t-hesap-adimlar { flex-direction: column; gap: 10px; } }
@media print {
    .t-hesap-menu, .t-hesap-yazdirma-gizle, .hesap-ust, .t-yol, #toast-container, #cookieBanner { display: none !important; }
    .t-hesap-yerlesim { display: block; }
    .t-panel { box-shadow: none; background: #fff; }
}

/* ---------- hesap: t-hesap-ust-baglanti (Hesabım sade üst şeridindeki bağlantılar) + t-hesap-acilir (üst bilgideki hesap menüsü) ---------- */
.t-hesap-ust-baglanti { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; color: var(--t-ikincil); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid rgba(20, 40, 60, .18); border-radius: 8px; background: #fff; }
.t-hesap-ust-baglanti:hover { color: var(--t-vurgu); border-color: var(--t-ana); }
.t-hesap-ust-baglanti .t-sayac { position: absolute; top: -6px; right: -6px; }
.t-hesap-ust-baglanti .t-sayac:not(.hidden) { display: inline-grid; place-items: center; height: 18px; }
.t-hesap-acilir { min-width: 230px; padding: 6px 0; }
.t-hesap-acilir a { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.t-hesap-acilir .t-sayac { display: inline-grid; place-items: center; height: 18px; margin-left: auto; }
.t-hesap-acilir-ust { padding: 8px 16px 10px; border-bottom: 1px dashed var(--t-cizgi); font-size: 13px; color: var(--t-yazi-soluk); }
.t-hesap-acilir-ust strong { display: block; color: var(--t-ikincil); font-size: 14px; }

/* ---------- kabuk: t-imza (alt bilgide altyapı imzası) ---------- */
.t-imza-satir { margin: 6px 0 0; }
.t-imza { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: inherit; text-decoration: none; font-size: 13px; opacity: .9; }
.t-imza:hover { opacity: 1; }
.t-imza-marka { display: inline-flex; align-items: center; gap: 4px; }
.t-imza-marka strong { font-weight: 700; color: #fff; }
.t-imza-marka img { width: 18px; height: 18px; display: block; }
.t-imza:hover .t-imza-marka strong { color: var(--t-ana); }

/* ---------- kabuk: t-toast (köşede kısa bildirim; js/musteri-bildirim.js) ---------- */
.t-toast { position: fixed; right: 16px; bottom: 16px; z-index: 9998; display: grid; gap: 2px; max-width: min(360px, calc(100vw - 32px)); padding: 12px 16px; background: var(--t-yuzey); color: var(--t-yazi); border: 1px solid var(--t-cizgi); border-left: 3px solid var(--t-ana); text-decoration: none; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.t-toast.acik { opacity: 1; transform: none; }
.t-toast strong { font-weight: 700; }
.t-toast span { color: var(--t-yazi-2); font-size: 13px; }
.t-sayac[hidden] { display: none !important; }

/* ---------- ana sayfa: t-hero-sayac (hero sağ üstte ürün sayısı kartı; admin > Tema ayarları > Ana sayfa) ---------- */
.t-hero-sayac { position: absolute; top: 0; right: 16px; z-index: 2; display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 170px; max-width: 220px; padding: 16px 22px; background: var(--t-yuzey); border: 1px solid var(--t-cizgi); }
.t-hero-sayac strong { font-family: var(--t-baslik-font); font-size: clamp(28px, 3vw, 42px); line-height: 1; color: var(--t-ana); }
.t-hero-sayac span { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--t-yazi-2); }
@media (max-width: 767px) { .t-hero-sayac { position: relative; right: auto; display: inline-grid; margin: 0 0 14px; min-width: 0; padding: 10px 16px; } }

/* ---------- form: t-tam-satir (t-form-izgara içinde tüm satırı kaplayan blok) ---------- */
.t-form-izgara > .t-tam-satir { grid-column: 1 / -1; }

/* ---------- ana sayfa: t-hikaye-serit (hikaye kartları her zaman ortada; sığmazsa baştan kaydırılır) ---------- */
.t-hikaye-serit { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: thin; }
.t-hikaye-serit > :first-child { margin-left: auto; }
.t-hikaye-serit > :last-child { margin-right: auto; }

/* ---------- kabuk: kategori menü şeridi (sayfa genişliğinden geniş; öğeler ortalı, sığmazsa baştan kaydırılır) ---------- */
.t-menu-kapsayici { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 16px; }
.t-menu-liste { gap: 1.75rem !important; }
.t-menu-liste > :first-child { margin-left: auto; }
.t-menu-liste > :last-child { margin-right: auto; }
@media (max-width: 1280px) { .t-menu-kapsayici { padding: 0 16px; } .t-menu-liste { gap: 1.5rem !important; } }
/* "Tüm kategoriler" + kategoriler + "Teklif al" tek grup halinde ortalı; kategoriler sığmazsa orta kısım kayar */
.t-menu-sira { justify-content: center; gap: 1.75rem; }
.t-menu-orta { flex: 0 1 auto; min-width: 0; height: 100%; }

/* ---------- hesap ve mesaj kancalari ---------- */
.t-hesap-icerik { min-width: 0; }
.t-mesaj-metin { overflow-wrap: anywhere; }

/* Menü taşması: sığmayan kategoriler "Diğer" listesinde (js/menu-tasma.js) */
.t-menu-diger-dugme { background: none; border: 0; cursor: pointer; font: inherit; }
.t-menu-diger-liste { position: fixed; z-index: 60; min-width: 220px; max-height: 70vh; overflow-y: auto; padding: 8px 0; }
.t-menu-diger-liste a { display: block; padding: 8px 18px; font-size: 14px; white-space: nowrap; }
