html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.mega-chart-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.progress-what-expect__text {
  margin-top: 32px;
}

.progress-what-expect__text p {
  margin-top: 32px;
  font-family: 'Open Sans';
  font-size: 18px;
  color: #323232;
  font-weight: 600;
  line-height: 28px;
}

.progress-what-expect__text p:first-child {
  margin-top: 0;
}

.progress-what-expect__tabs {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.regrowth-chart__wrapper {
  position: relative;
}

.tabs__nav-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.progress-what-expect__tabs .tabs__nav {
  max-width: calc(30% - 26px);
  width: 100%;
  max-height: 668px;
  overflow-y: auto;
  padding-right: 8px;
  position: relative;
  align-items: flex-start;
  justify-content: flex-start;
}

.progress-what-expect__tabs .tabs__nav::-webkit-scrollbar {
  width: 8px;
  /* background-color: #D9D9D9; */
  border-radius: 20px;
}

.progress-what-expect__tabs .tabs__nav::-webkit-scrollbar-thumb {
  background: #EAECF0;
  border-radius: 20px;
}

.progress-what-expect__tabs .tabs__content {
  max-width: calc(70% - 8px);
  width: 100%;
  margin-top: 0;
  position: relative;
}

.progress-what-expect__tabs .tabs__btn {
  flex-shrink: inherit;
  padding: 7px 12px;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: none;
  width: 100%;
}

.more__content p {
  color: #323232;
  font-family: 'Open Sans';
  font-size: 19px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.more__pane ul {
  margin-top: 8px;
  margin-bottom: 25px;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.more__pane ul li {
  color: #66947D;
  font-family: 'Open Sans';
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

.progress-what-expect__charts {
  border-radius: 4px;
  background: #FFF;
  padding: 0;
  position: relative;
}

.progress-sexyality {
  position: absolute;
  background: #F18E3D;
  padding: 4px 16px;
  color: #FFF;
  font-family: 'Lato';
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  min-width: 88px;
  text-align: center;
  right: 8px;
  top: 80px;
  z-index: 1;
}

.progress-sexyality::before {
  content: '';
  position: absolute;
  height: 100%;
  background: #F18E3D;
  width: 8px;
  top: 0;
  right: calc(100% + 4px);
}

.progress-what-expect__charts.more .apexcharts-series[seriesName="standart"] .apexcharts-marker,
.progress-what-expect__charts.more .apexcharts-series[seriesName="standart-dashed"] .apexcharts-marker {
  fill: #fff !important;
  stroke: #fff !important;
}

.progress-what-expect__charts.more .apexcharts-series[seriesName="standart"] .apexcharts-marker+path,
.progress-what-expect__charts.more .apexcharts-series[seriesName="standart-dashed"] .apexcharts-marker+path {
  display: none;
}

#regrowthChart {
  margin-top: 28px;
}

.regrowth-chart__default_description,
.regrowth-chart__enhanced_description {
  max-width: 50%;
}

.regrowth-chart__default_description h4,
.regrowth-chart__enhanced_description h4,
.progress-block__title {
  color: #173851;
  font-family: 'Lato';
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 0;
}

.progress-block__title {
  font-size: 24px;
  margin-bottom: 4px;
  width: 100%;
}

.regrowth-chart__default_description p,
.regrowth-chart__enhanced_description p {
  margin: 8px 0 0 0;
  color: #173851;
  font-family: 'Open Sans';
  font-size: 16px;
  font-weight: 400;
  line-height: 150%
}

.apexcharts-xaxis-label-custom {
  color: #173851;
  font-family: 'Open Sans' !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
}

#whatToExpect .apexcharts-xaxis-texts-g .apexcharts-xaxis-label-custom:last-child {
  font-size: 0;
  color: transparent;
}

.mobile__text {
  display: none;
}

.progress-what-expect__tabs {
  position: relative;
}

.progress-what-expect__tabs {
  position: relative;
}

.progress-what-expect__tabs .tabs__pane {
  display: block;
  opacity: 0;
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  transition: all .8s;
  padding-left: 47px;
}


.chart__decore-cnt{
  position: absolute;
  left: -40px;
  top: 0px;
  height: 100%;
  width: 50px;
  z-index: 1;
}

.chart__decore-cnt .chart__decore-top{
  background-image: url("https://my.perfecthairhealth.com/wp-content/uploads/2023/03/decore-top.svg");
  transition: all 0.3s ease 0s;
  cursor: pointer;
  width: 80px;
  background-repeat: no-repeat;
  height: 350px;
  position: absolute;
  left: 16px;
  bottom: 150px;
  transform: scale(0.83);
}
.chart__decore-cnt .chart__decore-top:hover{
  background-image: url("https://my.perfecthairhealth.com/wp-content/uploads/2023/03/decore-top-hover.svg");
}

.chart__decore-cnt .chart__decore-bottom{
  background-image: url("https://my.perfecthairhealth.com/wp-content/uploads/2023/03/decore-bottom.svg");
  transition: all 0.3s ease 0s;
  cursor: pointer;
  width: 80px;
  background-repeat: no-repeat;
  height: 120px;
  position: absolute;
  bottom: 65px;
  transform: scale(0.85);
  left: 16px;
}
.chart__decore-cnt .chart__decore-bottom:hover{
  background-image: url("https://my.perfecthairhealth.com/wp-content/uploads/2023/03/decore-bottom-hover.svg");
}

.tippy-box[data-theme~='custom-tooltip'] {
  background-color: white;
  color: black;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
}

.tippy-box[data-theme~='custom-tooltip'] .tippy-arrow {
  color: white;
}

[data-tippy-root]{
  min-width: 330px;
}

@media (max-width: 797px){
  .chart__decore-cnt{
    left: -32px;
  }

  .progress-what-expect__tabs .tabs__pane {
    padding-left: 32px;
  }
  .chart__decore-cnt .chart__decore-top{
    left: 8px;
  }

  .chart__decore-cnt .chart__decore-bottom{
    left: 8px;
  }
  .tippy-box{
    max-width: 270px !important;
  }
  [data-tippy-root]{
    min-width: 200px;
  }
}
@media (max-width: 453px){
  .chart__decore-cnt .chart__decore-top{
    bottom: 169px;
  }

  .chart__decore-cnt .chart__decore-bottom{
    bottom: 86px;
  }
}

.page-template-page-mega-charts .progress-what-expect__charts-toggle .progress-switch{
  width: auto;
}


.progress-what-expect__tabs .tabs__pane_show {
  position: static;
  z-index: 1;
  opacity: 1;
}

.progress-what-expect__tabs .container {
  margin-top: 0;
}

.chart-tooltip {
  border-radius: 4px;
  background: rgba(207, 207, 207, 0.55);
  backdrop-filter: blur(35px);
  padding: 24px 26px;
  width: 100%;
  max-width: 260px;
}

.chart-tooltip h5 {
  color: #173851;
  font-family: 'Lato';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: initial;
}

.chart-tooltip p {
  color: #173851;
  font-family: 'Open Sans';
  font-size: 12px;
  font-weight: 600;
  line-height: 150%;
  white-space: initial;
}

.progress-what-expect__charts .apexcharts-yaxis-texts-g text:last-child {
  display: none;
}

.apexcharts-toolbar {
  gap: 16px;
  top: 18px !important;
  right: 26px !important;
}

.apexcharts-toolbar img {
  max-width: 32px;
  width: 32px !important;
  height: 32px !important;
}

.apexcharts-menu-icon,
.apexcharts-pan-icon,
.apexcharts-reset-icon,
.apexcharts-selection-icon,
.apexcharts-toolbar-custom-icon,
.apexcharts-zoom-icon,
.apexcharts-zoomin-icon,
.apexcharts-zoomout-icon {
  width: 32px !important;
  height: 32px !important;
  transform: none !important;
  margin: 0;
}

.apexcharts-canvas .apexcharts-element-hidden,
.apexcharts-datalabel.apexcharts-element-hidden,
.apexcharts-hide .apexcharts-series-points {
  display: none;
}

.regrowth-chart__container {
  margin-top: -10px;
  position: relative;
}

.regrowth-chart__container::before {
  content: '';
  position: absolute;
  top: 0;
  background: #fff;
  width: 100%;
  left: 0;
  right: 0;
  height: 71px;
  z-index: 1;
}

.regrowth-chart__container.disabled:before {
  display: none;
}

.regrowth-chart__container.disabled {
  height: 608px;
  background: url(../../../imgs/progress_result/chart-disable.jpg) no-repeat;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  background-size: cover;
}

.regrowth-chart__container.disabled h3 {
  color: #173851;
  font-family: 'Lato';
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px;
  margin-bottom: 0;
  text-align: center;
}

.regrowth-chart__container.disabled p {
  color: #173851;
  font-family: 'Lato';
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.progress-what-expect__charts-toggle.disabled {
  display: none;
}

.tabs__btn-category {
  width: 100%;
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  color: #173851;
  margin-top: 8px;
}

.tabs__btn-category:first-child {
  margin-top: 0px;
}

.progress-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.more-regrowth.progress-switch {
  display: inline-flex;
}

.progress-what-expect__charts-toggle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.progress-switch input {
  display: none !important;
}

.regrowth-chart__container .apexcharts-svg {
  cursor: move;
}

.progress-switch__toggle {
  cursor: pointer;
  width: 64px;
  height: 34px;
  background-color: #173851;
  border-radius: 30px;
  position: relative;
}

.progress-switch__toggle span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-family: 'Lato';
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
}

.progress-switch__toggle span:first-child {
  display: none;
  left: 8px;
}

.progress-switch__toggle span:last-child {
  display: block;
  right: 8px;
}

.progress-switch input:checked~.progress-switch__toggle span:first-child {
  display: block;
}

.progress-switch input:checked~.progress-switch__toggle span:last-child {
  display: none;
}

.progress-switch__toggle::before {
  content: "";
  position: absolute;
  border-radius: 30px;
  background: #FFF;
  width: 26px;
  height: 26px;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
  transition: left .4s;
}

.progress-switch input:checked~.progress-switch__toggle {
  background-color: #F18E3D;
}

.progress-switch input:checked~.progress-switch__toggle::before {
  left: 34px;
}

.progress-switch__title {
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  color: #173851;
  pointer-events: none;
}

.progress-switch__modal {
  display: none;
  max-width: 273px;
  background-color: rgba(207, 207, 207, .65);
  padding: 14px 16px;
  position: absolute;
  right: 0;
  bottom: -116px;
  z-index: 10;
  font-family: 'Open Sans';
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #173851;
}

.progress-switch__modal::before {
  content: '';
  display: block;
  width: 23px;
  height: 9px;
  position: absolute;
  top: -9px;
  right: 21px;
  background: url(../../../imgs/progress_result/polygon.svg) no-repeat;
}

.progress-switch:hover~.progress-switch__modal {
  display: block;
}

.tabs__content-more {
  width: 100%;
  margin-top: 25px;
}

.more__pane {
  padding-top: 25px;
}

.tab__more-pane,
.more__pane {
  display: none;
}

.tab__more-pane.tab__more-show,
.more__pane.more__pane_show {
  display: block;
}

.more__nav {
  display: flex;
  gap: 20px;
}

.more__btn {
  border: 2px solid #173851;
  color: #173851;
  border-radius: 4px;
  text-align: center;
  font-family: 'Lato';
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  padding: 8px 24px;
  background-color: #fff;
  flex: 1;
  cursor: pointer;
}

.more__btn.more__btn_active {
  background-color: #173851;
  color: #fff;
  cursor: inherit;
}

.more__pane-learn {
  display: flex;
  gap: 25px 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.more__pane-learn h4 {
  color: #173851;
  font-family: 'Open Sans';
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 0;
  width: 100%;
}

.more__pane-courses,
.more__pane-quick-wins,
.more__pane-courses_additional {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: calc(50% - 8px);
}

.more__pane-courses .button,
.more__pane-pdf .button,
.more__pane-quick-wins .button,
.more__pane-courses_additional .button{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  text-align: start;
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  padding: 12px;
  height: 56px;
}

.more__pane-pdf .button div {
  flex: 1;
}

.more__pane-pdf .button {
  gap: 16px;
}

.more__pane-pdf {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(50% - 8px);
}

.take-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
}

.take-action__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 33%;
  padding: 16px 24px;
  background-color: #f9f9f9;
}

.chat__container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin: 50px 54px 25px;
}

