﻿/* ─── Apple-style Design System ─────────────────────────────────────── */

:root {
    --bg: #fbfbfd;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #86868b;
    --accent: #0071e3;
    --border: rgba(0, 0, 0, .08);
    --radius: 18px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);

    /* ── Geometri: temanın karakteri (yuvarlak/keskin, ferah/sıkışık) buradan
       kurulur. Tema paketleri YALNIZCA bu değerleri ezerek bileşenleri kopyalamadan
       kendi görünümünü çıkarır — düzenler (Halka/Cam/Minimal…) ortak kalır. ── */
    --radius-hap: 999px;      /* hap buton, çip */
    --radius-dev: 32px;       /* dev bloklar */
    --radius-bolum: 24px;     /* bant / büyük blok köşesi */
    --radius-kart: 20px;      /* kart köşesi */
    --radius-orta: 16px;      /* kart içi görsel */
    --radius-kucuk: 14px;     /* küçük kutu */
    --radius-mini: 12px;      /* çip, rozet */

    --bolum-bosluk: 12vh;         /* bölümler arası dikey nefes (masaüstü) */
    --bolum-bosluk-mobil: 60px;   /* aynısı mobilde */
    --bolum-yan: 30px;            /* sayfa yan boşluğu (masaüstü) */
    --bolum-yan-mobil: 20px;      /* sayfa yan boşluğu (mobil) */
    --izgara-bosluk: 20px;        /* kart ızgarası / şerit aralığı */

    --bs-primary: var(--accent);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
    --bs-border-radius: var(--radius);
    --bs-card-border-color: var(--border);
    --bs-card-bg: var(--surface);
}

[data-theme="dark"] {
    --bg: #000;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --border: rgba(255, 255, 255, .1);
    --shadow: 0 1px 3px rgba(0, 0, 0, .5);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
}

/* ─── Base ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', var(--bs-font-sans-serif);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .3s cubic-bezier(.4, 0, .2, 1), color .3s cubic-bezier(.4, 0, .2, 1);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .25s cubic-bezier(.4, 0, .2, 1);
}

a:hover { color: var(--accent); opacity: .8; }

img { max-width: 100%; display: block; }

/* ─── Glass effect ───────────────────────────────────────────────────── */

.glass {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
}

[data-theme="dark"] .glass {
    background: rgba(0, 0, 0, .6);
}

/* ─── Bootstrap overrides ────────────────────────────────────────────── */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .6), 0 16px 40px rgba(0, 0, 0, .7);
}

.card-body { padding: 1.75rem; }

.btn {
    border-radius: var(--radius-hap);
    font-weight: 500;
    letter-spacing: -.01em;
    padding: .55rem 1.4rem;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1), background .2s, border-color .2s;
}

.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.98); }

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: var(--radius-hap);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    opacity: .88;
    box-shadow: 0 4px 16px rgba(0, 113, 227, .35);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(41, 151, 255, .4);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: var(--radius-hap);
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: var(--radius-hap);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--muted);
    color: var(--text);
    transform: scale(1.02);
}

/* ─── Form controls ──────────────────────────────────────────────────── */

.form-control,
.form-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-mini);
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
}

.form-control:focus,
.form-select:focus {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .15);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 3px rgba(41, 151, 255, .2);
}

.form-control::placeholder { color: var(--muted); }

/* ─── Navbar ─────────────────────────────────────────────────────────── */

.navbar {
    background: rgba(255, 255, 255, .8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, .75) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text) !important;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 400;
    opacity: .85;
    transition: opacity .2s;
    border-radius: 8px;
    padding: .4rem .75rem !important;
}

.nav-link:hover { opacity: 1; background: var(--border); }
.nav-link.active { opacity: 1; font-weight: 600; }

/* ─── Dropdown ───────────────────────────────────────────────────────── */

.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-kucuk);
    box-shadow: var(--shadow);
    padding: .5rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: .45rem .85rem;
    font-size: .9375rem;
    transition: background .15s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg);
    color: var(--text);
}

/* ─── Section / Container helpers ───────────────────────────────────── */

section {
    padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 8rem 0; }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ─── Typography ─────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.375rem, 2.5vw, 2rem); }
h4 { font-size: 1.375rem; }

p { line-height: 1.75; }

.text-muted { color: var(--muted) !important; }

/* ─── Hero ───────────────────────────────────────────────────────────── */

.hero {
    padding: 7rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, .12) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(41, 151, 255, .15) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 640px;
    margin: 1.25rem auto 2.5rem;
    line-height: 1.6;
}

/* ─── Product card ───────────────────────────────────────────────────── */

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .12) !important;
    transform: translateY(-4px);
}

.product-card img {
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover img { transform: scale(1.04); }

/* ─── Category card ──────────────────────────────────────────────────── */

.category-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1);
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14) !important;
}

/* ─── Badge ──────────────────────────────────────────────────────────── */

.badge {
    border-radius: var(--radius-hap);
    font-weight: 500;
    letter-spacing: .01em;
    padding: .35em .75em;
}

.badge-accent {
    background: rgba(0, 113, 227, .1);
    color: var(--accent);
}

[data-theme="dark"] .badge-accent {
    background: rgba(41, 151, 255, .15);
}

/* ─── Blog ───────────────────────────────────────────────────────────── */

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.blog-content p { line-height: 1.85; }

.blog-content img { border-radius: var(--radius-kucuk); margin: 1.5rem 0; }

.blog-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Prose ──────────────────────────────────────────────────────────── */

.prose img { border-radius: var(--radius-kucuk); }

/* ─── Footer ─────────────────────────────────────────────────────────── */

footer {
    background: var(--bg);
    padding: 3.5rem 0 0;
    color: var(--muted);
    font-size: .9375rem;
}

footer a { color: var(--muted); transition: color .2s; }
footer a:hover { color: var(--text); }

/* ─── Divider ────────────────────────────────────────────────────────── */

hr {
    border: none;
    border-top: 1px solid var(--border);
    opacity: 1;
}

/* ─── Scrollbar (webkit) ─────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-hap); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ─── Utilities ──────────────────────────────────────────────────────── */

.surface { background: var(--surface); }
.bg-surface { background: var(--surface) !important; }
.text-accent { color: var(--accent) !important; }
.border-subtle { border-color: var(--border) !important; }
.radius { border-radius: var(--radius) !important; }
.radius-sm { border-radius: 10px !important; }
.radius-xs { border-radius: 6px !important; }
.shadow-card { box-shadow: var(--shadow) !important; }

/* ─── Alert ──────────────────────────────────────────────────────────── */

.alert {
    border-radius: var(--radius-kucuk);
    border: 1px solid var(--border);
    background: var(--surface);
}

/* ─── Table ──────────────────────────────────────────────────────────── */

.table {
    color: var(--text);
}

.table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: var(--border);
    color: var(--text);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 0, 0, .02);
    color: var(--text);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, .03);
}

/* ─── Modal ──────────────────────────────────────────────────────────── */

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.modal-header {
    border-bottom-color: var(--border);
}

.modal-footer {
    border-top-color: var(--border);
}

/* ─── Pagination ─────────────────────────────────────────────────────── */

.page-link {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 8px !important;
    margin: 0 2px;
    transition: background .2s, color .2s;
}

.page-link:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
}

.page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
}

/* ─── Responsive grid helpers ────────────────────────────────────────── */

@media (max-width: 575.98px) {
    section { padding: 3rem 0; }
    .hero { padding: 4rem 0 3rem; }
    .card-body { padding: 1.25rem; }
    h1 { letter-spacing: -.03em; }
}

@media (max-width: 767.98px) {
    .section-lg { padding: 5rem 0; }
    .navbar .btn { display: none; }
}

@media (min-width: 992px) {
    .hero { padding: 9rem 0 7rem; }
}

/* ─── Smooth page transition ─────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1);
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ─── Header (Flexora tarzı: tam genişlik beyaz bar, gizlen/görün sticky) ── */

:root { --header-h: 60px; }
@media (min-width: 768px) { :root { --header-h: 70px; } }
@media (min-width: 992px) { :root { --header-h: 80px; } }

