/**
 * Footer Storefront Styles
 * 
 * This CSS is for the static storefront only.
 * Editor-specific styles (.canvas-frame.*) are excluded.
 * Only @media queries for responsive behavior are included.
 */

/* Base Footer Styles */
.footer-preview {
  width: 100%;
  background: var(--footer-bg, #1f2937);
  color: var(--footer-text, #9ca3af);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-container.centered {
  text-align: center;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

.footer-grid.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

/* Headings */
.footer-heading {
  font-size: var(--footer-heading-size, 14px);
  font-weight: var(--footer-heading-weight, 600);
  color: var(--footer-heading, #ffffff);
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  display: block;
}

.footer-links a {
  font-size: var(--footer-link-size, 13px);
  color: var(--footer-link, #d1d5db);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.footer-links a:hover {
  color: var(--footer-heading, #ffffff);
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}

.footer-links-inline.compact {
  margin: 8px 0;
}

.footer-links-inline a {
  font-size: var(--footer-link-size, 13px);
  color: var(--footer-link, #d1d5db);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-inline a:hover {
  color: var(--footer-heading, #ffffff);
}

.link-separator {
  color: var(--footer-text, #9ca3af);
  margin: 0 4px;
}

.footer-links-row {
  text-align: center;
}

.footer-links-row .footer-heading {
  margin-bottom: 12px;
}

/* Centered Links Layout (Footer 2) */
.footer-centered-links {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 24px 0;
}

.footer-links-column {
  text-align: center;
}

.footer-links-column .footer-links {
  text-align: center;
}

/* Minimal Grid Layout (Footer 4) */
.footer-minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  text-align: left;
}

/* Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: var(--footer-link-size, 13px);
  color: var(--footer-link, #d1d5db);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--footer-accent, #0891b2);
}

.footer-contact-inline {
  display: flex;
  gap: 24px;
}

.footer-contact-inline .contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--footer-link, #d1d5db);
}

.footer-contact-inline .contact-item svg {
  color: var(--footer-accent, #0891b2);
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social.centered {
  justify-content: center;
  margin-bottom: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--footer-link, #d1d5db);
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background: var(--footer-accent, #0891b2);
  color: white;
}

.social-link.small {
  width: 28px;
  height: 28px;
}

.social-link.small svg {
  width: 14px;
  height: 14px;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

/* Bottom */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom.centered {
  margin-top: 24px;
}

.footer-bottom p,
.footer-bottom-row .copyright {
  font-size: 12px;
  color: var(--footer-text, #9ca3af);
  margin: 0;
}

/* ========================================
   Responsive - Media Queries (Storefront)
   ======================================== */
@media (max-width: 900px) {
  .footer-grid.four-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid.three-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-contact-inline {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 32px 16px 16px;
  }

  .footer-grid.four-cols,
  .footer-grid.three-cols {
    grid-template-columns: 1fr;
  }

  .footer-links-inline {
    flex-direction: column;
    gap: 12px;
  }

  .link-separator {
    display: none;
  }

  .footer-centered-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-minimal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-minimal-grid .footer-contact {
    justify-content: center;
  }

  .footer-minimal-grid .footer-contact li {
    justify-content: center;
  }
}







