/* Интерактивный 3D-конфигуратор кедровых бань «Не вопрос!» */
.banya-3d-section {
  background: #f5efe6;
  padding: 56px 20px;
  border-top: 1px solid #e6d8c8;
  border-bottom: 1px solid #e6d8c8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2c241e;
}
.banya-3d-wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.banya-3d-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}
.banya-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 100, 60, 0.1);
  color: #00643c;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.banya-3d-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  color: #2c241e;
}
.banya-3d-head p {
  margin: 6px 0 0;
  color: #5c4f45;
  font-size: 15px;
  max-width: 620px;
}
.banya-3d-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.banya-3d-stage-card {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #ebe3d6 100%);
  border: 1px solid #dfd1c0;
  border-radius: 24px;
  overflow: hidden;
  min-height: 470px;
  box-shadow: 0 18px 40px rgba(44, 36, 30, 0.09);
  display: flex;
  flex-direction: column;
}
.banya-3d-canvas-host {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 410px;
  cursor: grab;
  touch-action: pan-y;
}
.banya-3d-canvas-host:active {
  cursor: grabbing;
}
.banya-3d-canvas-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.banya-3d-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(28, 23, 20, 0.72);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.banya-3d-cam-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #e6d8c8;
  align-items: center;
  justify-content: space-between;
}
.banya-3d-cam-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.banya-3d-cam-btn {
  border: 1px solid #d9cab8;
  background: #fff;
  color: #2c241e;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.banya-3d-cam-btn:hover,
.banya-3d-cam-btn.is-active {
  background: #00643c;
  color: #fff;
  border-color: #00643c;
}
.banya-3d-panel {
  background: #ffffff;
  border: 1px solid #e5d7c6;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 32px rgba(44, 36, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banya-3d-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b5b4e;
  margin-bottom: 8px;
}
.banya-3d-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.banya-3d-pill {
  border: 1px solid #dccdbc;
  background: #faf7f2;
  color: #2c241e;
  padding: 8px 13px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.banya-3d-pill:hover {
  border-color: #00643c;
}
.banya-3d-pill.is-active {
  background: #00643c;
  color: #fff;
  border-color: #00643c;
  box-shadow: 0 4px 12px rgba(0, 100, 60, 0.22);
}
.banya-3d-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.banya-3d-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(44, 36, 30, 0.2);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.banya-3d-swatch:hover {
  transform: scale(1.08);
}
.banya-3d-swatch.is-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #00643c;
}
.banya-3d-color-name {
  font-size: 13px;
  color: #5c4f45;
  margin-top: 6px;
  font-weight: 600;
}
.banya-3d-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.banya-3d-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #eadfd2;
  border-radius: 12px;
  background: #fcfaf7;
}
.banya-3d-check input {
  width: 17px;
  height: 17px;
  accent-color: #00643c;
}
.banya-3d-summary {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eadfd2;
}
.banya-3d-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.banya-3d-price-label {
  font-size: 13.5px;
  color: #6b5b4e;
  font-weight: 600;
}
.banya-3d-price-val {
  font-size: 24px;
  font-weight: 900;
  color: #00643c;
}
.banya-3d-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.banya-3d-cta-wa,
.banya-3d-cta-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 14px;
  border-radius: 13px;
  text-align: center;
  transition: transform 0.15s, opacity 0.15s;
}
.banya-3d-cta-wa {
  background: #25d366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}
.banya-3d-cta-max {
  background: #ff6600;
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.22);
}
.banya-3d-cta-wa:hover,
.banya-3d-cta-max:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
@media (max-width: 920px) {
  .banya-3d-grid {
    grid-template-columns: 1fr;
  }
  .banya-3d-stage-card {
    min-height: 380px;
  }
  .banya-3d-canvas-host {
    min-height: 320px;
  }
}
@media (max-width: 480px) {
  .banya-3d-cta-row {
    grid-template-columns: 1fr;
  }
}
