/* ==========================================================================
   Footer & Legal Information Styles
   ========================================================================== */

.site-footer {
  background-color: #0F172A;
  color: #F8FAFC;
  padding-top: 64px;
  border-top: 1px solid #1E293B;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
  }
}

/* Brand Column */
.footer-brand .brand-name {
  color: #FFFFFF;
}

.footer-brand .brand-tagline {
  color: #94A3B8;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: #CBD5E1;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-list svg {
  color: var(--color-accent);
}

/* Footer Link Columns */
.footer-column h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

/* Newsletter Box */
.footer-newsletter p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: #FFFFFF;
  font-size: 0.875rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-submit-btn {
  height: 44px;
  padding: 0 20px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  background-color: var(--color-accent-hover);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.4;
}

.newsletter-consent input {
  margin-top: 3px;
  accent-color: var(--color-accent);
}

/* Middle Row: Payment & Shipping Badges */
.footer-badges-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-badges-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  margin-right: 8px;
}

.payment-pill, .shipping-pill {
  padding: 6px 14px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.02em;
}

/* Footer Bottom: Copyright & Mandatory German Notices */
.footer-bottom {
  padding: 28px 0 36px 0;
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.6;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal-notice {
  font-size: 0.75rem;
  color: #64748B;
  max-width: 600px;
}
