.pharmacy-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #1c3660;
  border-radius: 6px;
  background: #1c3660;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#pharmacy-dialog {
  box-sizing: border-box;
  width: min(92vw, 480px);
  max-height: 85dvh;
  overflow: auto;
  padding: clamp(16px, 4vw, 32px);
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1c3660;
  box-shadow: 0 16px 55px rgb(0 0 0 / 25%);
}

#pharmacy-dialog::backdrop {
  background: rgb(15 26 47 / 55%);
}

#pharmacy-dialog h2 {
  margin: 16px 0 8px;
  color: inherit;
}

.pharmacy-dialog-close {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.pharmacy-dialog-close button {
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #c9d1e0;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pharmacy-links {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pharmacy-links a {
  display: block;
  padding: 12px;
  border: 1px solid #c9d1e0;
  border-radius: 6px;
  color: inherit;
}

.pharmacy-links a:hover {
  background: #eef3fa;
}

.pharmacy-button:focus-visible,
.pharmacy-dialog-close button:focus-visible,
.pharmacy-links a:focus-visible {
  outline: 2px solid #1c3660;
  outline-offset: 3px;
}
