.model-popup-info {
  color: #555;
  cursor: pointer;
  font-family: Helvetica, sans-serif;
  font-size: 12px;
  line-height: 14px;
  margin-top: 7px;
  width: fit-content;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.model-popup-info b,
.model-popup-info strong {
  color: #000;
  font-weight: 400;
  text-decoration: underline;
}
body.template-product .model-popup-info {
  margin-top: 3px;
}
.model-popup {
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  left: 0;
  position: fixed;
  top: 0;
  z-index: 999;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
}
.model-popup,
.model-popup__wrapper {
  height: 100%;
  transition: all 0.4s;
  width: 100%;
}
.model-popup__wrapper {
  background: #fff;
  border-top-left-radius: 15px;
  cursor: auto;
  max-width: 462px;
  overflow-y: auto;
  padding: 15px;
  position: relative;
  transform: translateX(100%);
}
@media screen and (max-width: 767px) {
  .model-popup__wrapper {
    background: #f8f8f8;
    border-top-right-radius: 15px;
    margin-top: auto;
    max-height: 853px;
    max-height: 80%;
    max-width: none;
    overflow: auto;
    padding: 0;
    transform: translateY(100%);
    transition: all 0.4s;
    width: 100%;
  }
}
.model-popup__wrapper-inner {
  background: #f8f8f8;
  border-radius: 18px;
  height: fit-content;
  padding: 10px 10px 32px;
}
.model-popup__wrapper-back,
.model-popup__wrapper-close {
  cursor: pointer;
  height: 24px;
  position: absolute;
  top: 25px;
  width: 24px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.model-popup__wrapper-back svg,
.model-popup__wrapper-close svg {
  height: 100%;
  width: 100%;
}
.model-popup__wrapper-back svg path,
.model-popup__wrapper-close svg path {
  fill: #000;
}
.model-popup__wrapper-close {
  right: 25px;
}
@media screen and (max-width: 767px) {
  .model-popup__wrapper-close {
    right: 11px;
    top: 11px;
  }
}
.model-popup__wrapper-close svg:last-of-type {
  display: none;
}
.model-popup__wrapper-back {
  display: none;
  left: 25px;
}
@media screen and (max-width: 767px) {
  .model-popup__wrapper-back {
    left: 10px;
    top: 10px;
  }
}
.model-popup__title {
  color: #000;
  font-size: 20px;
  line-height: 24px;
  margin: 39px 0 30px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .model-popup__title {
    margin-top: 29px;
  }
}
.model-popup__title.third-js {
  font-size: 18px;
  line-height: 24px;
}
.model-popup__description {
  background: #cad7e0;
  color: #161616;
  font-size: 13px;
  line-height: 12px;
  margin-left: -25px;
  padding: 12px 16px;
  text-align: center;
  width: calc(100% + 50px);
}
@media screen and (max-width: 767px) {
  .model-popup__description {
    margin-left: -10px;
    padding: 12px 22px;
    width: calc(100% + 20px);
  }
}
.model-popup__description strong {
  font-weight: 600;
}
.model-popup__description em {
  font-size: 11px;
  font-style: normal;
}
.model-popup__description:not(.active) {
  display: none;
}
.model-popup__subtitle {
  color: #000;
  font-size: 13px;
  font-weight: 600;
  line-height: 15px;
  margin: 14px 0 9px;
  text-align: center;
}
.model-popup__types {
  align-items: center;
  display: flex;
  gap: 0 4px;
  padding: 0 20px;
  position: relative;
}
.model-popup__types.third-js {
  display: none;
}
.model-popup__types:after {
  background: #000;
  content: "";
  display: block;
  height: 0.5px;
  left: -10px;
  position: absolute;
  top: calc(100% + 12px);
  width: calc(100% + 20px);
}
.model-popup__type-css {
  border: 1px solid #0071e3;
  border-radius: 7px;
  color: #000;
  font-size: 12px;
  line-height: 14px;
  padding: 12px 10px 14px;
  text-align: center;
  width: 100%;
}
.model-popup__type.active {
  border-width: 2px;
}
.model-popup__content {
  color: #000;
  font-size: 16px;
  line-height: 19px;
  margin-top: 57px;
  padding: 0 20px;
}
@media screen and (max-width: 767px) {
  .model-popup__content {
    font-size: 18px;
    line-height: 20px;
  }
}
.model-popup__content:not(.active) {
  display: none;
}
.model-popup__content ol,
.model-popup__content ul {
  display: flex;
  flex-direction: column;
  gap: 25px 0;
  margin: 0;
  padding: 0 0 0 17px;
}
@media screen and (max-width: 767px) {
  .model-popup__content ol,
  .model-popup__content ul {
    gap: 19px 0;
  }
}
.model-popup.second-active .first-js {
  display: none;
}
.model-popup.second-active .second-js {
  display: block;
}
.model-popup__cta {
  color: #686868;
  font-size: 16px;
  line-height: 19px;
  margin: 30px 20px 0;
  text-decoration: underline;
}
.model-popup .third-js {
  display: none;
}
body.show-model-popup {
  overflow: hidden;
}
body.show-model-popup .model-popup {
  opacity: 1 !important;
  visibility: visible !important;
}
body.show-model-popup .model-popup__wrapper {
  transform: translateX(0);
}
@media screen and (max-width: 767px) {
  body.show-model-popup .model-popup__wrapper {
    transform: translateY(0);
  }
}
body.model-popup-2nd-step .model-popup__description:not(.third-js) {
  display: none;
}
body.model-popup-2nd-step .model-popup__wrapper-back {
  display: block;
}
body.model-popup-2nd-step .model-popup__content,
body.model-popup-2nd-step .model-popup__content.third-js:not(.active),
body.model-popup-2nd-step .model-popup__cta,
body.model-popup-2nd-step .model-popup__subtitle,
body.model-popup-2nd-step .model-popup__title:not(.third-js),
body.model-popup-2nd-step .model-popup__types:not(.third-js) {
  display: none;
}
body.model-popup-2nd-step .second-js {
  display: none !important;
}
body.model-popup-2nd-step .model-popup__types.third-js {
  display: flex;
  margin-top: 28px;
}
body.model-popup-2nd-step .model-popup__types.third-js:after {
  content: none;
}
body.model-popup-2nd-step .third-js {
  display: block;
}
body.model-popup-2nd-step .model-popup__content.third-js {
  color: #686868;
  display: flex;
  flex-direction: column;
  gap: 49px 0;
  margin-top: 39px;
}
body.model-popup-2nd-step
  .model-popup.second-active
  .model-popup__content.first.third-js,
body.model-popup-2nd-step .model-popup__content.third-js.second {
  display: none;
}
body.model-popup-2nd-step
  .model-popup.second-active
  .model-popup__content.second.third-js {
  display: flex;
}
body.model-popup-2nd-step .model-popup__wrapper-inner {
  min-height: 617px;
}
.cart-quick-view.show-model-popup {
  overflow: hidden;
}
.cart-quick-view.show-model-popup .model-popup {
  opacity: 1 !important;
  visibility: visible !important;
}
@media screen and (max-width: 767px) {
  .cart-quick-view.show-model-popup .model-popup__wrapper {
    transform: translateY(0);
  }
}
.cart-quick-view.model-popup-2nd-step .model-popup__description:not(.third-js) {
  display: none;
}
.cart-quick-view.model-popup-2nd-step .model-popup__wrapper-back {
  display: block;
}
.cart-quick-view.model-popup-2nd-step .model-popup__content,
.cart-quick-view.model-popup-2nd-step
  .model-popup__content.third-js:not(.active),
.cart-quick-view.model-popup-2nd-step .model-popup__cta,
.cart-quick-view.model-popup-2nd-step .model-popup__subtitle,
.cart-quick-view.model-popup-2nd-step .model-popup__title:not(.third-js),
.cart-quick-view.model-popup-2nd-step .model-popup__types:not(.third-js) {
  display: none;
}
.cart-quick-view.model-popup-2nd-step .second-js {
  display: none !important;
}
.cart-quick-view.model-popup-2nd-step .model-popup__types.third-js {
  display: flex;
  margin-top: 28px;
}
.cart-quick-view.model-popup-2nd-step .model-popup__types.third-js:after {
  content: none;
}
.cart-quick-view.model-popup-2nd-step .third-js {
  display: block;
}
.cart-quick-view.model-popup-2nd-step .model-popup__content.third-js {
  color: #686868;
  display: flex;
  flex-direction: column;
  gap: 49px 0;
  margin-top: 39px;
}
.cart-quick-view.model-popup-2nd-step
  .model-popup.second-active
  .model-popup__content.first.third-js,
.cart-quick-view.model-popup-2nd-step .model-popup__content.third-js.second {
  display: none;
}
.cart-quick-view.model-popup-2nd-step
  .model-popup.second-active
  .model-popup__content.second.third-js {
  display: flex;
}
.cart-quick-view.model-popup-2nd-step .model-popup__wrapper-inner {
  min-height: 617px;
}
