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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



:root {
  --accent: #FF8890;
  --primary: #D95078;
  --main: #D95078;
  --light-pink: #FF8890;
  --medpink: #FFD8DB;
  --secondary: #747373;
  --main-spring: #FF8890;
  --main-autumn: #67A88D;
  --main-winter: #E0517C;
  --main-summer: #E0517C;
}

/* #result.screen.curved-thick {
  --main: #D95078;
  --primary: #D95078;
}

#result.screen.curved-thin {
  --main: #FF8890;
  --primary: #FF8890;
}

#result.screen.straight-thick {
  --main: #D2AB80;
  --primary: #D2AB80;
}

#result.screen.straight-thin {
  --main: #67A88D;
  --primary: #67A88D;
} */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

*::-webkit-input-placeholder {
  color: var(--accent) !important;
  /* font-style: italic; */
  font-size: 13px !important;
}

*::-webkit-scrollbar-thumb {
  border-radius: 99px !important;
}

.text-bg-primary {
  background-color: var(--main) !important;
}

html {
  background-color: #FCF1F3;
}

html,
body {
  height: 100%;
  overscroll-behavior: none;
}

body {
  font-family: 'Hagrid';
  position: relative;
  font-size: 12px;
  line-height: 1.3;
  color: #333;
}

.app-container {
  width: 100%;
  padding: 0 30px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
  background-color: #FCF1F3;
  overscroll-behavior: none;
}

.fw-medium {
  font-weight: 500;
}

/* screens */
.screen {
  display: none;
  /* height: 100%; */
  position: relative;
  container-type: inline-size;
  flex-direction: column;
  justify-content: start;
  min-height: 100%;
  background-color: #FCF1F3;
}

.screen.active {
  display: flex;
}

.screen-fit {
  margin-left: -30px;
  margin-right: -30px;
}

.screen-intro {
  color: var(--accent);
  container-type: inline-size;
  padding: 7vh 0 4vh 0;
}

.screen-title {
  font-weight: normal;
}

.screen-intro img {
  width: 24%;
  max-width: 130px;
}

.screen-intro {
  text-align: center;
}

.screen-intro p {
  font-size: 5.5cqi;
  margin-bottom: 0;
  font-weight: 500;
}

.select-wrapper {
  width: 90%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.select-item {
  padding: 12px 25px;
  text-align: center;
  justify-content: center;
  border-radius: clamp(6px, 3cqi, 8px);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  color: var(--accent);
  border: 1px solid var(--accent);
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  transition: border 0.3s, color 0.3s;
}

.select-item.selected {
  background-color: var(--accent);
  color: #fff;
}

.select-item.selected::after {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 18px;
  background-color: #fff;
  color: var(--accent);
  content: "\f26e";
  display: inline-block;
  font-family: bootstrap-icons !important;
  display: flex;
  line-height: 0;
  align-items: center;
  font-size: 21px;
  justify-content: center
}

.select-item.bg-white {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-size: 17px;
}

.select-item.bg-white.selected {
  background-color: var(--accent) !important;
  color: #fff !important;
}


.select-item.bg-white.selected::after {
  display: none;
}

.select-item.selected.select-item-spring,
.select-item.selected.select-item-spring:hover {
  background: #FF96A1;
  border-color: #fff;
}

.select-item.selected.select-item-autumn,
.select-item.selected.select-item-autumn:hover {
  background: linear-gradient(90deg, #DB949A 0%, #F8B7BA 100%);
  border-color: #fff;
}

.select-item.selected.select-item-summer,
.select-item.selected.select-item-summer:hover {
  background: linear-gradient(90deg, #BD8D5B 0%, #FECE9B 100%);
  border-color: #fff;
}

.select-item.selected.select-item-winter,
.select-item.selected.select-item-winter:hover {
  background: linear-gradient(90deg, #6AA28C 0%, #8EE2C1 100%);
  border-color: #fff;
}


/* Form & results */
.form-wrap {
  max-width: 440px;
  margin: 10px auto;
  padding-top: 6px;
  color: var(--accent)
}

.form-label {
  color: var(--accent)
}

.error-validation {
  color: #b82a2a;
  font-size: 12px;
  line-height: 1.22;
  display: none;
  margin-top: 4px;
  margin-bottom: auto;
  text-align: center;
}

.form-control {
  font-family: 'Poppins';
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  background-color: transparent !important;
  box-shadow: unset !important;
}

/* .form-control.phone{
  padding-left: 124px;
} */

.select2-container--bootstrap-5 .select2-selection,
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
  font-family: 'Poppins';
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  background-color: transparent !important;
  box-shadow: unset !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
  padding: 7px 14px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  color: var(--accent) !important;
}

.select2-container--bootstrap-5 .select2-selection--single {
  height: unset !important;
  background-size: 10px 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23f7a3b0'/%3E%3C/svg%3E");
}

.select2-container--bootstrap-5 .select2-dropdown {
  font-family: 'Poppins';
  border-radius: 10px;
  border: 1px solid var(--accent) !important;
  background-color: #FCF1F3 !important;
  padding-top: 5px;
}

.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--above {
  margin-top: 8px;
}

.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below {
  margin-top: -1px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
  font-size: 12.5px;
  color: var(--accent) !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted),
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
  background-color: var(--accent) !important;
  color: #fff !important;
}

select {
  border: 1px solid #e1e1e1;
  background: #ffffff;
  padding: 10px;
  transition: 0.4s;
}

option:hover {
  background: #dddddd;
}

option {
  overflow: hidden;
}

option:first-of-type {
  border-radius: 8px 8px 0 0;
}

option:last-of-type {
  border-radius: 0 0 8px 8px;
}

::picker(select) {
  border-radius: 8px;
}

.form-check-label {
  color: var(--accent);
  font-size: 11px;
  font-family: 'Poppins';
}

.form-check-label a {
  color: var(--main);
}

.form-check-input {
  width: 14px;
  height: 14px;
  border-radius: 4px !important;
}

.form-select {
  background-size: 10px 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23f7a3b0'/%3E%3C/svg%3E");
}

.cursor-pointer{
  cursor: pointer;
}

.custom-select-box {
  position: absolute;
  cursor: pointer;
  background-color: transparent !important;
  height: calc(100% - 25px);
  z-index: 4;
  font-size: 12.5px;
  height: 20px;
  border-right: 1px solid var(--accent);
  top: 13px;
  /* transform: translateY(-50%); */
  font-family: 'Poppins';
  display: none;
}

.custom-select-box .selected {
  /* border: 1px solid #ced4da; */
  padding: 0 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  /* background: #fff; */
  /* border-right: 1px solid var(--primary); */
  background-repeat: no-repeat;
  background-size: 10px 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23f7a3b0'/%3E%3C/svg%3E");
  background-position: calc(100% - 6px) center;
  height: 100%;
}

.dropdown-list {
  position: absolute;
  width: 128px;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: #fcf1f3;
  display: none;
  z-index: 1000;
  overflow-x: hidden;
}

.dropdown-item {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background: var(--main);
  color: #fff;
}

.dropdown-item img,
.input-select-wrapper .selected img {
  width: 18px;
  aspect-ratio: calc(6/4);
  object-fit: cover;
}

.form-check-input[type=checkbox] {
  transform: translateY(-2px);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper .form-label {
  font-size: 12px;
  /* color: #fff; */
  margin-bottom: 6px;
  padding: 0 5px;
  background-color: #f6f4f1;
  position: absolute;
  top: -6px;
  line-height: 1;
  z-index: 3;
  left: 19px;
}

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

.action-bar {
  width: 100%;
  text-align: center
}

.action-bar>p {
  margin-bottom: 12px;
}

.subtitle {
  font-size: 12px;
}

#camera {
  height: 100%;
}

.wrapper-scanner video,
.wrapper-scanner canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
  display: block;
}

#ar-video {
  transform: translateX(-50%) scaleX(-1);
}

.camera-inner {
  margin-left: -30px;
  margin-right: -30px;
  position: relative;
  height: 100%;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.intro-scan {
  width: 40%;
  max-width: 180px;
}

.scanner-frame {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 23vh;
  width: 100%;
  /* max-width: 620px; */
  z-index: 3;
}


/* scanner line */
.scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: calc(2/0.5);
  background: linear-gradient(180deg, rgba(255, 207, 222, 0) 0%, rgba(255, 207, 222, 0.6) 100%);
  top: 20%;
  z-index: 3;
  display: none;
  pointer-events: none;
}

.scanner-play {
  display: block;
  animation: scannerDown 2s linear infinite;
  border-top-color: #111;
}

.analysis-skip {
  position: absolute;
  top: 18px;
  color: #fff;
  right: 8px;
  cursor: pointer;
  z-index: 99;
  display: none;
  font-size: 16px;
}

.video-face-measurement {
  display: none;
  position: absolute;
  width: auto !important;
  height: 100% !important;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  object-fit: contain;
  z-index: 2;
}

.form-result-inner{
  max-width: 580px;
  width: 100%;
  padding: 37px 33px 44px 33px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  /* background-image: url(../images/frame-form.png); */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* background-color: rgba(255, 255, 255, 0.3); */
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: linear-gradient(154.84deg, rgba(255, 217, 217, 0.1) 6.36%, rgba(255, 217, 217, 0.1) 93.64%);
}

.form-result-inner h2{
  color: var(--accent);
  font-size: 22px;
  font-weight: normal;
  text-align: left;
  margin-bottom: 30px;
}

.icon-loader {
  width: 40px;
  height: auto;
  margin: 0 auto;
  display: block;
  animation: rotate 3s linear infinite;
}

