.roller-rfq-builder {
  --rfq-ink: #102c34;
  --rfq-green: #3f725f;
  --rfq-green-dark: #2e594a;
  --rfq-sage: #dfe8de;
  --rfq-sand: #eee8dd;
  --rfq-paper: #f8f7f3;
  --rfq-muted: #627176;
  --rfq-line: #dfe3df;
  color: var(--rfq-ink);
}

.rfq-message {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-radius: 14px;
}

.rfq-message strong {
  display: block;
  margin-bottom: 3px;
}

.rfq-message.success {
  background: #e5f2e8;
  color: #225c3c;
}

.rfq-message.error {
  background: #fff0ee;
  color: #9f3430;
}

.rfq-builder-heading {
  display: flex;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rfq-line);
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.rfq-builder-heading h2 {
  margin: 3px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.rfq-builder-heading > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--rfq-muted);
}

.rfq-kicker {
  margin: 0;
  color: var(--rfq-green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rfq-heading-note {
  display: grid;
  width: 330px;
  padding: 16px 18px;
  border: 1px solid var(--rfq-line);
  border-radius: 14px;
  background: white;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}

.rfq-heading-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rfq-sage);
  place-items: center;
  color: var(--rfq-green-dark);
  font-size: 11px;
  font-weight: 850;
}

.rfq-heading-note p {
  margin: 0;
  color: var(--rfq-muted);
  font-size: 12px;
  line-height: 1.45;
}

.rfq-heading-note strong {
  display: block;
  color: var(--rfq-ink);
}

.rfq-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 180px minmax(0, 1fr) 320px;
  gap: 24px;
}

.rfq-step-nav,
.rfq-summary {
  position: sticky;
  top: 104px;
}

.rfq-step-nav {
  padding: 21px 18px;
  border: 1px solid var(--rfq-line);
  border-radius: 18px;
  background: white;
}

