/* artplate editor */
.artplate-content { overflow: hidden; }
.artplate-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); min-height: 560px; }
.artplate-preview-wrap { position: relative; min-height: 420px; background: linear-gradient(180deg, #f6f4f0 0%, #e7e3dc 62%, #d5d0c7 100%); }
#artplate-viewer { position: absolute; inset: 0; }
#artplate-viewer canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.artplate-dims, .artplate-hint { position: absolute; bottom: 10px; font-size: 12px; color: #5d5a55; background: rgba(255, 255, 255, .72); padding: 2px 8px; border-radius: 10px; }
.artplate-dims { left: 12px; }
.artplate-hint { right: 12px; }
.artplate-wait { position: absolute; top: 12px; right: 12px; }
.artplate-spin { width: 22px; height: 22px; border: 3px solid rgba(0, 0, 0, .15); border-top-color: rgba(0, 0, 0, .55); border-radius: 50%; animation: artplate-spin .8s linear infinite; }
@keyframes artplate-spin { to { transform: rotate(360deg); } }
.artplate-controls { overflow-y: auto; max-height: 82vh; }
.artplate-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #333; }
.artplate-label span { font-weight: 400; color: #666; }
.artplate-fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-height: 232px; overflow-y: auto; padding: 2px; }
.artplate-font { border: 1px solid #cfcac2; background: #fff; border-radius: 8px; padding: 6px 8px; font-size: 19px; line-height: 1.25; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: #222; min-height: 40px; }
.artplate-font.is-on { border-color: #1b6ec2; box-shadow: 0 0 0 2px rgba(27, 110, 194, .28); }
.artplate-border { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.artplate-opt { border: 1px solid #cfcac2; background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 15px; color: #222; cursor: pointer; }
.artplate-opt.is-on { border-color: #1b6ec2; box-shadow: 0 0 0 2px rgba(27, 110, 194, .28); font-weight: 600; }
.artplate-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.artplate-sw { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .28); cursor: pointer; padding: 0; position: relative; }
.artplate-sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1b6ec2; }
.artplate-sw.is-off { opacity: .22; cursor: not-allowed; }
.artplate-route { font-size: 13px; background: #eef5fc; border: 1px solid #c9def3; color: #1d3f63; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.artplate-msg { font-size: 13px; background: #fdf1ef; border: 1px solid #f1c7c1; color: #8a2a1f; border-radius: 8px; padding: 8px 10px; }
.artplate-msg.is-ok { background: #eef8f0; border-color: #bfe2c6; color: #1f5c2c; }
.artplate-qty { width: 84px; }
@media (max-width: 991px) {
  .artplate-grid { grid-template-columns: 1fr; }
  .artplate-preview-wrap { min-height: 46vh; }
  .artplate-controls { max-height: none; }
}
