/* Keep supplier delivery guidance inside product offer cards on every frontend surface. */
.stock-text {
  min-width: 0;
  flex-wrap: wrap;
}

.stock-text > .cart-box {
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
}

.stock-text .ware__house.text-nowrap {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
}

.stock-text.ds-stock-status {
  display: block;
  padding-top: 4px;
  margin-bottom: 8px;
  color: #1f2933;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
}

.stock__status.text-nowrap .ds-stock-status,
.stock-text.ds-stock-status .text-nowrap {
  white-space: normal !important;
}

.ds-stock-status__promise {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ds-stock-status__dot.in-stock,
.ds-stock-status__dot.in-stock2,
.ds-stock-status__dot.no-stock {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  vertical-align: middle;
}

.ds-stock-status--own .ds-stock-status__dot {
  background: #169b49;
}

.ds-stock-status--partner-no .ds-stock-status__dot,
.ds-stock-status--partner-eu .ds-stock-status__dot {
  background: #f2c94c;
}

.ds-stock-status--procurement .ds-stock-status__dot {
  background: #f2994a;
}

.ds-stock-status--sold-out .ds-stock-status__dot {
  background: #9aa4b2;
}

.ds-stock-status__title {
  min-width: 0;
  color: #1f2933;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ds-stock-status__reason {
  margin-top: 2px;
  padding-left: 16px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.ds-stock-status__express {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  margin-left: 16px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}

.supplier-choice-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.supplier-choice-badge--fastest {
  color: #b42318;
  background: #fff1f0;
  border: 1px solid #fecaca;
}

.supplier-choice.is-stock-unavailable {
  cursor: not-allowed;
  opacity: 0.55;
}
