/**
 * LG 3D Viewer — enhanced shortcode layout.
 *
 * Used only when [lg_model] renders heading / description / bg attributes
 * (e.g. the Elementor product template with padding=0). The viewer itself
 * injects its own component styles from assets/js/viewer.js.
 */

.lg3d-model-section {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(24px, 4vw, 40px) 0;
}

.lg3d-model-section--alt {
  background: #f5f5f7;
}

.lg3d-model-section__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.lg3d-model-section__heading {
  margin: 0 0 0.5rem;
  color: #111111;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lg3d-model-section__description {
  max-width: 820px;
  margin: 0 0 1.5rem;
  color: #555555;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
}

.lg3d-model-section__description:empty {
  display: none;
}

@media (max-width: 640px) {
  .lg3d-model-section {
    padding: 20px 0;
  }

  .lg3d-model-section__description {
    margin-bottom: 1rem;
  }
}
