@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;
}

:root {
  --kahf-primary: rgb(0, 0, 0);
  --kahf-secondary: #000000;
  --kahf-accent: #C7FF02;
  --kahf-light: #ffffff;
  --kahf-dark: #121212;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.36;
}

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

html {
  height: 100%;
  width: 100%;
  /* transform: translate(0, 0); */
  background-color: #000;
  scroll-behavior: none;
}

body::after{
  content: '';
  background-image: url('../images/bg-body-bottom.png');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  position: absolute;
  aspect-ratio: calc(1620/659);
  bottom: 0;
  width: 100%;
  left: 0;
}

body {
  font-family: 'Iki Mono';
  background-color: #E8E8E8;
  color: var(--kahf-primary);
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background-image: url('../images/bg-body.png');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat-y;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 auto;
  position: relative;
}

.h1,
.h2,
.h3,
.h4,
.h5 {
  
}

a{
  cursor: pointer;
}

.splash-loading {
  position: absolute;
  top: 75.5%;
  left: 54%;
  width: 42%;
  aspect-ratio: 1;
}

.splash-loading img:first-child {
  animation: spin 10s linear infinite;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 8px;
}

.splash-loading .bg-load {
  position: absolute;
  width: 100%;
}

.nav-link {
  color: #000;
  background-color: #D9D9D9;
  border-color: #aeaeae;
  box-shadow: 0px 3px 4px 0px #AEAEAE;
  padding: 4px 20px;
  /* border: 1px solid #AEAEAE !important; */
  border-radius: 0 !important;
}

.splash-image-wrapper {
  /* border: 4px solid; */
  /* border-image-source: linear-gradient(167.31deg, #7E936D 35.85%, #43563D 108.55%); */
  width: 80%;
  /* background-image: url('../images/box-gradient.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat; */
  padding: 44px;
  margin: 264px auto 30px auto;
  max-width: 552px;
}

.splash-image-wrapper img {
  width: 100%;
  height: auto;
  margin-top: -68%;
  text-align: center;
  margin-bottom: 30px;
}

.splash-image-wrapper h2 {
  font-size: 2rem;
  font-family: "Fira Code", monospace;
  text-align: center;
}

.splash-continue {
  font-family: "Fira Code", monospace;
  font-size: 18px;
}

.splash-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.splash-loading span {
  font-size: 14px;
}

.kahf-container {
  max-width: 100%;
  width: 100%;
  padding: 0;
  /* background-color: #000; */
  height: 100%;
  position: relative;
}

.kahf-screen {
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  position: relative;
  overflow: hidden;
  transform: translate(0, 0);
  z-index: 1;
}

#page-scan-qr {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

#splash-screen {
  pointer-events: none;
}


#splash-screen .logo {
  margin-bottom: 40px;
}

.home-page {
  /* background-image: url('../images/bg-home-skin.png'); */
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 0 !important;
}

.home-page .kv {
  width: 67.5%;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
}

.button-start-wrapper {
  top: 79.5%;
  left: 51%;
  width: 50%;
  flex-direction: column !important;
  align-items: center;
  gap: 15px !important;
}

.kahf-btn {
  padding: 9px 24px;
  min-width: 174px;
  font-size: 1.3rem;
  border-radius: 0;
  text-transform: uppercase;
}

.kahf-btn>img {
  width: 20px;
}

.button-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.kahf-btn-accent.btn-yellow {
  color: #000 !important;
  background-color: #C3F232 !important;
}

.kahf-btn-white {
  background-color: #fff !important;
  color: #000 !important;
}

.wrapper-captured {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.wrapper-captured img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.wrapper-captured.captured-right img {
  width: 87%;
  height: unset;
  margin-top: -38px;
}

.kahf-screen.hidden {
  display: none;
}

.kahf-title {
  font-family: "Fira Code", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  margin-top: 36px;
  color: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 1px;
}

.kahf-subtitle {
  font-family: "Fira Code", monospace;
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 600px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.title-2 {
  font-size: 2.2rem;
  font-family: "Fira Code", monospace;
}

.title-3 {
  font-size: 1.3rem;
  font-family: "Fira Code", monospace;
}

.landing-image {
  width: 90%;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.input-wrapper {
  margin-bottom: 0;
  color: #000;
}

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

#form {
  width: 100%;
  height: 90%;
  /* background-color: rgba(255, 255, 255, 0.74); */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.popup {
  border-radius: 27px;
  overflow: hidden;
  width: 80%;
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-header {
  background-color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 0;
  font-size: 22px;
  text-align: center;
}

.popup-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: 'Iki Mono';
}

.popup-body{
  font-size: 15px;
}

.popup-body ul{
  margin-top: 7px;
}

.policy-content{
  font-family: 'Nort';
}

.policy-content h3{
  margin-top: 30px;
}

.popup-gradient-body {
  background: linear-gradient(32deg, #cfd4d8 8%, #e4e8da 74%, #dfe8b6 100%)
}

.text-dark{
  color: #000 !important;
}

#face-scan-skin #face-scan-container {
  background: unset;
  max-width: unset;
  border-radius: 22px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* max-width: 540px; */
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#face-scan-container>canvas {
  height: 118% !important;
  width: unset !important;
  z-index: 1 !important;
  opacity: 0 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity 0.3s;
}

.face-scanner-line {
  background: linear-gradient(180deg, #C3F232 0%, rgba(113, 140, 29, 0) 100%);
  width: 85%;
  aspect-ratio: calc(686 / 166);
  opacity: 0;
  animation: scan 5s infinite;
  top: 26%;
  border-top: 2px solid #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
}


#face-scan-container.scanning>canvas {
  opacity: 1;
}

#face-scan-container>video {
  height: 118% !important;
  width: unset !important;
  z-index: unset !important;
  border-radius: 2.48rem;
  top: 50% !important;
  left: 50% !important;
  transform: scaleX(-1) translate(50%, -50%) !important;
}


#scan-btn {
  position: absolute;
  /* margin: 0 auto; */
  display: table;
  /* top: 85.5%; */
  left: 50%;
  top: unset;
  bottom: 12.5%;
  transform: unset;
  z-index: 2;
  transform: translateX(-50%);
}

.corner-box-scan,
.corner-box-result {
  position: relative;
  z-index: 3;
}

/* #face-scan-container.scanning > video{
opacity: 0;
}  */

.face-scan-icon {
  font-size: 4rem;
  color: #999;
}

.scan-animation {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  animation: scan 3s infinite;
  z-index: 2;
}

@keyframes scan {
  0% {
    top: 26%;
  }

  50% {
    top: 65%;
  }

  100% {
    top: 26%;
  }
}

.scan-animation {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  animation: scan 3s infinite;
  opacity: 0.7;
}


.header-v4 {
  width: 100%;
  aspect-ratio: calc(765/116);
}

/* New scan helper */
.scan-helper-container {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 10px;
  transition: opacity 0.5s ease;
}

.scan-helper-text {
  color: white;
  font-size: 1rem;
  
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  /* animation: pulse 1.5s infinite; */
}

.scan-progress {
  width: 80%;
  height: 6px;
  background: #f7f7f7;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 1rem;
}

#scan-progress {
  height: 100%;
  border-radius: 25px;
  background: var(--kahf-accent) !important;
  width: 0%;
  border: 0;
  transition: width 0.5s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.face-shape-card {
  /* background: white; */
  /* border-radius: 10px; */
  padding: 2rem;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
  text-align: center;
  max-width: 690px;
  margin: 0 auto;
}

.shape-name {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 11px 10px;
  position: absolute;
  width: 101%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 15px;
  border: 1px solid #889d77;
  backdrop-filter: blur(5px);
  background-color: #0000004a;
  text-transform: uppercase;
}

.shape-title {
  /* margin-bottom: 20px; */
  font-size: 24px;
  font-family: "Fira Code", monospace;
}

.shape-desc {
  line-height: 1.6;
  font-size: 1.1rem;
}

.owl-carousel .owl-stage-outer {
  display: flex;
  justify-content: center;
  overflow: visible;
  /* overflow-x: hidden; */
}

/* Hairstyle grid */
.hairstyle-grid {
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); */
  /* gap: 1.2rem;
  max-width: 800px;
 overflow-x: auto; */
  width: 100%;
  margin: 2rem auto 38px auto;
}

.hairstyle-grid-inner {
  /* white-space: nowrap;
display: flex;
gap: 10px;
justify-content: center; */
}

.hairstyle-item {
  background: white;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 148px;
  aspect-ratio: 1;
  border-radius: 15px;
  border: 1px solid #889d77;
  backdrop-filter: blur(12px);
  background-color: #0000004a;
}

.hairstyle-item.active {
  border: 2px solid #fff;
}


.hairstyle-item img {
  width: 68% !important;
  margin: -30% auto 0 auto;
}

.hairstyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairstyle-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-transform: uppercase;
  /* background: rgba(0,0,0,0.7); */
  color: white;
  padding: 8px;
  font-family: "Fira Code", monospace;
  font-size: 0.85rem;
  text-align: center;
}

.photo-image-recommendation {
  border-radius: 37px;
  border: 1px solid #889d77;
  backdrop-filter: blur(12px);
  background-color: #0000004a;
}


