:host {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.product-vertical-with-cart-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 30px 20px;
  overflow: visible;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);

  &__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  &__title {
    margin: 0;
    color: #666666;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
  }

  &__description {
    margin: 23px 0;
    color: #6f6f6f;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.45;
  }

  &__purchase {
    display: grid;
    gap: 24px;
  }

  &__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-inline: 12px;
  }

  &__variants {
    display: grid;
    gap: 16px;
  }

  &__variant-selectors {
    width: 100%;
  }

  &__variant-selectors app-variant-selector {
    width: 100%;
  }

  &__price {
    color: var(--tenant-primary, #009933);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  &__actions {
    display: grid;
    gap: 10px;
  }

  &__actions app-button {
    display: block;
    width: 100%;
  }

  &__actions ::ng-deep .btn {
    width: 100%;
    min-height: 40px;
    min-width: 0;
    border-radius: 7px;
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .product-vertical-with-cart-card {
    border-color: var(--color-primary, var(--tenant-primary, #009933));

    &__title {
      color: var(--color-primary, var(--tenant-primary, #009933));
      font-size: 15px;
    }

    &__description {
      font-size: 13px;
      font-weight: 400;
    }
  }
}

@media (max-width: 420px) {
  .product-vertical-with-cart-card {
    padding: 42px 20px 21px;

    &__purchase {
      gap: 24px;
    }

    &__summary {
      padding-inline: 12px;
    }
  }
}
