*{box-sizing:border-box}body{margin:0;background:#101112;color:#f6f6f4;font:15px/1.5 Arial,sans-serif}header{background:#090a0a;border-bottom:1px solid #333;display:flex;justify-content:space-between;align-items:center;padding:19px max(20px,5vw);gap:15px}header strong{font-size:20px}header strong span,.kicker{color:#f4ee31}a{color:#f5ef35;text-decoration:none}main{max-width:1180px;margin:55px auto;padding:0 20px}h1{font-size:clamp(28px,4vw,52px);line-height:1.08;margin:0 0 12px}h1 span{color:#f4ef35}p{color:#aeb1b5}.panel{background:#1b1c1d;border:1px solid #37383a;border-radius:18px;padding:28px;max-width:840px;margin:20px auto}.panel h1{font-size:32px}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.kicker{font-size:12px;letter-spacing:.2em}button{border:0;background:#f2ed36;color:#121212;padding:13px 19px;border-radius:9px;font-weight:800;cursor:pointer}button:disabled{opacity:.5;cursor:wait}.secondary{background:#393b3e;color:white}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px;margin-bottom:14px}input,select,textarea{background:#0f1011;color:white;border:1px solid #555;border-radius:8px;padding:13px;font:inherit;width:100%}input[type=checkbox]{width:auto}.check{flex-direction:row;align-items:center}.wide{grid-column:1/-1}.actions{display:flex;gap:10px}.rows{display:grid;gap:12px;margin:20px 0}.item{display:grid;grid-template-columns:80px 1fr auto;align-items:center;gap:17px;background:#1b1c1d;border:1px solid #353535;padding:12px;border-radius:13px}.thumb{width:80px;height:88px;object-fit:cover;border-radius:8px;background:#333}.item small{color:#aaa;display:block}.item strong{font-size:16px}.item .buttons{display:flex;gap:8px}.danger{background:#d84545;color:white}#status{min-height:24px}@media(max-width:650px){.fields{grid-template-columns:1fr}.item{grid-template-columns:60px 1fr}.thumb{width:60px;height:70px}.item .buttons{grid-column:1/-1}.panel{padding:18px}}
.settings-panel{max-width:none;margin:35px 0}.settings-panel h2{font-size:30px;margin:0}.settings-head{margin-bottom:18px}.portfolio-editor{border-top:1px solid #444;padding-top:20px;margin-top:20px}.portfolio-editor h3{color:#f2ed36}.settings-panel input[type=file]{padding:9px}.settings-panel .preview{width:110px;height:135px;object-fit:contain;background:#111;border:1px solid #444;border-radius:7px;margin:5px 0}.settings-panel .preview:not([src]){display:none}

/* V3.4 - admin product order */
.order-panel{max-width:none;margin:35px 0}.order-panel h2{font-size:30px;margin:0}.order-list{display:grid;gap:9px;margin:18px 0}.order-item{display:flex;align-items:center;gap:13px;padding:10px;background:#111213;border:1px solid #404040;border-radius:10px}.order-position{font-weight:900;color:#f2ed36;min-width:28px}.order-item img{width:54px;height:60px;object-fit:contain;background:#242424;border-radius:5px}.order-info{flex:1;min-width:0}.order-info strong{display:block;overflow-wrap:anywhere}.order-info small{display:block;color:#aaa}.order-controls{display:flex;gap:6px}.order-controls button{padding:8px 13px;font-size:20px;line-height:1}.order-controls button:disabled{opacity:.25}.order-panel .actions{flex-wrap:wrap}#orderStatus{min-height:22px}


/* V3.5 — Background preview and controls */
header{position:sticky;top:0;z-index:100;background:rgba(9,10,10,.97);backdrop-filter:blur(12px)}
.background-editor{padding:23px;margin-bottom:28px;background:#141617;border:1px solid #525438;border-radius:14px}
.background-editor h3{font-size:24px;margin:4px 0 2px}
.background-editor p{margin:4px 0 18px}
.background-editor .fields{margin-top:20px}
.background-editor input[type=range]{padding:0;accent-color:#f4ef35;cursor:pointer;height:28px;border:0;background:transparent}
.background-editor output{color:#f4ef35;font-weight:900}
.background-editor .check{font-weight:600;color:#eee;margin-bottom:5px}
.background-preview{--preview-bg:none;--preview-overlay:.80;min-height:235px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:9px;padding:26px;overflow:hidden;border:1px solid #555;border-radius:9px;background-color:#0b0b0b;background-image:linear-gradient(rgba(9,9,9,var(--preview-overlay)),rgba(9,9,9,var(--preview-overlay))),var(--preview-bg);background-position:center;background-size:cover;color:white}
.background-preview>span:first-child{font-size:10px;letter-spacing:.16em;font-weight:800;color:#effb31}
.background-preview strong{max-width:500px;font:900 clamp(28px,5vw,52px)/.95 Impact,'Arial Narrow',sans-serif}
.background-preview small{font-size:12px;color:#e2e2e2}
.background-preview-btn{display:inline-block;background:#effb31;padding:10px 15px;color:#111;font-size:10px;font-weight:900;margin-top:12px}
.background-editor .background-editor-note{font-size:12px;color:#b8b8b8;margin:14px 0 0}
@media(max-width:650px){.background-editor{padding:15px}.background-preview{padding:18px;min-height:190px}}
