@charset "UTF-8";
/*
 * Tema 105 — Gece
 * templates/tpl/105/stil.css
 *
 * Koyu tema: antrasit zemin, bir ton açık kartlar, açık gri yazı, tek sıcak vurgu (amber).
 * Kartlar 12 px yuvarlak, ince çizgili; açılır menülerde koyu gölge. Menü kart zeminli bir
 * çubuk; seçili öğe amber yazılı hap. Sayfa başlığı solda amber dikey çizgili; widget başlığı
 * küçük, büyük harfli, önünde amber nokta. Yerleşim kuralları tema 102-104'ten alındı
 * (ON_YUZ_REHBERI §11); görünüm yeni.
 *
 * Bu dosya mevcut yapıyı değiştirmeden yeni bir tema olarak yüklenir.
 * Uyulan kurallar:
 *  - Dışarıdan hiçbir dosya, font veya resim çağrılmaz (@import yok, url() yok).
 *    Fontlar sistem fontlarıdır; çizimler gradyan ve ::before / ::after ile yapılır.
 *  - Menülerin TAMAMI bu dosyadadır ve menü temasından bağımsız seçicilerle
 *    yazılmıştır (#topMenu ul.sf-menu, yan sütunlarda ul.sf-menu). Site hangi
 *    menü temasını seçerse seçsin görünüm aynıdır. menucss/default.css boştur.
 *  - Sadece iskelet bölgeleri (#stnz_*, .stnz_widget, #topMenu) hedeflenir.
 *    Orta içerikteki müşteri HTML'inin yerleşimine (table, td, img) dokunulmaz;
 *    yalnızca RENKLERİ dosya sonundaki "renk ezme katmanı"yla koyu zemine uyarlanır.
 *  - JS'in bağlı olduğu yapılar korunur: açılır menü mantığı (li:hover > ul),
 *    duyuru kayan yazısı, takvim, gizli spam tuzağı alanı, mobil menü select'i.
 *  - Mobil şablonu açık sitelerde bu dosya sadece 769px ve üstünde yüklenir;
 *    768px ve altını mobil.css yönetir.
 *  - Header slider'ı çerçevesizdir: kabın iç genişliği 1180 px'tir (dolgu ve kenar yok;
 *    kart çizgisi box-shadow ile çizilir, yer kaplamaz); dosya sonundaki zoom tablosu bu
 *    değere göre hesaplıdır. Header'a dolgu ya da kenar eklenirse tablo yeniden hesaplanır.
 *
 * Renkleri değiştirmek için aşağıdaki değişkenler yeterlidir (mobil.css'te aynı adlar).
 * Kontrast (kart zemini --t105-surface'e karşı): --t105-text 12.5:1, --t105-muted 6.7:1,
 * --t105-accent 7.9:1 (sayfa zemininde 8.8:1); amber zemin üstünde --t105-on-accent 8.8:1.
 */

:root {
  color-scheme: dark;             /* form alanları, kaydırma çubukları, tarayıcı varsayılanları koyu */
  --t105-accent: #f2a93b;         /* amber: çizgiler, işaretler, bağlantı, fiyat, düğme zemini */
  --t105-accent-ink: #f2a93b;     /* yazıda kullanılan amber (koyu zeminde 7.9:1) */
  --t105-accent-dark: #ffc163;    /* üzerine gelme tonu (koyu temada daha açık) */
  --t105-accent-soft: rgba(242, 169, 59, .14);  /* seçili / üzerine gelinen öğe zemini */
  --t105-ring: rgba(242, 169, 59, .38);
  --t105-on-accent: #17191e;      /* amber ya da açık zemin üstündeki yazı */
  --t105-ink: #f4f5f7;            /* en açık ton: başlıklar, ikincil düğme */
  --t105-bg: #17191e;             /* sayfa zemini (antrasit) */
  --t105-surface: #20232a;        /* kartlar: bir ton açık */
  --t105-raised: #2a2e37;         /* form alanı, açılır menü, üzerine gelinen satır */
  --t105-soft: #2a2e37;           /* resim zemini, bilgi kutusu */
  --t105-tint: rgba(255, 255, 255, .04);   /* müşteri HTML'indeki kutuların zemini (renk ezme katmanı) */
  --t105-text: #e3e5e9;
  --t105-red: #ff7a7a;            /* kırmızı satır içi yazıların koyu zemindeki karşılığı (kartta 6.2:1) */
  --t105-muted: #a3a9b5;
  --t105-weekend: #8f96a3;        /* takvim hafta sonu (5.3:1) */
  --t105-border: #363b46;         /* ince çizgi */
  --t105-border-strong: #4f5666;  /* tablo ve müşteri kutusu kenarı */
  --t105-input-border: #6b7282;   /* form alanı kenarı (kart zemininde 3.3:1) */
  --t105-shadow: 0 14px 34px rgba(0, 0, 0, .45);
  --t105-banner-bg: #f4f2ed;      /* üst banner: logolar beyaz zemine göre hazırlandığı için açık kart */
  --t105-banner-text: #1b1b1b;
  --t105-banner-link: #7a4a00;    /* banner zemininde 6.7:1 */
  --t105-radius: 12px;
  --t105-radius-sm: 8px;
  --t105-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --t105-max: 1180px;             /* sayfa genişliği üst sınırı */
  --t105-side: 250px;             /* sol / sağ sütun genişliği */
  --t105-gap: 24px;
}

/* Kaydırma çubukları (Firefox ve Chrome 121+; eski WebKit için ::-webkit-scrollbar) */
html { scrollbar-color: #4a505d var(--t105-bg); }
html body.tpl ::-webkit-scrollbar { width: 12px; height: 12px; }
html body.tpl ::-webkit-scrollbar-track { background: var(--t105-bg); }
html body.tpl ::-webkit-scrollbar-thumb { background: #4a505d; border: 3px solid var(--t105-bg); border-radius: 8px; }
html body.tpl ::-webkit-scrollbar-thumb:hover { background: #5d6472; }
html body.tpl ::-webkit-scrollbar-corner { background: var(--t105-bg); }

/* =====================================================================
   1. Temel ayarlar (eski temalardaki h5bp tabanı, sadeleştirilmiş)
   ===================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0,0,0,0); }
body { margin: 0; font-size: 14px; line-height: 1.55; }
body, button, input, select, textarea { font-family: var(--t105-font); color: var(--t105-text); }
::selection { background: var(--t105-accent-ink); color: var(--t105-on-accent); text-shadow: none; }

a { color: var(--t105-accent-ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--t105-accent-dark); text-decoration: none; }
/* Müşterinin head'e eklediği kütüphaneler (ör. Bootstrap 3: a{color:#337ab7}, body{color:#333}) eşit özgüllükte
   ve sonra geldiği için tema rengini ezmesin */
html body.tpl a { color: var(--t105-accent-ink); }
html body.tpl a:hover { color: var(--t105-accent-dark); }
a:focus-visible { outline: 2px solid var(--t105-accent-ink); outline-offset: 2px; border-radius: 4px; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; text-decoration: none; }
b, strong { font-weight: 700; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid var(--t105-border); margin: 1em 0; padding: 0; }
ins { background: var(--t105-accent-soft); color: var(--t105-text); text-decoration: none; }
mark { background: var(--t105-accent); color: var(--t105-on-accent); font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 1em; }
pre { white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Eski temalarla aynı: ol ve dd sıfırlanır (modüller buna göre yazılmış) */
ol, dd { margin: 0; padding: 0; list-style: none; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }

img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

label { cursor: pointer; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; accent-color: var(--t105-accent-ink); }
input[type="search"] { box-sizing: content-box; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
input:invalid, textarea:invalid { background-color: rgba(255, 92, 92, .10); }


/* =====================================================================
   2. Yardımcı sınıflar (modüller kullanıyor, aynen korunur)
   ===================================================================== */

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.stnz_hidden { display: none; visibility: hidden; }
.stnz_visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.stnz_visuallyhidden.focusable:active, .stnz_visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.stnz_invisible { visibility: hidden; }
.stnz_clearfix:before, .stnz_clearfix:after { content: ""; display: table; }
.stnz_clearfix:after { clear: both; }
.stnz_strong { font-weight: bold; }
.stnz_italic { font-style: italic; }
.clear { clear: both; }


/* =====================================================================
   3. Genişlik koruması
   Panelden gelen genişlik <style>'ı (!important) ve "tam genişlik" ayarının
   JS ile verdiği satır içi genişlikler akışkan yerleşimi bozmasın.
   ===================================================================== */

html body.tpl #stnz_wrap,
html body.tpl #stnz_containerTop,
html body.tpl #stnz_containerMiddle,
html body.tpl #stnz_headerWrap,
html body.tpl #stnz_headerTop,
html body.tpl #stnz_headerFooter,
html body.tpl #stnz_header,
html body.tpl #stnz_content,
html body.tpl #stnz_middleContent,
html body.tpl #stnz_footer,
html body.tpl #ust_menu_root,
html body.tpl #topMenu,
html body.tpl #topMenu .stnz_widget { width: auto !important; }

/* Eski temaların kenar gölgesi için kullandığı boş div'ler (JS onları id ile bulmaya devam eder) */
html body.tpl #stnz_left_bg,
html body.tpl #stnz_right_bg { display: none !important; }


/* =====================================================================
   4. Sayfa iskeleti
   Düz antrasit zemin; kartlar bir ton açık.
   ===================================================================== */

html body.tpl {
  color: var(--t105-text);
  background-color: var(--t105-bg);
  background-image: none;
  font-size: 15px;
  line-height: 1.65;
}

body.tpl #stnz_wrap {
  float: none;
  margin: 28px max(16px, calc((100% - var(--t105-max)) / 2)) 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}
body.tpl #stnz_containerTop,
body.tpl #stnz_containerMiddle { float: none; margin: 0; padding: 0; }


/* =====================================================================
   5. Header bölgesi: sıralama
   Müşterinin modül sırası ne olursa olsun görünüm sırası sabittir:
     üye girişi / arama çubuğu  →  başlık bandı  →  menü  →  header (slider, resim, metin)
   ===================================================================== */

html body.tpl #stnz_headerWrap {
  display: flex;
  flex-direction: column;
  float: none;
  margin: 0 0 4px;
  padding: 0;
}
html body.tpl #stnz_headerWrap > * { margin: 0 0 28px; }
html body.tpl #stnz_headerWrap > .clear,
html body.tpl #stnz_headerWrap > #stnz_headerTop,
html body.tpl #stnz_headerWrap > #stnz_headerFooter { display: none !important; }

html body.tpl #stnz_headerWrap > #stnz_topModul        { order: -30; }
html body.tpl #stnz_headerWrap > #stnz_topBannerStatic { order: -22; }
html body.tpl #stnz_headerWrap > #stnz_topBanner       { order: -21; }
html body.tpl #stnz_headerWrap > #topMenu              { order: -10; }


/* =====================================================================
   6. Üst modül çubuğu (üye girişi, arama, sosyal ikonlar)
   Sayfanın en üstünde, sağa yaslı ince bir satır.
   ===================================================================== */

html body.tpl #stnz_topModul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 20px;
  float: none;
  margin: 0 0 12px;
  padding: 0;
}
html body.tpl #stnz_topModul > .stnz_widget { float: none; margin: 0; padding: 0; background: none; border: 0; }
html body.tpl #stnz_topModul .stnz_widgetContent { margin: 0; padding: 0; }

html body.tpl #stnz_topModul .stnz_ust_modul_search,
html body.tpl #stnz_topModul .stnz_ust_modul_social,
html body.tpl #stnz_topModul .stnz_ust_modul_icons,
html body.tpl #stnz_topModul .stnz_ust_modul_login { float: none; margin: 0; }

/* Giriş formu */
html body.tpl #ust_modul_login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
html body.tpl #ust_modul_login li { float: none; margin: 0; padding: 0; list-style: none; }
html body.tpl #ust_member_caption {
  margin: 0;
  padding: 0 12px 0 0;
  font-size: 13px;
  border-right: 1px solid var(--t105-border);
}
html body.tpl #ust_member_caption a { font-weight: 600; }
html body.tpl #ust_login_caption { margin: 0 2px 0 0; font-size: 13px; color: var(--t105-muted); }

html body.tpl #ust_modul_login input[type="text"],
html body.tpl #ust_modul_login input[type="password"],
html body.tpl #ust_search {
  box-sizing: border-box;
  width: 150px;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  font: 13px/1 var(--t105-font);
  color: var(--t105-text);
  background: var(--t105-raised);
  border: 1px solid var(--t105-input-border) !important;
  border-radius: var(--t105-radius-sm);
  outline: none;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html body.tpl #ust_search { float: none; width: 220px; padding-right: 36px; }
html body.tpl #ust_modul_login input[type="text"]:focus,
html body.tpl #ust_modul_login input[type="password"]:focus,
html body.tpl #ust_search:focus { border-color: var(--t105-accent) !important; box-shadow: 0 0 0 3px var(--t105-ring); }

html body.tpl #ust_modul_login input[type="button"],
html body.tpl #ust_modul_login input[type="submit"],
html body.tpl #ust_modul_login button {
  box-sizing: border-box;
  width: auto;
  height: 36px;
  margin: 0;
  padding: 0 18px;
  font: 600 13px/1 var(--t105-font);
  color: var(--t105-on-accent) !important;
  background: var(--t105-accent);
  border: 0;
  border-radius: var(--t105-radius-sm);
  cursor: pointer;
  transition: background-color .15s ease;
}
html body.tpl #ust_modul_login input[type="button"]:hover,
html body.tpl #ust_modul_login input[type="submit"]:hover,
html body.tpl #ust_modul_login button:hover { background: var(--t105-accent-dark); }