.photo-image-recommendation img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product card */
.product-card {
  /* background: white; */
  margin: 2rem auto;
}

.shape-label {
  font-size: 1.3rem;
  position: absolute;
  top: 2%;
  left: 5%;
}

.shape-result {
  font-family: "Fira Code", monospace;
  font-size: 3.8rem;
  position: absolute;
  bottom: 6%;
  right: 6%;
}

.product-header {
  /* background: linear-gradient(90deg, var(--kahf-primary), #333); */
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.header-form {}

.scan-animation {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  display: none;
  animation: scan 3s infinite;
  opacity: 0.7;
}

/* Scene container */
.scene-container {
  width: 100%;
  max-width: 600px;
  height: 450px;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #889d77;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene-container model-viewer {
  width: 100%;
  height: 100%;
}

.photo-image-recommendation {
  border: 1px solid #889d77;
  backdrop-filter: blur(12px);
  background-color: #0000004a;
  width: 64%;
}

.copy {
  position: absolute;
  bottom: 20px;
  font-size: 0.7rem;
  text-align: center;
}

/* #bauman_result_intro {
  padding: 14px;
} */

.rotate-icon {
  width: 57px;
  height: auto;
  position: absolute;
  z-index: 2;
  bottom: 13%;
  right: 6%;
}

.product-name {
  transform: rotate(-90deg) translate(-9%, -293%);
  font-family: "Fira Code", monospace;
  font-size: 1.3rem;
}

.product-wrapper {
  width: 36%;
  justify-content: center;
}

.products-wrapper-twoside {
  background-color: #fff;
  border-radius: 10px;
}

.product-side {
  gap: 12px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.product-left {
  flex: 0.55;
  font-size: 13px;
}


.product-right {
  flex: 0.45;
}

.product-side .product {
  width: calc(50% - 12px) !important;
}

.product-side .product .image-product-section{
  background: linear-gradient(180deg, #fff 73.52%, #3E893E 159.16%) !important;
}

.product-side:not(:last-child) {
  border-right: 1px solid #fff;
}

.product-side h2 {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: bold;
}

.product-right-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  /* align-items: center; */
}

.product-item-inner {
  border: 1px solid #889d77;
  backdrop-filter: blur(12px);
  background-color: #0000004a;
  border-radius: 44px;
  margin-bottom: 10px;
  padding: 0 0 0 26px;
  aspect-ratio: calc(6/4);
}

.product-item-inner img {
  transform: translate(13.5%, 0%);
  width: 100%;
  height: 140%;
  object-fit: contain;
  margin-top: -25%;
}

.scene-container .scene-name {
  position: absolute;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Fira Code", monospace;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 1.5rem;
  border: 1px solid #889d77;
  backdrop-filter: blur(12px);
  z-index: 1;
  background-color: #0000004a;
  text-align: center;
  bottom: 0;
}

#renderCanvas {
  width: 100%;
  height: 100%;
}

.product-body {
  /* padding: 2rem; */
}

.hairstyle-img model-viewer {
  width: 100% !important;
  height: unset !important;
  aspect-ratio: calc(144/136);
  /* display: none; */
  margin: -25% auto 0 auto;
}

.product-details {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.product-image {
  width: 120px;
  height: 120px;
  background: #f5f5f5;
  border-radius: 12px;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--kahf-accent);
}

.product-info {
  flex: 1;
}

.product-title {
  font-size: 1.5rem;
  
  margin-bottom: 0.5rem;
}

.product-desc {
  color: #666;
  line-height: 1.6;
}

.product-item {
  aspect-ratio: calc(1);
  margin: 16px;
}

.product p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  width: 100%;
  padding: 8px 3px;
  background-color: #fff;
  font-family: 'Nort';
}

/* Footer */
.kahf-footer {
  background: var(--kahf-primary);
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

.skin-result-content {
  margin-top: 80%;
}

.skin-result-content h2 {
  font-size: 30px;
  font-weight: bold;
}

.skin-result-content h4 {
  font-size: 21px;
  font-weight: bold;
}

.image-result-skin-wrapper {
  border-radius: 15px;
  width: 44%;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 1;
}

.image-result-skin-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#button-to-blemishes {
  position: absolute;
  top: 89.5%;
  left: 50%;
  transform: translateX(-50%);
}

#button-backto-skin-condition {
  position: absolute;
  top: 89.5%;
  left: 50%;
  transform: translateX(-50%);
}

#button-to-take-selfie {
  position: absolute;
  top: 89.5%;
  left: 50%;
  transform: translateX(-50%);
}

#button-to-morning {
  position: absolute;
  top: 89.5%;
  left: 50%;
  transform: translateX(-50%);
}

#button-to-result-question {
  position: absolute;
  top: 89.5%;
  left: 50%;
  transform: translateX(-50%);
}

.corner-box {
  position: relative;
  width: 80%;
  background: #2b2b2bc7;
  /* dark inner box */
  margin-left: auto;
  color: #fff;
  margin-right: auto;
  padding: 17px 20px;
  font-size: 15px;
  position: relative;
  text-align: center;
  border: 1px solid #fff;
  font-weight: 100;
  text-transform: uppercase;
}

.corner-box span{
  font-size: 18px;
}

.corner-box img {
  width: 24px;
  margin: 0 auto 14px auto;
}

/* corner brackets (4 spans) */
.corner {
  position: absolute;
  width: 14px;
  /* length of the bracket arms */
  height: 14px;
  pointer-events: none;
}

/* top-left: show top + left borders */
.corner.tl {
  top: -4px;
  /* align with inner border thickness */
  left: -4px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  border-right: 0;
  border-bottom: 0;
}

/* top-right: top + right */
.corner.tr {
  top: -4px;
  right: -4px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  border-left: 0;
  border-bottom: 0;
}

/* bottom-left: bottom + left */
.corner.bl {
  bottom: -4px;
  left: -4px;
  border-bottom: 4px solid #fff;
  border-left: 4px solid #fff;
  border-top: 0;
  border-right: 0;
}

/* bottom-right: bottom + right */
.corner.br {
  bottom: -4px;
  right: -4px;
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
  border-top: 0;
  border-left: 0;
}

.question-wrapper {
  /* position: absolute; */
  width: 84%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  justify-content: space-evenly;
  align-items: center;
}

.question-list {
  position: relative;
  cursor: pointer;
  /* max-width: 256px; */
}

.question-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  cursor: pointer;
  z-index: 3;
}

.question-wrapper.question-text-container {
  /* max-width: 430px; */
}

.question-list.question-text {
  font-size: 17px;
  border-radius: 10px;
  padding: 15px 25px;
  text-align: center;
  width: 100%;
  display: flex;
  /* aspect-ratio: calc(950/98); */
  line-height: 1.4;
  justify-content: center;
  background-color: #fff;
  text-transform: uppercase;
  align-items: center;
  transform: translate(0, 0);
  color: #000 !important;
  border: 3px solid transparent;
  transition: border 0.3s;
}

.question-list.question-text.question-selected,
.question-list.question-text.selected {
  border: 3px solid #A5D428
}

/* .question-list.question-text::after {
  content: "";
  background-image: url('../images/bg-question.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
} */

/* .question-list.question-selected::after {
  background-image: url('../images/bg-question-active.png');
} */

.question-wrapper.question-text-container-short .question-list.question-text {
  /* aspect-ratio: calc(352/112); */
  /* padding: 15px 20px; */
}

/* .question-wrapper.question-text-container-short .question-list.question-text::after {
  content: "";
  background-image: url('../images/bg-question-short.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
} */

/* .question-wrapper.question-text-container-short .question-list.question-selected::after {
  background-image: url('../images/bg-question-short-active.png');
} */

#icon-back {
  position: static;
  transform: unset !important;
}

