@import './input.css';

@import './alert.css';

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: row-reverse;
  width: 100vw;
  height: 100vh;
  /* background-color: #ccc; */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 16px;
  font-family: 'Proxima-sb', sans-serif;
  color: #262626;
}

.help_text {
  display: none;
  position: absolute;
  z-index: 99;
  color: #fff;
  padding: 10px;
  background-color: #262626;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 5px;
  word-wrap: break-word;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
}

button {
  border: none;
}

.btn {
  font-size: 16px;
  cursor: pointer;
  color: #262626;
  outline: none;
}

.app {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
}

.menu {
  display: block;
  position: relative;
  flex-direction: column;
  min-width: 400px;
  max-width: 400px;
  padding: 20px 25px;
  background-color: #fff;
  /* box-shadow: inset 1px 0px 5px 0px #464646; */
  border-radius: 15px 0 0 15px;
  overflow: hidden;
  /* background-color: blue; */
}

.top {
  position: relative;
  display: flex;
  justify-content: space-around;
  box-shadow: 1px 14px 15px 9px #fff;
  z-index: 1;
  /* flex-direction: column; */
}

.arm,
.back,
.pouf {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.content {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay,
.menu_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 990;
}

.popup_specification,
.popup_order,
.popup_popular,
.popup_cleaning,
.spec_order {
  display: flex;
  position: absolute;
  flex-direction: column;
  width: 800px;
  /* transition: opacity ease-in .1s; */
  top: -590%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 40px;
  background-color: #fff;
  /* transition: top ease-in .1s; */
  border-radius: 5px;
}

.popup_specification,
.popup_order,
.popup_cleaning,
.spec_order {
  max-width: 420px;
}

.popup_specification__title,
.popup_order__title,
.popup_cleaning__title,
.spec_order__title {
  text-align: center;
  font-family: 'Proxima-b';
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  /* margin: 15px 0 20px; */
}

.popup_order__title {
  margin-bottom: 30px;
}

.popup_specification__subtitle,
.popup_cleaning__subtitle,
.spec_order__subtitle {
  text-align: center;
  line-height: 1.5;
  margin-bottom: 35px;
}

.spec_order__subtitle {
  font-size: 14px;
  margin-bottom: 30px;
}

.brn_group {
  display: flex;
  justify-content: center;
}

.popup_popular {
  padding: 30px;
  text-align: center;
}

.popup_popular__title {
  font-family: 'Proxima-b';
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 8px;
}

.popup_popular__suptitle {
  line-height: 150%;
  margin-bottom: 15px;
}

.popup_popular__list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.popup_popular__item {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 165px;
  height: 120px;
  padding: 20px;
  margin: 10px;
  /* background-color: #ccc; */
  border: 1px solid #D9D9D9;
  cursor: pointer;
  border-radius: 5px;
}

.popup_popular__item:hover {
  border: 1px solid #bdbdbd;
}

.popup_popular__item_b {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 350px;
  font-size: 14px;
}

.popular__img {
  pointer-events: none;
  width: 190px;
  /* height: 120px; */
}

.popup_popular__info {
  position: absolute;
  background-color: #262626;
  font-size: 12px;
  border-radius: 0 5px 0 4px;
  padding: 3px 10px;
  color: #fff;
  left: 0;
  bottom: 0;
  pointer-events: none;
}

.plus_w {
  pointer-events: none;
}

.plus_b {
  pointer-events: none;
  margin-bottom: 10px;
}

.popup_popular__item img {
  pointer-events: none;
}

.form {
  display: flex;
  flex-direction: column;
}

.form span {
  font-size: 12px;
}

label {
  display: flex;
  cursor: pointer;
}

label input {
  margin-right: 10px;
}

.open {
  display: flex;
  /* transition: all ease-in .2s; */
}

.show {
  /* display: flex; */
  top: 50%;
  /* transition: top ease-in .1s; */
  /* transition: all ease-in .2s; */
}

.top_bar {
  position: absolute;
  top: 40px;
  left: 40px;
  /* background-color: rgb(156, 87, 87); */
}

.top_bar {
  display: flex;
  align-items: center;
}

.home {
  text-decoration: none;
  font-size: 0;
}

.home img {
  margin-left: -4px;
}

.home:hover .help_text {
  display: flex;
  bottom: 40px;
}

.logo_text {
  line-height: 1.5;
  font-size: 14px;
  color: #262626;
  width: 190px;
  margin-left: 25px;
}

.logo {
  position: absolute;
  left: 50%;
  top: 40px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.midle_bar {
  display: flex;
  flex-direction: column;
  position: absolute;
  padding: 20px 20px 20px 40px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
}

.bottom_bar {
  display: flex;
  /* padding: 20px; */
  position: absolute;
  bottom: 40px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
}

.btn {
  margin: 10px 0;
}

#option {
  display: flex;
  padding: 5px 8px;
  background-color: #fff;
  position: absolute;
  border-radius: 5px;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
}

.btn-icon {
  display: flex;
  width: 30px;
  height: 30px;
  margin: 5px;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
}

#twist {
  background-image: url(../images/twist.svg);
  /* background-repeat: no-repeat; */
}

