/* ===== ETicaret Mağaza Teması ===== */
:root { --ana: #1f6feb; --ikinci: #ff6b35; --koyu: #1d2433; --gri: #f5f6f8; }
body { background: #fff; color: #222; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--ana); text-decoration: none; }
a:hover { opacity: .85; }
.btn-primary { background: var(--ana); border-color: var(--ana); }
.btn-primary:hover, .btn-primary:focus { background: var(--ana); border-color: var(--ana); filter: brightness(.9); }
.btn-outline-primary { color: var(--ana); border-color: var(--ana); }
.btn-outline-primary:hover { background: var(--ana); border-color: var(--ana); color: #fff; }
.btn-ikinci { background: var(--ikinci); color: #fff; border: none; }
.btn-ikinci:hover { color: #fff; filter: brightness(.92); }
.text-ana { color: var(--ana) !important; }
.bg-ana { background: var(--ana) !important; }
.form-control:focus, .form-select:focus { border-color: var(--ana); box-shadow: 0 0 0 .2rem rgba(31,111,235,.15); }

/* Üst kısım */
.duyuru-bandi { background: var(--ikinci); color: #fff; text-align: center; font-size: .85rem; padding: 6px 10px; }
.ust-bar { background: var(--gri); font-size: .8rem; padding: 5px 0; color: #555; }
.ust-bar a { color: #555; }
.site-header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1020; }
.logo span { font-size: 1.5rem; font-weight: 800; color: var(--ana); letter-spacing: -.5px; }
.logo img { max-height: 48px; max-width: 180px; }
.arama-kutu { position: relative; }
.arama-kutu .form-control { border-radius: 30px; padding: .55rem 3rem .55rem 1.1rem; background: var(--gri); border-color: transparent; }
.arama-kutu .btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border-radius: 30px; color: var(--ana); }
.header-ikonlar a { color: var(--koyu); font-size: 1.45rem; margin-left: 14px; position: relative; display: inline-flex; align-items: center; gap: 4px; }
.header-ikonlar a span.d-xl-inline { font-size: .85rem; }
.sepet-sayi { position: absolute; top: -6px; right: -10px; background: var(--ikinci); color: #fff; font-size: .65rem; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.ana-menu { border-top: 1px solid #f0f0f0; }
.ana-menu .nav-link { color: var(--koyu); font-weight: 500; padding: .7rem 1rem; }
.ana-menu .nav-link:hover { color: var(--ana); }
.menu-ogesi { position: relative; }
.alt-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,.08); border-radius: 0 0 8px 8px; padding: 8px 0; z-index: 50; }
.alt-menu a { display: block; padding: 7px 18px; color: #333; font-size: .9rem; }
.alt-menu a:hover { background: var(--gri); color: var(--ana); }
.menu-ogesi:hover .alt-menu { display: block; }

.site-icerik { min-height: 55vh; padding-bottom: 30px; }

/* Slider */
.slider .carousel-item { height: 380px; background-size: cover; background-position: center; }
.slider .slide-bos { background: linear-gradient(120deg, var(--ana), var(--ikinci)); }
.slider .slide-yazi { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.slider .slide-yazi h2 { font-size: 2.4rem; font-weight: 800; }
@media (max-width: 767px) { .slider .carousel-item { height: 220px; } .slider .slide-yazi h2 { font-size: 1.5rem; } }

/* Bölüm başlıkları */
.bolum-baslik { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 16px; }
.bolum-baslik h2 { font-size: 1.35rem; font-weight: 700; margin: 0; }

/* Kategori kutuları */
.kategori-kutu { display: block; background: var(--gri); border-radius: 12px; padding: 18px 10px; text-align: center; color: var(--koyu); font-weight: 600; height: 100%; transition: .2s; }
.kategori-kutu:hover { background: var(--ana); color: #fff; }
.kategori-kutu img { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto 8px; }

/* Ürün kartı */
.urun-kart { border: 1px solid #eee; border-radius: 12px; overflow: hidden; position: relative; transition: .2s; }
.urun-kart:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.urun-gorsel { display: block; aspect-ratio: 1/1; background: #fafafa; }
.urun-gorsel img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.urun-rozetler { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.btn-fav { position: absolute; top: 8px; right: 8px; z-index: 2; border: none; background: #fff; border-radius: 50%; width: 34px; height: 34px; box-shadow: 0 2px 8px rgba(0,0,0,.1); color: #e0245e; }
.btn-fav.aktif i:before { content: "\f415"; }
.urun-kart .card-body { padding: .75rem; }
.urun-ad { color: #333; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin-bottom: 6px; }
.urun-fiyat del { color: #999; font-size: .8rem; }
.urun-fiyat span { color: var(--ana); font-weight: 700; font-size: 1.05rem; }

/* Liste filtre */
.filtre-kutu { background: var(--gri); border-radius: 12px; padding: 16px; }
.filtre-kutu h6 { font-weight: 700; margin-top: 10px; }
.filtre-kutu a.kat-link { display: block; color: #333; padding: 3px 0; font-size: .9rem; }
.filtre-kutu a.kat-link.aktif { color: var(--ana); font-weight: 700; }

/* Ürün detay */
.galeri-ana { border: 1px solid #eee; border-radius: 12px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; background: #fafafa; overflow: hidden; }
.galeri-ana img { max-width: 100%; max-height: 100%; object-fit: contain; }
.galeri-kucuk { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.galeri-kucuk img { width: 72px; height: 72px; object-fit: cover; border: 2px solid #eee; border-radius: 8px; cursor: pointer; }
.galeri-kucuk img.aktif { border-color: var(--ana); }
.detay-fiyat { font-size: 1.9rem; font-weight: 800; color: var(--ana); }
.detay-fiyat del { font-size: 1.1rem; color: #999; font-weight: 400; }
.adet-secici { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.adet-secici button { border: none; background: var(--gri); width: 38px; height: 42px; font-size: 1.1rem; }
.adet-secici input { width: 56px; text-align: center; border: none; height: 42px; }
.yildiz { color: #f5a623; }
.urun-aciklama img { max-width: 100%; height: auto; }

/* Sepet & ödeme */
.ozet-kutu { background: var(--gri); border-radius: 12px; padding: 20px; position: sticky; top: 140px; }
.ozet-kutu .satir { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ozet-kutu .toplam { font-size: 1.25rem; font-weight: 800; border-top: 1px solid #ddd; padding-top: 10px; }
.sepet-urun img { width: 80px; height: 80px; object-fit: contain; background: #fafafa; border-radius: 8px; }
.secim-kart { border: 2px solid #e5e5e5; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; display: block; }
.secim-kart input { margin-right: 8px; }
.secim-kart:has(input:checked) { border-color: var(--ana); background: rgba(31,111,235,.04); }

/* Hesabım */
.hesap-menu .list-group-item.active { background: var(--ana); border-color: var(--ana); }

/* Güven bandı & footer */
.guven-bandi { background: var(--gri); padding: 26px 0; margin-top: 30px; }
.guven-bandi i { font-size: 1.8rem; color: var(--ana); display: block; }
.guven-bandi b { display: block; font-size: .95rem; }
.guven-bandi small { color: #777; }
.site-footer { background: var(--koyu); color: #c9cdd6; padding: 40px 0 20px; }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 700; }
.site-footer a { color: #c9cdd6; font-size: .9rem; line-height: 2; }
.site-footer a:hover { color: #fff; }
.site-footer .sosyal a { font-size: 1.3rem; margin-right: 12px; }
.odeme-logolar i { font-size: 1.6rem; margin-right: 8px; }

.whatsapp-btn { position: fixed; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 4px 14px rgba(0,0,0,.2); z-index: 1030; }
.whatsapp-btn:hover { color: #fff; }

.sayfa-baslik { background: var(--gri); padding: 22px 0; margin-bottom: 24px; }
.sayfa-baslik h1 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.breadcrumb { margin-bottom: 0; font-size: .85rem; }

.durum-adim { display: flex; justify-content: space-between; position: relative; margin: 20px 0; }
.durum-adim div { text-align: center; flex: 1; font-size: .8rem; color: #aaa; }
.durum-adim div i { font-size: 1.5rem; display: block; }
.durum-adim div.tamam { color: var(--ana); font-weight: 600; }

@media (max-width: 991px) { .ozet-kutu { position: static; } }
