.product-v8__heading {
  position: relative;
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: var(--align);
}

.product-v8__heading:after {
  position: absolute;
  display: inline-block;
  content: "";
  width: 8rem;
  height: 0.1rem;
  background-color: rgba(var(--color-accent));
  bottom: 0;
}

.product-v8__title {
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 3rem);
  font-weight: var(--font-body-weight);
  letter-spacing: calc(var(--font-heading-scale) * 0.1rem);
  font-family: var(--font-custom-family);
  text-transform: uppercase;
}

.product-v8__subtitle {
  font-size: calc(var(--font-body-scale) * 2rem);
  color: rgba(var(--color-foreground), 0.5);
}

[dir=ltr] .product-v8__heading--left:after {
  left: 0;
}
[dir=rtl] .product-v8__heading--left:after {
  right: 0;
}

.product-v8__heading--center:after {
  left: 50%;
  transform: translateX(-50%);
}

[dir=ltr] .product-v8__heading--right:after {
  right: 0;
}
[dir=rtl] .product-v8__heading--right:after {
  left: 0;
}

.product-v8__pagination {
  display: none;
}
@media (min-width: 576px) {
  .product-v8__pagination {
    text-align: center;
    padding-top: 2rem;
  }
}