/* Toolsbiotech product-service page scoped Elementor corrections. */
#tbt-product-service-page {
  --tbt-orange: #ef7e00;
  --tbt-text: #292929;
  color: var(--tbt-text);
}

#tbt-product-service-banner #tbt-ps-banner-title-en .elementor-heading-title {
  font-family: "Exo 2", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .5px;
}

#tbt-ps-banner-subtitle .elementor-heading-title {
  letter-spacing: 4px;
}

#tbt-ps-banner-current .elementor-heading-title {
  font-family: "Exo 2", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

#tbt-ps-breadcrumb-row .elementor-widget-heading:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 1px;
  background: #1a1a1a;
  display: inline-block;
  margin: 0 12px 0 8px;
  vertical-align: middle;
}

#tbt-ps-breadcrumb-row .elementor-widget-heading {
  width: auto;
  flex: 0 0 auto;
}

#tbt-ps-services-list [id^="tbt-ps-service-row-"] {
  position: relative;
}

#tbt-ps-services-list [id^="tbt-ps-service-row-"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--tbt-orange);
  transition: width .4s ease;
}

#tbt-ps-services-list [id^="tbt-ps-service-row-"]:hover::after {
  width: 100%;
}

#tbt-ps-services-list [data-tbt-hit="1"] [id^="tbt-ps-service-title-"]::before {
  content: "熱銷主打";
  display: block;
  width: max-content;
  padding: 3px .75em;
  margin-bottom: 5px;
  border-radius: 3px;
  background: var(--tbt-orange);
  color: #fff;
  font-size: .75rem;
  line-height: 1.25em;
  font-weight: 700;
}

#tbt-ps-services-list [id^="tbt-ps-service-title-"] {
  width: 25%;
  flex: 0 0 25%;
}

#tbt-ps-services-list [id^="tbt-ps-service-desc-"] {
  width: 59%;
  flex: 0 0 59%;
  padding-right: 13.3%;
}

#tbt-ps-services-list [id^="tbt-ps-service-desc-"] .elementor-widget-container {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#tbt-ps-services-list [id^="tbt-ps-service-link-"] {
  width: 16%;
  flex: 0 0 16%;
}

#tbt-ps-services-list [id^="tbt-ps-service-more-"] .elementor-button {
  min-width: 104px;
  border-radius: 0;
  transition: all .35s ease;
}

#tbt-ps-services-list [id^="tbt-ps-service-more-"] .elementor-button:hover,
#tbt-ps-services-list [id^="tbt-ps-service-more-"] .elementor-button:focus {
  color: #fff;
  background: var(--tbt-orange);
}

#tbt-ps-services-list .elementor-widget-shortcode,
#tbt-ps-services-list .elementor-widget-shortcode .elementor-widget-container {
  width: 100%;
}

.tbt-ps-dynamic-list {
  width: 100%;
}

.tbt-ps-dynamic-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: 100%;
  min-height: 106px;
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid #e0e0e0;
}

.tbt-ps-dynamic-row::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--tbt-orange);
  transition: width .4s ease;
}

.tbt-ps-dynamic-row:hover::after {
  width: 100%;
}

