/**
 * Footer CSS (React Version)
 *
 * @package SCW_Shop
 */

.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-top {
  padding: 4rem 2rem;
  border-bottom: 1px solid #1e293b;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.footer-brand {
  flex: 2;
  min-width: 250px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: #0ea5e9;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
  color: #94a3b8;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  transition: background 0.2s;
}

.social-links a:hover {
  background: #0ea5e9;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h4,
.footer-newsletter h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  margin-top: 0;
}

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

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

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

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-newsletter {
  flex: 1.5;
  min-width: 250px;
}

.footer-newsletter p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1rem;
  margin-top: 0;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  border: 1px solid #334155;
  background: #1e293b;
  color: white;
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #0ea5e9;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form button {
  padding: 0.6rem 1.2rem;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #0284c7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-item svg {
  color: #0ea5e9;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 2rem;
  background-color: #020617;
}

.footer-bottom .footer-container {
  align-items: center;
}

.footer-bottom p {
  color: #64748b;
  margin: 0;
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

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

.legal-links a:hover {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .footer-top {
    padding: 3rem 1.5rem;
  }

  .footer-bottom {
    padding: 1.5rem 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand,
  .footer-links,
  .footer-newsletter {
    min-width: 100%;
  }

  .footer-bottom .footer-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}
