@import url('../css2');

.orvin-modal,
.orvin-order {
  --rem: 18px;
  min-width: 320px;
}

.orvin-order .container {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
}

.orvin-modal {
  font-family: 'Onest', sans-serif;
}

.body-hidden {
  padding: 0 !important;
}

.orvin-order {
  position: fixed;
  z-index: 9998;
  bottom: 0;
  left: 50%;
  width: 100%;
  min-width: 320px;
  max-width: 1920px;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  -webkit-transform: none;
  -ms-transform: none;
  transform: translateX(-50%);
  color: #303339;
  border-top: 3px solid #ed3237;
  background-color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.orvin-order--none {
  -webkit-transform: translateY(calc(100% - 3px)) translateX(-50%);
  -ms-transform: translateY(calc(100% - 3px)) translateX(-50%);
  transform: translateY(calc(100% - 3px)) translateX(-50%);
}

.orvin-order__btn {
  position: absolute;
  z-index: 2;
  top: -37px;
  left: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  height: 34px;
  cursor: pointer;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: left;
  white-space: nowrap;
  color: #fff;
  background-color: #ed3237;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.orvin-order__btn::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: -10px;
  width: 20px;
  height: 100%;
  content: "";
  -webkit-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  transform: skewX(-20deg);
  background-color: #ed3237;
}

.orvin-order__btn::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -10px;
  width: 20px;
  height: 100%;
  content: "";
  -webkit-transform: skewX(20deg);
  -ms-transform: skewX(20deg);
  transform: skewX(20deg);
  background-color: #ed3237;
}

.orvin-order__arrow {
  position: relative;
  z-index: 1;
  padding: 5px 6px;
  padding-right: 25px;
  padding-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: calc(var(--rem) * 0.7);
}

.orvin-order__arrow::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 12px;
  content: "";
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url("../wp-content/themes/orvin/img/icons/arrow-down-white-1.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.orvin-order--none .orvin-order__arrow::before {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}

.orvin-order__inner {
  padding: 20px 0;
}

.orvin-order__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -ms-flex-align: center;
  gap: var(--rem);
}

.orvin-order__item {
  flex-basis: 30%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.orvin-order__item:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
}

.orvin-order__item:nth-child(2) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.orvin-order__item:last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
}

.orvin-order__panel {
  display: flex;
  align-items: center;
  gap: var(--rem);
}

