@import url("null.css");
@import url("loader_ar.css");

:root {
  --header-height: 0px;

  --color-black: #111111;
  --color-white: #fff;
  --color-gray: #929292;
  --color-brown: #997A4F;
  --color-error: #C40101;

  --canvas-icon-cancel: url("../src/icons_ui/cancel.svg");
  --canvas-icon-done: url("../src/icons_ui/check.svg");
  --canvas-icon-mouse_right: url("../src/icons_ui/mouse_right_click.svg");
  --canvas-icon-mouse_left: url("../src/icons_ui/mouse_left_click.svg");
  --canvas-icon-drag: url("../src/icons_ui/drag.svg");
  --canvas-icon-question: url("../src/icons_ui/question_mark.svg");
  --canvas-icon-fullscreen: url("../src/icons_ui/fullscreen.svg");
  --canvas-icon-mouse_right-hover: url("../src/icons_ui/mouse_right_click-hover.svg");
  --canvas-icon-mouse_left-hover: url("../src/icons_ui/mouse_left_click-hover.svg");
  --canvas-icon-drag-hover: url("../src/icons_ui/drag-hover.svg");
  --canvas-icon-question-hover: url("../src/icons_ui/question_mark-hover.svg");
  --canvas-icon-fullscreen-hover: url("../src/icons_ui/fullscreen-hover.svg");
  --canvas-icon-fullscreen-off: url("../src/icons_ui/fullscreen-off.svg");
  --canvas-icon-fullscreen-off-hover: url("../src/icons_ui/fullscreen-off-hover.svg");
  --canvas-icon-reset: url("../src/icons_ui/reset.svg");
  --canvas-icon-share: url("../src/icons_ui/Share.svg");
  --canvas-icon-ar: url("../src/icons_ui/AR.svg");
  --canvas-icon-reset-hover: url("../src/icons_ui/reset-hover.svg");
  --canvas-icon-share-hover: url("../src/icons_ui/Share-hover.svg");
  --canvas-icon-ar-hover: url("../src/icons_ui/AR-hover.svg");
  --canvas-icon-guide_AR: url("../src/icons_ui/guide-popUp-AR.svg");
  --canvas-icon-guide_zoom: url("../src/icons_ui/guide-popUp-zoom.svg");
  --canvas-icon-guide_order: url("../src/icons_ui/guide-popUp-Order.svg");
  --canvas-icon-guide_summary: url("../src/icons_ui/guide-popUp-Summary.svg");

  --canvas-image-dimensions: url("../src/images/dimensions_image.png");
  --canvas-image-dimensions-width: url("../src/images/width_info.png");
  --canvas-image-pan-bent: url("../src/images/Flat\ Screen\ VS\ Panbent.png");

  --icon-edit_white: url("../src/icons_ui/edit_white.svg");
  --icon-edit: url("../src/icons_ui/edit.svg");

  --icon-arrow_bottom: url("../src/icons_ui/arrow_down.svg");
  --icon-arrow_right: url("../src/icons_ui/arrow-right.svg");
  --icon-info: url("../src/icons_ui/info_icon.svg");
  --icon-minus: url("../src/icons_ui/minus.svg");
  --icon-plus: url("../src/icons_ui/plus.svg");
  --icon-close: url("../src/icons_ui/close.svg");
  --icon-checkbox_on: url("../src/icons_ui/checkbox-active.svg");
  --icon-checkbox_off: url("../src/icons_ui/checkbox.svg");
  --icon-delete: url("../src/icons_ui/delete.svg");
  --icon-link: url("../src/icons_ui/icon_link.svg");
  --icon-link-hover: url("../src/icons_ui/icon_link-hover.svg");
}

* {
  /* outline: 1px solid green !important; */
}

.site_header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 170px;
  /* border: 1px solid red; */
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 100;
  overflow-x: hidden;

}

.site_header img {
  height: 111px;
  width: 1381px;
}

/* .app-loader::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  z-index: 10000;

  background-image: url(../src/icons_ui/logo.png);
  background-size: 30%;
  background-position: center;
  background-repeat: no-repeat;
  animation: gentle-breeze 4s ease-in-out infinite;
}

@keyframes gentle-breeze {

  0%,
  100% {
    transform: rotate(0deg) translateY(0px);
  }

  25% {
    transform: rotate(0.3deg) translateY(-5px);
  }

  50% {
    transform: rotate(-0.2deg) translateY(1px);
  }

  75% {
    transform: rotate(0.25deg) translateY(-3px);
  }
} */

/* ******************************** */

.content_error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100svh - 200px);
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 100;
  overflow: hidden;
}

.content-error__text {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-black);
  text-align: center;
  padding: 0 20px;
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
  .content-error__text {
    font-size: 18px;
  }
}

/* *********** MARKER BUTTONS ************ */

.marker_button {
  position: absolute;
  background-color: var(--color-white, #fff);
  color: var(--color-brown, #997A4F);
  border: 1px solid var(--color-brown, #997A4F);
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  width: 85px;
  height: 28px;
}

.marker_button span {
  margin-left: 6px;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#cancelButton span,
#secondCancelButton span {
  background-image: var(--canvas-icon-cancel);
}

#doneButton span {
  width: 16px;
  height: 16px;
  background-image: var(--canvas-icon-done);
}

.distance_label {
  position: absolute;
  background-color: var(--color-black, #111);
  color: var(--color-white, #fff);
  border: 1px solid var(--color-black, #111);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  z-index: 1;
}



/* ******************************** */

* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 500;
}

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 500;
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
  * {
    font-size: 16px;
  }

  body {
    font-size: 14px;
  }
}

/* ******************************** */

#baseDimensions label {
  width: 48px;
  margin-right: 20px;
  font-size: 14px;
  font-weight: 400;
}

#pan-bent-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

#pan-bent-label:has(#pan-bent-edges:disabled) {
  opacity: 0.5;
}

#pan-bent {
  margin-top: 10px;
}

.info-bent {
  margin-left: 10px !important;
  content: var(--icon-info);
  width: 20px;
  height: 20px;
  margin-left: 6px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}


@media only screen and (max-width: 767px) and (orientation: portrait) {
  #baseDimensions label {
    margin-right: 10px;
  }
}

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

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--color-brown);
  border-radius: 10px;
  padding: 5px 10px;
  width: 100px;
  height: 38px;
}