.question-square-wrapper {
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.question-square-wrapper .question-list {
  width: calc(30% - 20px) !important;
  aspect-ratio: calc(311/345);
  width: calc(30% - 32px) !important;
  position: relative;
  border-radius: clamp(5px, 1.5vw, 10px);
  border: 3px solid transparent;
  overflow: hidden;
}


.question-square-wrapper .question-list p {
  font-size: 12px;
  width: 100%;
  text-transform: uppercase;
  background-color: #fff;
  line-height: 1.2;
  min-height: 56px;

  margin-bottom: 0;
  position: absolute;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  bottom: 0;
  padding: 10px 10px;
  z-index: 2;
}

/* .question-square-wrapper .question-list::after {
  content: "";
  background-image: url('../images/frame-question.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

.question-square-wrapper .question-list.question-selected {
  border: 3px solid #A5D428;
}

.question-square-wrapper .question-list.question-selected::after {
  content: "";
  background-image: url('../images/icon-chck-white.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  aspect-ratio: 1;
}

.question-square-wrapper .question-list.question-selected p {
  background: linear-gradient(to right, #C3F232 0%, #FFFFFF 40%);
}

/* .question-square-wrapper .question-list.question-selected .question-image-square{
  background-color: #C7FF02;
  border: 0;
} */

.qustion-wrapper-two-column .question-list p {
  font-size: 13px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.qustion-wrapper-two-column .question-list p span {
  /* display: block; */
  margin-top: 3px;
}

.question-square-wrapper .question-list .question-image-square {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.question-square-wrapper .question-list .question-image-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qustion-wrapper-two-column {
  gap: 28px;
}

.qustion-wrapper-two-column .question-list {
  width: calc(34.5% - 32px) !important;
}

/* .qustion-wrapper-two-column .question-list::after{
  content: "";
  background-image: url('../images/frame-question.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

.qustion-wrapper-two-column p {
  margin-top: 8px;
}

.question-image-container {
  display: flex;
  flex-wrap: wrap;
  width: 77%;
  flex-direction: row;
  margin-left: -14px;
}

.question-image-container .question-image-wrapper {
  min-width: 30%;
  max-width: 30%;
  height: 100%;
  overflow: hidden;
  aspect-ratio: calc(6 / 4.5);
  border-radius: 18px;
}

.question-image-container .question-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.question-image {
  border: 14px;
  overflow: hidden;
  display: flex;
  gap: 20px;
  width: calc(50% - 20px);
  background-color: #fff;
  align-items: end;
  float: left;
  align-items: center;
  aspect-ratio: calc(390/115);
  border-radius: 18px;
}

.question-image-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}


.question-image-desc h5 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}

.question-image-desc p {
  font-size: 10px;
  margin-bottom: 0;
}

.page-stye-1 {
  overscroll-behavior: none;
  /* background-image: url('../images/bg-home-skin.png'); */
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: repeat-y;
  align-items: start;
}

.page-bg-3 {
  overscroll-behavior: none;
  /* background-image: url('../images/bg-3.png'); */
  background-size: 100% 100%;
  background-position: top left;
  background-repeat: repeat-y;
}

.page-bg-4 {
  overscroll-behavior: none;
  /* background-image: url('../images/bg-4.png'); */
  background-size: 100% 100%;
  background-position: top left;
  background-repeat: repeat-y;
}

.page-style1-inner {
  padding-left: 20%;
}

.page-stye-1>.logo {
  position: absolute;
  top: -7%;
  left: 4%;
  width: 35%;
  max-width: 292px;
}

.icon-back {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 45px;
  cursor: pointer;
}

.form-label {
  color: #000;
  font-family: 'Iki Mono';
  font-size: 14px;
}

.page-stye-1 .icon-back {
  position: absolute;
  top: 25px;
  left: 25px;
}

.page-stye-1>.logo-decode {
  position: absolute;
  top: 1%;
  right: 8%;
  right: 6%;
  width: 22%;
  max-width: 273px;
}

.splash-agreement {
  font-size: 13px;
}

.instruction-container {
  background-color: #4c695b;
  color: #fff;
  height: 84%;
  padding: 3% 3% 0 3%;
  border-radius: 32px;
  margin-top: -1px;
}

.question-container {
  color: #fff;
  height: 84%;
  width: 100%;
  padding: 3% 3% 0 3%;
  border-radius: 32px;
  margin-top: -1px;
  padding-top: 13%;
}

#face-scan-skin {
  transform: translate(0, 0);
}

.face-scanner-inner {
  width: 100%;
  height: 100% !important;
  padding: 1% 0 0 0;
  margin: 0 auto;
  position: absolute !important;
  top: 0;
  left: 0;
}

.qr-wrapper-video {
  width: 100%;
  height: 100% !important;
  position: absolute !important;
  top: 0;
  left: 0;
}

.qr-wrapper-video video {
  transform: scaleX(-1);
}

.qr-wrapper-video #qr-shaded-region,
.qr-wrapper-video .qrbox,
.qr-wrapper-video #qr-shaded-region::before,
.qr-wrapper-video #qr-shaded-region::after {
  display: none !important;
}

.image-popuper-wrapper {
  position: relative;
  width: 80%;
  top: calc(50% - 84px);
  transform: translateY(-50%)
}

.image-popuper-wrapper img {
  width: 100%;
}

.backdrop-popup {
  background-color: #00000052;
  backdrop-filter: blur(20px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button-popuper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button-popuper-wrapper .kahf-btn {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

/* in case a border or box-shadow remains */
#qr-wrapper-video .qrbox {
  border: none !important;
  box-shadow: none !important;
}

#qr-wrapper-video>video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame-scan {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.face-scanner-inner .instruction-intro {
  padding-left: 9%;
}

.instruction-intro {
  text-transform: uppercase;
  color: #fff;
}

.instruction-wrap {
  display: flex;
  color: #fff;
  gap: 28px;
  align-items: start;
  justify-content: space-between;
  width: 100%;
}

.instruction-item {
  /* font-family: 'Montserrat'; */
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  line-height: 1.3;
  align-items: center;
  font-size: 15px;
  /* gap: 15px; */
  width: 24%;
}

.instruction-item img {
  width: 60%;
  object-fit: contain;
  margin-bottom: 11px;
}

.instruction-item p {
  color: #000;
  font-size: 14px;
  margin-bottom: 0;
}

.selection-container {
  margin-top: 79.5%;
  width: 100%;
}

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

.selection-question {
  display: flex;
  gap: 14px;
}

.selection-item {
  font-family: 'Montserrat';
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  line-height: 1.3;
  align-items: center;
  font-size: 15px;
  position: relative;
  border-radius: 1rem;
  border: 4px solid transparent;
  transition: border 0.3s;
  gap: 12px;
}

.selection-item.selected {
  border: 4px solid #C7FF02;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.selection-wrap .selection-title {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: bold;
}

.selection-item img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.main-header {
  width: 100%;
}

.selection-item>input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.header {
  position: relative;
  width: 100%;
  aspect-ratio: calc(6 / 1.7);
}

.header .logo-decode {
  width: 30%;
  max-width: 400px;
  left: 18%;
  top: 7%;
  position: absolute;
}

.header .logo {
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 34%;
  left: unset;
}

.card {
  display: flex;
  align-items: stretch;
  background: #cfff00;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 100%;
  aspect-ratio: calc(6 / 1.3);
  min-height: 130px;
  flex-direction: row;
}

.card img {
  width: 26%;
  object-fit: cover;
  border-radius: 10px;
  height: 100%;
}

.info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.card img {
  width: 150px;
  object-fit: cover;
}

.info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.info p {
  margin: 3px 0 12px 0;
  font-size: 0.8rem;
}

.row-card {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  padding: 9px 0 0 0;
}

.face-shape-card {
  padding: 0;
  max-width: unset;
  width: 72%;
}


.btn-group-sm>.btn,
.btn-sm {
  padding: .5rem .8rem;
  font-size: .9rem;
}

.score-wrapper {
  border-radius: 24px;
  background-color: #D9D9D9;
  width: 64%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 28px 0 28px;
  gap: 20px;

}

.score-category {
  font-size: 15px;
}

.score-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 84px;
  position: relative;
  aspect-ratio: 1;
  /* background-image: url('../images/score-percent.png');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat; */
}

.circular-progress {
  --size: 84px;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 4px;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * pi * 2);
  --dash: 0%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
}

.circular-progress circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}

.circular-progress circle.bg {
  stroke: #C8FF0729;
}

.circular-progress circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash)*0.3);
  transition: stroke-dasharray 0.3s linear 0s;
  stroke: #D4FF3C;
}

@property --progress {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@keyframes progress-animation {
  from {
    --progress: 0;
  }

  to {
    --progress: 100;
  }
}



.score-number {
  font-size: 20px;
  font-weight: bold;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  background-color: #D4FF3C;
  justify-content: center;
  align-items: center;
}

.score-category strong {
  font-size: 17px;
}

.score-category h4 {
  color: #D4FF3C;
  font-size: 22px;
  margin-top: 10px;
  font-weight: bold;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 17px;
  width: 100%;
}

.gcard {
  background: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 15px;
  width: calc(50% - 10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  aspect-ratio: calc(6 / 1.25);
}

.gcard img {
  /* width: 120px; */
  height: 190px;
  /* object-fit: contain; */
  transform: translateX(-22px);
  margin-top: -8%;
}

.gcard-text {
  flex: 1;
  margin-right: 10px;
  width: 61%;
  padding-left: 5px;
}

.gcard-text h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.gcard-text h4 {
  margin: 11px 0 0 0;
  font-size: 1rem;
  font-weight: bold;
}

.gcard-text p {
  margin: 5px 0 15px 0;
  font-size: 0.65rem;
  line-height: 1.3;
}

.btn-prod {
  display: block;
  background: #cfff00;
  border: 1px solid #111;
  padding: 6px 7px 6px 8.5px;
  color: #000;
  font-size: 0.65rem;
  white-space: nowrap;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease-in-out;
}

.btn-prod:hover {
  transform: scale(1.05);
}

.finish {
  display: block;
  /* margin: 0 auto;
      padding: 15px 50px;
      font-size: 1.3rem;
      font-weight: bold;
      background: #cfff00;
      border: 2px solid #111;
      border-radius: 8px; */
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
}

.sidebar {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  background: transparent;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 30px;
  top: 99%;
  white-space: nowrap;
}

.sphere {
  border-radius: 50%;
  aspect-ratio: 1;
  width: 22px;
  border: 3px solid #fff;
  position: absolute;
  background-color: #ccc;
  top: 50%;
  transform: translateY(-50%);
}

.sphere-left {
  left: 0;
}

.sphere-right {
  right: 0;
}

.result-inner {
  /* /* padding-left: 19%; */
  width: 100%;
  /* padding-right: 36px; */
}

#page-result {
  background: none;
  overflow-y: auto;
  /* background-color: #E1E1E1; */
}

#page-result-product {
  overflow-y: auto;
  padding-bottom: 20px !important;
  /* background-color: #E8E8E8; */
  transform: translate(0, 0);
}

