.wt-product__sticky-buy__wrapper:has(quantity-counter) {
  gap: calc(var(--gap, 8px) * 2);

  .wt-product__sticky-buy__product {
    display: flex;
    flex: 1;
    min-width: 0;
  }

  .wt-product__sticky-buy__product-info {
    margin-left: 0;
    min-width: 0;

    .card__title {
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  .wt-product__sticky-buy__button {
    width: auto;
    min-width: 0;
    margin-left: 0;
  }

  quantity-counter {
    flex-shrink: 0;

    svg {
      margin-right: 0;

      rect, path {
        transition: none;
      }
    }

    .counter {
      justify-content: space-between;
    }
  }

  @media (min-width: 1400px) {
    quantity-counter,
    quantity-counter .counter {
      width: 140px;
    }

    .js-counter-decrease {
      margin-left: 6px;
    }

    .js-counter-increase {
      margin-right: 6px;
    }
  }
}