.powered-text {
  font-size: 11px;
  color: var(--accent);
  margin-top: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 17px 0 13px 0;
  text-align: center;
  font-weight: 500;
  gap: 8px;
}

.powered-text span {
  font-size: 10px;
  font-weight: normal;
  display: block;
}

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

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

@keyframes scannerDown {
  0% {
    top: 10%;
  }

  50% {
    top: 80%;
  }

  100% {
    top: 10%;
  }
}

.balance-carousel-wrapper {
  margin-left: -30px;
  margin-right: -30px;
}

.balance-type-carousel .card-shape {
  transform: translateX(-10px);
}

.balance-type-carousel .card-shape-image {
  border-radius: 0;
  background-color: #fff;
  aspect-ratio: calc(4/5.6);
}


#ar-capture {
  width: 60px;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 1;
  position: absolute;
  bottom: 110px;
  cursor: pointer;
  z-index: 3;
}

#ar-capture.disabled {
  opacity: 0.1 !important;
  pointer-events: none;
  background-color: transparent !important;
}

#ar-camera-error {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  color: #b82a2a;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 8;
}

.close-modal-offset {
  cursor: pointer;
  background-color: #2f2d2e;
  color: #fff;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 5px;
  line-height: 0;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -18px;
  z-index: 2;
  right: -15px;
}

#my-player {
  overflow: hidden;
  width: 100%;
  border: 3.5px solid #fff !important;
  border-radius: clamp(12px, 6cqi, 18px);
}

#my-player button.vjs-big-play-button {
  aspect-ratio: 1;
  height: unset !important;
  line-height: 2.5em !important;
  border: 0 !important;
  width: 2.5em !important;
  height: 2.5em !important;
  border-radius: 50% !important;
}

#my-player span.vjs-icon-placeholder {
  font-size: 1.5em;
}

#my-player .vjs-control-bar {
  height: 4.5em !important;
}

/* .video-wrapper {
  position: relative;
  width: 100%;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: clamp(20px, 6cqi, 27px);
  border: 3.5px solid #fff;
}

.video-wrapper video {
  width: 100%;
  display: block;
} */

/* button uses CSS var (set from data-play by JS) */
.video-toggle {
  width: 100%;
  height: 81%;
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-color: transparent;
  padding: 0;
  border: 0;
  /* background-image: url('../images/button-play.png'); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60px auto;
  cursor: pointer;
  outline: none;
  transition: opacity .18s ease;
  pointer-events: none;
}

/* hide the icon while playing (clean) */
.video-toggle.playing {
  opacity: 0;
  /* pointer-events: none; */
}

.modal-content {
  width: 92%;
  max-width: 400px;
  margin: 0 auto;
}

/* general card styles for demo */
.card {
  border-radius: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
}

.card .card-body {
  padding: 0;
}

.result-face-section {
  background: linear-gradient(180deg, #FDF0F5 0%, #FFFFFF 100%);
  margin-left: -30px;
  margin-right: -30px;
  padding-left: 30px;
  padding-right: 30px;
}

.section {
  background-color: #fff;
  padding: 20px 17px;
  border-radius: clamp(15px, 5cqi, 20px);
  width: 100%;
}

.logo-w-back {
  display: flex !important;
  align-items: center;
  margin-bottom: 3vh;
  width: 100%;
}

.logo-w-back .logo-choice {
  padding-right: 25px !important;
  width: 26cqi !important;
}

/* summary hero */
.section-title {
  font-size: 17px;
  line-height: 1.12;
  align-items: center;
  text-transform: uppercase;
  font-family: 'Hagrid';
  display: flex;
  gap: 10px;
  container-type: inline-size;
}

.section-title span {
  /* text-align: center; */
  font-size: 3.2cqi;
  line-height: 1.12;
  background-color: var(--main);
  display: table;
  width: fit-content;
  padding: 6px 12px 4.5px 12px;
  border-radius: 15px;
  color: #fff;
}

.section-title img {
  height: 1.6em;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--accent);
}

.pill-label {
  font-size: 14px;
  line-height: 1;
}

.pill-label span {
  padding: 3px 8px 1.5px 8px;
  /* line-height: 1; */
}

.section-subtitle {
  font-size: 15px;
}

.text-title {
  font-size: 12px;
}

.face-shape-info h3 {
  color: #000;
}

.avatar-display {
  display: flex;
  /* border-radius: clamp(20px, 6cqi, 27px); */
  overflow: hidden;
  justify-content: center;
  align-items: end;
  margin-left: -17px;
  margin-right: -17px;
}

.avatar-display-info {
  font-size: 15px;
}

.avatar-display-info .swatches-makeup-card.swatches-medium span {
  background: var(--main);
}

.avatar-display-info h3 {
  color: var(--main);
  font-weight: normal;
  font-size: 18px;
}

.avatar-display-info strong {
  padding-left: 6px;
}

.avatar-display-info p {
  margin-bottom: 8px;
}

.avatar-large {
  width: 41%;
  min-width: 41%;
  border-radius: 0 0 0 clamp(15px, 5cqi, 20px);
  background: #fff;
  color: #111;
  margin: 0;
  aspect-ratio: calc(4/5.3);
  position: relative;
  overflow: hidden;
  /* margin-left: -17px; */
  container-type: inline-size;
}

.avatar-large span.avatar-text {
  color: #ffffff;
  position: absolute;
  top: 7%;
  text-align: center;
  left: 0;
  font-size: 8.5cqi;
  width: 100%;
  z-index: 1;
  font-weight: normal;
}

.avatar-large>img {
  /* width: 104%; */
  height: 133%;
  /* object-fit: cover; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#scan_carousel {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.3s;
}

#scan_carousel .owl-dots {
  display: block !important;
  position: absolute;
  top: 84%;
  margin-top: 0 !important;
}

.shape-name {
  font-size: 40px;
  font-style: italic;
  font-family: 'Instrument Serif';
  color: var(--main);
}

.shape-desc {
  color: var(--main);
  font-size: 12px;
}

.text-skin-bar {
  font-size: 12px;
  color: var(--main);
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.colors-divide {
  width: 80%;
  max-width: 340px;
}

.palette-preview {
  display: flex;
  align-items: center;
  /* border-radius: 0 0 clamp(35px, 7cqi, 40px) clamp(35px, 7cqi, 40px); */
  /* padding: 24px 24px 22px 24px; */
  /* margin-left: -20px;
  margin-right: -20px; */
  /* background: radial-gradient(90.16% 143.01% at 15.32% 21.04%, rgba(255, 217, 217, 0.2) 0%, rgba(255, 217, 217, 0.0447917) 77.08%, rgba(255, 217, 217, 0) 100%); */
}

.text-colours-grid {
  font-size: 13px;
  color: var(--main);
}

/* palette */
.palette-season {
  font-size: 15.5px;
  padding-right: 15px;
  margin-bottom: auto;
}

.palette-grid {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
}

.palette-grid .sw {
  width: 20%;
  min-width: 20%;
  aspect-ratio: calc(1/0.25);
  background-color: #BF65BB;
}

.palette-grid .sw[style*="#fff"] {
  border: 1px solid #C5C5C5;
}

.progress {
  border: 1px solid #ffffff;
  background-color: #ECB3F0DB;
  height: 17px;
  border-radius: 99px;
  outline: 1px solid var(--main);
}

.progress-bar {
  background-color: #FFF09AD4;
  border-radius: 99px;
}

/* product group layout */
.card-morph-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  width: calc(50% - 8px);
  align-items: flex-start;
}

