.sa-modal-open {
  overflow: hidden;
}

.sa-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 9998;
}
.sa-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sa-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 9999;
  padding: 20px;
}
.sa-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.sa-modal__dialog {
  width: 100%;
  max-width: 680px;
  background: #fff;
  padding: 44px 34px 34px;
  box-sizing: border-box;
  position: relative;
  min-height: 380px;
}

.sa-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 15px;
}
.sa-modal__title {
  color: #1e1e1e;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  text-transform: uppercase;
}
.sa-modal__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.sa-divider {
  display: none;
  height: 1px;
  background: #eee;
  margin: 20px 0;
}
.text_error_select_option {
  margin-top: 7px;
  color: red;
}
.sa-product {
  display: flex;
  gap: 13px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #d9d9d9;
}
.sa-product__img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.sa-product__name {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
}
.sa-product__price {
  margin-top: 7px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}
.sa-no-stock {
  padding: 8px 14px 8px 14px;
  display: inline-block;
  background-color: #fffaf6;
  border: 1px solid #f57c27;
}
.sa-sizes {
  margin-top: 24px;
  margin-bottom: 57px;
}
.sa-sizes__label {
  line-height: 1.3;
  margin-bottom: 7px;
}
.sa-shop {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  flex-direction: row;
}
.sa-shop__address {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 11px;
}
.sa-shop__schedule {
  margin-bottom: 11px;
  color: #737373;
  font-size: 12px;
}
.sa-shop__phone {
  text-decoration: underline;
}
.sa-shop__top {
  display: flex;
  justify-content: space-between;
}
.sa-modal__footer {
  margin-top: 25px;
}
.sa-modal__footer--inside {
  margin-top: 15px;
}
.sa-sizes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.sa-sizes__list button {
  padding: 9px;
  border: 1px solid #eae4e0;
  display: flex;
  background: #fff;
  font-size: 14px;
  line-height: 1.3;
  color: #1e1e1e;
  transition: var(--transition-all);
}
.sa-sizes__list button:hover,
button.sa-size.is-active {
  border: 1px solid #000000;
  background: #000000;
  color: #fff;
}
.sa-btn {
  width: 100%;
  height: 45px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
/*.sa-success__icon img{
    width: 40px;
    height: 52px;
}*/
.item-local {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}
.sa-btn--primary {
  background: #1e1e1e;
  color: #fff;
}
.ico-local {
  margin-right: 13px;
}
.content-local {
  width: 100%;
}
.sa-shop__right a {
  font-size: 16px;
  line-height: 1.3;
  text-decoration: underline !important;
}
.sa-shop__map a {
  color: #000;
  text-decoration: underline !important;
  font-size: 12px;
}
.sa-hint {
  color: #000000;
  margin-bottom: 55px;
  max-width: 410px;
  line-height: 1.4;
  font-weight: 300;
}
button.js-sa-go-reserve {
  height: 45px;
  background: #1e1e1e;
  font-size: 14px;
  line-height: 1.3;
}
.sa-row {
  display: flex;
  gap: 30px;
}
.sa-col {
  flex: 1;
}
.sa-label {
  display: block;
  font-size: 12px;
  color: #1e1e1e;
}
.sa-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dddddd;
  outline: none;
  height: 43px;
  font-size: 16px;
  line-height: 1.3;
}

.sa-error {
  color: #d00;
  font-size: 12px;
  margin-top: 6px;
  min-height: 14px;
}
.sa-error--warning {
  margin-top: 12px;
}

.sa-loading {
  padding: 60px 20px;
  text-align: center;
  color: #666;
}
.sa-error-block {
  padding: 30px;
  color: #d00;
}

.sa-success {
  text-align: center;
  padding: 10px 20px 18px 20px;
}
.sa-success__icon {
  font-size: 34px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.sa-success__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #1e1e1e;
}
.sa-success__text {
  margin: 0 auto;
  max-width: 272px;
  width: 100%;
  color: #000000;
  line-height: 1.4;
  text-align: center;
}
.sa-shop__mapbox {
  margin-top: 10px;
}
.sa-map-iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}
.sa-col input::placeholder,
.sa-col input::-webkit-input-placeholder,
.sa-col input:-ms-input-placeholder {
  color: #a3a0a0;
  opacity: 1;
}
@media (max-width: 768px) {
  .sa-modal__dialog {
    padding: 38px 25px 25px 25px;
  }
  .item-local {
    flex-direction: column;
    gap: 12px;
  }
  .sa-product {
    border-bottom: 0;
  }
  .sa-modal__title {
    font-size: 20px;
  }
  .sa-sizes {
    margin-top: 13px;
    margin-bottom: 45px;
  }
  .sa-divider {
    display: none;
  }
  .sa-shop__map {
    margin-top: 23px;
  }
  .sa-row {
    flex-direction: column;
    gap: 15px;
  }
  .sa-hint {
    margin: 29px 0 29px;
  }
  .js-sa-form .sa-modal__footer--inside {
    margin-top: 7px;
  }
}