/* Arama */
html body.tpl .stnz_ust_modul_search { position: relative; display: flex; align-items: center; }
html body.tpl #search { cursor: pointer; }
html body.tpl #search_mercek { float: none; position: absolute; right: 12px; top: 50%; margin: 0; line-height: 0; opacity: .75; transform: translateY(-50%); }
html body.tpl #search_mercek img { width: 16px; height: auto; filter: invert(1); }

/* Sosyal ve özel ikonlar */
html body.tpl #ust_social_icons,
html body.tpl #ust_custom_icons { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
html body.tpl #ust_social_icons li,
html body.tpl #ust_custom_icons li { float: none; margin: 0; }
html body.tpl #ust_social_icons li img { display: block; height: 24px; width: auto; }
html body.tpl #ust_custom_icons li img { display: block; height: 20px; width: auto; }


/* =====================================================================
   7. Başlık bandı (#stnz_topBanner / #stnz_topBannerStatic)
   Müşterinin panelden girdiği başlık / banner HTML'i. Logolar ve yazılar beyaz
   zemine göre hazırlandığı için AÇIK bir kart olarak kalır; renkleri ezilmez
   (renk ezme katmanı bu bölgeyi kapsamaz). color-scheme: light ile içindeki
   form alanları ve tarayıcı varsayılanları da açık görünür.
   ===================================================================== */

html body.tpl #stnz_headerWrap > #stnz_topBanner,
html body.tpl #stnz_headerWrap > #stnz_topBannerStatic {
  color-scheme: light;
  position: relative;
  overflow: hidden;
  float: none;
  padding: 18px 24px;
  box-sizing: border-box;
  line-height: 1.3;
  color: var(--t105-banner-text);
  background: var(--t105-banner-bg);
  border: 0;
  border-radius: var(--t105-radius);
  box-shadow: var(--t105-shadow);
}
html body.tpl #stnz_topBanner:empty,
html body.tpl #stnz_topBannerStatic:empty { display: none; }
html body.tpl #stnz_topBanner > :first-child,
html body.tpl #stnz_topBannerStatic > :first-child { margin-top: 0; }
html body.tpl #stnz_topBanner > :last-child,
html body.tpl #stnz_topBannerStatic > :last-child { margin-bottom: 0; }
html body.tpl #stnz_topBanner img,
html body.tpl #stnz_topBannerStatic img { max-width: 100%; height: auto; }
html body.tpl :is(#stnz_topBanner, #stnz_topBannerStatic) a { color: var(--t105-banner-link); }
html body.tpl :is(#stnz_topBanner, #stnz_topBannerStatic) a:hover { color: #4f3000; text-decoration: underline; }
html body.tpl :is(#stnz_topBanner, #stnz_topBannerStatic) :is(input, select, textarea, button) { color: var(--t105-banner-text); }
html body.tpl :is(#stnz_topBanner, #stnz_topBannerStatic) ::selection { background: #f2a93b; color: #17191e; }


/* =====================================================================
   8. Üst menü
   Menü temasından bağımsız: sadece #topMenu ve ul.sf-menu kullanılır.
   Görünüm: kart zeminli, yuvarlak köşeli çubuk; birinci seviye öğeler hap
   biçiminde, üzerine gelince bir ton açık zemin; seçili öğe amber yazılı ve
   amber tonlu zeminli hap. Açılır menü bir ton açık, koyu gölgeli.
   Hazır menü temalarının (body içinde sonradan yüklenen) CSS'lerini ezmek için
   görünüm özelliklerinde !important vardır. Açılır menü mantığı aynıdır: alt
   menü visibility:hidden ile gizli durur, li:hover olunca görünür.
   ===================================================================== */

html body.tpl #topMenu { position: relative; z-index: 60; float: none; padding: 0; }
html body.tpl #topMenu > .stnz_widget {
  float: none;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Menü çubuğu */
html body.tpl #topMenu .stnz_widgetContent {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  float: none;
  min-height: 60px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 10px !important;
  box-sizing: border-box;
  color: var(--t105-text);
  background: var(--t105-surface) !important;
  border: 1px solid var(--t105-border) !important;
  border-radius: var(--t105-radius) !important;
  box-shadow: none !important;
}
html body.tpl #topMenu .stnz_widgetContent > .clear { display: none; }

/* Menü kökü (stnz_dropdown<no>_root_*, stnz_radius_root_* ...) */
html body.tpl #topMenu .stnz_widgetContent > [class*="_root"] { flex: 1 1 auto; min-width: 0; text-align: left; }
html body.tpl #topMenu [class*="_root"] div { display: block !important; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; }

/* Birinci seviye liste */
html body.tpl #topMenu ul.sf-menu,
html body.tpl #topMenu ul#ust-menu-modul-uyelik {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 97;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.tpl #topMenu [class*="_root_center"] ul.sf-menu { justify-content: center; }
html body.tpl #topMenu [class*="_root_right"] ul.sf-menu { justify-content: flex-end; }

/* Tüm seviyelerde li */
html body.tpl #topMenu ul.sf-menu li,
html body.tpl #topMenu ul#ust-menu-modul-uyelik li {
  display: block;
  position: relative;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
  text-align: left;
  list-style: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: default;
}
html body.tpl #topMenu ul.sf-menu > li,
html body.tpl #topMenu ul#ust-menu-modul-uyelik > li { padding: 10px 0 !important; }
html body.tpl #topMenu ul.sf-menu li:hover,
html body.tpl #topMenu ul.sf-menu li:focus-within { z-index: 99; }

/* Tüm seviyelerde link (açılır menüdeki görünüm; birinci seviye aşağıda ayrıca) */
html body.tpl #topMenu ul.sf-menu a,
html body.tpl #topMenu ul.sf-menu li > span,
html body.tpl #topMenu ul#ust-menu-modul-uyelik a {
  display: block;
  position: relative;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  font-family: var(--t105-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  text-align: left;
  white-space: normal;
  color: var(--t105-text) !important;
  background: none !important;
  border: 0 !important;
  border-radius: var(--t105-radius-sm) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
html body.tpl #topMenu ul.sf-menu a:focus-visible { outline: 2px solid var(--t105-accent); outline-offset: -2px; }
html body.tpl #topMenu ul.sf-menu img { display: inline-block; vertical-align: middle; max-height: 20px; width: auto; margin: -2px 6px 0 0; }

/* Birinci seviye: hap biçiminde öğeler */
html body.tpl #topMenu ul.sf-menu > li > a,
html body.tpl #topMenu ul.sf-menu > li > span,
html body.tpl #topMenu ul#ust-menu-modul-uyelik > li > a {
  display: flex;
  align-items: center;
  min-height: 40px;
  box-sizing: border-box;
  padding: 8px 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  color: var(--t105-text) !important;
  border-radius: 999px !important;
}

/* Birinci seviye hover ve seçili */
html body.tpl #topMenu ul.sf-menu > li:hover > a,
html body.tpl #topMenu ul.sf-menu > li.hover > a,
html body.tpl #topMenu ul.sf-menu > li:focus-within > a,
html body.tpl #topMenu ul#ust-menu-modul-uyelik > li:hover > a {
  color: var(--t105-ink) !important;
  background: var(--t105-raised) !important;
  box-shadow: none !important;
}
html body.tpl #topMenu ul.sf-menu > li > a.current_selected,
html body.tpl #topMenu ul.sf-menu > li:hover > a.current_selected {
  color: var(--t105-accent) !important;
  font-weight: 600 !important;
  background: var(--t105-accent-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 169, 59, .35) !important;
}

/* Alt menüsü olan üst öğede aşağı ok */
html body.tpl #topMenu ul.sf-menu > li:has(> ul) > a::after,
html body.tpl #topMenu ul#ust-menu-modul-uyelik > li:has(> ul) > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .7;
  transform: translateY(-2px) rotate(45deg);
}

/* Açılır alt menü */
html body.tpl #topMenu ul.sf-menu ul,
html body.tpl #topMenu ul#ust-menu-modul-uyelik ul {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  z-index: 98;
  width: 240px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px !important;
  box-sizing: border-box;
  list-style: none !important;
  background: var(--t105-raised) !important;
  border: 1px solid var(--t105-border-strong) !important;
  border-radius: var(--t105-radius) !important;
  box-shadow: var(--t105-shadow) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
/* Çubuk ile alt menü arasındaki boşlukta menü kapanmasın */
html body.tpl #topMenu ul.sf-menu > li > ul::before,
html body.tpl #topMenu ul#ust-menu-modul-uyelik > li > ul::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
html body.tpl #topMenu ul.sf-menu li:hover > ul,
html body.tpl #topMenu ul.sf-menu li.hover > ul,
html body.tpl #topMenu ul.sf-menu li:focus-within > ul,
html body.tpl #topMenu ul#ust-menu-modul-uyelik li:hover > ul,
html body.tpl #topMenu ul#ust-menu-modul-uyelik li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: none;
}
html body.tpl #topMenu ul.sf-menu ul ul { top: -7px !important; left: 100% !important; }

html body.tpl #topMenu ul.sf-menu ul li:hover > a,
html body.tpl #topMenu ul#ust-menu-modul-uyelik ul li:hover > a {
  color: var(--t105-accent) !important;
  background: rgba(255, 255, 255, .06) !important;
  box-shadow: inset 2px 0 0 var(--t105-accent) !important;
}

/* Alt menüsü olan alt öğede sağ ok */
html body.tpl #topMenu ul.sf-menu ul li:has(> ul) > a { padding-right: 28px !important; }
html body.tpl #topMenu ul.sf-menu ul li:has(> ul) > a::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .55;
  transform: translateY(-50%) rotate(-45deg);
}

/* Menü çubuğundaki üyelik açılır menüsü sağa yaslı açılır */
html body.tpl #topMenu ul#ust-menu-modul-uyelik { flex: 0 0 auto; }
html body.tpl #topMenu #ust-menu-uyelik { left: auto !important; right: 0 !important; width: 200px !important; }

/* Menü çubuğundaki arama */
html body.tpl #topMenu #ust_ozel_modul_li { display: none !important; }
html body.tpl #topMenu #ust-menu-modul {
  flex: 0 0 auto;
  position: relative;
  z-index: 99;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
