/* footer.css — Light Trendyol-style footer */

.site-footer {
  background: var(--gray-50);
  border-top: var(--border);
  color: var(--gray-700);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
  gap: var(--sp-10);
  padding: var(--sp-12) 0;
  border-bottom: var(--border);
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: var(--sp-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--gray-600);
  transition: color var(--ease);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--primary); }

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-relaxed);
  margin-top: var(--sp-3);
  max-width: 260px;
  overflow-wrap: anywhere;
}
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--white);
  border: var(--border);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all var(--ease);
  text-decoration: none;
}
.footer-social-link:hover { background: var(--primary); border-color: var(--primary); color: white; }

.footer-payments { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-5); }
.footer-payment-badge {
  background: white;
  border: var(--border);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-size: var(--text-xs);
  color: var(--gray-500);
  font-weight: 600;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  background: var(--white);
  border: var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-top: var(--sp-3);
}
.newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px var(--sp-4);
  font-size: var(--text-sm);
  outline: none;
  color: var(--black);
  min-width: 0;
}
.newsletter-input::placeholder { color: var(--gray-400); }
.newsletter-btn {
  border: none;
  background: var(--primary);
  color: white;
  padding: 0 var(--sp-4);
  font-size: 16px;
  cursor: pointer;
  transition: background var(--ease);
}
.newsletter-btn:hover { background: var(--primary-dark); }

/* SEO chips */
.footer-seo-links { padding: var(--sp-5) 0; border-bottom: var(--border); }
.footer-seo-links-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.footer-seo-chip {
  font-size: var(--text-xs);
  color: var(--gray-500);
  background: var(--white);
  border: var(--border);
  padding: 4px 12px;
  border-radius: var(--r-full);
  transition: all var(--ease);
  text-decoration: none;
}
.footer-seo-chip:hover { background: var(--primary-bg); color: var(--primary); border-color: var(--primary-20); }

.footer-bottom {
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.footer-copy { font-size: var(--text-xs); color: var(--gray-400); overflow-wrap: anywhere; }
.footer-legal { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-legal a { font-size: var(--text-xs); color: var(--gray-400); transition: color var(--ease); text-decoration: none; }
.footer-legal a:hover { color: var(--primary); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 768px) {
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
  .footer-social { justify-content: center; }
  .footer-payments { justify-content: center; }
  .newsletter-form { max-width: 100%; }
  .footer-seo-links-row { justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-title { margin-top: var(--sp-2); }
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: var(--sp-2);
    gap: var(--sp-2);
  }
  .newsletter-btn {
    width: 100%;
    min-height: 42px;
    border-radius: var(--r-md);
  }
}