@media (max-width: 1899px) {
  :root {
    --header_height: 8rem;
    --logo_width: 11.8rem;
    --logo_padding: 0 4.1rem;
  }

  .logo {
    height: var(--header_height);
    padding: var(--logo_padding);
  }

  .logo img {
    width: var(--logo_width);
  }
  .side_menu {
    padding-top: var(--header_height);
  }
}

@media (max-width: 1399px) {
  :root {
    --header_height: 7.8rem;
    --logo_width: 15.2rem;
    --logo_padding: 0 3rem;
  }

  .logo {
    height: var(--header_height);
    padding: var(--logo_padding);
  }

  .logo img {
    width: var(--logo_width);
  }
  .side_menu {
    padding-top: var(--header_height);
  }
}

@media (min-width: 1400px) {
  .container_xl {
    max-width: 1400px;
  }
}

@media (min-width: 1200px) {
  .container_lg {
    max-width: 1160px;
  }
}

@media (min-width: 1100px) {
  .container_md {
    max-width: 1090px;
  }
}

@media (min-width: 1200px) and (max-width: 1500px) {
  html {
    font-size: 50%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  html {
    font-size: 45%;
  }
  :root {
    --header_height: 8.7rem;
    --logo_width: 16.65rem;
    --logo_padding: 0 3.5rem;
  }

  .logo {
    height: var(--header_height);
    padding: var(--logo_padding);
  }

  .logo img {
    width: var(--logo_width);
  }
  .side_menu {
    padding-top: var(--header_height);
  }
}

/*----- sm devices (tablets, 992px and up) -----*/
@media (min-width: 992px) {
  .navtabs_sm.collapse:not(.show) {
    display: flex !important;
    height: auto !important;
    width: 100%;
  }
  .white_arrow_down {
    opacity: 0;
  }
  .header_right {
    padding-left: 15rem;
  }
  .side_menu_top .primary_menu.mt_30 {
    margin-top: 0 !important;
  }
}

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

  main {
    margin-top: 0;
  }

  br {
    display: none;
  }

  .title_55 {
    font-size: 2.5rem;
  }

  #menumodal {
    display: none !important;
  }

  /* Section top */

  .Section_top {
    width: 80%;
    margin: 0 auto;
  }

  .Section_top .title_55 {
    padding: 2rem 0 2.5rem 0;
  }

  .Section_top .section_logo {
    width: 15rem;
  }

  /* ======================= Mobile Menu ======================= */
  .site_header.sticky {
    box-shadow: none;
    animation: none !important;
  }

  .menu_up {
    transform: none;
    box-shadow: none;
  }

  .menu_link {
    height: 6rem;
    width: 100%;
    padding: 2rem;
    border-bottom: 0.1rem solid #ececec;
  }

  .hamburger {
    width: 4rem;
    height: 4rem;
    background: #000;
    border-radius: 10rem;
    margin-right: 1.2rem;
    cursor: pointer;
  }

  .hamburger img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
      hue-rotate(29deg) brightness(115%) contrast(101%);
    width: 2.4rem;
  }

  .logo img {
    width: 100%;
  }

  .logo {
    height: 6.2rem;
    width: 17rem;
    padding: 0 2.5rem;
  }

  /* ======================= Hero Section ===================== */

  .Hero_section {
    padding: 25rem 0 6rem 0;
    margin-top: 0;
  }

  .Hero_section .row {
    flex-direction: column-reverse;
    gap: 14rem;
  }

  .hero_image img:nth-child(1) {
    width: 80%;
    margin: 0 auto;
  }

  .hero_image {
    display: flex;
    justify-content: center;
  }

  .hero_content {
    text-align: center;
  }

  .hero_content p {
    padding: 0;
  }

  .hero_content .title_65 {
    padding: 2rem 0 5rem;
    line-height: 1;
    font-size: 5rem;
  }

  .hero_img_shape {
    width: 100%;
  }

  .hero_img_dots {
    z-index: 0;
    width: 10rem;
    top: -12rem;
    right: -2rem;
  }

  /* ===================== System Flow ================= */
  .system_flow_contents {
    flex-direction: column;
    gap: 4rem;
    border: none;
    padding: 0;
    overflow: hidden;
  }

  .system_arow .line {
    width: 100vw;
  }

  .system_arow img {
    transform: rotate(90deg);
    width: 0.87rem;
  }

  .system_box p {
    text-align: center;
  }

  .system_arow a {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.1rem solid #000;
    border-radius: 10rem;
  }

  /* ===================== Services Section =================== */
  .services_section .row.one {
    flex-direction: column-reverse;
  }

  .services_section .row {
    gap: 5.7rem;
    padding-bottom: 5rem;
  }

  .service_image {
    padding: 5rem 5em;
    height: 50rem;
  }

  .services_section .row.three {
    flex-direction: column-reverse;
  }

  .service_button .line {
    display: none;
  }

  .service_button {
    margin-top: 2rem;
  }

  .services_section {
    padding: 8rem 0;
  }

  .services_section .row .col-lg-6:first-child {
    padding-right: 0.8rem;
  }

  .services_section .row .col-lg-6:last-child {
    padding-left: 0.8rem;
  }

  .service_content h2 {
    padding: 2rem 0 4rem 1px;
  }

  .service_content p.pb_30 {
    padding-bottom: 2rem;
  }

  .services_section .Section_top {
    padding-bottom: 7rem;
  }

  .Section_top .title_55 {
    padding: 2rem 0 4rem 0;
    line-height: 1;
  }

  /* ===================== Footer Section =================== */
  .footer_contents {
    flex-direction: column;
    gap: 3rem;
  }

  .footer_left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .social_icons {
    margin: 0;
  }

  .footer_boxes .footer_box {
    padding: 0;
    width: 33.333%;
  }

  .footer_boxes {
    padding: 0;
    width: 100%;
    gap: 10rem;
    align-items: start !important;
  }

  /* ===================== My Cart ===================== */
  .tollshop_header {
    padding-bottom: 4rem;
  }

  .cart_items {
    padding-bottom: 2rem;
  }

  .Cart_section {
    padding: 12rem 0 15rem 0;
  }

  /* ===================== ap1_1 ===================== */
  .ap1_1 .hero_content p {
    padding: 0;
  }

  /* ================= Chiptuning-Files–1 =================== */
  .Chiptuning_section {
    padding: 10rem 0 6rem;
  }

  .selecters {
    grid-template-columns: 1fr 1fr;
  }
  .engine_area {
    flex-direction: column;
    gap: 2.5rem;
  }

  .engine_part2_right {
    width: 30rem;
  }
  .engine_part2_left {
    padding-right: 0;
  }

  .engine_part2 {
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }

  .chiptunning_progressbars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .chiptunning_services {
    display: grid !important;
    grid-template-columns: 0fr 0fr 0fr;
  }
  .media_info {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1.6rem;
  }

  .chiptunning_part_two_infos {
    padding: 2.5rem;
    margin-bottom: 3rem;
  }

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

  .Dyno_Chart {
    padding: 0;
    background: transparent;
  }
  .chart_img {
    background: #f6f6f6;
    padding: 2.5rem 0.6rem 1.4rem 0.5rem;
    border-radius: 1rem;
  }

  .Dyno_Chart h2 {
    line-height: 2.6rem;
    padding-bottom: 2rem;
    font-size: 1.7rem;
  }

  .chiptunning_part_two .button.mt_30 {
    margin: 0 auto;
    margin-top: 5rem;
  }

  /* ===================== toolshop-cat-open-1 =================== */
  .toolshop_section {
    padding: 10.2rem 0 13.5rem 0;
  }

  .toolshop_shop_slider {
    padding: 10.1rem 0 6rem 0;
  }

  .toolshop_shop_slider .row.row1 {
    gap: 3rem;
  }
  .toolshop_shop_slider .row.row1 {
    gap: 3rem;
  }

  .toolshop_slider_bottom {
    display: grid !important;
    grid-template-columns: 0fr 0fr 0fr;
    grid-template-rows: 1fr 1fr;
    justify-content: flex-start !important;
    gap: 3.3rem 0;
  }

  .add_to_cart_button {
    grid-row: 2;
    grid-column: 2;
  }

  .toolshop_slider_bottom .increment_decrement.v2 {
    grid-row: 2;
    grid-column: 1;
    padding-right: 3rem;
  }

  .toolshop_slider_content p:nth-child(2) {
    white-space: nowrap;
  }

  .extra_options h2 {
    padding: 2.8rem 0 2rem 0;
  }

  /* ==================== Checkout Page ================== */
  .checkout_section {
    padding: 12.5rem 0 5.6rem 0;
  }
  .payment_cards {
    padding-bottom: 2.5rem;
  }

  .form_section {
    padding-bottom: 4rem;
  }

  .tab-pane .texts {
    padding-bottom: 3rem;
  }

  .checkout_section .row > * {
    padding: 0 0.8rem;
  }

  /* ==================== tool_shop_cart1 ================== */
  .tool_shop_cart1 {
    padding: 12.2rem 0 16rem 0;
  }

  /* ============================= */
  .chiptab_nav_sm {
    display: flex;
    height: 4rem;
    background: #ee322f;
    align-items: center;
    width: 35.4rem;
    border-radius: 10rem !important;
    padding: 0 1.5rem;
    justify-content: space-between;
  }

  .chiptab_nav_sm img {
    width: 3rem;
  }

  .selecters {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .chiptunning_part_one .chiptunning_tabs {
    grid-template-columns: 1fr;
    border-radius: 0;
    gap: 1.2rem;
    border: none;
    padding-bottom: 0.2rem;
    margin-top: 1.3rem;
    background: transparent;
  }

  .chiptunning_part_one .chiptab_nav {
    border-radius: 10rem !important;
    border: 0.1rem solid #dcdcdc !important;
    height: 4rem;
    padding: 0 2.5rem;
  }

  .chiptunning_part_one .chiptab_nav_sm {
    background: var(--red) !important;
    width: 100% !important;
  }

  .chiptunning_part_one .chiptab_nav_sm img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%)
      hue-rotate(197deg) brightness(101%) contrast(103%) !important;
  }
  .chiptunning_part_one .chiptab_nav_sm p {
    color: #fff;
  }

  .chiptunning_part_one .white_arrow_down {
    width: 1rem !important;
    transform: rotate(90deg);
  }

  .chiptunning_part_one .chiptab_nav.active {
    background: #fff !important;
  }

  .chiptunning_part_one .chiptab_nav.active p {
    color: #000;
  }

  .chiptunning_part_one .chiptab_nav.active img:not(.white_arrow_down) {
    filter: brightness(0) saturate(100%) invert(0%) sepia(96%) saturate(0%)
      hue-rotate(108deg) brightness(93%) contrast(103%);
  }

  .chiptunning_part_one .chiptab_nav_sm.collapsed .white_arrow_down {
    transform: rotate(90deg);
  }

  .chiptunning_part_one .chiptab_nav_sm .white_arrow_down {
    transform: rotate(-90deg);
  }

  .select {
    height: 4rem;
  }

  /* ==================== */
  .dots_cross span {
    width: 0.4rem;
    height: 0.4rem;
    background: #fff;
  }
  .userIcon {
    height: 3.5rem;
    width: 3.5rem;
    margin: 0 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 50%;
    transition: 0.3s;
  }
  .userIcon img {
    width: 1.5rem;
    filter: var(--imgwhite);
  }
  .dots_cross {
    width: 1.8rem;
    height: 1.8rem;
  }
  .user_icon_v3 {
    padding: 0.6rem 2rem 0.6rem 0.6rem;
    background: transparent;
    border: 0.1rem solid #000;
    border-radius: 3rem;
    color: #000;
    justify-content: space-between !important;
  }

  .side_menu {
    width: 24.8rem;
    padding-top: 6.2rem;
  }

  .side_menu_top {
    margin: 2.8rem 2.3rem 3rem;
    padding: 0 0 3rem;
    order: -1;
  }

  .user_icon_v3 p {
    white-space: nowrap;
    font-size: 1.4rem;
  }

  .side_menu .primary_menu a {
    padding: 0;
    height: auto;
    border: none;
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .side_menu .primary_menu {
    padding: 0;
    padding-top: 3rem;
  }

  .dots_cross.three_dots {
    width: 2.3rem;
  }

  .shopping_cart_icon {
    width: 1.7rem !important;
  }

  .mobile_icons .user_icon_v3:hover {
    text-decoration: none;
  }

  .dots_cross.three_dots > span {
    border-radius: 10rem;
  }
}

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

  .text_17 {
    font-size: 1.4rem;
  }

  .button {
    height: 4.5rem;
  }

  .row.gap_35 {
    gap: 2.8rem;
  }

  .row.gap_35 > * {
    padding: 0 0.8rem;
  }

  /* ============== Hero Section ================ */
  .Hero_section {
    padding: 15rem 0 3.5rem 0;
  }

  .hero_image img:nth-child(1) {
    width: 30.3rem;
    position: relative;
    z-index: 9;
  }

  .hero_img_shape {
    width: 36.7rem;
  }

  .hero_img_dots {
    width: 7rem;
    right: 7rem;
    top: -3rem;
  }

  .Hero_section .row {
    gap: 11.5rem;
  }

  .section_logo {
    width: 15.5rem;
  }

  .hero_content .title_65 {
    font-size: 2.5rem;
    line-height: 3.8rem;
    padding-bottom: 2rem;
  }

  /* =================== System Slow Section ===================== */
  .system_flow_section {
    padding: 0 0 7.3rem 0;
  }

  .system_box {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .system_flow_contents {
    border-radius: 0;
    gap: 1rem;
  }

  .system_box img {
    width: 5.5rem !important;
  }

  /* ============== Service Section ================ */

  .service_earth {
    width: 12.5rem;
    top: -3rem;
    right: -3rem;
  }

  .service_image img:first-child {
    width: 100%;
  }

  .service_image {
    padding: 5.2rem;
    height: 26.7rem;
  }

  .service_content h2 {
    font-size: 2.7rem;
    line-height: 3rem;
    padding: 1.8rem 0 2.4rem 0;
  }

  .world_map {
    width: calc(100% - 3rem);
    left: 1.5rem;
  }

  .service_logo {
    width: 16rem !important;
  }

  /* ============== Footer Section ================ */
  .site_footer .footer_contents {
    border-top: 1.6rem solid #ececec;
    padding-top: 4.3rem;
  }

  .site_footer {
    border: none;
  }

  .footer_boxes .footer_box {
    width: auto;
  }

  .footer_boxes {
    gap: 3rem 5rem;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .footer_logo img {
    width: 17rem;
  }

  .social_icons a {
    width: 4.5rem;
    height: 4.5rem;
  }

  .footer_contents {
    gap: 5rem;
    padding-bottom: 4.7rem;
  }

  .copywrite p:last-child {
    display: none;
  }

  .footer_box h2 {
    padding-bottom: 1.8rem;
  }

  .copywrite {
    padding-top: 3.6rem;
  }

  .site_footer {
    padding: 4.3rem 0 4.5rem;
  }

  /* ======================= toolShop-cat-open =================== */
  .toolshop_section {
    padding: 10.5rem 0 7.4rem 0;
  }

  .tollshop_header .arrow_back_link {
    display: none !important;
  }

  .tollshop_header h2 {
    text-align: center;
    width: 100%;
  }

  .tollshop_header {
    padding-bottom: 4rem;
  }

  .title_45 {
    font-size: 2.5rem;
  }

  .toolshop_section .tollshop_header .title_45 {
    position: relative;
    padding-bottom: 4rem;
  }

  /* ============== My Cart ================ */
  .Cart_section {
    padding: 10.5rem 0 6.2rem 0;
  }

  .cart_item {
    display: grid !important;
    grid-template-columns: 0fr 1fr;
    gap: 3rem 2.2rem;
    padding: 2.2rem 1rem 3rem 1rem;
  }

  .increse_items {
    padding: 0;
  }

  .item_info {
    padding: 0;
  }

  .increment_decrement {
    justify-content: center;
  }

  .cart_item:not(:last-child) {
    margin-bottom: 2rem;
  }

  .Cart_section .tollshop_header h2 {
    width: fit-content;
    justify-content: center;
  }

  .text_sm_number {
    font-size: 1.5rem;
    right: -1.5rem;
  }

  .Cart_section .tollshop_header {
    justify-content: center !important;
    padding-bottom: 4.5rem;
  }

  .cart_item_cross {
    position: absolute;
    right: 1rem;
    width: 1.8rem;
    height: 1.8rem;
    top: 1rem;
    cursor: pointer;
  }

  /* =========== Chiptunning Files Section =========== */

  /* ================= */
  .Chiptuning_section.section_shadow {
    background: transparent;
    padding: 10rem 0 2.2rem;
  }

  .engine_part2 {
    flex-direction: column;
  }

  .chiptunning_services {
    grid-template-columns: 1fr 1fr;
  }

  .chiptunning_service {
    width: 100%;
  }

  .media_info {
    padding-right: 3rem;
  }

  .Chiptuning_section .tollshop_header .title_45 {
    padding-bottom: 4.3rem;
  }

  .selectors_wrapper.pt_45 {
    padding-top: 3.8rem;
  }

  .engine_part1 {
    flex-direction: column;
    gap: 1.7rem;
  }

  .engine_part1_cont {
    padding: 0;
    text-align: center;
  }

  .text_25 {
    font-size: 2rem;
  }

  .engine_area {
    padding: 2.5rem 0 3.7rem 0;
  }

  .engine_part1_cont .text_18 {
    font-size: 1.6rem;
    padding: 0 3rem;
  }

  .engine_part2_left img {
    margin: 2.5rem 0 3.5rem 0;
    width: 6.5rem;
  }

  .engine_part2_right {
    width: 100%;
    padding: 0 2.4rem;
    gap: 1rem;
  }

  .chiptunning_part_two .chiptab_nav {
    padding: 0 3.5rem;
  }
  .chiptunning_part_two_infos {
    padding: 2.5rem;
  }

  .chiptab_nav .chiptab_btn_icon img {
    width: 3rem;
  }

  /* =============== tool_shop_cart1 Page =============== */
  .tool_shop_cart1 .row > * {
    padding: 0 0.5rem;
  }
  .tool_shop_cart1 .row {
    gap: 1rem 0;
  }
  .tool_shop_cart1_box_img img {
    width: 5rem;
  }
  .tool_shop_cart1_box {
    height: 13.2rem;
    padding: 0;
    align-content: center !important;
  }
  .tool_shop_cart1_box p {
    margin-top: 1.5rem;
    font-size: 1.4rem;
  }
  .tool_shop_cart1 .title_box {
    padding-bottom: 4.3rem;
  }

  .tool_shop_cart1 {
    padding: 10.5rem 0 8rem;
  }

  .tool_shop_cart1 .title_box h2 {
    padding-bottom: 1.5rem;
  }

  /* ==================== toolshop-cat-open-1 ======================= */
  .item img {
    width: 25.3rem;
  }

  .item {
    padding: 2.4rem 0 4.8rem;
  }

  .bottom-imgs a img {
    width: 5.5rem;
  }

  .bottom-imgs a {
    padding: 1.5rem 0;
  }

  .bottom-imgs {
    gap: 1.4rem;
    margin-top: 1.2rem;
  }

  .toolshop_slider_content h2 {
    font-size: 1.8rem;
    line-height: 2.5rem;
  }

  .toolshop_slider_content p:nth-child(3) {
    padding-top: 1.9rem;
    padding-bottom: 1.9rem;
  }

  .toolshop_slider_bottom {
    margin-top: 1.5rem;
  }

  .ext_option > div p {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }

  .radio {
    width: 2.1rem;
    height: 2.1rem;
  }

  .radio_inner {
    width: 1rem;
    height: 1rem;
  }

  .extrac_options_wrap.active .extra_options_dropdown_wrap {
    padding: 0rem 1.5rem 0.5rem 1rem;
  }

  .extrac_options_wrap {
    padding: 0.5rem 1.5rem 0.5rem 1rem;
  }

  .extra_options_dropdown_wrap {
    padding: 0rem 1.5rem 0rem 1rem;
  }

  .ext_option > div p {
    padding-left: 0.8rem;
  }

  .ext_option_selected {
    padding-bottom: 0.5rem;
  }

  .description_texts {
    padding: 2.5rem 5.5rem 2rem 3.5rem;
  }

  .toolshop_slider_content p:nth-child(3) {
    padding-right: 0;
  }

  .tollshop_header {
    padding-bottom: 0;
  }

  /* ==================== Checkout Page ================== */
  .checkout_nav {
    font-size: 1.4rem;
  }

  .form_section {
    margin-top: 2rem;
  }

  .form_groups {
    flex-direction: column;
    gap: 0;
  }

  .form_groups > .form_group {
    width: 100% !important;
  }

  .form_group.form_button.mt_60 {
    display: none;
  }

  .payment_cards {
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 4.5rem;
  }

  .pay_card {
    width: 100% !important;
  }

  .tab-pane .texts {
    padding-top: 4.5rem;
  }

  .summary_btn {
    margin-top: 1.7rem;
    border-top: 0.1rem solid #f1f1f1;
  }

  .calling_code_selector {
    display: none;
  }

  /* cart_icon */
  .cart_icon_wrap > p {
    display: none;
  }

  .number_sm {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--red);
    position: absolute;
    top: -0.2rem;
    right: 2rem;
  }

  .cart_icon_wrap {
    right: auto;
    left: 3rem;
  }

  .cart_icon_wrap:hover .number_sm {
    color: #fff;
  }

  .select_wrap.active .select_dropdown {
    transform: scale(1) translateY(1.5rem);
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.3362vw;
  }
  .container {
    padding-left: 3.7rem;
    padding-right: 3.7rem;
  }

  /* ============ Hero Dots =========== */
  .hero_img_dots {
    width: 7rem;
    right: 0rem;
    top: -3rem;
  }

  /* ================ Modal ================ */
  button.modal_close.close {
    right: 0;
    top: -3rem;
  }

  /* ================ logo ================ */
  :root {
    --header_height: 7.6rem;
    --logo_width: 15rem;
    --logo_padding: 0 3rem;
  }

  .logo {
    height: var(--header_height);
    padding: var(--logo_padding);
    width: auto;
  }

  .logo img {
    width: var(--logo_width);
  }

  .side_menu {
    padding-top: var(--header_height);
  }
}