#copy {
  background-image: url(../images/copy.svg);
  /* background-repeat: no-repeat; */
}

#destroy {
  background-image: url(../images/destroy.svg);
  /* background-repeat: no-repeat; */
}

.btn-icon img {
  height: 100%;
}

/*select*/

.custom_select {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #F5F5F5;
  width: 350px;
  margin: 5px 0;
  border-radius: 5px;
  /* border: 1px solid #464646; */
}

.custom_select__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
  /* background-color: #fff; */
  border-bottom: 1px solid transparent;
  padding: 8px 15px 8px 20px;
  transition: border-bottom .2s;
  cursor: pointer;
  /* border-radius: 5px; */
}

.custom_select_show {
  border-radius: 5px 5px 0 0;
}

.custom_select_show  .custom_select__button {
  border-bottom: 1px solid #D9D9D9;
}

/* .custom_select__dropdown {
    display: flex;
    flex-direction: column;
    height: 0;
    max-height: 290px;
    transition: height ease-in .2s;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
} */

.custom_select__dropdown {
  max-height: 290px;
  overflow-y: auto;
  direction: ltr;
  scrollbar-color: #d4aa70 #e4e4e4;
  scrollbar-width: thin;
  transition: height .2s;
  /* border-radius: 5px; */
  /* margin: 10px; */
}

.custom_select__dropdown::-webkit-scrollbar {
  width: 6px;
}

.custom_select__dropdown::-webkit-scrollbar-track {
  background-color: #e4e4e4;
  border-radius: 0 0 100px 100px;
  margin-left: -50px;
}

.custom_select__dropdown::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background-color: #262626;
  box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
}

.custom_select__btn {
  display: flex;
  align-items: center;
  /* border: 1px solid red; */
  background-color: #F5F5F5;
  margin: 10px 0;
  padding: 0px 20px;
  cursor: pointer;
}

.select__btn_img {
  width: 80px;
  height: 60px;
  margin-right: 10px;
  /* pointer-events: none; */
  border-radius: 5px;
  background-position: center center;
  background-size: cover;
}

.pouf_1 {
  background-image: url(../images/poufs/745x670.png);
}

.pouf_2 {
  background-image: url(../images/poufs/745x940.png);
}

.pouf_3 {
  background-image: url(../images/poufs/1365x940.png);
}

.pouf_4 {
  background-image: url(../images/poufs/1600x940.png);
}

.pouf_5 {
  background-image: url(../images/poufs/745x1030.png);
}

.pouf_6 {
  background-image: url(../images/poufs/1030x1030.png);
}

.pouf_7 {
  background-image: url(../images/poufs/745x1140.png);
}

.pouf_8 {
  background-image: url(../images/poufs/745x1240.png);
}

.back_1 {
  background-image: url(../images/backs/670x285.png);
}

.back_2 {
  background-image: url(../images/backs/285x940.png);
}

.back_3 {
  background-image: url(../images/backs/285x1030.png);
}