.input-wrapper input {
  height: 38px;
  width: 46px;
  border: none;
  outline: none;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
  background: transparent;
}

.input-wrapper input::-webkit-outer-spin-button,
.input-wrapper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-wrapper input[type=number] {
  -moz-appearance: textfield;
}

.input-wrapper .unit {
  color: #666;
  font-size: 14px;
}

/* ***** */

.quantity-container {
  display: flex;
  gap: 30px;
}

.quantity-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: normal;
}

.info-button {
  content: var(--icon-info);
  width: 20px;
  height: 20px;
  margin-left: 6px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}

.info-button:hover {
  transform: rotateY(180deg) scale(1.4);
}

.input-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-brown, #997A4F);
  width: 120px;
  height: 40px;
}

.decrement-button,
.increment-button {
  width: 24px;
  height: 24px;
  background: var(--color-white);
  border: none;
  color: var(--color-brown, #997A4F);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.decrement-button:hover,
.increment-wood-button:hover,
.increment-concrete-button:hover {
  transform: scale(1.4);
}

.decrement-button {
  margin-left: 14px;
}

.decrement-button:before {
  content: var(--icon-minus);
  margin-top: 7px;
}

.increment-wood-button,
.increment-concrete-button {
  margin-right: 14px;
  background: transparent;
}

.increment-wood-button:before,
.increment-concrete-button:before {
  content: var(--icon-plus);
  margin-top: 7px;
}

.quantity-input {
  width: 30px;
  height: 30px;
  border: none;
  text-align: center;
  font-size: 14px;
  background: transparent;
  outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number] {
  -moz-appearance: textfield;
}

/* **** */

#result_container {
  margin-bottom: 60px;
  transition: margin-top 0.3s ease;
  margin-top: 70dvh;
}

#result_container.active {
  margin-top: 30px !important;
}

.amount_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.price_wrapper {
  justify-content: space-between;
  display: flex;
  width: 100%;
}

.total_title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-black, #000);
}

.total_price {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-brown, #997A4F);
}

/* ******************************** */

.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  width: 100%;
  top: var(--header-height, 0);
  overflow-x: hidden;
  /* border: 1px solid blue; */
}

.main {
  position: relative;
  display: flex;
  /* height: calc(100svh - 170px - 2px); */
  height: 100svh;
}

@media only screen and (max-width: 778px),
(orientation: portrait) {
  .main {
    flex-direction: column;
  }
}

.mainContent {
  display: flex;
  flex: 1;
  flex-direction: column;

  /* border: 1px solid green; */
}

@media only screen and (max-width: 778px),
(orientation: portrait) {
  .mainContent {
    height: 50svh;
  }

  .input-group {
    width: 113px;
  }
}

.mainContent-3DArea {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mainContent-3DArea canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.canvas_buttons {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  gap: 30px;
  font-size: 17px;
  font-weight: 500;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .canvas_buttons {
    transform: translate(0, 0);
    top: 22px;
    left: unset;
    right: 10px;
  }
}

.top_left {
  left: 30px;
  transform: translate(0, 0);
}

#js-share_copyToClipboard .icon {
  content: var(--canvas-icon-share);
  width: 20px;
  height: 20px;
}

#js-share_copyToClipboard {
  min-width: 200px;
}

@media only screen and (max-width: 778px),
(orientation: portrait) {
  .canvas_buttons {
    top: 17px;
    bottom: unset;
  }

  .top_left {
    top: 17px;
    left: 10px;
  }
}

.canvas_buttons div {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  transition: all .3s ease;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .canvas_buttons div {
    font-size: 12px;
  }
}

.canvas_buttons .icon {
  width: 18px;
  height: 18px;
  transition: all .3s ease;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .canvas_buttons .icon {
    width: 14px;
    height: 14px;
  }
}

#js-reset .icon {
  content: var(--canvas-icon-reset);
}

#js-showModalShare .icon {
  content: var(--canvas-icon-share);
}

#js-showModalQRcode .icon {
  content: var(--canvas-icon-ar);
}

#js-share_copyToClipboard .icon {
  content: var(--canvas-icon-share);
}

#js-fullScreen .icon-fullScreen {
  content: var(--canvas-icon-fullscreen);
  position: absolute;
  bottom: 30px;
  left: 25px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#js-fullScreen .icon-fullScreen:hover {
  content: var(--canvas-icon-fullscreen-hover);
  transform: scale(1.2);
}

#js-fullScreen .icon-fullScreen.fullscreen-off {
  content: var(--canvas-icon-fullscreen-off);
}

#js-fullScreen .icon-fullScreen.fullscreen-off:hover {
  content: var(--canvas-icon-fullscreen-off-hover);
  transform: scale(1.2);
}

@media only screen and (orientation: portrait) {
  #js-fullScreen .icon-fullScreen {
    display: none;
  }
}

/* .configurator_tips {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 17.188rem;
  height: 10rem;
  top: 90%;
  left: 50%;
  align-items: center;
  opacity: 1;
  transform: translate(-50%, -50%);
  transform-origin: bottom center;
}

.configurator_tips.initial {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(20px) scaleY(0.1);
}

.configurator_tips:not(.hide-animated):not(.initial) {
  animation: tipsAppear 1s ease-in-out forwards;
}

/* Tips disappearing animation */
/* .configurator_tips.hide-animated:not(.initial) {
  animation: tipsDisappear 1s ease-in-out forwards;
  pointer-events: none;
}

.hide {
  display: none !important;
}

.icon_help {
  display: none;
  transition: none;
}

.icon_help.active {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 10px 0px #9292924D;
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4.25rem;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  cursor: pointer;
  animation: helpAppear 0.8s ease-in-out forwards;
}

.icon_help.hide-animated {
  animation: helpDisappear 0.8s ease-in-out forwards !important;
  pointer-events: none;
}

.icon_help.no-animation {
  animation: none !important;
}

@keyframes tipsAppear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(20px) scaleY(0.1);
  }

  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) translateY(10px) scaleY(0.5);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scaleY(1);
  }
}

@keyframes tipsDisappear {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scaleY(1);
  }

  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) translateY(10px) scaleY(0.5);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(20px) scaleY(0.1);
  }
}

@keyframes helpAppear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes helpDisappear {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
} */

.configurator_tips {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 17.188rem;
  height: 10rem;
  top: 90%;
  left: 50%;
  align-items: center;
  transform: translate(-50%, -50%);
  transform-origin: bottom center;
}

