: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%;
  background-color: #000;
}

body {
  font-family: 'Iki Mono';
  color: var(--kahf-primary);
  position: relative;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background-image: url("../images/bg-bottom-fill-white.png"), url("../images/bg_green_hair.png");
  background-color: var(--kahf-primary);;
  background-size: 100% auto, 100% 100%;
  background-position: bottom right, top center;
  background-repeat: no-repeat, no-repeat;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 100;
  margin: 0 auto;
}

.h1,
.h2,
.h3,
.h4,
.h5 {
  /* font-weight: 600; */
}

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

button, a{
  cursor: pointer;
}
#page-instruction-qr img {
  width: 30px;
}

.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;
  text-align: center;
}

.splash-continue {
  font-size: 18px;
}

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

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

.page-stye-1 h3 {
  font-size: 16px;
  font-weight: normal;
}

#captured-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
}

#captured-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kahf-container {
  max-width: 100%;
  padding: 0;
  /* background-color: #000; */
  height: 100%;
  background:
  linear-gradient(
    to right,
    transparent 0%,
    transparent calc(50% - 270px), /* left space */
    #34F301 calc(50% - 270px),
    #34F301 calc(50% - 268px),       /* 2px border */
    transparent calc(50% - 268px),
    transparent calc(50% + 270px), /* right space */
    #34F301 calc(50% + 270px),
    #34F301 calc(50% + 272px),       /* 2px border */
    transparent calc(50% + 272px),
    transparent 100%
  ),
  linear-gradient(
    to bottom,
    transparent 0%,
    transparent 36%,               /* move rectangle down to start at 38% */
    #34F301 36%,
    #34F301 calc(36% + 2px),         /* top border */
    transparent calc(36% + 2px),
    transparent calc(36% + 180px), /* bottom of inner rectangle */
    #34F301 calc(36% + 180px),
    #34F301 calc(36% + 182px),       /* bottom border */
    transparent calc(36% + 182px),
    transparent 100%
  ),
  linear-gradient(#34F301, #34F301) calc(50% - 263px) calc(36% + 3px) / 10px 3px no-repeat,
  linear-gradient(#34F301, #34F301) calc(50% - 263px) calc(36% + 179px) / 10px 3px no-repeat,
  linear-gradient(#34F301, #34F301) calc(50% + 265px) calc(36% + 3px) / 10px 3px no-repeat,
  linear-gradient(#34F301, #34F301) calc(50% + 265px) calc(36% + 179px) / 10px 3px no-repeat,

  linear-gradient(#34F301, #34F301) calc(50% - 267px) calc(36% + 7px) / 3px 10px no-repeat,
  linear-gradient(#34F301, #34F301) calc(50% + 269px) calc(36% + 7px) / 3px 10px no-repeat,
  linear-gradient(#34F301, #34F301) calc(50% - 267px) calc(36% + 173px) / 3px 10px no-repeat,
  linear-gradient(#34F301, #34F301) calc(50% + 269px) calc(36% + 173px) / 3px 10px no-repeat
}

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

#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: #ffffff !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-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  margin-top: 36px;
  color: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 1px;
}

.kahf-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 600px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.title-2 {
  font-size: 2.2rem;
}

.title-3 {
  font-size: 1.3rem;
}

.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: url(../images/bg-regis-blur.png) top right / 80% auto no-repeat, url(../images/bg-regis-blur-gray.png) top left / 100% auto no-repeat;
  background-color: rgba(255, 255, 255, 0.74);
  padding: 0 9% 7% 9%;
  border: 2px solid #eaeaea;
  margin-top: -1px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

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

.popup-header {
  background-color: #ffffff;
  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: 14px;
}

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

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

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

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

/* button.btn.kahf-btn.kahf-btn-accent.open-qr-scan {
  padding: 19px 97px;
  font-size: 18px;
} */

#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: 86%;
  aspect-ratio: calc(686 / 166);
  opacity: 0;
  animation: scan 5s infinite;
  top: 26%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  transition: top 250ms ease;
}

.face-scanner-line.up {
  background: linear-gradient(
    to bottom,
    #c3f232 0%,
    rgba(113, 140, 29, 0) 100%
  );
}

.face-scanner-line.down {
  background: linear-gradient(to top, #c3f232 0%, rgba(113, 140, 29, 0) 100%);
}

#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%;
  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: #ffffff;
  animation: scan 3s infinite;
  z-index: 2;
}

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

  50% {
    top: 62%;
  }

  100% {
    top: 23%;
  }
}

.scan-animation {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ffffff;
  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: 10px;
  border: 1px solid #889d77;
  backdrop-filter: blur(5px);
  background-color: #0000004a;
  text-transform: uppercase;
}

.shape-title {
  /* margin-bottom: 20px; */
  font-size: 24px;
}

.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: 10px;
  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: 10px;
  border: 1px solid #889d77;
  backdrop-filter: blur(12px);
  background-color: #0000004a;
}

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

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

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

.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-size: 3.8rem;
  position: absolute;
  bottom: 6%;
  right: 6%;
}

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

.header-form {
}

.scan-animation {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ffffff;
  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-size: 1.3rem;
}

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

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

.product-side {
  gap: 12px;
  padding: 21px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}

.product-left {
  flex: 0.55;
}

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

.product-right {
  flex: 0.45;
}

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

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

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

.product-side h3 {
  font-size: 17px;
  margin-bottom: 20px;
}

.product-right-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  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%);
  padding: 5px 10px;
  border-radius: 10px;
  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: 10px;
  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;
  font-weight: 600;
  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: 13px;
  width: 100%;
  padding: 12px 10px;
  background-color: #ffffff;
}

/* 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: 10px;
  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: #2b2b2bb2; /* dark inner box */
  margin-left: auto;
  color: #ffffff;
  margin-right: auto;
  padding: 17px 20px;
  font-size: 17px;
  position: relative;
  text-align: center;
  border: 1px solid #EBEBEB;
}

.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: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 0;
  border-bottom: 0;
}

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

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

/* bottom-right: bottom + right */
.corner.br {
  bottom: -4px;
  right: -4px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  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;
  /* max-width: 256px; */
}

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

.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: #ffffff;
  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 / 378);
  width: calc(30% - 32px) !important;
  position: relative;
  border-radius: clamp(5px, 1.5vw, 10px);
  overflow: hidden;
  border: 3px solid transparent
}

.question-square-wrapper .question-list p {
  font-size: 15px;
  width: 100%;
  text-transform: uppercase;
  background-color: #ffffff;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
  padding: 10px 15px;
  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 #73a200;
}

