.studio-page{max-width:1740px;margin:0 auto 80px;display:grid;gap:24px;color:#123c34}
.studio-top{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:32px 36px;border-radius:28px;background:linear-gradient(110deg,rgba(12,51,43,.95),rgba(26,79,64,.88)),url('/assets/winter-fashion.webp') center/cover;color:#fff;box-shadow:0 18px 42px #113c3422}
.studio-top h1{font-size:clamp(2rem,4vw,3.4rem);margin:8px 0}.studio-top p{max-width:680px;line-height:1.6;opacity:.85;margin:0}.studio-top .eyebrow{color:#e7d594}.studio-top .btn{white-space:nowrap}
.studio-steps{position:sticky;z-index:6;top:92px;display:flex;gap:8px;overflow-x:auto;padding:10px;border-radius:18px;background:#f9faf4ed;box-shadow:0 12px 35px #0b352717;backdrop-filter:blur(14px)}.studio-steps a{white-space:nowrap;text-decoration:none;color:#315d51;padding:12px 16px;border-radius:12px;font-weight:700;font-size:.85rem}.studio-steps a:hover{background:#dceae0}
.studio-form{display:grid;gap:20px}.studio-panel{border:1px solid #dce4d7;background:linear-gradient(155deg,#fffdf6f5,#f6f8f3f5);box-shadow:0 16px 45px #0c3b2b12;border-radius:25px;padding:clamp(18px,3vw,32px);scroll-margin-top:165px;position:relative;overflow:hidden}.studio-panel:before{content:"";position:absolute;right:-52px;top:-65px;width:240px;height:210px;background:url('/assets/decor/pine-garland.webp') center/contain no-repeat;opacity:.09;pointer-events:none}.studio-panel>*{position:relative}.studio-panel-head{display:flex;align-items:start;gap:18px;margin-bottom:24px}.studio-panel-head>span,.studio-number{display:inline-grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:#153f35;color:#e9d597;font-family:Georgia,serif;font-size:1.25rem}.studio-panel h2{font-size:1.55rem;margin:0 0 5px}.studio-panel h3{margin:0}.studio-panel p{color:#607a71;line-height:1.6;margin:0}.studio-panel-head p{font-size:.92rem}.studio-panel textarea{width:100%;min-height:150px}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:26px 0 14px;flex-wrap:wrap}.studio-heading>div{display:flex;gap:8px;flex-wrap:wrap}
.studio-list{display:grid;gap:10px}.studio-list-row{display:grid;gap:10px;align-items:end;background:#eef3ecb5;border:1px solid #dce5da;padding:12px;border-radius:15px}.studio-gallery-row{grid-template-columns:minmax(0,1fr) auto}.studio-gallery-row .asset-field{min-width:0}.studio-list-row input{width:100%;min-width:0;padding:12px;border:1px solid #cbd8d0;border-radius:9px;background:#fff;color:#193d35}.studio-list-row label{font-size:.82rem;font-weight:700;color:#537066}.studio-list-row label input{display:block;margin-top:5px}.studio-variant-row{grid-template-columns:1.6fr 1fr 1fr .7fr 1.4fr auto}.studio-spec-row{grid-template-columns:1fr 2fr auto}.studio-list-row .asset-field img{width:50px;height:50px;object-fit:cover;border-radius:9px}.studio-list-row .asset-field button{white-space:nowrap}.studio-save{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;background:#123e35f5;color:white;backdrop-filter:blur(12px);border-radius:17px;box-shadow:0 14px 40px #08251e45}.studio-save span{max-width:680px;font-size:.9rem}.studio-save .btn{white-space:nowrap}
.studio-import-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.studio-import-layout .studio-panel{display:flex;flex-direction:column;align-items:start;gap:16px;min-height:315px}.studio-import-layout .studio-panel .btn{margin-top:auto}.studio-file{display:grid;gap:8px;width:100%;border:1px dashed #7c9e90;padding:16px;border-radius:12px;background:#edf4ee;font-weight:700}.studio-file input{max-width:100%}.studio-preview-table{overflow-x:auto;margin:20px 0}.studio-preview-table table{border-collapse:collapse;width:100%;min-width:600px}.studio-preview-table td,.studio-preview-table th{text-align:left;padding:10px;border-bottom:1px solid #dce5dc}.studio-subcategory-list{display:grid;gap:8px;margin-top:18px}.studio-subcategory-list>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;border-radius:11px;background:#edf3ec}.studio-subcategory-list span{display:grid;gap:4px}.studio-subcategory-list small{color:#648176}
.detail-gallery{display:grid;gap:12px;min-width:0}.detail-gallery .detail-art{position:relative;overflow:hidden}.detail-gallery .detail-art img{width:100%;height:100%;object-fit:cover}.gallery-switch{position:absolute;top:50%;transform:translateY(-50%);z-index:2;border:0;background:#fffdf5d9;color:#17453b;width:42px;height:42px;border-radius:50%;font-size:1.7rem;cursor:pointer;box-shadow:0 5px 16px #092a2733}.gallery-switch.prev{left:14px}.gallery-switch.next{right:14px}.gallery-strip{display:flex;gap:8px;overflow-x:auto}.gallery-strip button{flex:none;border:2px solid transparent;padding:2px;background:#e5eee7;border-radius:12px;cursor:pointer}.gallery-strip button.active{border-color:#b8923f}.gallery-strip img{width:70px;height:70px;object-fit:cover;border-radius:8px}.variant-choices{margin:20px 0;display:flex;flex-wrap:wrap;gap:9px}.variant-choices button{border:1px solid #c6d7ca;border-radius:12px;padding:11px 15px;background:#f7faf5;color:#16443a;font-weight:700;cursor:pointer}.variant-choices button.active{border-color:#16483b;background:#dbede2;box-shadow:inset 0 0 0 1px #16483b}.variant-choices button:disabled{opacity:.45;cursor:not-allowed}.detail-specs{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.detail-specs div{padding:12px 14px;background:#f2f6ed;border-radius:11px;display:grid;gap:4px}.detail-specs small{color:#698177}.studio-placeholder{display:inline-flex;border:1px solid #d2bd83;background:#fff5dc;color:#785c25;padding:6px 9px;border-radius:8px;font-size:.72rem;font-weight:700}.product-image:has(img[src*="product-placeholder.svg"]) img{filter:blur(.35px)}
@media(max-width:900px){.studio-variant-row{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-variant-row label:first-child,.studio-variant-row label:last-of-type{grid-column:span 2}.studio-variant-row>button{grid-column:2;justify-self:end}.studio-import-layout{grid-template-columns:1fr}.studio-steps{top:65px}}
@media(max-width:620px){.studio-page{gap:15px;margin-bottom:100px}.studio-top{display:block;padding:24px 19px;border-radius:20px}.studio-top .btn{margin-top:18px}.studio-steps{margin:0 -14px;border-radius:0;top:60px}.studio-steps a{padding:10px 12px;font-size:.77rem}.studio-panel{border-radius:18px;padding:19px 15px}.studio-panel-head{gap:10px}.studio-panel-head>span{width:38px;height:38px}.studio-panel h2{font-size:1.25rem}.studio-list-row .asset-field{flex-wrap:wrap}.studio-gallery-row{grid-template-columns:minmax(0,1fr) auto}.studio-gallery-row .asset-field input{width:100%;flex:none}.studio-save{align-items:stretch;flex-direction:column;bottom:76px;padding:11px 13px}.studio-save span{font-size:.77rem}.studio-save .btn{width:100%}.detail-specs{grid-template-columns:1fr}.gallery-strip img{height:58px;width:58px}}
@media(max-width:780px){
  .bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:80;transform:translateZ(0);touch-action:manipulation}
  #app{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
  .footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .studio-save{bottom:calc(76px + env(safe-area-inset-bottom))}
  .studio-steps{scrollbar-width:none}
  .studio-steps::-webkit-scrollbar{display:none}
}