.rfq-step-nav > p {
  margin: 0 0 15px;
  color: var(--rfq-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rfq-step-nav > a {
  display: grid;
  margin: 0 -8px;
  padding: 10px 8px;
  border-radius: 9px;
  align-items: center;
  grid-template-columns: 27px 1fr;
  color: var(--rfq-muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.25;
}

.rfq-step-nav > a span {
  color: #9da8a7;
  font-size: 9px;
  font-weight: 850;
}

.rfq-step-nav > a:hover,
.rfq-step-nav > a.is-active {
  background: var(--rfq-sage);
  color: var(--rfq-ink);
}

.rfq-step-nav > a.is-active span {
  color: var(--rfq-green);
}

.rfq-step-help {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rfq-line);
}

.rfq-step-help strong,
.rfq-step-help span {
  display: block;
}

.rfq-step-help strong {
  font-size: 11px;
}

.rfq-step-help span {
  margin-top: 4px;
  color: var(--rfq-muted);
  font-size: 10px;
  line-height: 1.45;
}

.rfq-workspace {
  display: grid;
  gap: 18px;
}

.rfq-config-section {
  scroll-margin-top: 112px;
  padding: 30px;
  border: 1px solid var(--rfq-line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 34px rgba(16, 44, 52, .04);
}

.rfq-section-heading {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}

.rfq-section-heading > span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rfq-ink);
  place-items: center;
  color: white;
  font-size: 10px;
  font-weight: 850;
}

.rfq-section-heading h3 {
  margin: 0 0 3px;
  color: var(--rfq-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.rfq-section-heading p {
  margin: 0;
  color: var(--rfq-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rfq-selected-sku {
  display: flex;
  margin: -5px 0 19px;
  padding: 11px 14px;
  border-left: 3px solid var(--rfq-green);
  background: #f3f6f2;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rfq-selected-sku span {
  color: var(--rfq-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rfq-selected-sku strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.rfq-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rfq-option-card {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--rfq-line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rfq-option-card:hover {
  transform: translateY(-2px);
  border-color: #aab9b2;
}

.rfq-option-card:has(input:checked) {
  border-color: var(--rfq-green);
  background: #f0f5ef;
  box-shadow: inset 0 0 0 1px var(--rfq-green);
}

.rfq-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rfq-option-card strong {
  align-self: end;
  color: var(--rfq-ink);
  font-size: 15px;
}

.rfq-option-card small {
  margin-top: 2px;
  color: var(--rfq-muted);
  font-size: 11px;
}

.rfq-option-code {
  display: grid;
  width: 34px;
  height: 27px;
  border-radius: 7px;
  background: var(--rfq-ink);
  place-items: center;
  color: white;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
}

.rfq-field-grid {
  display: grid;
  gap: 17px;
}

.rfq-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rfq-field-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rfq-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.rfq-field.full {
  grid-column: 1 / -1;
}

.rfq-field > label {
  color: var(--rfq-ink);
  font-size: 12px;
  font-weight: 750;
}

.rfq-field input,
.rfq-field select,
.rfq-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cdd5d1;
  border-radius: 9px;
  outline: none;
  background: #fbfcfa;
  color: var(--rfq-ink);
  font-size: 13px;
}

.rfq-field input:focus,
.rfq-field select:focus,
.rfq-field textarea:focus {
  border-color: var(--rfq-green);
  box-shadow: 0 0 0 3px rgba(63, 114, 95, .11);
}

.rfq-field textarea {
  min-height: 118px;
  resize: vertical;
}

.rfq-field input[type="file"] {
  padding: 9px;
  background: white;
}

.rfq-field small {
  color: var(--rfq-muted);
  font-size: 10px;
}

.rfq-input-wrap {
  position: relative;
}

.rfq-input-wrap > span {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  color: var(--rfq-muted);
  font-size: 10px;
  font-weight: 750;
  pointer-events: none;
}

.rfq-input-wrap:has(> span) input {
  padding-right: 48px;
}

.rfq-compatibility {
  margin-top: 17px;
  padding: 13px 15px;
  border-left: 3px solid var(--rfq-green);
  border-radius: 0 9px 9px 0;
  background: #f0f5ef;
  color: #425d52;
  font-size: 11px;
}

.rfq-swatches {
  display: flex;
  min-height: 46px;
  padding: 5px 7px;
  border: 1px solid #cdd5d1;
  border-radius: 9px;
  align-items: center;
  justify-content: space-between;
  background: #fbfcfa;
  gap: 6px;
}

.rfq-swatch {
  position: relative;
  display: grid;
  min-width: 44px;
  justify-items: center;
  cursor: pointer;
}

.rfq-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rfq-swatch > span {
  display: block;
  width: 25px;
  height: 25px;
  border: 2px solid white;
  border-radius: 50%;
  outline: 1px solid #ccd2cf;
  background: var(--swatch);
}

.rfq-swatch input:checked + span {
  outline: 2px solid var(--rfq-green);
  outline-offset: 2px;
}

.rfq-swatch small {
  margin-top: 3px;
  font-size: 8px;
}

.rfq-sample-note {
  margin-top: 17px;
  padding: 15px 17px;
  border-radius: 10px;
  background: var(--rfq-sand);
  color: var(--rfq-muted);
  font-size: 11px;
}

.rfq-sample-note strong {
  display: block;
  color: var(--rfq-ink);
}

.rfq-drive-notes {
  display: grid;
  margin-top: 17px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rfq-drive-notes > div {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f5f2;
}

.rfq-drive-notes span,
.rfq-drive-notes strong {
  display: block;
}

.rfq-drive-notes span {
  color: var(--rfq-muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rfq-drive-notes strong {
  margin-top: 2px;
  font-size: 11px;
}

.rfq-summary {
  overflow: hidden;
  border: 1px solid rgba(16, 44, 52, .14);
  border-radius: 20px;
  background: var(--rfq-ink);
  color: white;
  box-shadow: 0 22px 55px rgba(16, 44, 52, .17);
}

.rfq-preview {
  padding: 20px 20px 13px;
  background: #d9d3c8;
}

.rfq-preview-window {
  position: relative;
  height: 145px;
  overflow: hidden;
  border: 10px solid #f5f1e9;
  border-bottom-width: 13px;
  background: linear-gradient(145deg, #c7d2d2, #e8ecea);
  box-shadow: 0 12px 25px rgba(16, 44, 52, .15);
}

.rfq-preview-window::before,
.rfq-preview-window::after {
  position: absolute;
  background: rgba(16, 44, 52, .16);
  content: "";
}

.rfq-preview-window::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
}

.rfq-preview-window::after {
  top: 48%;
  right: 0;
  left: 0;
  height: 2px;
}

.rfq-preview-shade {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 74%;
  border-bottom: 4px solid rgba(16, 44, 52, .45);
  background-color: #eee9df;
  background-image: repeating-linear-gradient(90deg, rgba(16, 44, 52, .06) 0 1px, transparent 1px 5px);
  opacity: .92;
  transition: height .25s ease, background-color .25s ease, opacity .25s ease;
}

.rfq-preview.is-blackout .rfq-preview-shade {
  height: 95%;
  opacity: 1;
}

.rfq-preview.is-dual .rfq-preview-shade {
  height: 87%;
  background-image:
    linear-gradient(90deg, transparent 48%, rgba(16, 44, 52, .34) 49%, rgba(16, 44, 52, .34) 51%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(16, 44, 52, .06) 0 1px, transparent 1px 5px);
}

.rfq-preview.is-exterior .rfq-preview-window {
  border-color: #9b9d99;
}

.rfq-preview-bar {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 5px;
  left: 5px;
  height: 7px;
  border-radius: 2px;
  background: #586564;
}

.rfq-preview > span {
  display: block;
  margin-top: 9px;
  color: #53605d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.rfq-summary-head {
  position: relative;
  padding: 20px 21px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.rfq-summary-head p {
  margin: 0 0 4px;
  color: #91a6a8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rfq-summary-head strong {
  display: block;
  padding-right: 55px;
  overflow-wrap: anywhere;
  color: #eef3ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
}

.rfq-summary-head button {
  position: absolute;
  right: 17px;
  bottom: 17px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: transparent;
  color: #bdcac8;
  cursor: pointer;
  font-size: 8px;
}

.rfq-summary-list {
  margin: 0;
  padding: 12px 21px;
}

.rfq-summary-list > div {
  display: grid;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  grid-template-columns: 70px 1fr;
  gap: 10px;
}

.rfq-summary-list > div:last-child {
  border-bottom: 0;
}

.rfq-summary-list dt {
  color: #819799;
  font-size: 9px;
  font-weight: 750;
}

.rfq-summary-list dd {
  margin: 0;
  color: #e1e9e7;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.rfq-price-state {
  margin: 2px 21px 15px;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.rfq-price-state span,
.rfq-price-state strong {
  display: block;
}

.rfq-price-state span {
  color: #8fa3a5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.rfq-price-state strong {
  margin: 2px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.rfq-price-state p {
  margin: 0;
  color: #9cb0b1;
  font-size: 9px;
}

.rfq-submit {
  display: flex;
  width: calc(100% - 42px);
  min-height: 48px;
  margin: 0 21px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  background: #e6eee6;
  color: var(--rfq-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.rfq-submit:hover {
  background: white;
}

.rfq-summary-disclaimer {
  margin: 13px 21px 20px;
  color: #72898b;
  font-size: 8px;
  line-height: 1.5;
}

@media (max-width: 1280px) {
  .rfq-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .rfq-step-nav {
    display: none;
  }
}

@media (max-width: 960px) {
  .rfq-builder-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .rfq-heading-note {
    width: 100%;
  }

  .rfq-layout {
    grid-template-columns: 1fr;
  }

  .rfq-summary {
    position: static;
  }
}
