.cmc-card-maker{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;align-items:start}
/* Place beside your existing scoped styles */
.cmc-line-row {
  display:flex; align-items:center; gap:10px;
}
.cmc-line-row input[type="text"] { flex: 1 1 auto; min-width: 0; }
.cmc-inline { display:inline-flex; align-items:center; gap:6px; }
.cmc-card-form .cmc-field{margin-bottom:12px}
.cmc-row{display:flex;gap:12px;flex-wrap:wrap}
.cmc-field label{display:block;font-weight:600;margin-bottom:6px}
.cmc-actions {display:flex;gap:10px;align-items:center;margin-top:8px}
.cmc-actions button[type="submit"] {
  background-color: #222222;
  color: white;
  padding: 12px 20px;
  border-radius: 7px;
  font-size: 1.2em;
  text-transform: uppercase;
}
.cmc-status{margin-left:8px}
.cmc-canvas-wrap{position:sticky;top:12px}
#cmcCardCanvas{width:100%;height:auto;display:block;background:#fff;border-radius:12px;box-shadow:0 6px 22px rgba(0,0,0,.5)}
.cmc-size-note{font-size:12px;color:#666;margin-top:6px}
.cmc-handle-hint {
  position: absolute;
  padding: 6px 8px;
  background: rgba(0,0,0,.78);
  color: #fff;
  border-radius: 8px;
  font: 12px/1.2 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  pointer-events: none;
  opacity: 0;
  transform: translate(8px, 8px);
  transition: opacity .18s ease;
  white-space: nowrap;
}
.helper-text { color: green; font-weight: bold; }
.cmc-handle-hint {
  position: absolute;
  padding: 6px 8px;
  background: rgba(0,0,0,.78);
  color: #fff;
  border-radius: 8px;
  font: 12px/1.2 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  pointer-events: none;
  opacity: 0;
  transform: translate(8px, 8px);
  transition: opacity .18s ease;
  white-space: nowrap;
  z-index: 1000; /* <-- add this */
}
.cmc-handle-hint.show { opacity: 1; }


/* Remove space at top. */
.et_pb_section_0 { padding-top: 0; }

/* Product pages like this:
<div class="cmc-card-overlay">
<div class="cmc-card-redirect-message">
<h2>Redirecting to product options...</h2>
</div>
</div>
*/
.cmc-card-overlay {
  z-index: 9999;
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.cmc-card-redirect-message {
  position: absolute;
  background-color: #444;
  z-index: 10000;
  font-size: 30px;
  padding: 20px;
  width: 600px;
  max-width: 90%;
  max-height: 90%;
  text-transform: uppercase;
  position: absolute;
  top: 30%;
  left: 50%;
  border: 3px solid #eee;
  box-shadow: 0 6px 6px -6px rgba(0, 0, 0, .6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}
.cmc-card-redirect-message h2 {
  line-height: 1.2em;
  padding-bottom: 0;
  padding-top: 0;
  color: white;
}
