

.footer {
  background: var(--site-flow-solid-bg);
  color: #64748b;
  font-family: var(--font-sans);
  border-top: 1px solid #e2e8f0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: max(3rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

@media (min-width: 640px) {
  .footer-inner {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    padding-left: max(2rem, env(safe-area-inset-left, 0px));
    padding-right: max(2rem, env(safe-area-inset-right, 0px));
    padding-top: 4rem;
    padding-bottom: max(3rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  }
}

.footer-grid {
  display: grid;
  gap: 2rem 1.5rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 3rem; }
}

@media (max-width: 1023px) {
  .footer-company {
    text-align: center;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
  }

  .footer-social {
    justify-content: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.4rem;
}

.footer-brand-logo {
  height: auto;
  width: clamp(9.5rem, 42vw, 14.5rem);
  max-width: min(100%, 17.5rem);
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (min-width: 1024px) {
  .footer-brand-logo {
    width: clamp(11rem, 12vw, 14rem);
    max-width: 100%;
  }
}

.footer-desc {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  padding-top: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.2s, color 0.2s;
}

.footer-social-link:hover {
  background: #2563eb;
  color: #fff;
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2563eb;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-address {
  line-height: 1.65;
  color: #475569;
}

.footer-contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #94a3b8;
}

.footer-contact-item a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #2563eb;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
}

.footer-copy {
  font-size: 0.875rem;
  color: #334155;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #2563eb;
}

.footer-legal-sep {
  color: #cbd5e1;
  margin: 0 0.35rem;
  user-select: none;
}

.footer-attribution {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.footer-payments {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.footer-payments-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-payments-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.65rem;
}

.footer-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 5.75rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.footer-pay-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-legal {
    align-items: center;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .footer-payments {
    align-items: center;
  }

  .footer-payments-title {
    text-align: center;
    width: 100%;
  }

  .footer-payments-logos {
    justify-content: center;
  }
}

/* Anasayfa: mobil mağaza + ödeme şeridi (tüm sitede .footer-bottom--home) */
.footer-bottom.footer-bottom--home {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.footer-home-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.footer-bottom--home .footer-apps-title {
  margin: 0 0 0.52rem 0;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-align: left;
}

.footer-bottom--home .footer-apps-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.52rem 0.8rem;
}

.footer-bottom--home .footer-app-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.2s;
}

.footer-bottom--home a.footer-app-badge:hover {
  opacity: 0.88;
}

.footer-bottom--home .footer-app-img {
  display: block;
  height: 35px;
  width: auto;
  max-width: 126px;
  object-fit: contain;
}

.footer-bottom--home .footer-app-img--yerli {
  max-width: 106px;
  border-radius: 3px;
}

.footer-bottom--home .footer-payments {
  align-items: flex-start;
  max-width: none;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  gap: 0.4rem;
}

.footer-bottom--home .footer-payments-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  text-transform: none;
  text-align: left;
  width: 100%;
  margin: 0 0 0.12rem 0;
}

.footer-bottom--home .footer-payments-banner {
  line-height: 0;
  max-width: min(100%, 22.5rem);
  align-self: flex-end;
}

.footer-bottom--home .footer-payments-banner-img {
  display: block;
  width: 100%;
  max-width: 22.5rem;
  height: auto;
  max-height: 2.48rem;
  object-fit: contain;
  object-position: right center;
}

.footer-bottom--home .footer-legal {
  margin-top: 0.85rem;
}

@media (min-width: 1024px) {
  .footer-home-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem 1.25rem;
    padding: 0;
  }

  .footer-bottom--home .footer-apps {
    min-width: 0;
  }

  .footer-bottom--home .footer-payments {
    align-items: flex-start;
  }

  .footer-bottom--home .footer-payments-banner {
    align-self: flex-end;
  }
}

@media (max-width: 1023px) {
  .footer-home-strip {
    display: flex;
    flex-direction: column;
  }

  .footer-bottom--home .footer-payments-banner {
    align-self: flex-start;
    max-width: min(100%, 19.25rem);
  }

  .footer-bottom--home .footer-payments-banner-img {
    object-position: left center;
  }
}

@media (max-width: 767px) {
  .footer-bottom--home .footer-apps-title,
  .footer-bottom--home .footer-payments-title {
    text-align: center;
    width: 100%;
  }

  .footer-bottom--home .footer-apps-badges {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom--home .footer-payments {
    align-items: center;
    width: 100%;
  }

  .footer-bottom--home .footer-payments-banner {
    align-self: center;
    max-width: 100%;
  }

  .footer-bottom--home .footer-payments-banner-img {
    max-height: 1.96rem;
    margin: 0 auto;
    object-position: center;
  }

  .footer-bottom--home .footer-legal {
    align-items: center;
    text-align: center;
  }
}

