/* Keep the homepage header on the same content grid as the hero and sections. */
@media (min-width: 1100px) {
  body:not(.admin-mode, .business-mode):has(#main .hero) .header-inner.wrap {
    width: min(1260px, calc(100% - 96px));
  }
}

@media (1100px <= width <= 1150px) {
  body:not(.admin-mode, .business-mode):has(#main .hero) .header-inner.wrap {
    width: calc(100% - 64px);
  }
}

#main .categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: visible;
}

#main .categories > :is(button, a) {
  flex: 1 1 0;
  justify-content: flex-start;
  gap: 0;
  padding: 8px 2px;
  text-align: center;
}

#main .categories .category-icon {
  margin-bottom: 11px;
}

#main .collection .listing-card {
  display: flex;
  flex-direction: column;
}

#main .collection .card-description {
  flex: 1 0 auto;
  min-height: 0;
}

#main .nearby-home {
  padding-bottom: clamp(24px, 3vw, 44px);
}

#main .journal {
  padding-top: 0;
}

.footer .footer-direct-contact,
.footer .footer-socials {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer .footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}

@media (max-width: 700px) {
  #main .categories > :is(button, a) {
    flex: 0 0 calc((100% - 18px) / 4);
    min-height: 83px;
  }
}

@media (max-width: 600px) {
  #main .collection .listing-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 360px) {
  #main .nearby-carousel-controls {
    gap: 4px;
  }

  #main .nearby-carousel-dash {
    width: 22px;
  }
}
