#contactRow {
  transition: all 200ms ease;
}

.cb-quote-shell {
  border-color: rgba(156, 135, 82, 0.5) !important;
  box-shadow: 0 14px 34px rgba(156, 135, 82, 0.12);
  background: linear-gradient(180deg, rgba(156, 135, 82, 0.08) 0%, rgba(250, 250, 250, 1) 22%);
  position: relative;
  overflow: hidden;
}

.cb-quote-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 2px;
  background: rgba(156, 135, 82, 0.85);
}

.cb-simple-shell {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.cb-premium-badge {
  display: inline-block;
  font-size: 0.63rem;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 135, 82, 0.55);
  background: rgba(156, 135, 82, 0.12);
  color: var(--cb-accent);
  vertical-align: middle;
}

.cb-quote-wizard {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border: 1px solid rgba(156, 135, 82, 0.35);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.25rem;
  margin-bottom: 0rem;
}

#formCol {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#bindingOptionsWrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.cb-quote-wizard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cb-step-indicator {
  color: #6c757d;
  font-size: 0.95rem;
  white-space: nowrap;
}

.cb-step-progress {
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  background: #e9ecef;
  overflow: hidden;
}

.cb-step-progress__bar {
  width: 20%;
  height: 100%;
  background: var(--cb-accent);
  transition: width 180ms ease;
}

.cb-quote-step {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.cb-quote-step.d-none {
  display: none;
}

.cb-step-card {
  flex: 1;
  min-height: 340px;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
  padding: 1.1rem;
}

.cb-quote-wizard__footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cb-choice-card {
  position: relative;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  height: 100%;
}

.cb-choice-card:hover {
  border-color: #6c757d;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}

.cb-choice-card.is-selected {
  border-color: rgba(156, 135, 82, 0.95);
  box-shadow: 0 0 0 0.2rem rgba(156, 135, 82, 0.17);
}

.cb-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cb-color-picker {
  border: none;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

.cb-color-preview {
  margin-top: 0.75rem;
}

.cb-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 1rem;
}

.cb-swatch {
  appearance: none;
  border: 1px solid var(--bs-border-color);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, transform 120ms ease;
}

.cb-swatch:hover {
  border-color: #6c757d;
  transform: translateY(-1px);
}

.cb-swatch.is-selected {
  border-color: rgba(156, 135, 82, 0.95);
  box-shadow: 0 0 0 0.2rem rgba(156, 135, 82, 0.16);
  background-color: #f8f9fa;
}

.cb-dot {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-block;
  flex: 0 0 1.05rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  background: linear-gradient(90deg, var(--dot-a, #d2d6db) 0 50%, var(--dot-b, var(--dot-a, #d2d6db)) 50% 100%);
}

.cb-dot-black {
  --dot-a: #1f1f1f;
  --dot-b: #1f1f1f;
}

.cb-dot-mocha {
  --dot-a: #6b4f3a;
  --dot-b: #6b4f3a;
}

.cb-dot-tan {
  --dot-a: #b78752;
  --dot-b: #b78752;
}

.cb-dot-red {
  --dot-a: #7f1d1d;
  --dot-b: #7f1d1d;
}

.cb-dot-blue {
  --dot-a: #1f3f77;
  --dot-b: #1f3f77;
}

.cb-color-preview img {
  width: 100%;
  max-width: 280px;
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
  display: block;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .cb-color-preview img {
    max-width: 420px;
  }
}

.cb-callout {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #f8f9fa;
  padding: 0.9rem 1rem;
}

.cb-wizard-note {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

#estimateWrap {
  position: static;
  height: 100%;
}

@media (max-width: 1199.98px) {
  .cb-quote-shell {
    padding: 1rem;
  }

  .cb-quote-wizard {
    padding: 1rem;
  }

  .cb-step-card {
    padding: 1rem;
  }

  .cb-choice-card {
    padding: 0.9rem;
  }

  .cb-color-picker {
    padding: 0.9rem;
  }

  .cb-swatch {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }

  .cb-callout {
    padding: 0.8rem 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .cb-quote-wizard__header {
    flex-direction: column;
  }

  .cb-step-card {
    min-height: auto;
  }

  #estimateWrap {
    position: static;
  }

  .cb-step-progress {
    height: 0.45rem;
  }
}

@media (max-width: 767.98px) {
  .cb-quote-shell {
    padding: 0.75rem;
  }

  .cb-quote-wizard {
    padding: 0.85rem;
  }

  .cb-step-card {
    padding: 0.85rem;
  }

  .cb-choice-card {
    padding: 0.8rem;
  }

  .cb-color-picker {
    padding: 0.8rem;
  }

  .cb-swatch {
    padding: 0.35rem 0.65rem;
    font-size: 0.87rem;
  }

  .cb-color-preview img {
    max-width: 220px;
  }

  .cb-callout {
    padding: 0.75rem 0.85rem;
  }
}

#estSelections {
  padding: 0.85rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
}

@media (max-width: 991.98px) {
  .cb-quote-wizard__header {
    flex-direction: column;
  }

  .cb-step-card {
    min-height: auto;
  }

  #estimateWrap {
    position: static;
  }
}

.cb-honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cb-dot-headband-dark-blue {
  --dot-a: #102b63;
  --dot-b: #102b63;
}

.cb-dot-headband-dark-brown {
  --dot-a: #4b301a;
  --dot-b: #4b301a;
}

.cb-dot-headband-dark-green {
  --dot-a: #0f4b36;
  --dot-b: #0f4b36;
}

.cb-dot-headband-light-brown {
  --dot-a: #8c5f34;
  --dot-b: #8c5f34;
}

.cb-dot-headband-red {
  --dot-a: #cf241d;
  --dot-b: #cf241d;
}

.cb-dot-headband-red-white {
  --dot-a: #c8231a;
  --dot-b: #f2efe6;
}

.cb-dot-headband-red-yellow {
  --dot-a: #b81f19;
  --dot-b: #d6b117;
}

.cb-dot-headband-white {
  --dot-a: #f4f1e8;
  --dot-b: #f4f1e8;
}

.cb-dot-headband-black {
  --dot-a: #000000;
  --dot-b: #000000;
}

.cb-dot-headband-white-blue {
  --dot-a: #f4f1e8;
  --dot-b: #17386f;
}

.cb-dot-headband-unsure {
  --dot-a: #d2d6db;
  --dot-b: #ffffff;
}
