.rv-configurator {
  max-width: 1400px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 32px 24px;
}
.rv-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
  background: #f8f8f8;
  border-radius: 8px 8px 0 0;
  overflow-x: auto;
}
.rv-tabs li {
  padding: 14px 32px;
  cursor: pointer;
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-right: 2px;
}
.rv-tabs li.active {
  background: #fff;
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
  border-radius: 8px 8px 0 0;
}
.rv-tabs li:hover:not(.active) {
  background: #eaf6fb;
  color: #0073aa;
}
.rv-step {
  display: none;
}
.rv-step.active {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.rv-step-col {
  flex: 1 1 340px;
  min-width: 320px;
  /* max-width: 480px; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.rv-svg-canvas {
  width: 100%;
  min-height: 260px;
  background: #d9d9d9;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rv-svg-canvas svg {
  width: 100%;
  height: 220px;
  display: block;
}
.rv-dynamic-text {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.rv-pdf-thumb {
  display: block;
  margin: 0 auto 12px auto;
  max-width: 120px;
  max-height: 120px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}
.rv-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.rv-summary-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.rv-approve-btn, .rv-add-to-cart-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  background: #0073aa;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.rv-approve-btn:hover, .rv-add-to-cart-btn:hover {
  background: #005f8d;
}

.valance-color-swatch, .fabric-color-swatch {
  width: 26px; height: 26px; border:2px solid #bbb; border-radius:6px; cursor:pointer; display:inline-block; transition:border-color .18s;
}
.valance-color-swatch.selected, .fabric-color-swatch.selected {
  border:2px solid #F39200;
}
.rv-svg-canvas {
  position: relative;
}
#pdf-thumb {
  pointer-events: none;
}
.rv-nav-btns {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}
.rv-nav-btns button {
  padding: 7px 28px;
  border-radius: 5px;
  border: none;
  background: #195b93;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}
.rv-nav-btns button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}