/* Lumenor Product Accessories 0.6.2-dev. Styling is scoped to this widget. */
/* The fieldset must retain intrinsic sizing: do not add container-type/inline-size. */
.lpa-supply {
  box-sizing: border-box;
  border: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 100%;
  grid-column: 1 / -1;
  margin: 18px 0 20px;
  padding: 0;
  color: inherit;
}
.lpa-supply *, .lpa-supply *::before, .lpa-supply *::after { box-sizing: border-box; }
.lpa-supply__title {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 2px;
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1.35;
  color: inherit;
}
.lpa-supply__lead {
  margin: 0 0 12px;
  color: #6c747a;
  font-size: .84rem;
  line-height: 1.4;
}
/* Intrinsic grid avoids hard-coded columns in different Elementor layouts. */
.lpa-supply__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
/* Aster has four choices and may use two columns on ordinary product layouts. */
.lpa-supply--aster .lpa-supply__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}
/* Card is a single horizontal control, not a tall vertical tile. */
.lpa-supply .lpa-supply__option {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 104px;
  padding: 12px 13px;
  margin: 0;
  border: 1px solid #e1e5e7;
  border-radius: 11px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.lpa-supply .lpa-supply__option:hover:not(.is-disabled) {
  border-color: #9aa3a8;
  background: #fcfcfc;
}
.lpa-supply .lpa-supply__option.is-selected {
  border-color: #222d34;
  box-shadow: inset 0 0 0 1px #222d34;
  background: #fafafa;
}
.lpa-supply .lpa-supply__option.is-disabled {
  opacity: .52;
  cursor: not-allowed;
}
.lpa-supply__option input[type="radio"] {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.lpa-supply__image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f8f8;
  color: #4e646f;
}
.lpa-supply__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lpa-supply__image img[hidden] { display: none; }
.lpa-supply__check { width: 29px; height: 29px; }
.lpa-supply__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  width: auto;
  gap: 2px;
  padding-right: 17px;
  text-align: left;
}
.lpa-supply__name {
  display: block;
  max-width: 100%;
  font-size: .89rem;
  font-weight: 650;
  line-height: 1.28;
  color: #20292e;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.lpa-supply__description {
  display: block;
  max-width: 100%;
  font-size: .78rem;
  color: #69757c;
  line-height: 1.32;
}
.lpa-supply__price {
  display: block;
  margin-top: 3px;
  font-size: .88rem;
  font-weight: 650;
  color: #25343b;
  line-height: 1.34;
}
.lpa-supply__indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #b8c1c6;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}
.lpa-supply__option.is-selected .lpa-supply__indicator {
  border-color: #26313a;
  background: #26313a;
  box-shadow: inset 0 0 0 4px #fff;
}
.lpa-supply__help {
  margin: 8px 0 0;
  color: #788187;
  font-size: .74rem;
  line-height: 1.4;
}
.lpa-supply__error { margin: 9px 0 0; color: #ac2424; font-size: .84rem; font-weight: 600; }
.lpa-supply__error[hidden] { display: none; }
/* On narrow viewports keep the horizontal card interior but stack the cards. */
@media (max-width: 520px) {
  .lpa-supply__grid, .lpa-supply--aster .lpa-supply__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .lpa-supply .lpa-supply__option { min-height: 83px; gap: 11px; padding: 9px 11px; }
  .lpa-supply__image { flex-basis: 62px; width: 62px; height: 62px; }
  .lpa-supply__copy { gap: 1px; }
  .lpa-supply__name { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lpa-supply .lpa-supply__option { transition: none; }
}

/* Explicit converter quantity – aligned with the compact swatch cards. */
.lpa-supply__quantity {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 11px 13px;
  margin-top: 9px;
  border: 1px solid #e1e5e7;
  border-radius: 10px;
  background: #fafafa;
}
.lpa-supply__quantity[hidden] { display: none; }
.lpa-supply__quantity-label {
  color: #25343b;
  font-size: .84rem;
  font-weight: 650;
  white-space: nowrap;
}
.lpa-supply input.lpa-supply__quantity-input[type="number"] {
  flex: 0 0 76px;
  width: 76px;
  min-width: 76px;
  min-height: 38px;
  padding: 5px 8px;
  font-size: .96rem;
  color: #25343b;
  text-align: center;
  border: 1px solid #cbd0d3;
  border-radius: 8px;
  background: #fff;
}
.lpa-supply__quantity-summary {
  font-size: .84rem;
  font-weight: 650;
  color: #25343b;
  margin-left: auto;
}
.lpa-supply__help.is-warning { color: #8b5e27; font-weight: 600; }
@media (max-width: 520px) {
  .lpa-supply__quantity { gap: 8px; padding: 10px; }
  .lpa-supply__quantity-summary { flex: 1 1 100%; margin-left: 0; }
}

/* 0.6: independently selectable quantities, integrated directly in compact cards. */
.lpa-supply .lpa-supply__option {
  min-height: 98px;
  padding: 10px 11px;
  gap: 10px;
  cursor: default;
}
.lpa-supply__option.is-selected { border-color: #2e393f; }
.lpa-supply__option .lpa-supply__copy { padding-right: 0; }
.lpa-supply__option .lpa-supply__image { flex-basis: 68px; width: 68px; height: 68px; background: #f7f7f7; }
.lpa-supply__stepper {
  display: flex;
  flex: 0 0 34px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 34px;
  gap: 1px;
  margin-left: auto;
}
.lpa-supply .lpa-supply__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 30px;
  padding: 0;
  margin: 0;
  color: #26343b;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  font-family: inherit;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.lpa-supply .lpa-supply__step:hover:not(:disabled) { color: #82592c; background: #f5f1ea; }
.lpa-supply .lpa-supply__step:focus-visible { outline: 2px solid #8f6331; outline-offset: 1px; }
.lpa-supply .lpa-supply__step:disabled { cursor: not-allowed; opacity: .35; }
.lpa-supply input.lpa-supply__count[type="number"] {
  display: block;
  flex: none;
  width: 35px;
  min-width: 35px;
  height: 29px;
  min-height: 29px;
  margin: 0;
  padding: 0;
  color: #28343a;
  font-size: .96rem;
  font-weight: 600;
  line-height: 29px;
  text-align: center;
  border: 0;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}
.lpa-supply input.lpa-supply__count::-webkit-inner-spin-button,
.lpa-supply input.lpa-supply__count::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lpa-supply input.lpa-supply__count:focus-visible { outline: 2px solid #8f6331; border-radius: 4px; }
.lpa-supply .lpa-supply__existing-toggle {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid #cbd3d8;
  border-radius: 6px;
  background: #fff;
  color: #28343b;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
}
.lpa-supply .lpa-supply__existing-toggle[aria-pressed="true"] { border-color: #28343b; color: #fff; background: #28343b; }
.lpa-supply .lpa-supply__existing-toggle:focus-visible { outline: 2px solid #8f6331; outline-offset: 2px; }
@media (max-width: 520px) {
  .lpa-supply__option .lpa-supply__image { flex-basis: 58px; width: 58px; height: 58px; }
}


/* 0.6.1-dev: scoped hardening against Elementor/theme button and text rules.
   Explicitly size and reset ONLY this widget's quantity/toggle controls.
   This does not alter product, cart, or accessory selection semantics. */
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: stretch;
  min-width: 0;
}
fieldset.lpa-supply.lpa-supply--aster[data-lpa-supply] .lpa-supply__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__option {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  gap: 9px;
  padding: 10px 11px;
  flex-wrap: nowrap;
}
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__option > .lpa-supply__image {
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  height: 64px;
}
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__option > .lpa-supply__copy {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__copy .lpa-supply__name,
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__copy .lpa-supply__description,
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__copy .lpa-supply__price {
  width: auto;
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  letter-spacing: normal;
}
fieldset.lpa-supply[data-lpa-supply] .lpa-supply__stepper {
  display: flex !important;
  position: static !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__step[data-lpa-step] {
  all: unset;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  position: static !important;
  flex: 0 0 30px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d6dadd !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  background: #fff !important;
  color: #26343b !important;
  font-family: inherit !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  transform: none !important;
  cursor: pointer;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__step[data-lpa-step]:hover:not(:disabled) {
  background: #f6f1e9 !important;
  border-color: #a97a3e !important;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__step[data-lpa-step]:disabled {
  opacity: .38 !important;
  cursor: not-allowed;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__step[data-lpa-step]:focus-visible,
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__existing-toggle:focus-visible {
  outline: 2px solid #8f6331 !important;
  outline-offset: 2px !important;
}
fieldset.lpa-supply[data-lpa-supply] input.lpa-supply__count[type="number"] {
  box-sizing: border-box !important;
  display: block !important;
  position: static !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #26343b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 25px !important;
  text-align: center !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}
fieldset.lpa-supply[data-lpa-supply] input.lpa-supply__count::-webkit-inner-spin-button,
fieldset.lpa-supply[data-lpa-supply] input.lpa-supply__count::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__existing-toggle[data-lpa-existing-toggle] {
  all: unset;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  position: static !important;
  flex: 0 0 76px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 1px solid #cbd3d8 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  background: #fff !important;
  color: #28343b !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: normal !important;
  transform: none !important;
  cursor: pointer;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__existing-toggle[aria-pressed="true"] {
  background: #28343b !important;
  border-color: #28343b !important;
  color: #fff !important;
}
fieldset.lpa-supply[data-lpa-supply] button.lpa-supply__existing-toggle:hover:not([aria-pressed="true"]) {
  background: #f6f1e9 !important;
  border-color: #a97a3e !important;
}
@media (max-width: 520px) {
  fieldset.lpa-supply[data-lpa-supply] .lpa-supply__grid,
  fieldset.lpa-supply.lpa-supply--aster[data-lpa-supply] .lpa-supply__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  fieldset.lpa-supply[data-lpa-supply] .lpa-supply__option {
    gap: 8px;
    padding: 9px 10px;
  }
  fieldset.lpa-supply[data-lpa-supply] .lpa-supply__option > .lpa-supply__image {
    flex-basis: 56px;
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    height: 56px;
  }
}
