/**
 * Forge Labs Bundle Builder.
 *
 * @author Forge Labs
 * @copyright Forge Labs
 * @license Proprietary
 */

.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;
  }
}

.forgebundle-compose-entry {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin: .8rem 0 1rem;
  padding: .7rem 1.15rem;
  border: 1px solid var(--forgebundle-accent, var(--theme-primary-color, #0b8f83));
  border-radius: .7rem;
  background: var(--forgebundle-accent, var(--theme-primary-color, #0b8f83));
  color: #fff;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 .45rem 1rem rgba(25, 48, 59, .12);
}

.forgebundle-compose-entry:hover,
.forgebundle-compose-entry:focus-visible {
  color: #fff;
  filter: brightness(.94);
}

.is-forgebundle-native-gallery-hidden {
  display: none !important;
}

.forgebundle-configuration-gallery {
  width: 100%;
  margin-bottom: 1rem;
}

.forgebundle-configuration-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: .5rem;
  background: #fff;
}

.forgebundle-configuration-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Theme styles are loaded after module styles on some Hummingbird builds.
 * Keep configuration and choice media fully visible instead of allowing a
 * theme-level cover rule to crop bottles, jars or landscape compositions. */
.forgebundle-configurator .forgebundle-choice__visual img,
.forgebundle-configurator .forgebundle-configuration-gallery__main,
.forgebundle-configurator .forgebundle-configuration-gallery__thumbnail img,
.forgebundle-configurator .forgebundle-summary__gallery-fallback {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: scale-down !important;
  object-position: center center !important;
}

.is-forgebundle-dynamically-available .is-forgebundle-native-stock-hidden {
  display: none !important;
}

body.is-forgebundle-product-dynamically-available #kb_subscribe_form_back,
body.is-forgebundle-product-dynamically-available .product_update_block_back.mv-bis-card {
  display: none !important;
}

.is-forgebundle-dynamically-available .forgebundle-has-configuration-image img,
.is-forgebundle-dynamically-available [data-product-cover] {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

.forgebundle-configuration-gallery__previous,
.forgebundle-configuration-gallery__next {
  position: absolute;
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(36, 55, 70, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #243746;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 .2rem .8rem rgba(24, 43, 52, .16);
  cursor: pointer;
}

.forgebundle-configuration-gallery__previous {
  left: .75rem;
}

.forgebundle-configuration-gallery__next {
  right: .75rem;
}

.forgebundle-configuration-gallery__thumbnails {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  margin-top: .75rem;
  padding: .15rem;
}

.forgebundle-configuration-gallery__thumbnail {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: .2rem;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: .45rem;
  background: #fff;
  cursor: pointer;
}

.forgebundle-configuration-gallery__thumbnail.is-active {
  border-color: var(--forgebundle-accent, #ff2f92);
}

.forgebundle-configuration-gallery__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FLUX-FO-CONFIG-001 — final responsive layout contract. */
.forgebundle-configurator.is-relocated {
  grid-column: 1 / -1;
  align-self: stretch;
  flex: 0 0 100%;
  min-width: 0;
  clear: both;
  width: 100%;
  max-width: none;
}

.forgebundle-configurator__shell {
  width: min(calc(100% - clamp(1rem, 3vw, 2rem)), 1440px);
}

.forgebundle-configurator__layout {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.forgebundle-configurator.is-relocated .forgebundle-configurator__layout {
  grid-template-columns: minmax(0, 30fr) minmax(0, 46fr) minmax(0, 24fr);
}

.forgebundle-preview {
  min-width: 0;
}

.forgebundle-preview__sticky {
  position: sticky;
  top: var(--forgebundle-detected-header-offset, 1rem);
  display: grid;
  max-height: calc(100vh - var(--forgebundle-detected-header-offset, 1rem) - 1rem);
  gap: .7rem;
  align-content: start;
  overflow: hidden auto;
  padding: .85rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: 1rem;
  background: var(--forgebundle-surface);
  box-shadow: 0 .7rem 2rem rgba(25, 48, 59, .08);
}

.forgebundle-preview__gallery {
  display: grid;
  min-height: 16rem;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: .8rem;
  background: var(--forgebundle-surface-muted);
}

.forgebundle-preview__fallback,
.forgebundle-preview__gallery > .forgebundle-product-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.forgebundle-preview__gallery .forgebundle-configuration-gallery {
  margin: 0;
}

.forgebundle-preview__gallery .forgebundle-configuration-gallery__stage {
  max-height: min(58vh, 32rem);
  border-radius: .8rem;
  background: var(--forgebundle-surface-muted);
}

.forgebundle-preview__gallery .forgebundle-configuration-gallery__thumbnail {
  flex-basis: 58px;
  width: 58px;
  height: 58px;
}

.forgebundle-preview__availability {
  min-height: 1.25rem;
  margin: 0;
  color: var(--forgebundle-accent-strong);
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
}

.forgebundle-configurator__components {
  position: relative;
}

.forgebundle-configurator__loader {
  position: sticky;
  z-index: 5;
  top: var(--forgebundle-detected-header-offset, 1rem);
  display: flex;
  min-height: 2.75rem;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid #b8dce3;
  border-radius: .7rem;
  background: rgba(239, 250, 252, .96);
  color: #275d69;
  font-size: .78rem;
  font-weight: 750;
  box-shadow: 0 .35rem 1rem rgba(25, 48, 59, .08);
}

.forgebundle-configurator__loader[hidden] {
  display: none;
}

.forgebundle-configurator__loader > span {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: forgebundle-resolver-spin .7s linear infinite;
}

@keyframes forgebundle-resolver-spin {
  to { transform: rotate(360deg); }
}

.forgebundle-component__choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forgebundle-choice[hidden] {
  display: none !important;
}

.forgebundle-choice.is-unavailable .forgebundle-badge:not(.forgebundle-badge--unavailable),
.forgebundle-choice.is-unavailable .forgebundle-choice__selected {
  display: none !important;
}

.forgebundle-choice.is-unavailable {
  pointer-events: none;
}

.forgebundle-summary {
  top: var(--forgebundle-detected-header-offset, 1rem);
  max-height: calc(100vh - var(--forgebundle-detected-header-offset, 1rem) - 1rem);
}

@media (min-width: 1280px) {
  .forgebundle-configurator__header {
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  .forgebundle-configurator.is-relocated .forgebundle-configurator__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
  }

  .forgebundle-preview {
    grid-column: 1;
    grid-row: 1;
  }

  .forgebundle-preview__sticky {
    position: static;
    grid-template-columns: minmax(220px, 420px);
    max-height: none;
    justify-content: center;
    overflow: visible;
  }

  .forgebundle-preview__gallery {
    min-height: 14rem;
    max-width: 24rem;
  }

  .forgebundle-configurator__components {
    grid-column: 1;
    grid-row: 2;
  }

  .forgebundle-summary {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .forgebundle-component__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.forgebundle-configurator:not(.is-relocated) .forgebundle-preview__sticky,
.forgebundle-configurator:not(.is-relocated) .forgebundle-summary {
  position: static;
  max-height: none;
  overflow: visible;
}

@media (max-width: 991px) {
  .forgebundle-configurator__header,
  .forgebundle-configurator.is-relocated .forgebundle-configurator__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .forgebundle-preview,
  .forgebundle-configurator__components,
  .forgebundle-summary {
    grid-column: 1;
  }

  .forgebundle-preview__sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .forgebundle-preview__gallery {
    min-height: min(76vw, 26rem);
    max-height: 28rem;
  }

  .forgebundle-configurator__loader {
    top: .5rem;
  }

  .forgebundle-component__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forgebundle-choice,
  .forgebundle-component__toggle,
  .forgebundle-action,
  .forgebundle-mobile-bar button,
  .forgebundle-quantity button,
  .forgebundle-quantity input {
    min-height: 44px;
  }
}

@media (max-width: 639px) {
  .forgebundle-configurator__shell {
    width: min(calc(100% - 1rem), 1440px);
  }

  .forgebundle-configurator__header {
    gap: 1rem;
  }

  .forgebundle-component__choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .forgebundle-choice__visual {
    height: auto;
    min-height: 11rem;
    aspect-ratio: 4 / 3;
  }
}

/* The compact gallery band is moved outside the sticky summary when the
 * available viewport height cannot show the composition without scrolling.
 * Keep these overrides after the summary rules so the banner remains
 * horizontal and compact regardless of theme stylesheet order. */
.forgebundle-configurator .forgebundle-configuration-gallery-band .forgebundle-summary__gallery-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
}

.forgebundle-configurator .forgebundle-configuration-gallery-band .forgebundle-summary__gallery {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: auto;
  background: transparent;
}

.forgebundle-configurator .forgebundle-configuration-gallery-band .forgebundle-configuration-gallery {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 0;
}

.forgebundle-configurator .forgebundle-configuration-gallery-band .forgebundle-configuration-gallery__stage {
  width: 100%;
  height: clamp(8rem, 18vw, 11rem);
  max-height: 11rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.forgebundle-configurator .forgebundle-configuration-gallery-band .forgebundle-configuration-gallery__thumbnails {
  flex-wrap: nowrap;
  max-width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding-bottom: .2rem;
  overflow-x: auto;
  overflow-y: hidden;
}

/* FLUX-FO-CHOICES-001 — optional local filters and unambiguous attribute selectors. */
.forgebundle-choice-presentation {
  display: grid;
  gap: .85rem;
  margin: 0 0 1rem;
  padding: .9rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: .8rem;
  background: var(--forgebundle-surface-muted);
}

.forgebundle-choice-presentation[hidden] {
  display: none !important;
}

.forgebundle-choice-presentation__search input {
  width: 100%;
  min-height: 2.75rem;
  padding: .65rem .8rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: .55rem;
  background: var(--forgebundle-surface);
  color: var(--forgebundle-ink);
}

.forgebundle-choice-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.forgebundle-choice-filter legend {
  width: auto;
  margin: 0 0 .45rem;
  color: var(--forgebundle-ink);
  font-size: .82rem;
  font-weight: 800;
}

.forgebundle-choice-filter__options {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: .45rem;
}

.forgebundle-choice-filter__option,
.forgebundle-choice-presentation__reset {
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: 999px;
  background: var(--forgebundle-surface);
  color: var(--forgebundle-ink);
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.2;
}

.forgebundle-choice-filter__option span {
  display: inline-grid;
  min-width: 1.25rem;
  min-height: 1.25rem;
  place-items: center;
  margin-left: .4rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--forgebundle-surface-muted);
  font-size: .68rem;
}

.forgebundle-choice-filter__option[aria-pressed="true"] {
  border-color: var(--forgebundle-accent);
  background: var(--forgebundle-accent-soft);
  color: var(--forgebundle-accent-strong);
  box-shadow: 0 0 0 1px var(--forgebundle-accent);
}

.forgebundle-choice-filter__option:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.forgebundle-choice-filter__option:focus-visible,
.forgebundle-choice-presentation__reset:focus-visible,
.forgebundle-choice-presentation__search input:focus-visible {
  outline: 3px solid rgba(21, 122, 110, .35);
  outline-offset: 2px;
}

.forgebundle-choice-presentation__reset {
  width: fit-content;
  border-radius: .45rem;
  text-decoration: underline;
}

.forgebundle-choice-presentation__status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--forgebundle-muted);
  font-size: .78rem;
}

.forgebundle-component.is-presentation-attribute-selectors .forgebundle-choice-presentation {
  border-color: #b9ddd4;
  background: var(--forgebundle-accent-soft);
}

@media (max-width: 639px) {
  .forgebundle-choice-presentation {
    margin-inline: -.15rem;
    padding: .75rem;
  }

  .forgebundle-choice-filter__options {
    flex-wrap: nowrap;
    padding: .15rem .1rem .35rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .forgebundle-choice-filter__option {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .forgebundle-configurator__loader > span {
    animation-duration: 1.5s;
  }
}

/* FLUX-FO-PRODUCT-002 — two-zone premium product configurator. */
.forgebundle-configurator.is-relocated .forgebundle-configurator__layout {
  grid-template-columns: minmax(0, 68fr) minmax(19rem, 32fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.forgebundle-configurator__components {
  grid-column: 1;
  min-width: 0;
}

.forgebundle-configuration-gallery-band[hidden] {
  display: none;
}

.forgebundle-configuration-gallery-band {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 1rem;
  padding: .85rem;
  overflow: hidden;
  border: 1px solid var(--forgebundle-border);
  border-radius: 1rem;
  background: var(--forgebundle-surface);
}

.forgebundle-configuration-gallery-band .forgebundle-summary__gallery-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
}

.forgebundle-configuration-gallery-band .forgebundle-summary__gallery {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.forgebundle-configuration-gallery-band .forgebundle-configuration-gallery {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  height: auto;
}

.forgebundle-configuration-gallery-band .forgebundle-configuration-gallery__stage {
  width: 100%;
  height: 10rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.forgebundle-configuration-gallery-band .forgebundle-configuration-gallery__thumbnails {
  flex-wrap: nowrap;
  max-width: 100%;
  margin: 0;
  padding-bottom: .2rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.forgebundle-configuration-gallery-band .forgebundle-summary__enlarge {
  margin: 0;
  white-space: nowrap;
}

.forgebundle-summary {
  grid-column: 2;
  min-width: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
}

.forgebundle-summary__gallery {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  margin: 0 0 .45rem;
  aspect-ratio: 1 / 1;
  border-radius: .85rem;
  background: var(--forgebundle-surface-muted);
}

[data-configuration-gallery-home],
.forgebundle-summary__gallery-block {
  min-width: 0;
}

.forgebundle-summary__gallery-fallback,
.forgebundle-summary__gallery > .forgebundle-product-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.forgebundle-summary__gallery .forgebundle-configuration-gallery {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.forgebundle-summary__gallery .forgebundle-configuration-gallery__stage {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 1 / 1;
  background: var(--forgebundle-surface-muted);
}

body#product #main .forgebundle-configurator .forgebundle-summary__gallery .forgebundle-configuration-gallery__main,
body#product #wrapper .forgebundle-configurator .forgebundle-summary__gallery .forgebundle-configuration-gallery__main,
body#product .forgebundle-configurator .forgebundle-summary__gallery .forgebundle-configuration-gallery__main {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: auto !important;
  padding: .35rem !important;
  object-fit: scale-down !important;
  object-position: center center !important;
  transform: none !important;
}

.forgebundle-summary__gallery .forgebundle-configuration-gallery__thumbnail {
  flex-basis: 52px;
  width: 52px;
  height: 52px;
}

.forgebundle-summary__enlarge {
  display: block;
  min-height: 44px;
  margin: 0 auto .75rem;
  padding: .35rem .7rem;
  border: 0;
  background: transparent;
  color: var(--forgebundle-accent-strong);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.forgebundle-summary__purchase-mode {
  width: 100%;
  min-width: 0;
  max-height: min(36vh, 21rem);
  margin: 0 0 .8rem;
  padding: 0 0 .8rem;
  overflow-x: hidden;
  overflow-y: auto;
  border-bottom: 1px solid var(--forgebundle-border);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.forgebundle-summary__purchase-mode[hidden] {
  display: none;
}

.forgebundle-summary__purchase-mode h4 {
  margin: 0 0 .55rem;
  color: var(--forgebundle-ink);
  font-size: .82rem;
}

.forgebundle-summary__purchase-mode #add_to_cart_custom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .65rem !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.forgebundle-summary__purchase-mode #add_to_cart_custom .add-to-cart-btn,
.forgebundle-summary__purchase-mode #add_to_cart_custom #closeDialog {
  display: none !important;
}

.forgebundle-summary__purchase-mode #normal,
.forgebundle-summary__purchase-mode #recurring_options,
.forgebundle-summary__purchase-mode .option-card {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.forgebundle-summary__purchase-mode #recurring_options {
  padding: 0 !important;
  background: transparent !important;
}

.forgebundle-summary__purchase-mode .option-card label,
.forgebundle-summary__purchase-mode .option-card .content,
.forgebundle-summary__purchase-mode .psr-recurrence-panel,
.forgebundle-summary__purchase-mode .psr-recurrence-choices-buttons {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.forgebundle-summary__purchase-mode .option-card,
.forgebundle-summary__purchase-mode .option-card * {
  overflow-wrap: anywhere;
}

.forgebundle-summary__purchase-mode .psr-recurrence-choices-buttons {
  grid-template-columns: minmax(0, 1fr) !important;
}

.forgebundle-gallery-dialog {
  position: fixed;
  z-index: 10080;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 18, 23, .86);
}

.forgebundle-gallery-dialog[hidden] {
  display: none;
}

.forgebundle-gallery-dialog img {
  width: auto;
  max-width: min(92vw, 76rem);
  height: auto;
  max-height: 88vh;
  border-radius: .8rem;
  background: #fff;
  object-fit: contain;
}

.forgebundle-gallery-dialog__close {
  position: fixed;
  z-index: 1;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #17222b;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

.forgebundle-gallery-open {
  overflow: hidden;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .forgebundle-configurator.is-relocated .forgebundle-configurator__layout {
    grid-template-columns: minmax(0, 64fr) minmax(18rem, 36fr);
  }

  .forgebundle-component__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .forgebundle-configurator.is-relocated .forgebundle-configurator__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .forgebundle-configurator__components,
  .forgebundle-summary {
    grid-column: 1;
  }

  .forgebundle-summary {
    max-height: min(88vh, 52rem);
  }

  .forgebundle-summary__gallery {
    min-height: min(62vw, 22rem);
  }
}

@media (max-width: 639px) {
  .forgebundle-summary__gallery {
    min-height: min(72vw, 19rem);
  }
}

/* Child themes may load product-image rules after the module stylesheet.
 * Reset every sizing axis so a catalogue thumbnail remains fully visible
 * instead of being enlarged or cropped inside a landscape choice card. */
body#product #main .forgebundle-configurator .forgebundle-component .forgebundle-choice .forgebundle-choice__visual,
body#product #wrapper .forgebundle-configurator .forgebundle-component .forgebundle-choice .forgebundle-choice__visual,
body#product .forgebundle-configurator .forgebundle-component .forgebundle-choice .forgebundle-choice__visual {
  display: grid !important;
  place-items: center !important;
}

body#product #main .forgebundle-configurator .forgebundle-component .forgebundle-choice .forgebundle-choice__visual > img,
body#product #wrapper .forgebundle-configurator .forgebundle-component .forgebundle-choice .forgebundle-choice__visual > img,
body#product .forgebundle-configurator .forgebundle-component .forgebundle-choice .forgebundle-choice__visual > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: auto !important;
  padding: .65rem !important;
  object-fit: scale-down !important;
  object-position: center center !important;
  transform: none !important;
}

@media (min-width: 992px) {
  .forgebundle-configurator.is-relocated .forgebundle-summary {
    width: 100%;
    max-width: 100%;
    max-height: calc(
      100vh
      - var(
        --forgebundle-summary-sticky-offset,
        var(--forgebundle-detected-header-offset, 1rem)
      )
      - 1rem
    ) !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
  }
}

/* FLUX-FO-PRODUCT-003 — guided journey, compact choices and contained sticky summary. */
.forgebundle-configurator__header {
  position: relative;
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--forgebundle-border);
}

.forgebundle-configurator__header::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(3.5rem, 8vw, 6rem);
  height: 3px;
  border-radius: 999px;
  background: var(--forgebundle-accent);
  content: '';
}

.forgebundle-configurator__journey {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  margin: .75rem 0 0;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--forgebundle-accent-soft);
  color: var(--forgebundle-accent-strong);
  font-size: .76rem;
  font-weight: 800;
}

.forgebundle-choice {
  min-height: 0;
}

.forgebundle-choice.is-selected {
  border-color: var(--forgebundle-accent);
  background: linear-gradient(180deg, rgba(234, 248, 244, .58), var(--forgebundle-surface) 46%);
  box-shadow: 0 0 0 1px var(--forgebundle-accent);
}

.forgebundle-choice__variants {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .4rem;
}

.forgebundle-choice__variants > span {
  display: inline-flex;
  min-height: 1.55rem;
  align-items: center;
  padding: .2rem .5rem;
  border: 1px solid var(--forgebundle-border);
  border-radius: 999px;
  background: var(--forgebundle-surface-muted);
  color: var(--forgebundle-ink);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.15;
}

.forgebundle-choice.is-unavailable {
  border-color: var(--forgebundle-border);
  background: #f3f5f6;
  color: var(--forgebundle-muted);
  opacity: .76;
}

.forgebundle-choice.is-unavailable .forgebundle-choice__visual img {
  filter: grayscale(.62) saturate(.48);
}

.forgebundle-choice.is-unavailable .forgebundle-badge--unavailable,
.forgebundle-choice.is-unavailable .forgebundle-choice__availability {
  background: transparent;
  color: var(--forgebundle-muted);
}

.forgebundle-summary {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.forgebundle-summary__scroll {
  min-height: 0;
  padding: 1.15rem 1.15rem .7rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.forgebundle-summary__footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: .8rem 1.15rem 1.05rem;
  border-top: 1px solid var(--forgebundle-border);
  background: var(--forgebundle-surface);
  box-shadow: 0 -.65rem 1.25rem rgba(25, 48, 59, .06);
}

.forgebundle-summary__footer > * {
  min-width: 0;
}

.forgebundle-summary__gallery {
  display: block;
  overflow: visible;
  aspect-ratio: auto;
  background: transparent;
}

.forgebundle-summary__gallery .forgebundle-configuration-gallery {
  display: block;
  height: auto;
}

.forgebundle-summary__gallery .forgebundle-configuration-gallery__stage {
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: .85rem;
}

.forgebundle-summary__gallery .forgebundle-configuration-gallery__thumbnails {
  min-height: 3.25rem;
  margin-top: .45rem;
}

.forgebundle-summary__product {
  grid-template-columns: 2.8rem minmax(0, 1fr);
}

.forgebundle-summary__identity strong {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.forgebundle-summary__footer .forgebundle-summary__purchase {
  margin-top: 0;
}

.forgebundle-summary__footer .forgebundle-summary__reset {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .forgebundle-summary {
    max-height: min(88vh, 52rem);
  }
}

@media (max-width: 639px) {
  .forgebundle-configurator__header {
    padding-top: 1.25rem;
  }

  .forgebundle-configurator__journey {
    width: fit-content;
  }
}

/* Keep the complete composition preview and the external purchase controls
 * together. When JavaScript detects that the sticky column is too narrow or
 * too short, both blocks are moved into this full-width row. */
[data-summary-footer-home] {
  display: none !important;
}

@media (min-width: 992px) {
  .forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary {
    position: sticky !important;
    top: var(
      --forgebundle-summary-sticky-offset,
      var(--forgebundle-detected-header-offset, 1rem)
    ) !important;
    z-index: 2;
    align-self: start;
    max-height: calc(
      100vh
      - var(
        --forgebundle-summary-sticky-offset,
        var(--forgebundle-detected-header-offset, 1rem)
      )
      - 1rem
    ) !important;
    overflow: auto !important;
  }
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__scroll {
  overflow: visible;
  scrollbar-gutter: auto;
}

.forgebundle-configurator .forgebundle-configuration-gallery-band {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  padding: clamp(.85rem, 1.6vw, 1.25rem);
  overflow: visible;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band {
  display: grid;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band .forgebundle-summary__gallery-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .45rem;
  min-width: 0;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band .forgebundle-configuration-gallery {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  width: 100%;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band .forgebundle-configuration-gallery__stage {
  width: 100%;
  height: clamp(9rem, 16vw, 13rem);
  max-height: 13rem;
  aspect-ratio: 4 / 3;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band .forgebundle-summary__enlarge {
  justify-self: start;
  margin: 0;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band .forgebundle-summary__footer {
  position: static;
  z-index: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__purchase-mode {
  max-height: none;
  margin: 0;
  padding: 0 0 .75rem;
  overflow: visible;
  scrollbar-gutter: auto;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__purchase-mode #add_to_cart_custom {
  display: grid !important;
  grid-template-columns: minmax(12rem, .55fr) minmax(18rem, 1.45fr) !important;
  gap: .85rem !important;
  align-items: stretch !important;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__purchase-mode .psr-recurrence-choices-buttons {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important;
  gap: .65rem !important;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__purchase {
  display: grid;
  grid-template-columns: auto minmax(15rem, 22rem);
  gap: .75rem;
  align-items: end;
  justify-content: end;
}

.forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__reset {
  justify-self: end;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .forgebundle-configurator.has-horizontal-summary-band .forgebundle-configuration-gallery-band .forgebundle-summary__gallery-block {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 1099px) {
  .forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__purchase-mode #add_to_cart_custom,
  .forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__purchase {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .forgebundle-configurator.has-horizontal-summary-band .forgebundle-summary__reset {
    justify-self: stretch;
  }
}