.configurator_tips.initial {
  opacity: 0;
  visibility: hidden;
}

.hide {
  display: none !important;
}

.icon_help {
  display: none;
  transform-origin: center;
}

.icon_help.active {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 10px 0px #9292924D;
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4.25rem;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.row {
  margin-top: 10px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 14px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 10px 0px #9292924D;
  cursor: pointer;
}

@media only screen and (max-width: 900px) and (orientation: portrait) {
  .row {
    padding: 0.25rem 0.775rem;
    width: 18.75rem;
    margin-top: 3px;
  }

  .configurator_tips {
    top: 94%;
  }
}


.configurator_tips .row .guide--tips-text {
  font-size: 12px !important;
  font-weight: 400 !important;
}

.configurator_tips .row .guide-tips-span {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--color-black);
}

.configurator_tips .row:hover,
.configurator_tips .row:hover .guide-tips-span {
  color: var(--color-brown);
}

.configurator_tips .row .icon-leftButton {
  content: var(--canvas-icon-mouse_left);
}

.configurator_tips .row:hover .icon-leftButton {
  content: var(--canvas-icon-mouse_left-hover);
}

.configurator_tips .row .icon-rightButton {
  content: var(--canvas-icon-mouse_right);
}

.configurator_tips .row:hover .icon-rightButton {
  content: var(--canvas-icon-mouse_right-hover);
}

.configurator_tips .row .icon-drag {
  content: var(--canvas-icon-drag);
}

.configurator_tips .row:hover .icon-drag {
  content: var(--canvas-icon-drag-hover);
}

.icon_help .icon-question {
  content: var(--canvas-icon-question);
}

.icon_help:hover .icon-question {
  content: var(--canvas-icon-question-hover);
}

.icon_help .icon-leftButton {
  content: var(--canvas-icon-mouse_left);
}

.icon_help:hover .icon-leftButton {
  content: var(--canvas-icon-mouse_left-hover);
}






.canvas_buttons div:hover {
  color: var(--color-brown, #997A4F);
  transform: scale(1.1);
}

.canvas_buttons #js-reset:hover .icon {
  content: var(--canvas-icon-reset-hover);
  transform: rotate(-270deg);
}

.canvas_buttons #js-showModalShare:hover .icon {
  content: var(--canvas-icon-share-hover);
  transform: rotateX(180deg);
}

.canvas_buttons #js-showModalQRcode:hover .icon {
  content: var(--canvas-icon-ar-hover);
  transform: rotateY(180deg);
}

.formWrapper {
  overflow-Y: scroll;
  overflow-X: hidden;
  max-width: 500px;
  width: 100%;
  padding: 30px 17px 0 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);

  /* border: 1px solid purple; */
}

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

.agree-label {
  display: flex;
}

@media only screen and (max-width: 778px),
(orientation: portrait) {
  .formWrapper {
    max-width: 100%;
    padding: 0 10px;
  }
}

/* ******************************** */

.buttons_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  color: var(--color-brown, #997A4F);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--color-brown, #997A4F);
  box-shadow: none;
  padding: 0 14px;
  outline: none;
  cursor: pointer;
  transition: all .3s ease;
}

.btn.inactive {
  pointer-events: none;
  opacity: .5;
  cursor: auto;
}

#js-pdf.btn {
  width: 160px;
  font-weight: 500;
  font-size: 17px;
  margin-right: 20px;
}

#js-cart.btn {
  width: 100%;
  font-weight: 500;
  font-size: 17px;
}

#js-inquiry.btn {
  width: 100%;
  font-weight: 500;
  font-size: 17px;
}

.summary_notification {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-brown, #997A4F);
  margin-top: 10px;
}

/* *************************** */


.btn:hover,
.btn:active {
  color: var(--color-brown, #997A4F);
  background-color: var(--color-white, #fff);
  text-decoration: none;
  outline: none;
}

.btn_white {
  color: var(--color-brown, #997A4F);
  background: #fff;
}

.btn_black {
  color: var(--color-white, #fff);
  background-color: var(--color-brown, #997A4F);
}

.btn_white:hover,
.btn_white:active {
  color: var(--color-white, #fff);
  background-color: var(--color-brown, #997A4F);
  text-decoration: none;
  outline: none;
}

.btn_small {
  height: 42px;
}



@media screen and (max-width: 767px) and (orientation: portrait) {
  .btn {
    height: 42px;
    font-size: 14px;
  }

  .btn_small {
    height: 36px;
  }
}

.btn:focus {
  box-shadow: none;
  outline: none
}

.btn-green {
  background: #197e00;
  color: #fff
}

.btn.disabled,
.btn[disabled] {
  pointer-events: none;
  opacity: .5;
  cursor: auto
}

.popup .btn_ar {
  display: none;
  width: 200px;
  margin-top: 20px;
}

/* ******************************** */

.accordion-header {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid var(--color-brown);
  justify-content: space-between;
  align-items: center;
  height: 66px;
  cursor: pointer;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .accordion-header {
    height: 57px;
    margin-bottom: 10px;
  }
}

.accordion-header__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.accordion-content .accordion-header__screen-height {
  margin-bottom: 20px;
}

.accordion-content .accordion-header__screen-height .screen-height-text {
  font-weight: 400 !important;
  font-size: 14px !important;
}

.accordion-content .accordion-header__screen-height .selected {
  font-weight: 400 !important;
  font-size: 14px !important;
  display: inline-block;
  color: var(--color-brown, #997A4F);
}

.accordion-header__selected {
  font-weight: 300;
  display: inline-block;
  max-width: 271px;
  color: var(--color-brown, #997A4F);
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .accordion-header__selected {
    font-weight: 500;
    font-size: 16px;
    max-width: 145px;
  }
}

.accordion-header__icon {
  width: 24px;
  height: 14px;
  margin-left: 10px;
  content: var(--icon-arrow_bottom);
  transition: transform .3s ease-in-out;
  display: inline-block;
}

.accordion-header__icon.icon-chevronUp {
  transform: rotateX(180deg);
}

#screenWidth_custom_group {
  display: none;
  margin-top: 30px;
}

/* ******************************** */

.accordion-content {
  display: none;

  padding: 20px 0;
}

@media only screen and (max-width: 778px),
(orientation: portrait) {
  .accordion-content {
    padding: 0px 0;
  }
}

.option {
  display: flex;
}

.option__label {
  min-width: 70px;
  margin-right: 30px;
}

.accordion-content .btn {
  margin: 0;
  font-size: 14px;
}

.option_wrapper {
  display: flex;
  flex-direction: row;
  flex: 1;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.left-gap-50 {
  justify-content: start;
  gap: 50px;
}

.option_wrapper--2x {
  gap: 40px;
}

@media screen and (orientation: portrait) {
  .left-gap-50 {
    gap: 10px;
  }

  .option_wrapper--2x {
    gap: 18px;
  }
}

.option_wrapper--3x {
  gap: 18px;
}

@media screen and (orientation: portrait) {
  .option_wrapper--3x {
    flex-wrap: wrap;
    row-gap: 0px;
    padding: 20px 0 0;
  }
}

.option_wrapper--column {
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  width: 100%;
}

.option_wrapper-grid-4x {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 20px 6px;
  width: 100%;
}

@media screen and (orientation: portrait) {
  .option_wrapper-grid-4x {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 20px 6px;
    width: 100%;
  }
}

.option__picture {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.option__picture .radio-item__label {
  width: 100px;
  height: 80px;
  margin-bottom: 10px;
  padding: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option__picture .radio-item__label {
    width: 100px;
    height: 60px;
  }
}

.option__picture:hover .radio-item__label {
  transform: scale(1.05);
}

/* .option__picture:hover .radio-item__label-text {
  color: var(--color-brown, #997A4F);
  font-weight: 500;
} */

.option__picture .radio-item__label div {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

input[type="radio"]:checked+.radio-item__label+.radio-item__label-text {
  color: var(--color-brown, #997A4F);
  font-weight: 500;
}

#screenColorBlack div {
  background-color: #474747;
}

#screenColorWhite div {
  background-color: #F5F5F5;
}

#screenColorCustom div {
  background-image: url("../src/icons_ui/icons-screens/color-custom.svg");
  background-size: auto;
  border: 2.5px solid white;
  background-repeat: no-repeat;
  background-position: center;
}

#screenColorCustom div.activeCustomColor {
  background-image: url("../src/icons_ui/icons-screens/color-custom-active.svg");
}

#patternBranch div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-1.svg");
}

#patternBreeze div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-2.svg");
}

#patternDash div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-3.svg");
}

#patternHexx div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-4.svg");
}

#patternHorizon div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-5.svg");
}

#patternMaui div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-6.svg");
}

#patternModerna div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-7.svg");
}

#patternRain div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-8.svg");
}