#page-result .corner-box .scan-qr-helper-text-success{
  font-size: 21px;
}

#page-result .corner-box .scan-qr-helper-text-success span{
  font-size: 23px;
}

#page-result-product::after {
  content: "";
  min-height: 142%;
  position: absolute;
  width: 100%;
  background-color: #E8E8E8;
  background-image: url('../images/bg-product-skin.png');
  background-size: 100% 106%;
  background-position: top right;
  background-repeat: repeat-y;
  z-index: -1;
}

#page-result .corner-box{
  position: fixed;
  top: calc(-200px);
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.4s;
}

#page-result .corner-box.show{
  top: 9%;
}

.bars {
  display: flex;
  flex-basis: auto;
  background-color: #ffff;
  border-radius: 10px;
  margin-bottom: 14px;
}

.bar-side {
  flex: 0.6;
}

.bar-left-side {
  flex: 0.4;
}

.container-bars {
  background-color: #fff;
  padding: 16px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  border-radius: 14px;
}

.bar-wrapper label {
  width: 100%;
  margin-top: 0;
  margin-bottom: 8px;
  display: block;
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
}

.bar-value {
  /* transform: translateX(115%); */
  margin-left: auto;
  /* color: #fff; */
  /* font-size: 26px; */
  font-weight: bold;
}


.result-parameter.bars {
  min-height: unset;
  padding-top: 0;
}

.result-parameter.bars .progress {}

.result-parameter.bars .progress-bar {
  border-bottom: 0;
}

.bars h1 {
  font-size: 25px;
  margin-bottom: 30px;
  font-weight: bold;
}

.bars h2 {
  font-size: 15px;
  margin-bottom: 10px;
}

.bars .progress {
  height: 18px;
  background-color: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  background-image: url('../images/bg-bar.png');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
}

.bars .progress-bar {
  overflow: visible;
  border-radius: 0;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  height: 100%;
  text-align: left;
  max-width: 89%;
  align-items: center;
  /* min-width: 14.5%; */
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: start;
  background-image: url('../images/bg-bar-filled.png');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
}

.open-qr{
  min-width: 216px;
}

/* .bars .progress-bar[style^="width: 0%"] {
  background-color: transparent !important;
  border: 0 !important;
} */

.page-question .icon-back {
  position: static !important;
}

#page-question-combination-concerns .question-list {
  width: calc(50% - 10px);
}

/* .page-question{
  padding-left: 0;
  padding-right: 0;
} */

/* .navtab-result-skin .nav-tabs{
  gap: 20px;
} */

/* .navtab-result-skin .nav-item{
  min-width: calc(33.3% - 20px);
} */

.navtab-result-skin .nav-item button {
  width: 100%;
}

.see-analyzed-result {
  display: flex;
}

/* 
#tabcontent-surface-issues .nav-tabs{
  gap: 20px;
} */

.container-twocol-result-intro{
  display: flex;
  height: 100%;
  gap: 50px;
}

.twocol-result-intro{
  flex: 0.5;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  min-height: 380px;
  /* height: 100%; */
}

.bauman-desc-wrapper {
  transform: translate(0, 0);
  overflow: hidden;
}

.bauman-desc-wrapper .circle-bg {
  position: absolute;
  z-index: -1;
  width: 110%;
  top: 80%;
}

.bauman-desc-wrapper .rock-bg {
  position: absolute;
  z-index: -1;
  width: 106%;
  left: 0;
  bottom: 0;
}

#tabcontent-surface-issues .nav-item {
  min-width: calc(33.3% - 20px);
}

#tabcontent-surface-issues .nav-item button {
  width: 100%;
}

.image-face-skin-result-intro {
  max-width: 240px;
  width: 76%;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  margin: 0 auto 10px auto;
  position: relative;
  touch-action: none;
}

