.main h2 {
  font-family: Inter, serif;
}
.main button {
  min-width: 0;
}

main p, main a, main span, main h1, main h2, main h3, main h4, main h5, main h6 {
  color: #000;
}

.overlay-popup {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, visibility 0.3s;
}

.overlay-popup.active {
  opacity: 1;
  visibility: visible;
}

.side-popup {
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 31rem;
  z-index: 4;
  transform: translateX(105%);
  transition: transform 0.3s ease, visibility 0.3s;
}
@media (max-width: 1800px) {
  .side-popup {
    width: 24rem;
  }
}
@media (max-width: 1400px) {
  .side-popup {
    width: 18rem;
  }
}
@media (max-width: 768px) {
  .side-popup {
    width: 100%;
  }
}
.side-popup__holder {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 30px 0 0 30px;
  background: #fff;
}
@media (max-width: 1800px) {
  .side-popup__holder {
    padding: 0 3.5rem;
  }
}
@media (max-width: 1400px) {
  .side-popup__holder {
    padding: 0 2rem;
  }
}
@media (max-width: 768px) {
  .side-popup__holder {
    border-radius: 0;
  }
}
.side-popup__closer {
  background: none;
  border: none;
  width: 1.2rem;
  aspect-ratio: 1/1;
  position: absolute;
  top: 2rem;
  right: 2rem;
}
.side-popup__title {
  font-family: Inter, serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
@media (max-width: 1400px) {
  .side-popup__title {
    font-size: 1.2rem;
  }
}
.side-popup__text {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 4.5rem;
}
@media (max-width: 1400px) {
  .side-popup__text {
    font-size: 0.8rem;
  }
}
.side-popup__reg {
  color: #fff;
  background: #3D3126;
  border: none;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.4rem;
}
@media (max-width: 1400px) {
  .side-popup__reg {
    font-size: 0.7rem;
  }
}
.side-popup__guest {
  width: 100%;
  color: #3D3126;
  border: 1px solid #3D3126;
  font-weight: 400;
  line-height: 1.2;
  font-size: 1rem;
  padding: 0.75rem;
}
@media (max-width: 1400px) {
  .side-popup__guest {
    font-size: 0.7rem;
  }
}
.side-popup.active {
  visibility: visible;
  transform: translateX(0);
}
.thanks .order__finish {
  grid-column: 1/-1;
  border-radius: 20px;
  box-shadow: 1px 1px 60px 0 rgba(0, 0, 0, 0.04);
  background: #fff;
  padding: 8rem 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 1800px) {
  .thanks .order__finish {
    padding: 6rem 14rem;
  }
}
@media (max-width: 1400px) {
  .thanks .order__finish {
    padding: 5rem 10rem;
  }
}
@media (max-width: 1024px) {
  .thanks .order__finish {
    padding: 5rem;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .thanks .order__finish {
    padding: 7rem 0;
  }
}
.thanks .order__title {
  font-family: Inter, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 142%;
  letter-spacing: -0.02em;
  text-align: center;
}
.thanks .order__title span {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
}
@media (max-width: 1400px) {
  .thanks .order__title {
    font-size: 1.6rem;
  }
}
@media (max-width: 1024px) {
  .thanks .order__title {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .thanks .order__title {
    font-size: 1rem;
  }
}
.thanks .order__info {
  text-align: center;
  line-height: 120%;
  font-size: 1rem;
}
@media (max-width: 1800px) {
  .thanks .order__info {
    padding: 0 3rem;
  }
}
@media (max-width: 1400px) {
  .thanks .order__info {
    font-size: 0.8rem;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .thanks .order__info {
    font-size: 0.7rem;
  }
}
.thanks .order__main-btn {
  color: #000;
  border: none;
  font-size: 1rem;
  padding: 0.7rem 0.5rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.thanks .order__main-btn img {
  height: 1.2rem;
  width: 1.2rem;
}
@media (max-width: 1400px) {
  .thanks .order__main-btn {
    font-size: 0.8rem;
  }
}
@media (max-width: 1024px) {
  .thanks .order__main-btn {
    padding: 0.5rem;
  }
}
@media (max-width: 768px) {
  .thanks .order__main-btn {
    font-size: 0.7rem;
  }
}
.thanks .order__main-btn:hover {
  background: none;
}