#patternRiverRock div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-9.svg");
}

#patternSolid div {
  background-image: url("../src/icons_ui/icons-screens/Rectangle-10.svg");
}

#patternCustom div {
  background-image: url("../src/icons_ui/icons-screens/color-custom.svg");
  background-size: auto;
  border: 2.5px solid white;
  background-repeat: no-repeat;
  background-position: center;
}

#patternCustom div.activeCustomPattern {
  background-image: url("../src/icons_ui/icons-screens/color-custom-active.svg");
}


/* ******************************** */

.tabs-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0px;
}

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

#tabs-container {
  display: flex;
  white-space: nowrap;
  flex-grow: 1;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  #tabs-container {
    margin-bottom: 0;
  }
}

#tabs-container::-webkit-scrollbar {
  display: none;
}

.tab {
  background-color: #ffffff;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  transition: background-color 0.2s;
  color: #111111 !important;
}

.tab:hover {
  background-color: #d0d0d0;
}

.tab.active {
  background-color: #ffffff;
  font-weight: 700;
  color: var(--color-brown, #997A4F) !important;
  border-bottom: 3px solid var(--color-brown, #997A4F);
}

.scroll-btn {
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
}

.scroll-btn.left {
  background-image: url("../src/icons_ui/arrow_down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 12px;
  transform: rotate(90deg);
}

.scroll-btn.right {
  background-image: url("../src/icons_ui/arrow_down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 12px;
  transform: rotate(-90deg);
}

.scroll-btn.left:hover {
  transform: rotate(90deg) scale(1.2);
}

.scroll-btn.right:hover {
  transform: rotate(-90deg) scale(1.2);
}

.scroll-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.tab-content {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--color-brown, #997A4F);
  padding-top: 20px;

  border-bottom: 2px solid var(--color-brown, #997A4F);
}

.tab-content.active {
  display: block;
}

#mountingHardware,
#summary {
  display: none;
}

#mountingHardware.active,
#summary.active {
  display: block !important;
}

/* ******************************** */

.option__range {
  justify-content: space-between;
  align-items: flex-start;
}

.option__range-label {
  font-size: 14px;
  font-weight: 400;
  margin-top: 8px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option__range-label {
    margin-right: 20px;
  }
}

.range-container {
  position: relative;
  font-weight: 300;
  font-size: 14px;
  width: 340px;
}

@media screen and (orientation: portrait) {
  .range-container {
    width: 100%;
  }
}

.range-container input[type="range"] {
  -webkit-appearance: none;
  outline: none;
  width: 100%;
  height: 4px;
  /*trackbar height*/
  opacity: 1;
  transition: opacity 0.3s;
}


#screenHeight_group .range-container input[type="range"] {
  width: 100%;
  margin-left: 1%;
}

#screenHeight_group .range-container .range-scale {
  left: 2px;
  width: 100%;
}

.range-container input[type="range"]:hover {
  opacity: 0.8;
}

.range-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-brown, #997a4f);
  /* slider color */
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.range-container input[type="range"]:hover::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
}

.range-container input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--color-brown, #ff0000);
  /* slider color */
  cursor: pointer;
  transition: all 0.3s;
}

.range-container input[type="range"]:hover::-moz-range-thumb {
  width: 20px;
  height: 20px;
}

.range-container .range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 23px;
}

