/* Shoe Customizer — admin builder styling. */
.sc-wrap .sc-cols { display: flex; gap: 20px; align-items: flex-start; margin-top: 12px; }
.sc-wrap .sc-main { flex: 1 1 auto; min-width: 0; }
.sc-wrap .sc-side { flex: 0 0 240px; position: sticky; top: 46px; }

.sc-card { background: #fff; border: 1px solid #dcdcde; border-radius: 6px; padding: 12px 18px 18px; margin-bottom: 18px; }
.sc-card h2 { margin: 6px 0 4px; font-size: 15px; }
.sc-card .sc-sub { font-weight: 400; color: #787c82; font-size: 12px; }

.sc-media-preview { max-width: 220px; height: auto; display: block; margin-bottom: 8px; border: 1px solid #dcdcde; background: #f6f7f7; border-radius: 4px; }

.sc-zone-row { border: 1px solid #e0e0e0; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; background: #fbfbfc; }
.sc-zone-grid { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.sc-zone-grid label { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: #50575e; gap: 3px; }
.sc-zone-grid input[type=text] { min-width: 160px; }
.sc-zone-del { margin-left: auto; font-size: 15px; text-decoration: none; }
.sc-layers-lab { display: block; font-size: 12px; font-weight: 600; color: #50575e; margin: 8px 0 3px; }
.sc-layers { font-size: 12px; }

table.sc-palette { border-collapse: collapse; width: auto; }
table.sc-palette th { text-align: left; font-size: 12px; color: #50575e; padding: 2px 10px 2px 0; }
table.sc-palette td { padding: 3px 10px 3px 0; vertical-align: middle; }
table.sc-palette input[type=text] { width: 150px; }
.sc-chip { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #c3c4c7; vertical-align: middle; }

.sc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c3c4c7; vertical-align: middle; margin-right: 3px; }
.sc-dot.on { background: #46b450; }

.sc-empty { background: #fff; border: 1px solid #dcdcde; border-radius: 6px; padding: 26px; text-align: center; max-width: 620px; margin-top: 16px; }
.sc-empty p { font-size: 14px; color: #50575e; }

/* Zone actions (slices + logo area) */
.sc-zone-actions { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.sc-zone-actions .sc-clear-print { font-size: 12px; text-decoration: none; color: #b32d2e; }
.sc-pa-flag { color: #46b450; font-weight: 700; }

/* Paid option groups */
.sc-optgroup { border: 1px solid #e0e0e0; border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; background: #fbfbfc; }
.sc-optgroup-head { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.sc-optgroup-head label { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: #50575e; gap: 3px; }
.sc-optgroup-head .sc-og-req { flex-direction: row; align-items: center; gap: 5px; font-weight: 600; }
.sc-og-label input { min-width: 200px; }
.sc-optgroup-del { margin-left: auto; font-size: 15px; text-decoration: none; }

.sc-options { margin: 10px 0 4px; }
.sc-option-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; flex-wrap: wrap; }
.sc-option-row .sc-opt-label { width: 150px; }
.sc-option-row .sc-opt-delta { font-size: 12px; color: #50575e; white-space: nowrap; }
.sc-option-row .sc-opt-delta input { width: 84px; }
.sc-option-row .sc-opt-hex { width: 110px; }
.sc-option-row .sc-opt-zone { max-width: 150px; }
.sc-option-del { margin-left: auto; text-decoration: none; }

.sc-og-rule { font-size: 12px; color: #50575e; margin: 8px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sc-rule-lab { font-weight: 600; }

/* Logo print-area drawer */
.sc-pa-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 100000; display: none; align-items: center; justify-content: center; }
.sc-pa-box { background: #fff; border-radius: 8px; padding: 14px 16px; max-width: 92vw; box-shadow: 0 8px 40px rgba(0,0,0,0.35); }
.sc-pa-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sc-pa-head .sc-pa-hint { color: #787c82; font-weight: 400; font-size: 12px; }
.sc-pa-head .sc-pa-close { margin-left: auto; text-decoration: none; font-size: 15px; }
.sc-pa-stage { line-height: 0; border: 1px solid #dcdcde; border-radius: 4px; overflow: hidden; background: #f6f7f7; }
.sc-pa-canvas { max-width: 100%; height: auto; cursor: crosshair; touch-action: none; }
.sc-pa-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.sc-pa-dims { font-size: 12px; color: #50575e; }
.sc-pa-foot .sc-pa-save { margin-left: auto; }
