/* ===== RELATED PRODUCTS TABS STYLES ===== */
.custom-related-products-tabs-section {
  width: 100%;
}

.custom-related-products-tabs-section
.hdt-container
.hdt-section-main-heading {
    h1, h2, h3, h4, h5, h6, p, span {
        font-family: "Fraunces", sans-serif;
        font-weight: 600;
        font-size: 45px;
        line-height: 100%;
        text-align: center;
        vertical-align: middle;
        text-transform: capitalize;
        color: #000000;
        margin-bottom: 30px;
    }

}

/* ----- TABS NAVIGATION ----- */
.related-tabs {
  width: 100%;
  margin-bottom: 24px;
}

.related-tabs__tablist {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.related-tabs__tab {
  min-width: 157px;
  height: 46px;
  padding: 0 20px;
  opacity: 1;
  border-radius: 5px;
  border: 0.5px solid #000000;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;

  /* Typography */
  font-family: "Inter", sans-serif;
  color: #000000;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.related-tabs__tab:hover {
  background-color: #000000;
  color: #ffffff;
}

.related-tabs__tab.is-active {
  font-weight: 700;
  color: #ffffff;
  background-color: #000000;
  border-color: #000000;
}

/* ----- PANELS ----- */
.related-tabs__panels {
  margin-top: 20px;
}

.related-tabs__panel {
  display: none;
}

.related-tabs__panel.is-active {
  display: block;
}

.related-tabs__panel[hidden] {
  display: none;
}

.related-tabs__empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 14px;
}

/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 768px) {
  .custom-related-products-tabs-section {
    padding-bottom: 0px;

    .hdt-container
    .hdt-section-main-heading {
      h1, h2, h3, h4, h5, h6, p, span {
        font-size: 26px;
        line-height: 28px !important;
      }
    }
  }

  .related-tabs__tablist {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .related-tabs__tablist::-webkit-scrollbar {
    display: none;
  }

  .related-tabs__tab {
    flex-shrink: 0;
    min-width: 120px;
    width: auto;
    height: 40px;
    padding: 0 16px;
    font-size: 12px;
  }

  .related-tabs__panels {
    margin-top: 16px;
  }
}