.orvin-order__price {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.orvin-order__price .currency {
  font-size: 0.8em;
}

.regular-price {
  display: flex;
  align-items: center;
  color: #797979;
  font-size: var(--rem);
  gap: 10px;
}

.regular-price .value {
  text-decoration: line-through;
  line-height: 1;
}

.regular-price .label {
  display: inline-block;
  padding: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background-color: #ed3237;
  font-size: 11px;
}

.regular-price:only-child {
  color: #000;
  font-size: calc(var(--rem) * 1.4);
}

.regular-price:only-child .value {
  text-decoration: none;
}

.regular-price:only-child .currency {
  display: inline-block;
}

.regular-price .currency {
  display: none;
}

.sale-price {
  font-size: calc(var(--rem) * 1.4);
}

.sale-price .value {
  color: #ed3237;
  font-weight: 600;
}

.orvin-order__logo img {
  min-width: 240px;
  max-width: 240px;
  height: auto;
}

.orvin-order__icon {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-box-align: start;
  -ms-flex-align: start;
}

.orvin-order__text {
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ed3237;
  font-size: 0.7em;
}

.orvin-order__contacts {
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.orvin-order__point {
  margin: 0;
  margin-bottom: 5px;
  padding: 0;
  list-style: none;
}

.orvin-order__link {
  color: #303339 !important;
}

.orvin-order__link--phone {
  font-size: 1em;
}

.orvin-order__back {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  padding: 17px 20px;
  padding-right: 48px;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  text-align: left;
  white-space: nowrap;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff !important;
  border-radius: 50px;
  background-color: #303339;
  font-size: 0.7em;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.orvin-order__back:hover {
  background-color: #ed3237;
}

.orvin-order__back::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  content: "";
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url("../wp-content/themes/orvin/img/icons/update-arrow.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.socials {
  display: flex;
  justify-content: center;
  gap: calc(var(--rem) * 0.5);
}

.socials__icon {
  display: block;
  width: calc(var(--rem) * 1.7);
  height: calc(var(--rem) * 1.7);
  transition: background-color 0.4s ease;
  border-radius: 50%;
  background-color: #303339;
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(var(--rem) * 0.8);
}

.socials__icon:hover {
  transition: background-color 0.4s ease;
  background-color: #ed3237;
}

.socials__icon--whatsapp {
  background-color: #25d366;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/social/whatsapp.svg");
}

.socials__icon--telegram {
  background-color: #0088cc;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/social/telegram.svg");
}

.switch-resolution-controls {
  display: flex;
  gap: calc(var(--rem) * 0.7);
}

.switch-resolution-controls__btn {
  display: inline-block;
  padding: calc(var(--rem) * 0.5) var(--rem);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: none;
  transition-timing-function: ease;
  transition-duration: 0.4s;
  transition-property: color, background-color, border-color;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #303339;
  border: 1px solid #ebebeb;
  border-radius: 50px;
  outline: none;
  background-color: #fff;
  background-image: none;
  box-shadow: none;
  font-size: calc(var(--rem) * 0.7);
  line-height: 1.5;
}

.switch-resolution-controls__btn::before,
.switch-resolution-controls__btn::after {
  display: none;
}

.switch-resolution-controls__btn:hover,
.switch-resolution-controls__btn:focus,
.switch-resolution-controls__btn--active {
  transition-timing-function: ease;
  transition-duration: 0.4s;
  transition-property: color, background-color, border-color;
  opacity: 1;
  color: #fff;
  border-color: #ed3237;
  outline: none;
  background-color: #ed3237;
  background-image: none;
  box-shadow: none;
}

.switch-resolution-controls__icon {
  display: block;
  width: var(--rem);
  height: var(--rem);
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.switch-resolution-controls__icon--pc {
  transition: background-image 0.4s ease;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/pc.svg");
}

.switch-resolution-controls__btn:hover .switch-resolution-controls__icon--pc,
.switch-resolution-controls__btn:focus .switch-resolution-controls__icon--pc,
.switch-resolution-controls__btn--active .switch-resolution-controls__icon--pc {
  transition: background-image 0.4s ease;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/pc-white.svg");
}

.switch-resolution-controls__icon--tablet {
  transition: background-image 0.4s ease;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/tablet.svg");
}

.switch-resolution-controls__btn:hover .switch-resolution-controls__icon--tablet,
.switch-resolution-controls__btn:focus .switch-resolution-controls__icon--tablet,
.switch-resolution-controls__btn--active .switch-resolution-controls__icon--tablet {
  transition: background-image 0.4s ease;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/tablet-white.svg");
}

.switch-resolution-controls__icon--mobile {
  transition: background-image 0.4s ease;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/mobile.svg");
}

.switch-resolution-controls__btn:hover .switch-resolution-controls__icon--mobile,
.switch-resolution-controls__btn:focus .switch-resolution-controls__icon--mobile,
.switch-resolution-controls__btn--active .switch-resolution-controls__icon--mobile {
  transition: background-image 0.4s ease;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/mobile-white.svg");
}

.switch-resolution-wrapper {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-bottom: 170px;
  pointer-events: none;
  background-color: #ebebeb;
}

.switch-resolution-wrapper:has(.switch-resolution--pc) {
  background-color: transparent;
}

.switch-resolution {
  width: 0;
  height: 100%;
  margin-top: 10px;
  padding: 10px;
  pointer-events: auto;
  border: none;
  border-radius: 7px;
  background-color: #fff;
}

.switch-resolution--pc {
  display: none;
}

.switch-resolution--tablet {
  width: 768px;
  max-height: 1024px;
}

.switch-resolution--mobile {
  width: 375px;
  max-height: 667px;
}

.orvin-modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition-duration: 0.3s;
  transition-property: opacity, visibility;
  pointer-events: auto;
  opacity: 1;
  backdrop-filter: brightness(0.3);
}

.orvin-modal-contacts {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 96%;
  max-width: 500px;
  padding: calc(var(--rem) * 2);
  text-align: center;
  color: #303339;
  border-radius: 7px;
  background-color: #fff;
  font-weight: 400;
  gap: var(--rem);
}

.orvin-modal-contacts__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: calc(var(--rem) * 0.5);
}

.orvin-modal-contacts__item {
  margin-bottom: 0;
}

.orvin-modal-contacts__title {
  display: block;
  margin-top: 0;
  text-transform: none;
  color: inherit;
  font-family: inherit !important;
  font-size: calc(var(--rem) * 1.5);
  font-weight: inherit;
}

.orvin-modal-contacts__title:not(:last-child) {
  margin-bottom: calc(var(--rem) * 0.5);
}

.orvin-modal-contacts__title::before,
.orvin-modal-contacts__title::after {
  display: none;
}

.orvin-modal-contacts__link,
a.orvin-modal-contacts__link {
  transition: color 0.4s ease;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}

.orvin-modal-contacts__link:hover {
  transition: color 0.4s ease;
  text-decoration: none;
  color: #ed3237;
}

.orvin-modal-contacts__link--phone,
a.orvin-modal-contacts__link--phone {
  font-size: var(--rem);
  font-weight: 500;
}

.orvin-order__link--phone {
  font-size: var(--rem);
}

.orvin-modal-contacts__close,
.orvin-modal-contacts__close:hover,
.orvin-modal-contacts__close:focus {
  position: absolute;
  z-index: 1;
  top: var(--rem);
  right: var(--rem);
  display: block;
  width: var(--rem);
  height: var(--rem);
  padding: 0;
  opacity: 0.5;
  border: none;
  outline: none;
  background-color: transparent;
  background-image: url("../wp-content/themes/orvin/img/new-site/icons/close-black.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.orvin-order__contacts,
.orvin-order__contacts:hover,
.orvin-order__contacts:focus {
  display: block;
  padding: calc(var(--rem) *0.9) calc(var(--rem) * 1.3);
  cursor: pointer;
  transition: background-color 0.4s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 1;
  color: #fff;
  border: none;
  border-radius: calc(var(--rem) * 5);
  outline: none;
  background-color: #ed3237;
  background-image: none;
  box-shadow: none;
  font-size: calc(var(--rem) * 0.7);
}

.orvin-modal-contacts__pic {
  margin-bottom: var(--rem);
}

.orvin-modal-contacts__img {
  display: block;
  width: 100px;
  height: 100%;
  margin: 0 auto;
  border-radius: 50%;
}

.orvin-modal-contacts__director {
  font-size: calc(var(--rem) * 1.2);
}

.orvin-modal-contacts__sub {
  margin-bottom: var(--rem);
  color: #797979;
  font-size: calc(var(--rem) * 0.8);
}

.orvin-modal-contacts__text {
  color: #797979;
}

:root:has(.switch-resolution--tablet, .switch-resolution--mobile) {
  overflow-y: hidden;
}

.display-none {
  visibility: hidden;
  transition-duration: 0.3s;
  transition-property: opacity, visibility;
  pointer-events: none;
  opacity: 0;
}

.no-scroll {
  scrollbar-width: thin;
}

@media (max-width: 1199px) {
  .regular-price {
    font-size: calc(var(--rem) * 0.9);
  }

  .sale-price {
    font-size: calc(var(--rem) * 1.2);
  }
}

@media (max-width: 991px) {
  .switch-resolution-controls {
    display: none;
  }

  .orvin-order__item {
    flex-basis: 45%;
  }

  .orvin-modal,
  .orvin-order {
    --rem: 16px;
  }
}

@media (max-width: 767px) {
  .orvin-order {
    font-size: 16px;
  }

  .orvin-order__list {
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    gap: calc(var(--rem) * 0.5);
  }

  .orvin-order__panel {
    flex-direction: column;
    gap: calc(var(--rem) * 0.5);
  }

  .orvin-order__item {
    flex-basis: 100%;
  }

  .orvin-order__item:first-child {
    justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
  }

  .orvin-order__item:last-child {
    justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
  }

  .orvin-order__item:nth-child(2) {
    margin: 0;
  }

  .orvin-order__icon {
    align-items: center;
    padding: 0;
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }

  .orvin-order__icon::before {
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .orvin-order__logo img {
    min-width: 200px;
    max-width: 200px;
  }
}

@media (max-width: 600px) {

  .orvin-modal,
  .orvin-order {
    --rem: 14px;
  }
}