.product-v2__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-v2__tab {
    gap: 5rem;
  }
}

.product-v2__tab-trigger {
  font-size: clamp(2rem, calc(0.625vw + 1.75rem), 2.5rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  font-weight: var(--font-heading-weight);
  width: 100%;
  background-color: rgba(var(--color-foreground), 0.05);
  padding: 1rem 0;
  text-align: center;
}
@media (min-width: 576px) {
  .product-v2__tab-trigger {
    position: relative;
    background: none;
    width: fit-content;
    padding: unset;
    padding-bottom: 0.5rem;
  }
}

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

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

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

@media (min-width: 576px) {
  .product-v2__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-v2__tab-trigger[xo-active]:not([xo-active=false]):after {
  width: 100%;
}

.product-v2__nav-button {
  text-align: center;
  padding-top: 4rem;
}

.product-v2 xo-product {
  overflow: hidden;
  border-radius: var(--radius);
}