.range-container .range-min,
.range-container .range-max {
  color: var(--color-black, #000);
}

.range-container .range-value-label {
  position: absolute;
  top: 25px;
  transform: translateX(-50%);
  color: var(--color-brown, #ff0000);
  background-color: white;
  width: 25px;
  display: flex;
  justify-content: center;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
}

.range-container .range-scale {
  position: absolute;
  top: 25px;
  left: 10px;
  width: 95%;
  display: flex;
  justify-content: space-between;
}

.range-container .range-tick {
  position: absolute;
  color: var(--color-black, #000);
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 400;
}

/* ******************************** */

.span_settings {
  display: flex;
  flex-direction: column;
  position: relative;
}

.span_length {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.span_length label {
  font-size: 14px;
  font-weight: 400;
  margin-right: 20px;
  width: 92px;
  min-width: 92px;
}

.span_length-value {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.span_length-value span {
  font-size: 14px;
  font-weight: 500;
  min-width: 50px;
}

.span_length_btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
  width: 70px;
  height: 30px;
  border: 1px solid var(--color-brown, #997A4F);
  color: var(--color-white, #fff);
  background-color: var(--color-brown, #997A4F);
  transition: all .3s ease;
}

.span_length_btn:hover {
  color: var(--color-brown, #997A4F);
  background-color: var(--color-white, #fff);
}

.input-container {
  display: flex;
  flex-direction: row;
  position: relative;

  display: none;
}

.span_length input[type="text"] {
  /* width: 230px; */
  width: 114px;
  height: 30px;
  border: 0.5px solid var(--color-brown, #997A4F);
  padding: 0 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--color-black, #000);
}

.span_length_description {
  position: absolute;
  bottom: -14px;
  /* left: 3px; */
  left: -112px;
  font-size: 10px;
  font-weight: 300;
  /* font-style: italic; */
  color: var(--color-brown, #997A4F);
  /* transition: all .3s ease; */
  /* cursor: help; */
}

/* .span_length_description:hover {
  left: -80px;
  bottom: -20px;
  font-size: 12px;
} */

.control-buttons {
  display: flex;
  flex-direction: row;
}


.remove-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-brown, #997A4F);
}

.remove-button .icon-remove {
  margin-right: 6px;
  width: 20px;
  height: 20px;
  background-image: var(--icon-delete);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

.remove-button:hover .icon-remove {
  transform: scale(1.2);
}

.dimensions-button input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dimensions-button .checkbox-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: 6px;
  transition: all 0.3s ease;
}

.dimensions-button input[type="checkbox"]~.checkbox-icon {
  background-image: var(--icon-checkbox_off);
}

.dimensions-button input[type="checkbox"]:checked~.checkbox-icon {
  background-image: var(--icon-checkbox_on);
}

.dimensions-button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.dimensions-button span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-brown, #997A4F);
}

.dimensions-button:hover .checkbox-icon {
  transform: scale(1.2);
}



/* **************************** */

.popup-custom-window .popup-box {
  max-width: 270px !important;
  overflow: hidden;
}

/* Desktop popup */
.popup.dimensions .popup-box,
.popup.panBent .popup-box {
  width: 90vw !important;
  max-width: 1000px !important;
  padding: 30px;
  height: auto !important;
  max-height: 90vh;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}

.popup-item-dimensions .dimensionsImage,
.popup-item-panBent .panBentImage {
  content: var(--canvas-image-dimensions);
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.popup-item-panBent .panBentImage {
  content: var(--canvas-image-pan-bent);
  margin-top: 20px;
}

/* Tablet */
@media (max-width: 768px) {

  .popup.dimensions .popup-box,
  .popup.panBent .popup-box {
    width: 85vw !important;
    padding: 20px;
    max-height: 85vh;
  }

  .popup-item-dimensions .dimensionsImage,
  .popup-item-panBent .panBentImage {
    max-height: 400px;
  }
}

.dimensions-label {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dimensionsText {
  font-weight: 400 !important;
  font-size: 14px !important;
  color: var(--color-brown);
  line-height: 120% !important;
  display: none;
}

#dimensionsText {
  font-weight: 400 !important;
  font-size: 14px !important;
  color: var(--color-brown);
  line-height: 100% !important;
  text-decoration: underline;
  cursor: pointer;
}

.popup-item-dimensions .dimensionsImage {
  content: var(--canvas-image-dimensions);
  width: inherit;
}

.popup-item-dimensions-width .dimensionsImageWidth {
  content: var(--canvas-image-dimensions-width);
  width: inherit;
}

.popup-item-panBent .panBentImage {
  content: var(--canvas-image-pan-bent);
  width: inherit;
  margin-top: 20px;
}

/* ******************************** */

.size-edit-button {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #997A4F;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.size-edit-button svg {
  width: 16px;
  height: 16px;
}

.input-container-canvas {
  position: absolute;
  display: none;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  padding: 5px;
  z-index: 1000;
}

.input-container-canvas input {
  width: 70px;
  height: 30px;
  border: 0.5px solid var(--color-brown, #997A4F);
  padding: 0 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--color-black, #000);
}

.span_length_btn-canvas {}

.span_length_btn-canvas:hover {}

/* ******************************** */

.summary__group_title {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  margin-top: 10px;
}

.summary__span_title {
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  color: var(--color-brown);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--color-brown);
}

.summary__list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  padding-left: 20px;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .summary__list {
    padding-left: 0px;
  }
}

.summary__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary__item_title {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black, #000);
  width: 112px;
  margin-right: 10px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .summary__item_title {
    width: 105px;
  }
}

.summary__item_subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black, #000);
  margin-right: auto;
}

.summary__item_isPanBent {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black, #000);
  margin-left: 122px;
}

.summary__item_qty {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-brown, #997A4F);
}

.summary__mounting_qty {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-brown, #997A4F);
}

.summary_info {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-brown, #997A4F);
  cursor: pointer;
  width: fit-content;
}

.info-icon {
  content: var(--icon-info);
  width: 20px;
  height: 20px;
  margin-left: 6px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}

.summary_info:hover .info-icon {
  transform: rotateY(180deg) scale(1.4);
}

#js-inquiry {
  display: none;
}

/* ******************************** */

.option__color-picker {
  justify-content: start;
  align-items: center;
  margin: 10px 0;
}

.color-picker-container {
  display: flex;
  align-items: center;
  position: relative;
}

.color-picker-display {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--color-black, #000);
  border-radius: 6px;
  margin-right: 30px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .color-picker-display {
    min-width: 36px;
    height: 36px;
    margin-right: 20px;
  }
}

/* input[type="color"] {
  width: 0px;
  height: 62px;
  border: none;
  padding: 0;
} */

input[type="color"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 62px;
  border: 1px solid var(--color-black, #000);
  padding: 0;
  z-index: 10;
}

/* ******************************** */

.option__radio-item input[type="radio"] {
  display: none;
}

.option__radio-item {
  flex: 1;
}

.radio-item__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  padding: 0 12px;
  box-shadow: 0px 0px 10px 0px #9292924D;
  cursor: pointer;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .radio-item__label {
    height: 36px;
    text-align: center;
  }
}

.radio-item__label-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black, #000);
  text-align: center;
}

input[type="radio"]:checked+.radio-item__label {
  box-shadow: 0px 2px 10px 0px #997A4F80;
}

input[type="radio"]:checked+.radio-item__label .radio-item__label-text {
  color: var(--color-brown, #ff0000);
  font-weight: 500;
}


/* ******************************** */

.option__checkbox-item input[type="checkbox"] {
  display: none;
}

.option__checkbox-item {
  flex: 1;
  align-items: center;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option__checkbox-item {
    flex: 0 1;
    min-width: max(148px, 47%);
    margin: 0 0 20px;
  }
}

.checkbox-item__label {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 300;
  box-shadow: 0px 0px 10px 0px #9292924D;
  cursor: pointer;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .checkbox-item__label {
    font-size: 14px;
    height: 36px;
    white-space: nowrap;
  }
}


input[type="checkbox"]:checked+.checkbox-item__label {
  color: var(--color-brown);
  box-shadow: 0px 0px 10px 0px #F4181833;
}

.checkbox-item__icon {
  content: var(--icon-checkbox_off);
  width: 43px;
  height: 42px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .checkbox-item__icon {
    width: 37px;
    height: 36px;
    margin-left: 16px;
  }
}

input[type="checkbox"]:checked+.checkbox-item__label .checkbox-item__icon {
  content: var(--icon-checkbox_on);
}

/* ***** checkbox-column ***** */

.option_wrapper--column .option__checkbox-item {
  margin: 11px 0;
  width: 100%;
}

.option_wrapper--column .checkbox__wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.option_wrapper--column .checkbox__header {
  display: flex;
  align-items: center;
  flex-direction: row;
  position: relative;
}

.option_wrapper--column .checkbox__content {
  display: none;
}

.option_wrapper--column .checkbox-item__label {
  display: flex;
  align-items: center;
  width: auto;
  height: 30px;
  border-radius: 0;
  font-size: 18px;
  font-weight: 300;
  box-shadow: none;
  cursor: pointer;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option_wrapper--column .checkbox-item__label {
    font-size: 14px;
    height: 24px;
  }
}

.option_wrapper--column input[type="checkbox"]:checked+.checkbox__wrapper .checkbox__content {
  display: block;
}

.option_wrapper--column input[type="checkbox"]:checked+.checkbox__wrapper .checkbox-item__label {
  color: var(--color-black, #000);
  box-shadow: none;
}

.option_wrapper--column .checkbox-item__icon {
  content: var(--icon-checkbox_off);
  width: 30px;
  height: 30px;
  margin-right: 6px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option_wrapper--column .checkbox-item__icon {
    width: 24px;
    height: 24px;
    margin-left: 0;
  }
}

.option_wrapper--column input[type="checkbox"]:checked+.checkbox__wrapper .checkbox-item__label .checkbox-item__icon {
  content: var(--icon-checkbox_on);
}


.option__info-icon {
  content: var(--icon-question);
  width: 22px;
  height: 22px;
  margin-left: 10px;
  /* cursor: pointer; */
  cursor: help;
  transition: all 0.3s ease;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option__info-icon {
    width: 18px;
    height: 18px;
  }
}

.option__info-icon:hover {
  transform: rotate(360deg) scale(1.2);
}

.option__info-icon:hover+.option__info-description {
  opacity: 1;
  z-index: 9999;
}

.option__info-description {
  display: block;
  position: absolute;
  right: 0;
  top: -6px;
  transform: translateY(-100%);
  width: 319px;
  padding: 14px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0px 0px 10px 0px #9292924D;
  font-size: 14px;
  font-weight: 300;
  line-height: 18.2px;
  letter-spacing: 2%;
  text-align: justify;
  color: var(--color-black);
  opacity: 0;
  z-index: -9999;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .option__info-description {
    width: min(100%, 319px);
    font-size: 12px;
    line-height: 16.2px;
    right: inherit;
  }
}

/* ******************************** */

.popup-open {
  overflow: hidden;
}

body.popup-open {
  position: fixed;
  width: 100%;
  top: var(--scroll-position);
}

.welcome-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 20px;
  /* text-align: center; */
  width: 650px;
  height: 430px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.custom-popup,
.custom-color-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.design-popup-content {
  background: white;
  padding: 40px;
  text-align: center;
  width: 640px;
  height: 350px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.color-popup-content {
  background: white;
  padding: 40px;
  text-align: center;
  width: 640px;
  height: 315px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 767px) and (orientation: portrait) {

  .color-popup-content {
    height: 410px;
  }

  .design-popup-content {
    height: 420px;
  }
}


.popup-content h3 {
  font-size: 16px;
  text-align: left;
  padding-top: 40px;
  padding-left: 45px;
  margin-block-start: 0px;
  margin-block-end: 0;
}

.popup-content #popup-guide {
  margin: 40px 0px 50px;
}

.popup-content #popup-guide .guide-row {
  width: 100%;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.icons {
  margin-left: 40px;
  width: 36px;
  height: 36px;
}

#popup-guide .icon-ar {
  content: var(--canvas-icon-guide_AR);
}

#popup-guide .icon-zoom {
  content: var(--canvas-icon-guide_zoom);
}

#popup-guide .icon-order {
  content: var(--canvas-icon-guide_order);
}

#popup-guide .icon-summary {
  content: var(--canvas-icon-guide_summary);
}

#popup-guide .guide-text {
  font-weight: 400 !important;
  font-size: 15px !important;
}

#popup-guide .guide-text-span {
  color: var(--color-brown);
  font-weight: 400 !important;
  font-size: 16px !important;
}

#welcome-popup-btn {
  width: 28.313rem;
  height: 50px;
  position: absolute;
  bottom: 30px;
  left: 70px;
}

#js-customButton {
  width: 28.313rem;
  height: 50px;
  position: absolute;
  bottom: 30px;
  top: inherit;
  left: 50%;
  transform: translateX(-50%);
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
  #welcome-popup-btn {
    width: 85%;
    bottom: 0.5rem;
    height: 45px !important;
    left: 5%;
  }

  .popup-content {
    width: 370px;
    height: 390px;
    padding: 10px;
    text-align: center;
    height: max-content;
  }

  .popup-content h3 {
    font-size: 15px;
    padding-left: 10px;
  }

  #popup-guide .icons {
    margin-left: 0px !important;
    width: 20px;
    height: 20px;
  }

  .guide-row {
    justify-content: left;
    margin-left: 5px;
  }

  #popup-guide .guide-text-span {
    font-size: 11px !important;
  }

  #popup-guide .guide-text {
    font-size: 11px !important;
  }

  .popup-content #popup-guide {
    margin: 20px 0px 50px;
  }
}

