/* Footer uses existing cart, favorites and dialog actions. */
.footer-payment {
  max-width: 460px;
  margin: 24px 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  color: #204e39;
}
.footer-payment p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-payment p span {
  white-space: nowrap;
}
.footer-payment a,
.footer-payment img {
  display: block;
  width: 100%;
}
.footer-payment img {
  height: auto;
}
.site-footer {
  --footer-muted: #c9d4bd;
  color: #fff9ef;
  background: var(--green);
  padding: 48px 0 24px;
  border-top: 4px solid #c5b47d;
}
.footer-intro {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 36px;
  border-bottom: 1px solid #ffffff26;
}
.footer-logo {
  display: inline-flex;
  flex-shrink: 0;
  padding: 10px;
  border-radius: 24px;
  background: #fff9ef;
}
.footer-logo img {
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.footer-greeting {
  flex: 1;
}
.footer-eyebrow {
  margin: 0 0 12px;
  color: #d4c694;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.17em;
}
.footer-intro h2 {
  margin: 0;
  color: inherit;
  font: 400 clamp(30px, 3vw, 42px) / 1.12 var(--serif);
  letter-spacing: -0.035em;
}
.footer-intro h2 em {
  color: #c3d69f;
  font-weight: 400;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 12px;
}
.footer-top > [data-icon] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff4d;
  border-radius: 50%;
  transform: rotate(-90deg);
}
.footer-main {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1.2fr 1.1fr;
  gap: clamp(20px, 3vw, 48px);
  padding-block: 36px;
}
.footer-main > * {
  min-width: 0;
}
.footer-main h3 {
  margin: 0 0 18px;
  color: #fff9ef;
  font: 600 16px/1.5 var(--sans, sans-serif);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a,
.footer-links button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: fit-content;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--footer-muted);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.footer-main p,
.footer-main address {
  margin: 12px 0 18px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.7;
  font-style: normal;
}
.footer-main address {
  margin-top: 0;
  font-size: 14px;
}
.footer-main address strong {
  color: #fff9ef;
  font-weight: 500;
}
.footer-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ffffff26;
  background: #ffffff09;
  font-size: 12px;
}
.footer-hours strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.footer-main .footer-note {
  font-size: 12px;
  margin: 6px 0 8px;
}
.footer-phone {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 550;
  white-space: nowrap;
}
.footer-email {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.footer-action,
.footer-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: fit-content;
  min-height: 46px;
  font-size: 13px;
  font-weight: 600;
}
.footer-action {
  padding: 10px 18px;
  border-radius: 30px;
  background: #fff9ef;
  color: var(--green);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 18px;
  border-top: 1px solid #ffffff26;
  color: var(--footer-muted);
  font-size: 11px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.footer-test {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.footer-test > span {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c3d69f;
}
.site-footer :is(a, button):focus-visible {
  outline: 2px solid #d8eeae;
  outline-offset: 4px;
}
body.has-cart-dock .site-footer {
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}
@media (hover: hover) {
  .site-footer :is(a, button):hover {
    color: #d8eeae;
  }
  .site-footer .footer-action:hover {
    color: var(--green);
    background: #e3edcd;
  }
}
@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    padding-top: 28px;
  }
  .footer-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding-bottom: 26px;
  }
  .footer-logo {
    padding: 7px;
    border-radius: 18px;
  }
  .footer-logo img {
    width: 64px;
    height: 64px;
  }
  .footer-eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .footer-intro h2 {
    font-size: 29px;
  }
  .footer-greeting {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .footer-top {
    grid-row: 1;
    grid-column: 2;
  }
  .footer-logo {
    justify-self: start;
  }
  .footer-top > span:last-child {
    display: none;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    padding-block: 28px;
  }
  .footer-main h3 {
    margin-bottom: 14px;
    font-size: 17px;
  }
  .footer-links a,
  .footer-links button {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    line-height: 1.5;
  }
  .footer-contact,
  .footer-visit {
    padding-top: 24px;
    border-top: 1px solid #ffffff26;
  }
  .footer-main p,
  .footer-main address,
  .footer-email {
    font-size: 16px;
    line-height: 1.6;
  }
  .footer-phone {
    font-size: 16px;
  }
  .footer-email {
    max-width: 100%;
  }
  .footer-hours {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 15px;
    line-height: 1.6;
  }
  .footer-main .footer-note {
    font-size: 14px;
  }
  .footer-action,
  .footer-route {
    font-size: 14px;
    gap: 8px;
  }
  .footer-action {
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
  }
  .footer-action > [data-icon] {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Preserve readable text on the narrowest screens and at increased zoom. */
@media (max-width: 359px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Stable cells keep the slide tied to scroll position, without trigger jumps. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .footer-slot {
      view-timeline-name: --footer-entry;
      view-timeline-axis: block;
    }
    .footer-slot > section {
      --footer-slide: -32px;
      animation: footer-entry 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
      animation-timeline: --footer-entry;
      animation-range: entry 0% entry 85%;
    }
    .footer-slot > section:focus-within {
      animation: none;
    }
    .footer-slot.motion-prepared > section {
      will-change: transform;
    }
  }
  @media (prefers-reduced-motion: no-preference) and (max-width: 600px) {
    .footer-slot > section {
      --footer-slide: -14px;
    }
  }
}
@keyframes footer-entry {
  from {
    transform: translateX(var(--footer-slide));
  }
  to {
    transform: translateX(0);
  }
}