.card-grid-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* main hero */
.main-hero {
  width: 91%;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: clamp(10px, 4cqi, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: end;
  position: relative;
  overflow: hidden;
  flex-direction: row;
  max-width: 450px;
  cursor: pointer;
  background: linear-gradient(135.13deg, #FFCECF 45.01%, #DB797D 99.89%);
}

.result-column-spring .main-hero {
  background: linear-gradient(135.13deg, #FEF0E2 45.01%, #CCA780 99.89%);
}

.result-column-autumn .main-hero {
  background: linear-gradient(135.13deg, #F7FFFA 45.01%, #8CC4AE 99.89%);
}

.result-column-winter .main-hero {
  background: linear-gradient(135.13deg, #FFE4E7 45.01%, #FF9FAA 99.89%);
}

img.hero-img-morph {
  width: auto;
  height: 106%;
  /* object-fit: cover; */
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.text-block-morph {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subtitle-morph {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  font-weight: 600;
  display: none;
  letter-spacing: 0.01em;
}

.wrap-card-morph {
  width: 100%;
}

.cards-morph {
  width: 100%;
}

.card-morph {
  position: relative;
  width: 100%;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 3px 4px 8.8px rgba(217, 80, 120, 0.12);
  border: 3px solid #fff;
}

.card-morp .badge {
  font-weight: 600;
  font-style: 9px;
}

.card-morph.is-selected-morph {
  border-color: var(--main);
  /* box-shadow: 0 12px 32px rgba(233, 91, 136, 0.18); */
}

.badge-top-morph.badge-main {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.image-area-morph {
  position: relative;
  aspect-ratio: calc(4/5);
  background: #fff;
}

.image-top-row-morph {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.portrait-morph {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.95) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 55%, #f2c7b1 0 10%, transparent 11%),
    radial-gradient(circle at 50% 74%, #c98f78 0 11%, transparent 12%),
    linear-gradient(135deg, #f3e7ea 0%, #ffe8ef 45%, #f7d9e4 100%);
  display: grid;
  place-items: center;
}

.portrait-morph::before {
  content: "";
  position: absolute;
  inset: 10% 18% 18% 18%;
  border-radius: 48% 48% 42% 42% / 42% 42% 58% 58%;
  background: linear-gradient(180deg, #f6c7af 0%, #edb594 55%, #d69578 100%);
  filter: saturate(0.95);
  box-shadow:
    0 -46px 0 26px rgba(255, 255, 255, 0.92),
    -58px 0 0 -20px rgba(255, 255, 255, 0);
  transform: translateY(12px);
}

.portrait-morph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(42, 24, 18, 0.95) 0 3%, transparent 4%),
    radial-gradient(circle at 58% 38%, rgba(42, 24, 18, 0.95) 0 3%, transparent 4%),
    radial-gradient(ellipse at 50% 47%, rgba(160, 72, 77, 0.95) 0 2.3%, transparent 2.4%),
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.2) 0 0),
    linear-gradient(180deg, transparent 0 58%, rgba(255, 255, 255, 0.18) 58% 100%);
  opacity: 0.55;
}

.portrait-morph.is-dark-morph::before {
  background: linear-gradient(180deg, #2d1f21 0%, #1d1518 55%, #0f0b0d 100%);
  box-shadow:
    0 -40px 0 30px rgba(255, 255, 255, 0.94),
    0 0 0 0 rgba(0, 0, 0, 0);
}

.portrait-morph.is-dark-morph::after {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 37%, rgba(255, 226, 198, 0.96) 0 3%, transparent 4%),
    radial-gradient(circle at 58% 37%, rgba(255, 226, 198, 0.96) 0 3%, transparent 4%),
    radial-gradient(ellipse at 50% 48%, rgba(120, 78, 60, 0.95) 0 2.2%, transparent 2.3%),
    linear-gradient(180deg, transparent 0 56%, rgba(255, 255, 255, 0.10) 56% 100%);
}

.info-morph {
  padding: 14px;
  width: 100%;
  border-radius: 0 20px 20px 20px;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
  border-top: 3px solid #fff;
  overflow: hidden;
  margin-top: -18px;
  position: relative;
  z-index: 2;
}

.pill-row-morph {
  display: flex;
  align-items: center;
  width: initial;
  background-color: var(--main);
  border-radius: 999px;
  gap: 10px;
  width: fit-content;
  margin-bottom: 4px;
}

.title-row-morph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.title-morph {
  margin: 0;
  font-size: 14px;
  line-height: 1.05;
  /* letter-spacing: -0.03em; */
  text-transform: uppercase;
}

.arrow-morph {
  width: 30px;
  height: 30px;
}

.card-morph:not(.is-selected-morph) {
  opacity: 0.95;
}

.card-morph:not(.is-selected-morph) .title-morph {
  color: #3a2f39;
}

.card-morph:not(.is-selected-morph) .info-morph {
  background: linear-gradient(180deg, #fdf2f6 0%, #fff2f6 100%);
}

.card-morph:not(.is-selected-morph) .arrow-morph {
  border-color: #ecb9cb;
}

.card-morph:not(.is-selected-morph) .arrow-morph::before {
  color: #222;
}

.wrapper-card-shape {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: start;
}

.face-shape-badge {
  width: 31%;
  min-width: 120px;
  /* height: 180px; */
  margin-top: 10px;
  border-radius: 66%;
  background: #d84f7e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
  font-weight: 600;
  aspect-ratio: calc(4 / 5.1);
}

.face-shape-badge>h3 {
  margin: 0;
  font-weight: normal;
  width: 100%;
  font-size: 20cqi;
  text-align: center;
  text-transform: capitalize;
}

.carousel-section {
  flex: 1;
  min-width: 0;
}

.card-shape {
  text-align: center;
  position: relative;
}

.card-shape-image {
  background: #FCF1F3;
  aspect-ratio: calc(4/6);
  border-radius: 20px;
  overflow: hidden;
}

.card-shape-image img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.card-shape h4 {
  margin: 10px 0 5px;
  color: #d84f7e;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 14px;
}

.card-shape p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.card-balance-info {
  position: absolute;
  bottom: 10px;
  width: 100%;
  padding: 0 10px;
  left: 0;
}

.owl-nav,
.owl-dots {
  /* display:none !important; */
}

.owl-nav>button.disabled {
  display: none !important;
}

#shapeCarousel .owl-dots {
  gap: 6px;
  display: flex;
  justify-content: center;
  width: 100%;
}

#shapeCarousel .owl-dots>button {
  width: 10px;
  height: 10px;
  background-color: #ADACB1 !important;
  border-radius: 50%;
}

#shapeCarousel .owl-dots>button.active {
  background-color: #d84f7e !important;
}

.finish-section {
  margin-left: -30px;
  margin-right: -30px;
}

.finish-section .finish-hero {
  background: linear-gradient(180deg, #ffffff00 0%, #FDF0F5 100%);
}

.finish-hero {
  color: var(--main);
}

.finish-hero img {
  width: 90%;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.finish-hero h4 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.finish-hero h2 {
  font-size: 42px;
  font-family: 'Instrument Serif';
  font-style: italic;
}

.finish-look-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF0F5 100%);
}

.finish-products {
  padding: 0 30px;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  justify-content: space-evenly;
}

.finish-product-item p {
  color: #fff;
  font-weight: normal;
  font-size: 8px;
  text-transform: uppercase;
  background-color: var(--primary);
  border-radius: clamp(36px, 8cqi, 42px);
  line-height: 1.23;
  margin-bottom: 0;
  padding: 6px 4px;
  aspect-ratio: calc(111/30);
  display: flex;
  justify-content: center;
  align-items: center;
}

.finish-img {
  position: relative;
  margin-bottom: 20px;
}

.finish-img img {
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
}

.finish-card h6 {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 0;
  background-color: var(--main);
  color: #fff;
  border-radius: 0 99px 99px 0;
  display: table;
  padding: 5px 17px 5px 17px;
  width: 62%;
  text-transform: uppercase;
  text-align: center;
}

.finish-card h6>span {
  font-size: 10px;
  clear: both;
  display: block;
  font-weight: normal;
  margin-top: 2.5px;
}

.finish-card .small {
  color: var(--main);
  padding: 0 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.finish-product-item {
  width: 33.3%;
}

.finish-product-image {
  width: 100%;
  margin-bottom: 6px;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.finish-product-item p {
  container-type: inline-size;
}

.finish-product-item p span {
  font-size: 8cqi;
}

.finish-product-image .shade {
  position: absolute;
  bottom: 16%;
  right: 3%;
  text-transform: uppercase;
  border-radius: 50%;
  aspect-ratio: 1;
  text-align: center;
  padding: 7px;
  line-height: 1.12;
  color: #fff;
  display: flex;
  justify-content: center;
  width: 36px;
  align-items: center;
  flex-direction: column;
  font-weight: normal;
  container-type: inline-size;
  background-color: #E69CA4;
}

.finish-product-image .shade label {
  font-size: 30cqi;
}

.finish-product-image .shade span {
  font-size: 56cqi;
  display: block;
}

.modal-blurry .modal-content {
  background-color: #ffffffc9 !important;
  backdrop-filter: blur(14px);
}

.modal-blurry .modal-body {
  background-color: transparent !important;
}

.modal-title {
  line-height: 1.25;
}

.modal-intro {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
}

.modal-blurry .modal-header {
  padding-bottom: 0;
  border: 0;
}

#qrCodeBox canvas,
#qrCodeBox img {
  border: 12px solid #fff;
  border-radius: 12px;
}

.finish-product-image img {
  /* min-width: 66%; */
  /* min-height: 92%; */
  max-width: 66%;
  max-height: 76%;
  flex-shrink: 0;
}

#result .screen-header {
  /* background-image: url('../images/bg-summer.png'); */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: -30px;
  margin-right: -30px;
  color: #fff;
  background-color: #fff;
  /* padding: 8vh 30px 4vh 30px; */
  container-type: inline-size;
  margin-left: -30px;
  margin-right: -30px;
  padding: 0 30px;
}

.screen-header.autumn {
  background-image: url('../images/bg-autumn.png');
}

.screen-header.spring {
  background-image: url('../images/bg-spring.png');
}

.screen-header.winter {
  background-image: url('../images/bg-winter.png');
}

.bg-spring {
  background-color: var(--main-spring) !important;
}

.bg-autumn {
  background-color: var(--main-autumn) !important;
}

.bg-summer {
  background-color: var(--main) !important;
}

.bg-winter {
  background-color: var(--main) !important;
}

.screen-header>img {
  width: 30%;
  max-width: 146px;
  display: table;
  margin: 3vh auto 14px auto;
}

.screen-header .back {
  top: 3vh;
  font-size: 25px;
}

.screen-header-type {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 14px;
  margin-bottom: 4vh;
}

.screen-header-type>label {
  font-size: 14px;
  margin-bottom: -4px;
}

.screen-header-type>span {
  font-family: 'Instrument Serif';
  font-size: 34px;
  font-style: italic;
}

.screen-header-name {
  display: flex;
  font-size: 13px;
  gap: 10px;
  align-items: end;
  margin-bottom: 4vh;
}

.screen-header-name>label {
  line-height: 1;
}


.screen-header-name>span {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-size: 25px;
  border-bottom: 1px solid #fff;
  display: block;
  flex: 1;
  padding-left: 7%;
}

/* product mini carousel column */
/* .product-mini-carousel .item {
  background-color: #FFF9F3;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 18px;
} */

.product-mini-carousel {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  scrollbar-width: none;
  overflow-x: auto;
  width: calc(100% + 40px);
  transform: translateX(-20px);
  padding: 0 30px;
  padding-bottom: 8px;
}

.product-card {
  min-width: 28.5%;
  max-width: 28.5%;
  /* min-width: 128px;
  max-width: 128px; */
  background-color: #FDF1F6;
  padding: 5px;
  box-sizing: border-box;
  border-radius: clamp(17px, 4cqi, 24px);
}

.product-card-pair {
  min-width: calc(28.5% * 2 + 27px);
  max-width: calc(28.5% * 2 + 27px);
}

.pair-side {
  height: 100%;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  /* width: 50%; */
}

.mini-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  position: relative;
}

.mini-card.pair-card {
  flex-direction: row;
}

.pair-or {
  background-color: var(--main);
  color: #fff;
  font-size: 9px;
  margin: auto;
  width: 27px;
  height: 27px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  text-align: center;
  border-radius: 50%;
}

.mini-card .product-image {
  /* aspect-ratio: calc(4/5.5); */
  padding: 8px;
  position: relative;
  width: 100%;
  display: flex;
  /* max-width: calc(33.3% * 2) !important; */
  padding-bottom: 111%;
  /* overflow: hidden; */
  height: 0;
}

.mini-card .product-image img {
  max-width: 78%;
  max-height: 85%;
  position: absolute;
  flex-shrink: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mini-card .product-image.has-color img {
  left: 33%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.product-name {
  color: #fff;
  width: 100%;
  overflow: hidden;
  font-size: 9px;
  text-transform: uppercase;
  background-color: var(--main);
  text-align: center;
  padding: 5.2px 2px 3px 2px;
  font-weight: normal;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: clamp(30px, 7cqi, 38px);
  aspect-ratio: calc(127/28);
  container-type: inline-size;
}

.product-name span {
  font-size: 6.8cqi;
}

.swatches {
  padding: 10px 4px;
  position: absolute;
  gap: 6px;
  right: -2px;
  bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  overflow-y: auto;
  overflow-x: hidden;
}

.swatch {
  width: 21px;
  height: 21px;
  min-width: 21px;
  min-height: 21px;
  color: #fff;
  font-size: 9px;
  text-align: left;
  display: flex;
  align-items: center;
  line-height: 0;
  text-align: center;
  justify-content: center;
  border-radius: 50%;
}

.swatch:first-child {
  margin-top: auto;
}

.product-tutorial-carousel .item {
  padding: 12px;
}

.tutorial-thumb {
  height: 120px;
  background: #fff;
  border-radius: clamp(8px, 4cqi, 13px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 700;
}

/* modal product detail left */
.product-detail-left .detail-img {
  height: 220px;
  background: #fff;
  border-radius: clamp(8px, 4cqi, 13px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 700;
  margin-bottom: 10px;
}

/* utility */
.small.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  /* font-weight: 500; */
  border-radius: 999px;
  font-size: 14px;
  transition: background 0.2s, background-color 0.2s, color 0.2s, color 0.2s, border 0.2s;
  padding: 7px 17px;
}

.btn-mw {
  min-width: 230px;
}

.btn.flex-grow-1,
.btn.w-100 {
  max-width: 240px;
  display: table;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.btn-lg {
  padding: 10px 20px;
  font-size: 15px;
}

.btn-lg.flex-grow-1,
.btn-lg.w-100 {
  max-width: 286px;
}

.btn-outline-light {
  color: #000 !important;
  border: 1px solid var(--primary) !important;
  background: #fff !important;
}

.btn-outline-light:hover {
  color: #fff !important;
  border: 1px solid #E0656E !important;
  background: linear-gradient(99.73deg, #CF6D71 35.37%, #E0656E 64.63%) !important;
}

.btn-outline-primary {
  color: var(--main) !important;
  border: 1px solid var(--main) !important;
  background: #fff !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
  border: 1px solid var(--main) !important;
  background: var(--main) !important;
}


.btn-outline {
  border: 1px solid #E4E4E4 !important;
  color: #000 !important;
}

.btn-primary {
  background-color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #fff !important;
}

.btn-lightpink {
  background-color: var(--medpink) !important;
  border: 1px solid var(--medpink) !important;
  color: var(--accent) !important;
}

.btn-winter {
  background-color: var(--main-winter) !important;
  border: 1px solid var(--main-winter) !important;
  color: #fff !important;
}

.btn-spring {
  background-color: var(--main-spring) !important;
  border: 1px solid var(--main-spring) !important;
  color: #fff !important;
}

.btn-autumn {
  background-color: var(--main-autumn) !important;
  border: 1px solid var(--main-autumn) !important;
  color: #fff !important;
}

.btn-light {
  background: #fff;
  color: #111;
  border: 0;
}

.btn-square {
  aspect-ratio: calc(4/4.2);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 150px !important;
}

.btn-square i,
.btn-square img {
  width: 20px;
  font-size: 20px;
}

.disabled {
  opacity: 0.8 !important;
  border-color: #ffd9d9 !important;
  pointer-events: none;
  background-color: #ffd9d9 !important;
}

.color-accent {
  color: var(--accent) !important;
}

.color-main {
  color: var(--main) !important;
}

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

.icon-black {
  filter: brightness(100%) invert(1)
}

.card-rounded-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 15px
}

.card-rounded {
  width: calc(50% - 15px);
  aspect-ratio: 1;
}

.card-rounded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.makeup-section {
  margin-left: -30px;
  margin-right: -30px;
}

.landing-makeup-carousel {
  position: relative;
}

.color-main {
  color: var(--main);
}

.card-about-info {
  /* font-size: 13px; */
}

.makeup-card {
  position: relative;
  aspect-ratio: calc(4/6);
  overflow: hidden;
  /* transform: translateX(-6px); */
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.makeup-card .section-title {
  width: 100%;
}

.makeup-card .section-title span {
  font-size: 9cqi;
  background-color: var(--accent);
}

.makeup-card .section-title .section-title-inner {
  width: 100%;
  container-type: inline-size;
}

.makeup-card .section-title .section-title-inner span {
  font-size: 13cqi;
  padding: 2.2px 10px 1.8px 10px;
}


.makeup-card>img {
  width: 100%;
  height: auto;
  /* object-fit: cover; */
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.card-about-image>img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-label {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 2;
  color: #1a1a1a;
  font-size: 13px;
  /* font-weight: 700; */
  text-transform: uppercase;
}

.swatches-makeup-card {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 3px;
}

.swatches-makeup-card span {
  width: 11px;
  aspect-ratio: 1;
  background: #ff7f8f;
  display: inline-block;
}

.swatches-makeup-card.swatches-medium span {
  width: 14px;
  aspect-ratio: 1;
  background: var(--accent);
  display: inline-block;
}

.facial-type-name {
  text-transform: capitalize;
}

.card-overlay {
  position: absolute;
  left: 6%;
  right: 14px;
  bottom: 6%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #ff6f7f;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}

.title-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ff8192;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.owl-carousel {
  opacity: 0;
  transition-delay: 0.5s;
  transition-duration: 0.3s;
  transition-property: opacity;
}

.owl-loaded {
  opacity: 1;
}

.owl-carousel .owl-stage-outer {
  /* padding-bottom: 18px; */
}

.owl-theme .owl-dots {
  margin-top: 10px !important;
  text-align: center;
}

.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px 5px;
  background: rgba(255, 129, 146, 0.35);
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #ffffff;
}

.scanning-tips-card {
  /* background: linear-gradient(154.84deg, rgba(252, 241, 243, 0.1) 6.36%, rgba(252, 241, 243, 0.1) 93.64%); */
  /* border: 1px solid #fff; */
  /* border-radius: clamp(20px, 7cqi, 42px); */
  max-width: 420px;
  width: 94%;
  color: var(--accent);
  /* padding: 30px 20px; */
  /* box-shadow: -2px 3px 4px 0px #00000040; */
  /* backdrop-filter: blur(10px); */
  aspect-ratio: calc(4/5);
}

.video-thumb {
  border-radius: clamp(18px, 5cqi, 28px);
  width: 100%;
}

.list-tips {
  display: flex;
  line-height: 18px;
  gap: 4px;
}

.list-tips>span {
  font-size: 40px;
  color: #949F71;
  line-height: 0.25;
  display: block;
}

#scan_carousel .owl-dots {
  width: 100%;
  display: flex;
  justify-content: center;
}

#scan_carousel .owl-dots .owl-dot {
  margin: 0 4px;
  background: none;
  border: none;
  padding: 0;
}

#scan_carousel .owl-dots .owl-dot span {
  display: block;
  width: 33px;
  height: 4px;
  margin: 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* base pink bar */
#scan_carousel .owl-dots .owl-dot span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 15px;
}

/* animated dark pink fill */
#scan_carousel .owl-dots .owl-dot span .dot-fill {
  position: absolute;
  top: 0;
  /* inset: 0; */
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 18px;
  z-index: 1;
  transition: width 0.1s linear;
}

/* keep active state */
#scan_carousel.owl-carousel .owl-dots .owl-dot.active span::before {
  background: #fff;
}

.card-text-top {
  font-weight: 500;
  font-size: 16px;
  color: var(--accent);
}

#scan_face_tutorial .card-text-top {
  font-weight: normal;
}

.scan-hint {
  position: absolute;
  top: 50%;
  /* margin-top: 10px; */
  width: 100%;
  transform: translateY(-50%);
  font-size: 10px;
  z-index: 4;
  color: #fff;
  text-shadow: 1px 1px 1px #00000093;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.scan-help {
  font-size: 24px;
}

.scan-header {
  position: absolute;
  width: 100%;
  z-index: 4;
  color: #fff;
  text-align: center;
  top: 0;
  border: 2px solid #FFD9D9;
  border-top: 0;
  padding: 7vh 14px 16px 14px;
  background-color: #ffd9d929;
  backdrop-filter: blur(8px);
  border-radius: 0 0 clamp(28px, 7cqi, 40px) clamp(35px, 7cqi, 34px);
}

.scan-footer {
  padding: 20px 10px 30px 20px;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(8px);
  position: absolute;
  line-height: 1.5;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffd9d929;
}

.footer-result {
  padding: 30px 30px;
}

.bi-chevron-left::before,
.bi-chevron-right::before {
  font-weight: bold !important;
}

.back,
.close-screen {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 5;
  font-size: 19px;
  cursor: pointer;
  color: var(--accent);
}

.close-screen {
  font-size: 40px;
}

.close-screen.text-white {
  color: #fff !important;
}

#result {
  background-color: #fff;
}

#result .screen-body {
  margin-left: -30px;
  margin-right: -30px;
  background-color: #fcf1f3;
  overflow-x: hidden;
}

.section-intro-text {
  color: var(--main);
  font-size: 14.5px;
}

.match-section {
  max-width: 920px;
  margin: 0 auto;
}

.match-grid {
  display: flex;
  gap: 18px;
}

.match-list {
  flex-direction: column;
}

.match-card {
  position: relative;
  /* overflow-y: hidden; */
  /* overflow-x: visible; */
  background: #FEF4F6;
  border-radius: 28px;
  min-height: 50px;
  border: 1px solid #FEF4F6;
}

.match-card-inner {
  border-radius: 28px;
}

.match-card .shade-hex {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 37%;
  height: 180%;
  border-radius: 800px 800px 800px 800px;
  opacity: 0.95;
  position: absolute;
}

.match-card.up {
  background: #fff;
}

.match-card.match .shade-hex {
  background: #f3c79c;
}

.match-card.up .shade-hex {
  background: #f4c7c3;
}

.product {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 100%;
}

.product {
  transform: translateX(-4px)
}

.product:last-child {
  transform: translateX(4px)
}

.product+.product {
  transform: translateX(-4px)
}

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

.product-shade {
  font-size: 16px;
  font-family: 'TT Norms Pro';
  color: #000;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 500;
}

.products-match-wrapper {
  transform: scale(1.2);
  position: relative;
  min-width: 33%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-label {
  font-family: 'Poppins';
  position: relative;
  z-index: 1;
  font-weight: bold;
  margin: 0;
  font-size: 12px;
  margin-bottom: 6px;
  line-height: 1;
  /* letter-spacing: 0.14em; */
  font-weight: 800;
  color: #ef4c7a;
  text-transform: uppercase;
}

.shade {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.04em;
}

.badge-wrap {
  position: absolute;
  display: flex;
  top: -25px;
  right: -9px;
  margin-top: 16px;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-weight: normal;
  border-radius: 999px;
  background: var(--main);
  font-family: 'Poppins';
  color: #fff;
  font-size: 13px;
  width: fit-content;
  text-transform: uppercase;
  line-height: 1;
}

.badge-sm {
  font-size: 7.5px !important;
}

.badge-main {
  background: var(--main);
  color: #fff;
}

.badge-lightpink {
  background: #FCF1F3;
  color: var(--main);
}

.badge-outline-secondary {
  color: #6c757d;
  background-color: transparent;
  border: 1px solid #6c757d;
}

.badge-outline-primary {
  color: var(--accent);
  background-color: #fff;
  border: 1px solid var(--accent);
}

.badge-outline-main {
  color: var(--main);
  background-color: #fff;
  border: 1px solid var(--main);
}

.badge-image {
  height: 0.9em;
}

#result .screen-body .summary-card {
  padding-left: 30px;
  padding-right: 30px;
}

#landing {
  background-image: url('../images/bg-landing.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-left: -30px;
  margin-right: -30px;
  padding-left: 30px;
  padding-right: 30px;
}

#landing.active {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.choice-head .logo-choice {
  width: 29cqi;
}

.choice-head {
  color: var(--accent);
  margin-top: 4vh;
  margin-bottom: 2vh;
}

.choice-head-about {
  background-color: #fff;
  border-radius: 0 0 40px 40px;
  margin-top: 0;
  margin-left: -30px;
  margin-right: -30px;
  padding: 3vh 30px 30px 30px;
}

.choice-head .screen-title {
  margin-bottom: 4%;
}

.choice-head .screen-title>div {
  container-type: inline-size;
  width: 100%;
}

.choice-head .screen-title span,
.choice-head .screen-title i,
.choice-head .screen-title label {
  font-size: 10.2cqi;
  font-weight: normal;
  line-height: 1.08;
}

.screen-subtitle {
  margin-bottom: 2%;
  container-type: inline-size;
}

.screen-subtitle span {
  font-size: 7cqi;
}

.choice-head h3 {
  font-size: 2.2cqi;
  font-weight: normal;
  color: #000;
  line-height: 1.38;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.choice-head h5 {
  font-size: 2.1cqi;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.choice-button-wrapper {
  flex-direction: column;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
}

.legal-terms {
  font-size: 8px;
  margin-top: auto;
  padding-bottom: 15px;
}

.legal-terms p {
  margin-bottom: 0;
  font-family: 'Poppins';
}

.legal-terms h2 {
  margin-bottom: 8px;
  font-size: 14px;
}

body.modal-open {
  padding-right: 0 !important;
}

#tutorial_list {
  padding-bottom: 30px;
  margin-left: -30px;
  margin-right: -30px;
  padding-left: 30px;
  padding-right: 30px;
}


#tutorial_list .screen-header {
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
}

.tutorial-card {
  border: 1px solid var(--accent);
  border-radius: clamp(20px, 5.5cqi, 25px);
  padding: 16px;
  background-color: #fff;
  width: 94%;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

video {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.open-tutorial {
  font-family: 'Bricolage Grotesque';
  font-size: 13px;
  font-weight: 600;
}

.tutorial-card-image {
  aspect-ratio: calc(4/5);
  border-radius: clamp(8px, 5cqi, 10px);
  overflow: hidden;
  width: 100%;
}

.tutorial-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-card h5 {
  font-size: 17.5px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0;
}

.modal {
  backdrop-filter: blur(8px);
}

.scroll-wrapper {
  width: 100%;
  position: relative;
}

.product-mini-carousel {
  scrollbar-width: thin;
  scrollbar-color: #e65a86 #ececec;
}

.product-mini-carousel::-webkit-scrollbar {
  display: none !important;
}

*::-webkit-scrollbar-button {
  display: none !important;
  width: 0;
  height: 0;
}

.carousel-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.custom-scrollbar-container {
  position: relative;
  height: 5px;
  background: #fce4ec;
  border-radius: 3px;
  margin: 6px 8px 0;
}

.custom-scrollbar-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 5px;
  background: #e8637d;
  border-radius: 3px;
  cursor: grab;
  transition: height 0.15s ease;
}

.custom-scrollbar-thumb:hover,
.custom-scrollbar-thumb.dragging {
  height: 8px;
  cursor: grabbing;
}

.product-mini-carousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-mini-carousel::-webkit-scrollbar {
  display: none;
}

/* optional: make inner content wide enough to scroll */
.scroll-content {
  width: 1200px;
  min-height: 1px;
}

.scroll-arrow {
  position: absolute;
  top: 39%;
  /* transform: translateY(-50%); */
  z-index: 10;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.arrow-left {
  left: -18px;
}

.arrow-right {
  right: -18px;
  transform: scaleX(-1);
}

.header-bar {
  margin-left: -30px;
  margin-right: -30px;
  background-color: var(--primary);
  color: #fff;
  padding: 16px 10px;
  container-type: inline-size;
  font-family: 'Hagrid';
  text-align: center;
}

.header-bar>* {
  font-size: 7.8cqi;
}

.text-w-icon {
  line-height: 0.8;
  display: flex;
  justify-content: center;
  align-items: start;
}

.text-w-icon>img {
  width: auto;
  /* display: inline-table; */
  height: 0.5em;
}

h2.sub-logo {
  color: var(--main);
  margin-bottom: 28px;
  font-size: 2.9cqi;
  font-weight: 100;
  text-align: center;
}

.header-intro {
  color: var(--main);
  margin-bottom: 20px;
  font-family: 'Hagrid';
  font-size: 4.7cqi;
  text-align: center;
  font-weight: 100;
}

.select-season {
  cursor: pointer;
  border-bottom: 6px solid transparent;
  transition: border 0.3s;
  border-radius: clamp(25px, 6.5cqi, 30px);
}

.select-season .section-title img {
  transition: all 0.3s;
}

.select-season .section-title span {
  transition: 0.3s;
}

.select-season.selected .section-title img {
  height: 0;
  border: 0;
}

.select-season.selected .section-title span {
  padding-right: 50px !important;
  font-style: italic;
}

.select-season-spring.selected {
  border-bottom: 6px solid var(--main-spring);
}

.select-season-autumn.selected {
  border-bottom: 6px solid var(--main-autumn);
}


.select-season-summer.selected {
  border-bottom: 6px solid var(--main-summer);
}

.select-season-winter.selected {
  border-bottom: 6px solid var(--main-winter);
}

#vto-brand-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

#vto-look-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

span.vto-look-counter {
  display: none;
}

.face-detail-measurement {
  color: var(--main);
  font-family: 'Hagrid';
  margin-bottom: 10px;
}

.detail-measurement-col {
  gap: 12px;
}

.face-detail-measurement span {
  display: block;
  font-size: 12px;
  margin-bottom: 0px;
}

.face-detail-measurement h4 {
  font-size: 19px;
  font-weight: 500;
  font-family: 'TT Norms Pro';
  margin-bottom: 0;
}

.section-hacks {
  border: 1px solid var(--accent);
}

.hack-col {
  padding: 20px 10px;
  width: 33.3%;
  background-color: #fff;
}

.hack-col p {
  margin-bottom: 0;
}

.hack-col img {
  max-width: 100%;
}

.hack-col:not(:last-child) {
  border-right: 1px solid var(--accent);
}

img.scanner-box {
  position: absolute;
  top: 49.5%;
  left: 50%;
  max-width: 458px;
  z-index: 3;
  width: 68%;
  transform: translate(-50%, -50%);
}

.face-detail-measurement.position-absolute {
  bottom: 0;
  gap: 5px;
  /* justify-content: space-evenly; */
}

.face-detail-measurement.position-absolute h4 {
  color: #ffffff;
  font-size: 9px;
  font-family: 'Hagrid';
  font-weight: normal;
}

.face-detail-measurement.position-absolute span {
  color: #ffffff;
  margin-bottom: 3px;
  font-size: 9px;
  display: block;
}

.face-detail-measurement.position-absolute .detail-measurement-col {
  gap: 6px;
  padding: 0 6px;
}

.wrapper-scanner.distance-good .scanner-box {
  filter: drop-shadow(0 0 4px #2ecc71);
}

.wrapper-scanner.distance-too-far .scanner-box,
.wrapper-scanner.distance-too-close .scanner-box {
  filter: drop-shadow(0 0 4px red);
}

/* ==========================================================================
   QR Code Scanner (login_form screen)
   ========================================================================== */
.qr-reader-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid var(--accent);
}

/* QR scanner sweep line — top to bottom, linear infinite loop */
.qr-scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  top: 0;
  z-index: 4;
  pointer-events: none;
  animation: qrScannerLine 2s linear infinite;
}

@keyframes qrScannerLine {
  0% {
    top: 0%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 0;
  }
}

#html5qr-code-full-region {
  width: 100%;
  height: 100%;
}

#html5qr-code-full-region video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 24px;
  transform: scaleX(-1);
}