.back_4 {
  background-image: url(../images/backs/285x1140.png);
}

.back_5 {
  background-image: url(../images/backs/285x1240.png);
}

.back_6 {
  background-image: url(../images/backs/285x1600.png);
}

.back_7 {
  background-image: url(../images/backs/285x1880.png);
}


.arm_1 {
  background-image: url(../images/arms/285x670.png);
}

.arm_2 {
  background-image: url(../images/arms/285x940.png);
}

.arm_3 {
  background-image: url(../images/arms/285x1030.png);
}

.arm_4 {
  background-image: url(../images/arms/285x1140.png);
}

.arm_5 {
  background-image: url(../images/arms/285x1240.png);
}

.arm_6 {
  background-image: url(../images/arms/260x1030.png);
}

.arm_7 {
  background-image: url(../images/arms/460x1030.png);
}

.arm_8 {
  background-image: url(../images/arms/460x1240.png);
}

.custom_select__plug {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  width: 80px;
  height: 60px;
  margin-right: 10px;
  pointer-events: none;
  border-radius: 5px;
}

/* tabs */

.custom_tabs {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  margin: 20px 0;
  /* border-bottom: 1px solid #464646; */
}

.custom_tabs__button {
  display: flex;
  align-items: center;
  position: relative;
  /* background-color: #fff; */
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  transition: border-bottom .2s;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Proxima-b';
  font-weight: bold;
}

.ca {
  cursor: auto;
  padding-bottom: 30px;
}

.custom_tabs__dropdown {
  display: flex;
  flex-direction: column;
  height: 0;
  /* max-height: 120px; */
  transition: height .2s;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.custom_tabs__dropdown::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.wrap {
  display: flex;
  flex-direction: column;
}

.custom_tabs__btn {
  display: flex;
  align-items: center;
  /* border: 1px solid red; */
  background-color: #fff;
  padding: 5px 10px;
  cursor: pointer;
}

.custom_tabs__btn img {
  margin-right: 10px;
}

.btn_new {
  position: relative;
  display: flex;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
  background-color: #4D4D4D;
  border-radius: 5px;
  border: 0;
}

.btn_new:hover {
  background-color: #262626;
}

.btn_new:hover .help_text {
  display: flex;
  width: 140px;
  top: 0;
  left: 55px;
}

.btn_popular {
  font-size: 16px;
  margin-left: 15px;
  width: 290px;
  height: 45px;
  border: 0;
  background-color: #E5E5E5;
  border-radius: 5px;
}

.btn_popular:hover {
  background-color: #dadada;
}

.color_prev {
  margin-left: auto;
  margin-right: 15px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  /* border: 1px solid #262626; */
  pointer-events: none;
  transition: opacity .2s;
}

.cloth_color__title,
.cloth_type__title {
  margin-bottom: 10px;
}

.cloth_type__list,
.cloth_color__list {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  margin-left: -4px;
}

.cloth_type__item,
.cloth_color__item {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  background-color: #fff;
  border-radius: 3px;
  margin: 4px;
  cursor: pointer;
}

.cloth_type__item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #E5E5E5;
}

/* .cloth_type__item_active, */

.cloth_color__item_active {
  border: 2px solid #262626;
}

.cloth_type__item_active {
  background-color: #4D4D4D;
  color: #fff;
}

.cloth_color__item img {
  display: flex;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.type_prev {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: 15px;
  align-items: center;
  width: 20px;
  height: 20px;
  /* border: 1px solid #464646; */
  font-size: 13px;
  background-color: #e5e5e5;
  border-radius: 3px;
  pointer-events: none;
  transition: opacity .2s;
  font-family: 'Proxima-sb';
}

.custom_tabs_show .color_prev,
.custom_tabs_show .type_prev {
  opacity: 0;
}

#toggle_2d_3d,
#toggle_hd_sd {
  display: none;
}

.toggle_2d_3d {
  margin-bottom: 10px;
}

