/* Запрос наличия: чипы даты и модалка на карточке. Палитра витрины. */
.avlb-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(96, 74, 61, 0.45);
  z-index: 100000;
}
.avlb-backdrop.is-open {
  display: block;
}
.modal.modal--avlb {
  box-sizing: border-box;
  width: 92%;
  max-width: 420px;
  padding: 0 0 22px;
  overflow: hidden;
  flex-wrap: nowrap;
  align-items: stretch;
  z-index: 100001;
}
.modal--avlb .modal__title {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 20px 48px 16px;
  border-radius: 0;
  background: #f9f7f6;
  color: #604a3d;
  font-size: 22px;
  line-height: 1.25;
}
.modal--avlb .modal__close {
  top: 18px;
  right: 16px;
  width: 28px;
  height: 28px;
  z-index: 2;
}
.modal--avlb .modal__close::before,
.modal--avlb .modal__close::after {
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
}
.modal--avlb .modal__close::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal--avlb .modal__close::after {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal--avlb .modal__close:hover::before {
  transform: translate(-50%, -50%) rotate(-45deg) scale(1.15);
}
.modal--avlb .modal__close:hover::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.15);
}
.modal--avlb .modal__text,
.avlb-form__lead {
  box-sizing: border-box;
  width: auto;
  margin: 0 24px 8px;
  color: #604a3d;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}
.modal--avlb .avlb-city-link,
.modal--avlb .avlb-doc-link,
.avlb-page .avlb-doc-link {
  color: #6ea4c5;
  font-weight: 700;
  text-decoration: none;
}
.modal--avlb .avlb-city-link:hover,
.modal--avlb .avlb-doc-link:hover,
.avlb-page .avlb-doc-link:hover {
  color: #397193;
}
.modal--avlb .modal__form {
  box-sizing: border-box;
  width: auto;
  margin: 8px 24px 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
}
.modal--avlb .modal__input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  cursor: text;
}
.modal--avlb .modal__button.modal__button--submit {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  align-self: stretch;
}
.modal--avlb .avlb-chips {
  justify-content: center;
}
.avlb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.avlb-chip {
  border: 1px solid #e0d8d4;
  background: #fff;
  color: #604a3d;
  border-radius: 20px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}
.avlb-chip.is-on {
  background: #f46244;
  border-color: #f46244;
  color: #fff;
}
.avlb-chip--other {
  position: relative;
}
.avlb-date-other {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}
.avlb-today-note {
  width: 100%;
  margin: 4px 0 0;
  color: #604a3d;
  font-size: 14px;
  line-height: 1.35;
}
.avlb-today-note[hidden],
.avlb-form__error[hidden],
.avlb-form__ok[hidden] {
  display: none;
}
.avlb-form__error {
  color: #cf4124;
  font-size: 14px;
}
.avlb-form__hint {
  color: #a38979;
  font-size: 14px;
  line-height: 1.35;
}
.avlb-page {
  max-width: 520px;
  margin: 0 auto 40px;
  color: #604a3d;
}
.avlb-page__title {
  color: #604a3d;
}
.avlb-page .ordering__input,
.modal--avlb .modal__input {
  width: 100%;
  box-sizing: border-box;
}
.avlb-alt {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0d8d4;
}
.avlb-alt img {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
}
