/* CMS quantity links only. One fixed-height row before and after JS boot. */
.listLinkToProducts.gbc-quantity {
  display: block !important;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.gbc-quantity > .listLinkToProductsTitle {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  line-height: 22px;
}
.gbc-quantity .gbc-quantity__row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  height: 60px;
}
.gbc-quantity .gbc-quantity__track {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  gap: 6px;
  min-width: 0;
  height: 60px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gbc-quantity__track::-webkit-scrollbar { display: none; }
.gbc-quantity .gbc-quantity__track > .listLinkToProductsItem {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 44px;
  padding: 0 3px !important;
  margin: 0 !important;
  box-sizing: border-box;
  border: 1px solid #e5e4e1;
  border-radius: 12px;
  background: #fff;
  color: #303030;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.gbc-quantity .gbc-quantity__track > .listLinkToProductsItem.active {
  flex-basis: 52px;
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-color: #292929;
  background: #292929;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}
.gbc-quantity .gbc-quantity__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f5f5f4;
  color: #303030;
  cursor: pointer;
  transition: background-color 120ms ease, opacity 120ms ease, transform 120ms ease;
}
.gbc-quantity .gbc-quantity__arrow[hidden] { display: none; }
.gbc-quantity .gbc-quantity__arrow:disabled { opacity: .3; cursor: default; }
.gbc-quantity .gbc-quantity__arrow svg { pointer-events: none; }
.gbc-quantity .gbc-quantity__arrow:active:not(:disabled),
.gbc-quantity .gbc-quantity__track > a:active { transform: scale(.97); }
.gbc-quantity .gbc-quantity__arrow:focus-visible,
.gbc-quantity .gbc-quantity__track > a:focus-visible {
  outline: 2px solid #f68416;
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .gbc-quantity .gbc-quantity__arrow:hover:not(:disabled) { background: #ecebe8; }
  .gbc-quantity .gbc-quantity__track > a:hover:not(.active) { background: #f7f6f4; }
}
@media (pointer: coarse) {
  .gbc-quantity .gbc-quantity__arrow { flex-basis: 40px; width: 40px; min-width: 40px; }
  .gbc-quantity .gbc-quantity__track > .listLinkToProductsItem:not(.active) { flex-basis: 44px; width: 44px; min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .gbc-quantity .gbc-quantity__arrow,
  .gbc-quantity .gbc-quantity__track > a { transition: none; }
}