.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: 50%;
  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: 15px;
}

.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: 32px;
}

.qustion-wrapper-two-column .question-list {
  width: calc(34% - 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: #ffffff;
  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:
  linear-gradient(
      to right,
      transparent 0%,
      transparent 5%,
      #34F301 5%,
      #34F301 calc(5% + 1px),
      transparent calc(5% + 1px),
      transparent 95%,
      #34F301 95%,
      #34F301 calc(95% + 1px),
      transparent calc(95% + 1px),
      transparent 100%
    ),
  url("../images/bg-bottom-fill-white.png"), url("../images/bg_green_hair_lg.png")
  ;
  background-size: 100% 100%, 100% auto, 100% 100%;
  background-position: center center, bottom right, top center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  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 .form-label {
  color: #000;
  font-size: 13px;
}

.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: #ffffff;
  height: 84%;
  padding: 3% 3% 0 3%;
  border-radius: 32px;
  margin-top: -1px;
}

.question-container {
  color: #ffffff;
  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: 640px;
  height: 640px; */
  width: 100%;
  height: 100% !important;
  position: absolute !important;
  top: 0;
  left: 0;
}
/* #face-scan-hair.hidden{
  display: block;
  opacity: 0;
  pointer-events: none;
} */
#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;
  visibility: hidden !important;
} */

.image-popuper-wrapper {
  position: relative;
  width: 80%;
  top: 14%;
}

.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: #ffffff;
}

.instruction-wrap {
  display: flex;
  color: #ffffff;
  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: 0.5rem 0.8rem;
  font-size: 0.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: #ffffff;
  border: 1px solid #000;
  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;
}


.social-template .right-result-intro {
  background-size: contain;
  aspect-ratio: calc(951 / 428);
  background-position: top center;
  background-repeat: no-repeat;
}

.social-template .outer-header img {
  width: 128px;
}

.social-template .outer-header .text-logo-inline {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
}

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

.sphere-left {
  left: 0;
}

.sphere-right {
  right: 0;
}

.result-inner {
  /* /* padding-left: 19%; */
  width: 100%;
  /* background-color: #CCCCCC; */
  /* 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-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;
}

.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: #ffffff;
  padding: 16px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  border-radius: 10px;
}

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

.bar-value {
  /* transform: translateX(115%); */
  margin-left: auto;
  /* color: #ffffff; */
  /* 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: #ffffff;
  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%;
}

/* .bars .progress-bar[style^="width: 0%"] {
  background-color: transparent !important;
  border: 0 !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;
} */

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

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

#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: 70%;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  margin: 22px auto 30px auto;
  position: relative;
  touch-action: none;
}

.image-face-skin-result-intro img {
  width: 136%;
  height: 136%;
  object-fit: cover;
  position: absolute;
  top: 57%;
  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: 240px;
  width: 70%;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  margin: 22px auto 30px auto;
  position: relative;
  touch-action: none;
}

.image-face-skin-result img {
  width: 200%;
  height: 200%;
  object-fit: cover;
  position: absolute;
  top: 57%;
  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;
}

.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: 100%;
  left: 50%;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
}
#hair-loader {
  z-index: 9999;
}

.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: 4px solid #b0bdb7;
  border-top: 4px solid #000;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  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 / 348); */
  padding: 2.5rem 0 0;
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #CECECE;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #ffffff;
  flex-wrap: wrap;
  background-image: url(../images/bg-intro-result-hair.png);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}
#hairstyle-screen .result-intro
{
  /* border-radius: 30px 30px 0 0 */
}
.expanded-result-intro {
  aspect-ratio: calc(951 / 505);
}
.left-result-intro span,
.right-result-intro span, .result-box span
{
  margin-top: 0;
  font-size: 12px;
  font-family: "Iki Mono";
}
#left-result-hair p,#right-result-face p{
  margin: 0;
  font-size: 12px;
  font-family: "Nort";
}

.left-result-intro,
.right-result-intro {
  width: 100%;
  padding-bottom: 70px;
  display: flex;
  font-size: 30px;
  height: 100%;
  flex: 1 0 50%;
  flex-direction: column;
  text-align: left;
  justify-content: start;
  font-size: 20px;
  padding: 10px 20px 1rem;
  padding-bottom: 10px;
  justify-content: center;
  align-items: start;
  font-weight: bold;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  container-type: inline-size;
  border-top: 1px solid white;
}
.left-result-intro{
  border-right: 1px solid white;
}

.expanded-result-intro .right-result-intro {
  padding-bottom: 70px;
}
.left-result-intro h2,
.right-result-intro h2 {
  font-size: 11cqi;
  font-family: "Iki Mono";
  line-height: 21cqi;
  line-height: 0.9;
  opacity: 0.72;
  font-weight: bold;
  margin-top: 0.5rem;
  text-transform: uppercase;
}
.left-result-intro p,
.right-result-intro p {
  margin-bottom: 0;
  padding-left: 8px;
  font-size: 11px;
  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: 10px;
  padding: 0px 24px;
  text-align: center;
  font-weight: 600;
  margin: 10px 0 0 0;
  display: table;
}

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

.top-result-inner {
  position: absolute;
  top: 0;
  font-size: 15px;
  font-weight: bold;
  border-radius: 0 0 18px 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background-color: #ffffff;
  padding: 3px 18px;
  white-space: nowrap;
}

img#your-photo, #res_3_img {
    /* max-width: 420px; */
    /* left: 74%; */
    /* margin: 25% 0 0 30%; */
    /* border: 3px solid #ffffff; */
    box-sizing: border-box;
    object-fit: cover;
    /* object-position: center; */
    position: relative;
    height: 100%;
    width: 100%;
}

img#ellipse {
    width: 30%;
    max-width: 420px;
    position: relative;
    left: -24.8%;
    margin: 58% 0 0 0;
}

button#to-full-result {
  padding: 20px 24px;
}

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

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

.gradient-rounded {
  background: linear-gradient(
    180deg,
    rgb(255, 255, 255) 73.52%,
    rgba(211, 254, 80, 0.6) 159.16%
  );
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ffffff;
}

.bg-gradient {
  background: linear-gradient(
    180deg,
    rgb(255, 255, 255) 73.52%,
    rgba(211, 254, 80, 0.6) 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: 21px;
  font-weight: bold;
}

.skin-type-desc {
  font-size: 15px;
}

#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 #ffffff;
}

.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: #ffffff;
  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 .nav-link.active {
  background-color: #939dac;
  columns: #ffffff !important;
}

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

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

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

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

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

