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

:root {
    --bg: #fbfbfd;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #86868b;
    --accent: #0071e3;
    /* Paletin ikinci rengi (hover/kontrast). Görünüm'de palet seçiliyse gorunum-stil bunu ezer;
       varsayılan palette vurgunun koyulaştırılmış türevi + üstünde beyaz yazı. */
    --accent-2: color-mix(in srgb, var(--accent) 65%, #000);
    --accent-2-metin: #fff;
    --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);

    /* ─── Yazı tipi token'ları ───
       Tek doğruluk kaynağı Ayarlar → Görünüm → Yazı Tipi: seçim varsa GorunumKatalogu.StilEtiketi
       --font-govde / --font-baslik'i seçili Google Fonts çiftiyle ezer; seçim yoksa site SİSTEM
       fontuyla çalışır (hiçbir Google Font yüklenmez). Temada başka yerde sabit font adı yazılmaz —
       bileşenler miras alır ya da bu token'ları kullanır (FontKalintiTests bunu korur). */
    --font-sistem: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-govde: var(--font-sistem);
    --font-baslik: var(--font-govde);

    --bs-primary: var(--accent);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-font-sans-serif: var(--font-sistem);
    --bs-body-font-family: var(--font-govde);
    --bs-border-radius: var(--radius);
    --bs-card-border-color: var(--border);
    --bs-card-bg: var(--surface);
}

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

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-govde);
    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);
}
/* Başlıklar seçili başlık fontunu alır (Görünüm'de çift seçilmediyse gövdeyle aynı sistem fontu) */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-baslik); }

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

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

.card-body { padding: 1.75rem; }

.btn {
    border-radius: 999px;
    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: 999px;
    color: #fff;
}

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

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

.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: 999px;
}

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

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

.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: 14px;
    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;
}

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

/* (Ürün kartı stilleri kaldırıldı: kart artık tek yerden, ProductGrid
   bileşeninin uk- ızgarasından geliyor.) */

/* ─── 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: 999px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: .35em .75em;
}

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

/* ─── 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: 14px; margin: 1.5rem 0; }

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

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

.prose img { border-radius: 14px; }

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

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2rem;
    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) ─────────────────────────────────────────────── */

/* Kaydırma çubuğu: görünür ince çubuk. Önceki 6px + %8 siyah thumb açık zeminde kayboluyordu
   (fareyle üstüne gelmeden görünmüyordu). Chromium/Firefox standart özellikleri (scrollbar-*),
   Safari ::-webkit kuralları. Thumb metin renginden türetilir → palet ne olursa olsun okunur. */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .35) transparent;
    scrollbar-color: color-mix(in srgb, var(--text) 35%, transparent) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--text) 30%, transparent);
    border-radius: 999px; border: 2px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--text) 50%, transparent); background-clip: padding-box; }

/* ─── 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: 14px;
    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);
}

/* ─── 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 — solda hamburger + panel, ortada logo, sağda aksiyonlar ──────
   Ölçüler ve renkler referans tasarımdan alındı. Header sayfa akışındadır:
   sabitlenmez, içerikle birlikte yukarı kayar.
   ------------------------------------------------------------------------ */

:root {
    --ann-h: 0px;
    --bc-line: #e5e5e5;
    --bc-utility-bg: #f2f2f2;
    --bc-ink: #000;
    --bc-drawer-w: 27rem;
}

/* --ann-h: header üstü duyuru çubuğu yüksekliği. Çubuk sabit konumlu olduğu için
   body üstten yalnız o kadar boşluk bırakır. Çubuk yoksa 0 (DuyuruCubugu bileşeni
   aktifken :root'u 44px'e çeker; kapatılınca JS 0'a döndürür). */
body { padding-top: var(--ann-h); }

/* Header hero'nun ÜZERİNE binen saydam bir katmandır: arka planı yok, yazı ve
   ikonlar beyazdır (altta her sayfada koyu hero bandı var). Absolute — fixed
   değil: sayfa kaydırılınca içerikle birlikte yukarı kayar, ekranda asılı kalmaz. */
.bc-header {
    position: absolute;
    top: var(--ann-h);
    left: 0;
    right: 0;
    z-index: 1101;
    background: transparent;
    color: #fff;
}

