.forgebundle-configurator {
  --forgebundle-accent: var(--theme-primary-color, var(--bs-primary, #167d70));
  --forgebundle-accent-strong: #0d5f55;
  --forgebundle-accent-soft: #eaf8f4;
  --forgebundle-ink: var(--body-color, #17222b);
  --forgebundle-muted: #63727d;
  --forgebundle-surface: var(--body-bg, #fff);
  --forgebundle-surface-muted: #f6f8f9;
  --forgebundle-border: #dce5e8;
  --forgebundle-danger: #b42318;
  --forgebundle-danger-soft: #fff0ef;
  --forgebundle-warning: #9a5a0a;
  --forgebundle-shadow: 0 1.25rem 3rem rgba(25, 48, 59, .1);
  --forgebundle-detected-header-offset: 1rem;
  width: 100%;
  margin: clamp(2rem, 5vw, 4rem) 0;
  color: var(--forgebundle-ink);
  font: inherit;
}

.forgebundle-configurator *,
.forgebundle-configurator *::before,
.forgebundle-configurator *::after {
  box-sizing: border-box;
}

.forgebundle-configurator button,
.forgebundle-configurator input {
  font: inherit;
}

.forgebundle-configurator__shell {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.forgebundle-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.forgebundle-configurator__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.forgebundle-configurator__eyebrow,
.forgebundle-summary__eyebrow {
  margin: 0 0 .4rem;
  color: var(--forgebundle-accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.forgebundle-configurator__title {
  margin: 0;
  color: var(--forgebundle-ink);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.forgebundle-configurator__title:focus {
  outline: none;
}

.forgebundle-configurator__intro {
  max-width: 46rem;
  margin: .65rem 0 0;
  color: var(--forgebundle-muted);
  font-size: .98rem;
  line-height: 1.55;
}

.forgebundle-progress {
  display: grid;
  gap: .55rem;
}

.forgebundle-progress strong {
  color: var(--forgebundle-ink);
  font-size: .86rem;
}

.forgebundle-progress__track {
  height: .55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edef;
}

.forgebundle-progress__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--forgebundle-accent);
  transition: width .25s ease;
}

.forgebundle-configurator__preview {
  margin: 0 0 1.25rem;
  padding: .75rem 1rem;
  border-left: 3px solid #3582a6;
  background: #f0f8fc;
  color: #28566d;
  font-size: .84rem;
}

.forgebundle-configurator__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(18rem, 3fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.forgebundle-configurator__components {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.forgebundle-component {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--forgebundle-border);
  border-radius: 1rem;
  background: var(--forgebundle-surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.forgebundle-component.is-incomplete {
  border-color: #e8b6b2;
}

.forgebundle-component.is-complete {
  border-color: #b9ddd4;
}

.forgebundle-component:focus-within {
  box-shadow: 0 0 0 3px rgba(21, 122, 110, 0.16);
}

.forgebundle-component__toggle {
  display: grid;
  width: 100%;
  min-height: 5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.forgebundle-component__toggle:focus-visible,
.forgebundle-choice__input:focus-visible + .forgebundle-choice__visual,
.forgebundle-action:focus-visible,
.forgebundle-summary__modify:focus-visible,
.forgebundle-summary__close:focus-visible,
.forgebundle-summary__reset:focus-visible,
.forgebundle-quantity button:focus-visible,
.forgebundle-mobile-bar__summary:focus-visible {
  outline: 3px solid rgba(21, 122, 110, 0.35);
  outline-offset: 2px;
}

.forgebundle-component__step {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 50%;
  background: var(--forgebundle-accent-soft);
  color: var(--forgebundle-accent-strong);
  font-size: .82rem;
  font-weight: 850;
}

.forgebundle-component__heading-text,
.forgebundle-component__title,
.forgebundle-component__rule,
.forgebundle-component__selection {
  display: block;
  min-width: 0;
}

.forgebundle-component__title {
  font-size: 1.04rem;
  line-height: 1.3;
}

.forgebundle-component__rule,
.forgebundle-component__selection {
  margin-top: .16rem;
  color: var(--forgebundle-muted);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.4;
}

.forgebundle-component__selection:empty {
  display: none;
}

.forgebundle-component__heading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  justify-content: flex-end;
}

.forgebundle-component__state,
.forgebundle-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: #eef2f3;
  color: #51616a;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.1;
}

.forgebundle-component__state[data-state='complete'] {
  background: var(--forgebundle-accent-soft);
  color: var(--forgebundle-accent-strong);
}

.forgebundle-component__state[data-state='incomplete'] {
  background: var(--forgebundle-danger-soft);
  color: var(--forgebundle-danger);
}

.forgebundle-component__chevron {
  width: .6rem;
  height: .6rem;
  margin-left: .25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.forgebundle-component.is-collapsed .forgebundle-component__chevron {
  transform: rotate(-45deg);
}

.forgebundle-badge--required {
  background: #fff1e8;
  color: #91450c;
}

.forgebundle-badge--optional,
.forgebundle-badge--recommended {
  background: var(--forgebundle-accent-soft);
  color: var(--forgebundle-accent-strong);
}

.forgebundle-badge--unavailable {
  background: var(--forgebundle-danger-soft);
  color: var(--forgebundle-danger);
}

.forgebundle-component__panel {
  padding: 0 1.1rem 1.1rem;
}

.forgebundle-component__panel[hidden] {
  display: none;
}

.forgebundle-component__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.forgebundle-choice {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 18rem;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--forgebundle-border);
  border-radius: .85rem;
  background: var(--forgebundle-surface);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.forgebundle-choice:hover:not(.is-unavailable):not(.is-limit-disabled) {
  border-color: var(--forgebundle-accent);
  box-shadow: 0 .7rem 1.5rem rgba(25, 48, 59, .09);
  transform: translateY(-2px);
}

.forgebundle-choice.is-selected {
  border-color: var(--forgebundle-accent);
  box-shadow: 0 0 0 2px var(--forgebundle-accent);
}

.forgebundle-choice.is-unavailable,
.forgebundle-choice.is-limit-disabled {
  background: var(--forgebundle-surface-muted);
  color: var(--forgebundle-muted);
  cursor: not-allowed;
  opacity: .72;
}

.forgebundle-choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.forgebundle-choice__visual {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  background: var(--forgebundle-surface-muted);
}

.forgebundle-choice__visual img {
  width: 100%;
  height: 100%;
  padding: .65rem;
  object-fit: contain;
}

.forgebundle-choice__placeholder {
  color: #8ba19d;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.forgebundle-choice__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: .85rem;
}

.forgebundle-choice__badges {
  display: flex;
  min-height: 1.6rem;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .45rem;
}

.forgebundle-choice__name,
.forgebundle-choice__variant,
.forgebundle-choice__availability,
.forgebundle-choice__price {
  display: block;
}

.forgebundle-choice__name {
  color: var(--forgebundle-ink);
  font-size: .93rem;
  line-height: 1.35;
}

.forgebundle-choice__variant {
  margin-top: .2rem;
  color: var(--forgebundle-muted);
  font-size: .78rem;
  line-height: 1.4;
}

.forgebundle-choice__availability {
  margin-top: .6rem;
  color: var(--forgebundle-accent-strong);
  font-size: .75rem;
  font-weight: 750;
}

.forgebundle-choice.is-unavailable .forgebundle-choice__availability {
  color: var(--forgebundle-danger);
}

.forgebundle-choice__price {
  margin-top: auto;
  padding-top: .75rem;
  color: var(--forgebundle-ink);
  font-size: .9rem;
  font-weight: 850;
}

.forgebundle-choice__selected {
  position: absolute;
  top: .55rem;
  right: .55rem;
  display: none;
  padding: .3rem .55rem;
  border-radius: 999px;
  background: var(--forgebundle-accent);
  color: #fff;
  font-size: .67rem;
  font-weight: 850;
  box-shadow: 0 .25rem .65rem rgba(0, 0, 0, .15);
}

.forgebundle-choice.is-selected .forgebundle-choice__selected {
  display: inline-flex;
}

.forgebundle-choice--empty {
  min-height: 8rem;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
}

.forgebundle-choice--empty .forgebundle-choice__body {
  flex: initial;
  padding: 0;
}

.forgebundle-choice--empty .forgebundle-choice__body span {
  margin-top: .2rem;
  color: var(--forgebundle-muted);
  font-size: .75rem;
}

.forgebundle-choice__empty-icon {
  display: grid;
  flex: 0 0 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  margin-right: .75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--forgebundle-surface-muted);
  color: var(--forgebundle-muted);
  font-size: 1.2rem;
}

.forgebundle-quantity {
  display: inline-grid;
  grid-template-columns: 2.75rem 3.25rem 2.75rem;
  margin-top: .8rem;
  overflow: hidden;
  border: 1px solid var(--forgebundle-border);
  border-radius: .6rem;
  background: var(--forgebundle-surface);
}

.forgebundle-quantity button,
.forgebundle-quantity input {
  min-width: 0;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--forgebundle-ink);
  text-align: center;
}

.forgebundle-quantity button {
  font-size: 1.05rem;
  cursor: pointer;
}

.forgebundle-quantity button:hover {
  background: var(--forgebundle-accent-soft);
}

.forgebundle-quantity input {
  border-inline: 1px solid var(--forgebundle-border);
  appearance: textfield;
}

.forgebundle-quantity input::-webkit-inner-spin-button,
.forgebundle-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.forgebundle-component__feedback {
  margin: .75rem 0 0;
  color: var(--forgebundle-danger);
  font-size: .8rem;
}

.forgebundle-component__feedback:empty {
  display: none;
}

.forgebundle-summary {
  position: sticky;
  top: var(
    --forgebundle-summary-sticky-offset,
    var(--forgebundle-detected-header-offset, 1rem)
  );
  max-height: calc(
    100vh
    - var(
      --forgebundle-summary-sticky-offset,
      var(--forgebundle-detected-header-offset, 1rem)
    )
    - 1rem
  );
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: 1rem;
  background: var(--forgebundle-surface);
  box-shadow: var(--forgebundle-shadow);
}

.forgebundle-summary__header,
.forgebundle-summary__component > div,
.forgebundle-summary__price {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.forgebundle-summary__header h3 {
  margin: 0;
  color: var(--forgebundle-ink);
  font-size: 1.05rem;
}

.forgebundle-summary__close {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--forgebundle-surface-muted);
  color: var(--forgebundle-ink);
  font-size: 1.4rem;
}

.forgebundle-summary__components {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.forgebundle-summary__component {
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--forgebundle-border);
}

.forgebundle-summary__component strong {
  font-size: .8rem;
}

.forgebundle-summary__component ul {
  display: grid;
  gap: .2rem;
  margin: .35rem 0 0;
  padding: 0;
  color: var(--forgebundle-muted);
  font-size: .75rem;
  line-height: 1.35;
  list-style: none;
}

.forgebundle-summary__modify {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forgebundle-accent-strong);
  font-size: .72rem;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.forgebundle-summary__price {
  align-items: baseline;
  margin-top: 1rem;
}

.forgebundle-summary__price span {
  color: var(--forgebundle-muted);
  font-size: .82rem;
}

.forgebundle-summary__price strong {
  color: var(--forgebundle-ink);
  font-size: 1.45rem;
}

.forgebundle-summary__difference {
  margin: .3rem 0 0;
  color: var(--forgebundle-accent-strong);
  font-size: .76rem;
  font-weight: 750;
  text-align: right;
}

.forgebundle-summary__difference[data-state='surcharge'] {
  color: var(--forgebundle-warning);
}

.forgebundle-summary__details {
  margin: .9rem 0;
  color: var(--forgebundle-muted);
  font-size: .75rem;
}

.forgebundle-summary__details summary {
  min-height: 2.2rem;
  color: var(--forgebundle-ink);
  font-weight: 750;
  cursor: pointer;
}

.forgebundle-summary__details span {
  display: block;
  margin-top: .25rem;
}

.forgebundle-summary__status {
  margin: 0 0 .75rem;
  padding: .65rem .75rem;
  border-radius: .6rem;
  background: var(--forgebundle-danger-soft);
  color: var(--forgebundle-danger);
  font-size: .78rem;
  font-weight: 750;
}

.forgebundle-summary__status:empty {
  display: none;
}

.forgebundle-action {
  display: inline-flex;
  width: 100%;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border: 1px solid var(--forgebundle-accent);
  border-radius: .7rem;
  background: var(--forgebundle-accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

.forgebundle-action:hover:not(:disabled) {
  filter: brightness(.92);
  transform: translateY(-1px);
}

.forgebundle-action:disabled {
  border-color: #b8c2c7;
  background: #b8c2c7;
  cursor: not-allowed;
}

.forgebundle-summary__feedback {
  margin: .65rem 0 0;
  color: var(--forgebundle-muted);
  font-size: .78rem;
  text-align: center;
}

.forgebundle-summary__feedback[data-state='success'] {
  color: var(--forgebundle-accent-strong);
}

.forgebundle-summary__feedback[data-state='error'] {
  color: var(--forgebundle-danger);
}

.forgebundle-mobile-bar,
.forgebundle-summary-backdrop {
  display: none;
}

@media (max-width: 991px) {
  .forgebundle-configurator__layout {
    grid-template-columns: 1fr;
  }

  .forgebundle-summary {
    position: static;
  }

  .forgebundle-component__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .forgebundle-configurator {
    margin-bottom: 6.5rem;
  }

  .forgebundle-configurator__shell {
    width: min(100% - 1.25rem, 1280px);
  }

  .forgebundle-configurator__header {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .forgebundle-component__toggle {
    grid-template-columns: auto minmax(0, 1fr);
    padding: .9rem;
  }

  .forgebundle-component__heading-meta {
    grid-column: 2;
    justify-content: flex-start;
  }

  .forgebundle-component__panel {
    padding: 0 .9rem .9rem;
  }

  .forgebundle-component__choices {
    grid-template-columns: 1fr;
  }

  .forgebundle-choice {
    min-height: 0;
    flex-direction: row;
    align-items: stretch;
  }

  .forgebundle-choice__visual {
    flex: 0 0 7rem;
    width: 7rem;
    aspect-ratio: auto;
  }

  .forgebundle-choice__badges {
    padding-right: 4.5rem;
  }

  .forgebundle-choice--empty {
    min-height: 7rem;
  }

  .forgebundle-summary {
    position: fixed;
    z-index: 10050;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(86vh, 48rem);
    overflow: auto;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -1rem 3rem rgba(19, 35, 43, .22);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform .22s ease, visibility .22s ease;
  }

  .forgebundle-summary.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .forgebundle-summary__close {
    display: inline-grid;
    place-items: center;
  }

  .forgebundle-summary-backdrop:not([hidden]) {
    position: fixed;
    z-index: 10040;
    inset: 0;
    display: block;
    background: rgba(13, 28, 35, .5);
  }

  .forgebundle-mobile-bar {
    position: fixed;
    z-index: 10030;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 1fr);
    gap: .65rem;
    padding: .65rem max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
    border-top: 1px solid var(--forgebundle-border);
    background: var(--forgebundle-surface);
    box-shadow: 0 -.6rem 1.8rem rgba(24, 43, 52, .12);
  }

  .forgebundle-mobile-bar__summary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: .25rem .35rem;
    border: 0;
    background: transparent;
    color: var(--forgebundle-ink);
    text-align: left;
  }

  .forgebundle-mobile-bar__summary span {
    max-width: 100%;
    overflow: hidden;
    color: var(--forgebundle-muted);
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .forgebundle-mobile-bar__summary strong {
    margin-top: .1rem;
    font-size: 1rem;
  }

  .forgebundle-mobile-bar .forgebundle-action {
    min-height: 3rem;
    font-size: .8rem;
  }

  .forgebundle-summary-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .forgebundle-configurator *,
  .forgebundle-configurator *::before,
  .forgebundle-configurator *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .forgebundle-choice.is-selected,
  .forgebundle-component,
  .forgebundle-summary {
    border: 2px solid CanvasText;
  }
}

/* Alpha50 storefront polish: compact imposed products, uniform cards and a legible purchase summary. */
.forgebundle-progress__help {
  min-height: 1.1rem;
  color: var(--forgebundle-muted);
  font-size: .76rem;
  line-height: 1.35;
}

.forgebundle-component--fixed {
  padding: 1rem 1.1rem;
  border-color: #cfe3de;
  background: linear-gradient(135deg, #fbfefd 0%, var(--forgebundle-accent-soft) 100%);
}

.forgebundle-component--fixed > h3 {
  margin: 0 0 .7rem;
  color: var(--forgebundle-accent-strong);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.forgebundle-fixed-products {
  display: grid;
  gap: .55rem;
}

.forgebundle-fixed-product {
  display: grid;
  min-width: 0;
  grid-template-columns: 3.6rem minmax(0, 1fr) auto auto;
  gap: .8rem;
  align-items: center;
  padding: .55rem .7rem;
  border: 1px solid rgba(13, 95, 85, .13);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .88);
}

.forgebundle-fixed-product__image,
.forgebundle-summary__thumbnail {
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--forgebundle-border);
  border-radius: .55rem;
  background: #fff;
}

.forgebundle-fixed-product__image {
  width: 3.6rem;
  height: 3.6rem;
}

.forgebundle-fixed-product__image img,
.forgebundle-summary__thumbnail[src] {
  width: 100%;
  height: 100%;
  padding: .25rem;
  object-fit: contain;
}

.forgebundle-product-placeholder,
.forgebundle-summary__thumbnail:not([src]) {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 2px solid #9aabae;
  border-radius: .35rem;
}

.forgebundle-product-placeholder::after,
.forgebundle-summary__thumbnail:not([src])::after {
  position: absolute;
  right: .28rem;
  bottom: .28rem;
  left: .28rem;
  height: .7rem;
  border-radius: .2rem;
  background: #cbd7d9;
  content: '';
  clip-path: polygon(0 100%, 38% 30%, 58% 68%, 76% 45%, 100% 100%);
}

.forgebundle-fixed-product__identity {
  display: grid;
  min-width: 0;
  gap: .15rem;
}

.forgebundle-fixed-product__identity strong {
  overflow: hidden;
  color: var(--forgebundle-ink);
  font-size: .88rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forgebundle-fixed-product__identity span,
.forgebundle-fixed-product__quantity {
  color: var(--forgebundle-muted);
  font-size: .74rem;
}

.forgebundle-fixed-product__included {
  color: var(--forgebundle-accent-strong);
  font-size: .76rem;
}

.forgebundle-fixed-product.is-unavailable {
  border-color: #e4cecc;
  background: var(--forgebundle-danger-soft);
}

.forgebundle-fixed-product.is-unavailable .forgebundle-fixed-product__included {
  color: var(--forgebundle-danger);
}

.forgebundle-component__choices {
  align-items: stretch;
}

.forgebundle-choice {
  min-height: 0;
}

.forgebundle-choice__visual {
  height: 12rem;
  aspect-ratio: auto;
}

.forgebundle-choice__badges:empty {
  display: none;
}

.forgebundle-choice__name {
  display: -webkit-box;
  min-height: 2.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.forgebundle-choice__availability.is-low-stock {
  color: var(--forgebundle-warning);
}

.forgebundle-choice--empty {
  width: 100%;
  min-height: 0;
  margin-bottom: .85rem;
  padding: .75rem .9rem;
  border-style: dashed;
  background: var(--forgebundle-surface-muted);
}

.forgebundle-choice--empty.is-selected {
  border-style: solid;
  background: var(--forgebundle-accent-soft);
}

.forgebundle-choice__radio {
  display: block;
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: .7rem;
  border: 2px solid #8ba19d;
  border-radius: 50%;
  background: #fff;
}

.forgebundle-choice--empty.is-selected .forgebundle-choice__radio {
  border: .32rem solid var(--forgebundle-accent);
}

.forgebundle-choice--empty .forgebundle-choice__selected {
  position: static;
  margin-left: auto;
  box-shadow: none;
}

.forgebundle-choice__details {
  width: 100%;
  margin-top: .55rem;
  color: var(--forgebundle-muted);
  font-size: .72rem;
}

.forgebundle-choice__details summary {
  color: var(--forgebundle-accent-strong);
  font-weight: 750;
  cursor: pointer;
}

.forgebundle-choice__details span {
  display: block;
  margin-top: .35rem;
  line-height: 1.4;
}

.forgebundle-unavailable {
  margin-top: .85rem;
  padding-top: .15rem;
  border-top: 1px solid var(--forgebundle-border);
}

.forgebundle-unavailable > summary {
  width: fit-content;
  padding: .65rem 0;
  color: var(--forgebundle-muted);
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}

.forgebundle-unavailable[open] > summary {
  color: var(--forgebundle-ink);
}

.forgebundle-unavailable .forgebundle-component__choices {
  margin-top: .35rem;
}

.forgebundle-summary__product {
  display: grid;
  min-width: 0;
  grid-template-columns: 2.8rem minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .2rem 0;
}

.forgebundle-summary__thumbnail {
  width: 2.8rem;
  height: 2.8rem;
}

.forgebundle-summary__thumbnail:not([src]) {
  width: 2rem;
  height: 2rem;
  margin: .4rem;
}

.forgebundle-summary__identity {
  display: grid;
  min-width: 0;
  gap: .08rem;
}

.forgebundle-summary__identity strong {
  overflow: hidden;
  color: var(--forgebundle-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forgebundle-summary__identity span {
  color: var(--forgebundle-muted);
  font-size: .7rem;
}

.forgebundle-summary__impact {
  color: var(--forgebundle-ink);
  font-size: .72rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.forgebundle-summary__breakdown,
.forgebundle-native-price-breakdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem .8rem;
  align-items: baseline;
  padding-top: .85rem;
  border-top: 1px solid var(--forgebundle-border);
}

.forgebundle-summary__breakdown span,
.forgebundle-native-price-breakdown span {
  color: var(--forgebundle-muted);
  font-size: .76rem;
}

.forgebundle-summary__breakdown strong,
.forgebundle-native-price-breakdown strong {
  color: var(--forgebundle-ink);
  font-size: .8rem;
  text-align: right;
}

.forgebundle-summary__total-label,
.forgebundle-summary__total {
  margin-top: .35rem;
  padding-top: .55rem;
  border-top: 1px solid var(--forgebundle-border);
}

.forgebundle-summary__breakdown .forgebundle-summary__total-label {
  color: var(--forgebundle-ink);
  font-size: .9rem;
  font-weight: 850;
}

.forgebundle-summary__breakdown .forgebundle-summary__total {
  color: var(--forgebundle-ink);
  font-size: 1.45rem;
}

.forgebundle-summary__comparison {
  margin: .18rem 0 .7rem;
  color: var(--forgebundle-muted);
  font-size: .67rem;
  text-align: right;
}

.forgebundle-summary__availability {
  margin: .75rem 0 .35rem;
  padding: .65rem .75rem;
  border-radius: .6rem;
  background: var(--forgebundle-accent-soft);
  color: var(--forgebundle-accent-strong);
  font-size: .8rem;
  font-weight: 800;
}

.forgebundle-summary__purchase {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  align-items: end;
}

.forgebundle-pack-quantity {
  display: grid;
  gap: .3rem;
  color: var(--forgebundle-muted);
  font-size: .7rem;
  font-weight: 700;
}

.forgebundle-pack-quantity .forgebundle-quantity {
  grid-template-columns: 2.45rem 2.75rem 2.45rem;
  margin-top: 0;
}

.forgebundle-pack-quantity .forgebundle-quantity button,
.forgebundle-pack-quantity .forgebundle-quantity input {
  min-height: 3.15rem;
}

.forgebundle-summary__reset {
  display: block;
  margin: .75rem auto 0;
  padding: .25rem;
  border: 0;
  background: transparent;
  color: var(--forgebundle-muted);
  font-size: .72rem;
  text-decoration: underline;
  cursor: pointer;
}

.forgebundle-native-price-breakdown {
  width: min(100%, 25rem);
  margin-top: .55rem;
  padding: .65rem .75rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: .6rem;
  background: #fff;
}

.forgebundle-native-price-breakdown strong:last-child {
  color: var(--forgebundle-accent-strong);
  font-size: .95rem;
}

@media (max-width: 991px) {
  .forgebundle-configurator {
    margin-bottom: 7rem;
  }

  .forgebundle-configurator__header,
  .forgebundle-configurator__layout {
    grid-template-columns: 1fr;
  }

  .forgebundle-component__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forgebundle-summary {
    position: fixed;
    z-index: 10050;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(86vh, 48rem);
    overflow: auto;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -1rem 3rem rgba(19, 35, 43, .22);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform .22s ease, visibility .22s ease;
  }

  .forgebundle-summary.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .forgebundle-summary__close {
    display: inline-grid;
    place-items: center;
  }

  .forgebundle-summary-backdrop:not([hidden]) {
    position: fixed;
    z-index: 10040;
    inset: 0;
    display: block;
    background: rgba(13, 28, 35, .5);
  }

  .forgebundle-mobile-bar {
    position: fixed;
    z-index: 10030;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: auto minmax(6.8rem, .7fr) minmax(8rem, 1fr);
    gap: .5rem;
    align-items: center;
    padding: .65rem max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
    border-top: 1px solid var(--forgebundle-border);
    background: var(--forgebundle-surface);
    box-shadow: 0 -.6rem 1.8rem rgba(24, 43, 52, .12);
  }

  .forgebundle-mobile-bar > strong {
    color: var(--forgebundle-ink);
    font-size: 1rem;
    white-space: nowrap;
  }

  .forgebundle-mobile-bar__summary {
    min-height: 2.8rem;
    padding: .45rem .55rem;
    border: 1px solid var(--forgebundle-border);
    border-radius: .6rem;
    background: #fff;
    color: var(--forgebundle-ink);
    font-size: .75rem;
    font-weight: 750;
    text-align: center;
  }

  .forgebundle-mobile-bar .forgebundle-action {
    min-height: 2.8rem;
    padding: .5rem;
    font-size: .76rem;
  }

  .forgebundle-summary-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .forgebundle-component__choices {
    grid-template-columns: 1fr;
  }

  .forgebundle-fixed-product {
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  }

  .forgebundle-fixed-product__image {
    width: 3.2rem;
    height: 3.2rem;
  }

  .forgebundle-fixed-product__quantity {
    grid-column: 2;
  }

  .forgebundle-fixed-product__included {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .forgebundle-summary__purchase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .forgebundle-mobile-bar {
    grid-template-columns: auto minmax(5.2rem, .7fr) minmax(6.6rem, 1fr);
  }

  .forgebundle-mobile-bar > strong {
    font-size: .88rem;
  }

  .forgebundle-mobile-bar__summary,
  .forgebundle-mobile-bar .forgebundle-action {
    padding-inline: .35rem;
    font-size: .68rem;
  }
}