#scan-helper-text
{
  font-size: 16px;
}
.section-products-wrapper .image-product-section {
  aspect-ratio: calc(6 / 4);
  width: 100%;
  margin-bottom: 6px;
  display: flex;
  padding: 10px 0;
  justify-content: center;
  align-items: center;
}

.section-products-wrapper .image-product-section 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: #ffffff !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;
}

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

.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: #ffffff;
  padding: 20px 0;
}

#form label.checkbox {
  font-family: "Montserrat";
  color: #000;
}

label.checkbox a {
  color: #000;
}

.form-control {
  border-radius: 10px;
  font-size: 15px;
  color: #000 !important;
  padding: 12px 22px;
  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: #ffffff;
  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: #ffffff;
  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: #ffffff;
  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: 90%;
  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 / 0.5);
  width: 100%;
}

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

.result-inner-wrapper {
  width: 70%;
  margin-top: 0.66rem;
  min-height: 100%;
  /* opacity: 0.35; */
  margin-left: auto;
  margin-right: auto;
  /* pointer-events: none; */
  /* overflow: hidden; */
  border: 1px solid #ffffff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.hair-result-inner-wrapper {
  width: 100%;
  /* min-height: 97%; */
  margin-left: auto;
  margin-right: auto;
  /* margin-top: -2%; */
  border: 1px solid #ffffff;
  border-bottom: 0;
  background-color: #CCCCCC;
  border-radius: 10px 10px 0 0;
  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: 10px;
}

#hairstyle-screen .hair-result-inner-wrapper {
  width: 92%;
}

#page-result.overflow-hidden .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: #ffffff;
  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;
  padding: 1rem;
  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: 2.8%;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  z-index: -1;
}

/* 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: 10px; /* track thickness */
  background: #7d7d7d;
  border-radius: 10px;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* filled portion */
.pb-fill {
  height: 100%;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  background: #c3f232;
  transition: width 420ms cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: width 0.3s;
  transition-delay: 0.3s;
  padding-right: 6px; /* room for small pill */
}

/* percentage text on the right */
.pb-percent {
  text-align: right;
  font-weight: 600;
  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;
}

.modal .screen-header {
  padding: 16px 20px;
  background: #ffffff;
  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: 70%;
  margin-top: 7%;
}

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

.link-line {
  font-size: 15px;
  margin-top: 19px;
}

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

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

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

.circle-pattern {
  position: absolute;
  top: 44%;
  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: 100%;
  background-color: #ffffff;
  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(10px);
  background-color: rgba(0, 0, 0, 0.425);
}

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

.info-card {
  background: var(--panel-bg);
  border-radius: 10px;
  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;
}

@media (max-width: 620px) {
  .kahf-container{

    background:
    linear-gradient(
      to right,
      transparent 0%,
      transparent 5%,
      #34F301 5%,
      #34F301 calc(5% + 1px),
      transparent calc(5% + 1px),
      transparent 95%,
      #34F301 95%,
      #34F301 calc(95% + 1px),
      transparent calc(95% + 1px),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 32%,                  /* top edge starts at 32% */
      #34F301 32%,
      #34F301 calc(32% + 1px),            /* top border */
      transparent calc(32% + 1px),
      transparent calc(32% + 180px),     /* bottom of rectangle = top + 25% of screen height */
      #34F301 calc(32% + 180px),
      #34F301 calc(32% + 181px),     /* bottom border */
      transparent calc(32% + 181px),
      transparent 100%
    ),
  /* Small horizontal segments (top/bottom) */
  linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(32%) / 10px 3px no-repeat,
  linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(32% + 177px) / 10px 3px no-repeat,
  linear-gradient(#34F301, #34F301) calc(95% + 1px) calc(32%) / 10px 3px no-repeat,
  linear-gradient(#34F301, #34F301) calc(95% + 1px) calc(32% + 180px) / 10px 3px no-repeat,
  /* Small vertical segments (left/right) */
  linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(32% + 7px) / 3px 10px no-repeat,
  linear-gradient(#34F301, #34F301) calc(95%) calc(32% + 7px) / 3px 10px no-repeat,
  linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(32% + 172px) / 3px 10px no-repeat,
  linear-gradient(#34F301, #34F301) calc(95%) calc(32% + 172px) / 3px 10px no-repeat;
  }

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

  p {
    font-size: 0.75rem;
  }
  .popup p {
    margin-bottom: 0.33rem;
    font-size: 0.6rem;
  }
  .popup hr
  {
    margin: 0.5rem 0;
  }

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

  .question-container
  {
    padding-top: 20px;
  }

  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 {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .scan-helper-text {
    font-size: 0.65rem;
  }

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

  .scan-progress {
    height: 4px;
  }

  .section-products-wrapper .image-product-section {
    width: 64%;
  }

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

  .parent-tabs .nav-link {
    padding: 18px 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;
    padding-left: 8px;
    font-size: 21px;
  }
}


/* Section container di tengah layar */
.scan-result-section {
  min-height: 100vh; /* tinggi layar penuh */
  display: flex; /* aktifkan flexbox */
  justify-content: center; /* center horizontal */
  align-items: center; /* center vertical */
  background: #d8d8d8; /* warna latar (optional) */
  padding: 40px 0;
}

/* Wrapper isi di dalam section */
.scan-result-wrap {
  background: #d8d8d8;
  text-align: center;
  padding: 20px;
  border-radius: 6px;
}

/* Header pill */
.scan-header {
  background: #ffffff;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  color: #000;
  margin-bottom: 12px;
}

/* Kotak foto */
.result-frame {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.photo-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  border: 6px solid #ffffff;
  overflow: hidden;
  border-radius: 4px;
  background: #f4f4f4;
}

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

/* Outline neon */
.face-outline {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 72%;
  transform: translate(-50%, -48%);
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

/* Tombol besar */
.btn-see-analysis {
  background: #d7ff33;
  border: none;
  padding: 16px 48px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.06);
}

.btn-see-analysis:hover {
  transform: translateY(-2px);
}

.header-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 28px 28px 28px 28px;
  position: relative;
}

.backBtn,
.back2DBtn,
.shareBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  /* background: rgba(255, 255, 255, 0.2); */
  border: none;
  /* border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600; */
  color: #ffffff;
  cursor: pointer;
  /* backdrop-filter: blur(10px); */
  /* transition: all 0.3s ease; */

  /* background: rgba(43, 43, 43, 0.4);
  border: 1.5px solid #DDDDDD;
  box-shadow: 0px 4px 16px rgba(43, 43, 43, 0.13), inset 0px -9px 67px -1px rgba(255, 234, 234, 0.8);
  backdrop-filter: blur(12px); */
  /* Note: backdrop-filter has minimal browser support */
  /* border-radius: 0px; */

}

.backBtn:hover,
.back2DBtn:hover,
.shareBtn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.03);
}

.backBtn img,
.back2DBtn img,
.shareBtn img {
  width: 18px;
  height: 18px;
}

.header-result > img {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
}

/* Container untuk semuanya */
.btn-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Supported text */
.supported {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 10px;
  color: #000;
  margin-left: -1.5%;
  margin-top: -1%;
}

.supported img {
  vertical-align: middle;
  margin-left: 6px;
  width: 20%;
  max-width: 500px;
}

/* ==== PARENT WRAPPER ==== */
.result-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px; /* jarak antar box kiri dan kanan */
  background: radial-gradient(#bbb 1px, transparent 1px);
  background-size: 10px 10px;
  padding: 30px 0;
  border-radius: 10px;
}

/* ==== KIRI (CURLY HAIR) ==== */
.left-result-hair {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 0px 30px;
  border-radius: 10px;
  flex: 1 0 35%;
  width: 35%;
}

/* judul */
.left-result-hair h2 {
  font-size: 2.97cqi;
  font-family: 'Medium';
  line-height: 0.9;
  opacity: 0.72;
  margin: 10px 0 20px 0;
  text-align: center;
  letter-spacing: 2px;
  /* white-space: nowrap; */
}

/* isi (gambar + teks sejajar) */
.left-result-hair .content {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  /* margin: 0 0 0 -50%; */
}

/* gambar */
.left-result-hair img {
  width: 70%;
  object-fit: cover;
  border: 2px solid #ffffff;
  /* border-radius: 3px;  */
  min-height: 102px;
}

/* teks */
.left-result-hair p {
  font-size: 12px;
  color: #000;
  font-weight: 300;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: left;
  max-width: 180px;
}

/* ==== KANAN (OVAL SHAPE) ==== */
.right-result-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 0px 10px;
  border-radius: 10px;
  flex: 1 0 35%;
  flex-wrap: wrap;
  /* margin-left: 10%; */
  width: 35%
}

