
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');

@font-face {
  font-family: 'PP Mori';
  src: url("fonts/PPMori-Extralight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'PP Mori';
  src: url("fonts/PPMori-ExtralightItalic.otf") format("opentype");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'PP Mori';
  src: url("fonts/PPMori-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PP Mori';
  src: url("fonts/PPMori-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'PP Mori';
  src: url("fonts/PPMori-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'PP Mori';
  src: url("fonts/PPMori-SemiBoldItalic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-size: 0;
  font-family: 'PP Mori', sans-serif;
  background: white;
  color: #333333;
}

a {
  color:#738f70;
}

p, li, .text {
  font-size: 14px;
}

h1 {
  color: #FFF;
  font-size: 32px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  text-transform: uppercase;
}

h2 {
  color: #333333;
  font-size: 44px;
  font-style: normal;
  font-weight: 200;
  text-transform: uppercase;
  
  margin: 0;
}

h3 {
  color: #333333;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  
  margin: 10px 0;
}

h4 {
  color: #333333;
  font-size: 12px;
  font-weight: 200;
  text-transform: uppercase;
  
  margin: 6px 0;
}

input[type=text], input[type=search] {
  color: #333333;
  background: #F5F5F5;
  border: 0;
  padding: 8px;
}

input[type=range] {
  height: 10px;
}

select {
  background: #F5F5F5;
  border: 0;
  padding: 8px;
}

.wrapper {
  overflow: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: white;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}
@media only screen and (max-width:820px) {
  .flex-column-tablet-only {
    display: flex;
    flex-direction: column;
  }
}
@media print {
  .flex-column-print-only {
    display: flex;
    flex-direction: column;
  }
}

.flex-grow {
  flex-grow: 1;
}

.button {
  background: #F5F5F5;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 8px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}
.button:hover {
  background: #DDD;
}

.button.primary {
}

.button.red {
  background: #8F7070;
  color: #FFF;
}

.spacer {
  flex-grow: 1;
}

.helper-overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.35);
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
}
.helper-overlay-skip {
  position: absolute;
  bottom: 50px;
  right: 200px;
  font-size: 22px;
  font-weight: bold;
  background: white;
  padding: 20px;
  border-radius: 50px;
}
.helper-overlay::after {
  content: "Next >";
  position: absolute;
  bottom: 50px;
  right: 50px;
  font-size: 22px;
  font-weight: bold;
  background: white;
  padding: 20px;
  border-radius: 50px;
}
.helper-overlay img {
  position: absolute;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.helper-overlay-1 {
  left: -30px;
  top: 25%;
}
.helper-overlay-2 {
  left: calc(50% - 210px);
  top :calc(50% - 210px + 25px);
}
.helper-overlay-3 {
  right: -30px;
  top: 20%;
}
.helper-overlay-4 {
  right: 250px;
  top: 0;
}

.editor-2d-menu {
  height: 130px;
  background: linear-gradient(to right, #FFFCEB, #FFEAA9);
  align-items: end;
  padding: 6px 12px;
  gap: 5px;
}
.editor-2d-menu .button {
  background: transparent;
  text-transform: none;
  border-radius: 4px;
}
.editor-2d-menu .button:hover {
  background: rgba(255,255,255,0.5);
}
.editor-2d-menu .button.primary {
  color: #FFEAA9;
  background: #333333;
}
.editor-2d-menu .button.primary:hover {
  background: #515151;
}
.editor-2d-container {
  min-height: 0;
  flex-grow: 1;
  position: relative;
}

.editor-2d-product-selector {
  height: 100%;
  position: relative;
  width: 275px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mode-3d .editor-2d-product-selector {
  display: none;
}
.editor-2d-product-selector h3 {
  padding: 0 10px;
}

.editor-2d-scroll-sticky {
  padding: 10px;
}
.editor-2d-scroll-sticky h3 {
  color: #333333;
  margin: 8px 0;
}
.editor-2d-scroll-search-bar-container {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 5px;
  flex-direction: column;
}
.editor-2d-scroll-search-bar-container img {
  position: absolute;
  right: 12px;
  height: 20px;
  pointer-events: none;
}

.editor-2d-product-scroll {
  padding: 10px;
  height: 0;
  flex-grow: 1;
  overflow-y: scroll;
  /*scrollbar-color: #ffd767 #F5F5F5;
  scrollbar-width: 15px;*/
}

.editor-2d-scroll-product {
  position: relative;
  margin: 6px 0;
  cursor: pointer;
  padding: 2px;
  border: 3px solid transparent;
  transition: opacity 0.2s ease;
}
.editor-2d-scroll-product:hover {
  opacity: 1;
}
.editor-2d-scroll-product.selected {
  border-color: #f5a46e;
  opacity: 1;
}

.editor-2d-product-image {
  width: 100%;
  background: #F5F5F5;
  height: 120px;
  object-fit: cover;
}

.editor-2d-product-name {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
  background: #F5F5F5;
  padding: 1px 2px 0 0;
}

.editor-2d-grid-container { 
  display: flex;
  flex-grow: 1;
  background-color: #F6F6F6;
  position: relative;
}
.mode-3d .editor-2d-grid-container {
  display: none;
}
.editor-2d-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  display: flex;
  /*border: 1px solid #5c5c5c;*/
  color: #5c5c5c;
  padding: 4px 0;
}
.editor-2d-zoom > div {
  padding: 0 16px;
  cursor: pointer;
}
.editor-2d-zoom > div:first-child {
  border-right: 1px solid #5c5c5c;
}

.editor-2d-grid-helpers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #aaa;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
}
.editor-2d-grid-helpers > p {
  margin: 0;
}
.editor-2d-grid-helpers img {
  vertical-align: middle;
  height: 80px;
}

.editor-2d-grid { 
  display: flex;
  flex-grow: 1;
  touch-action: none;
}
.editor-2d-grid .selected .line-rect {
  fill: #c5c5c5;
}

.editor-2d-3d {
  width: 0;
  flex-grow: 1;
  display: none;
  touch-action: none;
}
.mode-3d .editor-2d-3d {
  display: block;
  position: relative;
}
.editor-2d-envs {
  position: absolute;
  left: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.editor-2d-envs h4 {
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  margin: 20px 0;
}
.editor-2d-envs .editor-2d-env {
  font-size: 18px;
  color: white;
  cursor: pointer;
  border: 1px solid white;
  margin-right: 10px;
  height: 48px;
  width: 48px;
}
.editor-2d-env-1 {
  background: #755a40;
}
.editor-2d-env-2 {
  background: #9d9c9c;
}
.editor-2d-env-3 {
  background: #484645;
}

.editor-2d-right-panel {
  background: #FFFFFF;
  width: 275px;
  overflow-y: scroll;
  /*scrollbar-color: #738F70 #F8F8F8;
  scrollbar-width: 15px;*/
}

.editor-2d-change-view {
  position: relative;
}

.editor-2d-change-view > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.mode-3d .editor-2d-change-view > img {
  object-fit: contain;
}

.editor-2d-change-view > .button {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}

.editor-2d-selection {
  margin: 16px;
}

.editor-2d-option {
  padding: 8px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.editor-2d-option select {
  width: 50%;
  background: #F5F5F5;
  border: 0;
  padding: 8px;
}
.editor-2d-option-color {
  flex-direction: column;
  align-items: start;
}
.editor-2d-option .editor-2d-option-color-row {
  display: flex;
  flex-wrap: wrap;
}
.editor-2d-option .editor-2d-option-color-row > div{
  width: 16px;
  height: 16px;
  border: 2px solid #959595;
  border-radius: 16px;
  margin: 4px;
  opacity: 0.5;
  cursor: pointer;
}

.editor-2d-option .editor-2d-option-color-row > div.selected {
  opacity: 1;
}
.editor-2d-option .editor-2d-option-color-row > p{
  width: 100%;
}