.tbt-ps-dynamic-title {
  width: 25%;
  flex: 0 0 25%;
  margin: 0;
  color: var(--tbt-orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.tbt-ps-dynamic-title a {
  color: inherit;
  text-decoration: none;
}

.tbt-ps-dynamic-row[data-tbt-hit="1"] .tbt-ps-dynamic-title::before {
  content: "熱銷主打";
  display: block;
  width: max-content;
  padding: 3px .75em;
  margin-bottom: 5px;
  border-radius: 3px;
  background: var(--tbt-orange);
  color: #fff;
  font-size: .75rem;
  line-height: 1.25em;
  font-weight: 700;
}

.tbt-ps-dynamic-desc {
  width: 59%;
  flex: 0 0 59%;
  padding-right: 13.3%;
  color: var(--tbt-text);
  font-size: 15px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tbt-ps-dynamic-link {
  width: 16%;
  flex: 0 0 16%;
  display: flex;
  justify-content: flex-start;
}

.tbt-ps-dynamic-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 9px 25px;
  border: 2px solid var(--tbt-orange);
  color: var(--tbt-orange);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: all .35s ease;
}

.tbt-ps-dynamic-more:hover,
.tbt-ps-dynamic-more:focus {
  color: #fff;
  background: var(--tbt-orange);
}

.tbt-ps-dynamic-empty {
  color: var(--tbt-text);
  font-size: 16px;
}

#tbt-ps-pagination-row .elementor-widget-heading {
  width: 35px;
  min-width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#tbt-ps-pagination-row .elementor-widget-heading .elementor-heading-title {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .35s ease;
}

#tbt-ps-pagination-row .elementor-widget-heading .elementor-heading-title:hover {
  border-color: var(--tbt-orange);
  color: var(--tbt-orange);
}

#tbt-ps-contact-title .elementor-heading-title {
  letter-spacing: 3px;
  padding-bottom: 1em;
}

#tbt-ps-contact-en {
  border-top: 1px solid #474747;
  padding-top: 30px;
}

#tbt-ps-contact-en .elementor-heading-title {
  font-family: "Exo 2", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: .9;
}

#tbt-ps-contact-button {
  align-self: flex-start;
}

@media (max-width: 979px) {
  #tbt-ps-banner-inner {
    min-height: 350px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #tbt-ps-banner-main,
  #tbt-ps-banner-current-box {
    width: 100%;
    --container-widget-width: 100%;
  }

  #tbt-product-service-banner #tbt-ps-banner-title-en .elementor-heading-title {
    font-size: 48px;
  }

  #tbt-ps-services-list [id^="tbt-ps-service-row-"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tbt-ps-dynamic-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
  }

  #tbt-ps-services-list [id^="tbt-ps-service-title-"],
  #tbt-ps-services-list [id^="tbt-ps-service-desc-"],
  #tbt-ps-services-list [id^="tbt-ps-service-link-"] {
    width: 100%;
    flex: 0 0 auto;
    padding-right: 0;
  }

  .tbt-ps-dynamic-title,
  .tbt-ps-dynamic-desc,
  .tbt-ps-dynamic-link {
    width: 100%;
    flex: 0 0 auto;
    padding-right: 0;
  }

  #tbt-ps-pagination-row {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  #tbt-ps-breadcrumb-row {
    gap: 8px;
  }

  #tbt-ps-contact-inner {
    align-items: center;
    text-align: center;
  }

  #tbt-ps-contact-button {
    align-self: center;
  }

  #tbt-ps-contact-en .elementor-heading-title {
    font-size: 40px;
  }
}

.tbt-product-category-archive {
  --tbt-pca-orange: #e95520;
  --tbt-pca-text: #1c1c1c;
  --tbt-pca-muted: #686868;
  color: var(--tbt-pca-text);
  background: #fff;
  font-family: "Montserrat", "Noto Sans TC", Arial, sans-serif;
}