.right-result-face h2 {
  font-size: 2.97cqi;
  font-family: 'Medium';
  line-height: 0.9;
  opacity: 0.72;
  margin: 10px 0 20px 0;
  text-align: center;
  letter-spacing: 2px;
  white-space: nowrap;
}

.right-result-face .content {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 110%;
  margin: 0 0 0 -50%;
}

.right-result-face img {
  width: 61%;
  object-fit: cover;
  border: 2px solid #ffffff;
  /* border-radius: 3px;  */
  min-height: 12px;
  /* height: 36%; */
  margin-left: 50%;
}

.right-result-face p {
  font-size: 11px;
  color: #000;
  font-weight: 300;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: left;
  max-width: 180px;
}

img#your-photo-result {
    max-width: 80%;
    width: 100%;
    /* margin-left: 5%; */
    /* margin-top: 5%; */
    border: 2px solid #ffffff;
}

/* .result-face-hair-container
 {
    display: flex;
    width: %;
} */

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

.result-photo {
    /* margin-top: -1.5%; */
    /* width: 100%; */
    overflow: hidden;
    border: 1px solid #ffffff;
    margin: 0 auto !important;
    aspect-ratio: 1;
    min-width: 80%;
    max-width: 80%;
}

/* wrapper */
.result-inner {
  position: relative;
  padding: 3rem 0 5rem;
  text-align: center;
}

.hair-result-inner-wrapper .result-inner {
  padding-bottom: 2rem;
}


.btn-container.d-none + .hair-result-inner-wrapper {
  margin-top: 0;
}

#page-result .result-inner
{
  background-color: #ccc;
  padding-bottom: 8rem;
}

/* Top title */
.top-result-inner span {
  display: block;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  /* margin-bottom: 4px; */
  font-size: 13px;
  white-space: nowrap;
}

/* carousel container */
.carousel-container {
  position: relative;
  width: 820px; /* container visible width */
  max-width: 100%;
  margin: -20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: visible;
  z-index: 1;
  min-height: 480px;
  /* height: 480px; */
  /* subtle darkened backdrop to emphasize center card */
  background: transparent;
  border-radius: 10px;
  padding: 28px 60px;
  box-sizing: border-box;
}

/* single card base */
.hairstyle-card {
  width: 360px;
  min-width: 360px;
  /* height: 420px; */
  background-color: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* center card emphasized */
.hairstyle-card.active {
  transform: translateY(-6px) scale(1);
  z-index: 4;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.45);
}

/* side cards look smaller/blurred */
.hairstyle-card.side {
  /* CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX; */
  transform: translateY(12px) scale(0.86);
  filter: blur(3px) brightness(0.2);
  opacity: 1;
  z-index: 2;
  margin: 0 -7% 0;
}

/* image area with halftone + gradient overlay */
.hairstyle-image {
  position: relative;
  height: 300px;
  background: radial-gradient(
      circle at top right,
      #3E893E50,
      transparent 28%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(240, 240, 240, 0.8),
      transparent 30%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* halftone dots using repeating-radial-gradient overlay */
.hairstyle-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85) 1px,
    rgba(255, 255, 255, 0) 1.5px
  );
  background-size: 8px 8px;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* picture */
.hairstyle-image img {
  max-height: 92%;
  max-width: 96%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* small white ellipse overlay (like sample) */
.hairstyle-image .ellipse {
  position: absolute;
  left: 50%;
  top: 63%;
  transform: translateX(-50%);
  width: 260px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  opacity: 0.95;
  z-index: 3;
}

/* bottom info panel */
.hairstyle-info {
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(250, 250, 250, 0.95)
  );
  flex: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hairstyle-name {
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 6px 0;
  color: #000;
  letter-spacing: 0.2px;
}

.hairstyle-desc {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #d7ff33;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(215, 255, 51, 0.4), 0 4px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s ease;
  opacity: 0;
}
#prod_recommend{
  opacity: 0;
}

/* efek hover manis */
.carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 24px rgba(215, 255, 51, 0.6);
}

