.calc-card {
  /* border: 1px solid #e6e6e6; */
  border-radius: 12px;
  padding: 16px;
  width: 100%;
}

.main-container {
  display: flex;
  justify-content: center;
}

.muted {
  color: #6c757d;
}

.hard-divider {
  border-top: 1px solid #ececec;
  margin: 16px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.price-row .label {
  flex: 1;
}

.price-row .label a.price-link {
  color: var(--accent-color);
  text-decoration: none;
}

.price-row .label a.price-link:hover {
  text-decoration: underline;
}

.price-row .value {
  white-space: nowrap;
}

.total-row {
  font-weight: 700;
  font-size: 1.125rem;
}

/* .form-help {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 8px;
}

#backAdvice {
  color: #6c757d;
  margin-top: 8px;
} */

.disabled-note {
  font-size: 0.95rem;
  background: #b92c31;
  border: 1px solid #dfa0a2;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
}

#sceneContainer {
  width: 100%;
  height: 420px;
  background: gray;
  border-radius: 16px;
  overflow: hidden;
}

.img-face-hint {
  font-size: 12px;
  color: #6c757d;
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  background: var(--bs-body-bg, #fff);
  padding-top: 8px;
}

/* Make sure the 3D container can position children absolutely */
#sceneContainer,
.scene-viewport {
  position: relative;
  border-radius: 16px;
}

#sceneContainer canvas {
  display: block;
  border-radius: 16px;
}

/* Bottom-left zoom UI */
.zoom-ui {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  z-index: 5; /* above canvas */
  pointer-events: auto;
}

/* Optional: nicer tap targets on mobile */
.zoom-ui .btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 550px) {
  .calc-card {
    padding: 16px 0;
  }

  .starter-section {
    padding-top: 0;
  }
}

.primary-orange {
  color: var(--accent-color);
}

.form-help {
  color: var(--accent-color);
  font-size: 14px;
}

.radio-source {
  display: none;
}

.radio-group {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.radio-group--stack {
  display: flex;
  flex-direction: column;
}

.radio-option {
  position: relative;
}

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

.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e1e1e1;
  background: #f7f7f7;
  color: #242424;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease;
}

.radio-group--stack .radio-option label {
  justify-content: center;
  text-align: left;
  width: fit-content;
  min-width: 200px;
}

.radio-option input:checked + label {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.radio-option input:focus-visible + label {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.radio-option input:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.radio-group.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.radio-empty {
  color: #6c757d;
  font-size: 0.95rem;
  padding: 4px 2px;
}

.btn-orange {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
}

.btn-orange:hover {
  background-color: #9f4e30;
  color: #fff;
}

.btn-outline-orange {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline-orange:hover {
  background-color: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
}

.btn-green {
  background-color: #276a31;
  color: #fff;
  border: none;
}

.btn-green:hover {
  background-color: #005000;
  color: #fff;
}

.btn-outline-green {
  background-color: transparent;
  color: #276a31;
  border: 2px solid #276a31;
}

.btn-outline-green:hover {
  background-color: #276a31;
  color: #fff;
  border: 2px solid #276a31;
}

.hero-title {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.hero-title h1 {
  display: flex;
}
