/* ===== Bende Türkiye — ortak vitrin stili =====
   Renkler ve köşe/gölge değerleri temalarda (/themes/{Tema}/tema.css) değişkenlerle ezilir. */
:root {
    --ana: #14b8b0; --ana-koyu: #0e8c86; --ana-acik: #e6f8f7;
    --vurgu: #f59e0b; --yazi: #1f2937; --yazi-soluk: #6b7280;
    --zemin: #ffffff; --zemin-2: #f5f7f8; --cizgi: #e5e7eb;
    --ust-serit: #0e8c86; --ust-serit-yazi: #fff;
    --menu-zemin: #14b8b0; --menu-yazi: #fff;
    --alt-zemin: #12302f; --alt-yazi: #d6e7e6;
    --kose: 10px; --golge: 0 2px 12px rgba(0,0,0,.06); --golge-2: 0 8px 28px rgba(0,0,0,.10);
    --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --baslik-font: var(--font);
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: var(--font); color: var(--yazi); background: var(--zemin-2); line-height: 1.55; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--ana-koyu); text-decoration: none; }
a:hover { color: var(--ana); }
h1, h2, h3 { font-family: var(--baslik-font); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 17px; }
small { font-size: 14px; }
.kap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.bolum { padding-block: 28px; }
.orta { text-align: center; }
.dar { max-width: 520px; }
.gri { color: var(--yazi-soluk); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border: 0; border-radius: var(--kose);
       background: var(--zemin-2); color: var(--yazi); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.btn-ana { background: var(--ana); color: #fff; }
.btn-ana:hover { background: var(--ana-koyu); color: #fff; }
.btn-cizgi { background: transparent; box-shadow: inset 0 0 0 2px var(--ana); color: var(--ana-koyu); }
.btn-cizgi:hover { background: var(--ana); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-tehlike { background: #dc2626; color: #fff; }
.btn-buyuk { padding: 14px 26px; font-size: 17px; }
.btn-kucuk { padding: 6px 12px; font-size: 14px; }
.tam { width: 100%; }
.btn-sil { background: none; border: 0; color: #dc2626; font-size: 18px; cursor: pointer; }

/* Uyarılar */
.uyari { padding: 12px 16px; border-radius: var(--kose); background: var(--zemin-2); margin: 12px 0; font-size: 15px; }
.uyari.basari { background: #dcfce7; color: #14532d; }
.uyari.hata { background: #fee2e2; color: #7f1d1d; }
.uyari.bilgi { background: var(--ana-acik); color: var(--yazi); }
.uyari ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.hata-yazi { color: #dc2626; font-size: 14px; }

/* Üst şerit + başlık */
.ust-serit { background: var(--ust-serit); color: var(--ust-serit-yazi); font-size: 14px; }
.ust-serit .kap { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; flex-wrap: wrap; }
.ust-serit a { color: inherit; margin-left: 16px; }
.site-ust { background: var(--zemin); box-shadow: var(--golge); position: sticky; top: 0; z-index: 50; }
.ust-ic { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo { font-family: var(--baslik-font); font-size: 26px; font-weight: 800; color: var(--ana-koyu); white-space: nowrap; }
.logo img { max-height: 54px; width: auto; }
.arama { flex: 1; display: flex; max-width: 560px; }
.arama input { flex: 1; padding: 11px 16px; border: 2px solid var(--cizgi); border-right: 0; border-radius: var(--kose) 0 0 var(--kose); font: inherit; font-size: 15px; outline: none; }
.arama input:focus { border-color: var(--ana); }
.arama button { padding: 0 20px; border: 0; background: var(--ana); color: #fff; font: inherit; font-weight: 600; border-radius: 0 var(--kose) var(--kose) 0; cursor: pointer; }
.ust-ikonlar { display: flex; gap: 18px; margin-left: auto; white-space: nowrap; font-size: 15px; }
.ust-ikonlar a { color: var(--yazi); font-weight: 600; }
.sepet-adet { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--vurgu); color: #fff; font-size: 13px; }
.menu-ac { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--yazi); }

.kategori-menu { background: var(--menu-zemin); }
.kategori-menu ul { list-style: none; margin: 0; padding: 0; }
.kategori-menu > .kap > ul { display: flex; flex-wrap: wrap; }
.kategori-menu li { position: relative; }
.kategori-menu > .kap > ul > li > a { display: block; padding: 12px 15px; color: var(--menu-yazi); font-weight: 600; font-size: 15px; }
.kategori-menu > .kap > ul > li > a:hover { background: rgba(0,0,0,.12); }
.alt-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--zemin); box-shadow: var(--golge-2); border-radius: 0 0 var(--kose) var(--kose); padding: 8px 0 !important; z-index: 60; }
.alti-var:hover > .alt-menu { display: block; }
.alt-menu a { display: block; padding: 9px 18px; color: var(--yazi); font-size: 15px; }
.alt-menu a:hover { background: var(--ana-acik); color: var(--ana-koyu); }

/* Slider — temel (temalar yerleşimi değiştirir) */
.slider { position: relative; overflow: hidden; background: var(--zemin); }
.slider-iz { position: relative; }
.slayt { display: none; position: relative; }
.slayt.aktif { display: block; animation: slaytGir .6s ease; }
@keyframes slaytGir { from { opacity: 0; } to { opacity: 1; } }
.slayt-resim img { width: 100%; height: 460px; object-fit: cover; }
.slayt-yazi { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px max(24px, calc((100% - 1240px) / 2)); color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.slayt-yazi h2 { font-size: 36px; margin-bottom: 8px; }
.slayt-yazi p { font-size: 18px; margin: 0 0 16px; max-width: 640px; }
.slider-ok { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--yazi); font-size: 28px; cursor: pointer; z-index: 3; box-shadow: var(--golge); }
.slider-ok.onceki { left: 16px; } .slider-ok.sonraki { right: 16px; }
.slider-noktalar { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.slider-noktalar button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.slider-noktalar button.aktif { background: #fff; width: 28px; border-radius: 6px; }

/* Güven şeridi */
.guven-serit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guven-serit li { background: var(--zemin); border-radius: var(--kose); padding: 18px; box-shadow: var(--golge); display: flex; flex-direction: column; }
.guven-serit b { color: var(--ana-koyu); font-size: 16px; }
.guven-serit span { color: var(--yazi-soluk); font-size: 14px; }

.bolum-baslik { font-size: 24px; margin-bottom: 18px; }

/* Kategori kartları */
.kategori-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.kategori-kart { background: var(--zemin); border-radius: var(--kose); box-shadow: var(--golge); overflow: hidden; color: var(--yazi); text-align: center; transition: .2s; }
.kategori-kart img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 12px; }
.kategori-kart span { display: block; padding: 12px; font-weight: 700; font-size: 15px; }
.kategori-kart:hover { transform: translateY(-3px); box-shadow: var(--golge-2); }

/* Ürün kartları */
.urun-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.urun-kart { background: var(--zemin); border-radius: var(--kose); box-shadow: var(--golge); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.urun-kart:hover { box-shadow: var(--golge-2); transform: translateY(-3px); }
.urun-resim { position: relative; display: block; background: #fff; }
.urun-resim img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; }
.resim-yok { display: grid; place-items: center; aspect-ratio: 1; color: var(--yazi-soluk); font-size: 14px; }
.etiket-indirim { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.urun-bilgi { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.urun-bilgi h3 { font-size: 15px; font-weight: 600; margin: 0; flex: 1; }
.urun-bilgi h3 a { color: var(--yazi); }
.stok-kodu { font-size: 14px; color: var(--yazi-soluk); }
.fiyat strong { font-size: 19px; color: var(--ana-koyu); }
.fiyat del { color: var(--yazi-soluk); margin-right: 8px; font-size: 14px; }
.fiyat.buyuk strong { font-size: 30px; }
.fiyat small { margin-left: 8px; color: var(--yazi-soluk); }
.urun-bilgi .btn { width: 100%; }
.tukendi { color: #dc2626; font-weight: 600; font-size: 14px; }

/* Liste */
.yol { font-size: 14px; color: var(--yazi-soluk); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.liste-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.liste-ust h1 { margin: 0; } .liste-ust h1 small { color: var(--yazi-soluk); font-weight: 400; }
.sirala select { padding: 8px 10px; border-radius: var(--kose); border: 1px solid var(--cizgi); font: inherit; font-size: 15px; margin-left: 6px; }
.alt-kategoriler { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.alt-kategoriler a { background: var(--zemin); padding: 8px 16px; border-radius: 999px; box-shadow: var(--golge); color: var(--yazi); font-weight: 600; font-size: 15px; }
.alt-kategoriler a:hover { background: var(--ana); color: #fff; }
.sayfalama { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.sayfalama a, .sayfalama span { min-width: 40px; padding: 8px 12px; text-align: center; border-radius: var(--kose); background: var(--zemin); box-shadow: var(--golge); color: var(--yazi); }
.sayfalama .aktif { background: var(--ana); color: #fff; }
.bos { padding: 40px 0; color: var(--yazi-soluk); font-size: 16px; }

/* Ürün detay */
.urun-detay { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: var(--zemin); border-radius: var(--kose); box-shadow: var(--golge); padding: 28px; }
.galeri-ana img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.galeri-kucuk { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.galeri-kucuk button { padding: 0; border: 2px solid var(--cizgi); border-radius: 8px; background: #fff; cursor: pointer; width: 72px; }
.galeri-kucuk img { aspect-ratio: 1; object-fit: contain; }
.urun-ozet h1 { font-size: 26px; }
.detay-form { display: flex; gap: 12px; align-items: end; margin: 20px 0 12px; flex-wrap: wrap; }
.adet { display: flex; flex-direction: column; font-size: 14px; color: var(--yazi-soluk); }
.adet input { width: 90px; padding: 12px; border-radius: var(--kose); border: 1px solid var(--cizgi); font: inherit; }
.urun-notlar { color: var(--yazi-soluk); font-size: 14px; padding-left: 18px; margin-top: 18px; }
.urun-aciklama { background: var(--zemin); border-radius: var(--kose); box-shadow: var(--golge); padding: 28px; margin-top: 24px; }

/* Kutular, formlar, tablolar */
.kutu { background: var(--zemin); border-radius: var(--kose); box-shadow: var(--golge); padding: 24px; margin-bottom: 20px; }
.form label { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { padding: 11px 13px; border: 1px solid var(--cizgi); border-radius: var(--kose); font: inherit; font-size: 15px; font-weight: 400; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--ana); border-color: transparent; }
.form label.onay { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.tablo { width: 100%; border-collapse: collapse; font-size: 15px; }
.tablo th, .tablo td { padding: 11px 10px; border-bottom: 1px solid var(--cizgi); text-align: left; vertical-align: middle; }
.tablo thead th { color: var(--yazi-soluk); font-weight: 600; font-size: 14px; }
.tablo tfoot td, .tablo tfoot th { border-bottom: 0; }

/* Sepet & sipariş */
.sepet-duzen { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.sepet-satir { display: grid; grid-template-columns: 84px 1fr 90px 130px 36px; gap: 14px; align-items: center; background: var(--zemin); border-radius: var(--kose); box-shadow: var(--golge); padding: 12px; margin-bottom: 12px; }
.sepet-resim img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; }
.sepet-ad a { color: var(--yazi); font-weight: 600; display: block; }
.sepet-ad small { color: var(--yazi-soluk); }
.sepet-adet-form input { width: 80px; padding: 8px; border: 1px solid var(--cizgi); border-radius: var(--kose); font: inherit; }
.sepet-tutar { text-align: right; }
.sepet-ozet { position: sticky; top: 140px; }
.sepet-ozet p { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.genel-toplam { font-size: 20px; border-top: 1px solid var(--cizgi); padding-top: 12px; }
.sepet-ozet .btn { margin: 14px 0 8px; }
.sepet-ozet small { color: var(--yazi-soluk); display: block; }

.siparis-baslik { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.siparis-baslik h1 { margin: 0; }
.durum { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #e5e7eb; }
.durum-0 { background: #fef3c7; color: #92400e; } .durum-1 { background: #dbeafe; color: #1e3a8a; }
.durum-2 { background: #dcfce7; color: #14532d; } .durum-3 { background: #e0e7ff; color: #3730a3; }
.durum-4 { background: #d1fae5; color: #065f46; } .durum-9 { background: #fee2e2; color: #7f1d1d; }
.odeme-kutu h2 { margin-top: 18px; } .odeme-kutu h2:first-child { margin-top: 0; }
.vurgu { color: var(--ana-koyu); font-size: 20px; }
.banka-listesi { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 12px 0; }
.banka-kart { background: var(--ana-acik); border-radius: var(--kose); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.banka-kart b { font-size: 17px; }
.iban { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.iban code { font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.makbuz-secenek { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.makbuz-secenek form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.makbuz-secenek label { margin: 0; }
.veya { color: var(--yazi-soluk); font-weight: 600; }
.not { color: var(--yazi-soluk); font-size: 14px; }

.hesap-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hesap-ust h1 { margin: 0; }
.hesap-duzen { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.hesap-baglanti { display: flex; flex-direction: column; gap: 12px; }
.hesap-baglanti .tehlike { color: #dc2626; }
.iletisim-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.harita iframe { width: 100%; height: 360px; border: 0; border-radius: var(--kose); }
.metin-sayfa { max-width: 860px; font-size: 16px; }

/* Alt bilgi */
.site-alt { background: var(--alt-zemin); color: var(--alt-yazi); margin-top: 40px; font-size: 15px; }
.alt-kolonlar { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.2fr; gap: 28px; padding-block: 40px; }
.site-alt h3 { color: #fff; font-size: 17px; }
.site-alt ul { list-style: none; padding: 0; margin: 0; }
.site-alt li { margin-bottom: 7px; }
.site-alt a { color: var(--alt-yazi); }
.site-alt a:hover { color: #fff; }
.site-alt p { margin: 0 0 6px; }
.alt-imza { border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.alt-imza .kap { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; flex-wrap: wrap; }
.alt-imza a { color: #fff; font-weight: 700; }

/* WhatsApp + bildirim */
.whatsapp-btn { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.45); z-index: 90; transition: .2s; }
.whatsapp-btn:hover { transform: scale(1.08); color: #fff; }
.bildirim { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: #111827; color: #fff; padding: 12px 22px; border-radius: var(--kose); font-size: 15px; z-index: 95; transition: .3s; opacity: 0; visibility: hidden; }
.bildirim.goster { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Mobil */
@media (max-width: 960px) {
    .menu-ac { display: block; }
    .ust-ic { flex-wrap: wrap; gap: 12px; }
    .arama { order: 3; max-width: none; flex-basis: 100%; }
    .ust-ikonlar { gap: 12px; font-size: 14px; }
    .kategori-menu { display: none; }
    body.menu-acik .kategori-menu { display: block; }
    .kategori-menu > .kap > ul { flex-direction: column; }
    .alt-menu { position: static; display: block; box-shadow: none; background: rgba(0,0,0,.08); }
    .alt-menu a { color: var(--menu-yazi); padding-left: 32px; }
    .slayt-resim img { height: 280px; }
    .slayt-yazi h2 { font-size: 24px; } .slayt-yazi p { font-size: 15px; }
    .guven-serit { grid-template-columns: 1fr 1fr; }
    .urun-detay, .sepet-duzen, .hesap-duzen, .iletisim-izgara { grid-template-columns: 1fr; }
    .alt-kolonlar { grid-template-columns: 1fr 1fr; }
    .sepet-satir { grid-template-columns: 64px 1fr 36px; }
    .sepet-adet-form, .sepet-tutar { grid-column: 2; text-align: left; }
    .tablo { display: block; overflow-x: auto; }
}
@media (max-width: 520px) {
    .urun-izgara { grid-template-columns: 1fr 1fr; gap: 10px; }
    .urun-bilgi { padding: 10px; }
    .alt-kolonlar { grid-template-columns: 1fr; }
    .ust-serit .kap > span:first-child { display: none; }
}

/* Yasal sayfalar */
.yasal-sayfa h2 { font-size: 20px; margin: 28px 0 10px; }
.yasal-sayfa ul, .yasal-sayfa ol { padding-left: 22px; margin: 0 0 14px; }
.yasal-sayfa li { margin-bottom: 6px; }
.yasal-sayfa table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.yasal-sayfa th, .yasal-sayfa td { text-align: left; padding: 10px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.onay a { text-decoration: underline; }