.toggle_2d_3d,
.toggle_hd_sd {
  display: flex;
  position: relative;
  font-size: 14px;
  font-weight: bold;
  width: 70px;
  height: 35px;
  background-color: #D9D9D9;
  border-radius: 5px;
  cursor: pointer;
}

.toogle_value_l {
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 99;
  margin-left: 8px;
  color: #fff;
  transition: all .2s;
}

.toogle_block {
  display: flex;
  position: absolute;
  pointer-events: none;
  width: 35px;
  height: 35px;
  background-color: #4D4D4D;
  border-radius: 5px;
  transition: all .2s;
  right: 50%;
}

.toogle_value_r {
  position: absolute;
  pointer-events: none;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 99;
  margin-right: 8px;
  transition: all .2s;
}

#toggle_2d_3d:checked ~ .toogle_value_l,
#toggle_hd_sd:checked ~ .toogle_value_l {
  color: #000;
}

#toggle_2d_3d:checked ~ .toogle_value_r,
#toggle_hd_sd:checked ~ .toogle_value_r {
  color: #fff;
}

#toggle_2d_3d:checked ~ .toogle_block,
#toggle_hd_sd:checked ~ .toogle_block {
  right: 0;
}

.screenshot,
.size {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  border-radius: 5px;
  border: 0;
  width: 35px;
  height: 35px;
  background-color: #D9D9D9;
  cursor: pointer;
  outline: none;
  transition: all .2s ease-in;
}

svg {
  pointer-events: none;
}

svg path {
  transition: all .2s ease-in;
}

/* 
.screenshot:hover,
.size:hover {
    background-color: #4D4D4D;
} */

.size:hover .help_text {
  display: block;
  width: 167px;
  bottom: 40px;
}

.screenshot:hover .help_text {
  display: block;
  width: 157px;
  bottom: 40px;
}

.screenshot:hover svg path,
.size:hover svg path {
  fill: #fff;
}

.size {
  margin-right: 10px;
}

.closed_modal {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.price_block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 15px;
  font-size: 30px;
  font-family: 'Proxima-sb';
}

.rub {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Proxima-sb', 'Montserrat', sans-serif;
}

.footer {
  display: flex;
  position: absolute;
  flex-direction: column;
  width: 100%;
  padding: 10px 25px 40px;
  background-color: #fff;
  border-radius: 0 0 0 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 0;
  box-shadow: 0px -25px 15px #fff;
}

.order {
  font-family: 'Proxima-b';
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 14px;
  color: #fff;
  background-color: #262626;
}

.order_pdf,
.order_main,
.order_spec {
  margin: 0 auto;
  width: 212px;
  margin-top: 40px;
}

.order:hover {
  background-color: #000;
}

.specification {
  display: flex;
  margin: 20px auto 0;
  width: 230px;
  justify-content: center;
  background-color: #fff;
  border: 0;
  text-decoration: underline;
}

.specification:hover {
  text-decoration: none;
}

.specification_img {
  pointer-events: none;
  margin-right: 10px;
}

.thumbnail-item {
  position: relative;
  float: left;
  margin: 0px 5px;
}

.thumbnail-item a {
  display: flex;
  width: 25px;
  height: 25px;
  overflow: hidden;
  pointer-events: none;
}

.thumbnail-item img.thumbnail {
  border: 3px solid #ccc;
}

.tooltip {
  display: flex;
  position: absolute;
  right: 10px;
  z-index: 999999999;
  /* padding: 8px 0 0 8px; */
}

.question_mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-image: url(../images/question_mark.svg);
  background-repeat: no-repeat;
  background-position: center center;
  margin-top: -10px;
  margin-left: 5px;
  cursor: auto;
}

.question_text {
  position: absolute;
  display: none;
  width: 300px;
  z-index: 99;
  color: #fff;
  padding: 10px;
  background-color: #262626;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 5px;
  pointer-events: none;
}

.question_mark:hover .question_text {
  display: block;
  top: -70px;
  left: 0px;
}

.question_mark:hover .question_text.bot {
  display: block;
  top: 30px;
  left: 0px;
}

/* стрелки табов */