.image-face-skin-result-intro img {
  /* width: 175%; */
  height: 175%;
  object-fit: cover;
  position: absolute;
  top: 49%;
  left: 50%;
  /* Keep core centering translate; we'll add pixel pan + scale in JS */
  transform: translate(-50%, -50%) scale(1);
  transform-origin: 50% 50%;
  transition: transform 120ms linear;
  /* small transition; disabled during active touches in JS */
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.image-face-skin-result {
  max-width: 270px;
  width: 75%;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  margin: 18px auto 32px auto;
  position: relative;
  touch-action: none;
}

.image-face-skin-result img {
  width: 163%;
  height: 163%;
  object-fit: cover;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: 50% 50%;
  transition: transform 120ms linear;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.box-result-parameter {
  width: 80%;
  max-width: 360px;
  margin: 20px auto 20px auto;
  border-radius: 6px;
  display: none;
}

.parameter-label {
  font-size: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  aspect-ratio: calc(6/1);
  background-color: #C8FF06;
}

.parameter-result {
  font-size: 14px;
  width: 100%;
  aspect-ratio: calc(6/2.1);
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  overflow: hidden;
}

.parameter-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-parameter {
  padding: 20px 20px;
  min-height: 100px;
  height: unset !important;
  width: 100%;
  background-color: transparent !important;
  margin-bottom: 0;
  gap: 0;
  flex-direction: column;
  border-bottom: 1px solid #EAEAEA !important;
  display: none;
}

.nav-link-percentage {
  display: none;
}

.result-parameter .bar-wrapper label {
  display: none;
}

.result-parameter:first-child {
  border-bottom: 0;
}

.result-parameter h2 {
  font-weight: bold;
  font-size: 20px;
}

.result-parameter ul {
  padding-left: 15px;
}

.title-h2-result {
  text-align: center;
  font-size: 22px;
}

/* .navtab-result-skin .tab-content>.tab-pane{
  padding-bottom: 30px;
} */


.loading-image-wrapper {
  position: absolute;
  top: 49%;
  width: 93%;
  left: 50%;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
}

.loading .logo-decode {
  position: absolute !important;
  width: 198px !important;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
}

.loading .logo-desc {
  /* width: 190px !important; */
  position: static !important;
  /* max-width: 190px !important; */
  font-size: 18px;
  font-weight: 500;
  background-color: #A4F288;
  padding: 18px 25px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.loading .logo-bottom {
  width: 80% !important;
  max-width: 80% !important;
  position: absolute !important;
  bottom: 0 !important;
}


.custom-spinner {
  border: 3px solid #b0bdb7;
  border-top: 3px solid #000;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
  aspect-ratio: 1;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.face-side-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.face-side {
  width: calc(33.3% - 10px);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.face-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-info-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.account-info {
  min-width: calc(33.3% - 20px);
}

.account-info label {
  margin-bottom: 8px;
}

.navtab-result-skin .nav-item button {}

.skin-meter-wrapper {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 13px;
}

.skin-meter-wrapper .skin-meter-image {
  width: 98%;
  margin: 0 auto 30px auto;
  position: relative;
}

.skin-meter-wrapper .skin-meter-image img {
  width: 100%;
}

.skin-meter-wrapper .skin-meter-image .skin-meter-point {
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
  width: 36px;
  left: 50%;
  top: -12%;
  border: 1px solid #000;
  background-color: #FFD397;
}

.bauman-wrapper {
  font-size: 14px;
}

.bauman-wrapper .title-bauman-result {
  font-size: 30px;
  font-weight: bold;
}

.bauman-desc h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: bold;
}

.bauman-image-list img {
  width: 100%;
}

.header-2 {
  background-color: #dddddd;
  color: #000000;
  width: 100%;
  aspect-ratio: calc(6/1);
  position: relative;
  overflow: hidden;
  display: flex;
}

.header-inner {
  display: flex;
  padding: 0 15px 8px 15px;
  margin-top: auto;
  align-items: end;
  width: 100%;
  justify-content: center;
  align-items: end;
  flex-direction: column;
}

.header-name {
  font-size: 38px;
  margin-bottom: 2px;
  font-weight: 800;
  line-height: 1.12;
}

.header-2-logo {
  font-size: 28px;
}

.header-2 .icon-back {
  position: absolute;
  top: 50%;
  left: 17px;
  /* filter: brightness(1) invert(1); */
  transform: translateY(-50%);
}

.result-intro {
  aspect-ratio: calc(951/428);
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  transform: translate(0, 0);
}

.result-intro .circle-bg{
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 156%;
}

.expanded-result-intro {
  aspect-ratio: calc(951/505);
  aspect-ratio: calc(951 / 426);
}

.expanded-result-intro p{
  font-size: 20px !important;
}

.right-result-intro {
  width: 100%;
  padding-bottom: 70px;
  display: flex;
  font-size: 30px;
  height: 100%;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  font-size: 20px;
  padding: 0 20px;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  container-type: inline-size;
}

.expanded-result-intro .right-result-intro {
  padding-bottom: 70px;
}

.right-result-intro h2 {
  font-size: 21cqi;
  font-family: 'Iki Mono ExtraExpanded';
  line-height: 21cqi;
  line-height: 0.9;
  opacity: 0.72;
  margin-bottom: 20px;
}

.right-result-intro p {
  margin-bottom: 0;
  padding-left: 8px;
  font-size: 19px;
  text-transform: uppercase;
  border: 1px solid #EEEEEE;
  box-shadow: 0px 6.27px 69.93px 16.4px #FFFFFF66;
  backdrop-filter: blur(37px);
  box-shadow: 0px -6.53px 22.83px 3.81px #EEEEEE inset;
  border-radius: 30px;
  padding: 8px 24px;
  text-align: center;
  display: table;
  min-width: 85%;
  padding: 5px 5px !important;
}

.top-result-intro {
  position: absolute;
  top: 0;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  font-weight: 500;
  border-radius: 0 0 15px 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background-color: #fff;
  padding: 3px 18px;
}

.skin-type-wrapper {
  background: linear-gradient(180deg, rgb(255, 255, 255) 73.52%, #3E893E 159.16%);
  border-radius: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
  /* aspect-ratio: calc(4/6); */
  border: 1px solid #fff;
  position: relative;
}

.skin-type-wrapper-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  gap: 16px;
  /* overflow-y: auto; */
  overflow: hidden;
  position: relative;
}

.gradient-rounded {
  background: linear-gradient(180deg, #f3f3f3 73.52%, #3E893E 159.16%);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #fff;
}

.bg-gradient {
  background: linear-gradient(180deg, #f3f3f3 73.52%, #3E893E 159.16%) !important;
}

.skin-type-wrapper-inner .image-face-skin-result {
  aspect-ratio: 1;
  width: 80%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #A5D428;
  z-index: 1;
}

.skin-type-wrapper-inner .circle-bg {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

.skin-type-name {
  font-size: 23px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.skin-type-desc {
  font-size: 14px;
  font-family: 'Nort';
}

.skin-type-summary{
  font-size: 15px;
  /* line-height: 1.1; */
  font-family: 'Nort';
  text-overflow: ellipsis;
  overflow: hidden;
  /* display: none; */
}

.skin-type-summary p{
  font-size: 14px;
}

.skin-type-summary h2{
  font-size: 23px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

#tab_full_result {
  display: none;
}

.parent-tabs {
  width: 100%;
  display: flex;
  height: 70px;
  margin-top: -70px;
  padding: 12px;
  backdrop-filter: blur(114px);
  /* background-color: #ffffff96; */
}

.parent-tabs .nav-item {
  width: 50%;
  border-radius: 0;
  background-color: #717171;
  border: 1px solid #fff;
}

.parent-tabs .nav-link {
  padding: 5px 25px;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
  box-shadow: none;
  border: 0;
  color: #000 !important;
  box-shadow: none !important;
  background-color: #fff;
  border: 2px solid #fff;
  min-height: 47px;
}

.parent-tabs .nav-item:first-child {
  /* border-radius: 13px 0 0 13px; */
  overflow: hidden;
}

.parent-tabs .nav-item:last-child {
  /* border-radius: 0 13px 13px 0; */
  overflow: hidden;
}

.parent-tabs .nav-item:first-child .nav-link {
  /* text-indent: -9999px; */
}

.parent-tabs .nav-item:first-child .nav-link{
  /* border-radius: 13px 0 0 13px; */
  border-right: 0;
}

.parent-tabs .nav-item:last-child .nav-link{
  /* border-radius: 0 13px 13px 0; */
  border-left: 0 !important;
}

.parent-tabs .nav-item .nav-link.active {
  background-color: #939dac;
  columns: #fff !important;
}

.section-products-wrapper {
  display: flex;
  /* background-color: #9FC944; */
  width: 100%;
  gap: 14px;
}

.section-products-wrapper h3 {
  font-size: 19px;
  text-align: center;
}

.section-products-wrapper .product {
  width: 25%;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.product-right h3 {
  font-size: 17px;
  text-transform: uppercase;
}

.product-right .product {
  border: 1px solid #eee;
}

.product-right .product img {
  max-height: 110px;
}

.product-right .product p {
  margin-bottom: 0;
}

/* .gradien-parameter {
  margin-left: -20px;
} */

/* .section-products-wrapper .product:not(:last-child) {
  border-right: 1px solid #000;
} */

.section-products-wrapper .image-product-section {
  aspect-ratio: calc(6 / 4);
  width: 100%;
  display: flex;
  padding: 10px 0;
  justify-content: center;
  align-items: center;
}

.product img {
  width: 100%;
  /* height: 100%; */
  object-fit: contain;
  max-height: 130px;
}

.title-section {
  /* padding: 22px 25px; */
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  box-shadow: none;
  border: 0;
  /* color: #fff !important;
  background-color: #000; */
}

.tab-inline .tab-content {
  /* min-width: 50%;
  max-width: 50%; */
  flex: 1;
}

.tab-inline .tab-scroller {
  /* min-width: 50%;
  max-width: 50%; */
  display: flex;
}

.tab-inline .nav-item {
  width: 100%;
  border-bottom: 1px solid #EAEAEA !important;
}

.tab-inline .nav-tabs .nav-link {
  background-color: transparent !important;
  font-size: 20px;
  padding: 11px 20px;
  box-shadow: unset !important;
  color: #5A5A5A;
  text-transform: uppercase;
  text-align: left;
  width: 100%;
}

.tab-inline .nav-tabs .nav-link img {
  width: 18px;
  transform: rotate(180deg);
  opacity: 0.7;
  transition: all 0.3s;
  margin-left: auto;
  float: right;
  margin-left: auto;
}

.tab-inline .nav-tabs .nav-link.active img {
  transform: rotate(0);
  opacity: 1;
}

.tab-inline .nav-tabs .nav-link.active {
  /* background-color: #C7FF02; */
  font-weight: bold;
  color: #000;
}

.tab-inline .nav-tabs .nav-link:focus,
.tab-inline .nav-tabs .nav-link:hover {
  border-color: transparent;
  isolation: unset !important;
}

#tab_skin_analysis .tab-pane {
  background-image: url(../images/circle-green.png);
  background-size: auto 120%;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 20px 0;
}

label.checkbox {
  color: #000;
}

label.checkbox a {
  color: #000;
}

#page-form label.checkbox {
  font-family: 'Space Grotesk';
}

.form-control {
  font-family: 'Space Grotesk';
  border-radius: 12px;
  font-size: 15px;
  color: #000 !important;
  padding: 12px 17px;
  box-shadow: inset 0px 8px 3px -8px #757a73 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) -3.62%, rgba(255, 255, 255, 0.8) 100%) !important;
  backdrop-filter: blur(30px)
}

.scroll-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 44px;
  color: #fff;
  background: #506241;
  cursor: pointer;
  z-index: 5;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 
.parent-tabs .nav-item:first-child .nav-link.active {
  clip-path: polygon(0 0, calc(100% - 45px) 0, 100% 87px, 100% 100%, 0 100%);
}

.parent-tabs .nav-item:last-child .nav-link.active {
  clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0 87px);
} */

#arrow-up {
  top: 0;
}

/* above the wrapper */
#arrow-down {
  bottom: 0;
}

/* below the wrapper */
#tabWrapper {
  overflow-y: auto;
  height: 308px;
  scroll-behavior: unset;
  margin-bottom: 14px;
  box-shadow: 0px -21px 18px 0px #00000036 inset;
}

.accordion-wrapper {
  background-color: #fff;
  border: 2px solid #fff;
  /* border-radius: 10px; */
}

.skin-anlysis-display {
  padding: 13px;
  background-color: #E1E1E1;
}

.page-style-v4 .top-intro-wrapper {
  background-image: url(../images/bg-tabtop.png);
  background-size: 100% 100%;
  background-position: top left;
  background-repeat: no-repeat;
  color: #fff;
  width: 50%;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 14%;
  border-radius: 35px 35px 0 0;
  position: static;
  aspect-ratio: calc(701 / 146);
}

/* .page-style-v4 .top-intro-wrapper+div {
  border-radius: 52px;
  margin-top: -1px;
  width: 100%;
  height: 90%;
  border-radius: 54px;
  background-color: #4c695b;
  padding: 0 9% 7% 9%;
  margin-top: -1px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.page-style-v4 .top-intro-wrapper h2 {
  font-size: 9.5cqi;
  line-height: 1;
  margin-bottom: 0;
} */

.page-question.page-style-v4 .top-intro-wrapper {
  background-image: url(../images/bg-tabtop-gray.png);
}

.page-question.page-style-v4 .top-intro-wrapper h2 {
  font-size: 7.5cqi;
}

.kahf-btn.disabled {
  pointer-events: none;
}

.outer-header {
  padding: 25px 0;
  width: 93%;
  margin: 0 auto;
  display: none;
  gap: 20px;
  flex-direction: column;
}

.outer-header-intro {
  justify-content: center;
  align-items: center;
  display: flex;
  aspect-ratio: calc(6/1);
  width: 100%;
}

/* .outer-header-intro img{
  width: 140px;
} */

.top-result-tag{
  height: 48px;
}

.result-inner-wrapper {
  width: 93%;
  min-height: unset;
  /* opacity: 0.35; */
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #fff;
  border-radius: 14px;
  background-color: #E1E1E1;
}

/* .result-activities{
  display: none;
} */

#page-result.overflower .result-inner-wrapper {
  /* height: calc(100% - 128px); */
  min-height: unset;
  position: relative;
}

.hint-wrapper {
  width: 100%;
  height: 0;
  max-height: 0;
  position: relative;
  overflow: hidden;
  z-index: 9;
  padding-bottom: 150%;
  margin-bottom: -150%;
}

.hint-wrapper p {
  top: 72%;
  position: absolute;
  color: #fff;
  width: 100%;
  text-align: center;
}

.hint {
  position: absolute;
  top: 21%;
  left: 8%;
  width: 55%;
  z-index: 3;
  display: none;
}

.hint-analysis {
  left: unset;
  right: 8%;
}

.text-logo-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 15px;
}

.text-logo-inline img {
  width: unset !important;
}

#submit-form {
  position: static;
  transform: unset;
}

