.home-products-tabs-section .nav-tabs {
  display: flex;
  justify-content: center;
  border: none;
}

.home-products-tabs-section .nav-tabs .nav-link {
  color: var(--text-color);
  border-bottom: 1px solid transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  font-weight: 500;
  font-size: 18px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
  @media (max-width: 767px) {
    font-size: 14px;
  }
}
body.dark .home-products-tabs-section .nav-tabs .nav-link {
  color: var(--text-color-dark);
}

.home-products-tabs-section .nav-tabs .nav-link.is-active {
  border-color: var(--primary-color);
  background: none !important;
}

.home-products-tabs-section .nav-tabs .nav-link:not(.is-active) {
  opacity: 0.72;
}

.home-products-tabs-section .nav-tabs .nav-link:not(.is-active):hover,
.home-products-tabs-section .nav-tabs .nav-link:not(.is-active):focus-visible {
  opacity: 1;
}

/* Stacked panels: opacity + visibility (no display:none) */
.products-tabs-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.products-tabs-pane {
  grid-row: 1;
  grid-column: 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.products-tabs-pane.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.products-tabs-products-swiper {
  overflow: hidden;
  width: 100%;
}

.products-tabs-products-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.products-tabs-slide-inner {
  width: 100%;
  min-width: 0;
}


.home-products-tabs-section .products-button {
    padding: 8px 12px;
    min-width: 112px;
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 768px) {
    .home-products-tabs-section .products-button {
        padding: 13px 24px;
        min-width: 192px;
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .home-products-tabs-section .products-button {
        font-size: 1.25rem;
    }
}