@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}
.mainParent {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.iframeBox {
  height: 100%;
  width: 100%;
  overflow:hidden;
  position: absolute;
  top: 0;
}
.configBox {
  position: absolute;
  bottom: 5%;
  width: 100%;
}

.tabContentDiv {
  background-color: #80808041;
  transition: all .4s linear;
  animation: fadeEffect 3s;
  width: 70%;
  margin: 0 auto;
  border-radius: 10px;
}
.tabContent {
  display: block;
  padding: 15px 30px;
  transition: all .4s linear;
  animation: fadeEffect 1s;
  position: relative;
}

.cardsBoxesDiv {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}
.cardBox {
  /* height: 90px; */
  width: 132px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 2px solid transparent;
}
.cardBox.active {
  border: 2px solid black;
}
.hairColorCardBox.active {
  border: 2px solid white;
}
.cardImgBox {
  height: 70px;
  width: 128px;
  position: relative;
}
.checkImg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cardImg {
  height: 100%;
  width: 100%;
}
.cardTxtStyle {
  background-color: white;
  color: black;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  font-size: 12px;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

#leftA, #leftB {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
#rightA, #rightB {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.pillowTabsContainer {
  /* background-color: white; */
  /* border: 2px solid #b1b0b0; */
  position: absolute;
  bottom: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 10px;
  width: 100%;
}
.pillowTab {
  border-radius: 10px;
  border: 2px solid rgb(204, 201, 201);
  padding: 10px;
  width: 200px;
  text-align: center;
  cursor: pointer;
  transition: 0.1s all linear;
}
.pillowTab p {
  margin: 0;
}
.pillowTab:hover {
  background-color: rgba(247, 247, 247, 0.788);
}
.enableHairColorBox {
  position: absolute;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.enableHairColor {
  display: block;
  position: relative;
  bottom: 3px;
  padding-left: 27px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.enableHairColor input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  display: none;
}

.checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #7e7c7c;
  border-radius: 50%;
}

.enableHairColor:hover input ~ .checkmark {
  background-color: #ccc;
}

.enableHairColor input:checked ~ .checkmark {
  background-color: #969696
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.enableHairColor input:checked ~ .checkmark:after {
  display: block;
}

.enableHairColor .checkmark:after {
 	top: 4px;
	left: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: white;
}

/* GHAZALI CSS START */
#woodPanelTab, #stickerColorTab, #plainColorTab, #patternColorTab, #topColorTab {
  display: none;
}
/* GHAZALI CSS END */

@media screen and (max-width: 768px) {
  .tabContentDiv {
    width: 100%;
  }
  .cardImgBox {
    width: 127px;
  }
  .tabContent {
    padding: 10px 30px 10px 30px;
  }
  .pillowTab {
    padding: 7px;
  }
  .configBox {
    width: 100% !important;
  }
}

@media screen and (max-width: 576px) {
  .pillowTab p {
    font-size: 0.8rem;
  }
  .configBox {
    bottom : 1%;
  }
  .mainParent {
    height: 90vh
  }
  .pillowTabsContainer {
    flex-wrap: wrap;
    bottom: 20%;
  }
  .pillowTab {
      width: 40%;
  }
  .enableHairColorBox {
    bottom: 14%;
    gap: 10px;
  }
  .enableHairColorBox p {
    font-size: 12px;
  }
  .enableHairColor {
    font-size: 12px;
    padding-left: 17px;
  }
  .enableHairColor .checkmark:after {
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
  }
  .checkmark {
    height: 12px;
    width: 12px;
  }
}

#woodTab {
    display: none;
}
