.product-v3__tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: var(--justify);
  align-items: center;
  gap: 1rem;
  padding-top: 1.8rem;
  padding-bottom: 5rem;
}
@media (min-width: 576px) {
  .product-v3__tab {
    gap: 5rem;
  }
}

.product-v3__tab-trigger {
  font-size: calc(var(--font-body-scale) * 1.4rem);
  font-weight: var(--font-heading-weight);
  letter-spacing: calc(var(--font-body-scale) * 0.3rem);
  width: 100%;
  background-color: rgba(var(--color-foreground), 0.05);
  text-align: center;
  padding: 0.5rem 0;
}
@media (min-width: 576px) {
  .product-v3__tab-trigger {
    position: relative;
    background: none;
    width: fit-content;
  }
}

.product-v3__tab-trigger:hover {
  color: rgba(var(--color-foreground));
}

.product-v3__tab-trigger:hover::after {
  width: 100%;
}

.product-v3__tab-trigger[xo-active]:not([xo-active=false]) {
  color: rgba(var(--color-foreground));
}

@media (min-width: 576px) {
  .product-v3__tab-trigger:after {
    position: absolute;
    display: inline-block;
    content: "";
    width: 0;
    background-color: rgba(var(--color-foreground));
    height: 0.2rem;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    transition: all 0.3s ease;
  }
}

.product-v3__tab-trigger[xo-active]:not([xo-active=false]):after {
  width: 100%;
}

.product-v3__nav-button {
  text-align: center;
  padding-top: 3rem;
}