/* Panelz eklenti entegrasyonu (WhatsApp/çerez/arama) — derlenmiş
   style.css'e karışmaması için ayrı dosya. --theme-color/--yellow-color
   style.css'in :root'unda tanımlı, burada da kullanılabilir. */

.panelz-whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 9998;
  transition: transform 0.2s ease, bottom 0.2s ease;
}
.panelz-whatsapp-btn:hover {
  color: #fff;
  transform: scale(1.08);
}

.panelz-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: var(--theme-color, #0a2342);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panelz-cookie-bar__text {
  margin: 0;
  font-size: 14px;
  max-width: 900px;
}
.panelz-cookie-bar__btn {
  flex-shrink: 0;
  background-color: var(--yellow-color, #e8600f);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
}

.panelz-search-trigger {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--theme-color, #0a2342);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 9998;
  cursor: pointer;
  transition: bottom 0.2s ease;
}

/* Çerez bandı görünürken yüzen butonların üstünü kapatmaması için
   yukarı kaydır (bkz. panel-integration.js, initCookies). */
.has-panelz-cookie-bar .panelz-whatsapp-btn {
  bottom: 96px;
}
.has-panelz-cookie-bar .panelz-search-trigger {
  bottom: 162px;
}

.panelz-search-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 22, 43, 0.85);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px;
}
.panelz-search-overlay.is-open {
  display: flex;
}
.panelz-search-box {
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  padding: 30px;
  position: relative;
}
.panelz-search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #333;
}
.panelz-search-form {
  display: flex;
  gap: 8px;
}
.panelz-search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.panelz-search-form button[type="submit"] {
  background-color: var(--theme-color, #0a2342);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0 18px;
  cursor: pointer;
}
.panelz-search-results {
  margin-top: 18px;
  max-height: 320px;
  overflow-y: auto;
}
.panelz-search-result {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: inherit;
  text-decoration: none;
}
.panelz-search-result strong {
  display: block;
  color: var(--theme-color, #0a2342);
  margin-bottom: 4px;
}
.panelz-search-result span {
  display: block;
  font-size: 13px;
  color: #777;
}

@media (max-width: 576px) {
  .panelz-cookie-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

.kk-callbar{display:none}
@media (max-width:767px){
  .kk-callbar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:9997;background:var(--yellow-color,#e8600f);color:#fff;text-align:center;font-weight:700;padding:14px 76px 14px 12px;font-size:16px;line-height:1.2}
  .kk-callbar:hover{color:#fff}
  .panelz-whatsapp-btn{bottom:6px;right:10px;width:48px;height:48px;font-size:26px}
  body{padding-bottom:52px}
}