.arrow_n,
.custom_tabs__button .arrow_b {
  pointer-events: none;
  margin-left: 10px;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}

.arrow_n.act,
.arrow_b.act {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.closed_img {
  pointer-events: none;
}

.cleaning {
  width: 135px;
  height: 50px;
  font-family: 'Proxima-b';
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 5px;
  color: #fff;
  background-color: #262626;
  border: 1px solid transparent;
  margin: 0;
  margin-right: 15px;
}

.cleaning_not {
  width: 135px;
  font-family: 'Proxima-b';
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 13px;
  color: #262626;
  background-color: #fff;
  margin: 0;
  border: 1px solid #262626;
}

.cleaning_not:hover {
  background-color: #E5E5E5;
}

textarea {
  height: 100px;
  padding: 20px;
  line-height: 1.5;
  resize: none;
  outline: none;
  border: 2px solid #D9D9D9;
  border-radius: 5px;
}

textarea:hover,
textarea:focus {
  border-color: #262626;
}

.scroll_block {
  overflow: auto;
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  direction: ltr;
  scrollbar-color: #d4aa70 #e4e4e4;
  scrollbar-width: thin;
  transition: height .2s;
  margin: 0px -15px 0px 0px;
  margin-right: -15px;
}

.scroll_block::-webkit-scrollbar {
  width: 0;
}

.prev {
  display: none;
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: red;
  border-radius: 5px;
  top: 0;
  left: 0;
  z-index: 2;
  background-position: center center;
  background-size: cover;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
  transition: opacity .3s;
}

input:valid:not(:-ms-input-placeholder) {
  border-color: green;
}

input:valid:not(:placeholder-shown),
input.green,
span.green {
  border-color: green;
}

input:invalid:not(:-ms-input-placeholder) {
  border-color: red;
}

input:invalid:not(:placeholder-shown),
input.red,
span.red {
  border-color: red;
}

input:invalid:not(:-ms-input-placeholder) + .form__error {
  display: block;
}

input:invalid:not(:placeholder-shown) + .form__error {
  display: block;
}

.pillow_block {
  display: flex;
  /* width: 84px; */
  margin-left: 25px;
  background-color: #F5F5F5;
  border-radius: 5px;
}

.pillow_plus {
  display: flex;
  width: 28px;
  height: 28px;
  background-color: #eee;
}

.pillow_plus,
.pillow_minus {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 25px;
  font-weight: 400;
  background-color: #eee;
  cursor: pointer;
}

.pillow_minus {
  border-radius: 5px 0 0 5px;
}

.pillow_plus {
  border-radius: 0 5px 5px 0;
}

.pillow_value {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-family: 'Proxima-r';
  width: 28px;
  height: 28px;
  font-weight: 400;
}

/*   
.scroll_block::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 0 0 100px 100px;
    margin-left: -50px;
}

.scroll_block::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-color: #262626;
    box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
  } */

.mt-0 {
  margin-top: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

/* 
.m-5 {
    margin-top: px;
}

.pb-10 {
    padding-bottom: 10px;
} */

/* .tooltip span.overlay {
        background: url(images/overlay.png) no-repeat;
        position: absolute;
        top: 0px;
        left: 0px;
        display: block;
        width: 350px;
        height: 200px;
    } */

/* My_code */

/* от Алексея */

.top div.btn_popular {
  text-align: center;
  line-height: 45px;
}

.popup_popular__suptitle {
  margin: 0 auto 15px;
  width: 600px;
}

.home:hover .help_text {
  width: 115px;
}

#closed_show_menu,
.show_menu,
.closed_menu {
  display: none;
}

/* @media screen and (max-width: 850px) { 
} */

.closed_menu__btn .closed_img,
.menu_img {
  height: 100%;
}

.show_menu__btn {
  position: fixed;
  right: 15px;
  top: 23px;
  cursor: pointer;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.custom_select [for="closed_show_menu"] {
  display: block;
  cursor: auto;
}

#optionsDiv {
  height: 0;
  -webkit-transform: none !important;
  transform: none !important;
  position: relative;
  z-index: 1;
}

#option {
  scale: 1 !important;
  position: fixed;
  top: auto !important;
  left: calc(50% - 268px) !important;
  bottom: 120px;
}

@media screen and (max-width: 1133px) {
  #iframe {
    height: calc(100% - 230px);
    position: fixed;
    bottom: 150px;
    
  }

  .prev {
    display: none !important;
  }

  .scroll_block,
  .overlay {
    z-index: 2;
  }

  .app {
    flex-direction: column-reverse;
    justify-content: flex-end;
    width: 100vw;
    height: 100vh;
    position: fixed;
  }

  .content {
    height: calc(100vh - 150px);
  }

  .top_bar_logo_wrap {
    /* position: fixed; */
    width: 100%;
    height: 70px;
  }

  #option {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50% !important;
    bottom: 220px;
    width: 108px;
    height: 40px;
    padding: 4px 6px;
    align-items: center;
    justify-content: space-between;
  }

  #option #twist,
  #option #copy,
  #option #destroy {
    width: 24px;
    height: 24px;
    margin: 0;
    background-size: 18px;
  }

  .screenshot:hover,
  .size:hover {
    background-color: #D9D9D9;
  }

  .size:hover .help_text,
  .screenshot:hover .help_text {
    display: none;
  }

  .screenshot:hover svg path,
  .size:hover svg path {
    fill: initial;
  }

  .screenshot:active,
  .size:active {
    background-color: #4D4D4D;
  }

  .size:active .help_text {
    right: -38px;
    display: block;
    width: 167px;
    bottom: 40px;
  }

  .screenshot:active .help_text {
    display: block;
    right: 0;
    width: 157px;
    bottom: 40px;
  }

  .home:hover .help_text {
    display: block;
    left: 34px;
    bottom: auto;
  }

  .menu {
    max-width: 100%;
    min-width: auto;
    padding: 0;
    z-index: 2;
  }

  .logo_text {
    display: none;
  }

  .top_bar {
    width: 24px;
    height: 24px;
    top: 23px;
    left: 15px;
  }

  .logo {
    top: 18px;
  }

  .top {
    position: static;
    width: 300px;
    /* top: 70px; */
    left: 0;
    justify-content: space-between;
    /* padding: 0 15px; */
    box-shadow: none;
  }

  .top .btn {
    margin-bottom: 0;
    margin-top: 0;
  }

  .top .btn_popular {
    width: 240px;
  }

  .midle_bar {
    flex-direction: row;
    -webkit-transform: none;
    transform: none;
    position: fixed;
    top: auto;
    bottom: 165px;
    left: 15px;
    padding: 0;
    z-index: 1;
  }

  .toggle_2d_3d {
    margin-bottom: 0;
    margin-right: 8px;
  }

  .toggle_2d_3d,
  .toggle_hd_sd {
    width: 60px;
    height: 30px;
  }

  .toogle_value_l {
    margin-left: 5px;
  }

  .toogle_value_r {
    margin-right: 5px;
  }

  .toogle_block {
    width: 30px;
    height: 30px;
  }

  .bottom_bar {
    position: fixed;
    top: auto;
    bottom: 165px;
    left: auto;
    right: 15px;
    -webkit-transform: none;
    transform: none;
  }

  .screenshot,
  .size {
    width: 30px;
    height: 30px;
  }

  .size {
    margin-right: 8px;
  }

  .footer {
    padding: 16px 0 20px;
    box-shadow: none;
    height: 150px;
    position: fixed;
  }

  .price_block {
    margin: 0;
  }

  .price,
  .rub {
    font-size: 26px;
  }

  .footer .btn.order {
    width: 250px;
    height: 40px;
    font-size: 14px;
    line-height: 1;
    margin: 8px auto 17px;
    padding: 14px;
  }

  .specification {
    font-size: 14px;
    padding: 0;
    margin: 0 auto;
  }

  .specification_img {
    height: 16px;
  }

  .menu_wrap {
    position: fixed;
    top: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 3;
    background: #fff;
    max-height: none;
    height: 100vh;
    border-radius: 15px 0 0 15px;
    padding: 50px 10px 10px 20px;
    width: 330px;
    margin: 0;
    transition: right .5s;
  }

  .closed_menu__btn {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 315px;
    height: 50px;
    background: #fff;
  }

  .scroll_block {
    background: #fff;
    max-height: none;
    width: 300px;
    margin: 0;
    transition: right .5s;
  }

  .custom_select {
    width: 300px;
  }

  .color_prev,
  .type_prev {
    margin-right: 13px;
  }

  .show_menu__btn {
    display: block;
  }

  #closed_show_menu:checked ~ .menu_wrap {
    right: -330px;
  }

  /* Для кнопки closed_menu__btn */

  #closed_show_menu:checked ~ .menu_wrap .closed_menu__btn {
    right: -315px;
  }

  .menu_overlay {
    display: flex;
    transition: background-color .2s ease-in;
    z-index: 1;
  }

  #closed_show_menu:checked ~ .menu_overlay {
    background-color: transparent;
    left: 100%;
  }

  .show_menu,
  .closed_menu {
    display: block;
    width: 20px;
  }

  .closed_menu {
    padding-top: 18px;
  }
}

