/* =====================================================================
   70-LAYOUT-REFRESH.CSS
   configurator layout + tabs + live panel
   ===================================================================== */

#asg-configuratore-wrapper .asg-grid {
  align-items: flex-start;
  gap: 22px;
}

#asg-configuratore-wrapper .asg-viewer-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

#asg-configuratore-wrapper .asg-controls-col {
  min-width: 0;
  width: 100%;
  border-radius: 28px;
}

#asg-configuratore-wrapper .asg-controls-body {
  padding: 0 24px 24px;
}

#asg-configuratore-wrapper .asg-config-section {
  display: none;
}
#asg-configuratore-wrapper .asg-config-section.active {
  display: block;
}

#asg-configuratore-wrapper .asg-config-live-shell {
  position: relative !important;
  top: auto !important;
  display: grid;
  gap: 14px;
  margin-bottom: 6px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

#asg-configuratore-wrapper .asg-config-live-bar {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8,15,30,.96), rgba(4,10,22,.98));
  border: 1px solid rgba(98,130,190,.14);
  box-shadow: 0 20px 46px rgba(0,0,0,.22);
}

#asg-configuratore-wrapper .asg-config-live-primary {
  display: grid;
  gap: 8px;
  min-width: 0;
}

#asg-configuratore-wrapper .asg-config-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0,212,170,.08);
  border: 1px solid rgba(0,212,170,.22);
  color: #00d4aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#asg-configuratore-wrapper .asg-config-live-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d4aa;
}

#asg-configuratore-wrapper #asg-config-live-title {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.02;
  letter-spacing: -.05em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

#asg-configuratore-wrapper #asg-config-live-meta {
  color: #9ab0cf;
  font-size: 13px;
  line-height: 1.4;
}

#asg-configuratore-wrapper .asg-config-live-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

#asg-configuratore-wrapper .asg-config-live-actions .btn {
  min-height: 54px;
  border-radius: 18px;
  justify-content: center;
  text-align: center;
  padding: 0 14px;
  font-size: 14px;
}

#asg-configuratore-wrapper .asg-config-sections-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

#asg-configuratore-wrapper .asg-config-status-note {
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  line-height: 1.4;
  font-size: 13px;
  background: linear-gradient(135deg, rgba(0,212,170,.12), rgba(0,153,255,.08));
  border: 1px solid rgba(0,212,170,.18);
  color: #dffdf5;
}

@media (max-width: 1180px) {
  #asg-configuratore-wrapper .asg-config-live-actions,
  #asg-configuratore-wrapper .asg-config-sections-nav {
    grid-template-columns: 1fr;
  }
}