.acc-bottom-left {
  position: absolute;
  bottom: 2%;
  left: 8%;
  z-index: 1;
  width: 16%;
}

.filter-white {
  filter: brightness(0) invert(1)
}

.acc-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 20%;
}

.acc-center {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  z-index: -1;
}

.button-result-intro{
  font-size: 19px;
}

/* Start v-kahf */
:root {
  --bg1: #e6e6e6;
  --bg2: #7b7b7b;
  --accent: #d7ff00;
  --accent-dark: #b6db00;
  --panel-bg: rgba(255, 255, 255, 0.92);
  --muted: #6b6b6b;
}

/* progress quiz */

.progress-wrap {
  width: 82%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 2px;
}

/* track container */
.pb-track {
  width: 100%;
  height: 7px;
  /* track thickness */
  background: #7d7d7d38;
  border-radius: 14px;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
}


/* filled portion */
.pb-fill {
  height: 100%;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 14px;
  background: #C3F232;
  /* transition: width 0.3s; */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  /* box-sizing: border-box; */
  position: absolute;
  box-shadow: 0px 4px 8px rgb(43 43 43 / 11%);
}

/* percentage text on the right */
.pb-percent {
  text-align: right;
  
  color: #222;
  margin-left: auto;
  order: -1;
  font-size: 14px;
  margin-left: 6px;
}

/* controls for demo */
.demo-controls {
  margin: 18px auto 0;
  max-width: 820px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.screens {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
}

.screen {
  width: 100%;
}

.camera-wrap {
  background-image: url('../images/bg-modal-body.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background: linear-gradient(180deg, rgb(239 239 239) 73.52%, rgba(211, 254, 80, 0.6) 159.16%) !important;
}

.logo-top {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  z-index: -1;
}

.screen-popup{
  overflow-y: auto;
  height: unset;
  min-height: 100%;
  /* overflow: hidden; */
}

.modal .screen-header {
  padding: 16px 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  border-radius: 10px;
  overflow: hidden;
}

.modal-title {
  font-weight: bold;
  color: #000;
  font-size: 17px;
  text-align: center;
}

.modal-title small {
  margin-top: 15px;
  font-weight: normal;
  font-size: 15px;
  display: block;
  
}


/* left top hero */
.hero {
  padding: 18px;
  text-align: center;
  color: #222;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translate(0, 0);
}

.title-pill {
  display: inline-block;
  cursor: pointer;
}

.title-pill img {
  width: 78%;
}

.subtitle {
  font-size: 20px;
  color: #000;
  margin-top: 14px
}

.link-line {
  font-size: 17px;
  margin-top: 19px;
  display: none;
}

.link-line a {
  color: #222;
  text-decoration: underline
}


/* center card and bottom modal-like */
.card-panel {
  width: 86%;
  margin: 12px auto;
  border-radius: 14px;
}

.card-panel h5 {
  font-family: 'Roboto Mono';
  text-align: center;
  letter-spacing: 1px;
  font-size: 14px
}

.card-panel .muted {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px
}

.card-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  display: none;
}

.circle-pattern {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  opacity: 0.8;
  z-index: -1;
}


/* camera screen mock */
.camera-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: calc(6/5);
}

.camera-frame img {
  width: 53%;
  background-color: #fff;
  height: auto;
  /* max-height: 86%; */
  margin: auto;
  display: table;
  border-radius: 10px;
}

.camera-top-banner {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 4px;
  color: white;
  font-size: 12px
}

.wrapper-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* backdrop-filter: blur(15px); */
  background-color: rgba(0, 0, 0, 0.699);
}


/* information panels bottom row */
.info-panel {
  padding: 18px
}

.info-card {
  background: var(--panel-bg);
  border-radius: 12px;
  padding: 20px;
  margin: 10px auto;
  width: 86%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18)
}

.info-card h6 {
  font-family: 'Roboto Mono';
  text-align: center;
  margin-bottom: 16px
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.info-card li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start
}

.muted-legal {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px
}

#captured-photo{
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

.result-solution, .result-product-solution{
  display: none !important;
}

/* social */

#social_template {
  background-image: url(../images/bg-social.png);
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat-y;
  position: fixed;
  top: 0;
  background-position: center -48px;
  /* top: -63%; */
  width: 720px;
  aspect-ratio: calc(1620 / 2779);
  /* height: 1394px; */
  margin: auto;
  left: -100%;
  left: 0 !important;
  right: 0;
  /* transform: translateX(-50%); */
  z-index: -1;
  background-color: #666666;
  border: 1px solid #fff;
  pointer-events: none;
}

#social_template .section-products-wrapper{
  aspect-ratio: calc(6 / 2);
  background-color: #ffffff;
  gap: 0;
  border-top: 0;
  justify-content: space-between;
  border-radius: 0 0 10px 10px;
}

#social_template .bauman-desc-wrapper{
  /* height: 373px; */
  aspect-ratio: calc(1/1.1);
  overflow: hidden;
}

#social_template .product p{
  font-size: 11px;
  padding: 4px 3px;
  height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.28;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

#social_template .image-face-skin-result-intro{
  margin-bottom: 0 !important;
}

.product-recommendation-username{
  text-transform: uppercase;
}

.social-template-inner {
  position: absolute;
  top: 15.4%;
  left: 5.5%;
  /* transform: translateX(-50%); */
  width: 89.5%;
  /* height: 1166px; */
  aspect-ratio: calc(935 / 1495);
  background-color: #e1e1e173;
  backdrop-filter: blur(20px);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #fff;
}

#social_template .right-result-intro-social {
  background-size: contain;
  aspect-ratio: calc(951 / 428);
  background-position: top center;
  width: 100%;
  border-radius: 13px;
  height: unset !important;
  background-repeat: no-repeat;
  overflow: hidden;
  background-size: 101% auto;
  border: 2px solid #ffffff5e;
  border-top: 0;
}

#social_template .expanded-result-intro{
  margin-bottom: 20px !important;
  border-radius: 13px !important;
}

#social_template .result-inner-wrapper{
  background: unset !important;
}

#social_template .social-left-desc-wrapper{
  /* background-image: url('../images/bg-social-desc.png'); */
  background-color: #fff;
  background-size: 33% auto;
  background-position: center left;
  background-repeat: no-repeat;
}

#social_template .outer-header img {
  width: 128px;
}

#social_template .outer-header .text-logo-inline {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}

#social_template .skin-type-wrapper{
  border: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 59%) 73.52%, #5ba55b 159.16%) !important;
}

#social_template .section-products-wrapper .image-product-section{
  aspect-ratio: calc(4 / 2.5);
  width: 100%;
  height: max-content;
  display: flex;
  background: unset !important;
  padding: 6px 0;
  background: linear-gradient(180deg, #fff 73.52%, #5ba55b60 159.16%) !important;
}

#social_template .gradient-rounded,
#social_template .bg-gradient{
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.59) 73.52%, #5ba55b 159.16%) !important;
}

#social_template .section-products-wrapper .product {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
}

#social_template .section-products-wrapper .product img {
  width: auto;
  object-fit: contain;
  height: 100%;
}

/* Print */

#print_template {
  background-image: url('../images/bg-print.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  /* top: -26%; */
  margin: auto;
  left: -100%;
  left: 0 !important;
  right: 0;
  /* transform: translateX(-50%); */
  margin: auto;
  width: 720px;
  aspect-ratio: calc(1560 / 2205);
  /* transform: translateX(-50%); */
  /* z-index: 3; */
  z-index: -1;
  background-color: #E1E1E1;
  line-height: 1.3;
  border: 1px solid #fff;
  pointer-events: none;
  overflow: hidden;
  container-type: inline-size;
}