.close-btn:hover {
  color: #000;
}

.popup {
  display: none;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  background-color: rgba(0, 0, 0, .5);
  overflow: hidden;
}

.popup.active {
  display: flex;
  transition: .3s ease;
  overflow: hidden;
}

.popup * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.popup-item-bracket_type_info {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.popup-item {
  display: none;

  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.popup-item.active {
  display: flex;
  overflow: hidden;
}

.popup.arqr .popup-box {
  max-width: 380px;
  padding: 40px;
  overflow: hidden;
}

.popup.share .popup-box {
  max-width: 390px;
  padding: 30px;
  height: max-content;
  overflow: hidden;
}

.popup.requestQuote .popup-box {
  max-width: 860px;
  padding: 30px;
  height: max-content;
  overflow: hidden;
}

.popup-item-requestQuote .request_message_submitted {
  max-width: 600px;
  text-align: left;
}

.popup.custom .popup-box {
  /* max-width: 360px !important; */
  padding: 30px;
  overflow: hidden;
}

.custom-color-popup .custom-text,
.custom-popup .custom-text {
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  line-height: 140%;
}

.custom-popup .custom-text {
  margin-bottom: 24px;
  margin-top: 6px;
}

.custom-color-popup .custom-text {
  margin-top: 10px;
  margin-bottom: 20px;
}


.color-popup-content .custom-color-header {
  font-weight: 500;
  font-size: 17px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 140%;
}


#js-customButton {
  width: 260px;
}

#js-customColorButton {
  margin-top: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 260px;
}

