.forgebundle-cart-pack {
  --forgebundle-accent: #dc1962;
  --forgebundle-ink: #17191c;
  --forgebundle-muted: #66717c;
  border-left: 3px solid var(--forgebundle-accent);
  color: var(--forgebundle-ink);
  margin: .65rem 0 .25rem;
  padding: .15rem 0 .15rem .85rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.forgebundle-cart-pack__identity,
.forgebundle-cart-pack__footer,
.forgebundle-cart-pack__prices,
.forgebundle-cart-pack__actions {
  display: flex;
}

.forgebundle-cart-pack__identity {
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .7rem;
}

.forgebundle-cart-pack__badge {
  background: #fff0f5;
  border: 1px solid #f4a4c2;
  border-radius: 999px;
  color: #9e1248;
  font-size: .75rem;
  font-weight: 700;
  padding: .22rem .6rem;
}

.forgebundle-cart-pack__count {
  font-size: .82rem;
}

.forgebundle-cart-pack__contains {
  color: var(--forgebundle-muted);
  font-size: .79rem;
  font-weight: 600;
  margin: .7rem 0 .35rem;
}

.forgebundle-cart-pack__products {
  display: grid;
  gap: .4rem;
  list-style: none;
  margin: .4rem 0 .7rem;
  padding: 0;
}

.forgebundle-cart-pack__products li {
  align-items: center;
  display: flex;
  gap: .55rem;
  min-width: 0;
}

.forgebundle-cart-pack__products img,
.forgebundle-cart-pack__image-placeholder {
  background: #fff;
  border: 1px solid #e6e8ea;
  border-radius: 6px;
  flex: 0 0 36px;
  height: 36px;
  object-fit: contain;
  width: 36px;
}

.forgebundle-cart-pack__image-placeholder {
  align-items: center;
  background: #f4f5f6;
  display: inline-flex;
  justify-content: center;
}

.forgebundle-cart-pack__image-placeholder::before {
  color: #8a9299;
  content: "□";
  font-size: 1rem;
}

.forgebundle-cart-pack__products span,
.forgebundle-cart-pack__products strong,
.forgebundle-cart-pack__products small {
  display: block;
  min-width: 0;
}

.forgebundle-cart-pack__products .forgebundle-cart-pack__impact {
  color: var(--forgebundle-muted);
  font-weight: 650;
}

.forgebundle-cart-pack__products .forgebundle-cart-pack__impact.is-positive {
  color: #8f4f00;
}

.forgebundle-cart-pack__products .forgebundle-cart-pack__impact.is-negative {
  color: #1d6a3c;
}

.forgebundle-cart-pack__products .forgebundle-cart-pack__availability {
  color: #a23328;
  font-weight: 700;
}

.forgebundle-cart-pack__products strong {
  font-size: .83rem;
  line-height: 1.2;
}

.forgebundle-cart-pack__products small {
  color: var(--forgebundle-muted);
  font-size: .74rem;
  margin-top: .1rem;
}

.forgebundle-cart-pack__details summary {
  color: var(--forgebundle-accent);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  margin: .65rem 0;
  min-height: 44px;
  padding: .65rem 0;
}

.forgebundle-cart-pack__details [data-forgebundle-cart-hide-products] {
  display: none;
}

.forgebundle-cart-pack__details[open] [data-forgebundle-cart-show-products] {
  display: none;
}

.forgebundle-cart-pack__details[open] [data-forgebundle-cart-hide-products] {
  display: inline;
}

.forgebundle-cart-pack__details summary:focus-visible,
.forgebundle-cart-pack__modify:focus-visible,
.forgebundle-cart-pack__remove:focus-visible {
  outline: 2px solid var(--forgebundle-accent);
  outline-offset: 3px;
}

.forgebundle-cart-pack__footer {
  align-items: flex-end;
  gap: 1rem;
  justify-content: space-between;
  margin-top: .65rem;
}

.forgebundle-cart-pack__actions,
.forgebundle-cart-pack__prices {
  align-items: flex-start;
  flex-direction: column;
  gap: .18rem;
}

.forgebundle-cart-pack__modify {
  align-items: center;
  color: var(--forgebundle-accent);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 750;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.forgebundle-cart-pack__remove {
  align-items: center;
  color: var(--forgebundle-muted) !important;
  display: inline-flex;
  font-size: .76rem;
  min-height: 44px;
  text-decoration: none;
}

.forgebundle-cart-pack__prices {
  align-items: flex-end;
  font-size: .81rem;
  white-space: nowrap;
}

.forgebundle-cart-pack__prices strong {
  font-size: .92rem;
}

.forgebundle-cart-pack__saving {
  background: #edf9f1;
  border-radius: 6px;
  color: #1d6a3c;
  display: flex;
  flex-wrap: wrap;
  font-size: .76rem;
  gap: .25rem .65rem;
  margin-top: .7rem;
  padding: .48rem .6rem;
}

.forgebundle-cart-quantity-label {
  color: var(--forgebundle-muted, #66717c);
  display: block;
  font-size: .72rem;
  font-weight: 650;
  margin-bottom: .25rem;
  text-align: center;
}

.forgebundle-cart-native-hidden {
  display: none !important;
}

.forgebundle-cart-line .bootstrap-touchspin-down,
.forgebundle-cart-line .bootstrap-touchspin-up,
.forgebundle-cart-line [data-link-action="decrease-product-quantity"],
.forgebundle-cart-line [data-link-action="increase-product-quantity"] {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 767px) {
  .forgebundle-cart-pack__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .forgebundle-cart-pack__prices {
    align-items: flex-start;
  }

  .forgebundle-cart-pack__products li {
    align-items: flex-start;
  }
}