html body.tpl #topMenu #ust-menu-modul-search { list-style: none; width: auto !important; margin: 0; padding: 0; }
html body.tpl #topMenu #ust-menu-modul-search li { height: auto !important; margin: 0; padding: 0; list-style: none; }
html body.tpl #topMenu #ust-menu-modul-search li > div { position: relative; display: flex; align-items: center; }
html body.tpl #topMenu #ust-menu-search {
  float: none;
  width: 210px;
  height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 38px 0 16px;
  font: 14px/1 var(--t105-font);
  color: var(--t105-text);
  background: var(--t105-raised);
  border: 1px solid var(--t105-input-border) !important;
  border-radius: 999px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html body.tpl #topMenu #ust-menu-search::placeholder { color: var(--t105-muted); }
html body.tpl #topMenu #ust-menu-search:focus { border-color: var(--t105-accent) !important; box-shadow: 0 0 0 3px var(--t105-ring); }
html body.tpl #topMenu #ust-menu-search-mercek {
  position: absolute;
  right: 14px;
  top: 50%;
  float: none;
  margin: 0;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
}
html body.tpl #topMenu #ust-menu-search-mercek img { width: 16px; height: auto; opacity: .75; filter: invert(1); }

/* Menü çubuğundaki giriş yapmış üye yazısı */
html body.tpl #topMenu #ust-menu-modul-login {
  flex: 0 0 auto;
  position: relative;
  z-index: 99;
  float: none;
  margin: 0;
  font-size: 14px;
  color: var(--t105-muted);
}
html body.tpl #topMenu #ust-menu-modul-login a { color: var(--t105-ink); font-weight: 600; }
html body.tpl #topMenu #ust-menu-modul-login a:hover { color: var(--t105-accent); }


/* =====================================================================
   9. Header (#stnz_header)
   a) Metin header (firma adı + slogan): kart zemini, sağ üstte hafif amber
      ışıma (gradyan); firma adının üstünde kısa amber çizgi.
   b) Slider (jQuery rotator) veya resim header: kart zemini, yuvarlak köşe;
      çerçeve box-shadow ile çizilir (yer kaplamaz). Dolgu ve kenar olmadığı için
      kabın iç genişliği 1180 px (dosya sonundaki zoom tablosu buna göre).
   c) Flash header modern tarayıcılarda boş kaldığı için gizlenir.
   ===================================================================== */

html body.tpl #stnz_header {
  position: relative;
  overflow: hidden;
  float: none;
  min-height: 0;
  height: auto;
  border-radius: var(--t105-radius);
  background: none;
}
html body.tpl #stnz_header:empty { display: none; }
html body.tpl #stnz_header:has(#stnz_flash_header) { display: none; }

/* --- a) Metin header --- */
html body.tpl #stnz_header:has(> .stnz_sloganArea) {
  color: var(--t105-text);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(242, 169, 59, .16) 0, rgba(242, 169, 59, 0) 55%),
    var(--t105-surface) !important;
  border: 1px solid var(--t105-border);
}
html body.tpl #stnz_header .stnz_sloganArea {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  box-sizing: border-box;
  padding: 52px 52px 56px;
  text-align: left;
}
html body.tpl #stnz_header h2,
html body.tpl #stnz_header h3 { margin: 0; padding: 0; font-family: var(--t105-font); }
html body.tpl #stnz_header .stnz_sloganArea h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--t105-ink);
}
html body.tpl #stnz_header .stnz_sloganArea h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 0 0 18px;
  border-radius: 2px;
  background: var(--t105-accent);
}
html body.tpl #stnz_header .stnz_sloganArea h2:empty::before { content: none; }
html body.tpl #stnz_header .stnz_sloganArea h3 {
  max-width: 46em;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--t105-muted);
}

/* --- b) Slider ve resim header: kart zemini, çerçeve gölgeyle --- */
html body.tpl #stnz_header:has(#stnz_pictureHeader, .jquery_header_container) {
  padding: 0;
  box-sizing: border-box;
  background: var(--t105-surface) !important;
  border: 0;
  box-shadow: 0 0 0 1px var(--t105-border);
}

/* Slider ortada */
html body.tpl #stnz_header #stnz_jsHeader { display: flex; justify-content: center; }
html body.tpl #stnz_header .jquery_header_container { width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto; }
html body.tpl #stnz_header .wt-rotator {
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

/* Resim header ortada */
html body.tpl #stnz_pictureHeader { line-height: 0; text-align: center; }
html body.tpl #stnz_pictureHeader img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}


/* =====================================================================
   10. İçerik satırı: sol sütun | orta içerik | sağ sütun
   ===================================================================== */

html body.tpl #stnz_content {
  display: flex;
  align-items: flex-start;
  gap: var(--t105-gap);
  float: none;
  min-height: 0;
  margin: 0;
  background: none;
}

html body.tpl #stnz_leftContent,
html body.tpl #stnz_rightContent {
  display: block;
  flex: 0 0 var(--t105-side);
  width: var(--t105-side) !important;
  min-width: 0;
  float: none;
  margin: 0;
  padding: 0;
  background: none;
}
html body.tpl #stnz_leftContent { order: -1; }
html body.tpl #stnz_rightContent { order: 1; }

html body.tpl #stnz_middleContent,
html body.tpl #stnz_mobile-middleContent {
  display: block;
  order: 0;
  flex: 1 1 0%;
  min-width: 0;
  float: none;
  margin: 0;
  overflow-x: auto;            /* geniş tablolar sağ sütunun üstüne taşmasın */
  box-sizing: border-box;
  padding: 36px 40px;
  line-height: 1.65;
  color: var(--t105-text);
  background: var(--t105-surface);
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius);
  box-shadow: none;
}

/* Dar pencerede orta içerik üste, sütunlar alta */
@media screen and (max-width: 1024px) {
  html body.tpl #stnz_content { flex-wrap: wrap; }
  html body.tpl #stnz_middleContent,
  html body.tpl #stnz_mobile-middleContent { flex: 1 1 100%; order: -2; }
  html body.tpl #stnz_leftContent,
  html body.tpl #stnz_rightContent { flex: 1 1 260px; width: auto !important; }
}


/* =====================================================================
   11. Sayfa başlığı
   Solda amber dikey çizgi; başlık en açık tonda.
   ===================================================================== */

body.tpl .stnz_pageTitle { margin: 0 0 26px; }
body.tpl .stnz_pageTitle h2 {
  position: relative;
  margin: 0;
  padding: 2px 0 2px 18px;
  font-family: var(--t105-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--t105-ink);
  border: 0;
}
body.tpl .stnz_pageTitle h2::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: var(--t105-accent);
}
body.tpl .stnz_pageTitle:has(> h2 > span:empty) { display: none; }


/* =====================================================================
   12. Yan sütun widget'ları
   Sol ve sağ sütunda dış bir .stnz_widget sarmalı, içinde her widget'ın
   kendi .stnz_widget.stnz_<ad> sarmalı var. Kart görünümü sadece içtekilere
   verilir ([class*=" stnz_"] = ikinci bir stnz_ sınıfı olanlar).
   ===================================================================== */

html body.tpl #stnz_leftContent > .stnz_widget,
html body.tpl #stnz_rightContent > .stnz_widget {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

html body.tpl #stnz_leftContent .stnz_widget[class*=" stnz_"],
html body.tpl #stnz_rightContent .stnz_widget[class*=" stnz_"] {
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
  background: var(--t105-surface);
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius);
  box-shadow: none;
}

/* Başlık: küçük, büyük harfli, aralıklı; önünde amber nokta */
body.tpl #stnz_content .stnz_widgetTitle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: left;
  color: var(--t105-muted);
  background: none;
  border: 0;
}
body.tpl #stnz_content .stnz_widgetTitle::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t105-accent);
  box-shadow: 0 0 0 3px var(--t105-accent-soft);
}
body.tpl #stnz_content .stnz_widgetTitle .stnz_widgetTitle_text { color: inherit; }
body.tpl #stnz_content .stnz_widgetContent { margin: 0; padding: 12px 18px 18px; color: var(--t105-text); }
body.tpl #stnz_content .stnz_widget.stnz_menu .stnz_widgetContent { padding: 8px 8px 10px; }

/* Üye girişi widget'ı */
body.tpl #stnz_content .stnz_widget.stnz_uyelik .stnz_formRow { clear: both; margin: 0 0 10px; }
body.tpl #stnz_content .stnz_widget.stnz_uyelik label {
  display: block;
  width: auto;
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  color: var(--t105-muted);
}
body.tpl #stnz_content .stnz_widget.stnz_uyelik .stnz_formInput { width: 100%; font-size: 14px; }
body.tpl #stnz_content .stnz_widget.stnz_uyelik .stnz_formSubmit { width: 100%; margin: 2px 0 0; }
body.tpl #stnz_content .stnz_widget.stnz_uyelik .stnz_formHelper { padding: 4px 0 0; font-size: 12.5px; line-height: 1.8; text-align: center; }

/* Giriş yapılmış üye menüsü */
.stnz_userMenu { list-style: none; margin: 0; padding: 0; }
.stnz_userMenu li { padding: 7px 0; border-bottom: 1px solid var(--t105-border); }
.stnz_userMenu li:last-child { border-bottom: 0; }
.stnz_userName { font-weight: 700; }
.stnz_userProfile img { border-radius: var(--t105-radius-sm); }
.stnz_menuNumber {
  display: inline-block;
  min-width: 20px;
  margin-left: 6px;
  padding: 1px 6px;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--t105-on-accent);
  background: var(--t105-accent-ink);
  border-radius: var(--t105-radius-sm);
}

/* Ziyaretçi sayacı (bazı sürümlerde tablo, bazılarında satır metni) */
body.tpl #stnz_content .stnz_widget.stnz_ziyaret .stnz_widgetContent { font-size: 13px; line-height: 1.7; color: var(--t105-text); }
body.tpl #stnz_content .stnz_widget.stnz_ziyaret table td { padding: 4px 0; color: var(--t105-muted); }
body.tpl #stnz_content .stnz_widget.stnz_ziyaret table tr + tr td { border-top: 1px solid var(--t105-border); }
body.tpl #stnz_content .stnz_widget.stnz_ziyaret table td.stnz_strong { text-align: right; color: var(--t105-text); }
body.tpl #stnz_content .stnz_widget.stnz_ziyaret .stnz_widgetContent .online_users { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--t105-border); }
body.tpl #stnz_content .stnz_widget.stnz_ziyaret .stnz_strong { padding-right: 4px; font-weight: 700; color: var(--t105-accent-ink); }
body.tpl #stnz_content .stnz_widget.stnz_ziyaret table td.stnz_strong { padding-right: 0; }

/* Duyurular (kayan yazının konum ve yükseklik ayarlarına dokunulmaz) */
body.tpl #stnz_content .stnz_widget.stnz_duyuru .stnz_widgetContent ul { padding-left: 0; list-style: none; }
body.tpl #stnz_content .stnz_widget.stnz_duyuru .stnz_widgetContent li { padding-bottom: 8px; }
body.tpl #stnz_content .stnz_widget.stnz_duyuru .stnz_widgetContent .stnz_newsSliderLink {
  padding-left: 14px;
  font-size: 13px;
  color: var(--t105-text);
  background: radial-gradient(circle, var(--t105-accent-ink) 0, var(--t105-accent-ink) 3px, rgba(0,0,0,0) 3.5px) 0 .55em / 8px 8px no-repeat;
}
body.tpl #stnz_content .stnz_widget.stnz_duyuru .stnz_widgetContent .stnz_newsSliderLink:hover { color: var(--t105-accent-ink); }

/* Anket */
body.tpl #stnz_content .stnz_widget.stnz_anket .stnz_pollHeader { display: block; margin: 0 0 10px; font-weight: 700; color: var(--t105-text); }
body.tpl #stnz_content .stnz_widget.stnz_anket .stnz_pollActionWrapper div { display: inline-block; margin-right: 5px; }
body.tpl #stnz_content .stnz_widget.stnz_anket .stnz_pollAction { margin-bottom: 5px; }
body.tpl #stnz_content .stnz_widget.stnz_anket .stnz_pollOption { margin: 0 0 6px; }
body.tpl #stnz_content .stnz_widget.stnz_anket .stnz_pollOption label input { margin-right: 6px; }

