.ppp-csf-selection {
  --ppp-csf-accent: #6b2d8e;
}

.ppp-csf-domain { margin: 0; min-width: 0; }
.ppp-csf-domain[hidden] { display: none !important; }
.ppp-csf-domain.is-inactive { opacity: .58; }
.ppp-csf-domain.is-inactive .ppp-csf-domain__body { pointer-events: none; }
.ppp-csf-imprint-step.is-inactive { opacity: .58; }
.ppp-csf-imprint-step.is-inactive .ppp-step__body { pointer-events: none; }

.ppp-csf-choices-step .ppp-step__body { padding-top: 0; }
#ppp-csf-variant-options:not([hidden]) { margin-bottom: 10px; }
.ppp-csf-variant-colors .ppp-colors-grid { display: flex; }
.ppp-csf-variant-color-choice {
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.ppp-csf-variant-color-choice:focus { outline: 2px solid var(--ppp-csf-accent); outline-offset: 2px; }
.ppp-csf-variant-color-choice:disabled { cursor: not-allowed; }
.ppp-csf-variant-color-swatch { width: 80px; height: 80px; border: 1px solid #d0d0d0; background: #f3f0f4; }
.ppp-csf-variant-color-swatch.is-light { border-color: #999; }
.ppp-csf-variant-color-swatch.is-clear { border-style: dashed; }

.ppp-csf-group {
  border: 0;
  margin: 10px 0 0;
  padding: 0;
  min-width: 0;
}
.ppp-csf-group:first-child { margin-top: 0; }
.ppp-csf-group legend,
.ppp-csf-field-label {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 6px;
  color: #252027;
  font-size: 13px;
  font-weight: 700;
}
.ppp-csf-group.is-inactive .ppp-csf-choices { opacity: .5; }

.ppp-csf-addon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ppp-csf-addon-toggle input { width: 17px; height: 17px; accent-color: var(--ppp-csf-accent); }

.ppp-csf-choice:disabled { cursor: not-allowed; opacity: .55; filter: saturate(.45); }
.ppp-csf-choice__status { color: #8b2f39; font-size: 10px; font-weight: 700; }
.ppp-csf-choice__price { display: block; margin-top: 2px; color: #6b6570; font-size: 10px; font-weight: 500; }
.ppp-csf-choice.has-color-presentation .ppp-csf-choice__price { color: inherit; opacity: .88; }
.ppp-csf-choice.has-color-presentation.is-selected { outline: 2px solid var(--ppp-csf-accent); outline-offset: 1px; }

.ppp-csf-choices--image_choices { align-items: stretch; }
.ppp-csf-choice--image_choices {
  width: 112px;
  padding: 6px;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
}
.ppp-csf-choice__visual { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 5px; background: #f1edf2; }
.ppp-csf-choice__visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ppp-csf-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #857b87; font-size: 26px; font-weight: 700; }
.ppp-csf-choice__copy { display: block; width: 100%; padding: 3px 1px 0; }

.ppp-csf-inline-state { min-height: 0; margin-top: 5px; color: #9a2937; font-size: 12px; }
.ppp-csf-inline-state:not(:empty) { min-height: 16px; }
.ppp-csf-ordering-row { display: grid; grid-template-columns: minmax(140px, .36fr) minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 8px; }
.ppp-csf-ordering-row #ppp_qty { min-height: 32px; height: 32px; padding: 5px 9px; border-radius: 6px; font-size: 14px; line-height: 1.15; }
.ppp-csf-muted { margin: 3px 0 0; color: #6b6570; font-size: 12px; }
#ppp-csf-primary-location,
#ppp-csf-additional-locations { margin-top: 10px; }

.ppp-csf-artwork-grid { display: grid; gap: 10px; }
.ppp-csf-artwork-upload { border: 1px dashed #d3cbd5; border-radius: 6px; padding: 10px; background: #fff; }
#ppp-configured-selection + #ppp_quote_box .add-to-cart.is-disabled { opacity: .48; filter: grayscale(.45); cursor: not-allowed; }
#ppp-configured-selection + #ppp_quote_box .add-to-cart.is-disabled { pointer-events: auto; }
#ppp-configured-selection + #ppp_quote_box .ppp-configuration-unresolved { margin: 0 0 10px; color: #5e5661; font-size: 13px; }
.ppp-csf-price-table.is-unrefreshed { opacity: .7; }
.ppp-csf-price-table.is-unrefreshed::before { content: "Pricing has not refreshed for the latest choices."; display: block; margin-bottom: 5px; color: #765b20; font-size: 12px; }
.ppp-csf-receipt-line { display: flex; justify-content: space-between; gap: 10px; margin-top: 5px; }
.ppp-csf-receipt-details { margin-top: 8px; }
.ppp-csf-receipt-details summary { cursor: pointer; font-weight: 700; }
.ppp-csf-receipt-location { margin-top: 7px; padding-top: 7px; border-top: 1px solid #ddd6df; }
.ppp-csf-additional-location + .ppp-csf-additional-location { margin-top: 8px; }

@media (max-width: 700px) {
  .ppp-csf-ordering-row { grid-template-columns: 1fr; }
  .ppp-csf-choice--image_choices { width: calc(50% - 4px); }
}