.chat__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 33%;
}

.chat__item .button {
  height: auto;
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 340px;
  width: 85%;
}

.more__pane-learn .courses,
.more__pane-learn .course,
.more__pane-learn .quick-wins{
  width: 100%;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tab__more-pane__title {
  display: none;
  margin-top: 30px;
}

.tab__more-pane__title.tab__more-show {
  display: block;
}

.explore__btn.button {
  position: absolute;
  z-index: 2;
  top: 18px;
  height: auto;
  font-size: 16px;
  max-width: 204px;
  padding: 8px 18px;
}

.coming-soon {
  background-image: url('../../../imgs/mega-charts/soon.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 430px;
  border-radius: 12px;
}

.coming-soon h3 {
  color: #173851;
  font-family: 'Lato';
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 112%;
  margin-bottom: 20px;
}

.coming-soon p {
  font-family: 'Lato';
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 128%;
  color: #173851;
  margin: 0;
}

.progress-timeline__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  font-family: 'Open Sans';
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-top: 12px;
}

.mega-chart-container .progress-block {
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

@media screen and (max-width: 1100px) {
  .progress-what-expect__tabs {
    display: block;
  }

  .progress-what-expect__tabs .tabs__nav,
  .progress-what-expect__tabs .tabs__content {
    max-width: 100%;
    max-height: 100%;
  }

  .progress-what-expect__tabs .tabs__content {
    margin-top: 30px;
  }

  .progress-what-expect__charts-toggle {
    flex-direction: column;
    gap: 16px;
  }

  .regrowth-chart__default_description,
  .regrowth-chart__enhanced_description {
    max-width: 100%;
  }

  .progress-timeline__title {
    text-align: center;
  }

  .chat__container {
    margin: 50px 0 25px;
    gap: 15px;
  }

  .progress-what-expect__tabs .tabs__btn {
    width: auto;
  }

  .take-action__item .button {
    height: auto;
  }
}

@media screen and (max-width: 900px) {
  .chat__container {
    flex-direction: column;
    gap: 50px;
  }

  .chat__item {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .mega-chart-container {
    padding: 0 8px;
  }

  .regrowth-chart__container {
    margin-top: 0;
  }

  .more__nav {
    flex-direction: column;
    gap: 8px;
  }

  .more__pane-learn {
    flex-direction: column;
    gap: 24px;
  }

  .take-action__item {
    width: 100%;
  }

  .take-action {
    flex-wrap: wrap;
  }

  .coming-soon h3 {
    font-size: 38px;
  }

  .coming-soon p {
    font-size: 18px;
  }

  .more__pane-pdf,
  .more__pane-courses,
  .more__pane-quick-wins,
  .more__pane-courses_additional {
    width: 100%;
  }

  .progress-what-expect__tabs .tabs__btn {
    width: 100%;
  }
}

@media screen and (max-width: 568px) {
  .apexcharts-toolbar {
    right: 6px !important;
  }

  .regrowth-chart__container.disabled h3 {
    font-size: 34px;
    line-height: 150%;
  }

  .regrowth-chart__container.disabled p {
    font-size: 24px;
    line-height: 150%;
  }
}