/* Shared footer. Load after style.css and the page styles. */
.site-footer {
  --footer-ink: #50504c;
  --footer-muted: #68655f;
  --footer-rule: #d9d5ce;
  --footer-wine: #94191e;
  padding: 32px 0 20px;
  border-top: 1px solid var(--footer-rule);
  background: #f0eeea;
  color: var(--footer-ink);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--footer-wine);
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--footer-wine);
  outline-offset: 4px;
}

.site-footer__details {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px clamp(24px, 3.5vw, 48px);
  padding-bottom: 24px;
}

.site-footer__details > * {
  min-width: 0;
}

.site-footer__brand {
  display: block;
  width: 136px;
  max-width: 100%;
}

.site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__details h2 {
  margin: 0 0 8px;
  color: var(--footer-ink);
  font: 500 11px/1.5 var(--sans, sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer__details address {
  font-style: normal;
  overflow-wrap: anywhere;
}

.site-footer__contact a {
  display: table;
  max-width: 100%;
  min-height: 28px;
  padding-block: 2px;
}

.site-footer__hours {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.site-footer__hours div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
}

.site-footer__hours dt,
.site-footer__hours dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer__links,
.site-footer__links nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  min-width: 0;
}

.site-footer__links {
  justify-content: space-between;
  border-top: 1px solid var(--footer-rule);
  padding-top: 6px;
  font-size: 12px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

.site-footer__top {
  gap: 10px;
}

.site-footer__top span {
  color: var(--footer-wine);
  font-size: 18px;
  line-height: 1;
}

.site-footer .site-footer__copyright {
  margin: 4px 0 0;
  color: var(--footer-muted);
  font-size: 11px;
  letter-spacing: .02em;
}

/* Four-column desktop: heading, then two matching information baselines. */
@media (min-width: 1001px) {
  .site-footer__details {
    --footer-detail-line: 28px;
  }

  .site-footer__details h2 {
    line-height: 18px;
    min-height: 18px;
  }

  .site-footer__details address,
  .site-footer__contact a,
  .site-footer__hours div {
    line-height: var(--footer-detail-line);
  }

  .site-footer__contact a {
    display: block;
    width: fit-content;
    min-height: var(--footer-detail-line);
    padding-block: 0;
  }

  .site-footer__brand img {
    /* Match the 18px heading, 8px gap and two 28px information rows. */
    height: calc(18px + 8px + 2 * var(--footer-detail-line));
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left top;
  }
}

@media (max-width: 1000px) {
  .site-footer__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    /* Clear the existing fixed order bar and lobster helper at the page end. */
    padding-bottom: calc(144px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__details {
    --footer-detail-line: 32px;
  }

  .site-footer__details h2 {
    line-height: 18px;
    margin-bottom: 8px;
  }

  .site-footer__details address,
  .site-footer__contact a,
  .site-footer__hours div {
    line-height: var(--footer-detail-line);
  }

  .site-footer__contact a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: var(--footer-detail-line);
    padding-block: 0;
  }

  .site-footer__links {
    padding-inline-end: 0;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-top: 24px;
    text-align: center;
  }

  .site-footer__details {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 20px;
  }

  .site-footer__brand {
    margin-inline: auto;
  }

  .site-footer__contact a {
    justify-content: center;
  }

  .site-footer__hours {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .site-footer__links {
    flex-direction: column;
    align-items: center;
  }

  .site-footer__links nav {
    gap: 0 18px;
    justify-content: center;
  }
}
/* Make the three footer labels easier to scan. */
.site-footer .site-footer__details h2{font-weight:700!important;color:var(--ink);}
