/* ------ large and medium devices (dekstops and laptops, 991px and up) -----*/
@media (min-width: 991px) {
  html {
    font-size: 0.694vw;
  }

  .container {
    max-width: 122rem;
  }

  .stickt_to_top {
    position: sticky;
    top: 3.5rem;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 57%;
  }

  .container {
    padding: 0 1.35rem;
  }

  main {
    overflow: hidden;
  }

  .tab-pane .row,
  .price_section .tab-pane > .row {
    --bs-gutter-x: 1rem;
  }

  .solution_blocks_wrap {
    width: 60%;
    margin: auto;
    margin-bottom: 3rem;
    margin-top: 0;
  }

  .rated {
    margin: 0 auto;
  }

  .product_details h3 {
    text-align: center;
    margin-top: 2rem;
  }

  .hair_profile {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .product_area {
    margin-top: 4rem;
  }

  .before_after .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }

  .menu_img_left {
    width: 16rem;
  }

  .menu_img_right {
    width: 17rem;
  }

  .menu_top .container img {
    width: 12rem;
  }

  .menu_top {
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu_top span {
    font-size: 2.8rem;
  }

  .team_area .row {
    --bs-gutter-x: 2rem;
  }

  .add_to_cart_btn {
    white-space: nowrap;
  }

  .product_details {
    margin-top: 1.5rem;
  }

  .product_slider {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .modal_img {
    width: 65rem;
    height: 55rem;
  }

  .modal_img img {
    width: 46rem;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  /* ============ default styles ============ */
  html {
    font-size: 55%;
  }

  body {
    font-size: 1.8rem;
  }

  /* ================= Mobile Responsive ================== */
  .product_area {
    margin-top: 0;
  }

  .menu_top {
    height: 2.5rem;
  }

  .menu_img_right {
    width: 8rem;
  }

  .menu_img_left {
    width: 8rem;
    margin-left: -1rem;
  }

  .menu_top span {
    font-size: 1.15rem;
  }

  .menu_top .container img {
    width: 8.6rem;
  }

  .menu_top span {
    margin-left: 1rem;
  }

  .logo img {
    width: 17.3rem;
  }

  .menu_bottom a.text_lg {
    display: none;
  }

  .menu_bottom .logo {
    width: 17.3rem;
    margin: 0 auto;
  }

  .menu_bottom {
    height: 4.4rem;
  }

  .hair_profile {
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
  }

  .hair_profile span {
    margin-left: 1.5rem;
  }

  .product_area .container > .row {
    padding: 0;
  }

  .pr_block_icon img {
    width: 2.5rem;
  }

  .pr_block_icon {
    width: 3rem;
    height: 3rem;
  }

  .pr_block_right span {
    font-size: 1rem;
  }

  .pr_block_right p {
    font-size: 1.4rem;
  }

  .pr_block {
    padding: 0.5rem;
  }

  .pr_block_right {
    display: grid;
  }

  .row.pr_blocks {
    --bs-gutter-x: 1rem;
    margin-bottom: 0;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hair_profile {
    margin-bottom: 0.6rem;
  }

  .solution_blocks_wrap {
    width: 100%;
    margin-bottom: 3rem;
  }

  .rated {
    font-size: 1.2rem;
    width: 100%;
    justify-content: center;
  }

  .product_details h3 {
    font-size: 2.25rem;
    padding: 0 4.5rem;
    margin-top: 1.2rem;
    margin-bottom: 2.7rem;
  }

  .product_details > p br {
    display: none;
  }

  .product_details > p {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.6rem;
  }

  .book_wrap img {
    width: 3.6rem;
  }

  .book_wrap {
    gap: 1.5rem;
  }

  .check_points li {
    gap: 1.5rem;
    font-size: 1.5rem;
  }

  .check_points li p {
    font-size: 1.5rem;
    line-height: 2.2rem;
  }

  .check_points {
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .hair_profile.v2 span {
    line-height: 1;
    margin: 0;
    font-size: 1.4rem;
  }

  .hair_profile.v2 .dot {
    background: #e74c3c;
    box-shadow: 0 0 1rem 0 #e74c3c;
  }

  .nav-link {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 500;
    padding: 0 1.5rem;
  }

  .nav-link span {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .nav_tabs {
    gap: 0;
  }

  .hair_profile.v2 span {
    line-height: 1;
    margin: 0;
    font-size: 1.4rem;
  }

  .hair_profile.v2 .dot {
    background: #e74c3c;
    box-shadow: 0 0 1rem 0 #e74c3c;
  }

  .nav-link {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 500;
    padding: 0 1.5rem;
  }

  .nav-link span {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .nav_tabs {
    gap: 0;
  }

  .bottle_wrap {
    width: 17.2rem;
    position: absolute !important;
    left: 0;
    top: 50%;
    height: auto;
    transform: translateY(-50%);
  }

  .price_mid {
    position: relative;
    padding: 1rem 1rem 1rem 17.2rem;
    max-height: 22.5rem;
    display: grid;
    height: auto;
    align-content: start;
    max-width: 37rem;
    margin: 0 auto;
  }

  .price_num sub {
    font-size: 2.95rem;
  }

  .price_num span {
    font-size: 2.95rem;
  }

  .price_mid p.text_lg {
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 1.5rem;
  }

  .price_num {
    order: -1;
    margin: 0;
  }

  .add_to_cart_btn {
    order: -1;
    margin: 1.5rem 0 1rem;
  }

  .less_text {
    display: none;
  }

  .guarantee_img {
    width: 3rem;
    left: 5.5rem;
    bottom: 1rem;
  }

  .price_box2 .bottle_inner {
    transform: scale(0.85);
  }

  .price_bottom {
    justify-content: center;
  }

  .price_box3 .bottle_inner {
    transform: scale(0.725) !important;
  }

  .price_box3 .guarantee_img {
    left: 6.5rem;
    bottom: 2.5rem;
    width: 3.2rem;
  }

  .price_box1 .bottle_inner {
    transform: scale(0.84) !important;
  }

  .price_top .text_lg {
    font-size: 2rem;
    text-transform: uppercase;
  }

  .price_top {
    border: 0;
  }

  .price_box {
    border-radius: 1.5rem;
    border: 0;
    box-shadow: 0 0 0.9rem 0.2rem rgba(0, 0, 0, 0.2);
  }

  .tab-pane .row,
  .price_section .tab-pane > .row {
    --bs-gutter-y: 2rem;
  }

  .price_num sub {
    display: none;
  }

  .price_num span.d-block {
    display: inline-block !important;
    padding-left: 0.5rem;
  }

  .team_area .row {
    --bs-gutter-y: 3rem;
  }

  .team_area .row {
    --bs-gutter-y: 3rem;
  }

  .title_35 {
    font-size: 2.6rem;
    line-height: 1.4;
  }

  .before_after .section_top h2 span {
    font-size: 2.1rem;
  }

  .before_after .section_top {
    padding-bottom: 4.8rem;
  }

  .b4a_points {
    padding: 3.3rem 0;
  }

  .b4a_bottom .title_24 {
    font-size: 1.8rem;
  }

  .b4a_bottom {
    padding: 0;
  }

  .client_box * {
    font-size: 0.86rem;
    line-height: 1.4rem;
  }

  .client_top_right span {
    font-size: 0.73rem;
  }

  .client_top_left img {
    width: 3rem;
    height: 3rem;
  }

  .stars {
    width: 6.9rem;
  }

  .b4a_box {
    padding: 0.6rem;
  }

  .b4a_points li {
    font-size: 1.6rem;
  }

  .b4a_points {
    gap: 2.7rem;
  }

  .title_30 {
    font-size: 2.4rem;
    line-height: 3.4rem;
  }

  .p_details_title {
    text-align: center;
    font-weight: 600;
    border: 0;
    margin: 0;
    margin-top: 5rem;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .trans_box p {
    font-size: 1.6rem;
    font-weight: 600 !important;
  }

  .trans_box .text_lg {
    font-weight: 600 !important;
  }

  .p_details .row.row1 {
    --bs-gutter-x: 0;
    gap: 2rem 0;
    margin: 0 0 0rem 0;
  }

  .p_details .row.row1 .col-6:nth-child(odd) {
    border-right: 0.1rem solid #e2e2e2;
  }

  .hair_type_wrap {
    gap: 0.5rem 1rem;
    margin-right: 0;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .hair_type_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hair_type_box img {
    width: 4rem;
  }

  .hair_type_box {
    font-size: 1.65rem;
    color: #303030;
    font-weight: 500;
  }

  .Details_area .tab-content > .tab-pane {
    display: block !important;
    opacity: 1;
  }

  .p_details p.text_lg {
    text-align: center;
  }

  .Details_right .title_40 {
    color: #ff6c84;
    font-weight: 600 !important;
    font-size: 3.4rem;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1;
  }

  .ingredients_list li {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }

  .ingredients_info {
    padding-left: 0;
    padding-top: 0;
  }

  .ingredients_info span {
    position: relative;
    padding: 2.1rem 0 4.6rem;
    font-weight: 600;
    font-size: 1.65rem;
  }

  .ingredients_info span:before {
    content: "";
    width: 13rem;
    display: block;
    height: 0.4rem;
    background: #ff6c84;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2.5rem;
  }

  .ingredients_info p {
    font-size: 1.6rem;
    font-weight: 400;
  }

  .benifits_block h5 {
    font-size: 2rem;
  }

  .benifits_block {
    text-align: center;
  }

  .benifits_block span {
    margin: 1.1rem auto;
    width: 13rem;
    height: 0.4rem;
  }

  .benifits_wrap {
    margin-top: 6rem;
  }

  .money_back_content {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .money_back_content .section_top {
    display: none;
  }

  .money_back {
    padding: 3.5rem 0;
  }

  .moneyback_img {
    margin: 0;
    padding: 0;
  }

  .money_back .title_32 {
    font-size: 2.65rem;
    line-height: 1.2;
  }

  /* price_section */
  .price_section .price_box2 .guarantee_img {
    width: 3rem;
    left: 5.5rem;
    bottom: 1rem;
  }

  .price_section .bottle_wrap {
    height: auto;
  }

  .price_section .price_box3 .guarantee_img {
    width: 3.5rem;
    left: 6rem;
    bottom: 2rem;
  }

  .price_section .price_box3 .save_text {
    width: 3.7rem;
    height: 3.7rem;
    font-size: 1.05rem;
    right: -1rem;
    top: -1rem;
  }

  .px_30 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .tab-pane .row,
  .price_section .tab-pane > .row {
    --bs-gutter-y: 2rem;
  }

  .price_box {
    margin: 0;
  }

  .review_area .title_35 br {
    display: none;
  }

  .review_area .section_top .text_2xl {
    font-size: 1rem;
  }

  .review_area .section_top img {
    margin-left: 2rem;
    width: 10.8rem;
  }

  .client_box_wrap:before {
    top: 0.8rem;
    left: 0.8rem;
  }

  .client_box.v2 * {
    font-size: 1rem;
    line-height: 1.24;
  }

  .client_box.v2 .client_top_right span {
    font-size: 0.7rem;
  }

  .client_box.v2 .client_top_left img {
    width: 3rem;
    height: 3rem;
  }

  .review_area .row {
    --bs-gutter-y: 2.4rem;
  }

  .title_40 {
    font-size: 2.66rem;
  }

  .faq_section .section_top {
    padding-bottom: 4rem;
  }

  .accordion_btn {
    font-size: 2rem;
    gap: 2rem;
    padding: 1.8rem 1.5rem;
  }

  .accordion_item {
    box-shadow: none;
  }

  .accordion {
    gap: 1rem;
  }

  .title_40 {
    font-size: 2.66rem;
  }

  .faq_section .section_top {
    padding-bottom: 4rem;
  }

  .accordion_btn {
    font-size: 2rem;
    gap: 2rem;
    padding: 1.8rem 1.5rem;
  }

  .accordion_item {
    box-shadow: none;
  }

  .accordion {
    gap: 1rem;
  }

  .footer_link {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer_text {
    width: calc(100% + 3rem);
    transform: translateX(-1.5rem);
  }

  footer.footer {
    padding-bottom: 2rem;
  }

  .angle_right {
    width: 1.8rem;
    height: 1.8rem;
  }

  .angle_right.rotate {
    transform: rotate(-180deg);
  }

  .product_details {
    margin-top: 1.5rem;
  }

  /* ============ modal_wrap ============= */
  .modal_img img {
    width: 34rem;
  }

  .modal_img {
    height: 100%;
    width: 100%;
    border-radius: 0;
  }

  .modal_wrap {
    height: 100%;
    width: 100%;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.56vw;
  }

  /* menu */
  .container-fluid,
  .primary_menu {
    width: calc(100%);
  }
}