/* hide the library's default file-picker / "Scan an Image File" UI so it
   behaves like a pure camera scanner */
#html5qr-code-full-region img,
#html5qr-code-full-region #html5-qrcode-anchor-scan-type-change,
#html5qr-code-full-region__dashboard_section_csr > span,
#html5qr-code-full-region__dashboard_section_swaplink {
  display: none !important;
}

#html5qr-code-full-region__dashboard {
  padding: 0 !important;
}

#html5qr-code-full-region__scan_region {
  border-radius: 24px;
  min-height: unset !important;
}

#html5qr-code-full-region__scan_region img {
  display: none !important;
}

/* qr-box border drawn by the library */
#html5qr-code-full-region__scan_region > div {
  border-radius: 16px !important;
}

.qr-reader-status {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  border-radius: 24px;
  background: rgba(252, 241, 243, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 13px;
  z-index: 3;
}

.qr-reader-status.show {
  display: flex;
}

.qr-reader-status .spinner-border {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

#qr-shaded-region{
  background-image: url('../images/qr-frame.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  opacity: 0.7;
  border: 0 !important;
}

/* ==========================================================================
   Toast notifications
   ========================================================================== */
.toast-notification-wrapper {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: 100%;
  max-width: 360px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.toast-notification {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #82373B;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.toast-error {
  border-left-color: #b82a2a;
}

.toast-notification.toast-success {
  border-left-color: #4b9b6e;
}

.toast-notification .toast-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  font-size: 11px;
}

.toast-notification.toast-error .toast-icon {
  background: #b82a2a;
}

.toast-notification.toast-success .toast-icon {
  background: #4b9b6e;
}

.toast-notification .toast-message {
  flex: 1 1 auto;
}

#face_measurement {
  background-color: #000000;
  position: relative;
}

#face_measurement::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 30%;
  background: linear-gradient(to right, #000000db, #00000000);
}

#face_measurement::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  height: 100%;
  width: 30%;
  background: linear-gradient(to left, #000000d4, #00000000);
}

@media(min-width: 720px) {
  html {
    background-color: #000;
  }

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

  /* Track */
  *::-webkit-scrollbar-track {
    background: transparent !important;
    border-top: 10px solid transparent !important;
  }

  /* Handle */
  *::-webkit-scrollbar-thumb {
    background: rgba(139, 139, 139, 0.349);
    border-top: 10px solid transparent !important;
  }

  body,
  .modal {
    max-width: 620px;
    margin: 0 auto;
  }

  .small,
  small {
    font-size: 15px;
  }

  .form-control {
    font-size: 14px;
  }

  .btn,
  .btn-lg {
    font-size: 16px;
    padding: 10px 20px;
  }

  .shape-name {
    font-size: 52px;
  }

  .select-item {
    font-size: 17px;
  }

  .select-item.bg-white {
    font-size: 19px;
  }

  .text-skin-bar {
    font-size: 16px;
  }

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

  .legal-terms {
    font-size: 12px;
  }

  .finish-card h6 {
    padding: 10px 0 10px 4%;
    font-size: 20px;
  }

  .finish-product-item p span {
    font-size: 6cqi;
  }

  .screen-header-type>label {
    font-size: 18px;
  }

  .screen-header-name>span {
    font-size: 31px;
  }

  .screen-header-name {
    font-size: 18px;
  }

  .shape-desc {
    font-size: 15.5px;
  }

  .section-subtitle {
    font-size: 20px;
  }

  .text-colours-grid {
    font-size: 18px;
  }

  .text-title {
    font-size: 16px;
  }

  .title-makeup-type {
    font-size: 18px;
  }

  /* .product-card:not(.product-card-pair) {
    min-width: 22%;
    max-width: 22%;
  }


  .product-card-pair {
    min-width: calc(22% * 2 + 27px);
    max-width: calc(22% * 2 + 27px);
  } */

  .scan-hint {
    font-size: 12px;
  }

  .avatar-display-info {
    font-size: 14px;
  }

  .modal {
    left: 50%;
    transform: translateX(-50%);
  }

  .finish-products {
    margin-bottom: 22px;
  }

  .page {
    padding-left: 27px;
    padding-right: 27px;
  }

  .choice-head .logo-choice {
    width: 20cqi;
  }

  .choice-head h2 {
    font-size: 12cqi;
  }

  .choice-head h2::after {
    width: 33%;
  }

  .analysis-skip {
    font-size: 18px !important;
  }

  /* .avatar-display {
    margin-left: auto;
    margin-right: auto;
  } */

  .palette-preview,
  .result-face-section,
  .morphCardSection {
    /* padding-left: 60px;
    padding-right: 60px; */
  }
}


@media(min-width: 720px) and (orientation: portrait) and (hover: none) {

  body,
  .modal {
    max-width: unset;
  }

  .palette-preview,
  .result-face-section,
  .morphCardSection {
    /* padding-left: 90px;
    padding-right: 90px; */
  }

}

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

@media(max-width: 820px) {
  .choice-head h3 {
    font-size: 3.5cqi;
  }

  .choice-head h5 {
    font-size: 3.8cqi;
  }

  .top-label {
    position: absolute;
    top: 9px;
    left: 11px;
    z-index: 2;
    color: #1a1a1a;
    font-size: 9px;
  }

  .makeup-card .section-title {
    gap: 7px;
    white-space: nowrap;
  }

  .card-text-top {
    font-size: 14.5px;
  }
}

@media(orientation: portrait) {
  #landing {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .btn:not(.btn-square) {
    max-width: 100% !important;
  }

  .landing-makeup-carousel .owl-stage {
    padding-left: 30px !important;
    padding-right: 0 !important;
  }

  .swatches-makeup-card span {
    width: 8px;
  }

  .avatar-display-info h3 {
    font-size: 13px;
  }

  .avatar-large {
    width: 48%;
    min-width: 48%;
    aspect-ratio: calc(4/5.5);
  }

  #result .screen-body .summary-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-card {
    min-width: 33%;
    max-width: 33%;
  }

  .product-label {
    margin-bottom: 1px;
  }

  .palette-season {
    font-size: 14px;
  }

  .section-title span {
    font-size: 4cqi;
  }

  .hack-col {
    padding: 12px 4px;
  }

  .hack-col p {
    font-size: 9.5px;
  }

  .logo-w-back .logo-choice {
    width: 33cqi !important;
  }

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

  .match-card-inner {
    border-radius: 18px;
  }

  .card-about-info {
    /* font-size: 10px; */
    padding: 15px 12px !important;
  }

  .face-shape-badge {
    margin-top: 6%;
    width: 47%;
    min-width: 47%;
  }

  .arrow-morph {
    width: 22px;
    height: 22px;
  }

  .product-name span {
    font-size: 7cqi;
  }

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

  .avatar-display-info {
    font-size: 10.5px;
  }

  .powered-text {
    font-size: 11px;
  }

  .powered-text span {
    font-size: 9.5px;
  }

  .title-morph {
    font-size: 10px;
  }

  .info-morph {
    padding: 7px 9px;
  }

  .card-about-wrapper {
    margin-left: -10px;
    margin-right: -10px;
  }

  .scanning-tips-card {
    width: 100%;
  }

  .face-detail-measurement.position-absolute span {
    font-size: 8px !important;
  }


  .face-detail-measurement.position-absolute h4 {
    font-size: 8px !important;
  }

  .badge {
    font-size: 10px;
    padding: 4px 12px;
  }

  .btn.flex-grow-1,
  .btn.w-100 {
    max-width: 100%;
    width: 100% !important;
  }

  .shade {
    font-size: 24px;
  }

  .form-control {
    padding: 13px 18px;
  }

  .card-rounded-wrapper {
    width: 100% !important;
  }

  .product-shade {
    font-size: 10px;
  }

  .product {
    width: 52px;
  }

  .match-card .shade-hex {
    width: 49%;
  }

  .match-card {
    border-radius: 17px;
  }

  .products-match-wrapper {
    min-width: 47%;
  }

  .product-label {
    font-size: 9px;
  }

  .match-card .badge {
    font-size: 8px;
  }

  .face-detail-measurement h4 {
    font-size: 14.5px;
  }

  .face-detail-measurement span {
    font-size: 10px;
  }
}

