@font-face {
  font-family: "Medium";
  src: url("fonts/MediumRegular.woff2") format("woff2"),
    url("fonts/MediumRegular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Menlo';
  src: url('fonts/Menlo-Regular.woff2') format('woff2'),
    url('fonts/Menlo-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Menlo';
  src: url('fonts/Menlo-Bold.woff2') format('woff2'),
    url('fonts/Menlo-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono';
  src: url("fonts/IkiMono-Regular.woff2") format("woff2"),
    url("fonts/IkiMono-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono';
  src: url("fonts/IkiMono-Bold.woff2") format("woff2"),
    url("fonts/IkiMono-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono';
  src: url("fonts/IkiMono-Light.woff2") format("woff2"),
    url("fonts/IkiMono-Light.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
      url('fonts/SpaceGrotesk-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Transducer";
  src: url("fonts/Transducer-Extended.woff2") format("woff2"),
    url("fonts/Transducer-Extended.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.woff2") format("woff2"),
    url("fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono';
  src: url('fonts/IkiMono-Bold.woff2') format('woff2'),
      url('fonts/IkiMono-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono';
  src: url('fonts/IkiMono-Regular.woff2') format('woff2'),
      url('fonts/IkiMono-Regular.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono';
  src: url('fonts/IkiMono-Light.woff2') format('woff2'),
      url('fonts/IkiMono-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iki Mono ExtraExpanded';
  src: url('fonts/IkiMono-ExtraExpandedBold.woff2') format('woff2'),
      url('fonts/IkiMono-ExtraExpandedBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nort';
  src: url('fonts/Nort.woff2') format('woff2'),
      url('fonts/Nort.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nort';
  src: url('fonts/Nort-Bold.woff2') format('woff2'),
      url('fonts/Nort-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nort';
  src: url('fonts/Nort-Medium.woff2') format('woff2'),
      url('fonts/Nort-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nort';
  src: url('fonts/Nort-Light.woff2') format('woff2'),
      url('fonts/Nort-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

button{
  outline: none !important;
}

.face-shape-info {
  text-align: center;
  max-width: 612px;
  margin-left: auto;
  margin-right: auto;
  font-weight: bold;
}

.face-shape-info p {
  margin-bottom: 0;
}

.header .icon-back {
  top: 25px;
  left: 25px;
}

.icon-back{
  position: absolute;
    top: 25px;
    left: 25px;
    width: 7%;
    cursor: pointer;
}
.button-small {
    padding: 7px 20px;
    font-size: 21px;
}

#face-scan-container .ellipse {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 57.5%;
  max-width: 385px;
  z-index: 1;
}


.button-inline-wrapper{
  /* position: absolute; */
  top: 89.5%;
  left: 50%;
  /* transform: translateX(-50%); */
}


.kahf-btn {
  padding: 10px 30px;
  min-width: 174px;
  font-size: 1.2rem;
  border-radius: 0;
  text-transform: uppercase;
  border: none;
  max-width: unset;
  white-space: nowrap;
  text-decoration: none;
  /* font-weight: 600; */
  /* border-radius: 0.82rem; */
  cursor: pointer;
  font-family: "Iki Mono";
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-btn {
  position: absolute;
  left: 30px;
  top: 50px;
  min-width: unset;
}

.kahf-btn:hover {
  /* background: #333; */
  /* transform: translateY(-3px); */
  /* box-shadow: 0 6px 20px rgba(0,0,0,0.15); */
}

.kahf-btn-accent {
  color: #000 !important;
  background-color: #C3F232;
  box-shadow: 0px 4px 8px 0px #2B2B2B21;
}

.kahf-btn-secondary {
  color: #fff;
  backdrop-filter: blur(24px);
  box-shadow: 0px -9px 67px -1px #2b2b2b40 inset;
  background-color: #2b2b2b40;
}

/* .kahf-btn-accent:hover {
  background: linear-gradient(90deg, #0a7229, var(--kahf-accent));
} */

.kahf-btn.disabled {
  border: 1px solid transparent;
  background-color: #C8C8C8;
  color: #7E7E7E !important;
}

.kahf-btn.disabled > img {
  opacity: 0.5
}

* {
  scroll-behavior: smooth;
}

*::placeholder {
  color: #3c3c3c31 !important;
  opacity: 1;
}

*::-webkit-scrollbar {
  width: 2px;
}

*::-webkit-scrollbar-track {
  background-color: transparent !important;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(94, 94, 94, 0.384);
  border-radius: 4px;
}

.form-control {
  background-color: #fbfbfb;
  border: 0;
  font-size: 15px;
  color: #000;
  padding: 13px 22px;
  color: #000;
  box-shadow: unset !important;
}

.input-group-text {
  font-size: 14px;
  padding: 0 13px;
  background-color: #fff;
  border-radius: 16px 0 0 16px;
  border: 0;
  background-image: url(../images/border-input-group.png);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: auto 90%;
  border: none;
  z-index: 2;
  position: relative;
}

.error-validation {
  color: #c41818;
  font-size: 15px;
  line-height: 13px;
  display: none;
  margin-top: 12px;
  margin-bottom: 12px;
}

.input-wrapper {
  margin-bottom: 26px;
  color: #fff;
}

.input-wrapper a{
  color: #fff;
}

.form-label {
  font-size: 19px;
}

input[type="checkbox"] {
  margin-right: 7px;
  min-width: 15px;
  min-height: 15px;
  transform: translateY(2px);
}

label.checkbox {
  font-size: 13px;
}

.input-group
  > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
    .valid-feedback
  ):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -2px;
}

.card-intro{
  color: #000;
  border: 1px solid #8fb701;
  box-shadow: 0px 0px 0px 1px #8eb600;
  box-shadow: 0px 3px 4px 0px #a2cf04;
  box-shadow: 0px 1px 0px 0px #ffffff54 inset;
  background: #c7ff02;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 25px;
  width: fit-content;
  border-radius: 10px;
}

.card-intro span{
  font-size: 22px;
}

.home-tagline{
  width: 35%;
  top: 11%;
  position: absolute;
  right: 11px;
}

/* #button-scan-qr {
  position: absolute;
  top: 73.5%;
    right: 18%;
}
#button-fill-form {
  position: absolute;
  top: 83.5%;
    right: 18%;
} */

.button-start-wrapper {
  position: absolute;
  top: 83.5%;
}

#page-form{
  background-size: 100% 100%;
  background-position: top left;
  background-repeat: repeat-y;
}

.top-intro-wrapper{
  container-type: inline-size;
}

/* .top-intro-wrapper span{
  background-color: #BDFF3D;
  padding: 1px 5px;
} */

.page-stye-1 .top-intro-wrapper {
  position: static;
  width: 100%;
  font-size: 33px;
}

.page-bg-3 .top-intro-wrapper{
  top: 19.5%;
}

.page-bg-4 .top-intro-wrapper{
  top: 11.5%;
}

.page-stye-1 .top-intro-wrapper h2 {
  font-size: 4.5cqi;
  /* font-weight: 600; */
  margin-bottom: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-stye-1 .top-intro-wrapper p{
  font-size: 3cqi;
}

.h4.page-intro-text.mb-3 {
  width: 91%;
  max-width: 570px;
}

#submit-form{
  position: absolute;
  top: 83.5%;
  left: 42%;
  transform: translateX(-50%);
}

.button-question{
  position: static;
  top: 79%;
  left: 50%;
  /* transform: translateX(-50%); */
  display: table;
}

.question-wrapper.flex-row .question-list{
  width: calc(50% - 20px);
}

.corner-box{
  margin-top: 3.2%;
  margin-bottom: 10px;
}

#face-scan-skin{
  background-image: url("../images/bg-scan.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: repeat-y;
}

.page-question .top-intro-wrapper{
  text-align: center;
  margin-top: 20px;
}

.image-top-right{
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
}

.image-bottom-right{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
}

.logo-top-right{
  position: absolute;
  right: 2%;
  top: 0%;
  width: 22%;
}
/* 
#register-form {
  background-image: url("../images/regist-bg.png");
  background-size: 100% 100%;
  background-position: top right;
  background-repeat: repeat-y;
} */

.logo-regist {
  position: absolute;
  width: 45%;
  height: auto;
  right: 0;
  top: 0.5%;
}

.title .title-cover {
  width: 42.5%;
  position: absolute;
  top: 24.5%;
  left: 17.5%;
}

/* .title h3 {
  font-size: 17px;
  position: absolute;
  top: 32%;
  left: 14%;
  display: inline-block;
  padding: 5px 10px;
} */

label {
  display: block;
  margin: 20px 0px 5px;
}

/* button#regist-submit-btn {
  position: absolute;
  bottom: 10%;
  left: 40%;
} */

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* .checkbox-item a {
  text-decoration: underline;
  color: #000;
} */

/* #face-scan-hair {
  background-image: url("../images/scan-bg.png");
  background-size: 100% 100%;
  background-position: top right;
  background-repeat: repeat-y;
} */

.face-scan .header .logo {
  width: 50%;
  position: absolute;
  top: 316%;
  left: 50%;
}

.face-scan .header .logo-decode {
  width: 15%;
  position: absolute;
  top: -2%;
  left: 83%;
}

.greeting {
  font-size: 25px;
  font-weight: bold;
  margin: 18px 0 5px -55px;
  /* background: #c6ff00; */
  width: 110%;
  color: #fff;
}

.desc {
    font-size: 9px;
    color: #fff;
    max-width: 570px;
    margin: 10px 0 0 -30px;
    white-space: nowrap;
    position: relative;
}

#scan-btn {
  position: absolute;
  top: 85.5%;
  left: 50%;
  transform: translateX(-50%);
}

/* #page-question-hair {
  background-image: url("../images/hair-type-bg.png");
  background-size: 100% 100%;
  background-position: top right;
  background-repeat: repeat-y;
} */

a {
  color: #000;
  text-decoration: underline;
}

.question .logo-decode {
  width: 15%;
  position: absolute;
  top: 92%;
  left: 83%;
}

.question .logo {
  width: 45%;
  position: absolute;
  top: 65%;
  left: 0%;
}

/* .question h2 {
  font-size: 50px;
  font-weight: bold;
  position: absolute;
  top: 14.6%;
  left: 45%;
} */

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Container */
#product-hair-screen .container {
  max-width: 768px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #ccc;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
}

/* Header */
#product-hair-screen header {
  background: #2C2C2C;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#product-hair-screen header h1 {
  font-size: 18px;
  text-align: center;
  flex: 1;
}

/* Main content */
#product-hair-screen .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 10px;
}

/* Left: Hairstyles */
#product-hair-screen .hairstyles {
  background: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

#product-hair-screen .hairstyles h3 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px;
  margin-bottom: 10px;
}

#product-hair-screen .style-card {
  text-align: center;
  margin-bottom: 15px;
}

#product-hair-screen .style-card img {
  width: 100px;
  height: 120px;
  border-radius: 5px;
}

#product-hair-screen .style-card p {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: bold;
}

/* Right: Info */
#product-hair-screen .info {
  /* padding: 15px; */
  /* display: grid; */
  grid-template-rows: repeat(3, auto) 1fr;
  /* gap: 10px; */
}

#product-hair-screen .box {
  padding: 10px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#product-hair-screen .face-shape {
  background: #fff;
  /* position: relative; */
  top: 13.5%;
  left: 31.7%;
  text-align: center;
}

#product-hair-screen .hair-type {
  background: #fff;
  position: relative;
  /* top: 13.5%;
  right: -11.7%; */
  text-align: center;
}
#product-hair-screen .hair-type img {
    width: 180px;
    /* margin: -15% 0 0 45%; */
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#product-hair-screen .products {
  background: #000;
  color: #fff;
  padding: 5px;
  text-align: center;
  font-weight: bold;
}

#product-hair-screen .product-box {
  background: #3A4D46;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  margin-bottom: 10px;
}

#product-hair-screen .product-box img {
  width: 80px;
}

