/* YeniShop — Tailwind dışında kalan custom CSS */

/* Critical layout — Tailwind CDN compile etmeden önce de doğru pozisyon (FOUC önleme)
   Nav her zaman fixed top, SOLID beyaz arka plan (mobil ve desktop'ta net görünür) */
body > nav,
nav.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
}
[data-bf-vs] { margin-top: 5rem; }

body { font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
h1, h2, h3, .serif { font-family: 'Playfair Display', serif; }

.hero-gradient { background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1)); }

/* Kart background — solid beyaz; görsellerin whitening sonrası pure white bg'siyle
   homojen blend, kartlar arası görünür "çerçeve" yok */
.bf-card-bg {
    background: #ffffff;
}

.nav-link { position: relative; padding-bottom: 2px; }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 1px;
    bottom: 0; left: 0; background-color: black; transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

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

/* Dropdown */
.dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown > a { display: flex; align-items: center; height: 100%; }
.dropdown-menu {
    position: absolute; top: 100%; left: -16px;
    min-width: 220px; background: white;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 60; padding: 16px 0;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block; padding: 10px 24px;
    font-size: 12px; letter-spacing: 0.05em;
    color: #6b7280; transition: all 0.2s;
}
.dropdown-menu a:hover { color: #000; padding-left: 28px; }

/* Mobile menu */
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 90; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed; top: 0; right: 0;
    width: 320px; max-width: 85vw; height: 100%;
    background: white; z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-submenu.open { max-height: 600px; }

/* Search Bar */
.search-bar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: white; z-index: 80;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.search-bar.active { transform: translateY(0); }

/* Cart Sidebar */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 90; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
    position: fixed; top: 0; right: 0;
    width: 420px; max-width: 90vw; height: 100%;
    background: white; z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.cart-sidebar.active { transform: translateX(0); }

/* Filter sidebar (kategori sayfası) */
.filter-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 90; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.filter-overlay.active { opacity: 1; visibility: visible; }
.filter-sidebar {
    position: fixed; top: 0; left: 0;
    width: 360px; max-width: 90vw; height: 100%;
    background: white; z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.filter-sidebar.active { transform: translateX(0); }

/* Sort dropdown */
.sort-dropdown {
    position: absolute; top: 100%; right: 0;
    min-width: 200px; background: white;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    opacity: 0; visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    z-index: 30;
}
.sort-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.sort-dropdown button {
    display: block; width: 100%; text-align: left;
    padding: 10px 16px; font-size: 12px; color: #6b7280;
    transition: all 0.15s;
}
.sort-dropdown button:hover { color: #000; background: #f9fafb; }
.sort-dropdown button.selected { color: #000; font-weight: 600; }

/* Sticky ürün detay panel — sadece masaüstünde */
.sticky-content { position: sticky; top: 120px; }
@media (max-width: 1024px) {
    .sticky-content { position: static !important; top: auto !important; }
}

/* Sepet/checkout/hesabım'da Tailwind sticky helper'ları (top-32 vs.) mobilde
   sayfayı bloke etmesin — sticky'yi sadece lg breakpoint üstünde bırakıyoruz. */
@media (max-width: 1023px) {
    .ys-private-page .sticky,
    main .sticky.top-32 {
        position: static !important;
        top: auto !important;
    }
}

/* ============== Mobil — iOS zoom önle + tap target ============== */

/* iOS Safari, font-size < 16px input'larda otomatik zoom yapar; tüm tema
   form elemanlarına 16px taban veriyoruz. */
@media (max-width: 640px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Sepet ve ürün detay miktar butonları için 44px min tap target */
.ys-cart-line button,
.ys-cart-qty-dec, .ys-cart-qty-inc,
.ys-cart-line .ys-cart-qty {
    min-width: 32px; min-height: 32px;
}
@media (max-width: 768px) {
    .ys-cart-line button,
    .ys-cart-qty-dec, .ys-cart-qty-inc,
    .ys-cart-line .ys-cart-qty {
        min-width: 36px; min-height: 36px;
    }
    /* Ürün detayda beden/renk butonları */
    .ys-size-btn { min-width: 48px !important; min-height: 48px !important; }
    .ys-color-btn { min-width: 36px !important; min-height: 36px !important; }
}

/* ============== HESABIM (admin + müşteri ortak) ============== */

.ys-account-main { font-size: 15px; color: #111827; }
.ys-account-main h1, .ys-account-main h2, .ys-account-main h3, .ys-account-main h4 { color: #111827; }

/* Sidebar nav */
.ys-side-nav { padding-right: 8px; }
.ys-side-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    color: #6b7280;
    border-radius: 0;
    border-left: 2px solid transparent;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color .15s, border-color .15s, background-color .15s;
}
.ys-side-link:hover { color: #000; background: #fafafa; }
.ys-side-link.is-active {
    color: #000;
    background: #f9fafb;
    border-left-color: #000;
    font-weight: 600;
}
.ys-side-icon { display: inline-flex; flex-shrink: 0; }
.ys-side-label { font-size: 13px; }
.ys-side-link-logout:hover {
    color: #b91c1c;
    background: #fef2f2;
    border-left-color: #dc2626;
}

/* Stat card (KPI) */
.ys-stat-card {
    display: block;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #f3f4f6;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
a.ys-stat-card:hover {
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(17,24,39,0.06);
}
.ys-stat-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    margin-bottom: 16px;
}
.ys-stat-label { font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px; }
.ys-stat-value { font-family: 'Playfair Display', serif; font-style: italic; font-size: 36px; line-height: 1.1; color: #111827; }
.ys-stat-link { display: inline-block; margin-top: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #6b7280; }
a.ys-stat-card:hover .ys-stat-link { color: #000; }

.ys-stat-card--primary {
    background: #111827;
    color: #fff;
    border-color: #111827;
}
.ys-stat-card--primary .ys-stat-icon { background: rgba(255,255,255,.08); color: #fff; }
.ys-stat-card--primary .ys-stat-label { color: rgba(255,255,255,.6); }
.ys-stat-card--primary .ys-stat-value { color: #fff; }
.ys-stat-card--primary .ys-stat-link { color: rgba(255,255,255,.6); }

.ys-stat-card--warning .ys-stat-icon { background: #fffbeb; color: #b45309; }

/* Order row (liste satırı) */
.ys-order-list { display: flex; flex-direction: column; gap: 8px; }
.ys-order-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, transform .15s, background-color .15s;
}
a.ys-order-row:hover { border-color: #111827; }
.ys-order-row-main { min-width: 0; }
.ys-order-row-id { font-size: 16px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.ys-order-row-meta { font-size: 13px; color: #6b7280; }
.ys-order-row-side { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.ys-order-row-total { font-size: 16px; font-weight: 600; color: #111827; }

/* Sipariş hero (detay başlığı) */
.ys-order-hero {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
}
.ys-order-hero-side { text-align: right; }

/* Info card (3'lü) */
.ys-info-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    padding: 20px;
}
.ys-info-card-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 6px;
    background: #f9fafb;
    color: #111827;
    margin-bottom: 12px;
}
.ys-info-card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: #9ca3af; margin-bottom: 6px; }
.ys-info-card-value { font-size: 16px; font-weight: 500; color: #111827; }
.ys-info-card-meta  { font-size: 13px; color: #6b7280; margin-top: 4px; }

/* Sipariş kalemleri */
.ys-order-items {
    background: #fff;
    border: 1px solid #f3f4f6;
}
.ys-order-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}
.ys-order-item:last-child { border-bottom: none; }
.ys-order-item-thumb {
    width: 56px; height: 64px;
    background: #f3f4f6;
    flex-shrink: 0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.ys-order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ys-order-totals {
    background: #fafbfc;
    border: 1px solid #f3f4f6;
    padding: 22px 26px;
    max-width: 480px;
    margin-left: auto;
    display: flex; flex-direction: column; gap: 8px;
}

/* Empty state */
.ys-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fafbfc;
    border: 1px dashed #e5e7eb;
    display: flex; flex-direction: column; align-items: center;
}
.ys-empty p { margin: 0; }

/* Light card (form container) */
.ys-card-light {
    background: #fff;
    border: 1px solid #f3f4f6;
    padding: 28px;
}

/* Inputs (frontend hesabım) */
.ys-input-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #6b7280; margin-bottom: 8px; font-weight: 600; }
.ys-account-main .ys-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color .15s;
    color: #111827;
}
.ys-account-main .ys-input:focus { outline: none; border-color: #000; }
.ys-account-main .ys-textarea { resize: vertical; min-height: 80px; }

/* CTA buttons */
.ys-cta-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    border: 1px solid #111827;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
    text-decoration: none;
}
.ys-cta-primary:hover { background: #1f2937; border-color: #1f2937; color: #fff; }
.ys-cta-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.ys-cta-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: #111827;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    border: 1px solid #111827;
    cursor: pointer;
    transition: background-color .15s, color .15s;
    text-decoration: none;
}
.ys-cta-secondary:hover { background: #111827; color: #fff; }

.ys-cta-primary.w-full, .ys-cta-secondary.w-full { width: 100%; }

/* Address card */
.ys-address-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    padding: 22px 24px;
    transition: border-color .15s;
}
.ys-address-card:hover { border-color: #111827; }

/* Customer card */
.ys-customer-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    padding: 22px 24px;
    transition: border-color .15s;
}
.ys-customer-card:hover { border-color: #111827; }

/* Admin section (sipariş yönetimi blokları) */
.ys-admin-section {
    margin-top: 32px;
    background: #fff;
    border: 1px solid #f3f4f6;
}
.ys-admin-section-head {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(180deg, #fafbfc, #fff);
}
.ys-admin-section-body { padding: 22px 24px; }

.ys-admin-tool {
    background: #fafbfc;
    border: 1px solid #f3f4f6;
    padding: 18px 20px;
}

/* ============== Sipariş Stepper (durum adımları) ============== */

.ys-stepper {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--steps, 4), 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0;
    counter-reset: step;
    position: relative;
}
.ys-step {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center;
    position: relative;
    padding: 6px 4px 0;
}
/* bağlayıcı çizgi (her step'in soluna; ilk step hariç) */
.ys-step::before {
    content: "";
    position: absolute;
    top: 22px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}
.ys-step:first-child::before { display: none; }
.ys-step--done::before,
.ys-step--active::before { background: #111827; }

.ys-step-dot {
    position: relative;
    z-index: 1;
    width: 44px; height: 44px;
    border-radius: 999px;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #9ca3af;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 600;
    transition: all .15s;
}
.ys-step-dot svg { width: 20px; height: 20px; }
.ys-step--upcoming .ys-step-dot { color: #9ca3af; }
.ys-step--active   .ys-step-dot { border-color: #111827; color: #111827; box-shadow: 0 0 0 4px rgba(17,24,39,0.08); background: #fff; }
.ys-step--done     .ys-step-dot { border-color: #111827; background: #111827; color: #fff; }

.ys-step-label {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.3;
    max-width: 140px;
}
.ys-step--active .ys-step-label,
.ys-step--done   .ys-step-label { color: #111827; font-weight: 600; }

/* Durum notu / sapma (cancelled / refunded / havale bekleniyor) */
.ys-status-note {
    margin-top: 18px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid currentColor;
}
.ys-status-note--warning { background: #fffbeb; color: #92400e; }
.ys-status-note--cancel  { background: #fef2f2; color: #b91c1c; }
.ys-status-note--refund  { background: #fff7ed; color: #c2410c; }

@media (max-width: 640px) {
    .ys-stepper { grid-auto-columns: minmax(80px, 1fr); }
    .ys-step-label { font-size: 12px; }
    .ys-step-dot { width: 36px; height: 36px; }
    .ys-step::before { top: 18px; }
}

/* ============== Sipariş Detay — Sade Bölümler ============== */

.ys-detail-section {
    background: #fff;
    border: 1px solid #f3f4f6;
    margin-bottom: 14px;
}
.ys-detail-section-title {
    display: flex; align-items: center; gap: 12px;
    margin: 0; padding: 18px 24px;
    background: #111827 !important;
    border-bottom: 1px solid #111827;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #ffffff !important;
    font-weight: 600;
}
.ys-detail-section-title,
.ys-detail-section-title * { color: #ffffff !important; }
.ys-detail-section-title svg { color: #ffffff !important; width: 18px !important; height: 18px !important; stroke: #ffffff !important; }
.ys-detail-section-title--admin {
    background: #111827 !important;
    color: #ffffff !important;
    border-bottom-color: #111827;
}
.ys-detail-section-title--admin,
.ys-detail-section-title--admin * { color: #ffffff !important; }
.ys-detail-section-title--admin svg { color: #ffffff !important; stroke: #ffffff !important; }
.ys-detail-section-body { padding: 22px; }
.ys-detail-section-body.p-0 { padding: 0; }

/* Sipariş detayında sözleşme butonu — net, belirgin, tek tıkta açılır */
.ys-detail-contract-btn {
    display: flex; align-items: center; gap: 14px;
    width: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s, background-color .15s;
}
.ys-detail-contract-btn:hover {
    border-color: #111827;
    background: #fafafa;
}
.ys-detail-contract-btn svg { color: #111827; flex-shrink: 0; }

/* ============== Banka Hesap Bilgileri Bloğu (sipariş onay) ============== */

.ys-bank-block {
    border: 2px solid #111827;
    background: #fff;
    margin-bottom: 32px;
    overflow: hidden;
}
.ys-bank-block-head {
    padding: 22px 24px;
    background: #fafbfc;
    border-bottom: 1px solid #f3f4f6;
}
.ys-bank-pill {
    display: inline-block;
    background: #111827; color: #fff;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    padding: 4px 10px;
    margin-bottom: 10px;
}
.ys-bank-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 28px;
    margin: 0 0 6px;
    color: #111827;
}
.ys-bank-sub { font-size: 14px; color: #6b7280; margin: 0; line-height: 1.5; }
.ys-bank-content {
    padding: 22px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #1f2937;
    white-space: pre-line;
}
.ys-bank-content p { margin: 0 0 8px; }
.ys-bank-callout {
    margin: 0 24px 24px;
    padding: 16px 18px;
    background: #fff8e1;
    border: 1px solid #fde68a;
}
.ys-bank-callout-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #92400e;
    font-weight: 700;
    margin: 0 0 6px;
}
.ys-bank-callout-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
    user-select: all;
}
.ys-bank-callout-hint {
    font-size: 13px;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

/* ============== İade talep mesajlaşma ============== */

.ys-return-msg {
    padding: 14px 16px;
    border: 1px solid #f3f4f6;
    border-radius: 4px;
    background: #fff;
    max-width: 80%;
}
.ys-return-msg--customer {
    background: #f9fafb;
    margin-left: auto;
    border-color: #e5e7eb;
}
.ys-return-msg--admin {
    background: #fff;
    border-left: 3px solid #111827;
}
.ys-return-msg-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 13px;
}
.ys-return-msg-head strong { color: #111827; }
.ys-return-msg-body {
    margin: 0;
    font-size: 14px;
    color: #1f2937;
    line-height: 1.55;
    word-wrap: break-word;
}

/* ============== SÖZLEŞME CHECKBOX KARTLARI (checkout + register) ============== */

.ys-contracts-list { display: flex; flex-direction: column; gap: 12px; }

.ys-contract-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
    position: relative;
}
.ys-contract-item:hover { border-color: #111827; background: #fafafa; }
.ys-contract-item:has(.ys-contract-check:checked) {
    border-color: #111827;
    background: #fafafa;
}

/* Native checkbox'ı görünmez yap; özel kutu görünsün */
.ys-contract-check {
    position: absolute; opacity: 0; pointer-events: none;
    width: 1px; height: 1px;
}
.ys-contract-box {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 2px;
    transition: border-color .15s, background-color .15s;
}
.ys-contract-tick {
    width: 14px; height: 14px;
    color: #fff;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .15s, transform .15s;
}
.ys-contract-check:checked + .ys-contract-box {
    background: #111827;
    border-color: #111827;
}
.ys-contract-check:checked + .ys-contract-box .ys-contract-tick {
    opacity: 1;
    transform: scale(1);
}
.ys-contract-check:focus-visible + .ys-contract-box {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.ys-contract-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ys-contract-title {
    font-size: 15px; font-weight: 600; color: #111827;
    line-height: 1.3;
}

.ys-contract-read-link {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    border-bottom: 1px solid #111827;
    padding-bottom: 1px;
    transition: color .15s, border-color .15s;
}
.ys-contract-read-link:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Tabs (giriş/üye) */
.tab-btn.active { color: #000; border-color: #000; }
.tab-btn { color: #9ca3af; border-color: transparent; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.input-field:focus { border-color: #000; }

/* ============================================================
 * BF_PAGINATION_v1 — şık monokrom sayfalama (kategori arşiv sayfaları)
 * ============================================================ */

.navigation.pagination,
nav.navigation[aria-label*="pagination"],
nav.navigation[aria-label*="Pagination"] {
    margin: 56px auto 16px;
    text-align: center;
}
.navigation .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.navigation .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #111;
    background: transparent;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease,
                border-color .18s ease, transform .18s ease;
    text-transform: uppercase;
    line-height: 1;
}
.navigation .page-numbers:hover {
    border-color: #111;
    background: #fafafa;
    transform: translateY(-1px);
}
.navigation .page-numbers.current,
.navigation .page-numbers[aria-current="page"] {
    background: #111;
    color: #fff;
    border-color: #111;
    cursor: default;
    pointer-events: none;
}
.navigation .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: #9ca3af;
    cursor: default;
    pointer-events: none;
}
.navigation .page-numbers.prev,
.navigation .page-numbers.next {
    padding: 0 18px;
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 500;
    color: #6b7280;
}
.navigation .page-numbers.prev:hover,
.navigation .page-numbers.next:hover {
    color: #111;
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width: 640px) {
    .navigation .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 11px;
        padding: 0 9px;
    }
    .navigation .page-numbers.prev,
    .navigation .page-numbers.next {
        padding: 0 14px;
    }
}
/* ============================================================
 * BF_LIGHTBOX_CSS_v1 — gallery cell, video overlay, lightbox
 * ============================================================ */
.bf-gallery-cell { cursor: zoom-in; position: relative; }
/* BF_LIGHTBOX_CSS_v2 fix */
.bf-gallery-cell video {
    pointer-events: none; /* native controls'u kapa */
    width: 100%; height: 100%; object-fit: cover;
}
.bf-gallery-cell .bf-video-overlay {
    pointer-events: none; /* SVG cursor için */
}
.bf-gallery-cell { z-index: 0; }
.bf-video-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    transition: opacity .18s ease;
    opacity: .85;
}
.bf-gallery-cell:hover .bf-video-overlay { opacity: 1; }

.bf-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.96);
    display: none;
    z-index: 9999;
    align-items: center; justify-content: center;
}
.bf-lightbox.open { display: flex; }
.bf-lightbox-stage {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 64px 72px;
    box-sizing: border-box;
}
.bf-lightbox-media {
    max-width: 100%; max-height: 100%;
    display: block;
    object-fit: contain;
}
.bf-lightbox-close,
.bf-lightbox-prev,
.bf-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    cursor: pointer;
    font-size: 24px;
    line-height: 44px;
    text-align: center;
    transition: background .15s, transform .15s;
    z-index: 2;
}
.bf-lightbox-close { top: 16px; right: 16px; }
.bf-lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.bf-lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.bf-lightbox-close:hover,
.bf-lightbox-prev:hover,
.bf-lightbox-next:hover { background: rgba(255,255,255,0.22); }
.bf-lightbox-counter {
    position: absolute; bottom: 18px; left: 50%;
    transform: translateX(-50%);
    color: #fff; font-size: 11px;
    letter-spacing: 0.2em;
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 640px) {
    .bf-lightbox-stage { padding: 56px 8px; }
    .bf-lightbox-prev { left: 8px; width: 40px; height: 40px; font-size: 22px; line-height: 40px; }
    .bf-lightbox-next { right: 8px; width: 40px; height: 40px; font-size: 22px; line-height: 40px; }
    .bf-lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 22px; line-height: 40px; }
}