/* Root wrapper for shortcode/widget */
.clc-configurator-root {
  max-width: 1400px;
  margin: 40px auto;
  font-family: sans-serif;
}

/* Your original layout, preserved */
.hm-configurator {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  font-family: inherit;
}

.hm-viewer model-viewer {
  width: 100%;
  height: 700px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafafa, #e2e2e2);
  border: 1px solid #dcdcdc;
}

.hm-side {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.hm-group { display: flex; flex-direction: column; gap: 16px; }
.hm-title { font-size: 19px; font-weight: 600; color: #222; }
.hm-options { display: flex; flex-wrap: wrap; gap: 10px; }

.hm-option {
  padding: 10px 18px;
  font-size: 15px;
  background: #f5f5f5;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
  color: #111;
}
.hm-option:hover { background: #ebebeb; }
.hm-option.active { background: #111; color: white; border-color: #111; }

@media(max-width: 900px) {
  .hm-configurator { grid-template-columns: 1fr; }
  .hm-side { position: relative; top: 0; max-height: none; }
}

/* Price + buttons */
.clc-price-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.clc-price-value {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.clc-actions {
  display: flex;
  gap: 10px;
}

.clc-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.clc-btn.secondary {
  background: #f5f5f5;
  color: #111;
}
.clc-btn:hover {
  opacity: 0.9;
}
.clc-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Snapshot preview (optional styling) */
.clc-snapshot-preview {
  margin-top: 10px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
}