/* Brand overrides preserve the original product geometry and color mapping. */
:root{--red:#e6002b;--blue:#0057ff;--ink:#17213a;--cream:#fff4e1;--lime:#ffd84d;--white:#fffdf8;--line:#d9d5cb;--muted:#687287;--shadow:6px 6px 0 var(--red)}
html{scroll-behavior:auto;background:var(--cream)}body{background:var(--cream);font-family:Pretendard,"Noto Sans KR",Arial,sans-serif}
.customizer-section{padding:18px 10px 30px;background:var(--cream)}
.section-heading{margin:0 0 18px;max-width:none;display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;text-align:left}
.section-heading .eyebrow{font-family:inherit;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--blue);margin:0}
.section-heading h2{color:var(--red);font-size:26px;font-weight:900;letter-spacing:-.055em}.section-heading>p:last-child{font-size:12px;margin:0;line-height:1.6}
.product-workspace{--preview-stage-height:540px;border:2px solid var(--blue);border-radius:24px;box-shadow:6px 6px 0 var(--red);background:var(--white)}
.preview-panel{background:var(--cream)}.control-panel{background:var(--white)}.panel-top{color:var(--blue);font-weight:900}.status-dot{background:var(--red);box-shadow:0 0 0 4px #e6002b13}
.editor-callout{border:1px solid #ead99c;background:#fff0ae;box-shadow:none;color:var(--ink)}.editor-callout strong{color:var(--ink)}
.canvas-wrap,.shape-view{background:#fff;border-radius:18px}.edit-tools{background:var(--white);border:1px solid #d8dce6;border-radius:16px}.edit-tools h4{color:var(--blue)}
.upload-box{border:1.5px dashed var(--blue);background:#edf3ff;border-radius:12px}.upload-box:hover{background:#dfeaff}
.editor-targets button.active{background:var(--blue);border-color:var(--blue);color:white}.font-option.active,.product-option:has(input:checked){border-color:var(--blue);background:#edf3ff}
.save-preview{background:var(--blue);color:white;border-color:var(--blue);font-weight:800}.control-panel h3{color:var(--red);font-weight:900}
.button.primary{background:var(--red);border:1px solid var(--red);color:white;box-shadow:3px 3px 0 var(--blue);border-radius:999px}.button.primary:hover{background:#cc0026;transform:translateY(-1px)}
.button.ghost{color:var(--blue);border-color:var(--blue);border-radius:999px}.price-card{background:var(--ink);border-radius:16px}.price-card .total strong{color:var(--lime)}
.sample-detail-link{color:var(--blue);border-color:var(--blue);background:#edf3ff}.spec-block{border-color:#ddd2bc;background:#fffaf0;border-radius:18px}.spec-block h3{color:var(--red)}
.sample-detail-dialog{border:2px solid var(--blue);box-shadow:8px 8px 0 var(--red)}.sample-detail-header{background:var(--cream);border-color:var(--blue)}.sample-detail-header h2{color:var(--red)}.sample-detail-header button{background:var(--blue);color:white;border-color:var(--blue)}
html.embedded .sample-detail-dialog{position:fixed;top:var(--host-visible-top,12px);margin:0 auto;height:var(--host-visible-height,650px);max-height:var(--host-visible-height,650px)}
html.embedded #toast{top:calc(var(--host-visible-top,12px) + var(--host-visible-height,650px) - 70px);bottom:auto;max-width:calc(100% - 32px)}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.product-size-note{position:absolute;right:12px;bottom:10px;z-index:5;pointer-events:none;padding:9px 12px;border:1px solid var(--blue);border-radius:12px;background:#fffdf8f5;color:var(--ink);text-align:left}
.product-size-note small{display:block;color:var(--blue);font-size:8px;font-weight:900;letter-spacing:.06em}.product-size-note strong{display:block;margin:5px 0;font-size:12px;white-space:nowrap;letter-spacing:-.035em}.product-size-note span{display:block;font-size:9px}.product-size-note p{font-size:9px;line-height:1.55;margin:7px 0 0;color:#657084}
@media(max-width:1050px){.product-workspace{--preview-stage-height:510px}}
.product-size-note--mobile{display:none}
/* A separate grid row reserves real space; the label never overlays the product. */
@media(max-width:900px){
  .preview-stage{grid-template-rows:minmax(0,1fr) auto var(--stage-actions-height) 44px;grid-template-areas:"product" "size" "actions" "notice"}
  .preview-stage .canvas-wrap,.preview-stage .shape-view{width:min(100%,calc(var(--preview-stage-height) - var(--stage-actions-height) - 148px),600px)}
  .canvas-wrap>.product-size-note,.shape-view>.product-size-note{display:none}
  .preview-stage>.product-size-note--mobile{display:block;position:static;grid-area:size;justify-self:stretch;max-width:100%;min-width:0;z-index:auto;text-align:center;padding:8px 6px}
  .product-size-note--mobile strong{white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:660px){.customizer-section{padding:14px 6px 24px}.section-heading{gap:8px}.section-heading .eyebrow{width:100%}.section-heading h2{font-size:23px}.product-workspace{--preview-stage-height:500px;border-radius:18px;box-shadow:4px 4px 0 var(--red)}.spec-block{margin-top:24px}}
.spec-block{margin-top:16px;padding:18px 20px;gap:20px;align-items:start}.spec-block h3{font-size:20px}.spec-block .eyebrow{margin:0 0 8px}.spec-block p:not(.eyebrow){margin:8px 0;font-size:12px}.spec-block dl>div{padding:7px 0;grid-template-columns:100px 1fr}.spec-block dl>div dd{line-height:1.6}@media(max-width:660px){.spec-block{margin-top:16px;padding:16px;gap:10px}}
