/* ==========================================================================
   ORTAK DİL — Sistemin ve mağaza ekranlarının kullandığı bileşenler (her sayfa, tema dosyasından önce).
   Tema değişince bu dosya kalır; tema style.css'i bu sınıfları isterse kendi görünümüyle ezer.
   Renk/ölçü tokens.css değişkenlerinden (--k-*). Sınıf listesi: views/TEMA.md, kılavuz: TEMA_GIYDIRME_KILAVUZU.md.
   ========================================================================== */

/* ##### Temel yardımcılar: karusel taşması, başlık yazısı, soluk metin, küçük başlık, ayraç, kap genişliği ##### */
.swiper {
  overflow: hidden;
  max-width: 100%;
}

.display-serif {
  font-family: var(--k-font);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.text-muted,
.muted {
  color: var(--k-muted) !important;
}

.small-caps {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--k-muted);
}

hr {
  border-color: var(--k-line);
  opacity: 1;
}

.container-k {
  max-width: 1320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ##### Butonlar, form alanları, kart, rozet, yıldız, küçük görsel, bilgi satırı ##### */
/* ===== Butonlar ========================================================= */
.btn {
  font-family: var(--k-font);
  --bs-btn-font-size: 14px;
  --bs-btn-font-weight: 500;
  --bs-btn-padding-y: .62rem;
  --bs-btn-padding-x: 1.15rem;
  --bs-btn-border-radius: var(--k-radius-sm);
  letter-spacing: -.005em;
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(22, 24, 29, .12);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-k {
  background: var(--k-ink);
  color: #fff;
  border: 1px solid var(--k-ink);
}

/* Yükselme yalnızca hover'da; tıklandıktan sonra odakta kalan düğme yukarıda asılı kalmaz. */
.btn-k:hover,
.btn-k:focus-visible {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-k:hover {
  transform: translateY(-1px);
}

.btn-k:disabled,
.btn-k.disabled {
  background: var(--k-line-2);
  border-color: var(--k-line-2);
  color: var(--k-ink);
  opacity: 1;
  transform: none;
}

.btn-k-outline {
  background: transparent;
  color: var(--k-ink);
  border: 1px solid var(--k-line-2);
}

.btn-k-outline:hover {
  border-color: var(--k-ink);
  background: var(--k-ink);
  color: #fff;
}

/* İkincil (yumuşak) düğme: Vazgeç, küçük satır içi işlemler. Zemini hafif dolgulu olduğu için
   düz metin gibi görünmez; tüm durumlar Bootstrap düğme değişkenleriyle tanımlı (tıklama/odak tutarlı). */
.btn-k-ghost {
  --bs-btn-color: var(--k-ink-2);
  --bs-btn-bg: var(--k-surface-2);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--k-ink);
  --bs-btn-hover-bg: var(--k-line);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--k-ink);
  --bs-btn-active-bg: var(--k-line-2);
  --bs-btn-active-border-color: transparent;
  --bs-btn-disabled-color: var(--k-muted);
  --bs-btn-disabled-bg: var(--k-surface-2);
  --bs-btn-disabled-border-color: transparent;
}

/* Silme gibi tehlikeli satır içi işlem: zemin yok, hover'da kırmızı ton. */
.btn-k-ghost.text-danger {
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: rgba(180, 71, 44, .08);
  --bs-btn-active-bg: rgba(180, 71, 44, .14);
}

.btn-k-sale {
  background: var(--k-sale);
  border: 1px solid var(--k-sale);
  color: #fff;
}

.btn-k-sale:hover {
  filter: brightness(.93);
  color: #fff;
}

.btn-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--k-line);
  background: var(--k-surface);
  color: var(--k-ink);
}

.btn-icon:hover {
  border-color: var(--k-ink);
}

/* ===== Formlar ========================================================== */
.form-control,
.form-select {
  border: 1px solid var(--k-line-2);
  border-radius: var(--k-radius-sm);
  padding: .62rem .85rem;
  font-family: var(--k-font);
  font-size: 14px;
  background-color: var(--k-surface);
  color: var(--k-ink);
}

.form-select {
  --k-select-arrow: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath stroke='%235c6068' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M3.5 6l4.5 4.5L12.5 6'/%3e%3c/svg%3e");
  padding-right: 2.35rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: var(--k-select-arrow);
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 14px 14px;
  cursor: pointer;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--k-ink);
  box-shadow: 0 0 0 3px rgba(22, 24, 29, .07);
  background-color: #fff;
}

