@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Light.otf") format("opentype");
}
@font-face {
  font-family: GilroyBold;
  src: url("Gilroy-Bold.ttf") format("truetype");
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: Gilroy, sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin: auto;
}
body > img,
body > section {
  width: 320px;
  margin: auto;
  display: block;
  position: relative;
}

.first-img {
  width: 320px;
  max-width: 100%;
}

.button {
  line-height: 40px;
  font-family: GilroyBold, sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px #3326b6, 0 10px 25px rgba(70, 144, 218, 0.35);
  background: #4636e5;
  border-radius: 5px;
  width: 158px;
  text-align: center;
  color: white;
}
.button:active {
  box-shadow: 0 1px #3326b6;
  transform: translateY(4px);
}
.button-wrapper {
  box-sizing: border-box;
  padding: 0 27px 32px;
}
.button-wrapper .button {
  width: 100%;
}
.sub-button {
  font-size: 10px;
  line-height: 13px;
  margin-top: 5px;
  width: 158px;
  text-align: center;
}
.first-button-section {
  position: relative;
  top: -350px;
  z-index: 10;
  padding-left: 28px;
  box-sizing: border-box;
  margin-bottom: -58px;
}
#hamburger {
  position: absolute;
  top: 8px;
  left: 32px;
  cursor: pointer;
}
.block-title {
  font-family: GilroyBold, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #4636e5;
  margin-top: 11px;
  margin-left: 29px;
}
.black-title {
  color: #272727;
}
.second-p {
  margin-top: 12px;
  padding-left: 29px;
  padding-right: 29px;
}
.title-line {
  height: 2px;
  background-color: #ef8b2d;
  width: 110px;
  margin-top: 50px;
}
.gallery {
  box-sizing: border-box;
  padding-left: 30px;
  padding-bottom: 30px;
}
.gallery img {
  width: 260px;
  margin-top: 20px;
}
.dots {
  width: 65px;
  position: absolute;
  bottom: 0;
  left: 4px;
}
.block-subtitle {
  line-height: 17px;
  margin-left: 29px;
}
.gift-img {
  width: 320px;
  margin-top: 15px;
  margin-bottom: -3px;
}
.model-screen {
  overflow: auto;
  padding-bottom: 24px;
}
.arrow-left {
  margin-left: 30px;
  cursor: pointer;
}
.arrow-right {
  transform: rotate(180deg);
  margin-left: 5px;
  cursor: pointer;
}
.specs {
  padding-left: 27px;
  padding-right: 27px;
  margin-top: 24px;
  font-size: 14px;
}
td {
  padding: 0;
  vertical-align: text-top;
}
.specs tr td:first-child {
  width: 119px;
  font-family: GilroyBold, sans-serif;
  font-weight: 500;
}

.hl {
  width: 260px;
  margin: 16px 30px;
  height: 1px;
  background: #e3eaff;
}
.selector {
  width: 260px;
  margin-left: 30px;
  margin-top: 9px;
}
.selector > div {
  line-height: 23px;
  display: inline-block;
  padding: 0 7px;
  border-radius: 12px;
  border: 1px solid #594be5;
  margin-bottom: 5px;
  margin-right: 5px;
  color: #272727;
}
.selector > div.active {
  background: #594be5;
  color: white;
  border-radius: 0;
}
.color-selector > div {
  border: 0;
  font-family: GilroyBold, sans-serif;
  font-weight: 400;
}
.buy-form {
  padding-top: 16px;
  padding-bottom: 32px;
  background: #594be5;
  overflow: auto;
}
.buy-form .block-title {
  color: white;
}
.buy-form input {
  margin-top: 12px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 5px;
  color: white;
  width: 260px;
  height: 36px;
  font-size: 13px;
  margin-left: 30px;
  box-sizing: border-box;
  padding: 0 12px;
  font-family: GilroyBold, sans-serif;
  font-weight: 500;
}
.buy-button {
  line-height: 40px;
  font-family: GilroyBold, sans-serif;
  font-style: normal;
  font-weight: 500;
  box-shadow: 0 3px #b0cde9, 0 10px 25px rgba(70, 144, 218, 0.35);
  background: white;
  border-radius: 5px;
  width: 260px;
  text-align: center;
  margin-left: 30px;
  margin-top: 18px;
  color: #202b4b;
  border: none;
}
.sub-buy-button {
  color: white;
  line-height: 34px;
  margin-bottom: 16px;
  text-align: center;
}
.buy-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}
.about {
  position: relative;
  background-color: #f3f3f3;
  overflow: hidden;
  font-weight: 500;
  padding-bottom: 20px;
}
.about-img {
  width: 260px;
  display: block;
  margin-left: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.about-dots {
  width: 68px;
  position: absolute;
  right: -14px;
  bottom: 170px;
}
.slider {
  padding: 0 30px;
}
.slider-dots {
  position: absolute;
  width: 49px;
  left: 0;
  top: 90px;
  z-index: -1;
}
.history {
  background-color: #ef8b2d;
  color: white;
  padding: 10px 30px;
  box-sizing: border-box;
  font-size: 12px;
}
.pre-reviews {
  height: 50px;
  background-color: #f3f3f3;
}
.reviews-wrapper {
  margin-left: 30px;
  margin-top: 16px;
  margin-bottom: 30px;
}
.reviews img {
  width: 126px;
  margin-right: 7px;
  display: inline-block;
}
.last-img {
  margin-top: -30px;
  max-width: 100%;
}
.last-button-section {
  top: -100px;
}
.footer {
  padding: 30px;
  font-size: 9px;
  line-height: 16px;
  background-color: #f3f3f3;
  box-sizing: border-box;
}
.zoomed {
  position: fixed;
  z-index: 99999;
  background: white;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.zoomed img {
  width: auto !important;
  height: auto;
  display: block;
  max-width: 100vw;
  max-height: 100vh;
}
.hidden {
  display: none !important;
}
.pswp__counter {
  display: none !important;
}

#formError,
#orderNotification {
  position: fixed;
  top: 10px;
  right: 10px;
  border-radius: 5px;
  background-color: brown;
  width: 270px;
  padding: 10px;
  color: white;
  font-family: "Montserrat", sans-serif;
  visibility: hidden;
  z-index: 100;
}

#orderNotification {
  background-color: #594be5;
}

.formErrorClose,
.orderNotificationClose {
  background-color: transparent;
  color: inherit;
  border: none;
  z-index: 99;
  float: right;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  outline: none;
}

.formErrorMessage,
.orderNotificationMessage {
  font-weight: 500;
  font-size: 12px;
}

#formError.show,
#orderNotification.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#formError .formErrorMessage p {
  margin: 0;
  display: block;
}

@-webkit-keyframes fadein {
  from {
    top: 30px;
    opacity: 0;
  }

  to {
    top: 10px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    top: 30px;
    opacity: 0;
  }

  to {
    top: 10px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    top: 10px;
    opacity: 1;
  }

  to {
    top: 30px;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    top: 10px;
    opacity: 1;
  }

  to {
    top: 30px;
    opacity: 0;
  }
}

#fullscreen-menu {
  padding-top: 16px;
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
#fullscreen-menu .close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 20px;
}
#fullscreen-menu a {
  text-decoration: none;
  color: inherit;
}

#buy-form {
  padding-top: 16px;
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}
#buy-form .close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 20px;
}
#buy-form .buy-form {
  margin-top: 32px;
  height: min-content;
}
#buy-form-image {
  margin: auto;
  max-width: 100%;
}