/* gambar di dalam tombol */
.carousel-btn img {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

/* tombol kiri */
.carousel-btn img:first-child {
  left: 14px;
  transform: rotate(180deg);
}

/* tombol kanan */
.carousel-btn img:last-child {
  right: 14px;
}

/* posisi tombol di container */
.carousel-btn {
  left: 130px;
}

/* duplikat tombol kanan (optional kalau mau dua tombol terpisah) */
.carousel-btn.right {
  right: 130px;
  left: auto;
}

/* jika kamu hanya mau satu tombol di tengah kiri-kanan, tambahkan ini */
.carousel-btn.dual {
  left: 50%;
  transform: translate(-50%, -50%);
}

/* dim background cards behind center with pseudo copies */
.carousel-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px; /* lebar efek di sisi kiri */
  height: 100%;
  /* background: linear-gradient(to right, rgba(0,0,0,0.6), transparent); */
  filter: blur(8px);
  pointer-events: none; /* biar gak ganggu klik elemen */
  z-index: 0;
}

/* === RIGHT GRADIENT === */
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px; /* lebar efek di sisi kanan */
  height: 100%;
  /* background: linear-gradient(to left, rgba(0,0,0,0.6), transparent); */
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

/* responsiveness */
@media (max-width: 920px) {
  .carousel-container {
    width: 92%;
    padding: 24px;
    height: auto;
    min-height: initial;
    flex-wrap: nowrap;
  }
  .hairstyle-card {
    width: 300px;
    min-width: 300px;
    height: 380px;
  }
  .carousel-btn {
    display: none;
  }
}

img.\32 d-hairRec {
  width: 100%;
  margin: 20% 0px 10% 0;
}

h3.hairstyle-name {
    font-size: 20px;
    /* margin-top: -8%; */
    font-family: 'Iki Mono';
    text-align: center;
}
.hairstyle-info{
  flex: 1;
  position: relative;
  z-index: 1;
}

.prodRec-title {
  text-align: center;
  font-family: "Iki Mono";
  font-size: 14px;
  color: #000;
  background: #ffffff8c;
  /* border: 1px solid #ffffff; */
  border-radius: 10px;
  padding: 14px 13px 13px 13px;
  width: 520px;
  margin: 20px auto -15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #ffffff;
  backdrop-filter: blur(10px);
}

.prodRec {
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-top: 10px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.prodRec img {
  width: 80px;
  height: auto;
  border-radius: 6px;
  margin-right: 16px;
}

.prod-desc span {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #000;
  margin-bottom: 4px;
}

.prod-desc p {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

.all-hair {
  display: block;
  margin: 30px auto;
  padding: 14px 40px;
  font-family: "Nort";
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  background: linear-gradient(
    180deg,
    rgba(190, 190, 190, 0.6),
    rgba(150, 130, 130, 0.4)
  );
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 320px;
  text-align: center;

  background: rgba(43, 43, 43, 0.2);
  box-shadow: inset 0px -9px 67px -1px rgba(255, 234, 234, 0.8);
  backdrop-filter: blur(12px);

}


.all-hair:hover {
  transform: scale(1.03);
  background: linear-gradient(
    180deg,
    rgba(210, 210, 210, 0.8),
    rgba(170, 150, 150, 0.6)
  );
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ---------- Layout umum ---------- */
#twod-hair {
  width: 100%;
  box-sizing: border-box;
  padding: 28px 18px;
  font-family: Inter, system-ui, Arial, sans-serif;
}
#twod-hair,
.page-stye-1,
.kahf-screen,
.btn-container {
  overflow: visible !important;
}
#twod-hair {
  overflow: hidden!important;
}
/* header */
.header-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: -2px;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  container-type: inline-size;
}

.header-result .page-title{
  font-size: 4cqi !important;
}

/* back button */
.backBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* padding: 10px 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  backdrop-filter: blur(6px); */
  /* color: #ffffff; */
  /* font-weight: 600; */

  /* background: rgba(43, 43, 43, 0.4);
  border: 1.5px solid #DDDDDD;
  box-shadow: 0px 4px 16px rgba(43, 43, 43, 0.13), inset 0px -9px 67px -1px rgba(255, 234, 234, 0.8);
  backdrop-filter: blur(12px); */
  /* Note: backdrop-filter has minimal browser support */
  /* border-radius: 0px; */
}
.backBtn img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

.back2DBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-weight: 700;

  background: rgba(43, 43, 43, 0.4);
  border: 1.5px solid #DDDDDD;
  box-shadow: 0px 4px 16px rgba(43, 43, 43, 0.13), inset 0px -9px 67px -1px rgba(255, 234, 234, 0.8);
  backdrop-filter: blur(12px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 0px;
}
.back2DBtn img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

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

/* centered big title */
.page-title {
  margin: 0 auto;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #111;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.15);
}

/* grid container */
.grid-hairstyles {
  max-width: 1100px;
  margin: 18px auto 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px;
  align-items: start;
  padding: 8px;
  padding-bottom: 300px;
  overflow-y: auto; /* aktifkan scroll vertikal */
  overflow-x: hidden; /* cegah scroll horizontal */
  max-height: 100vh; /* batasi tinggi ke layar penuh */
  scroll-behavior: smooth;
  pointer-events: auto;
  position: relative; /* penting untuk z-index */
  z-index: 1; /* grid di atas logo */
  box-sizing: border-box;
  max-height: calc(100vh - 120px);
}

/* shadow */
.shadow-top,
.shadow-bottom {
  position: absolute;
  left: 0;
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 220px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 30;
  will-change: opacity, transform;
  filter: blur(10px);
  transform-origin: center;
}

/* Bayangan atas (lebih gelap dan lembut) */
.shadow-top {
  top: 67px;
  overflow: hidden; /* supaya bagian atas gradient terpotong */
  height: 160px;
}

.shadow-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% -40%,
    /* pusat di luar atas container */ rgba(0, 0, 0, 0.75) 5%,
    /* paling gelap di tengah bawah elips */ rgba(0, 0, 0, 0.55) 25%,
    rgba(0, 0, 0, 0.3) 55%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  transform: scaleY(0.8); /* bentuk elips */
  background-repeat: no-repeat;
}

/* highlight halus di bawah shadow top */
.shadow-top::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6%;
  height: 26%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.3;
  filter: blur(8px);
}

/* Bayangan bawah (gelap dan lembut juga) */
.shadow-bottom {
  bottom: -5%;
  transform: translateY(8px) scaleY(0.68);
  background-image: radial-gradient(
      ellipse at 50% 82%,
      rgba(0, 0, 0, 0.75) 0%,
      /* sebelumnya 0.48 */ rgba(0, 0, 0, 0.6) 18%,
      /* sebelumnya 0.36 */ rgba(0, 0, 0, 0.35) 44%,
      /* sebelumnya 0.18 */ rgba(0, 0, 0, 0.15) 68%,
      /* sebelumnya 0.06 */ rgba(0, 0, 0, 0) 100%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0) 100%
    );
  background-repeat: no-repeat;
  background-size: 100% 120%, 100% 100%;
}