.form-select:focus {
  background-image: var(--k-select-arrow);
}

.form-select.form-select-sm {
  padding-right: 2rem;
  background-size: 12px 12px;
  background-position: right .65rem center;
}

.form-select:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.form-control::placeholder {
  color: #a7a9b0;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--k-ink-2);
  margin-bottom: .35rem;
}

.form-text {
  font-size: 12px;
  color: var(--k-muted);
}

.form-check-input {
  border-color: var(--k-line-2);
}

.form-check-input:checked {
  background-color: var(--k-ink);
  border-color: var(--k-ink);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(22, 24, 29, .07);
  border-color: var(--k-line-2);
}

.form-check-label {
  font-size: 14px;
}

.input-group-text {
  background: var(--k-surface-2);
  border-color: var(--k-line-2);
  font-size: 14px;
  color: var(--k-muted);
}

/* ===== Kart / panel ===================================================== */
.k-card {
  background: var(--k-surface);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
}

.k-card-pad {
  padding: 1.25rem;
}

.k-card-head {
  padding: .95rem 1.25rem;
  border-bottom: 1px solid var(--k-line);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ===== Açılır menü (hesap, dil, header alt menüleri) ===================== */
/* Bootstrap'ın mavi "active" zemini yerine tema renkleri; maddeler yuvarlatılmış ve iç boşluklu. */
.dropdown-menu {
  --bs-dropdown-font-size: 14px;
  --bs-dropdown-color: var(--k-ink-2);
  --bs-dropdown-border-color: var(--k-line);
  --bs-dropdown-border-radius: var(--k-radius);
  --bs-dropdown-box-shadow: var(--k-shadow-lg);
  --bs-dropdown-padding-x: .35rem;
  --bs-dropdown-padding-y: .35rem;
  --bs-dropdown-divider-bg: var(--k-line);
  --bs-dropdown-divider-margin-y: .35rem;
  --bs-dropdown-link-color: var(--k-ink-2);
  --bs-dropdown-link-hover-color: var(--k-ink);
  --bs-dropdown-link-hover-bg: var(--k-surface-2);
  --bs-dropdown-link-active-color: var(--k-ink);
  --bs-dropdown-link-active-bg: var(--k-surface-2);
  --bs-dropdown-item-padding-x: .75rem;
  --bs-dropdown-item-padding-y: .5rem;
  box-shadow: var(--bs-dropdown-box-shadow);
}

.dropdown-item {
  border-radius: var(--k-radius-sm);
  transition: background-color .15s ease, color .15s ease;
}

.dropdown-item.active {
  font-weight: 600;
}

/* ===== Rozetler ========================================================= */
.k-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: 4px;
  background: var(--k-surface-2);
  color: var(--k-ink-2);
  border: 1px solid transparent;
  white-space: nowrap;
}

.k-badge-sale {
  background: var(--k-sale);
  color: #fff;
}

.k-badge-new {
  background: var(--k-ink);
  color: #fff;
}

.k-badge-out {
  background: #ececea;
  color: var(--k-muted);
}

.k-badge-success {
  background: rgba(47, 111, 78, .10);
  color: var(--k-success);
}

.k-badge-info {
  background: rgba(43, 91, 134, .10);
  color: var(--k-info);
}

.k-badge-warning {
  background: rgba(169, 118, 31, .12);
  color: var(--k-warning);
}

.k-badge-danger {
  background: rgba(180, 71, 44, .10);
  color: var(--k-sale);
}

.k-badge-muted {
  background: var(--k-surface-2);
  color: var(--k-muted);
}

/* ===== Yıldızlar ======================================================== */
.stars {
  color: #e0a920;
  font-size: 13px;
  letter-spacing: .5px;
  display: inline-flex;
  gap: 1px;
}

.stars.sm {
  font-size: 11px;
}

.stars.lg {
  font-size: 17px;
}

/* Küçük ürün görseli (liste, özet, değerlendirme) */
.k-thumb {
  object-fit: cover;
  border-radius: var(--k-radius-sm);
  background: var(--k-surface-2);
}

