.site-footer {
    background-color: #f9f5f5;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #333;
    width: 100%;
}

.wave {
    height: 4rem;
    width: 100%;
    background-image: url("../bg/wave.svg");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 4rem;
}

.site-footer .container {
    margin-top: 4rem;
    padding: 0 1rem;
}

.site-footer a {
    transition: opacity 0.2s ease;
}

.site-footer a:hover {
    color: #f02004;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand_logo {
  height: 6rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 40ch;
}

.footer-social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social img { 
    width: 100%; 
    height: 100%;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-col a  {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer-contacts img {
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    opacity: 0.85;
}

.footer-hours dt {
    font-weight: 600;
}

.footer-hours dd {
    margin: 0.5rem 0 1rem 0; 
}

.footer-bottom {
  border-top: 1px dashed #ece0e0;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #808080;
}

#footerCategories {
    gap: 0.3rem;
}

@media (max-width: 880px) {
    .footer-grid { 
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-footer .container {
        margin-top: 3rem;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
