.dcv2 {
  max-width: 1500px !important;
  margin: auto !important;
  padding: 28px !important;
  background: #f3f0e9 !important;
  color: #173e38 !important;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif !important;
}
.m3-head {
  padding: 26px 0 28px;
}
.m3-head small {
  font-weight: 950;
  letter-spacing: 1.5px;
  color: #307162;
}
.m3-head h1 {
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -3px;
  line-height: 1;
  margin: 8px 0;
}
.m3-head p {
  color: #65736f;
  font-size: 17px;
}
.m3-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.65fr);
  gap: 22px;
}
.m3-stage {
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(#e9e5dc, #d9d1c5);
  box-shadow: 0 24px 70px #173e3825;
}
.m3-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.m3-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: #173e38;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 25px #0002;
}
.m3-tools {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.m3-tools button {
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  background: #fff;
  color: #173e38;
  font-weight: 850;
  box-shadow: 0 8px 25px #0002;
}
.m3-panel {
  display: grid;
  gap: 13px;
}
.m3-card {
  background: #fff;
  border: 1px solid #d8e0dc;
  border-radius: 21px;
  padding: 20px;
  box-shadow: 0 14px 35px #173e3812;
}
.m3-card h2 {
  font-size: 17px;
  margin: 0 0 15px;
}
.m3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.m3-card label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
  color: #5e6f69;
}
.m3-card input,
.m3-card select {
  width: 100%;
  border: 1px solid #d6dfda;
  border-radius: 12px;
  padding: 11px;
  background: #fff;
  color: #173e38;
  font: inherit;
}
.m3-door-info {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 12px;
  background: #edf5f1;
  color: #245e52;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}
.m3-colors {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.m3-colors button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #cbd5d0;
  cursor: pointer;
}
.m3-colors button.active {
  box-shadow: 0 0 0 3px #2e705f;
}
.m3-open input {
  accent-color: #2c7562;
}
.m3-sides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.m3-sides button {
  flex: 1 1 92px;
}
.m3-section-help {
  margin: -3px 0 10px;
  color: #64746f;
  font-size: 13px;
  line-height: 1.45;
}
.m3-sides button,
.m3-presets button,
.m3-counter button {
  border: 0;
  border-radius: 11px;
  padding: 10px;
  background: #edf3f0;
  color: #173e38;
  font-weight: 850;
  cursor: pointer;
}
.m3-sides button.active {
  background: #173e38;
  color: #fff;
}
.m3-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.m3-counters {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.m3-layout-warning {
  margin: 11px 0 0;
  padding: 10px 12px;
  border: 1px solid #efb3a7;
  border-radius: 10px;
  background: #fff1ee;
  color: #9a2f22;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}
.m3-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dce3df;
  border-radius: 12px;
  padding: 9px;
}
.m3-counter div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m3-counter button {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 18px;
}
.m3-counter output {
  min-width: 22px;
  text-align: center;
  font-weight: 950;
}
.m3-price {
  background: #173e38;
  color: #fff;
}
.m3-price small {
  color: #bcd0ca;
}
.m3-price strong {
  display: block;
  font-size: 32px;
  margin: 7px 0;
}
.m3-price a {
  display: flex;
  justify-content: center;
  padding: 13px;
  border-radius: 999px;
  background: #28a86a;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  margin-top: 14px;
}
.m3-note {
  font-size: 12px;
  color: #bcd0ca;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .m3-layout {
    grid-template-columns: 1fr;
  }
  .m3-stage {
    position: relative;
    top: 0;
    height: 65vh;
    min-height: 480px;
  }
  .dcv2 {
    padding: 16px !important;
  }
}
@media (max-width: 560px) {
  .m3-stage {
    height: 55vh;
    min-height: 390px;
    border-radius: 20px;
  }
  .m3-grid {
    grid-template-columns: 1fr;
  }
  .m3-head h1 {
    letter-spacing: -2px;
  }
}