/* Yatay küçük görsel (şube, ilgili içerik): genişlik img niteliğinden, dikey görsel de 4:3 kırpılır */
.k-thumb-4x3 {
  aspect-ratio: 4 / 3;
  height: auto;
  flex-shrink: 0;
}

.k-thumb-sm {
  width: 54px;
  height: 68px;
}

.k-thumb-md {
  width: 64px;
  height: 80px;
}

.k-thumb-lg {
  width: 70px;
  height: 88px;
}

.btn-icon-lg {
  width: 44px;
  height: 44px;
}

.g-recaptcha {
  width: max-content;
}

/* Bilgi satırı (ikon + metin): SSS, iletişim paneli, ürün detayı, ödeme sonucu */
.k-meta-row {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--k-ink-2);
  padding: .55rem 0;
  min-width: 0;
}

.k-meta-row>div {
  flex: 1;
  min-width: 0;
}

.k-meta-row i {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
  color: var(--k-muted);
  margin-top: 3px;
}

/* ##### Arama kutusu (header canlı arama ve blog araç çubuğu) ##### */
.k-search {
  position: relative;
  max-width: 460px;
  width: 100%;
}

.k-search .form-control {
  padding-left: 2.4rem;
  background: var(--k-surface-2);
  border-color: transparent;
}

.k-search .form-control:focus {
  background: #fff;
  border-color: var(--k-line-2);
  box-shadow: none;
}

.k-search>i {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--k-muted);
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .k-search {
    max-width: 280px;
  }
}

/* ##### Toast, uyarı kutuları, modal, offcanvas, SweetAlert, yükleniyor ##### */
/* ===== Toast / yardımcılar ============================================= */
.k-toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.k-toast {
  background: var(--k-ink);
  color: #fff;
  padding: .8rem 1.1rem;
  border-radius: var(--k-radius-sm);
  font-size: 13.5px;
  box-shadow: var(--k-shadow-lg);
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: kslide .28s ease;
}

@keyframes kslide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.k-alert {
  border-radius: var(--k-radius-sm);
  border: 1px solid;
  padding: .8rem 1rem;
  font-size: 13.5px;
  display: flex;
  gap: .65rem;
  align-items: center;
}

.k-alert i {
  margin-top: 0px;
}

.k-alert-warning {
  background: rgba(169, 118, 31, .07);
  border-color: rgba(169, 118, 31, .25);
  color: #7a560f;
}

.k-alert-danger {
  background: rgba(180, 71, 44, .06);
  border-color: rgba(180, 71, 44, .22);
  color: #8d3520;
}

.k-alert-success {
  background: rgba(47, 111, 78, .07);
  border-color: rgba(47, 111, 78, .22);
  color: #235539;
}

.k-alert-info {
  background: rgba(43, 91, 134, .06);
  border-color: rgba(43, 91, 134, .2);
  color: #234b6e;
}

.modal-content {
  border: 0;
  border-radius: var(--k-radius);
  box-shadow: var(--k-shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--k-line);
  padding: 1.05rem 1.35rem;
}

.modal-title {
  font-size: 16px;
}

.modal-body {
  padding: 1.35rem;
}

.modal-footer {
  border-top: 1px solid var(--k-line);
  padding: 1rem 1.35rem;
}

.offcanvas {
  border-right: 1px solid var(--k-line) !important;
}

.offcanvas-header {
  border-bottom: 1px solid var(--k-line);
}

.swal2-container {
  z-index: 99999999999 !important;
}

.swal2-container .select2-container {
  display: none;
}

.zorunlu-alanlar {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: .35rem;

}

