.tongda_hot_products {
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.tongda_hot_products_top {
  position: relative;
  z-index: 1;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.tongda_hot_products_title {
  margin: 0;
  color: #222;
  font-family: var(--font-family);
  font-size: var(--font-size-74);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tongda_hot_products_type_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 23.875rem);
  gap: 11.875rem;
  align-items: start;
}

.tongda_hot_products_type_intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 1.25rem 3.125rem;
  width: 100%;
  height: 100%;
}

.tongda_hot_products_type_content {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 2;
  height: 100%;
}

.tongda_hot_products_type_intro .tongda_hot_products_title {
  grid-column: 1 / -1;
  grid-row: 1;
}

.tongda_hot_products_type_name {
  margin: 0;
  color: #222;
  font-family: var(--font-family);
  font-size: var(--font-size-44);
  font-weight: 700;
  text-transform: uppercase;
}

.tongda_hot_products_type_desc {
  flex: 1;
  margin-top: 2rem;
  font-family: var(--font-family);
  color: #717171;
  font-size: var(--font-size-22);
  line-height: 1.5;
  text-transform: capitalize;
}

.tongda_hot_products_type_btn {
  margin-top: 1.25rem;
  width: max-content;
}

.tongda_hot_products_type_preview {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: 100%;
}

.tongda_hot_products_type_preview .tongda_hot_products_type_preview_image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.tongda_hot_products_type_list {
  display: flex;
  flex-direction: column;
  /* gap: 1.25rem; */
  gap: 0px;
}

.tongda_hot_products_type_item {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  padding: 1.25rem 0;
  padding-left: 5.625rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #111;
  text-align: left;
  cursor: pointer;
  word-break: break-all;
  position: relative;
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.tongda_hot_products_type_item::after {
  content: '';
  position: absolute;
  bottom: 0px;
  height: 1px;
  width: 0px;
  left: 0px;
  transition: width 0.5s;
  background: var(--color-primary);
  
}

.tongda_hot_products_type_item.is-active::after {
  width: 100%;
}



/* .tongda_hot_products_type_item.is-active {
  border-bottom-color: var(--color-primary);
} */

.tongda_hot_products_type_item_name {
  flex: 1;
  font-family: var(--font-family);
  font-size: var(--font-size-22);
  font-weight: 700;
  text-transform: uppercase;
}

.tongda_hot_products_type_item.is-active .tongda_hot_products_type_item_name {
  color: var(--color-primary);
}

.tongda_hot_products_type_item_image {
  display: block;
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  flex-shrink: 1;
}

.tongda_hot_products_category_mobile_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.tongda_hot_products_category_mobile_link
  .tongda_hot_products_category_mobile_image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tongda_hot_products_category_mobile {
  display: none;
  margin-top: 2rem;
}

.tongda_hot_products_category_mobile_swiper {
  overflow: hidden;
}

.tongda_hot_products_category_mobile_slide {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tongda_bg_text {
  max-width: 1920px;
  text-align: right;
  width: 100%;
  position: absolute;
  display: block;
  bottom: 0px;
  right: var(--root-container-spacing);
  margin: 0;
  padding: 0;
  color: #f6f6f6;
  font-family: var(--font-family-orbitron);
  font-size: clamp(8rem, 16vw, 20.125rem);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  z-index: 0;
  animation-name: tongdaBgTextSlideIn;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

@keyframes tongdaBgTextSlideIn {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tongda_bg_text {
    animation: none;
  }
}

@media screen and (max-width: 1024px) {
  .tongda_hot_products_type_layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .tongda_hot_products_type_intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
  }

  .tongda_hot_products_type_intro .tongda_hot_products_title {
    grid-column: 1;
    grid-row: 1;
  }

  .tongda_hot_products_category_mobile {
    display: block;
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .tongda_hot_products_top {
    padding-top: 5rem;
  }

  .tongda_hot_products_type_content {
    grid-column: 1;
    grid-row: 3;
  }

  .tongda_hot_products_type_list,
  .tongda_hot_products_type_preview {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  .tongda_hot_products_top {
    padding-top: 4rem;
  }
}
