.rdpc-configurator {
  --rdpc-black: #0c0e10;
  --rdpc-graphite: #171a1e;
  --rdpc-steel: #5e666f;
  --rdpc-line: #dfe3e6;
  --rdpc-cloud: #f4f5f5;
  --rdpc-white: #fff;
  --rdpc-accent: #d80016;
  --rdpc-success: #238449;
  --rdpc-error: #b42331;
  --rdpc-radius-sm: 8px;
  --rdpc-radius: 14px;
  --rdpc-radius-lg: 20px;
  --rdpc-shadow: 0 24px 70px rgba(10, 13, 16, .09);
  clear: both;
  color: var(--rdpc-black);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin: clamp(28px, 5vw, 72px) 0;
  width: 100%;
}

.rdpc-configurator *, .rdpc-configurator *::before, .rdpc-configurator *::after { box-sizing: border-box; }
.rdpc-configurator button, .rdpc-configurator input, .rdpc-configurator select { font: inherit; }
.rdpc-experience { display: grid; min-width: 0; }
.rdpc-configurator__workspace { background: var(--rdpc-white); min-width: 0; padding: clamp(26px, 4vw, 54px); }
.rdpc-configurator__header { border-bottom: 1px solid var(--rdpc-line); margin-bottom: 8px; padding-bottom: 30px; }
.rdpc-configurator__eyebrow, .rdpc-summary__eyebrow { color: var(--rdpc-accent); display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; margin-bottom: 12px; text-transform: uppercase; }
.rdpc-configurator__header h2 { font-family: Sora, Inter, sans-serif; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.045em; line-height: 1.03; margin: 0; }
.rdpc-configurator__header > p { color: var(--rdpc-steel); margin: 14px 0 0; max-width: 58ch; }
.rdpc-completion { align-items: center; display: flex; gap: 14px; margin-top: 24px; }
.rdpc-completion > span { color: var(--rdpc-steel); flex: 0 0 42px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.rdpc-progress { background: #e9ebed; height: 2px; overflow: hidden; width: 100%; }
.rdpc-progress > span { background: var(--rdpc-accent); display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.75,.25,1); }

.rdpc-configurator__fields { display: grid; }
.rdpc-field { border-bottom: 1px solid var(--rdpc-line); padding: clamp(28px, 3vw, 42px) 0; transition: opacity .2s ease; }
.rdpc-field[hidden] { display: none !important; }
.rdpc-field__heading { align-items: flex-start; display: grid; gap: 15px; grid-template-columns: 38px minmax(0, 1fr) auto; margin-bottom: 22px; }
.rdpc-field__index { align-items: center; background: var(--rdpc-black); border-radius: 50%; color: #fff; display: inline-flex; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; height: 30px; justify-content: center; letter-spacing: .06em; width: 30px; }
.rdpc-field__label { color: var(--rdpc-black); display: block; font-family: Sora, Inter, sans-serif; font-size: clamp(16px, 1.4vw, 20px); font-weight: 650; letter-spacing: -.02em; line-height: 1.25; text-transform: uppercase; }
.rdpc-field__help { color: var(--rdpc-steel); font-size: 12px; margin: 5px 0 0; }
.rdpc-field__selection { color: var(--rdpc-steel); font-size: 12px; font-weight: 700; padding-top: 4px; text-align: right; }
.rdpc-required { color: var(--rdpc-accent); margin-left: 4px; }
.rdpc-field__control { min-width: 0; }
.rdpc-field__error { color: var(--rdpc-error); display: none; font-size: 12px; font-weight: 700; margin: 10px 0 0 53px; }
.rdpc-field--invalid .rdpc-field__error { display: block; }

.rdpc-control { appearance: none; background: var(--rdpc-white); border: 1px solid var(--rdpc-line); border-radius: var(--rdpc-radius-sm); color: var(--rdpc-black); min-height: 52px; padding: 12px 15px; transition: border-color .18s, box-shadow .18s; width: 100%; }
.rdpc-control:focus { border-color: var(--rdpc-black); box-shadow: 0 0 0 3px rgba(12, 14, 16, .09); outline: 0; }
.rdpc-choices, .rdpc-option-grid, .rdpc-image-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.rdpc-choice, .rdpc-image-card, .rdpc-swatch { cursor: pointer; margin: 0; min-width: 0; }
.rdpc-choice input, .rdpc-image-card input, .rdpc-swatch input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.rdpc-choice__surface, .rdpc-option-button, .rdpc-image-card__surface { align-items: flex-start; appearance: none; background: var(--rdpc-white); border: 1px solid var(--rdpc-line); border-radius: var(--rdpc-radius-sm); color: var(--rdpc-black); display: flex; flex-direction: column; height: 100%; justify-content: center; min-height: 56px; padding: 12px 15px; text-align: left; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; width: 100%; }
.rdpc-option-button { cursor: pointer; }
.rdpc-choice__surface strong, .rdpc-option-button strong, .rdpc-image-card__surface strong { font-family: Sora, Inter, sans-serif; font-size: 13px; font-weight: 650; }
.rdpc-choice__surface small, .rdpc-option-button small, .rdpc-image-card__surface small { color: var(--rdpc-steel); font-size: 10px; margin-top: 3px; }
.rdpc-choice:hover .rdpc-choice__surface, .rdpc-option-button:hover:not(:disabled), .rdpc-image-card:hover .rdpc-image-card__surface { border-color: #8f969c; transform: translateY(-2px); }
.rdpc-choice input:checked + .rdpc-choice__surface, .rdpc-image-card input:checked + .rdpc-image-card__surface, .rdpc-option-button[aria-pressed="true"] { background: var(--rdpc-black); border-color: var(--rdpc-black); box-shadow: 0 8px 22px rgba(12,14,16,.14); color: #fff; }
.rdpc-choice input:checked + .rdpc-choice__surface small, .rdpc-image-card input:checked + .rdpc-image-card__surface small, .rdpc-option-button[aria-pressed="true"] small { color: rgba(255,255,255,.68); }
.rdpc-choice input:focus-visible + .rdpc-choice__surface, .rdpc-image-card input:focus-visible + .rdpc-image-card__surface, .rdpc-swatch input:focus-visible + .rdpc-swatch__color, .rdpc-option-button:focus-visible { outline: 2px solid var(--rdpc-accent); outline-offset: 3px; }
.rdpc-option-button:disabled { cursor: not-allowed; opacity: .32; text-decoration: line-through; }

.rdpc-swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.rdpc-swatch { align-items: center; border: 1px solid transparent; border-radius: var(--rdpc-radius-sm); display: flex; flex: 0 0 80px; flex-direction: column; font-size: 11px; font-weight: 700; gap: 8px; padding: 9px 6px; text-align: center; transition: border-color .18s, background .18s, transform .18s; }
.rdpc-swatch:hover { background: var(--rdpc-cloud); transform: translateY(-2px); }
.rdpc-swatch__color { background: var(--rdpc-swatch-color); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--rdpc-line), 0 5px 16px rgba(0,0,0,.13); display: block; height: 46px; width: 46px; }
.rdpc-swatch:has(input:checked) { border-color: var(--rdpc-black); }
.rdpc-swatch:has(input:checked) .rdpc-swatch__color { box-shadow: 0 0 0 2px var(--rdpc-black), 0 7px 18px rgba(0,0,0,.16); }
.rdpc-image-cards { grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); }
.rdpc-image-card__surface { justify-content: flex-start; padding: 7px 7px 13px; }
.rdpc-image-card__image { aspect-ratio: 4 / 3; background: var(--rdpc-cloud); border-radius: 5px; display: block; margin: 0 0 11px; object-fit: cover; width: 100%; }
.rdpc-image-card__surface strong, .rdpc-image-card__surface small { padding-inline: 5px; }
.rdpc-checkbox { align-items: center; cursor: pointer; display: flex; font-weight: 700; gap: 12px; }
.rdpc-checkbox input { accent-color: var(--rdpc-accent); height: 22px; width: 22px; }

.rdpc-stepper { align-items: center; background: var(--rdpc-cloud); border: 1px solid var(--rdpc-line); border-radius: var(--rdpc-radius-sm); display: grid; grid-template-columns: 52px minmax(90px, 1fr) auto 52px; max-width: 330px; overflow: hidden; }
.rdpc-stepper button { appearance: none; background: transparent; border: 0; color: var(--rdpc-black); cursor: pointer; font-size: 22px; height: 52px; transition: background .18s, color .18s; }
.rdpc-stepper button:hover { background: var(--rdpc-black); color: #fff; }
.rdpc-stepper button:focus-visible { box-shadow: inset 0 0 0 2px var(--rdpc-accent); outline: 0; }
.rdpc-stepper .rdpc-number { background: transparent; border: 0; border-left: 1px solid var(--rdpc-line); border-radius: 0; font-family: Sora, Inter, sans-serif; font-size: 18px; font-weight: 650; min-width: 0; text-align: center; }
.rdpc-stepper .rdpc-number:focus { box-shadow: none; }
.rdpc-stepper__unit { color: var(--rdpc-steel); font-size: 11px; font-weight: 800; padding-inline: 8px; }

@media (max-width: 600px) {
  .rdpc-field__heading { grid-template-columns: 34px minmax(0,1fr); }
  .rdpc-field__selection { display: none; }
  .rdpc-choices, .rdpc-option-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rdpc-image-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rdpc-stepper { max-width: none; }
}