.zorunlu-alanlar span {
  color: var(--k-ink-2, #3f434c);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.swal2-popup {
  border-radius: var(--k-radius, 10px) !important;
  font-family: var(--k-font, 'Inter', sans-serif);
  padding: 1.35rem 1.25rem 1.15rem !important;
}

.swal2-title {
  color: var(--k-ink, #16181d) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
}

.swal2-container .swal2-confirm {
  background-image: none !important;
  background-color: var(--k-ink, #16181d) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.swal2-container .swal2-confirm:hover {
  background-color: #000 !important;
}

.custom-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, .15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Duyarlılık */
@media (max-width: 575.98px) {
  .k-toast-wrap {
    left: 16px;
    right: 16px;
  }
}

/* ##### Çerez bandı, WhatsApp, yukarı çık ##### */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1055;
  display: none;
  align-items: center;
  gap: 1rem;
  width: min(880px, calc(100vw - 32px));
  padding: .9rem 1.1rem;
  background: var(--k-ink, #16181d);
  color: #fff;
  border-radius: var(--k-radius, 12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  font-size: 13.5px;
  line-height: 1.5;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-text {
  flex: 1;
  min-width: 0;
}

.cookie-link {
  color: #fff;
  text-decoration: underline;
}

.cookie-button {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: .5rem 1.1rem;
  background: #fff;
  color: var(--k-ink, #16181d);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-button:hover {
  opacity: .88;
}

/* Reddet / Tercihler: aynı ağırlıkta, çerçeveli düğme (kabul ile eşit kolaylıkta seçilebilir) */
.cookie-button--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: .5rem;
}

/* Footer alt bandındaki "Çerez tercihleri" bağlantısı: çevresindeki metinle aynı görünür */
.k-footer-cookie {
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cookie-actions .cookie-button {
    flex: 1 1 auto;
  }
}

.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
}

.whatsapp-button img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

#scrollToTop {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 1050;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--k-line, #e6e3de);
  border-radius: 50%;
  background: #fff;
  color: var(--k-ink, #16181d);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
  cursor: pointer;
}

#scrollToTop.is-visible {
  display: block;
}

/* Mobilde sepet ve ödeme sayfasında yüzen düğmeler gizlenir: tam genişlikteki "Ödemeye geç" / "Siparişi tamamla"
   düğmesinin üstüne binmesinler (body[data-page], inc/layout.php) */
@media (max-width: 767.98px) {
  body[data-page="b2c_cart"] .whatsapp-button,
  body[data-page="b2c_cart"] #scrollToTop,
  body[data-page="b2c_checkout"] .whatsapp-button,
  body[data-page="b2c_checkout"] #scrollToTop {
    display: none;
  }
}

body.search-open {
  overflow: hidden;
}

/* ##### Karusel noktaları ve okları, bölüm başlığı ##### */
.swiper-pagination-bullet {
  background: var(--k-ink);
  opacity: .22;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 22px;
  border-radius: 4px;
}

.k-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--k-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--k-ink);
  box-shadow: var(--k-shadow);
  cursor: pointer;
  transition: all .2s ease;
}

.k-arrow:hover {
  background: var(--k-ink);
  color: #fff;
  border-color: var(--k-ink);
}

.k-arrow.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

/* ===== Bölüm başlığı ==================================================== */
.k-section {
  padding: clamp(48px, 6vw, 84px) 0;
}

.k-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.9rem;
}

.k-section-head h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin: .25rem 0 0;
}

.k-section-head p {
  color: var(--k-muted);
  margin: .35rem 0 0;
  font-size: 14px;
}

@media (max-width: 575.98px) {
  .k-section {
    padding: 40px 0;
  }
}

/* ##### reCAPTCHA kabı ##### */
.recaptcha-outer-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
}

/* ##### Breadcrumb/banner, liste araç çubuğu, kategori ağacı, sayfalama, boş durum, iskelet, sayfa yenilemeden listeleme ##### */
/* ===== Breadcrumb / banner ============================================== */
.k-breadcrumb {
  font-size: 13px;
  color: var(--k-muted);
  padding: 1rem 0;
}

.k-breadcrumb a {
  color: var(--k-muted);
}

.k-breadcrumb a:hover {
  color: var(--k-ink);
}

.k-breadcrumb i {
  font-size: 9px;
  margin: 0 .5rem;
  opacity: .6;
}

.k-banner {
  position: relative;
  border-radius: var(--k-radius-lg);
  overflow: hidden;
  background: var(--k-surface-2);
}

.k-banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.k-banner-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.2rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .93), rgba(255, 255, 255, .35) 65%, transparent);
}

.k-banner-body h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: .4rem;
}

.k-banner-body p {
  color: var(--k-ink-2);
  max-width: 520px;
  margin: 0;
}

.k-cat-tree a {
  display: block;
  padding: .25rem 0;
  font-size: 14px;
  color: var(--k-ink-2);
}

.k-cat-tree a.active {
  color: var(--k-ink);
  font-weight: 600;
}

.k-cat-tree ul {
  list-style: none;
  padding-left: .9rem;
  margin: .2rem 0 .4rem;
  border-left: 1px solid var(--k-line);
}