/* Footer */
#product-hair-screen footer {
  display: flex;
  border-top: 2px solid #ccc;
}

#product-hair-screen footer button {
  flex: 1;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

#product-hair-screen .finish {
  background: #D9F148;
}

#product-hair-screen .share {
  background: #D9F148;
  border-left: 2px solid #bbb;
}

/* QR Modal */
/* #product-hair-screen .qr-modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.6); 
} */
.model-img-wrapper img,
.model-img-wrapper canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.3;
  transform: translateY(-20px);
  /* transform: scaleY(0.9); */
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin-top: 80px;
  position: relative;
  /* overflow: hidden; */
  width: 100%;
  left: -28%;
}

.carousel-window {
  width: 240px; /* sesuai 1 item + margin */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  gap: 50px;
}

.model-img-wrapper {
      width: 180px;
    height: 240px;
  margin: 0 8px;
  border-radius: 16px;
  transition: all 0.4s ease;
  flex-shrink: 0;
  text-align: center;
  filter: blur(2px) brightness(0.7);
  opacity: 0.6;
}

/* aktif (tengah) */
.model-img-wrapper.active {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
  border: 3px solid #2196f3;
}

@media(min-width: 1024px) and (orientation: portrait) and (hover: none){
  body{
    max-width: 1024px;
    margin: 0 auto;
  }
}
@media(max-width: 820px) and (min-height: 1024px) and (orientation: portrait) and (hover: none){
  body{
    max-width: unset;
  }
}


@media(min-width: 1024px) and (orientation: landscape) and (hover: hover){
  body{
    max-width: 720px;
    margin: 0 auto;
  }
}