@media print {
  @page {
    size: A5 portrait; /* Sets the page size to A5 in portrait orientation */
    margin: 0; /* Optional: Removes default margins for full bleed */
  }

  /* You can also define specific widths for elements within the A5 page */
  #print_template {
    width: 148mm; /* Sets the body width to match A5 width */
  }
}


#print_template .gradient-rounded,
#print_template .bg-gradient{
  background: linear-gradient(180deg, rgb(255 255 255 / 59%) 73.52%, #5ba55b 159.16%) !important;
}

.product-recommendation-username{
  text-transform: uppercase;
  container-type: inline-size;
}

.icon-print-template{
  width: 7cqi;
}

.print-template-inner {
  position: absolute;
  top: 7%;
  left: 4%;
  /* transform: translateX(-50%); */
  width: 92%;
  /* height: 74.2%; */
  aspect-ratio: calc(1560 / 2144);
  background-color: #E1E1E1;
  overflow: hidden;
  border: 1px solid #fff;
}

.title-print-icon{
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  container-type: inline-size;
  font-size: 2cqi;
  font-weight: 600;
}

.title-print-icon img{
  width: 2.5cqi;
}

#print_template .skin-type-wrapper-inner{
  padding: 8px !important;
  overflow: hidden;
  gap: 7px;
  transform: translate(0, 0);
}

#print_template .skin-type-wrapper-inner .circle-bg{
  z-index: -1;
  position: absolute;
  top: 44%;
  left: 50%;
  width: 110%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  height: unset;
}

#print_template .skin-type-desc-print{
  font-size: 4.4cqi;
  font-family: 'Nort';
}

.skin-type-summary-print p{
  font-size: 4.4cqi;
  font-family: 'Nort';
}

.skin-type-summary-print h2{
  font-size: 4.6cqi;
  font-weight: 600;
  position: relative;
  margin-bottom: 0.6cqi;
  text-align: center;
}

#print_template .print-box-bottom .skin-type-wrapper .skin-type-wrapper-inner{
  gap: 0;
  align-items: start;
}

#print_template .print-box-bottom .skin-type-desc-print{
  font-size: 3cqi;
  text-align: left;
  /* height: 100%; */
  display: -webkit-box;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

#print_template .print-box-bottom:last-child .skin-type-desc-print{
  font-size: 3cqi;
  text-align: left;
  /* height: 100%; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  overflow: hidden;
}

#print_template .bars .progress{
  height: 5cqi;
}

#print_template .bar-wrapper label{
  font-size: 5cqi;
  margin-bottom: 2cqi;
}

#print_template .bar-wrapper label .bar-value{
  font-size: 5cqi;
}


#print_template .container-bars{
  padding: 8px;
  border-radius: 0;
  margin-bottom: 0;
  gap: 0;
}

#print_template .bar-wrapper:not(:last-child) {
  padding-bottom: 3cqi;
  margin-bottom: 2.5cqi;
  border-bottom: 1px solid #dadada49;
}

#print_template .skin-type-name {
  font-size: 6.2cqi;
  font-weight: 600;
  position: relative;
  margin-bottom: 1cqi;
  text-align: center;
}

#print_template .print-box-bottom .skin-type-name {
  font-size: 4cqi;
  text-align: left;
  width: 100%;
  text-transform: unset;
}

#print_template .product p {
  margin-bottom: 0;
  font-size: 9px;
  line-height: 1.25;
  padding: 5px 4px;
  container-type: inline-size;
  font-size: 10cqi;
  /* height: 65.4%; */
  height: 53.5cqi;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: center;
  /* display: -webkit-box; */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  /* align-items: center; */
}

#print_template .skin-type-summary{
  font-size: 4.8cqi;
  margin-top: 4cqi;
  line-height: 1.1;
  font-family: 'Nort';
  aspect-ratio: calc(200 / 114);
  text-overflow: ellipsis;
  overflow: hidden;
}

#print_template .skin-type-summary h2{
  font-size: 5cqi;
  font-weight: 600;
  position: relative;
  margin-bottom: 1cqi;
  text-align: center;
}

#print_template .result-intro {
  aspect-ratio: calc(951 / 332);
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: translate(0, 0);
  border-radius: 0;
}

#print_template .right-result-intro-print {
  background-image: url('../images/social/DRNT.png');
  background-size: cover;
  background-position: bottom center;
  height: 100%;
  background-repeat: no-repeat;
}

#print_template .print-left-desc-wrapper{
  background-image: url('../images/bg-social-desc.png');
  background-size: 12% auto;
  background-position: bottom left;
  background-repeat: no-repeat;
}

#print_template .print-left-desc-wrapper > .skin-type-wrapper{
  aspect-ratio: calc(218/331);
}

#print_template .outer-header img {
  width: 128px;
}

#print_template .outer-header .text-logo-inline {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}

#print_template .skin-type-wrapper{
  background: linear-gradient(180deg, rgb(255 255 255 / 59%) 73.52%, #3E893E50 159.16%) !important;
  aspect-ratio: calc(489 / 741);
  overflow: hidden;
  border-radius: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  container-type: inline-size;
}

#print_template .print-box-bottom .skin-type-wrapper{
  aspect-ratio: unset;
}

#print_template .result-inner-wrapper{
  margin: 0;
}

#print_template .section-products-wrapper .image-product-section{
  aspect-ratio: calc(4 / 3);
  width: 100%;
  display: flex;
  background: unset !important;
  background: linear-gradient(180deg, #fff 73.52%, #5ba55b60 159.16%) !important;
}

#print_template .section-products-wrapper .product {
  overflow: hidden;
  aspect-ratio: calc(4 / 5.4);
  padding: 0;
}

#print_template .section-print-products{
  flex-wrap: wrap;
  /* aspect-ratio: 1; */
  /* gap: 8px; */
  background-color: #f3f3f3;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

#print_template .section-print-products .product {
  background-color: #fff;
  /* aspect-ratio: 1; */
  /* flex: 0.5; */
  padding: 0 !important;
  margin: 4px;
  border: 1px solid #EEEEEE;
  width: calc(50% - 8px);
  min-width: calc(50% - 8px);
  max-width: calc(50% - 8px);
  float: left;
  container-type: inline-size;
  background: linear-gradient(180deg, rgb(255 255 255 / 59%) 73.52%, #5ba55b 159.16%) !important;
}

#print_template .section-print-products .product img {
  width: auto;
  object-fit: contain;
  /* height: 95%; */
  /* height: 38px; */
  height: 51.5cqi;
  max-height: unset;
}

#print_template .section-print-products .product .image-product-section{
  aspect-ratio: calc(6 / 4);
  width: 100%;
  padding: 5px 0;
  background: linear-gradient(180deg, rgb(255 255 255) 73.52%, #5ba55b60 159.16%) !important;
}

#print_template .image-face-skin-result-intro{
  max-width: 77cqi;
  margin-bottom: 0;
}

.product-left-content h3 {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: bold;
  text-align: left;
}

.product-left-content .result-text-content {
  font-size: 13px;
}

#cityName {
  z-index: 2;
}

.city-input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 6px 8px;
  border: 0 !important;
  text-align: center;
  border-radius: 10px;
  outline: none !important;
  text-transform: uppercase;
}

.city-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  z-index: 9999;
  max-height: 240px;
  overflow: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.city-suggestions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-style: 13px;
}

.city-suggestions li {
  padding: 8px 10px;
  cursor: pointer;
}

.city-suggestions li.hover,
.city-suggestions li:hover {
  background: #f2f2f2;
}

.city-suggestions .empty {
  padding: 10px;
}

div#container-cities-list {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  left: 0;
  display: none;
}

.column-combine-intro{
  flex: 0.5;
  display: flex;
}

.result-inner-wrapper-combine .result-intro {
  aspect-ratio: calc(951 / 642);
}

.result-inner-wrapper-combine .result-intro.expanded-result-intro{
  aspect-ratio: calc(951 / 518);
}

.right-result-face-shape{
  background: unset !important;
}

.result-inner-wrapper-combine .right-result-intro h2{
  font-size: 16cqi;
  margin-top: 12px;
  margin-bottom: 13px;
}

.result-inner-wrapper-combine .right-result-intro p{
  font-size: 15px;
}

#tab_full_combine .right-result-intro p{
  font-size: 12px;
}

#tab_full_combine  .right-result-intro h2{
  font-size: 12cqi;
  letter-spacing: -1.5px;
}

.result-inner-wrapper-combine .right-result-intro{
  padding-left: 0;
  padding-right: 0;
}

.result-inner-wrapper-combine .image-face-skin-result-intro{
  max-width: 180px;
}

.result-inner-wrapper-combine .skin-type-wrapper-inner{
  padding: 10px;
  justify-content: start;
}

.summary-report-topcard{
  min-height: 382px;
  height: 100%;
}

.result-bottom-nav{
  border-radius: 30px 30px 0 0;
  display: none;
  width: 107%;
  margin-left: -3.5%;
  z-index: 3;
}