.k-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--k-line);
  margin-bottom: 1.4rem;
  min-width: 0;
}

.k-view-toggle .btn {
  padding: .35rem .55rem;
  border: 1px solid var(--k-line-2);
  color: var(--k-muted);
}

.k-view-toggle .btn.active {
  background: var(--k-ink);
  border-color: var(--k-ink);
  color: #fff;
}

/* ===== Sayfalama ======================================================== */
.k-pagination {
  display: flex;
  gap: .35rem;
  justify-content: center;
  align-items: center;
}

.k-pagination a,
.k-pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-sm);
  font-size: 14px;
  color: var(--k-ink-2);
  background: #fff;
}

.k-pagination a:hover {
  border-color: var(--k-ink);
}

.k-pagination .current {
  background: var(--k-ink);
  border-color: var(--k-ink);
  color: #fff;
  font-weight: 600;
}

.k-pagination .disabled {
  opacity: .4;
  pointer-events: none;
}

/* ===== Boş durum / skeleton ============================================ */
.k-empty {
  text-align: center;
  padding: clamp(2.5rem, 7vw, 5rem) 1rem;
}

.k-empty i {
  font-size: 34px;
  color: var(--k-line-2);
}

.k-empty h3 {
  font-size: 19px;
  margin: 1rem 0 .4rem;
}

.k-empty p {
  color: var(--k-muted);
  max-width: 440px;
  margin: 0 auto 1.3rem;
  font-size: 14px;
}

.k-skeleton {
  background: linear-gradient(90deg, #eeece8 25%, #f6f4f1 50%, #eeece8 75%);
  background-size: 300% 100%;
  animation: kshimmer 1.3s ease infinite;
  border-radius: var(--k-radius-sm);
}

@keyframes kshimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.k-skeleton-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--k-radius);
}

/* Görseli olmayan sayfa bandı: k-banner-body mutlak konumlu olduğu için
   görselsiz durumda akışa alınır. */
.k-banner--plain {
  min-height: 150px;
  display: flex;
}

.k-banner--plain .k-banner-body {
  position: relative;
  inset: auto;
  width: 100%;
  background: none;
}

/* Liste araç çubuğunda kullanılan küçük etiket */
.k-toolbar .form-select-sm {
  min-width: 170px;
}

/* Listeleme (ürün/blog) sayfa yenilemeden yüklenirken */
.k-listing-busy {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}

/* Duyarlılık */
@media (max-width: 991.98px) {
  .k-banner-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .95));
  }
}

/* ##### Panelden gelen zengin içerik (ürün açıklaması, makale, yasal metin, popup) ##### */
/* Panelden gelen makale / yasal metin */
.editor-content {
  min-width: 0;
  max-width: 100%;
  color: var(--k-ink-2);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.editor-content> :first-child {
  margin-top: 0;
}

.editor-content> :last-child {
  margin-bottom: 0;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
  color: var(--k-ink);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin: 1.5rem 0 .55rem;
}

.editor-content h1 {
  font-size: 1.65rem;
}

.editor-content h2 {
  font-size: 1.35rem;
}

.editor-content h3 {
  font-size: 1.15rem;
}

.editor-content h4 {
  font-size: 1.05rem;
}

.editor-content h5 {
  font-size: .98rem;
}

.editor-content h6 {
  font-size: .92rem;
}

.editor-content p {
  margin: 0 0 .9rem;
}

.editor-content a {
  color: var(--k-ink);
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-color: var(--k-line-2);
}

.editor-content a:hover {
  color: var(--k-sale);
}

.editor-content strong,
.editor-content b {
  color: var(--k-ink);
  font-weight: 600;
}

.editor-content ul,
.editor-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.editor-content li {
  margin: .28rem 0;
}

.editor-content li>ul,
.editor-content li>ol {
  margin: .2rem 0 0;
}

.editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--k-radius);
}

.editor-content figure {
  margin: 0 0 1rem;
}

.editor-content figcaption {
  margin-top: .4rem;
  color: var(--k-muted);
  font-size: 13px;
}

.editor-content iframe,
.editor-content video {
  max-width: 100%;
  border: 0;
  border-radius: var(--k-radius);
}

.editor-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.15rem;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14px;
}