/* State aktif */
.shadow-top.visible,
.shadow-bottom.visible {
  opacity: 1;
  transform: translateY(0) scaleY(0.68);
}

/* card */
.hairstyle-2D-card {
  background: linear-gradient(180deg, #efefef 0%, #e6e6e6 100%);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
  min-height: 320px;
  border: 2px solid #ffffff;
}

/* efek saat card terpilih */
.hairstyle-2D-card.selected, .hairstyle-card.center {
  border: 2px solid #a3ff00;
  box-shadow: 0 0 25px rgba(163, 255, 0, 0.6);
  /* transform: scale(1.03); */
  transition: all 0.3s ease;
}

/* garis horizontal putih */
.hairstyle-2D-card.selected::after {
  content: "";
  position: absolute;
  top: 52%;
  left: 50%;
  width: 85%;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* titik putih di tengah garis */
.hairstyle-2D-card.selected::before {
  content: "";
  position: absolute;
  top: 52%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* image area */
.hairstyle-2D-image {
  position: relative;
  /* height: 220px; */
  aspect-ratio: 1;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background-color: white;
  /* background: linear-gradient(180deg, rgba(250,250,250,0.9), rgba(245,245,245,0.9)); */
  flex: 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* subtle inner white border like sample */
.hairstyle-2D-image::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* product shadow (optional design element) */
.hairstyle-2D-shadow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  box-shadow: inset 0 40px 40px rgba(0, 0, 0, 0.04);
}

/* image itself */
.img-2d-hair {
  /* max-height: 95%; */
  /* max-width: 95%; */
  object-fit: cover;
  display: block;
  border-radius: 6px;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* info panel (white small panel at bottom of card) */
.hairstyle-info {
  background: #ffffff;
  padding: 0 10px 4px 10px;
  /* margin-top: -8px; */
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  flex: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: calc(4/1.2);
  /* line-height: 1; */
}

/* title and desc */
.hairstyle-name-2D {
  margin: 0;
  font-size: 14px !important;
  color: #222;
  font-family: 'Iki Mono';
  text-transform: capitalize;
  display: flex;
  line-height: 1.15;
  height: 100%;
  justify-content: start;
  align-items: center;
}
.hairstyle-desc-2D {
  margin: 0;
  font-size: 9px;
  color: #606060;
  line-height: 1.45;
}

/* small product badge bottom-right */
.product-badge {
  position: absolute;
  right: -7px;
  top: 68%;
  width: 45%;
  /* height: 50%; */
  /* background: linear-gradient(180deg, #f6f6f6, #ededed); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 6px 14px rgba(0,0,0,0.12); */
  /* border: 1px solid rgba(0, 0, 0, 0.06); */
}
.product-badge img {
  max-width: 70%;
  max-height: 70%;
  display: block;
  width: 100%;
  z-index: 2;
  /* margin-bottom: 30%; */
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-hairstyles {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .page-title {
    font-size: 36px;
  }
}
@media (max-width: 640px) {
  .grid-hairstyles {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 12px;
  }
  #twod-hair .hairstyle-info{
    flex: 0;
  }
  .page-title {
    font-size: 28px;
  }
  /* .backBtn {
    padding: 8px 10px;
  } */
  .back2DBtn {
    padding: 8px 10px;
  }
  .carousel-container
  {
    height: auto;
  }


  .hairstyle-card
  {
    width: 72%;
    max-height: 320px;
    min-width: 240px;
    height: 100%;
  }
  h3.hairstyle-name
  {
    margin: 0;
    font-size: 14px;
  }
  .carousel-btn
  {
    left: 0;
  }
  .carousel-btn.right {
    right: 0;
    left: initial;
  }

  .hairstyle-image
  {
    height: 100%;
  }

  .prodRec-title
  {
    width: 100%;
  }
  .all-hair
  {
    padding: 12px 24px;
    max-width: 300px;
    width: 100%;
    margin: 30px auto 0;
  }

  .grid-hairstyles
  {
    grid-template-columns: repeat(2, 1fr) !important;
    padding-bottom: 80px;
  }

  #hairstyle-screen .result-intro
  {
    padding-top: 1rem;
  }

  .hairstyle-2D-image
  {
    /* height: 180px; */
  }
  .hairstyle-2D-card
  {
    height: 260px;
    min-height: 200px;
  }
}

.footer-decode {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: linear-gradient(135deg, #bcbcbc, #4a4a4a); */
  color: white;
  padding: 25px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  overflow: visible;
  z-index: 0; /* dasar */
}

.footer-left h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}

.footer-left span {
  color: #1e2d28;
  font-weight: 800;
}

.footer-support {
  font-size: 14px;
  color: #ddd;
  margin-top: 6px;
}

.footer-shopee {
  height: 18px;
  margin-left: 6px;
  vertical-align: middle;
}

.back-to-top {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 14px;
  padding: 20px 32px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
  position: fixed; /* <-- ini kuncinya bro */
  bottom: 40px;
  right: 40px;

  z-index: 9999; /* paling depan */
}

.footer-right .back-to-top:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-decode {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

img.footer-logo {
  position: absolute;
  top: 200%;
  left: 120%;
  transform: translateX(-50%);
  width: 160px;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}

img#rightBtn {
  scale: 5.3;
  position: relative;
  left: -18%;
  margin-top: -42%;
}

img#leftBtn {
  scale: 5.3;
  position: relative;
  left: -21%;
  margin-top: -42%;
}

.result-face-hair-container
{
  padding: 1rem 0 0;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  width: 100%;
  /* max-height: 160px; */
}
#hairstyle-screen
{
  background: url(../images/bg_result.png)!important;
}
.result-box
{
  max-width: 33%;
  min-width: 33%;
  padding: 12px;
  /* padding-right: 2rem; */
  display: flex;
  gap: 10px;
  min-height: 3rem;
  container-type: inline-size;
  flex-direction: column;
}
.result-box:nth-last-child(1)
{
  border-right: 0;
}
.result-box h2{
  padding-top: 0.25rem;
  margin: 0;
  font-family: 'Iki Mono';
  font-size: 10cqi;
  line-height: 1.2;
  opacity: 0.72;
  /* font-size: 8cqi; */
  font-weight: bold;
  /* margin: 10px 0 20px 0; */
  text-align: left;
  /* letter-spacing: 2px; */
  /* overflow: visible; */
  overflow: hidden;
  /* white-space: nowrap; */
  /* text-overflow: ellipsis; */
  text-transform: uppercase;
  /* height: 24px; */
}
.result-box h2.face-shape-name
{
  /* font-size: 9cqi; */
}
.result-box h2.face-shape-name.triangle_shape
{
  font-size: 8cqi;
}
.result-box h2.face-shape-name.rectangle_shape
{
  /* font-size: 7cqi; */
}
.result-box .content{
  /* padding-left: 44%; */
  /* padding-right: 1rem; */
  min-height: 3rem;
  display: flex;
  overflow: hidden;
  position: relative;
  height: auto;
  flex: 1;
  align-items: start;
  gap: 8px;
  text-overflow: ellipsis;
  justify-content: start;
  container-type: inline-size;
  /* display: none */
}
.result-box .content img{
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: 100%;
  transform: translate(-50%, -50%);
}

.result-box .result-top-image-wrapper{
  min-width: 40%;
  max-width: 40%;
  overflow: hidden;
  aspect-ratio: 1;
  container-type: inline-size;
  border: 2px solid #ffffff;
  position: relative;
}

.result-box span{
  display: none;
}

.result-box .content p{
  font-size: 5.4cqi !important;
  color: #000;
  line-height: 1.2;
  margin: 0;
  font-family: "Nort";
  max-height: 80px;
  /* display: none; */
}

#social_template {
  top: 0;
  /*margin: auto;*/
  left: -100%;
  /*right: 0;*/
  /* left: 0 !important; */
  aspect-ratio: calc(935 / 1406);
  position: fixed;
  background-image: url('../images/bg-social_hair.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  width: 720px;
  aspect-ratio: calc(1080 / 1920);
  /* height: 1407px; */
  /* z-index: 3; */
  z-index: -1;
  /* background-color: #E1E1E1; */
  border: 1px solid #ffffff;
  pointer-events: none;
}

.social-template-inner {
  position: absolute;
  top: 12.5%;
  left: 5.5%;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  width: 89%;
  /* height: 73.5%; */
  /* aspect-ratio: calc(935 / 1353); */
  background-color: #ffffffba;
  backdrop-filter: blur(74.1775px);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ffffff;
}

#social_template .right-result-intro {
  background-size: contain;
  aspect-ratio: calc(951/428);
  background-position: top center;
  height: unset !important;
  background-repeat: no-repeat;
}

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


#print_template .result-photo img#your-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 110%;
  width: auto;
  object-fit: unset;
}

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

#social_template .section-products-wrapper .product {
  overflow: hidden;
  aspect-ratio: calc(4 / 5);
}

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

