/* Simple modal designer */
.cd-modal{ position: fixed; inset:0; background: rgba(0,0,0,.45); z-index: 9999; }
.cd-modal-content{ width: 900px; max-width: 95vw; max-height: 90vh; margin: 5vh auto; background:#fff; border-radius:10px; overflow:hidden; display:flex; flex-direction:column; border:1px solid #e5e7eb; }
.cd-modal-header, .cd-modal-footer{ padding:10px; background:#f9fafb; border-bottom:1px solid #e5e7eb; display:flex; align-items:center; justify-content:space-between; }
.cd-modal-footer{ border-top:1px solid #e5e7eb; border-bottom:none; }
.cd-close{ background:transparent; border:none; font-size:22px; line-height:1; cursor:pointer; }
.cd-modal-body{ padding:10px; display:grid; grid-template-columns: 160px 1fr; gap:10px; overflow:auto; }
.cd-tools{ display:flex; flex-direction:column; gap:8px; }
.cd-views{ display:flex; gap:6px; margin-bottom:8px; grid-column: 1 / -1; }
.cd-views .cd-view-btn{ border:1px solid #d1d5db; background:#fff; padding:6px 10px; border-radius:6px; cursor:pointer; }
.cd-views .cd-view-btn.is-active{ background:#2563eb; color:#fff; border-color:#2563eb; }
.cd-canvas{ border:1px dashed #d1d5db; border-radius:8px; background:#fff; padding:6px; overflow:auto; grid-column: 1 / -1; }
.cd-canvas canvas{ display:block; width: 100%; height: auto; }

.ciasoft-customize .button#cd-open{ margin-bottom:8px; }
.cd-price-label strong{ font-size:16px; }
.cd-upload input[type=file]{ display:none; }