/* Duyuru çubuğu yüksekliği — bileşen aktifken _Layout <head>'de 44px'e set edilir. */
:root { --ann-h: 0px; }

/* Ek header yüksekliği: ikinci satır / üst bar ekleyen DÜZENLER body:has ile artırır
   (bkz. "Header düzen varyantları" bloğu). :has desteklemeyen çok eski tarayıcıda
   yalnız varsayılan yükseklik kalır — sayfa kırılmaz, bar içeriğe hafif biner. */
:root { --header-ek: 0px; }

body { padding-top: calc(var(--header-h) + var(--header-ek) + var(--ann-h)); }

.site-header {
    position: fixed;
    top: var(--ann-h);
    left: 0;
    right: 0;
    z-index: 1040;
    background: var(--surface);
    transition: top .15s linear, transform .15s linear;
    will-change: transform;
    /* Flexora palet türetmeleri — kiracı paletiyle otomatik uyum:
       --hdr-line: aksan tonlu açık şerit (#D5E8DF karşılığı — alt çizgi, hover zemini, burger)
       --hdr-chip: nötr açık daire zemini (#F2F0EC karşılığı — ikon çipleri) */
    --hdr-line: color-mix(in srgb, var(--accent) 24%, var(--surface));
    --hdr-chip: color-mix(in srgb, var(--text) 6%, var(--surface));
}

/* Aşağı kaydırınca gizle (10px sonrası), yukarı kaydırınca göster — Header.cshtml script'i yönetir */
.site-header--gizli { transform: translateY(-100%); }

/* Tam genişlik — kenar boşlukları hero kutusuyla (30px) hizalı */
.site-header-inner {
    padding: 0 var(--bolum-yan-mobil);
}
@media (min-width: 768px) { .site-header-inner { padding: 0 var(--bolum-yan); } }

.site-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
}

/* Sol/sağ kolonlar eşit esner → menü gerçek ortada (Flexora: 320px / %60 / 320px) */
.site-header-left { flex: 1 1 0; display: flex; align-items: center; min-width: 0; }

.site-header-logo { flex-shrink: 0; text-decoration: none !important; display: inline-flex; align-items: center; }
.site-header-logo:hover { opacity: 1; }
.site-header-logo img { max-height: 65px; width: auto; }

.site-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px 25px;
    flex: 0 1 auto;
    justify-content: center;
    /* Çok öğeli kiracı menüleri tek satıra sığmazsa sar — logo/aksiyonlara taşma olmasın */
    flex-wrap: wrap;
    min-width: 0;
}

.site-header-link {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .4s;
}
/* Flexora pointer: 2px alt çizgi, fade animasyonu */
.site-header-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--hdr-line);
    opacity: 0;
    transition: opacity .4s;
}
.site-header-link:hover { color: var(--accent); opacity: 1; }
.site-header-link:hover::after { opacity: 1; }

/* Aktif sayfa vurgusu (menü adresi mevcut yolla eşleşince — Header.cshtml işaretler) */
.site-header-link--aktif { color: var(--accent); }
.site-header-link--aktif::after { opacity: 1; }
.site-header--dolu .site-header-link--aktif { color: #fff; }
.site-header--seffaf.site-header--tepede .site-header-link--aktif { color: #fff; }

/* ── Hakkımızda dropdown ("Ayrı Sayfalar" düzeni) — hover/klavye odağıyla açılır ── */
.site-header-dd { position: relative; }

.site-header-dd-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 12em;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--surface);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .11);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 1050;
}
/* Link ile panel arasındaki 10px boşlukta hover kopmasın (görünmez köprü) */
.site-header-dd-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.site-header-dd:hover .site-header-dd-menu,
.site-header-dd:focus-within .site-header-dd-menu {
    opacity: 1;
    visibility: visible;
}

.site-header-dd-link {
    display: block;
    padding: 14px 20px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.site-header-dd-menu li:first-child .site-header-dd-link { border-radius: 6px 6px 0 0; }
.site-header-dd-menu li:last-child .site-header-dd-link { border-radius: 0 0 6px 6px; }
.site-header-dd-menu li:not(:last-child) { border-bottom: 1px solid var(--border); }
.site-header-dd-link:hover { background: var(--hdr-line); color: var(--accent); opacity: 1; }

/* Görselli dropdown (Menü Yönetimi → Açılır Alt Menü → Görselli): küçük kapak + etiket */
.site-header-dd-gorselli { min-width: 250px; }
.site-header-dd-gorselli .site-header-dd-link { display: flex; align-items: center; gap: 10px; }
.site-header-dd-thumb {
    display: block; width: 44px; height: 44px; flex-shrink: 0;
    border-radius: var(--radius-mini); object-fit: cover;
}
.site-header-dd-thumb-bos { background: color-mix(in srgb, var(--text) 8%, var(--bg)); }

.site-header-actions {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
@media (min-width: 992px) { .site-header-actions { gap: 20px; } }

/* Yuvarlak ikon çipi (arama / hesap / sepet) — Flexora: 18px ikon + 11px dolgu = 40px daire.
   .site-header ile skoplandı: _AiSearchModal içindeki eski .site-ai-search-trigger stilini ezer. */
.site-header .site-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--hdr-chip);
    color: var(--accent);
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .3s, color .3s;
}
.site-header .site-header-icon:hover,
.site-header .site-header-icon:focus-visible {
    background: var(--accent);
    color: #fff;
    opacity: 1;
    transform: none;
}

/* Sepet adet rozeti */
.site-header-icon-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border: 2px solid var(--surface);
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    text-align: center;
}

/* Mobil hamburger — Flexora: aksan tonlu kare (6px radius), 22px ikon */
.site-header-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--hdr-line);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}
.site-header-burger:hover { background: var(--accent); color: #fff; }

.site-header-mobile-panel {
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid transparent;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), border-color .35s;
}
.site-header-mobile-panel.open {
    max-height: 640px;
    overflow-y: auto;
    border-top-color: var(--border);
}