.result-bottom-nav ul{
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.result-bottom-nav .nav-link{
  color: #C3C3C3;
  background-color: #E5E5E5;
  padding: 10px 6px !important;
  text-align: center !important;
  font-size: 17px;
  font-family: 'Space Grotesk';
  font-weight: bold;
}

.result-bottom-nav .nav-link.active{
  color: #000;
  background: rgba(255, 255, 255, 0.5);
  background-blend-mode: luminosity;
  box-shadow: 15px 15px 20px rgb(0 0 0 / 25%), inset 5px 4px 4px rgb(119 149 26 / 47%);
  border-top: 2px solid #DAF53C;
}

.result-bottom-nav .nav-item:first-child .nav-link.active{
  border-left: 1px solid #DAF53C;
  background: linear-gradient(to left, #C3F232 0%, #ffffff 60%);
}

.result-bottom-nav .nav-item:last-child .nav-link.active{
  border-right: 1px solid #DAF53C;
  background: linear-gradient(to right, #C3F232 0%, #ffffff 60%);
}

#tab_full_result_wrapper{
  display: none;
}

#tab_full_result_skin,
#tab_full_result_hair{
  min-height: 100vh;
}

#tab_full_result_hair {
  width: 108%;
  margin-left: -4%;
}

#hair-iframe{
  min-height: 107vh;
}

@media(max-width: 620px) {

  /* .home-page .logo-decode {
    top: 5%;
  }
  .home-tagline {
    top: 11.6%;
    width: 37.5%;
  }
  .home-page .logo {
    width: 82%;
    margin-top: 45%;
  } */

  .title-pill img {
    width: 90%;
  }

  p {
    font-size: 0.75rem;
  }

  .instruction-item p {
    font-size: 0.6rem;
  }

  .page-intro-text {
    font-size: 14px;
  }

  .button-start-wrapper {
    gap: 10px !important;
  }

  .kahf-btn {
    width: unset !important;
    padding: 10px 15px;
    min-width: 166px;
    max-width: unset;
    font-size: 1rem;
  }

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

  .icon-back {
    width: 20px !important;
    top: 16px;
    left: 16px;
  }

  .error-validation {
    font-size: 11px;
  }

  #submit-form {
    min-width: 130px !important;
  }

  .form-control {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 13px;
  }

  .question-list.question-text {
    font-size: 11px;
    padding: 14px 25px;
  }

  .question-wrapper.flex-row {
    width: 95%;
  }

  .question-square-wrapper {
    gap: 10px;
    width: 100% !important;
  }

  .question-square-wrapper .question-list {
    width: calc(34% - 10px) !important;
  }

  .qustion-wrapper-two-column .question-list {
    width: calc(40% - 10px) !important;
  }

  .question-square-wrapper .question-list p {
    font-size: 9px;
    padding: 6px 10px;
  }
  
  .scan-helper-text {
    font-size: 0.65rem;
  }

  .instruction-item img {
    /* max-height: 50px; */
  }

  .corner-box {
    padding: 8px 16px;
  }

  .scan-progress {
    height: 4px;
  }

  .section-products-wrapper .image-product-section {}

  .section-products-wrapper .image-product-section img {
    max-height: 120px;
  }

  .parent-tabs .nav-link {
    padding: 12px 15px;
    font-size: 13px;
    min-height: unset;
  }

  /* .parent-tabs .nav-item:first-child .nav-link.active {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 56px, 100% 100%, 0 100%);
  }

  .parent-tabs .nav-item:last-child .nav-link.active {
    clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 56px);
  } */

  .title-section {
    padding: 10px 15px;
  }

  .result-parameter h2 {
    font-size: 14px;
  }

  .bar-value {
    font-size: 15px;
  }

  /* .bars .progress {
    height: 2.35rem;
  } */

  .bars .progress-bar {
    font-size: 13px;
  }

  .right-result-intro p {
    margin-bottom: 0;
    font-size: 16px;
  }
}


@media(max-width: 480px) {
  .home-page .kv {
    width: 93.5%;
  }
  
  .subtitle {
    font-size: 20px;
    margin-top: 10px;
    line-height: 26px;
  }

  #page-result .corner-box .scan-qr-helper-text-success{
    font-size: 16px;
  }
  
  #page-result .corner-box .scan-qr-helper-text-success span{
    font-size: 18px;
  }

  .result-inner-wrapper-combine .result-intro {
    aspect-ratio: calc(5/4);
  }

  .container-twocol-result-intro{
    flex-direction: column;
    display: flex;
    gap: 0;
  }

  .twocol-result-intro{
    flex: 1;
  }

  #hair-iframe{
    min-height: 130vh !important;
  }

  .skin-type-wrapper-inner{
    gap: 9px;
  }

  .top-result-intro {
    font-size: 9px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 0 0 13px 13px;
  }

  .result-inner-wrapper-combine .skin-type-desc{
    font-size: 12px;
  }

  .result-bottom-nav{
    width: 100vw;
  }

  .result-bottom-nav .nav-link {
    font-size: 12px;
  }
  
  .result-inner-wrapper-combine .image-face-skin-result-intro{
    max-width: 180px;
  }

  .loading .logo-decode,
  .logo-top {
    width: 170px;
  }

  .popup-body h3 {
    font-size: 15px;
  }

  .popup-body{
    font-size: 14px;;
  }

  .screen-popup{
    /* overflow-y: auto; */
    /* height: unset;
    min-height: 100%; */
  }

  .wrapper-blur{
    height: unset;
    min-height: 120vh;
  }
  
  .loading .logo-desc{
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .skin-type-name,
  .skin-type-summary h2{
    font-size: 16px;
  }

  #after-scan-qr .popup{
    top: 67%;
  }

  .result-inner-wrapper-combine .right-result-intro h2{
    margin-bottom: 10px;
  }

  .right-result-intro p{
    font-size: 12px;
  }

  .result-inner-wrapper-combine .expanded-result-intro .right-result-intro p{
    font-size: 12px !important;
  }

  #tab_full_combine .right-result-intro p{
    font-size: 7px;
    padding: 5px 6px !important;
    white-space: nowrap;
  }

  .loading .logo-desc {
    font-size: 12px;
  }

  img.top-result-tag {
    max-width: 60%;
    height: unset;
  }

  .button-result-intro{
    min-width: unset !important;
  }

  .button-result-intro span{
    display: none;
  }

  .question-icon{
    width: 20px;
  }

  .question-wrapper{
    gap: 10px;
  }

  .question-square-wrapper .question-list p{
    min-height: 36px;
  }

  .link-line {
    font-size: 16px;
  }

  .result-intro {
    /* aspect-ratio: calc(951/628); */
  }

  .expanded-result-intro {
    /* aspect-ratio: calc(951/705); */
  }

  .summary-report-topcard {
    flex-direction: column;
  }

  .products-wrapper-twoside {
    flex-direction: column;
  }

  .outer-header-intro {
    padding: 14px 0;
  }

  .kahf-screen {
    padding: 1rem;
  }

  .scan-progress {
    margin-top: 4px;
  }

  .corner-box {
    font-size: 12px;
  }

  .popup{
    width: 90%;
  }

  .popup-header {
    font-size: 15px;
    padding: 18px 15px;
  }

  .hint {
    top: 22.5%;
  }

  .page-style-v4 .top-intro-wrapper {
    border-radius: 18px 18px 0 0;
  }

  .page-style-v4 .top-intro-wrapper+div {
    border-radius: 30px;
  }

  .section-products-wrapper .image-product-section img {
    max-height: 80px;
  }

  .splash-loading i {
    font-size: 10px;
  }

  .splash-loading span {
    font-size: 11px;
  }

  .icon-back {
    width: 18px !important;
    top: 15px !important;
    left: 10px !important;
  }

  .header-2 .icon-back {
    top: 11px;
    left: 13px;
  }

  /* #face-scan-skin #face-scan-container {
  width: 78%;
  transform: translateX(5%);
} */

  .parent-tabs .nav-link {
    font-size: 13px;
  }

  .scroll-arrow {
    font-size: 14px;
    height: 26px;
  }

  .tab-inline .nav-tabs .nav-link {
    font-size: 13px;
    padding: 11px 20px;
  }

  #tabWrapper {
    overflow-y: auto;
    scroll-behavior: unset;
  }

  /* .header-2 .icon-back {
    position: absolute;
    top: 11px;
    left: 13px;
    filter: brightness(1) invert(1);
} */

  .header-name {
    font-size: 15px;
    line-height: 15px;
  }

  .header-2-logo {
    font-size: 15px;
    line-height: 15px;
  }

  .title-section {
    font-size: 13px;
  }

  .product p {
    font-size: 11px;
  }

  .bar-value {}

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

  .form-control {
    font-size: 12px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .kahf-btn {
    min-width: 147px;
  }

  .instruction-wrap {
    gap: 10px;
  }

  .instruction-intro {
    font-size: 14px;
  }
}

/* Styles specific to Safari */
@supports (-webkit-touch-callout: none) {
  #face-scan-container>canvas,
  #face-scan-container>video {
    height: 220%;
  }

  .right-result-intro h2 {
    padding-top: 14px;
  }
}

@media(min-width: 1024px) {
  #face-scan-skin #face-scan-container {
    max-width: 480px;
  }
}

@media(min-width: 767px) {
  #page-scan-qr {
    overflow-y: auto;
  }
}

@media only screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  html, body{
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }
}