/* ── Üst ince şerit ── (açık zemin: header'ın beyaz yazısını devralmasın) */
.bc-utility {
    display: flex;
    justify-content: center;
    padding-inline: 1.5rem;
    background: var(--bc-utility-bg);
    color: var(--bc-ink);
}
@media (min-width: 48rem) { .bc-utility { justify-content: flex-end; } }

.bc-utility-link {
    padding-block: .5rem;
    font-size: .75rem;
    letter-spacing: .0375rem;
    color: inherit;
    text-decoration: none;
}
a.bc-utility-link:hover { text-decoration: underline; }

/* ── Üst bar ızgarası ──
   Mobil: logo kendi satırında ortada, altında sol/sağ aksiyonlar.
   ≥1024px: tek satır — logo mutlak konumla tam ortada. */
.bc-topbar {
    position: relative;
    display: grid;
    grid-template-areas: "menu menu" "left right";
    grid-template-columns: 1fr 1fr;
    column-gap: 1.8125rem;
}
@media (min-width: 64rem) {
    .bc-topbar {
        grid-template-areas: "left right";
        grid-template-columns: 1fr 1fr;
        column-gap: 3rem;
        /* Referansta üst bar logo + boşluklarla ~7rem yüksekliğinde. */
        min-height: 7rem;
        align-items: center;
    }
}

.bc-col-left {
    grid-area: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1rem 1rem;
}
@media (min-width: 64rem) { .bc-col-left { padding-left: 1.5rem; } }
@media (min-width: 96rem) { .bc-col-left { gap: 1.5rem; } }

.bc-col-left-icons { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 96rem) { .bc-col-left-icons { gap: 1.5rem; } }
/* Dar ekranda servis ikonları hamburger'ın yanında sığmaz — panelde zaten listeleniyorlar. */
@media (max-width: 35.99rem) { .bc-col-left-icons { display: none; } }

.bc-col-right {
    grid-area: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1rem 1rem 0;
}
@media (min-width: 64rem) { .bc-col-right { padding-right: 1.5rem; } }
@media (min-width: 96rem) { .bc-col-right { gap: 1.5rem; } }

/* ── Logo ── */
.bc-logo {
    grid-area: menu;
    justify-self: center;
    padding-top: .5rem;
    padding-bottom: 1rem;
}
.bc-logo a { display: block; text-decoration: none; color: inherit; }
@media (min-width: 64rem) {
    .bc-logo {
        grid-area: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
    }
}

.bc-logo-img {
    display: block;
    object-fit: contain;
    width: 11.25rem;
    height: 3.5625rem;
    transition: filter .3s ease;
}
@media (min-width: 64rem) { .bc-logo-img { width: 12.5rem; height: 4rem; } }

.bc-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: inherit;
}

/* ── Hamburger ve ikon butonları ── */
.bc-menu-btn,
.bc-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}
.bc-menu-btn:focus-visible,
.bc-icon-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Referans ikon boyutu: --chakra-sizes-size-icon-md = 1.25rem (20px). */
.bc-ico { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; }
.bc-icon-btn i { font-size: 1.125rem; }

.bc-menu-label {
    font-size: .75rem;
    letter-spacing: .0375rem;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 22.49rem) { .bc-menu-label { display: none; } }

.bc-menu-btn:hover .bc-menu-label { text-decoration: underline; }
.bc-icon-btn:hover { opacity: .65; }