.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;
}
.social-logo
{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top:2%;
}
.social-logo-2
{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top:8%;
}

.social-template .result-box h2 {
  font-size: 10cqi;
}

.social-results-container
{
  display: block;
  max-width: 69.5%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: auto;
  align-items: center;
  align-content: center;
  justify-content: center;
}

#social_template .result-face-hair-container{
  aspect-ratio: calc(6 / 1.5);
}

#social_template .result-box .content{
  min-height: unset !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

#social_template .result-photo{
  margin-right: unset !important;
  margin-top: 2%;
  min-width: 69%;
  max-width: 69%;
  position: relative;
}

#social_template .result-photo img#your-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 110%;
  width: auto;
  object-fit: unset;
}

#social_template .hair-result-inner-wrapper .result-inner {
  padding-top: 50px !important;
}


#social_template .prodRec-title{
  margin-bottom: 5px;
  width: 93%;
  /* backdrop-filter: blur(74.1775px); */
  background-color: #ffffff78 !important;
}

#social_template .outer-header{
  /* background-color: #ffffffa1;
  backdrop-filter: blur(74.1775px); */
}

#social_template .hair-result-inner-wrapper{
  aspect-ratio: calc(6 / 8.5);
  min-height: unset;
  margin-top: -2%;
  background-color: transparent;
  min-height: unset;
}

.social-results-container .hairstyle-card{
  flex: 0 0 44%;
  min-width: 10%;
  width: auto;
  height: auto;
  background: #ffffff !important;
  border: 1px solid #eeeeee;
}

#social_template .hairstyle-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(320deg, rgb(255, 255, 255) 64%, rgba(62, 137, 62, 1) 100%);
}

#social_template .hairstyle-image{
  margin-top: 2%;
  border-radius: 9px;
}

#social_template .hairstyle-info{
  justify-content: center;
  background: #ffffff !important;
  padding: 0 !important;
}

.social-results-container .hairstyle-image img {
  margin-top: 0;
  max-height: 240px;
}
.social-results-container .hairstyle-image {
  height: auto;
}

.social-results-container .prodRec-title
{
  margin: 0 auto 0;
}
#captured_photo{
  position: fixed;
  top: 0;
  left: -100%;
  width: 678px;
  aspect-ratio: calc(1080 / 1920);
  height: 1205px;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}


/* Print */

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

#print_template .hair-result-inner-wrapper .result-inner{
  padding-bottom: 0 !important;
}

#print_template .result-face-hair-container{
  aspect-ratio: calc(6 / 1.5);
}

#print_template .result-box .content{
  min-height: unset !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

#print_template .hair-result-inner-wrapper{
  aspect-ratio: calc(6 / 8);
  min-height: unset;
  margin-top: -2%;
}

#print_template .carousel-btn{
  display: none !important;
}

@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 .header-result > img{
  width: 16cqi;
}

#print_template .carousel-container{
  flex-wrap: wrap;
  padding: 5% 4%;
  width: 100% !important;
  max-width: unset !important;
  gap: 15px;
  margin-bottom: 20px !important;
  width: 63.5% !important;
}

#print_template .result-photo{
  margin-right: unset !important;
  margin-top: 2%;
  min-width: 69%;
  max-width: 69%;
  position: relative;
}

#print_template .hairstyle-image{
  background: unset !important;
  margin-top: 2%;
  border-radius: 9px;
}

#print_template .hairstyle-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: inset 7px 0 7px -2px rgba(0, 0, 0, 0.3), inset 0 5px 7px -2px rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  /* z-index: 2; */
  display: none;
}

#print_template .hairstyle-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(320deg, rgb(255, 255, 255) 64%, rgba(62, 137, 62, 1) 100%);
}

#print_template .hairstyle-image{
  width: 100%;
  height: unset;
  aspect-ratio: calc(5/4.5);
}