.tbt-pca-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.tbt-pca-banner {
  min-height: 420px;
  padding: 120px 0 68px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.tbt-pca-banner .tbt-pca-container {
  display: grid;
  grid-template-columns: minmax(0, .48fr) minmax(0, .52fr);
  gap: 48px;
  align-items: end;
}

.tbt-pca-kicker {
  margin: 0;
  font-family: "Exo 2", "Montserrat", sans-serif;
  font-size: 72px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

.tbt-pca-subtitle {
  margin: 22px 0 0;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .92);
  font-size: 17px;
  letter-spacing: 4px;
}

.tbt-pca-brand {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 600;
}

.tbt-pca-brand-copy p:not(.tbt-pca-brand) {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.tbt-pca-nav {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.tbt-pca-nav-row {
  display: flex;
  align-items: stretch;
  width: min(1120px, calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
}

.tbt-pca-nav-home,
.tbt-pca-nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-left: 1px solid #eee;
  color: var(--tbt-pca-text);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.tbt-pca-nav-dropdown {
  position: relative;
}

.tbt-pca-nav-dropdown.is-active > button {
  color: var(--tbt-pca-orange);
}

.tbt-pca-nav-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.tbt-pca-nav-dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
  width: min(360px, 88vw);
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

.tbt-pca-nav-dropdown:hover ul,
.tbt-pca-nav-dropdown:focus-within ul {
  display: block;
}

.tbt-pca-nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--tbt-pca-text);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.tbt-pca-nav-dropdown a.active,
.tbt-pca-nav-dropdown a:hover,
.tbt-pca-nav-dropdown a:focus {
  color: var(--tbt-pca-orange);
}

.tbt-pca-breadcrumb {
  padding: 28px 0;
  background: #f7f7f7;
}

.tbt-pca-breadcrumb .tbt-pca-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 14px;
}

.tbt-pca-breadcrumb a,
.tbt-pca-breadcrumb span {
  color: var(--tbt-pca-text);
  text-decoration: none;
}

.tbt-pca-breadcrumb a::after,
.tbt-pca-breadcrumb span:not(:last-child)::after {
  content: "/";
  margin-left: 14px;
  color: #999;
}

.tbt-pca-overview {
  position: relative;
  padding: 88px 0 76px;
  overflow: hidden;
}

.tbt-pca-overview::before {
  content: "";
  position: absolute;
  top: 64px;
  right: max(-120px, calc((100vw - 1120px) / 2 - 160px));
  width: 430px;
  height: 430px;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
}

.tbt-pca-overview-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 72px;
  align-items: center;
  padding-bottom: 58px;
  border-bottom: 1px solid #e1e1e1;
}

.tbt-pca-marker {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--tbt-pca-orange);
}

.tbt-pca-overview h1 {
  margin: 0 0 22px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
}

.tbt-pca-overview p {
  max-width: 620px;
  margin: 0;
  color: var(--tbt-pca-muted);
  font-size: 16px;
  line-height: 1.9;
}

.tbt-pca-visual {
  margin: 0;
  width: 100%;
  max-width: 370px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}

.tbt-pca-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.tbt-pca-scroll {
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.tbt-pca-scroll::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--tbt-pca-orange);
  border-bottom: 2px solid var(--tbt-pca-orange);
  transform: translateX(-50%) rotate(45deg);
}

.tbt-pca-items {
  padding: 52px 0 96px;
}

.tbt-pca-items .tbt-ps-dynamic-row {
  min-height: 92px;
}

.tbt-pca-items .tbt-ps-dynamic-title {
  color: var(--tbt-pca-orange);
}

.tbt-pca-items .tbt-ps-dynamic-row[data-tbt-hit="1"] .tbt-ps-dynamic-title::before {
  display: none;
}

@media (max-width: 900px) {
  .tbt-pca-banner {
    min-height: 340px;
    padding: 92px 0 54px;
  }

  .tbt-pca-banner .tbt-pca-container,
  .tbt-pca-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tbt-pca-kicker {
    font-size: 54px;
  }

  .tbt-pca-nav-row {
    flex-direction: column;
    width: 100%;
  }

  .tbt-pca-nav-home,
  .tbt-pca-nav-dropdown > button {
    width: 100%;
    min-width: 0;
    border-left: 0;
    border-top: 1px solid #eee;
  }

  .tbt-pca-nav-dropdown ul {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .tbt-pca-overview::before {
    right: -220px;
  }

  .tbt-pca-visual {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .tbt-pca-container,
  .tbt-pca-nav-row {
    width: min(100% - 36px, 1120px);
  }

  .tbt-pca-banner .tbt-pca-container,
  .tbt-pca-nav-row {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .tbt-pca-kicker {
    font-size: 42px;
  }

  .tbt-pca-overview h1 {
    font-size: 30px;
  }
}
