/* =========================================
   VIA MEAT — LIGHT PREMIUM FOOTER
========================================= */
.footer,
.products-footer,
.brands-footer,
.prod-footer,
.about-footer-light {
  background: #f4ede3 !important;
  color: #241b18 !important;
  padding: 56px 0 20px !important;
  border-top: 1px solid #e2d5c8 !important;
}

/* =========================================
   FOOTER GRID
========================================= */
.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 44px;
  align-items: start;
}

/* =========================================
   BRAND / LOGO
========================================= */
.footer .footer-brand {
  max-width: 230px;
}

.footer .footer-logo {
  display: block;
  width: 148px;
  height: auto;
  margin-bottom: 16px;
  filter: none;
  opacity: 1;
}

.footer .footer-brand p {
  max-width: 220px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #675953;
}

/* =========================================
   COLUMN TITLES
========================================= */
.footer h4 {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #76191d;
}

/* =========================================
   TEXT & LINKS
========================================= */
.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #675953;
  text-decoration: none;
}

.footer a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: #861c21;
  transform: translateX(2px);
}

/* =========================================
   SOCIAL ICONS
========================================= */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid #d7c5b7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  color: #861c21;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  background: #861c21;
  border-color: #861c21;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================
   BOTTOM / COPYRIGHT
========================================= */
.footer .footer-bottom {
  margin-top: 30px;
  padding-top: 11px;
  border-top: 1px solid #d9cabc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  line-height: 1.4;
  color: #897a72;
}

.footer .footer-bottom > span:not(.footer-legal):not(.footer-separator) {
  display: block;
}

/* =========================================
   LEGAL LINKS
========================================= */
.footer .footer-bottom .footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}

.footer .footer-bottom .footer-legal a {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #897a72;
}

.footer .footer-bottom .footer-legal a:hover {
  color: #861c21;
  transform: none;
}

.footer .footer-bottom .footer-separator {
  display: inline-block !important;
  flex: 0 0 auto;
  color: #a18f85;
  opacity: 0.55;
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 1000px) {
  .footer .footer-grid {
    grid-template-columns: 1.25fr repeat(2, 1fr);
    gap: 38px 32px;
  }

  .footer .footer-brand {
    grid-row: span 2;
  }
}

/* =========================================
   MOBILE — simplified + centered footer
   Keep only brand, contacts and social links.
========================================= */
@media (max-width: 700px) {
  .footer,
  .products-footer,
  .brands-footer,
  .prod-footer,
  .about-footer-light {
    padding: 32px 0 16px !important;
  }

  .footer .container {
    width: calc(100% - 28px);
  }

  .footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  /* Hide Company and Business navigation on mobile */
  .footer .footer-grid > div:nth-child(2),
  .footer .footer-grid > div:nth-child(3) {
    display: none;
  }

  .footer .footer-brand,
  .footer .footer-grid > div:nth-child(4),
  .footer .footer-grid > div:nth-child(5) {
    grid-column: 1 / -1;
  }

  .footer .footer-brand {
    max-width: none;
    padding: 0 0 4px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer .footer-logo {
    width: 108px;
    margin: 0 auto;
  }

  /* Hide slogan on mobile */
  .footer .footer-brand p {
    display: none !important;
  }

  .footer h4 {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .06em;
  }

  .footer a,
  .footer p {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Contacts */
  .footer .footer-grid > div:nth-child(4) {
    padding-top: 18px;
    border-top: 1px solid #d9cabc;
  }

  .footer .footer-grid > div:nth-child(4) a,
  .footer .footer-grid > div:nth-child(4) p {
    text-align: center;
  }

  /* Social links */
  .footer .footer-grid > div:nth-child(5) {
    padding-top: 2px;
  }

  .footer-socials {
    justify-content: center;
    gap: 9px;
    margin-top: 2px;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .footer .footer-bottom {
    margin-top: 22px;
    padding-top: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
  }

  .footer .footer-bottom .footer-legal {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
  }

  .footer .footer-bottom .footer-legal a {
    font-size: 11px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 430px) {
  .footer,
  .products-footer,
  .brands-footer,
  .prod-footer,
  .about-footer-light {
    padding: 28px 0 14px !important;
  }

  .footer .container {
    width: calc(100% - 24px);
  }

  .footer .footer-grid {
    gap: 20px;
  }

  .footer .footer-logo {
    width: 102px;
  }

  .footer .footer-grid > div:nth-child(4) {
    padding-top: 16px;
  }

  .footer h4 {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .footer a,
  .footer p {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .footer-socials a {
    width: 33px;
    height: 33px;
  }

  .footer .footer-bottom {
    margin-top: 18px;
    padding-top: 11px;
    font-size: 10.5px;
  }

  .footer .footer-bottom .footer-legal,
  .footer .footer-bottom .footer-legal a {
    font-size: 10.5px;
  }
}
