/* The catalog owns the full width; its heading and campaign are the first row. */
.pricing-section{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:26px 36px;align-items:start}
.pricing-section>.price-grid{grid-column:1/-1;width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pricing-section>.campaign-banner{margin:0;min-height:142px;align-self:center}
.price-grid>.price-card{min-width:0;min-height:266px;aspect-ratio:1.2;max-height:none;padding:26px;gap:10px;border-radius:28px}
.price-card>strong{font-size:clamp(3.8rem,6vw,5.6rem);gap:10px;flex-wrap:wrap;letter-spacing:-4px}
.price-card>strong small{white-space:nowrap;overflow-wrap:normal;flex-shrink:0;font-size:.82rem}
.price-card>span{font-size:.8rem;max-width:85%;line-height:1.4}.price-card>b{font-size:1.75rem;white-space:nowrap}
.price-card .price-now{font-size:.68rem}.price-card .base-tariff{font-size:.74rem}.price-card em{font-size:.75rem}
.price-card:after{right:24px;top:64px;font-size:60px}.price-card[data-package="50"]:after,.price-card[data-package="500"]:after{top:54px;font-size:64px}
.custom-pack h3{font-size:1.9rem}.custom-pack-controls{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px 12px}
.custom-pack .field{font-size:.75rem}.custom-pack input{font-size:1.7rem;min-height:52px}.custom-pack .custom-total strong{font-size:1.55rem;white-space:normal;overflow-wrap:normal}.custom-pack .custom-total #custom-unit,.custom-pack .custom-total #custom-regular{font-size:.7rem}.custom-pack-controls .primary-button{min-height:48px;font-size:.92rem}
/* A two-photo style recipe, with the same camera/gallery controls. */
.editor-panel{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff 55%,#f1efff);border:1px solid #e8e4ff;box-shadow:0 20px 70px #4b3bd90c}
.studio-kicker{display:inline-flex;align-items:center;gap:7px;color:#5842c8;background:#efeaff;border-radius:30px;padding:7px 11px;font-size:.65rem;font-weight:800;letter-spacing:1px;margin-bottom:12px}
.studio-kicker span{font-size:1.15rem;line-height:1}.studio-intro{font-size:.8rem;line-height:1.65;color:#696477;max-width:390px;margin:-6px 0 18px}
.editor-panel .panel-heading h2{font-size:1.8rem;letter-spacing:-1px;line-height:1.2}.editor-panel .step-note{background:#fff;border:1px solid #e7e1f6;border-radius:25px;padding:7px 10px;max-width:none;font-size:.65rem}
.uploads{position:relative;gap:18px;align-items:start}.uploads:after{content:'+';position:absolute;left:50%;top:47%;width:34px;height:34px;display:grid;place-items:center;background:#18271f;color:#d2ff37;border:4px solid white;border-radius:50%;font-size:24px;font-weight:700;transform:translate(-50%,-50%);z-index:2;pointer-events:none}
.upload-target{border:0;border-radius:22px;min-height:257px!important;height:auto;box-shadow:inset 0 0 0 1px #19251908;transition:transform .2s,box-shadow .2s,background .2s}
#slot-garment .upload-target{background:#eee7ff}#slot-person .upload-target{background:#ffeadf}
.upload-target:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 2px #5842c8,0 10px 20px #5842c815}
.upload-placeholder{min-height:257px!important;position:relative;padding:14px 10px;justify-content:flex-end;overflow:hidden;gap:0}
.upload-placeholder .studio-art{height:115px;min-height:115px;width:100%;position:relative;display:block;margin:0 0 10px;font-size:inherit}
.studio-art img{height:106px;width:92px;object-fit:cover;object-position:center 20%;border:5px solid white;border-bottom-width:15px;border-radius:9px;box-shadow:0 8px 16px #35215622;position:absolute;left:50%;top:2px;transform:translateX(-50%) rotate(-9deg);pointer-events:none}
#slot-garment .studio-art img{object-fit:contain;background:#fff;transform:translateX(-50%) rotate(9deg)}
.studio-art:before{content:'✳';position:absolute;right:9%;top:0;color:#784cfa;font-size:43px;line-height:1;transform:rotate(-15deg)}
#slot-person .studio-art:before{color:#f3744b;right:8%;top:57px;font-size:36px}.studio-art:after{content:'ХОЧУ!';position:absolute;left:2%;bottom:8px;background:#d1ff37;border-radius:6px;padding:5px 8px;color:#1c2d22;font-weight:800;font-size:10px;transform:rotate(-10deg)}
#slot-person .studio-art:after{content:'ЭТО Я';background:#fff;transform:rotate(8deg);left:4%;bottom:67px}
.upload-placeholder strong{font-size:.98rem;line-height:1.25;margin-bottom:6px}.upload-placeholder>span:not(.upload-icon):not(.add-photo):not(.studio-art){font-size:.7rem;line-height:1.5;color:#6a637b}
.upload-placeholder .add-photo{background:#fff;color:#252338;border-radius:30px;padding:9px 14px;min-height:39px;display:inline-flex;gap:6px;margin-top:13px;font-size:.74rem;font-weight:750;box-shadow:0 2px 0 #1918260a}
.has-photo .upload-target{height:257px;min-height:257px!important}.has-photo .upload-placeholder{display:none}.has-photo .upload-target>img{height:100%;width:100%;object-fit:cover}
.studio-progress{display:flex;align-items:center;gap:8px;margin:16px 0 8px}.studio-progress span{height:4px;flex:1;background:#e6e1ee;border-radius:8px;transition:background .2s}.studio-progress span.done{background:#8a62ff}.studio-progress small{font-size:.62rem;color:#756781;white-space:nowrap}.studio-example{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;margin:0 0 10px;background:#ffffffb0;border:1px solid #e7e0f5;border-radius:14px;font-size:.73rem;color:#514766}.studio-example button{font-weight:750;color:#5340c3;min-height:32px;white-space:nowrap}
.editor-panel #generate{background:#34254e;color:#d7ff62;font-weight:800;box-shadow:0 5px 0 #231835}.editor-panel #generate:disabled{background:#ded9e7;color:#776e88;box-shadow:none}.editor-panel #generate:not(:disabled):hover{background:#50336f}
@media(max-width:1050px){.pricing-section{grid-template-columns:1fr 1.2fr}.price-grid>.price-card{padding:22px;min-height:274px;aspect-ratio:auto}.price-card>strong{font-size:4.3rem}.custom-pack h3{font-size:1.5rem}.custom-pack-controls{grid-template-columns:1fr}.custom-pack .custom-total strong{font-size:1.5rem}.custom-pack input{min-height:44px;height:44px}.custom-pack-controls .primary-button{min-height:44px}.editor-panel .panel-heading h2{font-size:1.5rem}.studio-art img{width:82px}.studio-art:after{left:0}.studio-example{flex-wrap:wrap}}
@media(max-width:760px){.pricing-section{grid-template-columns:minmax(0,1fr);gap:20px}.pricing-section>.campaign-banner{min-height:0;padding:22px 18px}.pricing-section>.price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.price-grid>.price-card{aspect-ratio:auto;min-height:257px;padding:17px 14px;gap:8px;border-radius:23px}.price-card>strong{font-size:3.5rem;letter-spacing:-2.5px;gap:5px}.price-card[data-package="500"]>strong{font-size:3.25rem}.price-card>strong small{font-size:.64rem}.price-card>b{font-size:1.28rem;letter-spacing:-.7px}.price-card>span{font-size:.65rem;max-width:100%}.price-card .price-now{font-size:.59rem}.price-card .base-tariff{font-size:.61rem}.price-card em{font-size:.61rem}.price-card:after,.price-card[data-package="50"]:after{font-size:37px;right:10px;top:54px}.price-card[data-package="500"]:after{font-size:35px;right:6px;top:20px}.custom-pack h3{font-size:1.25rem}.custom-pack-controls{gap:8px}.custom-pack .field{font-size:.63rem}.custom-pack input{font-size:1.25rem}.custom-pack .custom-total strong{font-size:1.25rem;white-space:nowrap}.custom-pack .custom-total #custom-unit,.custom-pack .custom-total #custom-regular{font-size:.57rem}.custom-pack-controls .primary-button{font-size:.8rem}
.editor-panel .panel-heading h2{font-size:1.55rem}.studio-kicker{font-size:.57rem;padding:6px 10px;margin-bottom:12px}.editor-panel .step-note{font-size:.58rem;padding:6px 8px}.studio-intro{font-size:.73rem;line-height:1.6;margin-bottom:17px}.uploads{gap:12px}.upload-target,.upload-placeholder,.has-photo .upload-target{min-height:222px!important}.has-photo .upload-target{height:222px}.upload-placeholder{padding:11px 6px}.upload-placeholder .studio-art{height:95px;min-height:95px;margin-bottom:8px}.studio-art img{height:89px;width:75px;border-width:4px;border-bottom-width:12px}.studio-art:before{font-size:33px;right:5%}.studio-art:after{font-size:8px;padding:5px;bottom:5px}.upload-placeholder strong{font-size:.86rem}.upload-placeholder>span:not(.upload-icon):not(.add-photo):not(.studio-art){font-size:.65rem}.upload-placeholder .add-photo{min-height:35px;font-size:.67rem;margin-top:10px;padding:8px 11px}.uploads:after{width:30px;height:30px;font-size:22px;top:49%}.studio-progress{margin:14px 0 7px}.studio-example{font-size:.65rem;padding:7px 10px;margin-bottom:5px}.studio-example button{font-size:.67rem;min-height:35px}.editor-panel #generate{min-height:54px}}
@media(max-width:370px){.price-grid>.price-card{padding:15px 11px}.price-card>strong{font-size:3.2rem}.price-card[data-package="500"]>strong{font-size:3rem}.custom-pack .custom-total strong{font-size:1.12rem}.studio-example{font-size:.62rem}.studio-example button{font-size:.64rem}.upload-placeholder strong{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){.upload-target:hover{transform:none}.studio-progress span{transition:none}}

.studio-demo-dialog{max-width:580px;width:calc(100% - 24px)}.studio-demo-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.studio-demo-pair figure{position:relative;margin:0;overflow:hidden;border-radius:20px;background:#ece7f5}.studio-demo-pair img{width:100%;aspect-ratio:3/4;object-fit:cover}.studio-demo-pair figcaption{position:absolute;bottom:12px;left:12px;background:white;border-radius:20px;padding:7px 12px;font-size:.75rem;font-weight:750}.studio-demo-pair figure:last-child figcaption{background:var(--lime)}@media(max-width:760px){.studio-demo-dialog{max-width:100%;width:100%}}
