.axe-bfcm-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.axe-bfcm-builder .axe-bfcm-component-fields {
  display: block;
  min-width: 0;
}
.axe-bfcm-builder .axe-funnel-configurator__intro {
  margin-top: 0;
}
.axe-bfcm-builder .axe-funnel-configurator__step {
  scroll-margin-top: 28px;
}
.axe-bfcm-builder .axe-funnel-configurator__panel {
  padding: 20px;
}
.axe-bfcm-builder [hidden],
.axe-bfcm-builder input[type="hidden"] {
  display: none !important;
}
.axe-bfcm-builder .axe-funnel-configurator__title {
  font-size: 15px;
}
.axe-bfcm-builder .axe-funnel-configurator__summary {
  font-size: 12px;
  white-space: normal;
}
.axe-bfcm-component-preview {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--axe-builder-line);
}
.axe-bfcm-component-preview img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #f6f4ef;
}
.axe-bfcm-component-preview strong {
  font-size: 16px;
  line-height: 1.4;
}
.axe-bfcm-component-preview :is(p, a) {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}
.axe-bfcm-component-preview a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--axe-builder-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.axe-bfcm-component-preview svg {
  width: 14px;
  height: 14px;
}
.axe-bfcm-option-field {
  padding: 22px 0;
  border-bottom: 1px solid var(--axe-builder-line);
}
.axe-bfcm-option-field > label {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}
.axe-bfcm-builder .axe-funnel-choice {
  font-size: 13px;
}
.axe-bfcm-model-field .axe-funnel-choice__swatch--photo {
  width: 58px;
  height: 58px;
  background-size: contain;
}
.axe-bfcm-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.axe-bfcm-matching {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--axe-builder-line);
  background: var(--axe-builder-surface);
}
.axe-bfcm-matching button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  background: var(--axe-builder-navy);
  border: 1px solid var(--axe-builder-navy);
  color: #fff;
  font-size: 14px;
  text-transform: none;
}
.axe-bfcm-matching button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.axe-bfcm-matching p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.axe-bfcm-matching [data-matching-status]:empty {
  display: none;
}
.axe-bfcm-builder .axe-bfcm-reset {
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #696969;
  font-size: 12px;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.axe-bfcm-builder .axe-bfcm-continue {
  min-height: 44px;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--axe-builder-navy);
  color: #fff;
  font-family: var(--axe-site-heading-font, "Oswald", sans-serif);
  font-size: 15px;
  text-transform: none;
}
.axe-bfcm-quantity {
  display: grid;
  width: 184px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  margin: 12px 0 20px;
  border: 1px solid #c9c7c1;
}
.axe-bfcm-quantity button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--axe-builder-surface);
  color: var(--axe-builder-ink);
  font-size: 24px;
}
.axe-bfcm-quantity button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.axe-bfcm-quantity input {
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  appearance: textfield;
  text-align: center;
}
.axe-bfcm-quantity input::-webkit-inner-spin-button,
.axe-bfcm-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.axe-bfcm-builder .axe-bfcm-field-help {
  margin: 12px 0;
  color: var(--axe-builder-muted);
  font-size: 12px;
  line-height: 1.6;
}
.axe-bfcm-builder .axe-bfcm-people {
  grid-template-columns: minmax(0, 1fr);
  margin: 24px 0;
}
.axe-bfcm-builder .axe-bfcm-person {
  border-color: var(--axe-builder-line);
  background: var(--axe-builder-surface);
}
.axe-bfcm-person label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.axe-bfcm-person [data-stamp-count] {
  color: #696969;
  font-size: 11px;
  font-weight: 400;
}
.axe-bfcm-person input {
  margin-bottom: 16px;
  text-transform: uppercase;
}
.axe-bfcm-build-summary {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid #d8d1c4;
  background: #f3efe7;
  scroll-margin-top: 24px;
}
.axe-bfcm-build-summary h3 {
  margin: 8px 0 20px;
  font-size: 26px;
  line-height: 1.2;
}
.axe-bfcm-summary-pieces {
  margin: 0;
  padding: 0;
  list-style: none;
}
.axe-bfcm-summary-pieces li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #d8d1c4;
}
.axe-bfcm-summary-pieces img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
}
.axe-bfcm-summary-pieces strong,
.axe-bfcm-summary-pieces [data-summary-choice] {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}
.axe-bfcm-summary-pieces [data-summary-choice] {
  margin-top: 3px;
  color: #696969;
  font-size: 11px;
}
.axe-bfcm-build-summary svg {
  width: 16px;
  height: 16px;
}
.axe-bfcm-summary-bag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 24px;
  font-size: 12px;
}
.axe-bfcm-build-summary .axe-bfcm-builder-total {
  display: block;
  margin-bottom: 12px;
}
.axe-bfcm-build-summary [data-bundle-math] {
  display: block;
  font-size: 12px;
}
.axe-bfcm-earned-gifts,
.axe-bfcm-summary-shipping {
  margin: 12px 0;
  color: #45423d;
  font-size: 12px;
  line-height: 1.6;
}
.axe-bfcm-build-summary .axe-lp-button {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.axe-bfcm-build-summary .axe-bfcm-form-status {
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .axe-bfcm-builder-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .axe-bfcm-build-summary {
    position: static;
  }
}
@media (max-width: 600px) {
  .axe-bfcm-builder .axe-funnel-configurator__panel {
    padding: 16px;
  }
  .axe-bfcm-component-preview {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }
  .axe-bfcm-component-preview img {
    width: 72px;
    height: 72px;
  }
  .axe-bfcm-component-preview strong {
    font-size: 14px;
  }
  .axe-bfcm-model-field .axe-funnel-visual-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .axe-bfcm-builder .axe-bfcm-model-field .axe-funnel-choice {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
  }
  .axe-bfcm-model-field .axe-funnel-choice__swatch--photo {
    width: 100%;
    height: 72px;
  }
}