@media screen and (max-width: 850px) {
  .popup_popular {
    width: 320px;
    padding: 35px 6px;
  }

  .popup_popular .closed_modal {
    width: 20px;
    height: 20px;
    top: 15px;
    right: 15px;
  }

  .popup_popular__title {
    font-size: 20px;
  }

  .popup_popular__suptitle {
    font-size: 12px;
    width: auto;
  }

  .popup_popular__item {
    margin: 6px;
    width: calc(100%/3 - 12px);
    height: 66px;
    padding: 0;
  }

  .popup_popular__item.popup_popular__item_b {
    width: calc(100%/1.5 - 12px);
    font-size: 12px;
  }

  .plus_b {
    width: 17px;
    height: 17px;
  }

  .popup_popular__info {
    font-size: 8px;
    padding: 1px 3px;
  }

  .popular__img {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  .order {
    padding: 14px;
  }

  .spec_order {
    width: 320px;
    padding: 40px 15px 35px 15px;
  }

  .popup_specification.show .closed_modal,
  .popup_order.show .closed_modal,
  .popup_cleaning.show .closed_modal,
  .spec_order .closed_modal {
    width: 20px;
    height: 20px;
    top: 18px;
    right: 18px;
  }

  .popup_specification__title,
  .popup_cleaning__title,
  .popup_order__title,
  .spec_order__title {
    font-size: 20px;
  }

  #get_pdf_to_email,
  .popup_specification__subtitle,
  .popup_cleaning__subtitle,
  #main_form_name,
  #main_form_phone,
  #main_form_email,
  #main_form_note,
  #spec_form_name,
  #spec_form_phone,
  #spec_form_note,
  #spec_form .container span,
  .spec_order__subtitle,
  .btn.order.order_spec,
  .btn.order.order_main,
  .btn.order.order_pdf,
  .brn_group .btn {
    font-size: 12px;
  }

  #spec_form_name,
  #spec_form_phone,
  #spec_form_note {
    width: 290px;
    padding: 14px 17px;
  }

  #main_form_note,
  #spec_form_note {
    height: 85px;
  }

  .checkmark {
    width: 17px;
    height: 17px;
  }

  .btn.order.order_spec,
  .btn.order.order_main,
  .btn.order.order_pdf {
    width: 210px;
    height: 40px;
  }

  .popup_cleaning.show {
    width: 320px;
    height: 210px;
    padding: 40px 17px;
  }

  .brn_group .btn {
    width: 135px;
    height: 44px;
  }

  .popup_specification.show,
  .popup_order.show {
    width: 320px;
    padding: 40px 17px 22px;
  }

  #get_pdf_to_email,
  #main_form_name,
  #main_form_phone,
  #main_form_email {
    width: 290px;
    height: 40px;
  }

  .container .checkmark:after {
    left: 4px;
    width: 3px;
    height: 8px;
  }
}