.site-header-mobile-menu {
    list-style: none;
    padding: .5rem 0 .75rem;
    margin: 0;
}
.site-header-mobile-link {
    display: block;
    padding: 14px 0;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    text-decoration: none !important;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.site-header-mobile-link:hover { color: var(--accent); opacity: 1; }

/* Hakkımızda alt sayfaları ("Ayrı Sayfalar" düzeni) — girintili ikincil linkler */
.site-header-mobile-sublink { padding-left: 1.25rem; font-weight: 500; }

/* ── Mobil panel alt menü akordeonu: üst link + ok düğmesi; alt liste gizli başlar ── */
.site-header-mobile-dal-bas {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.site-header-mobile-dal-bas .site-header-mobile-link { flex: 1 1 auto; border-bottom: 0; }
.site-header-mobile-ac {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--hdr-chip);
    color: var(--text);
    cursor: pointer;
    transition: background-color .2s;
}
.site-header-mobile-ac .bi { font-size: .8rem; transition: transform .25s ease; }
.site-header-mobile-ac[aria-expanded="true"] .bi { transform: rotate(180deg); }
.site-header-mobile-alt {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
}
.site-header-mobile-dal.acik .site-header-mobile-alt { max-height: 800px; }

/* ── Mobil panel dil satırı (≤767px'te bardaki hap gizlenir, diller panelde) ── */
.site-header-panel-diller {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 16px;
}
.site-header-panel-dil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    border-radius: var(--radius-hap, 999px);
    background: var(--hdr-chip);
    color: var(--text);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none !important;
    transition: background-color .2s, color .2s;
}
.site-header-panel-dil:hover { background: var(--hdr-line); color: var(--text); opacity: 1; }
.site-header-panel-dil.aktif { background: var(--accent); color: #fff; }

/* ── Mobil bar sığdırma: logo esner, aksiyonlar içerik genişliğinde kalır —
   dar ekranda aksiyonlar logonun üstüne biniyordu (tüm düzenlerde ortak kök neden) ── */
@media (max-width: 767.98px) {
    .site-header-row { gap: 12px; }
    .site-header-left { flex: 1 1 auto; }
    .site-header-actions { flex: 0 0 auto; gap: 8px; }
    .site-header-logo { flex-shrink: 1; min-width: 0; }
    .site-header-logo img { max-height: 40px; max-width: 100%; }
    /* Dil hapı ve hesap çipi barda gizli — panel satırlarından erişilir */
    .site-header .site-header-actions .dil-sec { display: none; }
    .site-header .site-header-actions .site-header-icon--hesap { display: none; }
    /* Bölünmüş düzen: üst menü linkleri gizliyken aksiyonlar sağda kalsın */
    .site-header-eylembant-ic { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header-mobile-alt, .site-header-mobile-ac .bi { transition: none; }
}

/* ─── Header düzen varyantları ────────────────────────────────────────
   Düzen Anasayfa Yönetimi'ndeki kilitli "Header" satırından gelir ve TÜM
   sayfalarda geçerlidir. TEK DOM kuralı: markup ve JS hiçbir düzende
   değişmez; varyantlar site-header--{kod} sınıfıyla CSS'ten şekillenir.
   Renkler token'lardan; beyazlar yalnız aksan/görsel ÜSTÜ kontrast istisnası. */

.site-header-logo-yazi { color: var(--text); font-size: 1.25rem; letter-spacing: -.02em; }

/* Yükseklik telafisi: ek satır/bar ekleyen düzenler body padding'ini büyütür */
@media (min-width: 768px) { body:has(.site-header--ikikatli) { --header-ek: 34px; } }
@media (min-width: 992px) { body:has(.site-header--ortalogo) { --header-ek: 50px; } }
body:has(.site-header--bolunmus) { --header-ek: 46px; }

/* ── Aralık (bar dolgusu) + Genişlik (içerik alanı) — kilitli satırın panel ayarları.
   Aralık --header-h'yi büyütüp küçültür (body padding kendiliğinden uyar);
   mobil yükseklik dokunulmaz kalır. ── */
@media (min-width: 992px) {
    body:has(.site-header--aralik-siki)  { --header-h: 64px; }
    body:has(.site-header--aralik-ferah) { --header-h: 96px; }
}
.site-header--genislik-dar .site-header-inner { max-width: 1240px; margin-inline: auto; }
@media (min-width: 768px) { .site-header--genislik-genis .site-header-inner { padding: 0 16px; } }

/* ── Ortalı Logo (Fióre esinli): solda telefon/e-posta, ortada logo, sağda
   aksiyonlar; menü ikinci satırda ortalı — hairline üstü, harf aralıklı
   büyük harf linkler, aktif sayfada ince aksan alt çizgi ── */
.site-header-kisa-iletisim { display: none; }
@media (min-width: 992px) {
    .site-header--ortalogo .site-header-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: var(--header-h) auto;
        grid-template-areas: "iletisim logo aksiyon" "menu menu menu";
        align-items: center;
        gap: 0 20px;
    }
    .site-header--ortalogo .site-header-left { grid-area: logo; flex: none; justify-content: center; }
    .site-header--ortalogo .site-header-actions { grid-area: aksiyon; flex: none; justify-self: end; }
    .site-header--ortalogo .site-header-menu {
        grid-area: menu;
        gap: 8px 34px;
        padding: 11px 0 15px;
        border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    }
    .site-header--ortalogo .site-header-kisa-iletisim {
        display: flex; grid-area: iletisim;
        align-items: center; gap: 18px; min-width: 0;
    }
}
.site-header--ortalogo .site-header-link {
    font-size: .8125rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
}
.site-header--ortalogo .site-header-link::after { height: 1.5px; background: var(--accent); }
.site-header--ortalogo .site-header-kisa-iletisim a {
    font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
}
.site-header-kisa-iletisim a {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .8125rem; font-weight: 600; color: var(--muted);
    text-decoration: none !important; white-space: nowrap; min-width: 0;
    transition: color .2s;
}
.site-header-kisa-iletisim a:hover { color: var(--accent); opacity: 1; }
.site-header-kisa-iletisim i { color: var(--accent); }
.site-header-kisa-iletisim span { overflow: hidden; text-overflow: ellipsis; }

/* ── İki Katlı: üstte ince iletişim + sosyal barı (veriler Site Ayarları'ndan) ── */
.site-header-ustbar {
    background: color-mix(in srgb, var(--accent) 88%, #14110e);
    color: rgba(255, 255, 255, .92);
    font-size: .8125rem;
}
.site-header-ustbar-ic {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 34px;
}
.site-header-ustbar a {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255, 255, 255, .92);
    text-decoration: none !important;
    transition: color .2s;
}
.site-header-ustbar a:hover { color: #fff; opacity: 1; }
.site-header-ustbar-sol { display: flex; align-items: center; gap: 18px; min-width: 0; }
.site-header-ustbar-sag { display: flex; align-items: center; gap: 12px; }

/* ── Yüzen Hap: kenarlardan kopuk, kavisli, gölgeli bar. Sayfanın ÜSTÜNE biner:
   body padding sıfırlanır, ilk bant (hero / breadcrumb görseli) hapın arkasına
   uzanır — hap görselin üstünde yüzen bir ada gibi durur. ── */
body:has(.site-header--yuzenhap) { padding-top: var(--ann-h); }
body:has(.site-header--yuzenhap) .hero-v2 { margin-top: 0; }
body:has(.site-header--yuzenhap) .tp-breadcrumb-area .tp-breadcrumb { padding-top: calc(var(--header-h) + 4px); }
.site-header--yuzenhap {
    top: calc(var(--ann-h) + 10px);
    left: 14px; right: 14px;
    border: 1px solid var(--border);
    border-radius: calc(var(--header-h) / 2);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .10);
    transition: top .15s linear, transform .15s linear, border-radius .25s ease;
}
@media (min-width: 992px) { .site-header--yuzenhap { left: 28px; right: 28px; } }
/* Mobil panel açıkken hap köşesi rahatlar (panel bar içinde büyür) */
.site-header--yuzenhap:has(.site-header-mobile-panel.open) { border-radius: 22px; }
.site-header--yuzenhap .site-header-mobile-panel { border-radius: 0 0 20px 20px; }
.site-header--yuzenhap.site-header--gizli { transform: translateY(calc(-100% - 14px)); }

/* ── Şeffaf: tepedeyken saydam + beyaz metin, kaydırınca dolu yüzey ──
   body padding sıfırlanır; sayfanın ilk bandı (hero / breadcrumb görseli)
   barın arkasına uzanır. JS site-header--tepede sınıfını yönetir. */
body:has(.site-header--seffaf) { padding-top: var(--ann-h); }
body:has(.site-header--seffaf) .hero-v2 { margin-top: 0; }
body:has(.site-header--seffaf) .tp-breadcrumb-area .tp-breadcrumb { padding-top: calc(var(--header-h) - 16px); }
.site-header--seffaf {
    transition: top .15s linear, transform .15s linear,
                background-color .25s ease, box-shadow .25s ease;
}
.site-header--seffaf:not(.site-header--tepede) { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.site-header--seffaf.site-header--tepede { background: transparent; }
.site-header--seffaf.site-header--tepede .site-header-link,
.site-header--seffaf.site-header--tepede .site-header-logo-yazi { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.site-header--seffaf.site-header--tepede .site-header-link::after { background: rgba(255, 255, 255, .55); }
.site-header--seffaf.site-header--tepede .site-header-link:hover { color: #fff; opacity: .85; }
/* İkon çipleri saydam camda kayboluyordu → paletin aksanı her zeminde okunur */
.site-header--seffaf.site-header--tepede .site-header-icon { background: var(--accent); color: #fff; }
.site-header--seffaf.site-header--tepede .site-header-icon:hover,
.site-header--seffaf.site-header--tepede .site-header-icon:focus-visible { background: #fff; color: var(--accent); }
.site-header--seffaf.site-header--tepede .site-header-burger { background: var(--accent); color: #fff; }
.site-header--seffaf.site-header--tepede .dil-sec .dropdown-toggle {
    background: var(--accent); color: #fff; border-color: transparent;
}

/* ── Minimal: menü her boyutta hamburger PERDESİNDE. Perde header altını
   kaplayan tam ekran katman: solda numaralı büyük tipografik linkler
   (kademeli girer), sağda hairline ayraçlı iletişim/sosyal paneli. ── */
.site-header--minimal .site-header-menu { display: none !important; }
.site-header--minimal .site-header-burger { display: inline-flex !important; }
/* NOT: fixed KULLANILMAZ — .site-header'daki will-change/transform, fixed'in
   containing block'u olup paneli bar yüksekliğine hapseder (bkz. modal dersi).
   Perde header'a göre absolute konumlanır, yüksekliği viewport'tan hesaplanır. */
.site-header-perde {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h) - var(--ann-h));
    overflow-y: auto;
    background:
        radial-gradient(720px 420px at 88% -12%,
            color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
        var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
    opacity: 0; visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.site-header-perde.open { opacity: 1; visibility: visible; transform: none; }

.site-header-perde-ic {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    padding: clamp(30px, 6vh, 64px) 30px 72px;
}
@media (max-width: 991.98px) {
    .site-header-perde-ic { grid-template-columns: 1fr; gap: 34px; padding-inline: 22px; }
}

/* Sol: numaralı büyük linkler, açılışta kademeli süzülür */
.site-header-perde-liste { list-style: none; margin: 0; padding: 0; counter-reset: perde; }
.site-header-perde-oge {
    counter-increment: perde;
    padding: 7px 0;
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
}
.site-header-perde.open .site-header-perde-oge { opacity: 1; transform: none; }
.site-header-perde-oge:nth-child(1) { transition-delay: .04s; }
.site-header-perde-oge:nth-child(2) { transition-delay: .08s; }
.site-header-perde-oge:nth-child(3) { transition-delay: .12s; }
.site-header-perde-oge:nth-child(4) { transition-delay: .16s; }
.site-header-perde-oge:nth-child(5) { transition-delay: .20s; }
.site-header-perde-oge:nth-child(6) { transition-delay: .24s; }
.site-header-perde-oge:nth-child(7) { transition-delay: .28s; }
.site-header-perde-oge:nth-child(n+8) { transition-delay: .32s; }
.site-header-perde-link {
    display: inline-flex; align-items: baseline; gap: 14px;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
    color: var(--text);
    text-decoration: none !important;
    transition: color .2s, transform .25s ease;
}
.site-header-perde-link::before {
    content: counter(perde, decimal-leading-zero);
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    color: color-mix(in srgb, var(--accent) 80%, var(--muted));
}
.site-header-perde-link:hover { color: var(--accent); opacity: 1; transform: translateX(6px); }
.site-header-perde-alt {
    list-style: none;
    margin: 4px 0 8px; padding: 0 0 0 36px;
    display: flex; flex-wrap: wrap; gap: 6px 20px;
}
.site-header-perde-alt a {
    font-size: .9rem; font-weight: 500; color: var(--muted);
    text-decoration: none !important;
    transition: color .2s;
}
.site-header-perde-alt a:hover { color: var(--accent); opacity: 1; }

/* Sağ: iletişim + sosyal paneli */
.site-header-perde-yan {
    align-self: start;
    display: flex; flex-direction: column; gap: 14px;
    border-left: 1px solid var(--border);
    padding-left: 44px;
    opacity: 0; transform: translateY(12px);
    transition: opacity .4s ease .22s, transform .4s ease .22s;
}
.site-header-perde.open .site-header-perde-yan { opacity: 1; transform: none; }
@media (max-width: 991.98px) {
    .site-header-perde-yan { border-left: 0; border-top: 1px solid var(--border); padding: 26px 0 0; }
}
.site-header-perde-etiket {
    font-size: .6875rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
}
.site-header-perde-tel {
    font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em;
    color: var(--text); text-decoration: none !important;
    transition: color .2s;
}
.site-header-perde-tel:hover { color: var(--accent); opacity: 1; }
.site-header-perde-mail {
    font-size: 1rem; font-weight: 600;
    color: var(--accent); text-decoration: none !important;
}
.site-header-perde-mail:hover { opacity: .8; }
.site-header-perde-adres { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--muted); }
.site-header-perde-sosyal { display: flex; gap: 10px; margin-top: 4px; }
.site-header-perde-sosyal a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text); font-size: .95rem;
    text-decoration: none !important;
    transition: background-color .2s, border-color .2s, color .2s;
}
.site-header-perde-sosyal a:hover { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1; }
.site-header-perde-cta { margin-top: 6px; align-self: flex-start; display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
    .site-header-perde, .site-header-perde-oge, .site-header-perde-yan { transition: none; }
}

/* ── Bölünmüş Menü: üstte ince eylem bandı (solda Üst Menü, sağda kompakt
   aksiyonlar), ana satır saf simetrik: menü — logo — menü ── */
.site-header-eylembant {
    background: color-mix(in srgb, var(--text) 3%, var(--surface));
    border-bottom: 1px solid var(--border);
}
.site-header-eylembant-ic {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 46px;
}
.site-header-eylembant-sol { display: flex; align-items: center; gap: 22px; min-width: 0; }
.site-header-eylembant-sol a {
    font-size: .8125rem; font-weight: 600; color: var(--muted);
    text-decoration: none !important; white-space: nowrap;
    transition: color .2s;
}
.site-header-eylembant-sol a:hover { color: var(--accent); opacity: 1; }
/* Bant içindeki aksiyonlar kompakt boy */
.site-header-eylembant .site-header-actions { flex: 0 0 auto; gap: 8px; }
.site-header .site-header-eylembant .site-header-icon,
.site-header-eylembant .site-header-burger { width: 32px; height: 32px; font-size: 17px; }
.site-header-eylembant .site-header-icon svg { width: 15px; height: 15px; }

.site-header-menu-yari { flex: 1 1 0; min-width: 0; }
.site-header-menu-sol { justify-content: flex-end; }
.site-header-menu-sag { justify-content: flex-start; }
.site-header-orta { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
@media (max-width: 991.98px) { .site-header--bolunmus .site-header-orta { flex: 1 1 0; justify-content: center; } }

/* ── Editoryal (La-féminité esinli): zemin sayfa rengi, hairline alt çizgi —
   solda harf aralıklı büyük harf menü, ortada logo, sağda aksiyonlar ── */
.site-header--editoryal { background: var(--bg); border-bottom: 1px solid var(--border); }
@media (min-width: 992px) {
    .site-header--editoryal .site-header-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas: "menu logo aksiyon";
        align-items: center;
        gap: 0 24px;
    }
    .site-header--editoryal .site-header-menu { grid-area: menu; justify-content: flex-start; gap: 6px 20px; }
    .site-header--editoryal .site-header-left { grid-area: logo; flex: none; justify-content: center; }
    .site-header--editoryal .site-header-actions { grid-area: aksiyon; flex: none; justify-self: end; }
}
.site-header--editoryal .site-header-link {
    font-size: .72rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
}
.site-header--editoryal .site-header-icon { background: transparent; border: 1px solid var(--border); }
.site-header--editoryal .site-header-burger { background: transparent; border: 1px solid var(--border); }
.site-header--editoryal .site-header-burger:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Dolu Zemin: aksan bar, beyaz metin (dropdown panelleri yüzeyde kalır) ── */
.site-header--dolu { background: var(--accent); }
.site-header--dolu .site-header-link,
.site-header--dolu .site-header-logo-yazi { color: #fff; }
.site-header--dolu .site-header-link:hover { color: #fff; opacity: .82; }
.site-header--dolu .site-header-link::after { background: rgba(255, 255, 255, .6); }
/* İkon çipleri saydam beyazda aksan tonuna göre siliniyordu → beyaz çip + aksan
   ikon: hangi palet seçilirse seçilsin kontrast garanti */
.site-header--dolu .site-header-icon { background: #fff; color: var(--accent); }
.site-header--dolu .site-header-icon:hover,
.site-header--dolu .site-header-icon:focus-visible { background: rgba(255, 255, 255, .82); color: var(--accent); }
.site-header--dolu .site-header-icon-badge { border-color: var(--accent); background: #fff; color: var(--accent); }
.site-header--dolu .site-header-burger { background: #fff; color: var(--accent); }
.site-header--dolu .site-header-burger:hover { background: rgba(255, 255, 255, .82); color: var(--accent); }
.site-header--dolu .site-header-mobile-panel.open { border-top-color: rgba(255, 255, 255, .25); }
.site-header--dolu .site-header-mobile-link { color: #fff; border-bottom-color: rgba(255, 255, 255, .18); }
.site-header--dolu .site-header-mobile-link:hover { color: rgba(255, 255, 255, .82); }
.site-header--dolu .site-header-mobile-dal-bas { border-bottom-color: rgba(255, 255, 255, .18); }
.site-header--dolu .site-header-mobile-ac { background: rgba(255, 255, 255, .18); color: #fff; }
.site-header--dolu .site-header-panel-dil { background: rgba(255, 255, 255, .18); color: #fff; }
.site-header--dolu .site-header-panel-dil.aktif { background: #fff; color: var(--accent); }
.site-header--dolu .dil-sec .dropdown-toggle { background: #fff; color: var(--accent); border-color: transparent; }

/* ── Çağrı Butonlu: aksiyonların önünde telefon + "Teklif Al" hap butonu ── */
.site-header--cagri .site-header-actions { gap: 14px; }
@media (min-width: 1200px) { .site-header--cagri .site-header-actions { gap: 18px; } }
.site-header-tel {
    align-items: center; gap: 8px;
    font-size: .9375rem; font-weight: 700;
    color: var(--text);
    text-decoration: none !important; white-space: nowrap;
    transition: color .2s;
}
.site-header-tel:hover { color: var(--accent); opacity: 1; }
.site-header-tel i { color: var(--accent); }
.site-header-cta {
    align-items: center;
    padding: 10px 22px;
    border-radius: var(--radius-hap);
    background: var(--accent);
    color: #fff;
    font-size: .875rem; font-weight: 600; line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    transition: opacity .2s;
}
.site-header-cta:hover { opacity: .88; color: #fff; }
/* Dolu/Şeffaf(tepede) zeminlerde çağrı butonu beyaza döner ki bardan ayrışsın */
.site-header--dolu .site-header-cta { background: #fff; color: var(--accent); }
.site-header--dolu .site-header-tel { color: #fff; }
.site-header--dolu .site-header-tel i { color: rgba(255, 255, 255, .8); }

/* ─── Hero v2 (video / image background) ────────────────────────────── */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
    min-height: 100vh;
}

@media (min-width: 768px)  { .hero-v2 { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 7rem; } }
@media (min-width: 992px)  { .hero-v2 { padding-top: calc(var(--header-h) + 10rem); padding-bottom: 9rem; } }

.hero-v2-bg {
    position: absolute;
    inset: 4px;
    overflow: hidden;
    border-radius: var(--radius-bolum);
    border: 1px solid rgba(0,0,0,.08);
}
@media (min-width: 992px) { .hero-v2-bg { border-radius: 48px; } }
[data-theme="dark"] .hero-v2-bg { border-color: rgba(255,255,255,.05); }

.hero-v2-bg video {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: .5; filter: invert(1);
}
[data-theme="dark"] .hero-v2-bg video { opacity: .35; filter: invert(0); }
@media (min-width: 992px) { [data-theme="dark"] .hero-v2-bg video { opacity: .75; } }

.hero-v2-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block; opacity: .3;
}
[data-theme="dark"] .hero-v2-bg img { opacity: .2; }

.hero-v2-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 992px) { .hero-v2-content { padding: 0 3rem; } }

.hero-v2-text { max-width: 42rem; text-align: center; margin: 0 auto; }
@media (min-width: 992px) { .hero-v2-text { text-align: left; margin: 0; max-width: 100%; } }

.hero-v2-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.05;
    max-width: 32rem;
    margin: 0 auto 2rem;
    color: var(--text);
}
@media (min-width: 992px) { .hero-v2-h1 { margin: 0 0 2rem; } }

.hero-v2-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}
@media (min-width: 992px) { .hero-v2-lead { margin: 0 0 2.5rem; } }

.hero-v2-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0;
}
@media (min-width: 576px) { .hero-v2-btns { flex-direction: row; justify-content: center; } }
@media (min-width: 992px) { .hero-v2-btns { justify-content: flex-start; } }

/* ─── Logo Slider ────────────────────────────────────────────────────── */

.logo-slider-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: .25rem 0 .75rem;
}

.logo-slider-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
@media (min-width: 768px) {
    .logo-slider-wrap { flex-direction: row; padding: 0 3rem; }
}

.logo-slider-label {
    font-size: .8125rem;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .logo-slider-label { min-width: 8rem; text-align: right; padding-right: 1.5rem; border-right: 1px solid var(--border); }
}

.logo-slider-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 1.25rem 0;
    min-width: 0;
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logo-scroll 36s linear infinite;
}
.logo-slider-track:hover { animation-play-state: paused; }

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-slider-track img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    display: inline-block;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .2s, filter .2s;
}
[data-theme="dark"] .logo-slider-track img { filter: grayscale(1) invert(1); }
.logo-slider-track img:hover { opacity: 1; filter: none; }

.logo-slider-fade-l {
    position: absolute; inset-y: 0; left: 0; width: 4rem;
    background: linear-gradient(to right, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}
.logo-slider-fade-r {
    position: absolute; inset-y: 0; right: 0; width: 4rem;
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}

/* ─── Faz 8.5: Accessibility (WCAG AA) ─────────────────────────── */
/* Focus ring — keyboard kullanıcıları için belirgin */
:focus-visible {
    outline: 3px solid #0071e3;
    outline-offset: 2px;
    border-radius: 2px;
}
/* Mouse click'te outline gözükmesin */
:focus:not(:focus-visible) {
    outline: none;
}
/* Skip-link odaklanınca görünür */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: fixed !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}
/* Reduced motion — kullanıcı animasyon istemiyorsa kapat */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Form input renk kontrastı — light mode */
input::placeholder, textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* ── WhatsApp yüzen buton efekti (SET projesindeki .wa-fab'dan) ──
   Hafif yukarı-aşağı süzülme + yeşil nabız halkası */
.wa-fab { animation: waFloat 3s ease-in-out infinite; }
.wa-fab::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab::before { animation: none; } }

/* ─── Kurumsal "Ayrı Sayfalar" düzeni ────────────────────────────────── */

/* Tekil kurumsal sayfa (/sayfa/*): bölüm partial'larındaki col-lg-9 daralmasını kaldır —
   içerik tam genişlik akar (kullanıcı kararı, "Ayrı Sayfalar" düzeni) */
.icerik-tam .col-lg-9 { flex: 0 0 100%; max-width: 100%; width: 100%; margin-left: 0 !important; margin-right: 0 !important; }

/* Kart görsel placeholder'ı — bg-light yerine tema yüzeyi (koyu temada da doğru) */
.kart-gorsel-bos {
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    color: var(--muted);
}

/* Tekil sayfa altındaki iç-link hapları — dokunma hedefi ≥44px */
.sayfa-nav-hap { padding: .55rem 1.1rem; border-radius: var(--radius-hap); }

/* ═══ Kurumsal iç sayfa tasarım katmanı (krm-) ═══════════════════════════
   /hakkimizda düzenleri + /sayfa bölümleri anasayfanın Flexora dilini izler:
   büyük başlık, hap buton/çip, yüzey kartları. Renk/font DAİMA token'dan. */

/* Bölümler arası dikey ritim (Klasik düzen akışı) */
.krm-akis { display: flex; flex-direction: column; gap: clamp(56px, 9vh, 104px); }

/* Bölüm başlığı: ortalanmış h2 + altında mini aksan çizgisi */
.krm-bas { position: relative; margin: 0 0 18px; color: var(--text); }
.krm-bas::after {
    content: ''; display: block; width: 40px; height: 3px;
    margin: 14px auto 0; border-radius: var(--radius-hap);
    background: var(--accent);
}
.krm-bas--sol::after { margin-left: 0; }
.krm-giris { max-width: 720px; margin: 0 auto 26px; color: var(--muted); line-height: 1.75; }

/* Metin gövdesi — anasayfa hk-flx-metin ölçüsü */
.krm-metin { font-size: 1.0625rem; line-height: 1.8; color: var(--text); }
.krm-metin p:last-child { margin-bottom: 0; }

/* Yüzey kartı: ince çerçeve + yumuşak gölge, hover'da hafif yükselme */
.krm-kart {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-kart); box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
}
@media (hover: hover) {
    .krm-kart:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .1); }
}

/* Hap butonlar — anasayfa hk-flx-btn geometrisiyle bire bir */
.krm-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 13px 20px; border: 1px solid transparent;
    border-radius: var(--radius-hap); font-size: .875rem; font-weight: 600;
    line-height: 1; text-decoration: none !important;
    transition: background-color .3s, border-color .3s, color .3s;
}
.krm-btn-birincil {
    background: color-mix(in srgb, var(--accent) 20%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 20%, var(--surface));
    color: var(--text);
}
.krm-btn-ikincil { background: transparent; border-color: var(--border); color: var(--text); }
.krm-btn-birincil:hover, .krm-btn-birincil:focus-visible,
.krm-btn-ikincil:hover, .krm-btn-ikincil:focus-visible {
    background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1;
}

/* Görselli-Metin: bölüm köşe yuvarlaklığı büyük görsele */
.krm-gm-gorsel img { width: 100%; border-radius: var(--radius-bolum); }

/* Sayaç / istatistik */
.krm-sayac-deger {
    font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700;
    letter-spacing: -.02em; color: var(--accent); line-height: 1.1;
}
.krm-sayac-etiket { margin-top: 4px; color: var(--muted); }

/* Alıntı / vurgu */
.krm-alinti { max-width: 780px; margin: 0 auto; text-align: center; }
.krm-alinti-isaret { font-size: 2.8rem; line-height: 1; color: var(--accent); opacity: .35; }
.krm-alinti-soz {
    margin: 8px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 300; line-height: 1.6; color: var(--text);
}
.krm-alinti-kim { margin-top: 16px; color: var(--muted); font-size: .9375rem; }

/* CTA bandı — aksan-yumuşak zemin (token türetmesi, hardcode yok) */
.krm-cta {
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--surface));
    border-radius: var(--radius-dev);
    padding: clamp(36px, 6vw, 64px);
    text-align: center;
}
.krm-cta .krm-giris { margin-bottom: 30px; }

/* Özellik / ikon kutuları */
.krm-ozellik { padding: 28px 22px; height: 100%; text-align: center; }
.krm-ozellik-ikon {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin: 0 auto 16px;
    border-radius: var(--radius-kucuk);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--accent); font-size: 1.5rem;
}
/* İkon kutusunun satır-içi varyantı: ortalayan "0 auto" margin'i sıfırlar (İletişim/İK/Şubeler satırları) */
.krm-ikon-satir { margin: 0; }
.krm-ozellik h3 { font-size: 1.125rem; margin-bottom: 8px; }
.krm-ozellik p { color: var(--muted); margin: 0; }

/* Zaman çizelgesi: aksan noktalı dikey çizgi + yıl çipi */
.krm-zaman { max-width: 760px; margin: 0 auto; }
.krm-zaman-oge { position: relative; display: flex; gap: 20px; padding: 0 0 34px 0; }
.krm-zaman-oge:last-child { padding-bottom: 0; }
.krm-zaman-yil {
    flex-shrink: 0; align-self: flex-start;
    padding: 6px 14px; border-radius: var(--radius-hap);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--accent); font-weight: 700; font-size: .875rem; line-height: 1;
}
.krm-zaman-icerik { position: relative; padding-left: 22px; }
.krm-zaman-icerik::before {
    content: ''; position: absolute; left: 0; top: 4px; bottom: -34px;
    width: 2px; background: color-mix(in srgb, var(--accent) 25%, var(--border));
}
.krm-zaman-oge:last-child .krm-zaman-icerik::before { bottom: 4px; }
.krm-zaman-icerik::after {
    content: ''; position: absolute; left: -4px; top: 4px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.krm-zaman-icerik h3 { font-size: 1.125rem; margin-bottom: 4px; }
.krm-zaman-icerik p { color: var(--muted); margin: 0; line-height: 1.7; }

/* SSS + Akordeon düzeni: Bootstrap accordion'u tema token'larına bağla */
.krm-akordeon .accordion-item {
    background: var(--surface); border: 1px solid var(--border);
    margin-bottom: 10px; border-radius: var(--radius-kucuk) !important;
    overflow: hidden;
}
.krm-akordeon .accordion-button {
    background: var(--surface); color: var(--text);
    font-weight: 600; box-shadow: none; padding: 1.05rem 1.25rem;
}
.krm-akordeon .accordion-button:not(.collapsed) {
    background: color-mix(in srgb, var(--accent) 7%, var(--surface));
    color: var(--text);
}
.krm-akordeon .accordion-button:focus { box-shadow: none; border: none; }
.krm-akordeon .accordion-body { color: var(--muted); line-height: 1.75; }

/* İndirme / dosya kartı */
.krm-indir {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
    padding: 26px 28px;
}
.krm-indir-ikon {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; flex-shrink: 0;
    border-radius: var(--radius-kucuk);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--accent); font-size: 1.7rem;
}

