.lbw-local-shop-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(7, 7, 7, 0.82);
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 18px;
}

.lbw-local-shop-overlay.is-visible {
  display: flex;
}

.lbw-local-shop-shell {
  width: min(1120px, 100%);
  height: 100%;
  max-height: 100%;
  background: #121212;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,.42);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  overflow: hidden;
}

.lbw-local-shop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lbw-local-shop-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}

.lbw-local-shop-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

.lbw-local-shop-close {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lbw-local-shop-status {
  font-size: 14px;
  color: rgba(255,255,255,.72);
}

.lbw-local-shop-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.lbw-local-shop-tab {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: #1d1d1d;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.lbw-local-shop-tab.is-active {
  background: #2558ab;
  border-color: rgba(37,88,171,.88);
}

.lbw-local-shop-grid {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.lbw-local-shop-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
}

.lbw-local-shop-card.is-current {
  border-color: rgba(37,88,171,.9);
  box-shadow: 0 0 0 1px rgba(37,88,171,.35) inset;
}

.lbw-local-shop-image-wrap {
  background: #0f0f0f;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lbw-local-shop-image-wrap img,
.lbw-local-shop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lbw-local-shop-image--empty {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lbw-local-shop-card-body {
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.lbw-local-shop-card-mode {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.58);
}

.lbw-local-shop-card-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
}

.lbw-local-shop-card-meta {
  font-size: 13px;
  color: rgba(255,255,255,.72);
}

.lbw-local-shop-card-button {
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  background: #202020;
  color: #fff;
  border-radius: 12px;
  min-height: 38px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lbw-local-shop-card.is-current .lbw-local-shop-card-button {
  background: #2558ab;
  border-color: rgba(37,88,171,.88);
}

.lbw-local-shop-card-button[disabled] {
  opacity: 1;
  cursor: default;
}

.lbw-local-shop-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.12);
  color: rgba(255,255,255,.68);
  text-align: center;
}

@media (max-width: 1180px) {
  .lbw-local-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .lbw-local-shop-overlay {
    padding: 0;
  }

  .lbw-local-shop-shell {
    width: 100%;
    border-radius: 0;
    border: 0;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    grid-template-rows: auto auto auto minmax(0, 1fr);
  }

  .lbw-local-shop-title {
    font-size: 24px;
  }

  .lbw-local-shop-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lbw-local-shop-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .lbw-local-shop-image-wrap {
    aspect-ratio: auto;
    min-height: 96px;
    height: 100%;
  }
}


/* 0.8.69L shop grid card-height fix */
.lbw-local-shop-grid {
  grid-auto-rows: max-content;
  align-items: start;
}

.lbw-local-shop-card {
  height: auto;
  min-height: 0;
  align-self: start;
}

.lbw-local-shop-card-body {
  min-height: max-content;
}