/* #js-customColorButton .icon-link {
  content: var(--icon-link);
  width: 15px;
  height: 15px;
  margin-bottom: 2px;
}

#js-customColorButton:hover .icon-link {
  content: var(--icon-link-hover);
} */

.popup.mountingInfo .popup-box {
  padding: 30px;
  max-width: 45.75rem;
  max-height: 25rem;
  overflow: hidden;
}

.popup.bracketType .popup-box {
  padding: 20px;
  max-width: 25rem;
  max-height: 36rem;
  overflow: hidden;
}

@media only screen and (max-width: 767px) {

  .popup.mountingInfo .popup-box,
  .popup.bracketType .popup-box {
    max-width: 78vw;
    /* padding: 20px 15px; */
    overflow: hidden;
  }

  .popup.mountingInfo .popup-box {
    max-height: 60vh;
  }

  .popup.bracketType .popup-box {
    max-height: 72vh;
  }

  .bracketType .popup__image {
    height: 20rem !important;
    margin-top: 0 !important;
  }

  .popup__text {
    height: 112px;
    margin-top: 13px;
  }

  .popup__title {
    height: 3rem;
  }

}

.popup-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  background-color: #fff;
  width: 100%;
  z-index: 20;

  max-height: 100%;
  overflow: hidden;
}

.popup-item-mounting_info {
  display: none;
  flex-direction: column;
  align-items: center;
}

.popup-item-mounting_info.active {
  display: flex;
  overflow: hidden;
}

.popup__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-black, #000);
}

