.sideview__container-body { overflow-x: hidden; }

.basket-item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  grid-template-areas:
    "product product remove"
    "qty     price   price";
  align-items: center;
  gap: 8px 12px;
  max-width: 100%;
}
.basket-item__product-wrapper { grid-area: product; min-width: 0; }
.basket-item__remove-wrapper  { grid-area: remove; justify-self: end; }
.basket-item__price-wrapper   { grid-area: price; text-align: right; min-width: 0; }

.basket-item__product { white-space: normal; overflow-wrap: anywhere; }
.basket-item__price-wrapper * { white-space: normal; }

.basket-item__input-wrapper {
  grid-area: qty;
  width: 170px;
  max-width: 100%;
}
.basket-item__input-wrapper .number-input {
  position: relative;
  width: 100%;
  height: 44px;
}
.basket-item__input-wrapper .number-input input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  text-align: center;
  padding: 0 48px;
}
.basket-item__input-wrapper .number-input__button {
  position: absolute;
  top: 0;
  height: 44px;
  width: 44px;
  z-index: 2;
}
.basket-item__input-wrapper .number-input__button-dec { left: 0; }
.basket-item__input-wrapper .number-input__button-inc { right: 0; }

/* rezerva dole, aby se tlačítko dalo vyscrollovat nad badge */
.sideview__container-body { padding-bottom: 90px; }

/* při otevřeném side cartu badge skryj */
body:has(.sideview.is-open) #cmplz-manage-consent { display: none; }