:root {
  --footer-bg: #ffffff;
  --footer-text: #0f172a;
  --footer-muted: #64748b;
  --footer-border: #e2e8f0;
  --brand-primary: #f03350;
  --brand-secondary: #da2644;
  --max-width: 1320px;
}

.store-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 64px;
  border-top: 1px solid var(--footer-border);
  font-family: inherit;
}

.store-footer .shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.store-footer a {
  color: inherit;
  text-decoration: none;
}

/* Newsletter Compact */
.footer-newsletter-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--footer-border);
}

.newsletter-info h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--footer-text);
}

.newsletter-info p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

.newsletter-form-wrapper {
  width: 100%;
  max-width: 460px;
}

.newsletter-form-minimal {
  display: flex;
  gap: 10px;
  width: 100%;
  position: relative;
}

.newsletter-form-minimal input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--footer-border);
  background: #f8fafc;
  color: var(--footer-text);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.newsletter-form-minimal input:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(240, 51, 80, 0.1);
}

.newsletter-form-minimal input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.newsletter-form-minimal button {
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: var(--footer-text);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.newsletter-form-minimal button:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}

.form-note {
  margin: 8px 4px 0;
  font-size: 0.82rem;
  color: var(--footer-muted);
}

.form-note.is-error {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Grid Minimal */
.footer-grid-minimal {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 48px 0;
}

.footer-col h4 {
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--footer-text);
}

.brand-col .brand img {
  height: 34px;
  margin-bottom: 18px;
  display: block;
}

.brand-col .footer-description {
  margin: 0 0 22px;
  color: var(--footer-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 38ch;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--footer-muted);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-col nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-col a {
  color: var(--footer-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  width: fit-content;
}

.nav-col a:hover {
  color: var(--brand-primary);
  transform: translateX(2px);
}

.trust-col .payment-methods-minimal {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: center;
}

.payment-methods-minimal img {
  height: 22px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.payment-methods-minimal img:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-1px);
}

.security-badges-minimal {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.security-badges-minimal span {
  padding: 6px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--footer-border);
  color: var(--footer-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Bottom */
.footer-bottom-minimal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--footer-border);
  font-size: 0.9rem;
  color: var(--footer-muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-links a {
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--brand-primary);
}

@media (max-width: 1024px) {
  .footer-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .footer-newsletter-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .newsletter-form-wrapper {
    max-width: 100%;
  }

  .newsletter-form-minimal {
    flex-direction: column;
  }

  .newsletter-form-minimal button {
    width: 100%;
  }

  .footer-grid-minimal {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-minimal {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .legal-links {
    gap: 16px;
  }
}
