.bb-customize-open{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:16px 19px;margin:0 0 20px;border:1px solid #d6b9e4;border-radius:14px;background:#efe0f5;color:#775285;font:600 13px var(--sans);transition:background .18s,transform .18s}
.bb-customize-open:hover{background:#e7d2f0;transform:translateY(-1px)}
.bb-customize-open svg{width:21px;height:21px}
.bb-product-design-summary{font-size:10px;line-height:1.7;color:#80628c;margin:10px 0 3px}
.bb-product-emoji-charge{font-size:10px;color:#9b6482;background:#f8e5ec;padding:7px 10px;border-radius:8px;margin:5px 0 13px}
.bb-customizer{width:min(1160px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 36px);padding:0;border:1px solid #dcc9e4;border-radius:25px;background:#fffaf7;box-shadow:0 24px 100px #5035573d}
.bb-customizer [hidden]{display:none!important}
.bb-customizer::backdrop{background:#56415f66;backdrop-filter:blur(8px)}
.bb-customizer-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px 27px;border-bottom:1px solid #eaddeb;background:#fffaf7}
.bb-customizer-header h2{font:500 25px/1.15 'Fredoka',var(--sans);color:#785381;letter-spacing:-.4px}
.bb-customizer-header .icon-button{background:#f1e4f5;color:#95729f;flex-shrink:0}
.bb-customizer-body{display:grid;grid-template-columns:1.4fr 1fr;align-items:start;background:#f0e1f3}
.bb-customizer-preview{display:flex;flex-direction:column;justify-content:center;min-width:0;align-self:start;height:min(590px,calc(100dvh - 120px));min-height:500px;padding:26px;background:radial-gradient(ellipse at 35% 28%,#fcf0ed,#edddf4);position:sticky;top:0}
.bb-customizer-preview>span{font-size:10px;font-weight:500;color:#95719e;padding-left:3px}
.bb-customizer-stage{position:relative;width:100%;aspect-ratio:1.5;isolation:isolate}
.bb-customizer-ear,.bb-customizer-template{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;stroke:none;fill:none}
.bb-customizer-ear{filter:drop-shadow(0 14px 12px #745e6c19)}
.bb-embroidery{position:absolute;left:50%;top:50%;width:72%;height:auto;aspect-ratio:40 / 11;transform:translate(-50%,-50%);overflow:visible;stroke:none;pointer-events:none}
.bb-embroidery text{stroke-width:.8;paint-order:stroke fill;filter:drop-shadow(0 1px 1px #8e607f3d)}
.bb-embroidery #stitch-emoji{filter:none;stroke:none;fill:#69496e}
.bb-customizer-stage[data-product=doudou] .bb-embroidery{top:62%;width:57%}
.bb-customizer-stage[data-product=babero] .bb-embroidery{top:63%;width:45%}
.bb-customizer-stage[data-product=cubiertos] .bb-embroidery{top:38%;left:53%;width:41%}
.bb-customizer-preview>p{font-size:10px;line-height:1.8;text-align:center;max-width:380px;margin:8px auto 0;color:#8d7598}
.bb-customizer-form{padding:25px 27px 27px;min-width:0;background:#fffaf7}
.bb-customizer-label{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin-bottom:9px}
.bb-customizer-label label,.bb-customizer-field-title{font:500 11px var(--sans);color:#795887}
.bb-customizer-label span{font-size:9px;color:#aa91b2}
#customizer-name{background:#fffefa;border-color:#d9c4e3;border-radius:11px;font-size:14px;padding:12px 14px}
.bb-customizer-field-title{display:block;margin:21px 0 11px}
.bb-font-picker{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.bb-font-picker button{padding:8px 10px 9px;border:1px solid #e3d2eb;border-radius:12px;background:#fffaf7;color:#9c7aa7;text-align:center}
.bb-font-picker button>span{display:block;line-height:1.2;font-size:27px;margin:0 0 4px}
.bb-font-picker button small{font:400 9px var(--sans)}
.bb-font-picker button[aria-pressed=true]{background:#edddf4;border-color:#b58bc5;color:#79518b}
.bb-font-picker button:hover{border-color:#ba99c8}
.bb-thread-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:21px 0 11px}.bb-thread-heading .bb-customizer-field-title{margin:0}.bb-thread-current{display:flex;align-items:center;gap:6px;font:400 9px var(--sans);color:#93709f}.bb-thread-current:before{content:'';width:12px;height:12px;border-radius:50%;background:var(--thread-color);border:1px solid #bea5c3}
.bb-editor-colors{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px 9px;padding:15px;background:linear-gradient(135deg,#f3e7f7,#fcf1ed);border:1px solid #ead8ed;border-radius:16px}
.bb-editor-colors button{position:relative;display:grid;place-items:center;width:100%;max-width:36px;aspect-ratio:1;padding:0;border:3px solid #fffaf7;border-radius:50%;background:var(--thread-color);box-shadow:0 2px 5px #73537e15;outline:2px solid transparent;outline-offset:2px;transition:outline-color .15s,transform .15s}
.bb-editor-colors button:hover{transform:translateY(-2px);outline-color:#d8bfe2}.bb-editor-colors button[aria-pressed=true]{outline-color:#9671a5}.bb-editor-colors button[aria-pressed=true]:after{content:'✓';font-size:15px;font-weight:700;color:var(--check-color);text-shadow:0 1px 2px #49304f40}.bb-editor-colors button:focus-visible{outline:3px solid #69496e;outline-offset:3px}
.bb-emoji-toggle{display:flex;align-items:center;gap:10px;justify-content:center;width:100%;padding:13px 10px;margin-top:22px;border:1px dashed #d9bd83;border-radius:13px;background:#fff0cc;color:#8d704b;font:500 11px var(--sans)}
.bb-emoji-toggle>span:first-child{font-size:22px;line-height:1}
.bb-emoji-toggle strong{padding:4px 7px;background:#fffaf3;border-radius:20px;font:600 10px var(--sans);white-space:nowrap}
.bb-emoji-toggle:hover{background:#fbe8b4}
.bb-emoji-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:11px;padding:10px;background:#f4eaf8;border-radius:13px}
.bb-emoji-picker button{display:grid;place-items:center;background:#fffaf7;border:1px solid transparent;border-radius:9px;aspect-ratio:1;font-size:24px;padding:0}
.bb-emoji-picker button:hover{background:#fff0cc}
.bb-emoji-picker button[aria-pressed=true]{border-color:#ac7cbb;background:#ead7f2}
.bb-emoji-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;min-height:20px;font-size:10px;color:#8d6998}
.bb-emoji-selection button{background:none;color:#9e7ba9;font-size:9px;text-decoration:underline;text-underline-offset:3px;padding:5px 0}
.bb-customizer-pricing{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding-top:19px;margin-top:20px;border-top:1px solid #e8d8ec}
.bb-customizer-pricing span{font-size:10px;color:#9a7ba7}
.bb-customizer-pricing strong{font:500 25px var(--sans);color:#92639f;letter-spacing:-.8px}
.bb-customizer-cost-note{font-size:9px;line-height:1.6;color:#9f819e;margin-top:7px}
.bb-customizer-save{width:100%;padding:14px 17px;min-height:48px;margin-top:17px;border-radius:26px;background:#deb5d0;color:#63416a;font:600 12px var(--sans);transition:background .18s,transform .18s}
.bb-customizer-save:hover{background:#d4a4c3}
.bb-customizer-save:active{transform:scale(.98)}
@media(max-width:900px){.bb-customizer{width:calc(100vw - 28px)}.bb-customizer-body{grid-template-columns:1.12fr 1fr}.bb-customizer-form{padding:22px}.bb-customizer-preview{padding:17px}.bb-emoji-picker{grid-template-columns:repeat(4,1fr)}.bb-emoji-picker button{aspect-ratio:auto;min-height:40px}}
@media(max-width:720px){.bb-customizer{width:100%;height:100dvh;max-height:100dvh;max-width:100%;border:0;border-radius:0;margin:0;overflow-y:auto}.bb-customizer-header{position:sticky;top:0;z-index:3;padding:16px 21px}.bb-customizer-header h2{font-size:23px}.bb-customizer-body{grid-template-columns:1fr}.bb-customizer-preview{padding:16px 19px 17px;position:relative;height:auto;min-height:0}.bb-customizer-stage{max-width:480px;margin:auto;aspect-ratio:1.5}.bb-customizer-preview>span{font-size:9px}.bb-customizer-preview>p{font-size:9px;max-width:300px;margin-top:1px}.bb-customizer-form{padding:23px 24px 30px}.bb-font-picker{grid-template-columns:repeat(3,1fr);gap:8px}.bb-font-picker button{padding:9px 4px}.bb-font-picker button>span{font-size:23px}.bb-font-picker button small{font-size:8px}.bb-emoji-picker{grid-template-columns:repeat(6,1fr)}.bb-emoji-toggle{padding:12px;margin-top:20px}.bb-customizer-field-title{margin-top:19px}.bb-customizer-pricing{margin-top:18px;padding-top:17px}.bb-customize-open{font-size:12px;padding:15px 17px}.bb-editor-colors{gap:12px 9px;padding:14px}.bb-editor-colors button{padding:0;max-width:36px}.bb-thread-current{font-size:9px}}
@media(prefers-reduced-motion:reduce){.bb-customizer button,.bb-customize-open{transition:none!important}}