#print_template .hairstyle-image::before{
  content: unset;
}

#print_template img.\32 d-hairRec{
  margin: 0 !important;
}


#print_template .result-intro{
  padding-top: 2% !important;
  border-radius: 0;
}

#print_template .header-result{
  padding-bottom: 4%;
  padding-top: 1%;
}

#print_template .hairstyle-info{
  justify-content: center; 
  background: #ffffff !important;
  padding: 0 !important;
}

#print_template .hairstyle-info .hairstyle-name{
  background: #ffffff !important;
  font-size: 1.5cqi;
  height: 100%;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  /* justify-content: center; */
  container-type: inline-size;
}

#print_template .hairstyle-card{
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
  filter: unset !important;
  transition: unset !important;
  width: calc(50% - 15px) !important;
  min-width: calc(50% - 15px);
  max-width: calc(50% - 15px);
  transform: unset !important;
  height: unset !important;
  box-shadow: unset !important;
  /* aspect-ratio: calc(4 / 5); */
  /* background: rgba(255, 255, 255, 0.5); */
}

#print_template .hair-result-inner-wrapper{
  background-color: #ffffffa1;
  backdrop-filter: blur(74.1775px);
  min-height: unset;
  width: 93%;
  border-radius: 0;
}

#print_template .result-photo img#your-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 110%;
  width: auto;
  object-fit: unset;
}

#print_template .prodRec-title{
  width: 85%;
  /* backdrop-filter: blur(74.1775px); */
  background-color: #ffffff78 !important;
  box-shadow: unset !important;
}

#print_template .prodRec{
  box-shadow: none !important;
}

@media (max-width: 480px) {
  .button-result-intro span {
    display: none;
  }

  .popup{
    top: 52%;
  }

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

  .left-result-intro span, .right-result-intro span, .result-box span{
    font-size: 9px;
  }
  .result-box
  {
    padding: 8px;
  }
  .result-face-hair-container
  {
    padding: 1rem 0 0;
    /* max-height: 90px; */
  }
  .top-result-intro
  {
    font-size: 12px;
    white-space: nowrap;
  }
  #scan-helper-text
  {
    font-size: 14px;
  }

  .page-stye-1 h3{
    font-size: 12px;
  }
  .hairstyle-name-2D {
    font-size: 12px !important;
  }

  #left-result-hair p,#right-result-face p{
    font-size: 9px;
  }
  .home-page .kv {
    width: 93.5%;
  }
  .top-result-inner span
  {
    font-size: 11px;
  }
  .left-result-intro, .right-result-intro
  {
    padding: 0.5rem 12px 0.5rem;
  }

  .header-result
  {
    padding: 18px;
  }
  .header-result > img
  {
    position: absolute;
    max-width: 180px;
    width: 40%;
    left: 50%;
    transform: translateX(-50%);
  }
  .kahf-screen {
    padding: 1rem;
  }

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

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

  .popup{
    width: 90%;
  }
  .corner-box
  {
    font-size: 15px;
    padding: 10px 16px;
  }

  .subtitle
  {
    font-size: 15px;
  }

  .popup-header {
    font-size: 12px;
    padding: 12px 10px;
  }

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

  .popup-body{
    font-size: 0.6rem;;
  }

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

  .wrapper-blur{
    height: unset;
    min-height: 120vh;
  }

  /* #after-scan-qr .popup{
    top: initial;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    transform: initial;
  } */

  .loading-image-wrapper
  {
    width: 80%;
  }

  .loading .logo-desc {
    font-size: 12px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .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: 10px;
  }

  .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%);
} */

  button#to-full-result
  {
    padding: 12px 14px;
    font-size: 0.8rem;
    width: 100%!important;
  }
  .see-analyzed-result
  {
    padding: 8px!important;
  }

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

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

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

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

  .result-inner
  {
    padding-bottom: 5rem;
  }

  #hairstyle-screen .result-inner
  {
    padding-bottom: 0;
  }
  img.\32 d-hairRec
  {
      margin: 0;
  }
  /* .header-2 .icon-back {
    position: absolute;
    top: 11px;
    left: 13px;
    filter: brightness(1) invert(1);
} */

  .prod-desc span
  {
    font-size: 11px;
  }

  .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 {
    transform: translateX(180%);
  }

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

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

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

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

  .instruction-wrap {
    gap: 10px;
  }

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

  .prodRec
  {
    margin: 0;
  }
}

@media (max-height:720px) and (max-width: 640px)
{
  .kahf-container{
    background:
    linear-gradient(
      to right,
      transparent 0%,
      transparent 5%,
      #34F301 5%,
      #34F301 calc(5% + 2px),
      transparent calc(5% + 2px),
      transparent 95%,
      #34F301 95%,
      #34F301 calc(95% + 2px),
      transparent calc(95% + 2px),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 28%,                  /* top edge starts at 32% */
      #34F301 28%,
      #34F301 calc(28% + 2px),            /* top border */
      transparent calc(28% + 2px),
      transparent calc(28% + 20vh),     /* bottom of rectangle = top + 25% of screen height */
      #34F301 calc(28% + 20vh),
      #34F301 calc(28% + 20vh + 2px),     /* bottom border */
      transparent calc(28% + 20vh + 2px),
      transparent 100%
    ),
    linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(28% + 3px) / 10px 3px no-repeat,
    linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(28% + 20vh - 1px) / 10px 3px no-repeat,
    linear-gradient(#34F301, #34F301) calc(95%) calc(28% + 3px) / 10px 3px no-repeat,
    linear-gradient(#34F301, #34F301) calc(95%) calc(28% + 20vh - 1px) / 10px 3px no-repeat,
    /* Small vertical segments (left/right) */
    linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(28% + 7px) / 3px 10px no-repeat,
    linear-gradient(#34F301, #34F301) calc(95%) calc(28% + 7px) / 3px 10px no-repeat,
    linear-gradient(#34F301, #34F301) calc(5% + 1px) calc(28% + 20vh - 7px) / 3px 10px no-repeat,
    linear-gradient(#34F301, #34F301) calc(95%) calc(28% + 20vh - 7px) / 3px 10px no-repeat;
  }


  #after-scan-qr .popup{
    top: initial;
    left: auto;
    right: auto;
    bottom: 1rem;
    transform: initial;
  }
}

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

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

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

@media(max-width: 768px)
{
  
  .hair-result-inner-wrapper .result-inner {
    padding: 2rem 0 0;
  }
}

@media only screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  body{
    height: 100vh;
  }
}