.popup__text {
  font-size: 15px;
  line-height: 130%;
  font-weight: 400;
  margin-top: 10px;
  color: var(--color-black, #000);
}

.popup__link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 400;
  margin-top: 10px;
  color: var(--color-brown, #997A4F);
  text-decoration: underline;
}

.popup__link-icon {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  background-image: var(--icon-arrow_right);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.popup__image {
  width: 100%;
  height: 200px;
  margin-top: 30px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.bracketType .popup__image {
  height: 552px;
}

.popup-sharing-title,
.popup-qr-title {
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-gray, #ECECEF);
}

.popup-sharing-window {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.popup-sharing-window input {
  outline: none;
  width: 100%;
  height: 48px;
  padding: 0 15px;
  background: #FFF;
  font-size: 18px;
  font-weight: 300;
  border: 1px solid var(--color-black, #000);
  border-radius: 10px;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .popup-sharing-window input {
    font-size: 14px;
    width: 190px;
  }

  .popup.share .popup-box {
    height: 10rem;
  }

  .popup.panBent .popup-box {
    height: 300px;
  }
}


.btn_copy {
  height: 48px;
  min-width: 80px;
  font-size: 14px;
}

.btn_copy .icon-copy {
  content: var(--icon-copy_w);
  margin-right: 0;
}

.btn:hover .icon-copy,
.btn:active .icon-copy {
  content: var(--icon-copy_b);
}

.popup-qr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.popup-qr-title {
  margin-bottom: 30px;
}

.popup-qr-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  background-color: #fff;
  border: 1px solid var(--color-black, #000);
  overflow: hidden;
}

.qrcode {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 130px;
}

.qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.popup-info-img {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
}

.popup-info-img img {
  width: 100%;
  height: 100%;
  object-position: center;
}

.popup-close {
  content: var(--icon-close);
  position: absolute;
  width: 20px;
  height: 20px;
  right: 16px;
  top: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-close:hover {
  transform: rotate(180deg) scale(1.2);
}

.popup-close.requestQuote {
  width: 26px;
  height: 26px;
  right: 40px;
  top: 40px;
}

.popup-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .popup-box {
    width: 90%;
    padding: 40px 20px;
  }

  .popup-sharing-window {
    width: 100%;
    /* margin: auto; */
    justify-content: space-between;
  }

  .popup-item-info {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .popup-info-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .popup-info-img img {
    object-fit: fill;
  }
}

/* modal */
.modal {
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  padding: 30px;
  z-index: 130;
}

.modal__wrapper {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: auto;
  background-color: var(--color-white, #fff);
  border: 1px solid var(--color-black, #000);
  border-radius: 20px;
  width: 97%;
  padding: 50px 50px;
  z-index: 130;
}

.modal.active {
  display: flex;
}

.modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(100%, 900px);
}

.btn_pdf {
  width: 100%;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 40px;
}

.btn_link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white, #fff);
  color: var(--color-black, #000);
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-black, #000);
  box-shadow: none;
  padding: 6px 0;
  outline: none;
  cursor: pointer;
  margin-right: auto;
  transition: all .3s ease;
}

.btn_link:hover {
  transform: translateX(-10px);
}

.btn_link .icon-arrow {
  content: var(--icon-arrow_left);
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.modal__close_icon {
  content: var(--icon-cross);
  position: absolute;
  width: 24px;
  height: 24px;
  right: 50px;
  top: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal__close_icon:hover {
  transform: rotate(180deg) scale(1.2);
}

.modal_overlay,
.modal_overlay2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 110;
}

.modal_overlay2 {
  z-index: 120;
}

.modal_overlay.active,
.modal_overlay2.active {
  display: block;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .modal {
    padding: 0;
  }

  .modal__wrapper {
    width: 100%;
    border-radius: 0;
    padding: 50px 15px;
  }


  .btn_pdf {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .btn_link {
    font-size: 16px;
  }

  .btn_link:hover {
    font-size: 16px;
  }

  .btn_link .icon-arrow {
    content: var(--icon-arrow_left);
    width: 18px;
    height: 18px;
    margin-right: 6px;
  }

  .modal__close_icon {
    width: 18px;
    height: 18px;
    right: 15px;
    top: 15px;
  }
}

/* ******************************** */

.popup-item.popup-item-requestQuote {
  text-align: justify !important;
}

.popup-item-requestQuote input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.popup-item-requestQuote .checkbox-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: var(--icon-checkbox_off);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
}

.popup-item-requestQuote input[type="checkbox"]:checked+.checkbox-icon {
  background-image: var(--icon-checkbox_on);
}

.popup-item-requestQuote .checkbox-item__label {
  display: flex;
  cursor: pointer;
}

.popup-item-requestQuote .checkbox-item__label-text {
  font-size: 14px;
  font-weight: 400;
  margin-left: 10px;
}

.popup-requestQuote-title {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.request-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 50px;
}

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

.form-group--full {
  grid-column: 1 / -1;
}

.form-inputs .form-group:last-child {
  grid-column: 1 / -1;
}

.form-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* .input-placeholder {
  font-size: 14px;
  color: #997A4F80;
  font-weight: 400;
  margin-right: 8px;
} */

.form-group-header label {
  font-size: 14px;
  font-weight: 400;
}

.form-group-header label .required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-group input.error {
  border-color: var(--color-error);
  background-color: #fff;
}

.form-group .error-message {
  color: var(--color-error);
  font-size: 12px;
  margin-top: 5px;
  min-height: 18px;
  display: block;
}

.checkbox__wrapper.error .checkbox-icon {
  border-color: var(--color-error);
}

.checkbox__wrapper .error-message {
  color: var(--color-error);
  font-size: 12px;
  margin-top: 5px;
  display: block;
  margin-left: 30px;
}

.form-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 15px;
  margin-bottom: 30px;
}

.form-group input {
  outline: none;
  width: (100%);
  height: 50px;
  padding: 0 20px;
  background: #FFF;
  font-size: 14px;
  transition: border-color 0.3s;
  font-weight: 300;
  border: 1px solid #997A4F80;
}

.form-inputs:last-child {
  width: 100%;
}

.form-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 30px;
}

.form-buttons .btn {
  margin: 0;
}

.form_lastName,
.form_firstName {
  display: inline-flex
}

#js-closeRequest,
#js-submitRequest {
  width: 385px;
  height: 50px;
}

@media only screen and (max-width: 560px) and (orientation: portrait) {
  .popup-item {
    height: 20rem;
  }

  .popup-item-requestQuote {
    top: 20px;
    right: 20px;
    height: 600px;
  }

  .popup-requestQuote-title {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 159%;
  }

  .popup.requestQuote .popup-box {
    max-width: 340px;
    padding: 10px;
  }

  .form-inputs {
    grid-template-columns: 1fr;
    gap: 1px !important;
    margin-bottom: 0px;
  }

  .form-group input {
    height: 45px;
  }

  .form-buttons {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 15px;
  }

  .form-group-header {
    flex-wrap: wrap;
    margin-bottom: 0px !important;
  }

  /* .input-placeholder {
    width: 100%;
    text-align: right;
    margin-top: -21px;
    font-size: 12px;
  } */

  .agree-label {
    height: 50px;
    margin-top: 10px;
  }

  #js-closeRequest,
  #js-submitRequest {
    width: 70dvw;
    margin: 0 auto;
  }

  .form-group .error-message {
    font-size: 8px;
    margin-top: 2px;
    min-height: 6px;
    display: block;
  }

  .checkbox__wrapper .error-message {
    font-size: 10px;
    margin-top: -10px;
  }

  .checkbox__wrapper.error {
    height: 60px;
  }

  .form-wrap {
    margin-bottom: 30px;
  }
}

.wix_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
}

.wix_overlay.active {
  display: block;
}

.wix_content {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  height: 100%;
  width: 100%;
}

.wix_overlay button {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

/* ******************************** */

.popup-item-inviting {
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

.popup-inviting-title--bold {
  font-weight: 700;
}

.popup-inviting-title {
  margin-bottom: 20px;
}

.popup-inviting-text {
  margin-bottom: 40px;
}

#js-closeInviting {
  height: 52px;
  width: 100%;
}

@media only screen and (max-width: 560px) and (orientation: portrait) {
  .popup-item-inviting {
    font-size: 14px;
  }
}


/* *********  GUI  ********* */

#gui-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  height: 100%;
}

#gui-container .main {
  height: calc(100% - 20px) !important;
  width: 385px !important;
}

#gui-container .cr.function {
  background-color: #c4c3c3;
  color: #494949;
  text-align: center;
}

#gui-container ul li:nth-child(2) {
  background-color: #24571f !important;
  color: #ffffff !important;

}

#gui-container ul li:nth-child(2n) {
  margin-bottom: 2px;
}

#gui-container .cr.color .property-name {
  width: 60%;
}

#gui-container .cr.color .c {
  width: 40%;
}

#gui-container .close-button.close-bottom {
  background-color: darkred;
}

.gui_prompt {
  display: flex;
  flex-direction: column;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: #d4c4af;
  box-shadow: 20px 10px 30px 0 rgba(3, 70, 70, 0.8);
}

.gui_prompt_text {
  font-size: 18px;
  padding: 10px 15px;
}

.gui_prompt_btn {
  font-size: 18px;
  height: 40px;
}