/* Footer: PC'de iletişim %30, bülten %30, orta menüler kalan alanı eşit böler */

.footer .ws-footer-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 1.25rem;
}

.footer .ws-footer-col-company,
.footer .ws-footer-col-newsletter,
.footer .ws-footer-menus,
.footer .ws-footer-menu {
  min-width: 0;
  box-sizing: border-box;
}

.footer .ws-footer-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1rem;
}

/* Menü kolon başlığı: 14px + metin genişliğinde alt çizgi */
.footer .ws-footer-menus .ws-footer-menu-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  font-size: 14px;
  line-height: 1.3;
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid currentColor;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.footer.ws-footer-theme-light .ws-footer-menus .ws-footer-menu-title {
  color: #1f1f1f;
  border-bottom-color: rgba(31, 31, 31, 0.35);
}

.footer.ws-footer-theme-dark .ws-footer-menus .ws-footer-menu-title {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* Uzun menü çevirileri: tek satır + ellipsis (tam metin title ile) */
.footer .ws-footer-menus .ws-footer-menu-link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-inline-start: 0;
  transform: none;
  transition: padding-inline-start 0.2s ease;
}

/* Yalnızca Pro footer menü linkleri — net sağa kayma (dikey yok) */
.footer .ws-footer-menus .ws-footer-menu-link:hover,
.footer .ws-footer-menus .ws-footer-menu-link:focus-visible {
  padding-inline-start: 6px;
  transform: none;
}

/* Hover alt çizgi (has-line-before) kapalı */
.footer .ws-footer-menus .ws-footer-menu-link.has-line-before::before,
.footer .ws-footer-menus .has-line-before::before {
  content: none;
  display: none;
  width: 0;
  height: 0;
}

