/* ============================================================
   TudefixMAGAZA - Ana Stil Dosyası  |  Mavi & Beyaz Tema
   ============================================================ */

:root {
    --primary:       #1565C0;
    --primary-dark:  #0D47A1;
    --primary-light: #1976D2;
    --accent:        #FF6F00;
    --accent-light:  #FFB300;
    --success:       #2E7D32;
    --danger:        #C62828;
    --gray-100:      #F5F7FA;
    --gray-200:      #E8ECF0;
    --gray-600:      #6B7280;
    --text-dark:     #1A1A2E;
    --text-muted:    #6B7280;
    --border:        #DEE2E6;
    --shadow-sm:     0 2px 8px rgba(21,101,192,.10);
    --shadow-md:     0 4px 20px rgba(21,101,192,.15);
    --radius:        12px;
    --radius-sm:     8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--gray-100);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* ─── Navbar (Beyaz, Logo sol | İkonlar sağ) ─────────────── */
.main-nav {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,.10);
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    padding: 10px 20px;
    gap: 12px;
}
/* Navbar fixed olduğu için main içerik aşağı kaymalı */
main { padding-top: 82px; }
/* Logo */
.nav-logo {
    display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
    font-size: 1.4rem; font-weight: 800; color: #333 !important; letter-spacing: -.5px;
}
.nav-logo img { width: 200px; height: 60px; object-fit: fill; display: block; }
/* Orta arama */
.nav-search-bar {
    display: flex; border: 2px solid var(--primary);
    border-radius: 8px; overflow: hidden; max-width: 580px; width: 100%;
    justify-self: center;
}
.nav-search-bar input {
    flex: 1; border: none; outline: none;
    padding: 8px 14px; font-size: .9rem; color: #333; min-width: 0;
}
.nav-search-bar button {
    background: var(--primary); color: #fff; border: none;
    padding: 0 18px; font-weight: 600; font-size: .88rem; cursor: pointer;
    white-space: nowrap; flex-shrink: 0; transition: opacity .15s;
}
.nav-search-bar button:hover { opacity: .88; }
/* Sağ ikonlar */
.nav-right { display: flex; align-items: center; gap: 6px; justify-self: end; }
/* Adres Widget */
.nav-adres { display: flex; align-items: center; }
.nav-adres-btn {
    display: flex; align-items: center; gap: .3rem;
    background: rgba(0,0,0,.05); border: 1.5px solid rgba(0,0,0,.12);
    border-radius: 8px; color: #444; font-size: .78rem; padding: 0 .75rem;
    cursor: pointer; width: auto; line-height: 1.3; transition: background .15s;
    white-space: nowrap; overflow: hidden; height: 42px;
}
.nav-adres-btn:hover { background: rgba(0,0,0,.09); }
.nav-adres-btn .fa-map-marker-alt { color: var(--primary); flex-shrink: 0; }
.nav-adres-btn .fa-chevron-down { color: #888; flex-shrink: 0; font-size: .7rem; }
.nav-adres-btn span { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.nav-adres-btn.nav-adres-eksik { border-color: #dc3545; background: rgba(220,53,69,.06); }
.nav-adres-btn.nav-adres-eksik .fa-map-marker-alt { color: #dc3545; }
/* Mobil: arama + adres alt satıra */
@media (max-width: 767px) {
    .nav-inner { display: flex; flex-wrap: wrap; padding: 6px 10px 4px; gap: 0; }
    .nav-logo   { order: 1; flex-shrink: 0; }
    .nav-logo img { width: 120px !important; height: 38px !important; }
    .nav-right  { order: 2; margin-left: auto; }
    .nav-user-name { display: inline !important; max-width: 110px; font-size: .72rem; }
    .nav-search-bar { order: 3; flex: 0 0 100%; margin: 4px 0 2px; max-width: 100%; width: 100%; justify-self: unset; }
    .nav-adres  { order: 4; flex: 0 0 100%; display: flex !important; margin: 2px 0 4px; }
    .nav-adres-btn { max-width: 100% !important; width: 100% !important; border-radius: 8px; font-size: .8rem; padding: .32rem .7rem; }
}
/* Navbar fixed olduğu için main içerik aşağı kaymalı */
@media (max-width: 767px) { main { padding-top: 140px; } }
.nav-icon {
    display: flex; flex-direction: column; align-items: center;
    color: #9e9e9e; text-decoration: none; background: none; border: none;
    cursor: pointer; padding: 6px 10px; line-height: 1;
    position: relative;
}
.nav-icon i { font-size: 1.4rem; }
.nav-icon > span:not(.badge-count) { display: none; }
.nav-icon:hover { color: var(--primary); }
/* Kullanıcı adı + ikon grubu */
.nav-user-group { display: flex; align-items: center; gap: 4px; }
.nav-user-name {
    font-size: .82rem; font-weight: 600; color: #333;
    max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Kullanıcı dropdown */
.nav-icon.dropdown-toggle::after { display: none; }
.nav-user-menu { min-width: 200px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.18); border: none; padding: 6px 0; }
.nav-user-header { padding: 10px 18px 8px; font-size: .88rem; font-weight: 700; color: #333; display: flex; align-items: center; }
.nav-user-menu .dropdown-item { font-size: .88rem; padding: 9px 18px; display: flex; align-items: center; gap: 6px; }
.nav-user-menu .dropdown-item:hover { background: #f0f4ff; }
.nav-user-menu .dropdown-divider { margin: 4px 0; }
/* Sepet badge */
.badge-count {
    position: absolute; top: 0px; right: 2px;
    background: #e53935; color: #fff; border-radius: 50%;
    font-size: .68rem; min-width: 19px; height: 19px;
    display: flex; align-items: center; justify-content: center; font-weight: 800;
    line-height: 1; padding: 0 3px; box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* ─── Hero Slider / Kampanya ─────────────────────────────── */
.hero-slider { border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.hero-slide {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    min-height: 420px; display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-slide::before {
    content: ''; position: absolute; right: -60px; top: -60px;
    width: 480px; height: 480px; border-radius: 50%;
    background: rgba(255,255,255,.07);
}
.hero-slide::after {
    content: ''; position: absolute; right: 80px; bottom: -80px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,.05);
}
/* Gerçek banner resmi olduğunda dekoratif daireler gizlenir, karartma overlay gösterilir */
.hero-slide.has-img::before,
.hero-slide.has-img::after { display: none; }
.hero-overlay { display: none; }
.hero-slide.has-img .hero-overlay {
    display: block; position: absolute; inset: 0;
    background: rgba(0,0,0,.42); z-index: 0;
}
.hero-content { position: relative; z-index: 1; color: #fff; padding: 2rem; }
.hero-content .badge-hero {
    background: var(--accent); color: #fff; padding: .3rem .9rem;
    border-radius: 20px; font-size: .8rem; font-weight: 700;
    display: inline-block; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .5px;
}
.hero-content h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: .8rem; }
.hero-content p { font-size: 1.1rem; opacity: .88; margin-bottom: 1.5rem; max-width: 500px; }
.hero-img { max-height: 340px; object-fit: cover; border-radius: var(--radius); }

.carousel-indicators button { background-color: rgba(255,255,255,.5) !important; border: none !important; }
.carousel-indicators button.active { background-color: #fff !important; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0,0,0,.3); border-radius: 50%; padding: 1rem;
}

/* ─── Kategori Kartları ──────────────────────────────────── */
.section-title { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.5rem; }
.section-title::after {
    content: ''; display: block; width: 50px; height: 3px;
    background: var(--primary); margin-top: .4rem; border-radius: 2px;
}

.kategori-kart {
    background: transparent; border-radius: 0; padding: 0;
    text-align: center; box-shadow: none; transition: all .25s;
    border: none; cursor: pointer; display: flex;
    flex-direction: column; align-items: center; gap: .4rem;
    color: var(--text-dark); text-decoration: none;
}
.kategori-kart:hover { color: var(--primary); }
.kategori-kart img {
    width: 60px; height: 60px; object-fit: cover; border-radius: 12px;
    border: 1.5px solid #e0e8f5;
}
.kategori-kart .kat-ikon {
    width: 60px; height: 60px; border-radius: 14px;
    background: #fff;
    border: 1.5px solid #e0e8f5;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--primary);
    transition: border-color .2s, box-shadow .2s;
}
.kategori-kart:hover .kat-ikon {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(21,101,192,.2);
}
.kategori-kart .kat-ad { font-weight: 500; font-size: .78rem; line-height: 1.25; text-align: center; }

/* ─── Ürün Kartları ──────────────────────────────────────── */
.urun-kart {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all .25s; height: 100%;
    display: flex; flex-direction: column; border: 1px solid var(--border);
}
.urun-kart:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.urun-kart .urun-img-wrap {
    position: relative; overflow: hidden; background: #fff;
    aspect-ratio: 4/3;
}
.urun-kart .urun-img-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform .4s ease;
    will-change: transform;
    display: block;
    padding: 8px;
}
.urun-kart:hover .urun-img-wrap img { transform: scale(1.04); }
.urun-kart .indirim-badge {
    position: absolute; top: 8px; left: 8px;
    background: var(--danger); color: #fff; font-size: .75rem; font-weight: 700;
    padding: .2rem .5rem; border-radius: 4px;
}
.urun-kart .oncu-badge {
    position: absolute; top: 8px; right: 8px;
    background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700;
    padding: .2rem .5rem; border-radius: 4px;
}
.urun-kart .tukendi-badge {
    position: absolute; top: 8px; left: 8px;
    background: #555; color: #fff; font-size: .75rem; font-weight: 700;
    padding: .2rem .6rem; border-radius: 4px; letter-spacing: .03em;
}
.urun-kart .urun-img-wrap.tukendi img { opacity: .5; }
.urun-kart .urun-body { padding: .6rem .75rem; flex: 1; display: flex; flex-direction: column; }
.urun-kart .urun-kat { font-size: .7rem; color: var(--primary); font-weight: 600; margin-bottom: .15rem; }
.urun-kart .urun-ad {
    font-size: .82rem; font-weight: 600; color: var(--text-dark);
    margin-bottom: .35rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.urun-kart .fiyat { font-size: 1rem; font-weight: 800; color: var(--primary); }
.urun-kart .eski-fiyat { font-size: .78rem; color: var(--text-muted); text-decoration: line-through; }
.urun-kart .urun-footer { padding: .5rem .75rem; border-top: 1px solid var(--gray-200); background: var(--gray-100); }
.urun-kart .urun-footer:empty { display: none; }

/* ─── Favori Butonu ─────────────────────────────────────────── */
.favori-btn {
    position: absolute; top: 8px; right: 8px; z-index: 6;
    width: 30px; height: 30px;
    background: rgba(255,255,255,.92);
    border: none; border-radius: 50%; padding: 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,.18);
    transition: transform .2s, color .15s, background .15s;
    color: #D1D5DB;
    font-size: .82rem;
    line-height: 1;
}
.favori-btn:hover { transform: scale(1.18); background: #fff; color: #E91E63; }
.favori-btn.aktif { color: #E91E63; }
.favori-btn.aktif:hover { color: #b71c1c; }

/* ─── Sepet Widget (Getir stili) ───────────────────────────── */
.sepet-widget {
    position: absolute;
    bottom: .6rem;
    right: .6rem;
    z-index: 10;
}
.sw-plus-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(21,101,192,.35);
    transition: transform .15s, box-shadow .15s;
    padding: 0;
}
.sw-plus-btn:hover { transform: scale(1.12); box-shadow: 0 4px 12px rgba(21,101,192,.45); }
.sw-miktar {
    display: none;
    align-items: center;
    background: var(--primary);
    border-radius: 20px;
    padding: .2rem .3rem;
    box-shadow: 0 2px 8px rgba(21,101,192,.35);
    gap: .1rem;
    min-width: 90px;
    justify-content: space-between;
}
.sw-azalt, .sw-artir {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    color: #fff;
    border: none;
    font-size: .75rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
    padding: 0;
}
.sw-azalt:hover, .sw-artir:hover { background: rgba(255,255,255,.4); }
.sw-sayi {
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    min-width: 22px;
    text-align: center;
    flex: 1;
}

/* ─── Butonlar ───────────────────────────────────────────── */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff; border: none; border-radius: 8px; padding: .55rem 1.25rem;
    font-weight: 600; transition: all .2s; box-shadow: 0 2px 8px rgba(21,101,192,.3);
}
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(21,101,192,.4); }
.btn-accent { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: .55rem 1.25rem; font-weight: 600; transition: all .2s; }
.btn-accent:hover { background: var(--accent-light); color: var(--text-dark); }
.btn-outline-primary-custom { border: 2px solid var(--primary); color: var(--primary); background: #fff; border-radius: 8px; padding: .5rem 1.2rem; font-weight: 600; transition: all .2s; }
.btn-outline-primary-custom:hover { background: var(--primary); color: #fff; }

/* ─── Sepet ──────────────────────────────────────────────── */
.sepet-tablo th { background: var(--primary); color: #fff; }
.sepet-tablo .miktar-input { width: 65px; text-align: center; border: 1px solid var(--border); border-radius: 6px; padding: .3rem; }
.ozet-kart { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.ozet-satir { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--gray-200); }
.ozet-satir:last-child { border-bottom: none; }
.ozet-toplam { font-size: 1.3rem; font-weight: 800; color: var(--primary); }

/* ─── Form Stilleri ──────────────────────────────────────── */
.form-kart {
    background: #fff; border-radius: var(--radius); padding: 2rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.form-control-custom {
    border: 1.5px solid var(--border); border-radius: 8px; padding: .65rem 1rem;
    transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-control-custom:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,101,192,.12); outline: none; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--text-dark); margin-bottom: .35rem; display: block; }
.form-section-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: .5rem; margin-bottom: 1.25rem; }

/* ─── Giriş / Üyelik sayfaları ───────────────────────────── */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%); display: flex; align-items: center; justify-content: center; }
.auth-kart {
    background: #fff; border-radius: 20px; padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.25); width: 100%; max-width: 520px;
}
.auth-logo { font-size: 1.8rem; font-weight: 800; color: var(--primary); text-align: center; margin-bottom: 1.75rem; }
.auth-logo span { color: var(--accent); }

/* ─── Durum Rozetleri ────────────────────────────────────── */
.durum-badge { padding: .3rem .75rem; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.durum-Beklemede  { background: #FFF3E0; color: #E65100; }
.durum-Onaylandi  { background: #E3F2FD; color: var(--primary-dark); }
.durum-Hazirlandı { background: #EDE7F6; color: #4527A0; }
.durum-Yolda      { background: #E0F7FA; color: #006064; }
.durum-TeslimEdildi { background: #E8F5E9; color: var(--success); }
.durum-Iptal      { background: #FFEBEE; color: var(--danger); }

/* ─── Bilgi Kutuları ─────────────────────────────────────── */
.alert-custom { border-radius: var(--radius-sm); border: none; font-weight: 500; padding: .9rem 1.25rem; }
.alert-success-custom { background: #E8F5E9; color: var(--success); }
.alert-danger-custom  { background: #FFEBEE; color: var(--danger); }
.alert-info-custom    { background: #E3F2FD; color: var(--primary-dark); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--text-dark) 100%);
    color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; margin-top: 4rem;
}
footer h5 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
footer a { color: rgba(255,255,255,.65); transition: color .2s; }
footer a:hover { color: #fff; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; }

/* ─── Filtre Sidebar ─────────────────────────────────────── */
/* ─── Alt Kategori Pill Butonları ───────────────────────────── */
.altkat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.altkat-pill {
    display: inline-block;
    padding: .35rem .9rem;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--text-dark);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all .18s;
    white-space: nowrap;
}
.altkat-pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.altkat-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(21,101,192,.25);
}

.filtre-kart { background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.filtre-kart .filtre-baslik { font-weight: 700; font-size: 1rem; color: var(--text-dark); margin-bottom: .75rem; }
.filtre-kart .form-check-label { font-size: .9rem; cursor: pointer; }
.filtre-kart .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* ─── Sayfalama ──────────────────────────────────────────── */
.page-link { color: var(--primary); border-color: var(--border); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.page-link:hover { color: var(--primary-dark); background: var(--gray-100); }

/* ─── Sipariş Takip ──────────────────────────────────────── */
.siparis-adim {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; position: relative;
}
.siparis-adim::before {
    content: ''; position: absolute; top: 20px; left: -50%; width: 100%;
    height: 2px; background: var(--gray-200); z-index: 0;
}
.siparis-adim:first-child::before { display: none; }
.siparis-adim.aktif::before { background: var(--primary); }
.siparis-adim .adim-nokta {
    width: 42px; height: 42px; border-radius: 50%; background: var(--gray-200);
    display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
    font-weight: 700; color: var(--text-muted); font-size: .85rem;
}
.siparis-adim.aktif .adim-nokta { background: var(--primary); color: #fff; }
.siparis-adim.tamamlandi .adim-nokta { background: var(--success); color: #fff; }
.siparis-adim .adim-etiket { font-size: .78rem; margin-top: .4rem; color: var(--text-muted); text-align: center; }
.siparis-adim.aktif .adim-etiket { color: var(--primary); font-weight: 700; }

/* ─── Mobil navbar (MyDeal düzeni) ───────────────────────── */
.mob-topbar {
    height: 56px;
    padding: 0 10px;
    position: relative;
}
.mob-ham-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    padding: 6px 10px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}
.mob-ham-btn:hover { color: rgba(255,255,255,.75); }
.mob-brand {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.mob-icons {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.mob-icon-btn {
    color: #fff;
    font-size: 1.1rem;
    padding: 7px 9px;
    text-decoration: none;
    position: relative;
    line-height: 1;
}
.mob-icon-btn:hover { color: rgba(255,255,255,.75); }
/* Hamburger collapse menü */
.mob-nav-menu {
    background: rgba(0,0,0,.18);
    border-top: 1px solid rgba(255,255,255,.12);
}
.mob-nav-menu a {
    display: block;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mob-nav-menu a:hover { background: rgba(255,255,255,.1); }
.mob-menu-cikis { color: #ffcdd2 !important; }
/* Mobil arama satırı */
.mob-search-row {
    padding: 8px 10px 10px;
}
.mob-search-wrap {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
}
.mob-search-input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: .9rem;
    outline: none;
    color: #333;
    background: transparent;
    min-width: 0;
}
.mob-search-input::placeholder { color: #aaa; }
.mob-search-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0 18px;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
}
.mob-search-btn:hover { opacity: .9; }
/* Eski mobile-user-row artık kullanılmıyor */
.mobile-user-row { display: none !important; }

/* ─── Giriş Banner ───────────────────────────────────────── */
.giris-banner {
    background: linear-gradient(90deg, #0D47A1 0%, #1976D2 100%);
    color: rgba(255,255,255,.92);
    font-size: .88rem;
    padding: .55rem 0;
    border-bottom: 2px solid rgba(255,255,255,.12);
}
.btn-giris-banner {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 20px;
    padding: .3rem .9rem;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.btn-giris-banner:hover { background: rgba(255,255,255,.28); color: #fff; }
.btn-giris-banner-uye {
    background: #FFD54F;
    color: #0D47A1 !important;
    border-color: #FFD54F;
}
.btn-giris-banner-uye:hover { background: #FFCA28; color: #0D47A1 !important; }
@media (max-width: 575px) {
    .giris-banner { font-size: .78rem; }
    .giris-banner .d-flex.align-items-center > span { font-size: .75rem; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p  { font-size: .95rem; }
    .hero-slide      { min-height: 280px; }
    .navbar-search   { display: none; }
    .form-kart       { padding: 1.25rem; }
    .navbar-toggler  { display: none !important; }
    .navbar-collapse { display: none !important; }

    /* Auth sayfaları mobil */
    .auth-page {
        align-items: flex-start !important;
        padding: 0 !important;
        overflow-y: auto !important;
        min-height: 100dvh;
    }
    .auth-page form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .auth-kart {
        padding: 1.5rem 1.25rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: 100dvh;
        max-width: 100% !important;
        width: 100% !important;
    }
    .auth-logo {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    .auth-logo img { max-height: 36px !important; }
    .auth-kart h4 { font-size: 1rem !important; margin-bottom: .75rem !important; }
    .auth-kart .form-label { font-size: .82rem !important; margin-bottom: .2rem !important; }
    .auth-kart .form-control-custom { padding: .5rem .75rem !important; font-size: .88rem !important; }
    .auth-kart .mb-3 { margin-bottom: .6rem !important; }
    .auth-kart .mb-4 { margin-bottom: .75rem !important; }
}
@media (max-width: 576px) {
    .hero-content h1 { font-size: 1.35rem; }
    .urun-kart .fiyat { font-size: 1.05rem; }
}

/* ─── Utility ────────────────────────────────────────────── */
.bg-primary-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.shadow-custom { box-shadow: var(--shadow-sm) !important; }
.boş-mesaj { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.boş-mesaj i { font-size: 4rem; display: block; margin-bottom: 1rem; opacity: .4; }

/* Scroll to top */
#scrollTop {
    position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px;
    background: var(--primary); color: #fff; border: none; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; display: none; z-index: 999;
    box-shadow: 0 4px 12px rgba(21,101,192,.4); transition: background .2s;
}
#scrollTop:hover { background: var(--primary-dark); }