/* Takvim (genişlik ve float düzeni takvim scriptine göre, aynen korunur) */
body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar { display: block; width: 140px; margin: 0 auto; }
body.tpl #stnz_content .stnz_widget.stnz_takvim .calendar_navigation { display: block; width: 10px; float: left; }
body.tpl #stnz_content .stnz_widget.stnz_takvim .calendar_date { display: block; width: 95px; float: left; }

/* Döviz */
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_exchanceRates { width: 100%; font-size: 13px; line-height: 1.5; text-align: center; border-collapse: collapse; }
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_exchanceRates th,
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_exchanceRates td { padding: 6px 4px; }
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_exchanceRates tr + tr td { border-top: 1px solid var(--t105-border); }
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_tableCaption { font-size: 12px; font-weight: 600; color: var(--t105-muted); }
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_dovizCaption { text-align: left; color: var(--t105-muted); }
body.tpl #stnz_content .stnz_widget.stnz_doviz .stnz_dovizContent { font-weight: 600; color: var(--t105-text); }

/* Diğer widget'lar */
body.tpl #stnz_content .stnz_widget.stnz_saat .stnz_widgetContent { text-align: center; padding-top: 14px; }
body.tpl #stnz_content .stnz_widget.stnz_sitemap .stnz_siteMapWidgetContent { text-align: center; }
body.tpl #stnz_content .stnz_widget.stnz_hava_durumu .stnz_widgetContent { text-align: center; }
body.tpl #stnz_content .stnz_widget.stnz_hava_durumu img { max-width: 100%; height: auto; }
body.tpl #stnz_content .stnz_widget.stnz_hava_durumu select { margin-top: 8px; }
body.tpl #stnz_content .stnz_widget.stnz_product_search { text-align: center; }
body.tpl #stnz_content .stnz_widget.stnz_product_search a { font-weight: 600; color: var(--t105-accent-ink); }
body.tpl #stnz_content .stnz_widget.stnz_product_search a:hover { color: var(--t105-accent-dark); }


/* =====================================================================
   13. Yan sütun menüleri (dikey)
   Menü temasından bağımsız: sol ve sağ sütundaki her ul.sf-menu.
   Alt menüler soldaki sütunda sağa, sağdaki sütunda sola açılır.
   ===================================================================== */

html body.tpl #stnz_leftContent ul.sf-menu,
html body.tpl #stnz_rightContent ul.sf-menu {
  display: block !important;
  position: relative;
  z-index: 50;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.tpl #stnz_leftContent ul.sf-menu li,
html body.tpl #stnz_rightContent ul.sf-menu li {
  display: block;
  position: relative;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
  list-style: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.tpl #stnz_leftContent ul.sf-menu > li + li,
html body.tpl #stnz_rightContent ul.sf-menu > li + li { margin-top: 0 !important; }
html body.tpl #stnz_leftContent ul.sf-menu li:hover,
html body.tpl #stnz_rightContent ul.sf-menu li:hover { z-index: 99; }

html body.tpl #stnz_leftContent ul.sf-menu a,
html body.tpl #stnz_leftContent ul.sf-menu li > span,
html body.tpl #stnz_rightContent ul.sf-menu a,
html body.tpl #stnz_rightContent ul.sf-menu li > span {
  display: block;
  position: relative;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 12px 10px 14px !important;
  font-family: var(--t105-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  text-align: left !important;
  white-space: normal;
  color: var(--t105-text) !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--t105-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background-color .15s ease, color .15s ease;
}
html body.tpl #stnz_leftContent ul.sf-menu li:hover > a,
html body.tpl #stnz_leftContent ul.sf-menu li:focus-within > a,
html body.tpl #stnz_rightContent ul.sf-menu li:hover > a,
html body.tpl #stnz_rightContent ul.sf-menu li:focus-within > a {
  color: var(--t105-accent-ink) !important;
  background: var(--t105-soft) !important;
}
html body.tpl #stnz_leftContent ul.sf-menu a.current_selected,
html body.tpl #stnz_rightContent ul.sf-menu a.current_selected { color: var(--t105-accent-ink) !important; font-weight: 700 !important; }
html body.tpl #stnz_leftContent ul.sf-menu img,
html body.tpl #stnz_rightContent ul.sf-menu img { display: inline-block; vertical-align: middle; max-height: 18px; width: auto; margin: -2px 6px 0 0; }

/* Birinci seviyede soldaki ince vurgu çizgisi */
html body.tpl #stnz_leftContent ul.sf-menu > li > a::before,
html body.tpl #stnz_rightContent ul.sf-menu > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  border-radius: 0;
  background: var(--t105-accent);
  transform: translateY(-50%);
  transition: height .15s ease;
}
html body.tpl #stnz_leftContent ul.sf-menu > li:hover > a::before,
html body.tpl #stnz_rightContent ul.sf-menu > li:hover > a::before { height: 100%; }

/* Alt menüsü olan öğede ok */
html body.tpl #stnz_leftContent ul.sf-menu li:has(> ul) > a,
html body.tpl #stnz_rightContent ul.sf-menu li:has(> ul) > a { padding-right: 28px !important; }
html body.tpl #stnz_leftContent ul.sf-menu li:has(> ul) > a::after,
html body.tpl #stnz_rightContent ul.sf-menu li:has(> ul) > a::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .55;
  transform: translateY(-50%) rotate(-45deg);
}
html body.tpl #stnz_rightContent ul.sf-menu li:has(> ul) > a::after { transform: translateY(-50%) rotate(135deg); }

/* Açılır alt menü */
html body.tpl #stnz_leftContent ul.sf-menu ul,
html body.tpl #stnz_rightContent ul.sf-menu ul {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  position: absolute !important;
  top: -7px !important;
  left: 100% !important;
  right: auto !important;
  z-index: 98;
  width: 240px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px !important;
  box-sizing: border-box;
  list-style: none !important;
  background: var(--t105-raised) !important;
  border: 1px solid var(--t105-border-strong) !important;
  border-radius: var(--t105-radius) !important;
  box-shadow: var(--t105-shadow) !important;
  transform: translateX(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
html body.tpl #stnz_rightContent ul.sf-menu ul { left: auto !important; right: 100% !important; transform: translateX(-6px); }
html body.tpl #stnz_leftContent ul.sf-menu li:hover > ul,
html body.tpl #stnz_leftContent ul.sf-menu li.hover > ul,
html body.tpl #stnz_leftContent ul.sf-menu li:focus-within > ul,
html body.tpl #stnz_rightContent ul.sf-menu li:hover > ul,
html body.tpl #stnz_rightContent ul.sf-menu li.hover > ul,
html body.tpl #stnz_rightContent ul.sf-menu li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: none;
}
html body.tpl #stnz_leftContent ul.sf-menu ul a,
html body.tpl #stnz_rightContent ul.sf-menu ul a { padding: 9px 12px !important; font-size: 13.5px !important; font-weight: 400 !important; }
html body.tpl #stnz_leftContent ul.sf-menu ul li:has(> ul) > a,
html body.tpl #stnz_rightContent ul.sf-menu ul li:has(> ul) > a { padding-right: 28px !important; }


/* Liste görünümü: son öğenin alt çizgisi yok */
html body.tpl #stnz_leftContent ul.sf-menu > li:last-child > a,
html body.tpl #stnz_rightContent ul.sf-menu > li:last-child > a,
html body.tpl #stnz_leftContent ul.sf-menu ul > li:last-child > a,
html body.tpl #stnz_rightContent ul.sf-menu ul > li:last-child > a { border-bottom: 0 !important; }


/* =====================================================================
   14. Form elemanları (orta içerik ve yan sütunlar)
   Sadece görünüm değişir; tablolu formların yerleşimine dokunulmaz.
   Satır içi style="..." değerleri (ör. width:300px) geçerli kalır.
   ===================================================================== */

body.tpl #stnz_content input:not([type]),
body.tpl #stnz_content input[type="text"],
body.tpl #stnz_content input[type="email"],
body.tpl #stnz_content input[type="password"],
body.tpl #stnz_content input[type="tel"],
body.tpl #stnz_content input[type="number"],
body.tpl #stnz_content input[type="url"],
body.tpl #stnz_content input[type="date"],
body.tpl #stnz_content input[type="search"],
body.tpl #stnz_content select,
body.tpl #stnz_content textarea {
  box-sizing: border-box;
  padding: 8px 11px;
  font-family: var(--t105-font);
  font-size: 14px;
  line-height: 1.4;
  color: var(--t105-text);
  background-color: var(--t105-raised);
  border: 1px solid var(--t105-input-border);
  border-radius: var(--t105-radius-sm);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.tpl #stnz_content input:not([type]):focus,
body.tpl #stnz_content input[type="text"]:focus,
body.tpl #stnz_content input[type="email"]:focus,
body.tpl #stnz_content input[type="password"]:focus,
body.tpl #stnz_content input[type="tel"]:focus,
body.tpl #stnz_content input[type="number"]:focus,
body.tpl #stnz_content input[type="url"]:focus,
body.tpl #stnz_content input[type="date"]:focus,
body.tpl #stnz_content input[type="search"]:focus,
body.tpl #stnz_content select:focus,
body.tpl #stnz_content textarea:focus {
  border-color: var(--t105-accent);
  box-shadow: 0 0 0 3px var(--t105-ring);
}

body.tpl #stnz_content input[type="submit"],
body.tpl #stnz_content input[type="button"],
body.tpl #stnz_content button {
  display: inline-block;
  box-sizing: border-box;
  padding: 9px 20px;
  font-family: var(--t105-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--t105-on-accent);
  background: var(--t105-accent-ink);
  border: 1px solid transparent;
  border-radius: var(--t105-radius-sm);
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
body.tpl #stnz_content input[type="submit"]:hover,
body.tpl #stnz_content input[type="button"]:hover,
body.tpl #stnz_content button:hover { background: var(--t105-accent-dark); }
body.tpl #stnz_content input[type="submit"]:focus-visible,
body.tpl #stnz_content input[type="button"]:focus-visible,
body.tpl #stnz_content button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--t105-ring); }
body.tpl #stnz_content input[type="submit"]:disabled,
body.tpl #stnz_content input[type="button"]:disabled,
body.tpl #stnz_content button:disabled { opacity: .5; cursor: not-allowed; background: var(--t105-accent-ink); }

body.tpl #stnz_content input[type="reset"] {
  padding: 9px 18px;
  font-family: var(--t105-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--t105-text);
  background: var(--t105-raised);
  border: 1px solid var(--t105-input-border);
  border-radius: var(--t105-radius-sm);
}

/* Güvenlik kodu resmi */
body.tpl #stnz_content img.resim_dogrula { border: 1px solid var(--t105-border); border-radius: var(--t105-radius-sm); }

/* Eski form sınıfları: kutu görünümünü yukarıdaki kurallar veriyor,
   burada sadece etiket olarak kullanıldıkları yerler (ör. <div class="FormSiyah">) için yazı */
.FormBeyaz, .FormSiyah, .UyeGirisi { font-family: var(--t105-font); font-size: 13px; color: var(--t105-text); }


/* =====================================================================
   15. Orta içerik: ürün detayı, ürün listesi (standart tema), sayfalama
   ===================================================================== */

/* Ürün detayı ve sipariş formu başlıkları (urun.php head'e kendi stilini basıyor; burası onu ezer) */
body.tpl #stnz_middleContent .UrunBaslikStil,
body.tpl #stnz_middleContent .UrunBaslikStil_dosyadan,
body.tpl #stnz_middleContent .UrunAltBaslikStil,
body.tpl #stnz_middleContent .UrunStil,
body.tpl #stnz_middleContent .tubip_urun_baslik { font-family: var(--t105-font); }
body.tpl #stnz_middleContent .UrunBaslikStil,
body.tpl #stnz_middleContent .tubip_urun_baslik { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--t105-text); }
body.tpl #stnz_middleContent .UrunAltBaslikStil { font-size: 15px; font-weight: 600; color: var(--t105-text); }
body.tpl #stnz_middleContent .UrunStil { font-size: 14px; line-height: 1.6; color: var(--t105-text); }
body.tpl #stnz_middleContent img.photo1,
body.tpl #stnz_middleContent img#placeholder { border-radius: var(--t105-radius); }

