.product-detail {
  color: #000000;

  &__panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  &__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  &__divider {
    border-top: 1px solid var(--border-color);
  }

  &__title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.35;
    color: #000000;
  }

  &__title-price-divider {
    border-top: 1px solid var(--border-color);
  }

  &__price-group {
    display: flex;
    align-items: baseline;
    gap: 0.875rem;
    flex-wrap: wrap;
  }

  &__price-current {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--tenant-primary);
  }

  &__price-previous {
    font-size: 19px;
    font-weight: 325;
    line-height: 1.2;
    color: #a0a0a0;
    text-decoration: line-through;
  }

  &__section--attributes {
    gap: 1.25rem;
  }

  &__attribute-options,
  &__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }


  &__purchase {
    display: flex;
    align-items: stretch;
    gap: 0.875rem;
    flex-wrap: wrap;
  }


  &__actions {
    flex: 1 1 0;
  }

  &__description-heading {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #666666;
  }

  &__description-body {
    font-size: 14px;
    font-weight: 325;
    line-height: 1.45;
    color: #666666;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;

    &--expanded {
      display: block;
      -webkit-line-clamp: unset;
      max-height: none;
      overflow-y: auto;
      padding-right: 0.35rem;
    }
  }

  &__description-toggle {
    align-self: center;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--tenant-primary);
  }
}

app-button.product-detail__cta {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .product-detail {
    &__panel {
      gap: 1.25rem;
    }

    &__purchase {
      flex-direction: column;
    }

    &__actions {
      width: 100%;
      flex-direction: column;
    }
  }
}