@media(min-width: 0px) and (max-width: 99999px) {
  #share_template {
    aspect-ratio: calc(393/706);
    width: 720px;
    background-color: #FCF1F3;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    top: -999%;
    left: -999%;
    pointer-events: none;
    padding: 0 30px;
    overflow: hidden;
  }

  #share_template .match-card {
    padding: 8px 10px;
    border-radius: 24px;
    aspect-ratio: calc(169/43);
  }

  #share_template .match-list {
    flex-direction: row;
  }

  #share_template .products-match-wrapper {
    transform: unset;
    min-width: 17%;
  }

  #share_template .badge-wrap {
    margin-top: 0;
  }

  #share_template .match-card.match {
    background-color: #FFD4DD;
  }

  #share_template .section {
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
  }

  #share_template .screen-header>img {
    width: 23%;
    margin: 48px auto 7px auto;
  }

  #share_template h2.sub-logo {
    margin-bottom: 30px;
    font-size: 16px;
  }

  #share_template .header-intro {
    margin-bottom: 16px;
    font-size: 24px;
  }

  #share_template .match-card .badge {
    font-size: 10px;
  }

  #share_template .header-bar {
    padding: 15px 10px;
  }

  #share_template .header-bar>* {
    font-size: 39px;
  }

  #share_template .screen-body {
    padding-top: 10px !important;
  }

  #share_template .summary-card {
    padding-bottom: 18px;
  }

  #share_template .match-section {
    margin-bottom: 12px !important;
  }

  #share_template #morphCardSection_share_template {
    display: block;
  }

  #share_template #morphCardSection_share_template+.scroll-wrapper,
  #share_template #productList_share_template+.scroll-wrapper,
  #share_template .custom-scrollbar-container,
  #share_template .scroll-arrow {
    display: none !important;
  }

  #share_template .face-shape-badge {
    width: 23%;
    min-width: 23%;
    margin-top: 0;
  }

  #share_template #shapeCarousel .owl-item {
    width: 15.3% !important;
  }

  #share_template .owl-nav,
  #share_template .owl-dots {
    display: none !important;
  }


  #share_template .tips-card:empty {
    display: none;
  }

  #share_template .section-title {
    /* font-size: 11px; */
  }

  #share_template .section-title span {
    padding: 4px 14px 3px;
  }

  #share_template .palette-preview {
    align-items: stretch;
  }

  #share_template .palette-season {
    /* padding-right: 10px; */
    font-size: 16px;
    /* line-height: 1.05; */
  }

  #share_template .palette-grid .sw {
    /* aspect-ratio: 2.4; */
  }

  #share_template .share-morph-layout {
    width: 100%;
    color: var(--main);
  }

  #share_template .share-morph-hero {
    display: flex;
    grid-template-columns: 34% 1fr;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 12px;
    justify-content: start;
  }

  #share_template .share-look-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid #efb4c5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(217, 80, 120, 0.12);
  }

  #share_template .share-look-card img {
    width: 106%;
    height: auto;
    display: block;
    /* object-fit: cover; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #share_template .share-look-featured {
    border-radius: 20px;
    border: 2px solid var(--main);
    box-shadow: 1px 4px 5px -2px #d95078b0;
    width: 34%;
  }

  #share_template .share-recommendation-badge {
    position: absolute;
    top: 12%;
    left: -2px;
    z-index: 2;
    /* padding: 4px 6px 3px; */
    border-radius: 0 999px 999px 0;
    /* background: var(--main); */
    /* color: #fff; */
    /* font-family: 'Poppins'; */
    /* font-size: 6px; */
    /* line-height: 1; */
    /* text-transform: uppercase; */
  }

  #share_template .share-look-summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }

  #share_template .share-skin-pill {
    width: fit-content;
    padding: 4px 12px 3px;
    border-radius: 999px;
    background: #ffd2df;
    color: var(--main);
    font-family: 'Hagrid';
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
  }

  #share_template .share-look-occasion {
    /* width: fit-content; */
    /* padding: 3px 7px 2px; */
    /* border-radius: 999px; */
    /* background: var(--main); */
    /* color: #fff; */
    /* font-family: 'Poppins'; */
    /* font-size: 8px; */
    /* line-height: 1; */
    /* text-transform: uppercase; */
  }

  #share_template .share-look-summary h3 {
    margin: 0;
    color: var(--main);
    font-family: 'TT Norms Pro';
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
  }

  #share_template .share-look-swatches {
    /* display: grid; */
    /* grid-template-columns: repeat(9, minmax(0, 1fr)); */
    /* gap: 0; */
    width: 100%;
    /* max-width: 230px; */
    overflow: hidden;
    /* border-radius: 999px; */
    /* background: #d7a0a3; */
    margin-top: 8px;
  }

  #share_template .share-look-swatches img {
    width: 100%;
  }

  #share_template .share-look-swatches span {
    display: block;
    aspect-ratio: 1.45;
    min-width: 0;
  }

  #share_template .share-look-card-label {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 2px;
    pointer-events: none;
  }

  #share_template .share-look-card-label span,
  #share_template .share-look-card-label strong {
    /* width: fit-content; */
    /* max-width: 100%; */
    /* padding: 2px 6px 1px; */
    /* border-radius: 999px; */
    /* background: var(--main); */
    /* color: #fff; */
    /* font-family: 'Poppins'; */
    /* font-size: 6px; */
    /* font-weight: 400; */
    /* line-height: 1; */
    /* text-align: center; */
    /* text-transform: uppercase; */
  }

  #share_template .share-look-card-label strong {
    /* padding-left: 8px; */
    /* padding-right: 8px; */
    /* font-size: 7px; */
    /* white-space: nowrap; */
  }

  #share_template #productList_share_template {
    width: 100%;
  }

  #share_template .share-product-strip {
    display: flex;
    /* grid-template-columns: repeat(auto-fill, 65px); */
    justify-content: center;
    flex-wrap: wrap;
    align-items: start;
    gap: 5px;
  }

  #share_template .share-product-card {
    min-width: calc(100% / 8 - 5px);
    max-width: calc(100% / 8 - 5px);
    padding: 3px;
    border-radius: 12px;
    background: #fff;
    container-type: inline-size;
  }

  #share_template .share-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
  }

  #share_template .share-product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 84%;
    max-height: 90%;
    transform: translate(-50%, -50%);
  }

  #share_template .share-product-shades {
    position: absolute;
    right: 0;
    bottom: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  #share_template .share-product-shade {
    width: 13px;
    height: 13px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins';
    font-size: 5px;
    line-height: 1;
  }

  #share_template .share-product-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 3px 2px 3px 2px;
    border-radius: 999px;
    background: var(--main);
    color: #fff;
    font-family: 'Poppins';
    font-size: 8.4cqi;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    /* container-type: inline-size; */
  }

  #share_template .share-product-name span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #share_template .powered-text {
    margin-top: 10px;
  }

  .circle-shade-color {
    border-radius: 50%;
    aspect-ratio: 1;
    width: 100%;
    border: 1px solid #e7e7e7;
    outline: 2.5px solid #fff;
    background: #ECBA93;
  }

  #share_template .product-label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  #share_template .product-shade {
    font-size: 18.5px;
  }
}