@media (min-width: 1024px) {
  .footer .ws-footer-cols {
    flex-wrap: nowrap;
  }

  .footer .ws-footer-col-company {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
    padding-right: 1rem;
  }

  .footer .ws-footer-col-newsletter {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
    padding-left: 1rem;
  }

  /* Ortada kalan alan (bülten açıksa ~%40) menülere eşit */
  .footer .ws-footer-menus {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .footer .ws-footer-menus > .ws-footer-menu {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }

  /* Bülten kapalı: iletişim %30, menüler kalan %70 */
  .footer .ws-footer-cols:not(.ws-footer-has-newsletter) .ws-footer-col-company {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
  }

  /* Menü yok: iletişim + bülten yan yana (her biri %30 sabit; boşluk ortada) */
  .footer .ws-footer-cols:not(.ws-footer-has-menus) .ws-footer-col-company {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
  }
}

@media (max-width: 1023.98px) {
  .footer .ws-footer-col-company,
  .footer .ws-footer-col-newsletter,
  .footer .ws-footer-menus {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .footer .ws-footer-menus > .ws-footer-menu {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }
}

/* Sosyal bağlantılar — template-2 (dairesiz; footer header’dan büyük) */
.footer .ws-footer-social {
  gap: 1.5rem;
}

.footer .ws-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  line-height: 1;
  transition: color .2s ease, opacity .2s ease;
}

.footer .ws-footer-social__link i,
.footer .ws-footer-social__link [class^="icon-"],
.footer .ws-footer-social__link [class*=" icon-"] {
  font-size: 1.5rem;
  line-height: 1;
  width: 1.5rem;
  height: 1.5rem;
}

.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link,
.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link i,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link i {
  color: #1f1f1f;
}

.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link:hover,
.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link:hover i,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link:hover,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link:hover i {
  color: #111111;
  opacity: 0.75;
}

.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link,
.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link i,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link i {
  color: #ffffff;
}

.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link:hover,
.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link:hover i,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link:hover,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link:hover i {
  opacity: 0.8;
}

.footer.ws-social-icons--colored .ws-footer-social__link:hover {
  opacity: 0.85;
}

.footer.ws-social-icons--colored .ws-social-link--facebook,
.footer.ws-social-icons--colored .ws-social-link--facebook i { color: #1877f2; }
.footer.ws-social-icons--colored .ws-social-link--instagram,
.footer.ws-social-icons--colored .ws-social-link--instagram i { color: #e4405f; }
.footer.ws-social-icons--colored .ws-social-link--youtube,
.footer.ws-social-icons--colored .ws-social-link--youtube i { color: #ff0000; }
.footer.ws-social-icons--colored .ws-social-link--x,
.footer.ws-social-icons--colored .ws-social-link--x i { color: #111111; }
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--x,
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--x i { color: #ffffff; }
.footer.ws-social-icons--colored .ws-social-link--linkedin,
.footer.ws-social-icons--colored .ws-social-link--linkedin i { color: #0a66c2; }
.footer.ws-social-icons--colored .ws-social-link--tiktok,
.footer.ws-social-icons--colored .ws-social-link--tiktok i { color: #111111; }
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--tiktok,
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--tiktok i { color: #ffffff; }
.footer.ws-social-icons--colored .ws-social-link--pinterest,
.footer.ws-social-icons--colored .ws-social-link--pinterest i { color: #e60023; }
.footer.ws-social-icons--colored .ws-social-link--whatsapp,
.footer.ws-social-icons--colored .ws-social-link--whatsapp i { color: #25d366; }
.footer.ws-social-icons--colored .ws-social-link--telegram,
.footer.ws-social-icons--colored .ws-social-link--telegram i { color: #26a5e4; }
.footer.ws-footer-theme-light.ws-social-icons--colored .ws-social-link--other,
.footer.ws-footer-theme-light.ws-social-icons--colored .ws-social-link--other i { color: #1f1f1f; }
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--other,
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--other i { color: #ffffff; }

/* Footer dil seçici (Dil Ekranı ayarı) */
.footer .ws-locale-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
}

.footer .ws-locale-flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.footer .ws-locale-switcher--list .ws-locale-item {
  text-decoration: none;
  opacity: 0.75;
}

.footer .ws-locale-switcher--list .ws-locale-item.is-active,
.footer .ws-locale-switcher--list .ws-locale-item:hover {
  opacity: 1;
}

.footer .choose-language .list-option .ws-locale-item {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

/* Sadece bayrak: dar dropdown (footer yukarı açılır) */
.footer .choose-language.ws-locale-switcher--flag-only .list-option {
  min-width: 0;
  width: max-content;
  left: 50%;
  transform: translate(-50%, -20px);
  padding: 4px;
}

.footer .choose-language.ws-locale-switcher--flag-only .list-option.open {
  transform: translate(-50%, -10px);
}

.footer .choose-language.ws-locale-switcher--flag-only .list-option li a {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .choose-language.ws-locale-switcher--flag-only .list-option .ws-locale-label {
  gap: 0;
  justify-content: center;
}

.footer .ws-footer-categories {
  margin-top: 0.5rem;
  padding-top: 0;
  padding-bottom: 0.75rem;
  border-top: none;
}

.footer .ws-footer-categories__line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.footer .ws-footer-categories__label {
  font-weight: 600;
  margin-inline-end: 0.35rem;
}

.footer .ws-footer-categories__link {
  text-decoration: none;
  opacity: 0.85;
}

.footer .ws-footer-categories__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer .ws-footer-categories__sep {
  margin-inline-end: 0.25rem;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .footer .ws-footer-categories__line {
    white-space: normal;
  }

  .footer .ws-footer-categories--hide-mobile {
    display: none;
  }
}


/* Webslit kredisi — copyright ile ödeme görselleri arasında */
.footer .footer-bottom--with-credit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.25rem;
}

.footer .footer-bottom--with-credit > .left {
  justify-self: start;
}

.footer .footer-bottom--with-credit > .ws-webslit-credit {
  justify-self: center;
  text-align: center;
}

.footer .footer-bottom--with-credit > .right {
  justify-self: end;
}

.footer .ws-footer-payment-img {
  height: 24px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.ws-webslit-credit__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.ws-webslit-credit__link:hover {
  opacity: 1;
  text-decoration: none;
}

.ws-webslit-credit__logo {
  display: inline-block;
  height: 18px;
  width: auto;
  max-width: 96px;
  vertical-align: middle;
  object-fit: contain;
}

.footer.ws-footer-theme-dark .ws-webslit-credit__link {
  color: rgba(255, 255, 255, 0.85);
}

.footer.ws-footer-theme-light .ws-webslit-credit__link {
  color: #4b5563;
}

@media (max-width: 1023.98px) {
  .footer .footer-bottom--with-credit {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer .footer-bottom--with-credit > .left,
  .footer .footer-bottom--with-credit > .right {
    justify-self: center;
  }
}
