.customer-contact {
  --contact-reserved: 0px;
  position: fixed;
  z-index: 40;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: max(calc(1rem + env(safe-area-inset-bottom, 0px)), calc(var(--contact-reserved) + .75rem));
  font: 500 .9375rem/1.45 "Be Vietnam Pro", sans-serif;
  color: var(--ink);
}
.customer-contact-trigger {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--action);
  border-radius: 50%;
  background: var(--action);
  color: var(--action-ink);
  box-shadow: 0 5px 24px #160d0a47;
  cursor: pointer;
}
.customer-contact-trigger:hover, .customer-contact-trigger[aria-expanded="true"] {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--control);
}
.customer-contact-icon {
  position: relative;
  box-sizing: border-box;
  width: 23px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1.6px solid currentColor;
  border-radius: 6px;
}
.customer-contact-icon::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 4px;
  bottom: -4px;
  background: var(--action);
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: skewY(-42deg);
}
.customer-contact-trigger:is(:hover,[aria-expanded="true"]) .customer-contact-icon::before { background: var(--surface); }
.customer-contact-icon::after {
  content: "";
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -5px 0 currentColor, 5px 0 currentColor;
}
.customer-contact-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .6rem);
  display: grid;
  gap: .4rem;
  width: min(16.25rem, calc(100vw - 2.5rem));
  max-height: calc(100dvh - var(--contact-reserved) - 6rem);
  overflow: auto;
  padding: .8rem;
  border: 1px solid var(--control);
  border-radius: .7rem;
  background: var(--card);
  box-shadow: 0 8px 30px #160d0a38;
}
.customer-contact-panel > strong { padding: .25rem .55rem; font-weight: 600; }
.customer-contact-panel > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: .45rem .55rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
}
.customer-contact-panel > a:hover { text-decoration: underline; text-underline-offset: .25em; }
.customer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  color: var(--ink);
}
.customer-social > a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.customer-social > a:hover { background: var(--action); color: var(--action-ink); }
.customer-social-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: var(--brand-icon) center / contain no-repeat;
}
.customer-social-icon--facebook { --brand-icon: url("/icons/facebook.svg"); }
.customer-social-icon--grab { --brand-icon: url("/icons/grab.svg"); width: 32px; }
@media(max-width: 680px) {
  .home .home-footer-bar, .shop-page .restaurant-footer-bottom, .booking-page .footer-bottom {
    padding-inline-end: 3.5rem;
    flex-wrap: wrap;
    column-gap: 1rem;
  }
}