@media(min-width: 0px) and (max-width: 99999px) {
  #download_template {
    width: 720px;
    background-color: #FCF1F3;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    top: -999%;
    left: -999%;
    pointer-events: none;
    padding: 0 30px;
    overflow: hidden;
  }

  #download_template .match-card {
    /* padding: 8px 10px; */
    /* border-radius: 24px; */
    /* aspect-ratio: calc(169/43); */
  }

  #download_template .avatar-large {
    width: 39%;
    min-width: 39%;
    aspect-ratio: calc(4/5.3);
  }

  #download_template #result .screen-body .summary-card {
    padding-left: 30px;
    padding-right: 30px;
  }

  #download_template .avatar-display-info h3 {
    font-size: 20px;
  }

  #download_template .match-list {
    /* flex-direction: row; */
  }

  #download_template .products-match-wrapper {
    /* transform: unset; */
    /* min-width: 17%; */
  }

  #download_template .match-card.match {
    /* background-color: #FFD4DD; */
  }

  #download_template .section {
    /* padding-left: 0; */
    /* padding-right: 0; */
    /* background-color: transparent; */
  }

  #download_template .face-detail-measurement span {
    font-size: 13px !important;
  }

  #download_template .face-detail-measurement h4 {
    font-size: 22px !important;
  }

  #download_template .screen-header>img {
    width: 23%;
    margin: 48px auto 7px auto;
  }

  #download_template h2.sub-logo {
    margin-bottom: 30px;
    font-size: 16px;
  }

  #download_template .header-intro {
    margin-bottom: 16px;
    font-size: 24px;
  }

  #download_template .match-card .badge {
    font-size: 13.5px;
  }

  #download_template .section-title img {
    height: 1.85em;
  }

  #download_template .section-title span {
    font-size: 18px;
  }

  #download_template .header-bar {
    padding: 15px 10px;
  }

  #download_template .header-bar>* {
    font-size: 39px;
  }

  #download_template .screen-body {
    padding-top: 10px !important;
  }

  #download_template .summary-card {
    padding-bottom: 18px;
  }

  #download_template .match-section {
    /* margin-bottom: 12px !important; */
  }

  #download_template #morphCardSection_download_template {
    display: block;
  }

  #download_template #morphCardSection_download_template+.scroll-wrapper,
  #download_template #productList_download_template+.scroll-wrapper,
  #download_template .custom-scrollbar-container,
  #download_template .scroll-arrow {
    display: none !important;
  }

  #download_template .face-shape-badge {
    width: 24%;
    min-width: 24%;
    margin-top: 0;
  }

  #download_template #shapeCarousel .owl-stage {
    width: 100% !important;
  }

  #download_template #shapeCarousel .owl-item {
    width: 28% !important;
  }

  #download_template .owl-nav,
  #download_template .owl-dots {
    display: none !important;
  }


  #download_template .tips-card:empty {
    display: none;
  }

  #download_template .section-title {
    /* font-size: 11px; */
  }

  #download_template .section-title span {
    padding: 4px 14px 3px;
  }

  #download_template .palette-preview {
    align-items: stretch;
  }

  #download_template .palette-season {
    /* padding-right: 10px; */
    font-size: 16px;
    /* line-height: 1.05; */
  }

  #download_template .palette-grid .sw {
    /* aspect-ratio: 2.4; */
  }

  #download_template .share-morph-layout {
    width: 100%;
    color: var(--main);
  }

  #download_template .share-morph-hero {
    display: flex;
    grid-template-columns: 34% 1fr;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 12px;
    justify-content: start;
  }

  #download_template .share-look-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid #efb4c5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(217, 80, 120, 0.12);
  }

  #download_template .share-look-card img {
    width: 106%;
    height: auto;
    display: block;
    /* object-fit: cover; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #download_template .share-look-featured {
    border-radius: 20px;
    border: 2px solid var(--main);
    /* box-shadow: 1px 4px 5px -2px #d95078b0; */
    width: 34%;
  }

  #download_template .share-recommendation-badge {
    position: absolute;
    top: 12%;
    left: -2px;
    z-index: 2;
    /* padding: 4px 6px 3px; */
    border-radius: 0 999px 999px 0;
    /* background: var(--main); */
    /* color: #fff; */
    /* font-family: 'Poppins'; */
    font-size: 10px !important;
    /* font-size: 6px; */
    /* line-height: 1; */
    /* text-transform: uppercase; */
  }

  #download_template .share-look-summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  #download_template .share-look-summary p {
    color: var(--main);
    margin-bottom: 0;
  }

  #download_template .badge {
    font-size: 14px;
  }

  #download_template .share-skin-pill {
    width: fit-content;
    padding: 4px 12px 3px;
    border-radius: 999px;
    background: #ffd2df;
    color: var(--main);
    font-family: 'Hagrid';
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
  }

  #download_template .share-look-occasion {
    /* width: fit-content; */
    /* padding: 3px 7px 2px; */
    /* border-radius: 999px; */
    /* background: var(--main); */
    /* color: #fff; */
    /* font-family: 'Poppins'; */
    /* font-size: 8px; */
    /* line-height: 1; */
    /* text-transform: uppercase; */
    position: absolute;
    bottom: 10px;
    left: 10px;
  }

  #download_template .share-look-summary h3 {
    margin-top: auto;
    margin-bottom: 0;
    color: var(--main);
    font-family: 'TT Norms Pro';
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
  }

  #download_template .share-look-swatches {
    /* display: grid; */
    /* grid-template-columns: repeat(9, minmax(0, 1fr)); */
    /* gap: 0; */
    width: 100%;
    /* max-width: 230px; */
    overflow: hidden;
    /* border-radius: 999px; */
    /* background: #d7a0a3; */
    /* margin-top: 8px; */
  }

  #download_template .share-look-swatches img {
    width: 100%;
  }

  #download_template .share-look-swatches span {
    display: block;
    aspect-ratio: 1.45;
    min-width: 0;
  }

  #download_template .share-look-card-label {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 2px;
    pointer-events: none;
  }

  #download_template .share-look-card-label span,
  #download_template .share-look-card-label strong {
    /* width: fit-content; */
    /* max-width: 100%; */
    /* padding: 2px 6px 1px; */
    /* border-radius: 999px; */
    /* background: var(--main); */
    /* color: #fff; */
    /* font-family: 'Poppins'; */
    /* font-size: 6px; */
    /* font-weight: 400; */
    /* line-height: 1; */
    /* text-align: center; */
    /* text-transform: uppercase; */
  }

  #download_template .share-look-card-label strong {
    /* padding-left: 8px; */
    /* padding-right: 8px; */
    /* font-size: 7px; */
    /* white-space: nowrap; */
  }

  #download_template #productList_download_template {
    display: none;
  }

  #download_template .download-look-list {
    display: flex;
    flex-direction: column;
    gap: 38px;
    width: 100%;
  }

  #download_template .download-look-block {
    width: 100%;
  }

  #download_template .download-look-header {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
    margin-bottom: 18px;
  }

  #download_template .download-look-card {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  #download_template .download-recommended-products {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: var(--main);
    font-family: 'Poppins';
    font-size: 13px;
    line-height: 1;
    margin-top: auto;
    text-transform: uppercase;
  }

  #download_template .download-recommended-products i {
    font-size: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 4px;
    background-color: #FDF1F6;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
  }

  #download_template .share-product-strip {
    display: flex;
    /* grid-template-columns: repeat(auto-fill, 65px); */
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
  }

  #download_template .share-product-card {
    min-width: calc(100% / 4 - 12px);
    max-width: calc(100% / 4 - 12px);
    padding: 5px;
    border-radius: 17px;
    background: #fff4f8;
    container-type: inline-size;
  }

  #download_template .share-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
  }

  #download_template .share-product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 84%;
    max-height: 90%;
    transform: translate(-50%, -50%);
  }

  #download_template .share-product-shades {
    position: absolute;
    right: 0;
    bottom: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  #download_template .share-product-shade {
    /* width: 13px; */
    /* height: 13px; */
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins';
    font-size: 9px;
    line-height: 0;
    padding: 6px;
    aspect-ratio: 1;
  }

  #download_template .share-product-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 3px 2px 3px 2px;
    border-radius: 999px;
    background: var(--main);
    color: #fff;
    font-family: 'Poppins';
    font-size: 8.4cqi;
    aspect-ratio: calc(4/0.9);
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    /* container-type: inline-size; */
  }

  #download_template .share-product-name span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #download_template .powered-text {
    margin-top: 10px;
  }

  .circle-shade-color {
    border-radius: 50%;
    aspect-ratio: 1;
    width: 100%;
    border: 1px solid #e7e7e7;
    outline: 2.5px solid #fff;
    background: #ECBA93;
  }

  #download_template .product-label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  #download_template .product-shade {
    font-size: 18.5px;
  }

  #download_template .match-card .shade-hex {
    width: 32.5%;
  }

  #download_template .avatar-display-info {
    font-size: 14px;
  }

  #download_template .avatar-display-info {
    font-size: 15px;
  }

  #download_template .face-detail-measurement span {
    font-size: 13px;
  }

  #download_template .face-detail-measurement h4 {
    font-size: 20px;
  }

  #download_template .match-card {
    min-height: 84px !important;
  }

  #download_template .products-match-wrapper {
    min-width: 30% !important;
  }

  #download_template .product {
    width: 82px !important;
  }

  #download_template .face-detail-measurement.position-absolute span {
    font-size: 10px !important;
  }

  #download_template .face-detail-measurement.position-absolute h4 {
    font-size: 10px !important;
  }
}

/* IPAD */
@media(min-width: 768px) and (orientation: portrait){
  /* .video-face-measurement {
    top: 53%;
  } */

  .badge-sm {
    font-size: 10.5px !important;
  }

  .makeup-section{
    margin-left: 0px;
  }

  .top-label{
    font-size: 17px;
  }

  .swatches-makeup-card span {
    width: 18px;
  }
  
  .powered-text {
    font-size: 13px;
  }

  .powered-text span {
    font-size: 11.5px;
  }

  .screen-subtitle span {
    font-size: 5.5cqi;
  }

  .card-about-wrapper,
  .section-hacks-wrapper{
    max-width: 86%;
    margin-left: auto;
    margin-right: auto;
  }

  .choice-head .screen-title span, .choice-head .screen-title i, .choice-head .screen-title label {
    font-size: 8.6cqi;
  }

  .choice-head h3 {
    font-size: 2.2cqi;
  }

  .choice-head h5 {
    font-size: 2.5cqi;
  }

  .swatch {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-size: 14px;
  }

}

@media (max-width: 480px) {
  .qr-reader-wrapper {
    max-width: 340px;
  }
}