/* Ürün listesi — standart tema kartları (yerleşim, genişlik ve inline-block düzeni korunur) */
body.tpl #stnz_middleContent .product-list .product-item {
  vertical-align: top;
  margin: 8px 6px 16px;
  padding: 12px 10px;
  box-sizing: border-box;
  background: var(--t105-surface);
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius);
  transition: border-color .2s ease;
}
body.tpl #stnz_middleContent .product-list .product-item:hover { border-color: var(--t105-accent); box-shadow: 0 0 0 1px var(--t105-accent-soft), var(--t105-shadow); }
body.tpl #stnz_middleContent .product-list .gallery { border-radius: var(--t105-radius-sm); }
body.tpl #stnz_middleContent .product-list .urun-baslik a { font-size: 14px; font-weight: 600; color: var(--t105-text); }
body.tpl #stnz_middleContent .product-list .urun-baslik a:hover { color: var(--t105-accent-ink); }
body.tpl #stnz_middleContent .product-list .urun-ozellik { color: var(--t105-muted); }
body.tpl #stnz_middleContent .product-list .product-price { font-size: 15px; font-weight: 700; color: var(--t105-accent-ink); }
body.tpl #stnz_middleContent .product-list .product-price small { font-weight: 400; color: var(--t105-muted); }
body.tpl #stnz_middleContent .product-list .product-review-img { display: none; }
body.tpl #stnz_middleContent .product-list .product-review-button {
  float: none;
  min-height: 0;
  padding: 0;
  background: none;
  filter: none;
}
body.tpl #stnz_middleContent .product-list .product-review-a {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--t105-ink);
  background: transparent;
  border: 1px solid var(--t105-ink);
  border-radius: var(--t105-radius-sm);
  transition: background-color .15s ease, color .15s ease;
}
body.tpl #stnz_middleContent .product-list .product-review-a:hover { color: var(--t105-on-accent); background: var(--t105-accent); border-color: var(--t105-accent); }

/* Sayfalama (fonks.php gövdeye kendi <style>'ını basıyor; burası onu ezer) */
body.tpl #stnz_middleContent a.pagination,
body.tpl #stnz_middleContent a.current {
  display: inline-block;
  min-width: 34px;
  margin: 2px;
  padding: 6px 10px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--t105-text);
  background: var(--t105-raised);
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius-sm);
}
body.tpl #stnz_middleContent a.pagination:hover { color: var(--t105-ink); border-color: var(--t105-ink); }
body.tpl #stnz_middleContent a.current { color: var(--t105-on-accent); background: var(--t105-accent); border-color: var(--t105-accent); }
body.tpl #stnz_middleContent .point { padding: 0 4px; color: var(--t105-muted); }


/* =====================================================================
   16. Footer (müşterinin serbest HTML'i; sadece kap stillenir)
   Kart zeminli bant, ikincil renkte yazı. Müşteri metnindeki sabit renkler
   dosya sonundaki renk ezme katmanıyla okunur hale getirilir.
   ===================================================================== */

html body.tpl #stnz_footer {
  float: none;
  margin: 40px max(16px, calc((100% - var(--t105-max)) / 2)) 36px;
  padding: 24px 28px;
  box-sizing: border-box;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: center;
  color: var(--t105-muted);
  background: var(--t105-surface);
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius);
}
html body.tpl #stnz_footer:empty { display: none; }
html body.tpl #stnz_footer > :first-child { margin-top: 0; }
html body.tpl #stnz_footer > :last-child { margin-bottom: 0; }
html body.tpl #stnz_footer a,
html body.tpl #stnz_footer a:visited { color: var(--t105-ink); text-decoration: underline; text-decoration-color: var(--t105-border-strong); text-underline-offset: 3px; }
html body.tpl #stnz_footer a:hover { color: var(--t105-accent); text-decoration-color: var(--t105-accent); }


/* =====================================================================
   17. Arama sonuçları
   ===================================================================== */

#search_result { min-height: 100px; word-wrap: break-word; }
#search_result ul { list-style: none; margin: 0; padding: 0; }
h3#search_header { margin-left: 0; color: var(--t105-text); }
h3#search_header b { color: var(--t105-accent-ink); }
h3.search_result_title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 20px 0 2px; padding: 0; font-size: 16px; }
h3.search_result_title a { color: var(--t105-accent-ink); text-decoration: none; }
h3.search_result_title a:hover { text-decoration: underline; }
h3.search_result_title a:visited { color: var(--t105-accent-dark); }
.search_result_content { font-size: 13.5px; color: var(--t105-muted); }
.search_result_content a.view_result { font-size: 12px; color: var(--t105-accent-ink); }


/* =====================================================================
   18. Eski modüllerin kullandığı sınıflar (koyu temalara göre yazılmış
   renkler açık zemine uyarlandı; sınıf adları aynen korunur)
   ===================================================================== */

.header { font-size: 28px; font-weight: 700; color: var(--t105-ink); }
.header2 { font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, .85); }

.tubipmodulheadtd { font-size: 12px; font-weight: 700; color: var(--t105-text); }
.tubipmodulheadtd2 { font-size: 11px; font-weight: 700; color: var(--t105-text); }
.tubip_modules_sayac_text1 { font-size: 13px; color: var(--t105-text); }
.tubip_modules_sayac_text2 { font-size: 12px; color: var(--t105-accent-ink); }
.tubip_modules_doviz_headtd { font-size: 12px; text-align: center; color: var(--t105-muted); background-color: var(--t105-soft); }
.tubip_modules_doviz_bodytd { font-size: 12px; text-align: center; color: var(--t105-text); }
.tubip_modules_doviz_bodytext { font-size: 12px; text-align: center; color: var(--t105-accent-ink); }
.tubip_login_text { font-size: 12px; color: var(--t105-text); }
.tubip_login_text1 { font-size: 12px; color: var(--t105-text); }
.tubip_login_text2 { font-size: 12px; color: var(--t105-text); }
.tubip_login_text2:hover { color: var(--t105-accent-ink); }
.tubip_login_link { font-size: 11px; color: var(--t105-text); }
.tubip_login_link:hover { color: var(--t105-accent-ink); }
.kisisel_sayfa_basligi { font-size: 20px; font-weight: 700; color: var(--t105-text); }
.kisisel_sayfa_alt_basligi { }
.kisisel_sayfa_alt_basligi img { vertical-align: middle; margin-right: 20px; width: 50px; }
.kisisel_sayfa_basligi_cizgi { background-color: var(--t105-border); }
.kisisel_sayfa_alt_basligi_cizgi { background-color: var(--t105-border); }
.tubip_sayfa_cizgisi { border-bottom: 1px solid var(--t105-border); }
.footer_link { font-size: 12px; color: var(--t105-accent-ink); }

.anasayfa_baslik_header,
.anasayfa_baslik_header:visited { color: var(--t105-text); }
.anasayfa_baslik_header:hover { color: var(--t105-accent-ink); text-decoration: underline; }

