/* Kobicart Güvenli Ödeme */
.kc-pay {
  --kc-pay-h: 28px;
  --kc-pay-gap: 8px;
  --kc-pay-bg: #ffffff;
  box-sizing: border-box;
  margin: 0.65rem 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.kc-pay *,
.kc-pay *::before,
.kc-pay *::after { box-sizing: border-box; }

.kc-pay__title {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 650;
}

.kc-pay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--kc-pay-gap);
}

.kc-pay--start .kc-pay__list { justify-content: flex-start; }
.kc-pay--center .kc-pay__list { justify-content: center; }
.kc-pay--end .kc-pay__list { justify-content: flex-end; }

.kc-pay__item { margin: 0; padding: 0; }

.kc-pay__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--kc-pay-h) + 10px);
  padding: 4px 6px;
  background: var(--kc-pay-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s ease;
}

.kc-pay--soft .kc-pay__badge { border-radius: 0.45rem; }
.kc-pay--square .kc-pay__badge { border-radius: 0.15rem; }
.kc-pay--pill .kc-pay__badge { border-radius: 999px; padding-left: 0.55rem; padding-right: 0.55rem; }

.kc-pay--gray .kc-pay__badge { filter: grayscale(1); opacity: 0.92; }

.kc-pay__badge:hover { transform: translateY(-1px); }

.kc-pay__svg,
.kc-pay__logo {
  height: var(--kc-pay-h);
  width: auto;
  max-width: 110px;
  display: block;
  object-fit: contain;
}

.kc-pay__fallback {
  display: inline-flex;
  align-items: center;
  height: var(--kc-pay-h);
  padding: 0 0.45rem;
  font-size: calc(var(--kc-pay-h) * 0.42);
  font-weight: 700;
  color: #222;
}

.kc-pay__badge img {
  height: var(--kc-pay-h);
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.kc-pay-slot--header {
  width: 100%;
  clear: both;
  padding: 0.25rem 0 0.55rem;
}

.kc-pay-slot--footer {
  width: 100%;
  clear: both;
  padding: 0.75rem 0 0.35rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Flatten OC absolute-footer layout when payment bars are in the footer */
body:has(.kc-pay-slot--footer) #container,
html:has(.kc-pay-slot--footer) #container {
  position: relative !important;
  height: auto !important;
  min-height: 100%;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  bottom: auto !important;
}

body:has(.kc-pay-slot--footer) #content,
body:has(.kc-pay-slot--footer) #column-left,
body:has(.kc-pay-slot--footer) #column-right,
html:has(.kc-pay-slot--footer) #content,
html:has(.kc-pay-slot--footer) #column-left,
html:has(.kc-pay-slot--footer) #column-right {
  padding-bottom: 0 !important;
}

body:has(.kc-pay-slot--footer) footer,
html:has(.kc-pay-slot--footer) footer {
  position: relative !important;
  bottom: auto !important;
}

footer .kc-pay__title,
.kc-pay-slot--footer .kc-pay__title {
  color: rgba(255, 255, 255, 0.9);
}

/* Keep badges readable on dark default footers */
.kc-pay-slot--footer .kc-pay__badge {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.18);
}