/* Sepet rozeti */
.bc-cart { position: relative; }
.bc-cart-badge {
    position: absolute;
    top: -.35rem;
    right: -.5rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 .25rem;
    border-radius: 999px;
    background: currentColor;
    color: transparent;
    font-size: .625rem;
    font-weight: 600;
    line-height: 1.05rem;
    text-align: center;
}
.bc-cart-badge { color: #fff; background: var(--bc-ink); }

/* ── Dil listesi (küre ikonu) ──
   Header artık akışta olduğu için katmanlar da ona göre konumlanır (fixed değil,
   header'a göre absolute) — sayfa kaydıkça header'la birlikte yukarı giderler. */
.bc-lang-pop {
    position: absolute;
    top: 100%;
    left: 1rem;
    z-index: 1102;
    min-width: 11rem;
    padding: .5rem;
    background: #fff;
    border: 1px solid var(--bc-line);
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
@media (min-width: 64rem) { .bc-lang-pop { left: 1.5rem; } }
.bc-lang-item {
    display: block;
    padding: .5rem .75rem;
    color: var(--bc-ink);
    font-size: .8125rem;
    letter-spacing: .0375rem;
    text-decoration: none;
}
.bc-lang-item:hover { background: var(--bc-utility-bg); color: var(--bc-ink); }
.bc-lang-item.is-active { font-weight: 600; text-decoration: underline; }

/* ── Arama paneli — header'ın hemen altına açılır ──
   Beyaz yüzey; içinde hap biçimli arama alanı (ikon + giriş + "Ara" düğmesi), altında
   ipucu ve ana menüden hızlı erişim hapları. Açılınca sayfa .bc-search-backdrop ile
   karartılıp bulanıklaştırılır (menü paneliyle aynı dil). Giriş/çıkış: hidden kalkar →
   .is-open ile opacity/translate geçişi (Header.cshtml aramaAc). Renkler sistem
   token'larından (--surface/--text/--accent/--border) — AI arama modalıyla aynı aile. */
.bc-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 32px 72px 28px 24px;
    background: var(--surface, #fff);
    color: var(--text, #1d1d1f);
    border-bottom: 1px solid var(--bc-line);
    box-shadow: 0 24px 48px -24px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .26s cubic-bezier(.22,1,.36,1);
}
.bc-search.is-open { opacity: 1; transform: none; }
.bc-search-ic { max-width: 46rem; margin: 0 auto; }

.bc-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    background: var(--bg, #fbfbfd);
    border: 1.5px solid var(--border, rgba(0,0,0,.1));
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.bc-search-form:focus-within {
    border-color: var(--accent);
    background: var(--surface, #fff);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.bc-search-ico { flex: none; color: var(--muted); }
.bc-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    padding: 10px 4px;
    font-size: 1.0625rem; /* ≥16px: iOS odakta yakınlaştırmaz */
    color: var(--text, #1d1d1f);
}
.bc-search-input::placeholder { color: var(--muted); text-overflow: ellipsis; }
.bc-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Odak halkası sarmalayıcıda (.bc-search-form:focus-within). Aşağıdaki global :focus-visible
   kuralı aynı özgüllükte ve daha sonra geldiği için girişin outline'ını geri getiriyordu. */
.bc-search-input:focus-visible { outline: 0; box-shadow: none; }
.bc-search-git {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.bc-search-git:hover { background: var(--accent-2, var(--accent)); color: var(--accent-2-metin, #fff); }
.bc-search-git:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Kapat: panelin sağ üst köşesi, 44px dokunma alanı */
.bc-search-close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.bc-search-close:hover { background: color-mix(in srgb, var(--text, #1d1d1f) 6%, transparent); color: var(--text, #1d1d1f); }
.bc-search-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Alt satır: solda ipucu, sağda hızlı erişim hapları */
.bc-search-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.bc-search-hint {
    margin: 0;
    font-size: .8125rem;
    letter-spacing: .01em;
    color: var(--is-muted-koyu, #5c5c60);
}
.bc-search-kisa { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bc-search-kisa-etiket {
    margin-right: 2px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--is-muted-koyu, #5c5c60);
}
.bc-search-hap {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border, rgba(0,0,0,.1));
    background: var(--surface, #fff);
    color: var(--text, #1d1d1f);
    font-size: .8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}
.bc-search-hap:hover, .bc-search-hap:focus-visible { border-color: var(--accent); background: var(--accent); color: #fff; opacity: 1; }
.bc-search-hap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Arka plan katmanı — header'ın (z 1101) altında, sayfanın üstünde */
.bc-search-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(20,18,15,.45);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    opacity: 0;
    transition: opacity .25s ease;
}
.bc-search-backdrop.is-open { opacity: 1; }

@media (max-width: 47.99rem) {
    .bc-search { padding: 22px 16px 20px; }
    .bc-search-ic { padding-right: 40px; }   /* kapat düğmesine yer */
    .bc-search-close { top: 10px; right: 8px; }
    .bc-search-form { padding-left: 14px; }
    .bc-search-git { padding: 0 16px; }
    .bc-search-alt { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .bc-search, .bc-search-backdrop, .bc-search-form, .bc-search-git, .bc-search-hap, .bc-search-close { transition: none; }
    .bc-search { transform: none; }
}

/* ── Menü paneli (soldan açılır) ── */
/* Arkadaki sayfa referansta karartılmakla kalmaz, bulanıklaştırılır da. */
.bc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1102;
    background: rgba(20,18,15,.45);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    animation: bcFade .3s ease both;
}
@keyframes bcFade { from { opacity: 0 } to { opacity: 1 } }

/* Panel ekran kenarlarına yapışmaz; referanstaki gibi ince bir boşlukla oturur. */
.bc-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1103;
    width: min(var(--bc-drawer-w), 100vw);
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--bc-ink);
    transform: translateX(-101%);
    visibility: hidden;
    transition: transform .5s cubic-bezier(.19,1,.22,1), visibility .5s;
}
@media (min-width: 48rem) {
    .bc-drawer { top: 1rem; bottom: 1rem; left: 1rem; }
}
.bc-drawer.is-open { transform: translateX(0); visibility: visible; }

.bc-drawer-head {
    display: flex;
    align-items: center;
    padding: 1.25rem 0 0 1.75rem;
    flex-shrink: 0;
}
@media (min-width: 48rem) { .bc-drawer-head { padding: 1.25rem 0 0 1.75rem; } }

.bc-drawer-close {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    color: var(--bc-ink);
    line-height: 1;
}
.bc-drawer-close:hover { opacity: .55; }

.bc-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 2.75rem 2.25rem 2.25rem;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 48rem) { .bc-drawer-body { padding: 1.25rem 2.75rem 1.25rem; } }

.bc-drawer-intro { padding-bottom: 1.75rem; }
.bc-eyebrow {
    display: block;
    font-size: .6875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}
.bc-drawer-title {
    font-family: var(--font-baslik);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 .5rem;
}
.bc-drawer-desc { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* Ana menü — referansta büyük serif, normal harf düzeni (BÜYÜK HARF DEĞİL),
   aralarında ayraç çizgisi YOK, satır aralığı geniş. Menü adları panelden
   nasıl yazıldıysa öyle çıkar; CSS harf düzenine karışmaz. */
.bc-nav-list { list-style: none; margin: 0; padding: 0; }
.bc-nav-item { border: 0; }

.bc-nav-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0;
    margin-bottom: 1.05rem;
    border: 0;
    background: none;
    text-align: left;
    font-family: var(--font-baslik);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .005em;
    text-transform: none;
    color: var(--bc-ink);
    text-decoration: none;
    cursor: pointer;
    transition: opacity .18s ease;
}
@media (max-width: 47.99rem) { .bc-nav-link { font-size: 1.75rem; margin-bottom: .85rem; } }
.bc-nav-link:hover { color: var(--bc-ink); opacity: .5; }

.bc-acc-caret { transition: transform .25s ease; flex-shrink: 0; align-self: center; opacity: .5; }
.bc-nav-item.is-open .bc-acc-caret { transform: rotate(90deg); }

.bc-subnav { list-style: none; margin: -.35rem 0 1.1rem; padding: 0; }
.bc-subnav-link {
    display: block;
    padding: .3rem 0;
    font-size: .9375rem;
    letter-spacing: .01em;
    color: var(--muted);
    text-decoration: none;
}
.bc-subnav-link:hover { color: var(--bc-ink); }

/* Panel butonları */
.bc-drawer-actions { display: flex; flex-direction: column; gap: .625rem; padding-top: 1.75rem; }
.bc-btn {
    display: block;
    padding: .875rem 1.25rem;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--bc-ink);
    transition: background .2s, color .2s;
}
.bc-btn-solid { background: var(--bc-ink); color: #fff; }
.bc-btn-solid:hover { background: #fff; color: var(--bc-ink); }
.bc-btn-ghost { background: #fff; color: var(--bc-ink); }
.bc-btn-ghost:hover { background: var(--bc-ink); color: #fff; }

/* Görsel kart */
.bc-promo { position: relative; display: block; margin-top: 1.75rem; overflow: hidden; text-decoration: none; }
.bc-promo img { display: block; width: 100%; height: 11rem; object-fit: cover; transition: transform .6s cubic-bezier(.19,1,.22,1); }
.bc-promo:hover img { transform: scale(1.04); }
.bc-promo-text {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
    color: #fff;
}
.bc-promo-eyebrow { display: block; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bc-promo-title { display: block; font-size: 1rem; letter-spacing: .04em; }

/* Servis linkleri — ana menünün altında, küçük sans, ayraçsız (referanstaki
   "Tutorial / Contact us" bloğunun karşılığı). Menü Yönetimi'nden gelir. */
.bc-service-list { list-style: none; margin: 3.25rem 0 0; padding: 0; border: 0; }
.bc-service-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem 0;
    font-size: .9375rem;
    letter-spacing: .005em;
    color: var(--bc-ink);
    text-decoration: none;
}
.bc-service-link:hover { opacity: .55; color: var(--bc-ink); }
.bc-service-link i { font-size: .9rem; opacity: .7; }

/* Dil + sosyal */
.bc-drawer-langs { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; margin-top: 2.25rem; }
.bc-drawer-lang { font-size: .8125rem; letter-spacing: .02em; color: var(--muted); text-decoration: none; }
.bc-drawer-lang:hover { color: var(--bc-ink); }
.bc-drawer-lang.is-active { color: var(--bc-ink); text-decoration: underline; text-underline-offset: 3px; }

.bc-drawer-social { display: flex; gap: 1.15rem; margin-top: 1.5rem; }
.bc-drawer-social a { color: var(--bc-ink); font-size: 1.05rem; text-decoration: none; opacity: .75; }
.bc-drawer-social a:hover { opacity: 1; }

/* Yasal linkler — referansta panelin en altında YATAY sırada, büyük harf,
   geniş harf aralığı, çok küçük punto. */
.bc-legal-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin: 1.25rem 0 0;
    padding: 0;
    border: 0;
}
.bc-legal-link {
    display: inline-block;
    padding: 0;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .085em;
    text-transform: uppercase;
    color: var(--bc-ink);
    text-decoration: none;
    white-space: nowrap;
}
.bc-legal-link:hover { opacity: .55; color: var(--bc-ink); }

@media (prefers-reduced-motion: reduce) {
    .bc-drawer, .bc-promo img, .bc-acc-caret { transition: none; }
    .bc-backdrop { animation: none; }
}

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

/* Header sabit değil, akışta — Hero artık onun altına çekilmez, hemen ardından
   başlar. Bu yüzden negatif margin ve header yüksekliği kadar ek üst boşluk yok. */
.hero-v2 {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 3rem;
    padding-bottom: 5rem;
    min-height: 100vh;
}

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

.hero-v2-bg {
    position: absolute;
    inset: 4px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,.08);
}
@media (min-width: 992px) { .hero-v2-bg { border-radius: 48px; } }

.hero-v2-bg video {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: .5; filter: invert(1);
}

.hero-v2-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block; opacity: .3;
}

.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;
}
.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 var(--accent, #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: var(--muted);
    opacity: 1;
}

/* (Ürün detayındaki sabit "Yazdır / Teklif İste" rayı kaldırıldı: teklif akışı
   yok, yazdırma bağlantısı satın alma panelinin içinde — .dp-ikon.) */

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

/* Tekil kurumsal sayfa (/sayfa/*): bölüm partial'larının 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 */
.kart-gorsel-bos {
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    color: var(--muted);
}

/* Filtre hapları (tekil sayfa iç-link navigasyonu) — 44px dokunma hedefi */
.filtre-hap {
    border-radius: 999px;
    padding: .55rem 1.25rem;
    min-height: 44px;
    font-weight: 500;
}

/* ── Ürün ızgarası: "sepete ekle" / "seçenekleri gör" ikon butonu
      (uk-alt satırı; online satış açıkken basılır) ────────────────────────────
   44px: WCAG 2.5.8 dokunma hedefi (ikon 16px kalır, yalnız hedef büyür). */
.uk-sepet-form{margin:0;display:inline-flex}
.uk-sepet{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border-radius:999px;border:1px solid var(--border,#e5e7eb);background:var(--surface,#fff);color:var(--accent,#111);cursor:pointer;transition:background .15s,color .15s}
.uk-sepet:hover{background:var(--accent,#111);color:#fff}
.uk-sepet svg{width:16px;height:16px}