.calendar_date                       { font-size: 11px; color: var(--t105-muted); }
a.calendar_date                      { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_date:hover                { color: var(--t105-accent-dark); text-decoration: underline; }
.calendar_navigation                 { font-size: 9px; color: var(--t105-muted); }
.calendar_day                        { font-size: 11px; color: var(--t105-muted); }
a.calendar_day                       { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_day:hover                 { color: var(--t105-accent-dark); text-decoration: underline; }
.calendar_date_number                { font-size: 10px; color: var(--t105-muted); }
a.calendar_date_number               { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_date_number:hover         { color: var(--t105-accent-dark); text-decoration: underline; }
.calendar_date_small                 { font-size: 12px; color: var(--t105-muted); }
a.calendar_date_small                { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_date_small:hover          { color: var(--t105-accent-dark); text-decoration: underline; }
.calendar_navigation_small           { font-size: 12px; color: var(--t105-muted); }
a.calendar_navigation_small          { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_navigation_small:hover    { color: var(--t105-accent-dark); text-decoration: underline; }
.calendar_day_small                  { font-size: 10px; color: var(--t105-muted); }
a.calendar_day_small                 { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_day_small:hover           { color: var(--t105-accent-dark); text-decoration: underline; }
.calendar_date_number_small          { font-size: 9px; color: var(--t105-muted); }
a.calendar_date_number_small         { color: var(--t105-accent-ink); text-decoration: none; }
a.calendar_date_number_small:hover   { color: var(--t105-accent-dark); text-decoration: underline; }
.text                                { font-size: 13px; color: var(--t105-muted); }
a.text                               { color: var(--t105-accent-ink); text-decoration: none; }
a.text:hover                         { color: var(--t105-accent-dark); text-decoration: underline; }

/* Aidat / bakiye sekmeleri (.bakiye-tabs başlangıçta gizli, JS açıyor) */
#bakiye-tabs ul { list-style: none; margin: 0; padding: 0; }
#bakiye-tabs ul li {
  display: inline-block;
  margin: 0;
  padding: 10px 16px;
  cursor: pointer;
  background: var(--t105-soft);
  border: 1px solid var(--t105-border);
  border-bottom: 0;
  border-radius: 0;
}
#bakiye-tabs ul li:active,
#bakiye-tabs .bakiye-tab-selected { background: var(--t105-surface); }
.aidat-bakiye { border: 1px solid var(--t105-border); }
.aidat-bakiye th { padding: 10px 8px; background: var(--t105-soft); }
.aidat-bakiye .row-first { background: var(--t105-raised); }
.aidat-bakiye .row-last { background: var(--t105-soft); }
.aidat-bakiye td { padding: 8px; border-bottom: 1px solid var(--t105-border); }
.bakiye-tabs { padding: 0 !important; }
.bakiye-tabs { display: none; }


/* =====================================================================
   19. Yazdırma
   ===================================================================== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; box-shadow: none !important; filter: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  html body.tpl #stnz_header .stnz_sloganArea h2::after { display: none; }
}


/* =====================================================================
   EK (sürüm 3) — ürün arama widget'ı ve ürün listesi kartları
   Bu blok stil.css'in EN SONUNA eklenir; önceki kuralların üzerine yazar.
   ===================================================================== */

/* Ürün arama widget'ı: arama kutusu tam genişlik, altında "Ara" ve "Detaylı Ara" */
html body.tpl #stnz_content .stnz_widget.stnz_product_search .stnz_widgetContent { width: auto !important; margin: 0; padding: 14px 16px 16px; }
html body.tpl #stnz_content .stnz_widget.stnz_product_search form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin: 0;
  text-align: left;
}
html body.tpl #stnz_content .stnz_widget.stnz_product_search form > :is(input:not([type]), input[type="text"], input[type="search"], select) {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}
html body.tpl #stnz_content .stnz_widget.stnz_product_search form > :is(input[type="submit"], input[type="button"], button) {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 9px 22px;
}
html body.tpl #stnz_content .stnz_widget.stnz_product_search form > a { padding: 0; font-size: 13.5px; font-weight: 600; }
html body.tpl #stnz_content .stnz_widget.stnz_product_search form > br { display: none; }

/* Ürün listesi (standart tema): kartlar ızgarada, eşit yükseklikte;
   resim kartın içini doldurur ve taşmaz; fiyat ve buton kartın altına hizalanır */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  max-width: 100%;
  margin: 4px 0 8px;
  text-align: center;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-item {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 10px 10px 14px;
  box-sizing: border-box;
  background: var(--t105-surface);
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius);
  box-shadow: none;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-left-image {
  height: auto;
  margin: 0 0 10px;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--t105-radius-sm);
  background: var(--t105-soft);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-left-image a { display: block; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-left-image a:empty { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .gallery {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 132px;
  max-height: none;
  object-fit: cover;
  border-radius: var(--t105-radius-sm);
  cursor: zoom-in;
  transition: transform .3s ease;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-item:hover .gallery { transform: scale(1.04); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-properties { max-width: none; min-height: 0; padding: 0 2px; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-properties > br { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .urun-baslik { margin: 0 0 6px; line-height: 1.35; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .urun-ozellik { margin: 0 0 10px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .money-review { margin-top: auto; min-height: 0; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-price { display: block; margin: 0 0 8px; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-price small:empty { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-price br:has(+ small:empty) { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-review { display: block; min-width: 0; min-height: 0; margin: 0; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-review-a { margin-top: 0; }


/* =====================================================================
   EK (sürüm 3) — Takvim widget'ı
   Aynı blok hem stil.css'in hem mobil.css'in EN SONUNA eklenir.
   Takvimin HTML'ini calendar.js sayfa açıldıktan sonra üretiyor; kurallar
   sistemin kendi CSS'lerinde geçen sınıf adlarına göre yazıldı. Bilinmeyen
   bir yapıda hiçbir şey bozulmaz, sadece o kısım eski görünümünde kalır.
   ===================================================================== */

html body.tpl #stnz_content .stnz_widget.stnz_takvim .stnz_widgetContent { display: block; padding: 14px 14px 16px; text-align: center; }
html body.tpl #stnz_content .stnz_widget.stnz_takvim .stnz_widgetContent > div { width: auto !important; }

/* Kap: 140 / 195 px sabit genişlik yerine widget genişliği (en fazla 260 px) */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar {
  display: block;
  float: none;
  width: 100% !important;
  max-width: 260px;
  margin: 0 auto;
  font-family: var(--t105-font);
  text-align: center;
}

/* Üst satır: ‹‹  Ekim 2026  ›› (div yapısındaysa esnek satır olur; tablo satırıysa hücre olarak kalır) */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #calendar_header:not(tr) {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: auto !important;
  margin: 0 0 8px;
  padding: 0 !important;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #calendar_header:not(tr)::after { content: none; }
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small):not(td):not(a) {
  float: none !important;
  width: auto !important;
  margin: 0;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_date, .calendar_date_small) {
  float: none !important;
  width: auto !important;
  flex: 1 1 auto;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  color: var(--t105-text) !important;
  text-align: center;
}
/* Önceki / sonraki ay düğmeleri */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small) a,
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar a:is(.calendar_navigation, .calendar_navigation_small) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  box-sizing: border-box;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--t105-ink) !important;
  text-decoration: none !important;
  background: var(--t105-soft);
  border-radius: var(--t105-radius-sm);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small) a:hover,
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar a:is(.calendar_navigation, .calendar_navigation_small):hover {
  color: var(--t105-on-accent) !important;
  background: var(--t105-accent);
}

/* Izgara */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 2px !important;
  margin: 0 auto;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(td, th) {
  width: auto !important;
  height: 30px;
  padding: 0 !important;
  font-size: 12.5px;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  border: 0;
  border-radius: var(--t105-radius-sm);
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_date_number, .calendar_date_number_small) {
  font-family: inherit !important;
  font-size: 12.5px !important;
  color: var(--t105-text);
}

/* Gün adları (P S Ç P C C P): gri / sarı zemin yerine sade, altı çizgili satır */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_day_title, .calendar_day, .calendar_day_small, th) {
  height: 26px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  color: var(--t105-muted) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: inset 0 -1px 0 var(--t105-border);
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_day_title, .calendar_day, .calendar_day_small) * { color: inherit !important; font: inherit !important; }
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .calendar_weekend_title,
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .calendar_weekend_title * { color: var(--t105-accent-ink) !important; background: transparent !important; }

/* Hafta sonu günleri */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .calendar_weekend { color: var(--t105-weekend) !important; }

/* Bağlantılı günler (etkinlik/haber olan günler): kalın, ana renkte, altında nokta */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar td a:not(.calendar_navigation):not(.calendar_navigation_small) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 30px;
  font-weight: 700;
  color: var(--t105-accent-ink) !important;
  text-decoration: none !important;
  border-radius: var(--t105-radius-sm);
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar td a:not(.calendar_navigation):not(.calendar_navigation_small)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar td a:not(.calendar_navigation):not(.calendar_navigation_small):hover { background: var(--t105-accent-soft); }

/* Önceki / sonraki ay bağlantıları (td > span.calendar_navigation > a) için "bağlantılı gün" kuralı uygulanmasın (renk ve nokta) */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small) a:not(.calendar_navigation):not(.calendar_navigation_small) {
  width: auto;
  min-width: 30px;
  height: 30px;
  min-height: 0;
  color: var(--t105-ink) !important;
  background: var(--t105-soft);
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small) a:not(.calendar_navigation):not(.calendar_navigation_small)::after { content: none; }
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small) a:not(.calendar_navigation):not(.calendar_navigation_small):hover { color: var(--t105-on-accent) !important; background: var(--t105-accent); }
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar :is(.calendar_navigation, .calendar_navigation_small) a * { color: inherit !important; }

/* Bugün */
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .selected_td {
  background: var(--t105-accent-ink) !important;
  box-shadow: none;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .selected_td,
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .selected_td *,
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .selected_day {
  font-weight: 700 !important;
  color: var(--t105-on-accent) !important;
}
html body.tpl #stnz_content .stnz_widget.stnz_takvim #stnz_calendar .selected_td a::after { background: var(--t105-on-accent); }


/* =====================================================================
   EK (sürüm 3) — Ürün detay sayfası (templates/urunview/urun.php)
   Aynı blok hem stil.css'in hem mobil.css'in EN SONUNA eklenir.
   Kurallar sadece ana resmi (#placeholder) olan sayfada çalışır.

   Ana resme tıklayınca açılan ayrı pencere: resmin bağlantısı sistemin
   JS'iyle (mClick) pencere açıyor. Bağlantı tıklanamaz yapılır; bunun yerine
   masaüstünde fare resmin üzerindeyken resim sayfanın içinde büyür.
   Telefonda resim zaten içerik genişliğinde gösterilir.
   ===================================================================== */

html:has(#placeholder) { scroll-behavior: smooth; }

/* --- Başlık: "Anasayfa" yazan sayfa başlığı yerine ürün adı --- */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) { line-height: 0; }      /* başlık önündeki boşluk karakterleri satır açmasın */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > * { line-height: 1.6; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > a:empty { line-height: 0; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > .stnz_pageTitle,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > br,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > div:has(> hr) { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > .UrunBaslikStil {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--t105-text);
  border-bottom: 1px solid var(--t105-border);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > .UrunBaslikStil::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  border-radius: 0;
  background: var(--t105-accent);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > .UrunBaslikStil * { font: inherit; color: inherit; }

/* Bölüm başlıkları (Detaylar, Talep Formu) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table .UrunBaslikStil {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--t105-text);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table .UrunBaslikStil * { font: inherit; color: inherit; }

/* Bölüm ayraçları (kesik çizgi yerine ince düz çizgi) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td.br12 {
  height: 18px;
  padding: 0;
  font-size: 0;
  border-top: 1px solid var(--t105-border);
}

/* "Yukarı" bağlantısı: resim yerine ince çizgili kare düğme */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#yukari"] {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  font-size: 0;
  background: transparent;
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius-sm);
  box-sizing: border-box;
  transition: background-color .15s ease, border-color .15s ease;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#yukari"] img { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#yukari"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -2px 0 0 -4px;
  border-top: 1.5px solid var(--t105-ink);
  border-left: 1.5px solid var(--t105-ink);
  transform: rotate(45deg);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#yukari"]:hover { background: var(--t105-ink); border-color: var(--t105-ink); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#yukari"]:hover::before { border-color: var(--t105-on-accent); }

/* --- Ana resim --- */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) #acilirres {
  display: block;
  pointer-events: none;            /* ayrı pencereyi açan tıklama devre dışı */
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) div:has(> #acilirres) {
  position: relative;
  margin: 0;
  line-height: 0;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) div:has(> #acilirres) + p { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) #placeholder {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;          /* showPic() her seferinde 310x233 öznitelik yazıyor */
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: var(--t105-radius);
  background: var(--t105-soft);
  box-shadow: 0 0 0 1px var(--t105-border);
}

/* Masaüstü: fare resmin üzerindeyken resim sayfa içinde büyür */
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) div:has(> #acilirres) { cursor: zoom-in; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) #placeholder {
    transform-origin: 0 0;
    transition: transform .28s ease, box-shadow .28s ease;
  }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) div:has(> #acilirres):hover #placeholder {
    z-index: 40;
    transform: scale(1.65);
    transition-delay: .12s;
    box-shadow: 0 0 0 4px var(--t105-bg), 0 0 0 5px var(--t105-ink);
  }
}

/* --- Küçük resimler (tıklanınca ana resim değişir) --- */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td:has(> div > a[onclick*="showPic"]) { padding-top: 12px; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) div:has(> a[onclick*="showPic"]) { margin: 0 8px 8px 0; line-height: 0; vertical-align: top; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[onclick*="showPic"] img {
  display: block;
  width: 76px;
  height: 57px;
  margin: 0;
  object-fit: cover;
  box-sizing: border-box;
  border: 1px solid var(--t105-border);
  border-radius: var(--t105-radius-sm);
  box-shadow: none;
  cursor: pointer;
  transition: border-color .15s ease;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[onclick*="showPic"]:hover img { border-color: var(--t105-ink); }

/* --- Ürün bilgileri: resmin yanındaki ince çizgili kart --- */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] {
  padding: 22px 24px;
  line-height: 1.6;            /* özellik satırları (ADIM_79) */
  vertical-align: top;
  background: var(--t105-raised);
  border-radius: var(--t105-radius);
  box-shadow: inset 0 0 0 1px var(--t105-border);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td[height="10"] { height: 0; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td[height="30"] { height: 8px; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td[height="105"] { height: auto; padding-bottom: 14px; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] .UrunAltBaslikStil,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] .UrunAltBaslikStil * {
  font-size: 13px;
  font-weight: 600;
  color: var(--t105-muted);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] .UrunStil,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] .UrunStil * {
  font-size: 15px;
  font-weight: 600;
  color: var(--t105-text);
}
/* Fiyat satırı */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td:has(> .UrunStil + small) {
  font-size: 17px;
  font-weight: 700;
  color: var(--t105-accent-ink);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td:has(> .UrunStil + small) > .UrunStil,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td:has(> .UrunStil + small) > .UrunStil * {
  font-size: 21px;
  font-weight: 800;
  color: var(--t105-accent-ink);
}
/* "Ürün Özellikleri" başlığı ve açıklama */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] u {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--t105-text);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td[height="105"] .UrunStil,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] td[height="105"] .UrunStil * {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* "Sipariş" ve "Detaylar" bağlantıları: düğme */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) :is(a[href="#siparis"], a[href="#detaylar"]) {
  display: inline-flex;
  align-items: center;
  margin: 2px 6px 2px 0;
  padding: 9px 18px;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--t105-radius-sm);
  transition: background-color .15s ease, color .15s ease;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) :is(a[href="#siparis"], a[href="#detaylar"]) :is(font, img) { font-size: 0; color: inherit !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) :is(a[href="#siparis"], a[href="#detaylar"]) img { display: none; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) :is(a[href="#siparis"], a[href="#detaylar"]) .tubip_urun_baslik {
  font-family: var(--t105-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#siparis"] { color: var(--t105-on-accent); background: var(--t105-accent-ink); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#siparis"]:hover { color: var(--t105-on-accent); background: var(--t105-accent-dark); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#detaylar"] { color: var(--t105-ink); background: var(--t105-raised); box-shadow: inset 0 0 0 1px var(--t105-ink); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[href="#detaylar"]:hover { color: var(--t105-on-accent); background: var(--t105-ink); }

/* Detay metni */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[colspan="6"] { line-height: 1.7; }

/* --- Talep formu (head'deki .input2{height:23px}, .area1{width:180px}, .submit2 resimli düğme) --- */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td { padding-top: 3px; padding-bottom: 3px; vertical-align: middle; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td:is([width="19%"], [width="15%"]) {
  padding-right: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--t105-text);
  white-space: nowrap;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td[valign="top"] { padding-top: 12px; vertical-align: top; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) input.input2 {
  width: 100%;
  max-width: 400px;
  height: auto !important;
  min-height: 40px;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) textarea.area1 {
  width: 100% !important;
  max-width: 400px;
  height: 120px;
  min-height: 120px;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) input.FormSiyah[name="guvenlik_kodu"] { width: 160px; height: auto; min-height: 40px; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) input.submit2 {
  width: auto !important;
  height: auto !important;
  min-height: 42px;
  padding: 10px 28px;
  background-image: none !important;
}

/* --- Telefon: resim ve bilgiler alt alta, form etiketleri alanın üstünde --- */
@media screen and (max-width: 768px) {
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) > .UrunBaslikStil { font-size: 21px; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[height="275"] { height: auto; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) { width: 100% !important; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) > tbody > tr > td {
    display: block;
    width: auto !important;
    height: auto !important;
  }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) > tbody > tr > td[width="1%"] { display: none; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] { margin-top: 14px; }

  /* Küçük resimler: 4'lü sıra */
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td:has(> div > a[onclick*="showPic"]) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) div:has(> a[onclick*="showPic"]) { margin: 0; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) a[onclick*="showPic"] img { width: 100%; height: auto; aspect-ratio: 4 / 3; }

  /* Form: etiket üstte, alan altta, tam genişlik */
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) { width: 100% !important; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td {
    display: block;
    width: auto !important;
    height: auto !important;
    padding: 0;
  }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td:empty { display: none; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td:is([width="19%"], [width="15%"]) { margin: 10px 0 4px; padding: 0; white-space: normal; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td[valign="top"] { padding-top: 0; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td[height="35"],
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td:has(> div[class=""]:only-child),
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > input.input2) > tbody > tr > td:not([width]):not(:has(*)) { display: none; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) img.resim_dogrula { margin: 12px 0 8px; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) :is(input.input2, textarea.area1) { max-width: 100% !important; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) input.submit2 { width: 100% !important; max-width: 100% !important; margin-top: 14px; }
}

/* Ürün detay: resim ve bilgi kartı yan yana (sadece geniş ekranda). Boş %1 hücre gizlenir, aralık 24 px,
   kart kalan genişliği doldurur; kart için yer kalmazsa (220 px, dolgu dahil) resmin altına iner (ADIM_79) */
@media screen and (min-width: 769px) {
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) { display: block; width: 100% !important; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) > tbody { display: block; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) > tbody > tr { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) table:has(> tbody > tr > td > div > #acilirres) > tbody > tr > td[width="1%"] { display: none; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="59%"] { flex: 0 1 44%; max-width: 440px; min-width: 0; height: auto; padding: 0; }
  html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent):has(#placeholder) td[width="38%"] { flex: 1 1 220px; box-sizing: border-box; width: auto; min-width: 0; }
}


/* =====================================================================
   EK (sürüm 4) — Header slider'ı (jQuery rotator) ve üst ikonlar
   Slider'ın genişliği panelden geliyor (ör. 900, 1020, 1200 px); eklenti bunu
   slider'ın style özniteliğine yazıyor: <div class="wt-rotator" style="width: 1200px; height: 400px;">
   Slider kaptan genişse sağa taşmasın diye: (1) her zaman ortalanır,
   (2) genişliğine göre kaba tam sığacak kadar küçültülür (.wt-rotator zoom), (3) ekran daraldıkça
   kapla birlikte küçülür (.jquery_header_container zoom). İki zoom iç içe
   olduğu için çarpılır; hesap (calc/min/var) kullanılmaz, her tarayıcıda çalışır.
   Kap çerçevesizdir (dolgu 0, kenar 0): iç genişlik 1180 px.
   ===================================================================== */

html body.tpl #stnz_header #stnz_jsHeader { display: flex; justify-content: center; }
html body.tpl #stnz_header .jquery_header_container {
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  zoom: 1;
}

/* Slider genişliğine göre: 10 px'lik aralıklar, oran = kabın iç genişliği (1180 px) / aralığın üst sınırı.
   1180 px ve daha dar slider'lar zaten sığar, onlara dokunulmaz. Genişlik eklentinin .wt-rotator'a yazdığı style'dan okunur. */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 118"], [style*="width:118"]) { zoom: 0.9924; }   /* 1180-1189 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 119"], [style*="width:119"]) { zoom: 0.9842; }   /* 1190-1199 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 120"], [style*="width:120"]) { zoom: 0.9760; }   /* 1200-1209 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 121"], [style*="width:121"]) { zoom: 0.9680; }   /* 1210-1219 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 122"], [style*="width:122"]) { zoom: 0.9601; }   /* 1220-1229 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 123"], [style*="width:123"]) { zoom: 0.9524; }   /* 1230-1239 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 124"], [style*="width:124"]) { zoom: 0.9448; }   /* 1240-1249 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 125"], [style*="width:125"]) { zoom: 0.9373; }   /* 1250-1259 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 126"], [style*="width:126"]) { zoom: 0.9299; }   /* 1260-1269 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 127"], [style*="width:127"]) { zoom: 0.9226; }   /* 1270-1279 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 128"], [style*="width:128"]) { zoom: 0.9154; }   /* 1280-1289 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 129"], [style*="width:129"]) { zoom: 0.9084; }   /* 1290-1299 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 130"], [style*="width:130"]) { zoom: 0.9015; }   /* 1300-1309 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 131"], [style*="width:131"]) { zoom: 0.8946; }   /* 1310-1319 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 132"], [style*="width:132"]) { zoom: 0.8879; }   /* 1320-1329 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 133"], [style*="width:133"]) { zoom: 0.8813; }   /* 1330-1339 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 134"], [style*="width:134"]) { zoom: 0.8747; }   /* 1340-1349 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 135"], [style*="width:135"]) { zoom: 0.8683; }   /* 1350-1359 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 136"], [style*="width:136"]) { zoom: 0.8619; }   /* 1360-1369 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 137"], [style*="width:137"]) { zoom: 0.8557; }   /* 1370-1379 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 138"], [style*="width:138"]) { zoom: 0.8495; }   /* 1380-1389 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 139"], [style*="width:139"]) { zoom: 0.8435; }   /* 1390-1399 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 140"], [style*="width:140"]) { zoom: 0.8375; }   /* 1400-1409 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 141"], [style*="width:141"]) { zoom: 0.8316; }   /* 1410-1419 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 142"], [style*="width:142"]) { zoom: 0.8258; }   /* 1420-1429 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 143"], [style*="width:143"]) { zoom: 0.8200; }   /* 1430-1439 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 144"], [style*="width:144"]) { zoom: 0.8144; }   /* 1440-1449 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 145"], [style*="width:145"]) { zoom: 0.8088; }   /* 1450-1459 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 146"], [style*="width:146"]) { zoom: 0.8033; }   /* 1460-1469 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 147"], [style*="width:147"]) { zoom: 0.7978; }   /* 1470-1479 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 148"], [style*="width:148"]) { zoom: 0.7925; }   /* 1480-1489 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 149"], [style*="width:149"]) { zoom: 0.7872; }   /* 1490-1499 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 150"], [style*="width:150"]) { zoom: 0.7820; }   /* 1500-1509 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 151"], [style*="width:151"]) { zoom: 0.7768; }   /* 1510-1519 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 152"], [style*="width:152"]) { zoom: 0.7717; }   /* 1520-1529 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 153"], [style*="width:153"]) { zoom: 0.7667; }   /* 1530-1539 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 154"], [style*="width:154"]) { zoom: 0.7618; }   /* 1540-1549 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 155"], [style*="width:155"]) { zoom: 0.7569; }   /* 1550-1559 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 156"], [style*="width:156"]) { zoom: 0.7521; }   /* 1560-1569 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 157"], [style*="width:157"]) { zoom: 0.7473; }   /* 1570-1579 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 158"], [style*="width:158"]) { zoom: 0.7426; }   /* 1580-1589 px */
html body.tpl #stnz_header .wt-rotator:is([style*="width: 159"], [style*="width:159"]) { zoom: 0.7380; }   /* 1590-1599 px */

/* Ekran genişliğine göre: sayfa daralınca kap da daralır (20 px adımlarla, sığacak şekilde).
   Oran = (adımın alt sınırı - 17 px kaydırma çubuğu - 2 x 16 px kenar boşluğu) / 1180. */
@media screen and (max-width: 1247px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.9992; } }
@media screen and (max-width: 1227px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.9822; } }
@media screen and (max-width: 1207px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.9653; } }
@media screen and (max-width: 1187px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.9483; } }
@media screen and (max-width: 1167px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.9314; } }
@media screen and (max-width: 1147px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.9144; } }
@media screen and (max-width: 1127px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.8975; } }
@media screen and (max-width: 1107px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.8805; } }
@media screen and (max-width: 1087px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.8636; } }
@media screen and (max-width: 1067px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.8466; } }
@media screen and (max-width: 1047px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.8297; } }
@media screen and (max-width: 1027px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.8127; } }
@media screen and (max-width: 1007px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.7958; } }
@media screen and (max-width: 987px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.7788; } }
@media screen and (max-width: 967px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.7619; } }
@media screen and (max-width: 947px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.7449; } }
@media screen and (max-width: 927px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.7280; } }
@media screen and (max-width: 907px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.7110; } }
@media screen and (max-width: 887px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.6941; } }
@media screen and (max-width: 867px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.6771; } }
@media screen and (max-width: 847px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.6602; } }
@media screen and (max-width: 827px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.6432; } }
@media screen and (max-width: 807px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.6263; } }
@media screen and (max-width: 787px) { html body.tpl #stnz_header .jquery_header_container { zoom: 0.6093; } }

/* Üst ikonlar (Anasayfa, Favorilere Ekle, Site Haritası): 105/images/ klasöründeki ikonlar; sosyal ikonlarla aynı boyut */
html body.tpl #ust_custom_icons li img,
html body.tpl #ust_social_icons li img { display: block; width: auto; height: 24px; }
html body.tpl #ust_custom_icons li a,
html body.tpl #ust_social_icons li a { display: block; line-height: 0; border-radius: var(--t105-radius-sm); transition: opacity .15s ease; }
html body.tpl #ust_custom_icons li a:hover,
html body.tpl #ust_social_icons li a:hover { opacity: .7; }


/* =====================================================================
   EK (tema 105) — RENK EZME KATMANI
   Aynı blok hem stil.css'in hem mobil.css'in EN SONUNA eklenir.

   Müşterinin ve sistemin HTML'i açık zemine göre yazılmış sabit renkler taşır
   (satır içi color / background / border, <font color>, bgcolor, bordercolor,
   sistemin body içine bastığı <style> blokları). Koyu zeminde okunur olması için:
     - yazı rengi   → --t105-text       (bağlantılar → --t105-accent)
     - zemin        → blok öğelerde --t105-tint (kart renginin bir tık açığı),
                      satır içi öğelerde şeffaf
     - kenar rengi  → --t105-border-strong
   Yalnızca RENK özellikleri değişir; genişlik, dolgu, konum, display gibi
   yerleşim özelliklerine dokunulmaz.

   Kapsam (K): orta içerik (#stnz_middleContent, #stnz_mobile-middleContent),
   widget içerikleri (menü widget'ları hariç), vitrin (#vitrin-wrapper) ve
   footer. Üst banner (#stnz_topBanner / #stnz_topBannerStatic) kapsam DIŞINDA:
   açık kart olarak kalır, renkleri ezilmez (bölüm 7).

   Dokunulmayanlar (E): img, video, iframe, canvas, svg, object, embed, picture,
   düğmeler (button, input submit / button / reset / image), slider'lar
   (bxSlider, wt-rotator, banner rotator), takvim (kendi kuralları var), gizli
   spam tuzağı (#website_url_check). JS kancaları (id / class / name) aynen kalır.

   Resimli zeminler (R, ADIM_82): satır içi background-image ya da url()'li background
   ve background özniteliği (<td background="...">) olan öğeler ve İÇLERİNDEKİ her şey
   katmanın dışındadır; zemin ve yazı renkleri müşterinin bıraktığı gibi kalır
   (müşteri yazı rengini resme göre seçmiştir).

   Kırmızı (ADIM_82): yaygın kırmızı satır içi değerler (red, #f00, #ff0000, #c00,
   #cc0000, rgb(255,0,0), rgb(204,0,0); font[color]) temanın yazı rengine değil,
   koyu zeminde okunur açık kırmızıya (--t105-red, kartta 6.2:1) çekilir; uyarı anlamı korunur.

   Dışlama listeleri :where() içindedir: özgüllüğe katılmaz, böylece kurallar arasındaki
   öncelik yalnızca asıl seçiciye göre belirlenir.

   Neden !important: satır içi style="" ve bgcolor gibi öznitelikler normal
   kuralların hepsini ezer; onları ancak !important ezebilir. Satır içi değer
   kendisi !important ise (editörde çok nadir) müşteri rengi kalır.
   Eşleşme büyük / küçük harfe duyarsızdır ([style*="color" i]): eski editörler
   ve Word yapıştırmaları "COLOR:" yazabiliyor.
   ===================================================================== */

/* 1. Satır içi ve öznitelikli yazı renkleri → temanın yazı rengi */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="color" i], font[color]):where(:not(img, video, iframe, canvas, svg, svg *, object, embed, picture, button, input[type="submit"], input[type="button"], input[type="reset"], input[type="image"], .bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, #website_url_check, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: var(--t105-text) !important;
}

/* 2. Bağlantılar: satır içi renkli bağlantı amber; bağlantının içindeki renkli yazı bağlantının rengini alır */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) a[style*="color" i]:where(:not(.bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: var(--t105-accent) !important;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) a[style*="color" i]:where(:not(.bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)):hover { color: var(--t105-accent-dark) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) a :is([style*="color" i], font[color]):where(:not(img, svg, svg *, .bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: inherit !important;
}

/* 2b. Kırmızı (uyarı) yazılar → açık kırmızı (koyu zeminde en az 4.5:1). Bağlantı ya da bağlantı içinde de geçerli. */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="color:red" i], [style*="color: red" i], [style*="color:#f00" i], [style*="color: #f00" i], [style*="color:#ff0000" i], [style*="color: #ff0000" i], [style*="color:#c00" i], [style*="color: #c00" i], [style*="color:#cc0000" i], [style*="color: #cc0000" i], [style*="color:rgb(255, 0, 0)" i], [style*="color: rgb(255, 0, 0)" i], [style*="color:rgb(255,0,0)" i], [style*="color: rgb(255,0,0)" i], [style*="color:rgb(204, 0, 0)" i], [style*="color: rgb(204, 0, 0)" i], [style*="color:rgb(204,0,0)" i], [style*="color: rgb(204,0,0)" i], font[color="red" i], font[color="#f00" i], font[color="#ff0000" i], font[color="#c00" i], font[color="#cc0000" i], font[color="f00" i], font[color="ff0000" i], font[color="cc0000" i]):where(:not(img, video, iframe, canvas, svg, svg *, object, embed, picture, button, input[type="submit"], input[type="button"], input[type="reset"], input[type="image"], .bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, #website_url_check, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)),
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) a :is([style*="color:red" i], [style*="color: red" i], [style*="color:#f00" i], [style*="color: #f00" i], [style*="color:#ff0000" i], [style*="color: #ff0000" i], [style*="color:#c00" i], [style*="color: #c00" i], [style*="color:#cc0000" i], [style*="color: #cc0000" i], [style*="color:rgb(255, 0, 0)" i], [style*="color: rgb(255, 0, 0)" i], [style*="color:rgb(255,0,0)" i], [style*="color: rgb(255,0,0)" i], [style*="color:rgb(204, 0, 0)" i], [style*="color: rgb(204, 0, 0)" i], [style*="color:rgb(204,0,0)" i], [style*="color: rgb(204,0,0)" i], font[color="red" i], font[color="#f00" i], font[color="#ff0000" i], font[color="#c00" i], font[color="#cc0000" i], font[color="f00" i], font[color="ff0000" i], font[color="cc0000" i]):where(:not(img, video, iframe, canvas, svg, svg *, object, embed, picture, button, input[type="submit"], input[type="button"], input[type="reset"], input[type="image"], .bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, #website_url_check, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: var(--t105-red) !important;
}

/* 3. Zeminler: blok öğelerde kart renginin bir tık açığı (kutu görünümü kalır), satır içi öğelerde şeffaf */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="background" i], [bgcolor]):where(:not(img, video, iframe, canvas, svg, svg *, object, embed, picture, button, input[type="submit"], input[type="button"], input[type="reset"], input[type="image"], input, select, textarea, .bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, #website_url_check, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  background-color: var(--t105-tint) !important;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is(span, font, a, b, strong, i, em, u, s, small, big, mark, sub, sup, label, abbr, code, br):is([style*="background" i], [bgcolor]):where(:not(.bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  background-color: transparent !important;
}
/* Zeminiyle çizgi çizen ince hücreler (ör. <td height="2" bgcolor="...">): nötr çizgi rengi */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is(td, tr, div)[bgcolor]:is([height="1"], [height="2"], [height="3"]):where(:not([style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  background-color: var(--t105-border-strong) !important;
}
/* Satır içi renkli form alanları (ör. style="background-color:#fff"): temanın koyu alanı */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is(input:not([type="submit"], [type="button"], [type="reset"], [type="image"], [type="checkbox"], [type="radio"], [readonly]), select, textarea):is([style*="background" i], [style*="color" i]):where(:not(#website_url_check, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: var(--t105-text) !important;
  background-color: var(--t105-raised) !important;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) input[readonly]:is([style*="background" i], [style*="color" i]):where(:not([style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: var(--t105-muted) !important;
  background-color: transparent !important;
}

/* 4. Kenar renkleri: satır içi kenarlar, bordercolor, border öznitelikli tablolar, hr → nötr ton (kalınlık ve tür aynı) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="border" i], [bordercolor], table[border]:not([border="0"]), table[border]:not([border="0"]) > * > tr > :is(td, th), table[border]:not([border="0"]) > tr > :is(td, th)):where(:not(img, video, iframe, canvas, svg, svg *, object, embed, picture, button, input[type="submit"], input[type="button"], input[type="reset"], input[type="image"], .bx-wrapper *, .wt-rotator *, [class*="banner-rotator"] *, #stnz_calendar *, [style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  border-color: var(--t105-border-strong) !important;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) hr:where(:not([style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: var(--t105-border-strong) !important;
  border-color: var(--t105-border-strong) !important;
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) hr:is([color], [noshade]):where(:not([style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) { background-color: var(--t105-border-strong) !important; }

/* 5. Sınıfsız öğelerin sınıfsız <style> kurallarıyla (ör. müşterinin head'e yazdığı "td { color:#333 }")
   aldığı renk: kabın yazı rengini miras alır. !important YOK ve dışlamalar :where() içinde: temanın kendi
   (daha özgül) kuralları geçerli kalır. Resimli zeminlerin içi burada da dışarıda. */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :where(p, div, span, font, td, th, li, dt, dd, h1, h2, h3, h4, h5, h6, b, strong, i, em, u, small, big, center, blockquote, label, caption, pre, address, section, article):where(:not([class]):not([style*="color" i]):not(font[color]):not(#stnz_calendar *):not([style*="background-image" i], [style*="background" i][style*="url(" i], [background], :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) *)) {
  color: inherit;
}

/* 5b. Resimli zeminler (katmanın dışı): müşteri yazı rengi vermemişse tarayıcı varsayılanı gibi koyu yazı,
   açık form alanları; bağlantılar koyu amber (banner ile aynı). Satır içi renkler (!important'sız kural) önceliklidir. */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) {
  color-scheme: light;
  color: var(--t105-banner-text);
}
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) :is(h1, h2, h3, h4, h5, h6, p, td, th, li) { color: inherit; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent, #stnz_footer, #vitrin-wrapper, .stnz_widget:not(.stnz_menu):not(.stnz_ust_menu) > .stnz_widgetContent) :is([style*="background-image" i], [style*="background" i][style*="url(" i], [background]) a { color: var(--t105-banner-link); }

/* 6. Sistemin body içine bastığı <style> blokları (sınıf adlarıyla) */

/* Sayfalama (commons/fonks.php: .pagination_combo, a.fl, span.inactive, .pagination_text) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .pagination_combo { color: var(--t105-text) !important; background-color: var(--t105-raised) !important; border-color: var(--t105-input-border) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .pagination_text:hover { background-color: var(--t105-accent-soft) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) span.inactive { color: var(--t105-muted) !important; background: none !important; border-color: var(--t105-border) !important; }

/* Foto albüm (fotoalbum.php: renkler panelden, tbp_album_style) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .album_widget { background-color: var(--t105-raised) !important; border-color: var(--t105-border) !important; border-radius: var(--t105-radius-sm); overflow: hidden; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .album_widget div { border-color: var(--t105-border) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .album_header { color: var(--t105-ink) !important; background-color: var(--t105-tint) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .album_body { color: var(--t105-text) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .album_widget a { color: inherit; }

/* Vitrin (VitrinServis.php: renkler panelden) */
html body.tpl #vitrin-wrapper { background-color: transparent !important; }
html body.tpl #vitrin-wrapper .vitrin_widget { background-color: var(--t105-surface) !important; border-color: var(--t105-border) !important; border-radius: var(--t105-radius-sm); overflow: hidden; }
html body.tpl #vitrin-wrapper .vitrin_widget div { border-color: var(--t105-border) !important; }
html body.tpl #vitrin-wrapper .vitrin_header { color: var(--t105-ink) !important; background-color: var(--t105-tint) !important; }
html body.tpl #vitrin-wrapper .vitrin_body { color: var(--t105-text) !important; }
html body.tpl #vitrin-wrapper .vitrin_widget:hover { border-color: var(--t105-accent) !important; }

/* Şablon yazılar (anasayfa_sablon_yazi*.php: başlık rengi ve zemini panelden, satır içi) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) a.anasayfa_baslik_header { color: var(--t105-accent) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) a.anasayfa_baslik_header:hover { color: var(--t105-accent-dark) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .tubip_sayfa_cizgisi { border-bottom-color: var(--t105-border) !important; }

/* İletişim formu (cjs/iletisim_stil.css: açık gri gradyanlı kutu, koyu etiketler) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .tsc_form_contact_light:is(.frame, .tbar) { background-color: var(--t105-tint) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--t105-border) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .tsc_form_contact_light :is(label, h3) { color: var(--t105-text) !important; text-shadow: none !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .tsc_form_contact_light.tbar h3 { background: var(--t105-tint) !important; box-shadow: none !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .tsc_form_contact_light label span { color: var(--t105-muted) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .tsc_form_contact_light .form-input { color: var(--t105-text); background-color: var(--t105-raised); border-color: var(--t105-input-border); box-shadow: none; }

/* Ürün listesi temaları (assets/css/urun_themes/*: başlık, fiyat, alt çizgi renkleri) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .urun-baslik,
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .urun-baslik a { color: var(--t105-ink); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .urun-baslik a:hover { color: var(--t105-accent); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .urun-ozellik { color: var(--t105-muted); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-price { color: var(--t105-accent); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-bottom-line { background: var(--t105-border) !important; }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .product-list .product-item:hover > .product-bottom-line { background: var(--t105-accent) !important; }

/* Ürün detayı (urun.php head'e .UrunBaslikStil, .UrunStil ... basıyor; tablo zeminleri ve font renkleri) */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) :is(.UrunBaslikStil_dosyadan, .UrunAltBaslikStil, .UrunStil) { color: var(--t105-text); }

/* Arama sonuçları */
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) h3#search_header { color: var(--t105-ink); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) h3#search_header b { color: var(--t105-accent); }
html body.tpl :is(#stnz_middleContent, #stnz_mobile-middleContent) .search_result_content { color: var(--t105-muted); }

/* Köşe yazıları widget'ı ve eski haber başlığı sınıfı (mobile.css: #636363) */
html body.tpl #stnz_content .stnz_widget :is(.stnz_yazi_basligi, .stnz_yazar_adi, .new_baslik_class) { color: var(--t105-text); }
html body.tpl #stnz_content .stnz_widget .stnz_yazar_adi { color: var(--t105-muted); }