.editor-content th,
.editor-content td {
  border: 1px solid var(--k-line);
  padding: .6rem .75rem;
  text-align: left;
  vertical-align: top;
}

.editor-content th {
  background: var(--k-surface-2);
  color: var(--k-ink);
  font-weight: 600;
}

.editor-content blockquote {
  margin: 0 0 1rem;
  padding: .1rem 0 .1rem 1rem;
  border-left: 2px solid var(--k-ink);
  color: var(--k-ink);
}

.editor-content hr {
  border: 0;
  border-top: 1px solid var(--k-line);
  margin: 1.25rem 0;
}

.editor-content code {
  background: var(--k-surface-2);
  border-radius: var(--k-radius-sm);
  padding: .1em .35em;
  font-size: .9em;
}

.editor-content pre {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  overflow-x: auto;
  background: var(--k-surface-2);
  border-radius: var(--k-radius);
}

.editor-content pre code {
  background: none;
  padding: 0;
}

/* ##### Yardım/form sayfası kabı ve onay kutusu satırı (havale bildirimi, iletişim) ##### */
.k-page-help {
  min-width: 0;
}

.k-page-help>.row>[class*="col-"],
.k-page-help .row>[class*="col-"] {
  min-width: 0;
}

.k-page-help .k-card,
.k-page-help .k-card-pad,
.k-page-help .accordion-item {
  min-width: 0;
  max-width: 100%;
}

.k-page-help .k-card-pad {
  padding: clamp(1rem, 3.5vw, 1.35rem);
}

.k-page-help .accordion-button {
  white-space: normal;
  line-height: 1.4;
}

.k-page-help .form-control,
.k-page-help .form-select,
.k-page-help textarea {
  min-width: 0;
  max-width: 100%;
}

.k-page-help .d-flex.justify-content-between {
  gap: .75rem;
  flex-wrap: wrap;
}

.k-form-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.k-form-check-wrap .form-check-input {
  margin-top: .2rem;
}

.k-form-check-wrap .form-check-label {
  flex: 1;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .k-page-help .display-serif {
    font-size: clamp(24px, 7vw, 32px) !important;
  }
}

/* ==========================================================================
   Filtre paneli ve filtre çipleri — mağaza ürün listesi ile ilan / ürün kataloğu listesi ortak (mağaza kapalıyken de yüklenir)
   ========================================================================== */
.k-filter { position: sticky; top: calc(var(--k-header-h) + 16px); }
.k-filter-group { border-bottom: 1px solid var(--k-line); padding: 1.05rem 0; }
.k-filter-group:last-child { border-bottom: none; }
.k-filter-group > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--k-ink);
}
.k-filter-group > button i { font-size: 11px; color: var(--k-muted); transition: transform .2s ease; }
.k-filter-group > button[aria-expanded="false"] i { transform: rotate(-90deg); }
.k-filter-body { padding-top: .85rem; }
.k-filter-body .form-check { margin-bottom: .38rem; }
.k-filter-body .form-check-label { display: flex; justify-content: space-between; width: 100%; color: var(--k-ink-2); }
.k-filter-body .form-check-label span { color: var(--k-muted); font-size: 12.5px; }

.k-color-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.k-color {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--k-line-2);
  cursor: pointer; position: relative; display: inline-block;
}
.k-color input { position: absolute; opacity: 0; }
.k-color.checked { box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--k-ink); }

/* Seçili filtre çipleri */
.k-chip {
  display: inline-flex; align-items: center; gap: .45rem; font-size: 12.5px;
  background: var(--k-surface); border: 1px solid var(--k-line-2); border-radius: 999px;
  padding: .3rem .7rem; color: var(--k-ink-2);
}
.k-chip i { font-size: 10px; color: var(--k-muted); }
.k-chip:hover { border-color: var(--k-ink); color: var(--k-ink); }

/* Filtre paneli: çok seçenekli gruplarda arama + kaydırma */
.k-filter-options {
  max-height: 232px;
  overflow-y: auto;
  padding-right: .35rem;
  scrollbar-width: thin;
}
.k-filter-search .form-control {
  font-size: 13px;
}

.k-chip.active,
.k-chip.active:hover { background: var(--k-ink); color: #fff; border-color: var(--k-ink); }

/* Mobil filtre paneli (offcanvas) */
.k-filter-canvas { --bs-offcanvas-width: 330px; max-width: 88vw; }