/* Galeri şeridi: köşe + hover'da hafif yakınlaşma */
.krm-galeri-kutu {
    display: block; border-radius: var(--radius-orta); overflow: hidden;
    box-shadow: var(--shadow);
}
.krm-galeri-kutu img { transition: transform .45s; }
@media (hover: hover) { .krm-galeri-kutu:hover img { transform: scale(1.045); } }

/* Video sarmalayıcı */
.krm-video { border-radius: var(--radius-bolum); overflow: hidden; box-shadow: var(--shadow); }

/* Logo şeridi (inline stil yerine sınıf; koyu zeminde de doğru) */
.krm-logo img {
    max-height: 64px; width: auto; object-fit: contain;
    filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s;
}
.krm-logo img:hover { filter: none; opacity: 1; }

/* Ekip kartı */
.krm-ekip-kart { overflow: hidden; text-align: center; height: 100%; }
.krm-ekip-kart img { width: 100%; height: 230px; object-fit: cover; object-position: top; display: block; }
.krm-ekip-govde { padding: 16px 14px 20px; }
.krm-ekip-govde h3 { font-size: 1rem; margin-bottom: 2px; }
.krm-ekip-govde p { color: var(--muted); font-size: .875rem; margin: 0; }

/* Yorum kartı */
.krm-yorum { padding: 26px; height: 100%; display: flex; flex-direction: column; }
.krm-yorum-yildiz { color: var(--accent); }
.krm-yorum-soz { font-style: italic; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.krm-yorum-kisi { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.krm-yorum-kisi img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* Ek bağlantı satırı (her bölümün altındaki opsiyonel hap link) */
.krm-ek-link { margin-top: 26px; text-align: center; }

/* ── Yan Menü düzeni: yapışkan hap navigasyon ── */
.krm-yan {
    position: sticky; top: calc(var(--header-h) + 24px);
    display: flex; flex-direction: column; gap: 6px;
}
.krm-yan .list-group-item {
    border: 1px solid transparent; border-radius: var(--radius-hap);
    background: transparent; color: var(--text);
    padding: .65rem 1.15rem; font-weight: 500; font-size: .9375rem;
    transition: background-color .25s, color .25s;
}
.krm-yan .list-group-item:hover { background: color-mix(in srgb, var(--text) 5%, var(--bg)); color: var(--text); }
.krm-yan .list-group-item.active {
    background: var(--accent); border-color: var(--accent); color: #fff;
}
@media (max-width: 767px) {
    .krm-yan { position: static; flex-direction: row; flex-wrap: wrap; }
}

/* ── Blog sayfaları ── */
.krm-blog-tarih { color: var(--muted); }
.krm-blog-kapak { border-radius: var(--radius-orta); }
.krm-blog-mini { width: 56px; height: 56px; object-fit: cover; }
.krm-blog-bolumler { display: flex; flex-direction: column; gap: 4px; }
.krm-blog-bolumler a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .5rem .9rem; border-radius: var(--radius-hap);
    color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 500;
    transition: background-color .25s, color .25s;
}
.krm-blog-bolumler a:hover { background: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.krm-blog-bolumler a.aktif { background: var(--accent); color: #fff; }
.krm-blog-bolumler .adet {
    font-size: .75rem; font-weight: 600; opacity: .75;
    font-variant-numeric: tabular-nums;
}

/* ── Medya/liste sayfaları: hap filtre butonları (Galeri, Videolar) ── */
.krm-filtre {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin-bottom: 36px;
}
.krm-filtre button {
    border: 1px solid var(--border); border-radius: var(--radius-hap);
    background: transparent; color: var(--text);
    padding: .55rem 1.2rem; font-size: .9rem; font-weight: 500;
    transition: background-color .25s, border-color .25s, color .25s;
}
.krm-filtre button:hover { background: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.krm-filtre button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Belge/Sertifika kartı (tam sayfa ızgaraları) ── */
.krm-belge-kart {
    display: flex; flex-direction: column;
    height: 100%; padding: 18px; text-align: center;
}
.krm-belge-kart a { display: block; }
.krm-belge-kart img { max-height: 220px; width: 100%; object-fit: contain; }
.krm-belge-ad { margin: 12px 0 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }

/* ── Ekip sayfası: sosyal ikon hapları ── */
.krm-ekip-sosyal { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.krm-ekip-sosyal a {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--accent); font-size: .95rem;
    transition: background-color .25s, color .25s;
}
.krm-ekip-sosyal a:hover { background: var(--accent); color: #fff; opacity: 1; }

/* ── Video kartı: poster + oynat rozeti (görsel üstü beyaz = kabul edilen istisna) ── */
.krm-video-kart { position: relative; display: block; }
.krm-video-oynat {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3.2rem; color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
    transition: transform .25s;
    pointer-events: none;
}
@media (hover: hover) {
    .krm-video-kart:hover .krm-video-oynat { transform: translate(-50%, -50%) scale(1.12); }
}

/* ── Sekme düzeni: hap segment kontrol ── */
.krm-sekmeler {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    border: none; margin-bottom: 40px;
}
.krm-sekmeler .nav-link {
    border: 1px solid var(--border); border-radius: var(--radius-hap);
    background: transparent; color: var(--text);
    padding: .6rem 1.25rem; font-weight: 500; font-size: .9375rem;
    transition: background-color .25s, border-color .25s, color .25s;
}
.krm-sekmeler .nav-link:hover { background: color-mix(in srgb, var(--text) 5%, var(--bg)); border-color: var(--border); }
/* Aktif sekme = krm-btn-birincil ile AYNI token işlemi (accent %20 + yüzey) —
   dolu accent zemin, müşterinin seçtiği palete göre buton dilinden kopuyordu. */
.krm-sekmeler .nav-link.active {
    background: color-mix(in srgb, var(--accent) 20%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 32%, var(--surface));
    color: var(--text); font-weight: 600;
}

/* ─── Bölüm zemin tonları (Anasayfa Yönetimi → Zemin seçici) ────────────────
   Home/Index her bölümü bu sarmalayıcıyla çizer. flow-root: bölümün kendi dikey
   margin'i bandın İÇİNDE kalır (beyaz boşluk sızmaz). "koyu" = [data-theme=dark]
   token'larının bölüm-kapsamlı kopyası — o blokla senkron tutulmalı. */
.bolum-zemin { display: flow-root; }
.bolum-zemin--yumusak { background: color-mix(in srgb, var(--text) 5%, var(--bg)); }
.bolum-zemin--aksan   { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.bolum-zemin--koyu {
    --bg: #000; --surface: #1d1d1f; --text: #f5f5f7;
    --muted: #a1a1a6; --border: rgba(255, 255, 255, .1);
    background: var(--bg);
}

/* Ton seçildiyse bölümün KENDİ zemin boyası (örn. Hizmetler beji, bant dolguları)
   sarmalayıcının rengini örtmesin — "renk gelmiyor" bunun sonucuydu. Kart/iç
   yüzeyler etkilenmez; yalnız bölüm kökü şeffaflaşır. */
.bolum-zemin--yumusak > section,
.bolum-zemin--aksan > section,
.bolum-zemin--koyu > section { background: transparent !important; }
.bolum-zemin--dolu > section { background: transparent !important; }

/* "Palet Rengi (Dolu)": zengin koyu-aksan bant — palet değişince onunla değişir.
   --accent içeride beyaza çevrilir ki aksan renkli metin/çizgiler bant üstünde
   görünür kalsın; bilinen aksan-zeminli çipler için altta istisnalar var. */
.bolum-zemin--dolu {
    /* DİKKAT: --accent burada DEĞİL, alttaki > section kuralında beyaza çevrilir.
       Aynı öğede çevrilirse bu türetmeler beyazdan hesaplanır ve bant GRİ çıkar. */
    --bg: color-mix(in srgb, var(--accent) 78%, #000);
    --surface: color-mix(in srgb, var(--accent) 55%, #000);
    --text: #fff;
    --muted: rgba(255, 255, 255, .75);
    --border: rgba(255, 255, 255, .22);
    background: var(--bg);
}
.bolum-zemin--dolu > section { --accent: #fff; }
.bolum-zemin--dolu .ur-flx-rozet--yeni { color: color-mix(in srgb, var(--bg) 85%, #000); }
.bolum-zemin--dolu :is(.ur-flx-buton, .hz-flx-buton, .ik-flx-buton, .tl-flx-buton, .bs-flx-buton):hover {
    color: color-mix(in srgb, var(--bg) 85%, #000);
}

/* ── Bölüm aralığı (Anasayfa Yönetimi → Aralık): yalnız dış boşluk (margin) ölçeklenir;
   iç dolgular ve zemin bantları bozulmaz. ── */
.bolum-aralik--siki > section { margin-block: 28px !important; }
.bolum-aralik--ferah > section { margin-block: 18vh !important; }

/* ── İçerik genişliği (Anasayfa Yönetimi → Genişlik): bölümlerin -inner sargısı
   dar (960px) ya da tam genişliğe çekilir.
   :not(.carousel-inner) — Bootstrap'ın carousel-inner'ı da "-inner" kalıbına uyuyor;
   daraltılırsa slayt rayı kayar ve carousel'li bölümlerin yapısı bozulur. ── */
.bolum-genislik--dar > section [class*="-inner"]:not(.carousel-inner) { max-width: 960px !important; }
.bolum-genislik--genis > section [class*="-inner"]:not(.carousel-inner) { max-width: none !important; }


/* ═══ Ürün detay galeri düzenleri (Görünüm > Ürün Detay Görünümü) ═══════
   8 düzen: Klasik | ThumbSol | ThumbSag | Grid | IkiliThumb | IkiliSlide |
   UcluSlide | IkiliGorsel — hepsi aynı carousel/fancybox altyapısını paylaşır. */
.urun-ana-carousel {
    border: 1px solid var(--border);
    border-radius: var(--radius-kart);
    overflow: hidden;
    background: var(--surface);
}
.urun-thumb {
    width: 74px; height: 74px; padding: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-kucuk);
    overflow: hidden; cursor: pointer; flex-shrink: 0;
    background: var(--surface);
    transition: border-color .2s;
}
.urun-thumb:hover, .urun-thumb.aktif { border-color: var(--accent); }
.urun-thumb img { width: 100%; height: 100%; object-fit: cover; }
.urun-thumb-video { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.4rem; }

/* Thumb yerleşimleri */
.urun-thumb-serit { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .75rem; }
.urun-thumb-dikey {
    display: flex; flex-direction: column; gap: .55rem;
    width: 78px; max-height: 560px; overflow-y: auto; flex-shrink: 0;
}
.urun-thumb-izgara {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: .55rem; margin-top: .75rem;
}
.urun-thumb-izgara .urun-thumb, .urun-thumb-2li .urun-thumb { width: 100%; height: auto; aspect-ratio: 1; }
.urun-thumb-2li {
    display: grid; grid-template-columns: repeat(2, 76px); gap: .55rem;
    align-content: start; max-height: 560px; overflow-y: auto; flex-shrink: 0;
}
@media (max-width: 991px) {
    /* dar ekranda dikey/2li thumb rayları yatay şeride düşer */
    .urun-thumb-dikey, .urun-thumb-2li {
        flex-direction: row; display: flex; width: auto; max-height: none;
        overflow-x: auto; overflow-y: hidden; margin-top: .75rem;
    }
    .urun-thumb-2li .urun-thumb { width: 74px; height: 74px; aspect-ratio: auto; }
}

/* Geniş bant düzenleri (2'li / 3'lü kolon slider + statik ikili) */
.urun-serit-gorsel {
    display: block; border-radius: var(--radius-orta); overflow: hidden;
    border: 1px solid var(--border); background: var(--surface);
}
/* height:auto ŞART — global img kuralı height attribute'unu ezmiyor; genişlik daralınca
   attr yüksekliği kalır ve görsel şerit gibi uzardı (aspect-ratio ancak height:auto'da işler). */
.urun-serit-gorsel img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; }
.urun-galeri-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.urun-galeri-ikili .urun-serit-gorsel img { aspect-ratio: 1/1; }
@media (max-width: 575px) { .urun-galeri-ikili { grid-template-columns: 1fr; } }
.urun-slider-nokta button {
    width: 9px; height: 9px; border-radius: 50%; border: 0;
    background: color-mix(in srgb, var(--text) 22%, transparent); padding: 0;
}
.urun-slider-nokta button.active { background: var(--accent); }

/* Bilgi kolonu + sekmeler */
.urun-meta-satir { color: var(--muted); font-size: .875rem; }
.urun-meta-satir strong { color: var(--text); font-weight: 600; }
.urun-video-band { background: var(--surface); border-block: 1px solid var(--border); }

/* ═══ Katalog kartları + kapak "kitap" görünümü ═══ */
.katalog-kapak {
    position: relative; display: block; overflow: hidden;
    border-radius: 5px var(--radius-orta) var(--radius-orta) 5px;
    box-shadow: 10px 14px 30px rgba(0, 0, 0, .16);
    background: var(--surface);
    transition: transform .25s;
}
.katalog-kapak img { height: auto; aspect-ratio: 3/4; object-fit: cover; }
.katalog-kapak::after {
    /* cilt payı — sol kenarda ince gölge şeridi */
    content: ''; position: absolute; inset: 0 auto 0 0; width: 12px;
    background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0));
    pointer-events: none;
}
@media (hover: hover) { .katalog-kart-sarici:hover .katalog-kapak { transform: translateY(-4px) rotate(-1deg); } }

/* ── Responsive img düzeltmesi: width/height ÖZNİTELİKLİ görsellerde genişlik
   daralınca (max-width:100%) attr yüksekliği sabit kalıp görseli şerit gibi
   uzatıyordu. Satır-içi aspect-ratio verilen tüm görsellerde yükseklik AUTO'ya
   döner; satır-içi açık height verenleri etkilemez (inline style kazanır). ── */
img[style*="aspect-ratio"] { height: auto; }

/* ── Ürün liste araç şeridi — panel .adm-durum-serit'in tema eşi ── */
.urun-arac-serit {
    display: flex; flex-wrap: wrap; gap: .5rem .9rem;
    align-items: center; justify-content: space-between;
    padding: .55rem .6rem .55rem 1.1rem; margin-bottom: 1.25rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-hap);
}
.urun-arac-serit .form-select { border-radius: var(--radius-hap); }
@media (max-width: 640px) { .urun-arac-serit { border-radius: var(--radius-orta); } }

/* ── Ürün detay: teknik özellik tablosu — çizgili (striped) premium sunum ── */
.urun-ozellik-tablo { width: 100%; border-collapse: collapse; font-size: .9375rem; text-align: left; }
.urun-ozellik-tablo tr:nth-child(odd) { background: color-mix(in srgb, var(--text) 3.5%, transparent); }
.urun-ozellik-tablo tr + tr { border-top: 1px solid var(--border); }
.urun-ozellik-tablo th {
    width: 38%; padding: .85rem 1.15rem; font-weight: 600;
    color: var(--text); vertical-align: top;
}
.urun-ozellik-tablo td { padding: .85rem 1.15rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 575px) { .urun-ozellik-tablo th { width: 44%; } }

/* ── Carousel okları: beyaz varsayılan ikon açık zeminde kayboluyordu ──
   Ana carousel: yarı saydam koyu daire içinde beyaz ok.
   Bant slider (.urun-serit-ok): yüzey renkli daire + tema renkli bi-chevron. */
.urun-ana-carousel .carousel-control-prev,
.urun-ana-carousel .carousel-control-next {
    width: 44px; height: 44px; top: 50%; bottom: auto;
    transform: translateY(-50%); margin: 0 12px;
    border-radius: 50%; opacity: .85;
    background: color-mix(in srgb, #000 45%, transparent);
    transition: opacity .2s;
}
.urun-ana-carousel .carousel-control-prev:hover,
.urun-ana-carousel .carousel-control-next:hover { opacity: 1; }
.urun-ana-carousel .carousel-control-prev-icon,
.urun-ana-carousel .carousel-control-next-icon { width: 1.15rem; height: 1.15rem; }
.urun-serit-ok {
    /* Koyu daire ŞART — yüzey renkli daire beyaz ürün görseli üstünde kayboluyordu
       (kullanıcı: "sağ ok görünmüyor"). İçeride konum + z-index: taşma kırpılmasın,
       yüzen butonların altında kalmasın. */
    width: 46px; height: 46px; top: 50%; bottom: auto;
    transform: translateY(-50%); margin: 0; opacity: 1; z-index: 3;
    border-radius: 50%; border: 0;
    background: color-mix(in srgb, var(--text) 80%, transparent); color: var(--bg);
    font-size: 1.3rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    transition: background .2s, color .2s;
}
.urun-serit-ok:hover { background: var(--accent); color: #fff; }
.carousel-control-prev.urun-serit-ok { left: 10px; }
.carousel-control-next.urun-serit-ok { right: 10px; }

/* ═══ Sepet + üye sayfaları (krm bütünlüğü) ═══ */
.sepet-tablo { width: 100%; border-collapse: collapse; }
.sepet-tablo th {
    padding: .8rem 1.1rem; font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
    border-bottom: 1px solid var(--border); text-align: left;
}
.sepet-tablo td { padding: .95rem 1.1rem; vertical-align: middle; }
.sepet-tablo tr + tr td { border-top: 1px solid var(--border); }
.sepet-gorsel {
    width: 56px; height: 56px; object-fit: cover; flex-shrink: 0;
    border-radius: var(--radius-kucuk); border: 1px solid var(--border);
    background: var(--surface);
}
.uye-ikon {
    width: 56px; height: 56px; font-size: 1.4rem;
    margin-left: auto; margin-right: auto;
}
.uye-sil-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; padding: 0; border: 1px solid var(--border);
    border-radius: 50%; background: var(--surface); color: var(--muted);
    transition: background .15s, color .15s, border-color .15s;
}
.uye-sil-btn:hover { background: #dc3545; border-color: #dc3545; color: #fff; }

/* Profil "Tekliflerim" — sıkı tablo varyantı (kompakt tek-ekran düzeni) */
.sepet-tablo--siki th { padding: .55rem .85rem; }
.sepet-tablo--siki td { padding: .6rem .85rem; }

/* ── Kompakt hero sarmalayıcısı — içeriği yoğun işlevsel sayfalar (profil, sepet)
   başlık bandını kısaltır ki sayfa ilk ekranda okunabilsin. Bileşenin gömülü
   kuralını specificity ile ezer (!important gerekmez). ── */
.hero-kisa .tp-breadcrumb-area .tp-breadcrumb { min-height: 160px; padding-bottom: 30px; }
.hero-kisa .tp-breadcrumb-area .tp-breadcrumb-title { font-size: 44px; }
.hero-kisa .tp-breadcrumb-area .tp-breadcrumb-menu { padding-top: 20px; margin-bottom: 6px; }
.hero-kisa .tp-breadcrumb-area .tp-breadcrumb-menu span { font-size: 15px; }
@media (max-width: 767.98px) {
    .hero-kisa .tp-breadcrumb-area .tp-breadcrumb-title { font-size: 34px; }
}
