
:root{--cream:#fbf7f0;--paper:#fffdf9;--ink:#51483f;--muted:#8f8277;--line:#eee3d8;--peach:#dc9474;--sage:#9eae94;--blue:#90aeb6;--honey:#d6a14d;--shadow:0 18px 45px rgba(112,91,70,.12);font-family:Inter,"Segoe UI",Arial,sans-serif;color:#51483f}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 12% 6%,#fff 0,#fff9f1 38%,#f8f0e7 100%);color:var(--ink);min-height:100vh}.app{min-height:100vh;display:grid;grid-template-columns:minmax(360px,430px) 1fr;gap:22px;padding:22px;max-width:1500px;margin:auto}.previewColumn{min-width:0;align-self:start;position:sticky;top:22px}.previewColumn .stage{width:100%;position:relative;top:auto}.previewColumn .guideCard{margin-top:14px;background:rgba(255,253,249,.94);box-shadow:var(--shadow)}.previewColumn .guideList{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.previewColumn .guideItem{height:100%;padding:11px}.previewColumn .guideMeta{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.designer{background:rgba(255,253,249,.94);border:1px solid rgba(236,224,212,.9);border-radius:28px;padding:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-width:0}.languageBar{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 2px 0}.languageBar label{font-size:11px;font-weight:800;color:#927e70}.langButtons{display:flex;gap:8px;align-items:center}.langBtn{display:flex;align-items:center;gap:8px;border:1px solid #eaded3;background:#fff;border-radius:14px;padding:7px 10px;color:#6d5d51;font-weight:800;outline:none;cursor:pointer;transition:.18s ease;box-shadow:0 1px 0 rgba(0,0,0,.02)}.langBtn:hover{transform:translateY(-1px);border-color:#d8c6b8}.langBtn.active{border-color:#d6a38a;box-shadow:0 0 0 4px #f8e8df;color:#4f463e}.flagIcon{width:26px;height:18px;object-fit:cover;border-radius:4px;display:block;border:1px solid rgba(0,0,0,.08)}.intro{text-align:center;padding:14px 8px 8px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#b08169}.intro h1{font-size:27px;line-height:1.12;margin:7px 0 7px}.intro p{font-size:14px;color:var(--muted);margin:0;line-height:1.5}.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:14px 0 8px}.step{padding:8px 4px;border-radius:12px;background:#faf4ed;font-size:11px;text-align:center;color:#927e70}.step b{display:block;font-size:13px;color:#6d5d51;margin-bottom:2px}.card{border:1px solid var(--line);border-radius:20px;padding:16px;margin-top:12px;background:#fff}.cardTitle{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:800;margin-bottom:12px;flex-wrap:wrap}.bubble{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f7e5dc;color:#b66f52;font-size:13px}.fieldLabel{font-size:12px;font-weight:700;color:#77685d;margin:0 0 7px;display:block}.bigInput{width:100%;border:1.5px solid #e8dcd1;background:#fffdfb;color:#51483f;border-radius:15px;padding:13px 14px;font-size:17px;outline:none;transition:.2s}.bigInput:focus{border-color:#d6a38a;box-shadow:0 0 0 4px #f8e8df}.letterInput{text-align:center;font-family:"Cooper Black","Cooper Black Std",Georgia,serif;font-size:30px;text-transform:uppercase}.hint{font-size:11px;color:#a09287;margin-top:7px}.rangeStack{display:grid;gap:12px}.rangeRow{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.miniValue{min-width:62px;text-align:center;background:#faf5ef;border:1px solid #eaded3;border-radius:12px;padding:8px 10px;font-weight:800;color:#7b685c;font-size:13px}.rangeInput{appearance:none;width:100%;height:10px;border-radius:999px;background:linear-gradient(90deg,#f1ddd0,#f7eee7);outline:none}.rangeInput::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:50%;background:#d48f72;border:3px solid #fff;box-shadow:0 2px 10px rgba(140,93,70,.18);cursor:pointer}.rangeInput::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#d48f72;border:3px solid #fff;box-shadow:0 2px 10px rgba(140,93,70,.18);cursor:pointer}.stepper{display:grid;grid-template-columns:54px 1fr 54px;gap:8px;align-items:center;margin-top:8px}.stepBtn{height:44px;border:0;border-radius:13px;background:#f6e7dd;color:#9b684f;font-size:24px;font-weight:900;cursor:pointer;box-shadow:0 4px 12px rgba(143,96,70,.08)}.stepBtn:active{transform:scale(.97)}.anglePresets{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px}.anglePreset{border:1.5px solid #eaded3;background:#fff;border-radius:12px;padding:9px 7px;color:#7c685b;font-weight:800;cursor:pointer}.anglePreset:hover{background:#faf3ed}.anglePreset.active{background:#fff0e7;border-color:#cf8a6c;color:#a76348;box-shadow:0 4px 12px rgba(155,102,76,.10)}.dragHint{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:7px 10px;border-radius:999px;background:#f8efe9;color:#8b6d5c;font-size:11px;font-weight:700}.dragDot{width:8px;height:8px;border-radius:50%;background:#d38d70}#gl.nameHover{cursor:grab}#gl.nameDragging{cursor:grabbing}.sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sizeChoice{border:1.5px solid #eaded3;background:#fff;border-radius:14px;padding:11px 6px;cursor:pointer;color:#6d5d51;font-weight:800}.sizeChoice span{display:block;font-size:10px;font-weight:500;color:#9b8d82;margin-top:2px}.sizeChoice.active{border-color:#c98669;background:#fff3ec;color:#a75f43;box-shadow:0 5px 14px rgba(191,119,86,.13)}.colorGroups{display:grid;grid-template-columns:1fr 1fr;gap:14px}.decorLibrary{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.decorAdd{border:1.5px solid #eaded3;background:#fffdfb;border-radius:16px;padding:12px 14px;cursor:pointer;color:#6d5d51;min-height:72px;transition:.18s;display:flex;align-items:center;justify-content:center;gap:10px;text-align:left}.decorAdd:hover{transform:translateY(-1px);border-color:#d4a68f;background:#fff6f0}.decorIcon{display:block;width:34px;height:34px;line-height:1;margin-bottom:0;flex:0 0 34px}
.decorIcon svg{display:block;width:100%;height:100%;overflow:visible}
.decorAdd[data-decor="star"] .decorIcon{color:#F0DFA8}
.decorAdd[data-decor="cloud"] .decorIcon{color:#F7F7F5}
.decorAdd[data-decor="gerbera"] .decorIcon{color:#EDD8CE}
.decorAdd[data-decor="star"] .decorIcon path{fill:currentColor;stroke:#D8C48A;stroke-width:1.4;stroke-linejoin:round}
.decorAdd[data-decor="cloud"] .decorIcon path{fill:currentColor;stroke:#CFC8C1;stroke-width:2;stroke-linejoin:round}
.decorAdd[data-decor="gerbera"] .decorIcon .petals{fill:currentColor;stroke:#D1AFA4;stroke-width:.7}
.decorAdd[data-decor="gerbera"] .decorIcon .flowerCenter{fill:#F7F7F5;stroke:#D7CFC8;stroke-width:1.2}
.decorAdd[data-decor="balloon"] .decorIcon{color:#A3B5D2}
.decorAdd[data-decor="balloon"] .decorIcon .balloonBody{fill:currentColor;stroke:#8799B7;stroke-width:1.4}
.decorAdd[data-decor="balloon"] .decorIcon .balloonLines{fill:none;stroke:#F7F7F5;stroke-width:1.7;stroke-linecap:round;opacity:.9}
.decorAdd[data-decor="balloon"] .decorIcon .balloonBasket{fill:currentColor;stroke:#8799B7;stroke-width:1.2}
.decorAdd[data-decor="butterfly"] .decorIcon{color:#B3BAD0}
.decorAdd[data-decor="butterfly"] .decorIcon .wing{fill:currentColor;stroke:#939BB7;stroke-width:1.3;stroke-linejoin:round}
.decorAdd[data-decor="butterfly"] .decorIcon .body{fill:#8E8292}
.decorAdd[data-decor="butterfly"] .decorIcon .antenna{fill:none;stroke:#8E8292;stroke-width:1.5;stroke-linecap:round}
.decorAdd[data-decor="rose"] .decorIcon{color:#D94A4A}
.decorAdd[data-decor="rose"] .decorIcon>svg>path:first-child{fill:currentColor;stroke:#B83C3C;stroke-width:1.2}
.decorAdd[data-decor="rose"] .decorIcon .roseInner{fill:none;stroke:#F3C3C3;stroke-width:2.2;stroke-linecap:round}
.decorAdd[data-decor="heart"] .decorIcon{color:#EFB4C1}
.decorAdd[data-decor="heart"] .decorIcon path{fill:currentColor;stroke:#D398A7;stroke-width:1.4;stroke-linejoin:round}
.decorAdd[data-decor="ivy"] .decorIcon{color:#7E8063}
.decorAdd[data-decor="ivy"] .decorIcon .ivyStem{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.decorAdd[data-decor="ivy"] .decorIcon .ivyLeaf{fill:currentColor;stroke:#686A54;stroke-width:1.1;stroke-linejoin:round}
.decorAdd small{font-size:13px;font-weight:800}.decorEditor{margin-top:12px;border:1px solid #eaded3;border-radius:16px;padding:13px;background:#fffaf5}.decorEditor[hidden]{display:none}.decorEditorHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.decorEditorHead strong{font-size:14px}.decorActions{display:flex;gap:6px}.tinyBtn{width:auto;border:1px solid #e6d8cd;background:#fff;border-radius:10px;padding:7px 9px;color:#7b675a;font-size:11px;font-weight:800;cursor:pointer}.tinyBtn.danger{color:#b25c55;background:#fff6f4}.decorColorWrap{margin-top:10px}.decorSwatches{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 7px;scrollbar-width:thin}.decorSwatches .swatch{flex:0 0 32px;width:32px;height:32px}.decorList{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.decorChip{border:1px solid #eaded3;background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;color:#7a675a;cursor:pointer}.decorChip.active{background:#fff0e8;border-color:#d59b7f;color:#a66045;font-weight:800}.decorCount{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;height:auto;padding:4px 7px;border-radius:999px;background:#f6e6dc;color:#a5664d;font-size:11px;font-weight:900;margin-left:auto}.figureLibrary{display:grid;grid-template-columns:1fr;gap:10px}.figureAdd{border:1.5px solid #eaded3;background:#fffdfb;border-radius:18px;padding:12px 14px;cursor:pointer;min-height:78px;transition:.18s;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.figureAdd:hover{transform:translateY(-1px);border-color:#d4a68f;background:#fff6f0}.figureLeft{display:flex;align-items:center;gap:12px;min-width:0}.figureIconWrap{width:42px;height:42px;border-radius:14px;background:#f8efe8;display:grid;place-items:center;color:#c19074;flex:0 0 42px}.figureIcon{width:28px;height:28px;display:block}.figureIcon svg{display:block;width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.figureName{font-size:14px;font-weight:800;color:#5f4a3e}.figureSub{display:block;font-size:11px;color:#9b8b80;margin-top:2px}.figurePrice{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:8px 10px;border-radius:999px;background:#f6e6dc;color:#a5664d;font-size:12px;font-weight:900}.figureHint{margin-top:10px;padding:10px 12px;border-radius:14px;background:#faf4ed;border:1px dashed #e7d6cb;font-size:12px;line-height:1.45;color:#87756a}.figureList{display:grid;gap:8px;margin-top:12px}.figureRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #eaded3;border-radius:15px;background:#fffaf5}.figureRowMeta{min-width:0}.figureRowTitle{font-size:13px;font-weight:800;color:#5f4a3e}.figureRowSub{font-size:11px;color:#9a897d;margin-top:2px}.figureQtyWrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.figureQtyBtn{width:32px;height:32px;border:0;border-radius:10px;background:#f6e7dd;color:#9b684f;font-size:20px;font-weight:900;cursor:pointer}.figureQtyBadge{min-width:42px;text-align:center;background:#fff;border:1px solid #eaded3;border-radius:10px;padding:7px 8px;font-weight:900;color:#7b685c;font-size:12px}.figureEmpty{padding:11px 12px;border:1px dashed #eaded3;border-radius:15px;background:#fffaf7;font-size:12px;color:#8d7b70}.figureThumb{width:54px;height:54px;border-radius:14px;object-fit:cover;border:1px solid #eaded3;background:#fff;flex:0 0 54px;box-shadow:0 4px 12px rgba(93,69,52,.08)}.figureThumb svg{width:100%;height:100%;display:block;padding:4px;box-sizing:border-box}.figureCardBody{display:grid;gap:10px;width:100%}.figureCardTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.figureConfig{display:grid;gap:8px;padding-top:2px}.figureFixedGrid{display:flex;flex-wrap:wrap;gap:6px}.figureChip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #eaded3;font-size:11px;color:#7b685c;line-height:1.2}.figureChip strong{font-size:11px;color:#5f4a3e}.figureDot{width:12px;height:12px;border-radius:50%;display:inline-block;box-shadow:0 0 0 1px rgba(0,0,0,.08) inset}.figureOptionTitle{font-size:11px;font-weight:800;color:#8a776b;letter-spacing:.02em;text-transform:uppercase}.figureOptionRow{display:grid;gap:7px}.figurePacifierSwatches{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 5px;scrollbar-width:thin}.figurePacifierSwatches .swatch{flex:0 0 32px;width:32px;height:32px}.figureMiniNote{font-size:11px;color:#9a887c;line-height:1.4}.figureProductCard{display:grid;grid-template-columns:118px minmax(0,1fr) auto;align-items:stretch;gap:14px;padding:12px;text-align:left;min-height:142px}.figureProductVisual{position:relative;width:118px;height:118px;border-radius:16px;overflow:hidden;background:#f6eee8;border:1px solid #eaded3;align-self:center}.figureProductVisual img{width:100%;height:100%;display:block;object-fit:cover}.figureProductVisual svg{width:100%;height:100%;display:block;box-sizing:border-box;padding:7px}.figurePhotoBadge{display:none;position:absolute;left:7px;bottom:7px;right:7px;padding:5px 7px;border-radius:9px;background:rgba(255,255,255,.92);backdrop-filter:blur(5px);font-size:9px;line-height:1.15;font-weight:900;color:#755f52;text-align:center}.figureProductInfo{display:flex;flex-direction:column;justify-content:center;min-width:0}.figureProductInfo .figureName{font-size:16px}.figureFixedSummary{display:block;margin-top:8px;font-size:11px;line-height:1.4;color:#8d7769}.figureAddCta{display:inline-flex;width:max-content;margin-top:10px;padding:7px 10px;border-radius:10px;background:#f6e6dc;color:#9e664d;font-size:11px;font-weight:900}.figurePhotoDisclaimer{margin-top:7px;font-size:10px;color:#9b897c;line-height:1.4}.figureRow .figureThumb{width:72px;height:72px;flex-basis:72px}@media(max-width:560px){.figureProductCard{grid-template-columns:92px 1fr;padding:10px}.figureProductVisual{width:92px;height:92px}.figureProductCard>.figurePrice{grid-column:2;justify-self:start}.figureProductInfo .figureName{font-size:14px}}.swatches{display:flex;flex-wrap:wrap;gap:8px}.swatch{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #e6d9ce;cursor:pointer;padding:0;position:relative}.swatch.active{box-shadow:0 0 0 2px #725f52,0 5px 12px rgba(88,69,54,.17)}.swatch.active:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35);font-size:14px;font-weight:900}.summary{margin-top:auto;border-top:1px dashed #e8dbcf;padding-top:15px}.summaryGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}.summaryItem{background:#faf5ef;border-radius:13px;padding:9px 10px}.summaryItem small{display:block;color:#a09286;font-size:10px;margin-bottom:2px}.summaryItem strong{font-size:13px}.confirm{width:100%;border:0;border-radius:16px;padding:14px;background:linear-gradient(135deg,#d98d6b,#c87959);color:#fff;font-weight:900;font-size:15px;cursor:pointer;box-shadow:0 9px 22px rgba(183,105,72,.25)}.confirm:hover{transform:translateY(-1px)}.stage{position:sticky;top:22px;align-self:start;height:590px;min-height:590px;max-height:590px;border-radius:30px;overflow:hidden;background:#fffaf2;border:1px solid #ede1d5;box-shadow:var(--shadow)}#gl{position:absolute;inset:0;width:100%;height:100%;display:block}.previewLogo{position:absolute;z-index:2;top:14px;left:50%;transform:translateX(-50%);width:215px;height:108px;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:.96}.previewLogo img{display:block;width:100%;height:100%;object-fit:contain}.previewTop{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:center;z-index:3;pointer-events:none}.previewLeft{display:flex;align-items:center;gap:8px;pointer-events:auto}.designResetBtn{display:inline-flex;align-items:center;gap:7px;border:1px solid #e4d7ca;background:rgba(255,255,255,.92);color:#6c5d52;border-radius:13px;padding:9px 11px;cursor:pointer;font-size:11px;font-weight:800;box-shadow:0 5px 16px rgba(90,68,51,.06);white-space:nowrap}.designResetBtn:hover{background:#fff3ec;border-color:#d8b5a2}.designResetBtn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.previewTitle{background:rgba(255,255,255,.88);backdrop-filter:blur(8px);border:1px solid rgba(230,218,207,.9);border-radius:15px;padding:10px 13px;box-shadow:0 7px 20px rgba(104,82,62,.08)}.previewTitle small{display:block;color:#a28f80;font-size:10px}.previewTitle strong{font-size:15px}.previewCamera{display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:auto}.previewCamera>small{font-size:10px;font-weight:800;color:#8f7b6e;background:rgba(255,255,255,.82);border:1px solid rgba(230,218,207,.86);border-radius:999px;padding:4px 8px;line-height:1;backdrop-filter:blur(8px)}.previewActions{display:flex;gap:7px;pointer-events:auto}.iconBtn{width:auto;border:1px solid #e4d7ca;background:rgba(255,255,255,.9);color:#6c5d52;border-radius:13px;padding:9px 11px;cursor:pointer;font-size:12px}.status{position:absolute;left:18px;bottom:68px;background:rgba(255,255,255,.88);border:1px solid #e6d9ce;border-radius:12px;padding:8px 11px;font-size:11px;color:#827266;z-index:5}.status.warn{color:#b45d4f}.status.hidden{display:none}.selectionHud{position:absolute;inset:0;z-index:7;pointer-events:none}.selectionAction,.selectionHandle{position:absolute;display:none;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(231,215,204,.98);background:rgba(255,255,255,.985);pointer-events:auto;cursor:pointer;color:#6a5547;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.selectionAction{width:30px;height:30px;box-shadow:0 4px 12px rgba(89,65,48,.12)}.selectionHandle{width:34px;height:34px;color:#855842;cursor:nwse-resize;box-shadow:0 5px 14px rgba(89,65,48,.13)}.selectionAction:hover,.selectionHandle:hover{transform:scale(1.035);box-shadow:0 6px 16px rgba(89,65,48,.16)}.selectionAction svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.selectionHandle svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.selectionAction.delete{color:#b45d55}.selectionHandle.dragging{cursor:nwse-resize;background:#fff6ef;border-color:#d9a287}.selectionHandle .handleArrow{transform:none}
.selectionAngleHandle{cursor:grab;color:#8c6450}
.selectionAngleHandle.dragging{cursor:grabbing;background:#fff6ef;border-color:#d9a287}
.selectionAngleHandle .angleArrows{transform:rotate(-18deg);transform-origin:50% 50%}

.selectionLockBadge{position:absolute;display:none;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:1px solid #ead9ce;background:rgba(255,248,239,.985);box-shadow:0 4px 12px rgba(89,65,48,.12);color:#9a6a4f;pointer-events:auto;cursor:pointer;padding:0;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.selectionLockBadge:hover{transform:scale(1.035);box-shadow:0 6px 16px rgba(89,65,48,.16);border-color:#d9b29e}
.selectionLockBadge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.previewZoomBar{position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:5;width:58px;height:310px;padding:12px 8px 14px;border:1px solid rgba(230,218,207,.94);border-radius:22px;background:rgba(255,255,255,.93);box-shadow:0 12px 32px rgba(104,82,62,.11);backdrop-filter:blur(10px);display:grid;grid-template-rows:34px 170px 28px 34px;gap:8px;justify-items:center;align-items:center;overflow:hidden;pointer-events:auto}
.previewZoomBtn{width:34px;height:34px;border:1px solid transparent;border-radius:11px;background:#fffaf6;color:#78665a;display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 2px 7px rgba(95,69,50,.05)}
.previewZoomBtn:hover{background:#fff2e9;border-color:#ead8cc}
.previewZoomBtn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.previewZoomRange{appearance:none;-webkit-appearance:none;writing-mode:vertical-lr;direction:rtl;width:12px;height:164px;border-radius:999px;background:transparent;outline:none;cursor:pointer;padding:0}
.previewZoomRange::-webkit-slider-runnable-track{width:8px;height:164px;border-radius:999px;background:linear-gradient(180deg,#edcfbe,#f5e9df);box-shadow:inset 0 0 0 1px rgba(214,190,174,.28)}
.previewZoomRange::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#d48f72;border:3px solid #fff;box-shadow:0 2px 8px rgba(140,93,70,.22);cursor:pointer;margin-left:-5px}
.previewZoomRange::-moz-range-track{width:8px;border-radius:999px;background:linear-gradient(180deg,#edcfbe,#f5e9df);box-shadow:inset 0 0 0 1px rgba(214,190,174,.28)}
.previewZoomRange::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#d48f72;border:3px solid #fff;box-shadow:0 2px 8px rgba(140,93,70,.22);cursor:pointer}
.previewZoomValue{min-width:42px;text-align:center;padding:6px 4px;border-radius:10px;background:#faf4ee;border:1px solid #ede0d6;color:#735f53;font-size:9px;font-weight:900;line-height:1}

.objectContextMenu{position:fixed;z-index:180;display:none;width:244px;padding:7px;background:rgba(255,255,255,.985);border:1px solid #e8dbd1;border-radius:15px;box-shadow:0 18px 46px rgba(67,48,36,.22);backdrop-filter:blur(12px)}
.objectContextColorWrap{display:none;padding:6px 10px 4px}
.objectContextColorWrap.show{display:block}
.objectContextColorLabel{display:block;margin:0 0 8px;font-size:10px;font-weight:800;color:#917e72;text-transform:uppercase;letter-spacing:.06em}
.objectContextColorGrid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.ctxColorSwatch{width:28px;height:28px;border-radius:999px;border:2px solid #fff;box-shadow:0 0 0 1px #eaded3,0 2px 6px rgba(95,69,50,.08);cursor:pointer;background:#fff;padding:0}
.ctxColorSwatch.active{box-shadow:0 0 0 2px #cf8a6c,0 0 0 5px #f7e5dc}
.ctxColorSwatch:focus-visible{outline:2px solid #cf8a6c;outline-offset:2px}
.objectContextMenu.show{display:block}
.objectContextHead{padding:8px 10px 9px;border-bottom:1px solid #f0e7e0;margin-bottom:5px}
.objectContextHead strong{display:block;font-size:12px;color:#57473e}
.objectContextHead small{display:block;margin-top:2px;font-size:10px;color:#9a897e}
.objectContextItem{width:100%;border:0;background:transparent;border-radius:10px;padding:9px 10px;display:flex;align-items:center;gap:9px;text-align:left;color:#66564c;font-size:12px;font-weight:750;cursor:pointer}
.objectContextItem:hover{background:#fff5ee}
.objectContextItem svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.objectContextItem.danger{color:#b35d56}
.objectContextItem.danger:hover{background:#fff1ef}
.objectContextSep{height:1px;background:#f0e7e0;margin:5px 4px}
.objectContextItem[disabled]{opacity:.42;cursor:not-allowed;background:transparent}.objectContextItem[hidden],.objectContextSep[hidden]{display:none!important}.flashFocusCard{box-shadow:0 0 0 4px #f8e8df,var(--shadow)!important;transition:box-shadow .24s ease}.objectContextQuickDecor{display:none;padding:4px 10px 8px}.objectContextQuickDecor.show{display:block}.objectContextQuickDecorLabel{display:block;margin:0 0 8px;font-size:10px;font-weight:800;color:#917e72;text-transform:uppercase;letter-spacing:.06em}.objectContextQuickDecorGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ctxQuickDecorBtn{border:1px solid #eaded3;background:#fffaf6;color:#6d5d51;border-radius:11px;padding:8px 9px;font-size:11px;font-weight:800;cursor:pointer;line-height:1.15}.ctxQuickDecorBtn:hover{background:#fff1e8;border-color:#d8aa91;color:#9b654b}

.previewNavHelp{position:absolute;left:18px;bottom:18px;z-index:4;display:flex;align-items:center;gap:6px;pointer-events:none}
.previewNavItem{height:34px;display:flex;align-items:center;gap:7px;padding:0 10px;background:rgba(255,255,255,.86);backdrop-filter:blur(9px);border:1px solid rgba(230,217,206,.96);border-radius:10px;color:#77685e;box-shadow:0 5px 16px rgba(90,68,51,.07);white-space:nowrap}
.previewNavIcon{width:17px;height:17px;display:block;flex:0 0 17px;color:#8d7a6e}
.previewNavIcon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.previewNavCopy{display:flex;align-items:baseline;gap:4px;font-size:9.5px;line-height:1}
.previewNavCopy b{font-size:10px;color:#5f5148;font-weight:800}
.previewNavCopy span{font-weight:600;color:#98877b}
.previewNavDivider{width:1px;height:16px;background:#e4d8cf;margin:0 1px}
.previewShortcuts{position:absolute;right:18px;bottom:18px;z-index:4;display:flex;gap:8px;align-items:center;pointer-events:none}
.previewShortcut{display:flex;align-items:center;gap:5px;background:rgba(255,255,255,.86);backdrop-filter:blur(8px);border:1px solid rgba(230,217,206,.95);border-radius:11px;padding:7px 9px;color:#877466;font-size:10px;box-shadow:0 5px 16px rgba(90,68,51,.07);white-space:nowrap}
.previewShortcut kbd{font:700 10px/1 system-ui,sans-serif;background:#f7f0e9;color:#66574c;border:1px solid #dfd1c5;border-bottom-width:2px;border-radius:5px;padding:3px 5px;box-shadow:0 1px 0 rgba(75,57,44,.08)}
.previewShortcut b{font-size:9px;color:#9b8a7d}
.previewShortcut em{font-style:normal;font-weight:700}
.partBadge{display:none}.stage:before{content:'';position:absolute;border-radius:50%;filter:blur(0);pointer-events:none;z-index:0;width:180px;height:180px;background:#f8e7dd;right:-60px;top:90px;opacity:.55}.modal{position:fixed;inset:0;background:rgba(69,55,45,.35);display:none;align-items:center;justify-content:center;padding:20px;z-index:50}.modal.show{display:flex}.modalCard{width:min(440px,100%);background:#fffdf9;border-radius:24px;padding:24px;box-shadow:0 30px 70px rgba(69,55,45,.22);text-align:center}.modalCard h2{margin:0 0 8px}.modalCard p{color:#8b7a6d;line-height:1.55}.modalDesign{background:#faf3ec;border-radius:15px;padding:14px;margin:15px 0}.modalBtns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.secondaryBtn,.primaryBtn{border:0;border-radius:13px;padding:12px;font-weight:800;cursor:pointer}.secondaryBtn{background:#f3ebe4;color:#705f53}.primaryBtn{background:#cf7f5e;color:#fff}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;background:#5e5148;color:#fff;padding:11px 16px;border-radius:999px;font-size:12px;z-index:70;transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:920px){.stepBtn{height:50px;font-size:28px}.rangeInput{height:12px}.app{grid-template-columns:1fr;padding:10px;gap:10px}.previewColumn{order:-1;position:relative;top:auto}.stage{position:relative;top:auto;height:46vh;min-height:430px;max-height:560px;border-radius:22px}.previewColumn .guideList{grid-template-columns:1fr 1fr}.previewColumn .guideMeta{grid-template-columns:1fr}.designer{border-radius:22px;padding:16px}.logo img{max-width:260px}.previewTop{top:10px;left:10px;right:10px}.designResetBtn{padding:8px 9px;font-size:10px}.designResetBtn span{display:none}.status{left:10px;bottom:10px}.steps{display:none}.colorGroups{grid-template-columns:1fr}.summary{margin-top:16px}}
@media(max-width:920px){.previewShortcuts{right:10px;bottom:10px;gap:5px}.previewShortcut{padding:5px 7px;font-size:9px}.previewShortcut kbd{font-size:9px;padding:2px 4px}.previewNavHelp{left:10px;bottom:10px;gap:4px}.previewNavItem{height:30px;padding:0 7px;gap:5px}.previewNavCopy{font-size:8.5px}.previewNavCopy b{font-size:9px}.previewNavIcon{width:15px;height:15px;flex-basis:15px}.status{left:10px;bottom:52px}.selectionAction,.selectionLockBadge{width:32px;height:32px}.selectionHandle{width:36px;height:36px}.previewZoomBar{right:10px;top:50%;bottom:auto;width:50px;height:246px;grid-template-rows:30px 124px 22px 30px;padding:9px 5px 11px;gap:6px;overflow:hidden}.previewZoomBtn{width:30px;height:30px}.previewZoomRange{height:120px}.previewZoomRange::-webkit-slider-runnable-track{height:120px}.previewZoomValue{min-width:36px;font-size:8px}.objectContextColorGrid{grid-template-columns:repeat(5,1fr)}.ctxColorSwatch{width:26px;height:26px}}
@media(pointer:coarse){.previewNavHelp{display:none}.status{bottom:10px}.selectionAction,.selectionLockBadge{width:40px;height:40px}.selectionHandle{width:44px;height:44px}.selectionAction svg,.selectionHandle svg,.selectionLockBadge svg{width:18px;height:18px}}

/* v4.4 pricing + cart */
.summaryPriceItem{grid-column:1 / -1;background:linear-gradient(135deg,#fff8f2,#fff);border:1px solid #eadfd6}
.summaryPriceItem strong{font-size:20px;color:#6c5142}
.livePriceCard{margin-top:12px;border:1px solid #ead8cb;border-radius:18px;padding:14px 15px;background:linear-gradient(135deg,#fff4ea,#fffaf7);box-shadow:0 8px 22px rgba(140,93,70,.08)}
.livePriceTop{display:flex;align-items:center;justify-content:space-between;gap:12px}
.livePriceTop span{font-size:12px;font-weight:800;color:#9a7968}
.livePriceTop strong{font-size:26px;line-height:1;color:#9e5d42;white-space:nowrap}
.livePriceBreakdown{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin-top:10px;padding-top:10px;border-top:1px solid #efdfd4;font-size:12px;color:#826f63}
.livePriceBreakdown b{font-weight:800;color:#69594f}
.sizePrice{display:block;font-style:normal;font-size:12px;font-weight:900;color:#a66045;margin-top:5px}
.sizeChoice.active .sizePrice{color:#934e34}

.stickyTotalPrice{position:fixed;left:22px;bottom:22px;z-index:45;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:999px;background:#fff8f2;border:1px solid #eadfd6;box-shadow:0 10px 35px rgba(72,51,39,.18);pointer-events:none}
.stickyTotalPrice span{font-size:12px;font-weight:800;color:#8e7464}
.stickyTotalPrice strong{font-size:21px;color:#9e5d42;white-space:nowrap}
.cartFab{position:fixed;left:22px;bottom:82px;z-index:46;border:0;border-radius:999px;background:#fff8f2;color:#5f493c;box-shadow:0 10px 35px rgba(72,51,39,.18);padding:10px 14px;font-weight:800;cursor:pointer;border:1px solid #eadfd6;display:flex;align-items:center;gap:8px}
.cartFab .cartFabLabel{font-size:12px;color:#8e7464}
.cartFab .cartFabTotal{font-size:16px;color:#9e5d42;white-space:nowrap}
.cartFab .cartCount{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:#5f493c;color:white;font-size:12px;padding:0 6px}
.cartDrawer{position:fixed;z-index:60;left:18px;bottom:128px;width:min(390px,calc(100vw - 28px));max-height:72vh;background:#fff;border:1px solid #eadfd6;border-radius:22px;box-shadow:0 20px 55px rgba(72,51,39,.22);display:none;overflow:hidden}
.cartDrawer.show{display:block}
.cartHead{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #f0e8e2}
.cartHead strong{font-size:17px}
.cartClose,.cartClear{border:0;background:none;cursor:pointer;color:#8b7466;font-weight:700}
.cartList{padding:10px 14px;overflow:auto;max-height:48vh}
.cartEmpty{padding:28px 12px;text-align:center;color:#9d8b80}
.cartItem{border:1px solid #eee4dd;border-radius:16px;padding:12px;margin-bottom:9px;background:#fffdfb}
.cartItemTop{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.cartItemTitle{font-weight:800;color:#5d493e}
.cartItemMeta{font-size:12px;color:#8f7d72;line-height:1.45;margin-top:5px}
.cartItemPrice{font-weight:800;white-space:nowrap}
.cartRemove{border:0;background:#fff0ee;color:#a85e55;border-radius:9px;padding:5px 8px;cursor:pointer;margin-top:7px;font-size:12px}
.cartFoot{border-top:1px solid #f0e8e2;padding:13px 16px 16px;background:#fffcfa}
.cartTotalRow{display:flex;justify-content:space-between;font-weight:800;margin-bottom:8px}
.cartHint{font-size:11px;color:#9b887d;line-height:1.4}
.modalPriceBox{margin:14px 0 2px;padding:12px 14px;border-radius:14px;background:#fff8f2;border:1px solid #eadfd6;display:flex;justify-content:space-between;gap:10px;align-items:center}
.modalPriceBox strong{font-size:19px}
.productionBtn{width:100%;margin-top:10px;border:1px solid #dfd2ca;background:white;color:#70594c;border-radius:14px;padding:11px 14px;font-weight:750;cursor:pointer}

.guideCard{margin-top:12px;padding:16px 16px 14px;border:1px solid #eadfd6;border-radius:20px;background:linear-gradient(135deg,#fffaf6,#fff)}
.guideTitle{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:800;margin-bottom:10px}
.guideList{display:grid;gap:8px}
.guideItem{display:flex;align-items:flex-start;gap:10px;padding:10px 11px;border-radius:14px;background:#fff8f2;border:1px solid #f0e2d8}
.guideNum{flex:0 0 24px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f4dfd3;color:#b16549;font-size:12px;font-weight:900}
.guideItem b{display:block;font-size:13px;color:#5f4a3e;margin-bottom:2px}
.guideItem span{display:block;font-size:12px;color:#8f7f73;line-height:1.45}
.guideMeta{display:grid;gap:8px;margin-top:10px}
.guideMeta .metaBox{padding:11px 12px;border-radius:14px;background:#fcf6f1;border:1px solid #f0e3da;font-size:12px;line-height:1.45;color:#7f6f64}
.infoLine{margin-top:8px;padding:10px 12px;border-radius:14px;background:#faf4ed;border:1px dashed #e7d6cb;font-size:12px;line-height:1.45;color:#87756a}
.introOverlay{position:fixed;inset:0;background:rgba(61,42,32,.42);backdrop-filter:blur(2px);display:none;align-items:center;justify-content:center;z-index:120;padding:18px}
.introOverlay.show{display:flex}
.introCard{width:min(520px,100%);background:#fff;border-radius:26px;border:1px solid #eadfd6;box-shadow:0 24px 60px rgba(53,35,24,.22);padding:22px 20px 18px;position:relative}
.introBadge{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:#fff4ec;color:#b16a4d;font-size:11px;font-weight:900;letter-spacing:.02em}
.introCard h2{font-size:25px;line-height:1.15;margin:12px 0 8px;color:#4e4138}
.introCard p{margin:0;color:#85766b;font-size:14px;line-height:1.5}
.introSteps{display:grid;gap:10px;margin:16px 0 18px}
.introStep{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;background:#fff9f4;border:1px solid #f1e4da}
.introStep strong{display:block;font-size:13px;color:#58463d;margin-bottom:2px}
.introStep span{display:block;font-size:12px;color:#907f73;line-height:1.45}
.introBtns{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.introStart{border:0;border-radius:14px;padding:13px 16px;background:#cf7f5e;color:#fff;font-weight:900;cursor:pointer}
.introLater{border:0;background:none;color:#9a887b;font-weight:700;cursor:pointer}
@media(max-width:920px){.guideCard{margin-top:10px}.introCard{padding:18px 16px 16px}.introCard h2{font-size:22px}.introBtns{grid-template-columns:1fr}}

@media(max-width:560px){.previewColumn .guideList{grid-template-columns:1fr}.previewColumn .guideCard{padding:13px}}
@media(max-width:720px){.stickyTotalPrice{left:14px;bottom:14px;padding:10px 13px}.stickyTotalPrice strong{font-size:18px}.cartFab{left:14px;bottom:72px;padding:9px 12px}.cartFab .cartFabTotal{font-size:15px}.cartDrawer{left:8px;right:auto;bottom:116px;width:calc(100vw - 16px)}}




/* Niligo site header integration */
.niligoSiteHeader{position:sticky;top:0;z-index:1000;background:rgba(255,253,249,.96);backdrop-filter:blur(14px);border-bottom:1px solid #eee3d8;font-family:Inter,"Segoe UI",Arial,sans-serif}
.niligoSiteHeaderInner{max-width:1500px;margin:auto;min-height:82px;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.niligoSiteLogo{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.niligoSiteLogo img{display:block;width:165px;height:auto;max-height:62px;object-fit:contain}
.niligoSiteNav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:flex-end}
.niligoSiteNav a{color:#51483f;text-decoration:none;font-size:14px;font-weight:800;white-space:nowrap}
.niligoSiteNav a:hover{color:#b66f52}
.niligoSiteNav .primaryLink{background:#dc9474;color:#fff;padding:11px 16px;border-radius:14px}
.niligoSiteCartLink{display:inline-flex!important;align-items:center;gap:7px}
.niligoSiteCartBadge{min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#51483f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
@media(max-width:900px){.niligoSiteHeaderInner{min-height:70px;padding:10px 14px;align-items:flex-start}.niligoSiteLogo img{width:128px;max-height:50px}.niligoSiteNav{gap:11px 14px}.niligoSiteNav a{font-size:12px}.niligoSiteNav .desktopOptional{display:none}}
@media(max-width:620px){.niligoSiteHeaderInner{display:block}.niligoSiteLogo{margin-bottom:9px}.niligoSiteNav{justify-content:flex-start}.niligoSiteLogo img{width:118px}}

