:root{--admin-ink:#17213e;--admin-muted:#74809b;--admin-line:#e5eaf4;--admin-soft:#f4f7fc;--admin-cyan:#35c6d6;--admin-violet:#7775ed;--admin-navy:#182447;--admin-red:#b83b52}.admin-page{min-height:100vh;background:radial-gradient(ellipse at 12% 0%,rgba(83,132,231,.1),transparent 35%),radial-gradient(ellipse at 90% 12%,rgba(53,198,214,.09),transparent 30%),#f5f7fc;color:var(--admin-ink);font-family:Plus Jakarta Sans,Arial,sans-serif}.admin-page *{box-sizing:border-box}.admin-header{height:76px;padding:0 max(24px,calc((100% - 1500px)/2));display:flex;align-items:center;justify-content:space-between;background:#ffffffe6;border-bottom:1px solid var(--admin-line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);position:sticky;top:0;z-index:20}.admin-brand img{display:block;width:220px;max-height:54px;object-fit:contain;object-position:left}.admin-header-actions{display:flex;align-items:center;gap:24px}.admin-header-label{font-size:9px;letter-spacing:.17em;font-weight:800;color:#8792aa}.back-link{font-size:12px;font-weight:750;color:#30456f;padding:10px 14px;border:1px solid var(--admin-line);border-radius:10px;background:#fff}.back-link span{color:#5b8fc8}.admin-main{width:min(1500px,calc(100% - 48px));margin:34px auto 58px}.admin-page .panel{background:#fffffff0;border:1px solid var(--admin-line);border-radius:18px;padding:22px;box-shadow:0 12px 38px #1f315b0e}.admin-page h1,.admin-page h2,.admin-page h3,.admin-page p{margin-top:0}.admin-page h1{font:600 clamp(27px,3vw,36px)/1.15 "Plus Jakarta Sans",Arial,sans-serif;letter-spacing:-.045em;color:var(--admin-navy);margin:0 0 7px}.admin-page h2{font-size:17px;letter-spacing:-.025em;color:var(--admin-navy);margin:0}.admin-page h3{font-size:14px;color:var(--admin-navy);margin:0}.admin-page .eyebrow{font-size:9px;letter-spacing:.16em;font-weight:850;color:#7281b8;margin:0 0 7px}.admin-page .muted{font-size:11px;line-height:1.6;color:var(--admin-muted);margin:5px 0 0}.admin-page form label{display:block;font-size:11px;font-weight:750;color:#34415f;margin:13px 0 6px}.admin-page input:not([type=checkbox]):not([type=file]),.admin-page textarea,.admin-page select{width:100%;min-width:0;border:1px solid #dfe5f0;border-radius:9px;padding:10px 11px;background:#fbfcff;color:#263451;font:500 11px/1.5 Plus Jakarta Sans,Arial,sans-serif;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}.admin-page input:focus,.admin-page textarea:focus,.admin-page select:focus{border-color:#72b9d8;background:#fff;box-shadow:0 0 0 3px #48a6cc1f}.admin-page textarea{resize:vertical}.admin-page input[type=file]{width:100%;font-size:10px;color:#71809b}.admin-page button{border:0;border-radius:9px;padding:10px 15px;font:750 11px Plus Jakarta Sans,Arial,sans-serif;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.admin-page button:disabled{opacity:.55;cursor:wait}.admin-page .primary-button{background:linear-gradient(115deg,#243b70,#397da6);color:#fff;box-shadow:0 6px 15px #2d4f8529}.admin-page .primary-button:hover{transform:translateY(-1px);box-shadow:0 9px 20px #2d4f8538}.admin-page .secondary-button{background:#eef3fb;color:#344d7c;border:1px solid #e0e8f5}.admin-page .secondary-button:hover{background:#e5effb}.admin-page .small-button{padding:8px 11px;font-size:10px}.admin-page .status{min-height:16px;margin:9px 0 0;font-size:10px;color:#247b68}.admin-page .status.error{color:var(--admin-red)}.auth-panel{max-width:430px;margin:65px auto;padding:34px!important}.auth-panel .primary-button{width:100%;margin-top:20px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dashboard-heading .muted{margin-top:5px}.category-manager{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:17px 20px!important;flex-wrap:wrap}.category-intro{display:flex;align-items:center;gap:13px}.category-intro .muted{margin-top:3px}.category-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(140deg,#eaf8fb,#efefff);color:#5374bc;font-size:20px}.category-create{display:flex;gap:8px;align-items:center;min-width:min(100%,370px)}.category-create input{min-width:190px!important}.category-manager>.status{flex-basis:100%;margin:0}.dashboard-grid{display:grid;grid-template-columns:minmax(330px,1.05fr) minmax(230px,.72fr) minmax(280px,.95fr);gap:18px;align-items:start}.section-heading,.variants-heading,.list-heading,.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading{margin-bottom:12px}.quiet-tag{background:#f0f4fb;color:#6d7b98;border-radius:30px;padding:5px 9px;font-size:9px;font-weight:800}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.label-hint{color:var(--admin-muted);font-size:10px;font-weight:450}.media-field{margin-top:12px}.media-field label{margin-bottom:7px}.media-preview{height:108px;margin-top:7px;border:1px dashed #d4deed;border-radius:11px;background:#fafcff;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#8490a7;font-size:10px}.media-preview img{height:100%;width:100%;object-fit:contain}.gallery-preview{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.gallery-thumb{position:relative;width:56px;height:56px;border:1px solid var(--admin-line);border-radius:8px;overflow:hidden;background:#fafcff}.gallery-thumb img{width:100%;height:100%;object-fit:contain}.gallery-thumb button{position:absolute;top:2px;right:2px;width:18px;height:18px;padding:0;border-radius:50%;background:#fff;color:var(--admin-red);font-size:14px;line-height:1;box-shadow:0 1px 4px #0002}.variants-heading{margin:19px 0 9px;padding-top:15px;border-top:1px solid var(--admin-line)}.variant-editor{display:grid;gap:7px}.variant-row{display:grid;grid-template-columns:minmax(70px,.8fr) minmax(110px,1.2fr) minmax(90px,1fr) 30px;gap:6px;align-items:center;border:1px solid var(--admin-line);border-radius:10px;padding:7px}.variant-row input{padding:7px!important;font-size:10px!important}.variant-row .remove-variant{height:30px;padding:0;background:#fff0f1;color:var(--admin-red)}.check-row{display:flex!important;align-items:center;gap:8px;font-weight:650!important;margin-top:16px!important}.check-row input{width:15px;height:15px;accent-color:#4c79bb}.form-actions{display:flex;gap:8px;margin-top:16px}.preview-panel{position:static;top:auto;align-self:start}.preview-heading{margin-bottom:3px}.live-indicator{display:flex;align-items:center;gap:5px;font-size:8px;letter-spacing:.1em;font-weight:850;color:#289b83}.live-indicator i{width:6px;height:6px;border-radius:50%;background:#35c79e;box-shadow:0 0 0 3px #35c79e22}.preview-help{margin-bottom:15px!important}.preview-stage{padding:15px;border-radius:13px;background:linear-gradient(145deg,#f4f7ff,#edf6fa);border:1px solid #e6edf8;display:flex;justify-content:center}.preview-stage .product{width:100%;max-width:300px;cursor:default;box-shadow:0 7px 24px #1e305814}.preview-stage .product .view-product{cursor:default;opacity:1}.preview-footnote{font-size:9px;line-height:1.6;color:#8792a8;margin:12px 2px 0}.list-heading{margin-bottom:13px}.catalogue-tools{display:grid;grid-template-columns:1fr 130px;gap:7px;margin-bottom:12px}.catalogue-tools input,.catalogue-tools select{font-size:10px!important;padding:9px!important}.product-list{display:grid;gap:8px}.product-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid var(--admin-line);border-radius:11px;padding:8px;background:#fff}.product-row>img{width:58px;height:58px;object-fit:contain;background:#f8faff;border-radius:8px}.product-row h3{font-size:11px;line-height:1.4;margin:0 0 3px}.product-row p{font-size:9px;color:var(--admin-muted);margin:0}.product-row .meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.meta span{font-size:8px;border-radius:30px;background:#f0f4fb;color:#667492;padding:3px 6px}.product-actions{display:flex;gap:4px;flex-direction:column}.product-actions button{padding:6px 8px;font-size:9px;background:#eef3fb;color:#3c5688}.product-actions .delete-button{background:#fff0f1;color:var(--admin-red)}.product-state{display:inline-block;font-size:8px;border-radius:20px;padding:2px 7px;background:#e9f7f1;color:#267b61;margin-top:5px}.product-state.hidden-state{background:#f1f2f5;color:#788096}.admin-footer{text-align:center;padding:20px;color:#8792a8;font-size:10px}.admin-footer span{padding:0 5px;color:#b0bad0}[hidden]{display:none!important}@media(max-width:1200px){.dashboard-grid{grid-template-columns:minmax(320px,1fr) minmax(250px,.8fr)}.list-panel{grid-column:1/-1}.product-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.admin-header{height:66px;padding:0 14px}.admin-brand img{width:170px}.admin-header-label{display:none}.admin-header-actions{gap:8px}.back-link{font-size:10px;padding:8px 10px}.admin-main{width:calc(100% - 20px);margin:20px auto 38px}.admin-page .panel{padding:16px}.dashboard-grid{grid-template-columns:1fr}.preview-panel{position:static;grid-row:2}.list-panel{grid-column:auto;grid-row:3}.product-list{grid-template-columns:1fr}.dashboard-heading{align-items:flex-start;gap:10px}.dashboard-heading h1{font-size:27px}.category-manager{align-items:flex-start}.category-create{width:100%;min-width:0}.category-create input{min-width:0!important}.auth-panel{margin:35px auto}.variant-row{grid-template-columns:1fr 1fr 30px}.variant-row input[type=file]{grid-column:1/3}.variant-row .remove-variant{grid-column:3;grid-row:1}}@media(max-width:420px){.admin-brand img{width:145px}.admin-header-actions{gap:5px}.back-link{padding:7px 8px}.two-fields{gap:7px}.category-create{align-items:stretch}.category-create button{white-space:nowrap;padding:9px}}.admin-header{height:88px;padding:0 max(24px,calc((100% - 1500px)/2))}.admin-brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;text-decoration:none}.admin-brand img{width:46px;height:46px;max-height:none;flex:0 0 46px;object-fit:cover;object-position:left center;filter:drop-shadow(0 1px 2px rgba(16,24,48,.12))}.admin-brand .brand-wordmark{display:inline-flex;align-items:center;gap:8px;font-family:Century Gothic,Trebuchet MS,Arial,sans-serif;font-size:clamp(17px,1.65vw,23px);font-weight:500;letter-spacing:-.035em;line-height:1;white-space:nowrap;text-shadow:0 1px 2px rgba(12,20,42,.1)}.admin-brand .brand-wordmark>span:first-child{color:#f3262b}.admin-brand .brand-wordmark>span:last-child{background:linear-gradient(90deg,#f3262b,#ff4b22 52%,#ff9c24);-webkit-background-clip:text;background-clip:text;color:transparent}.category-manager{min-height:0;padding:11px 15px!important;gap:12px;margin-bottom:14px;flex-wrap:wrap}.category-intro{gap:9px;flex:0 0 auto}.category-icon{width:32px;height:32px;border-radius:9px;font-size:16px}.category-intro h2{font-size:13px}.category-intro .muted{font-size:9px;line-height:1.3;margin-top:2px}.category-create{display:flex;align-items:center;gap:7px;min-width:0;width:min(390px,48%);margin:0 0 0 auto}.category-create input{min-width:0!important;height:35px;padding:7px 10px!important;font-size:10px!important}.category-create button{flex:0 0 auto;height:35px;padding:0 11px;font-size:10px;white-space:nowrap}.category-manager>.status{flex:0 1 300px;min-width:0;margin:0;font-size:9px;line-height:1.35}.category-manager>.status:empty{display:none}.preview-panel{min-width:0;padding:18px!important}.preview-heading{align-items:center;margin-bottom:0}.preview-help{font-size:9px!important;line-height:1.4!important;margin:4px 0 11px!important}.preview-stage{width:100%;min-width:0;padding:12px;background:linear-gradient(145deg,#f4f7ff,#edf6fa);align-items:stretch}.preview-stage .product{display:flex;flex-direction:column;align-items:stretch;width:100%;max-width:100%;min-width:0;height:auto;min-height:0;padding:0 0 15px;border:1px solid #e5eaf5;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfcff);text-align:left;overflow:hidden;box-shadow:0 7px 24px #1e305814}.preview-stage .product:after{display:none}.preview-stage .product>img,.preview-stage .product>.product-image-placeholder{display:flex;width:100%;height:auto;aspect-ratio:1.34/1;max-height:none;object-fit:contain;object-position:center;padding:12px;margin:0;border:0;border-radius:0;background:radial-gradient(ellipse at center,#fff,#f2f6ff);font-size:10px}.preview-stage .product>.product-category{display:inline-flex;align-self:flex-start;max-width:calc(100% - 26px);margin:11px 13px 0;padding:4px 9px;border:1px solid #dbe5f6;border-radius:5px;background:linear-gradient(120deg,#f1f5ff,#f0fbff);color:#405987;font-size:8px;font-weight:800;line-height:1.3;letter-spacing:.09em;white-space:normal;overflow-wrap:anywhere}.preview-stage .product>h3{min-height:2.84em;margin:11px 13px 5px;color:#202d4c;font-family:Trebuchet MS,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.42;letter-spacing:-.02em;overflow-wrap:anywhere}.preview-stage .product>p{min-height:2.8em;margin:0 13px;color:#7a8497;font-size:10.5px;line-height:1.5;overflow-wrap:anywhere}.preview-stage .product>.variant-chips{display:flex;flex-wrap:wrap;gap:5px;min-height:24px;margin:9px 13px 0}.preview-stage .product>.variant-chips span{max-width:100%;padding:3px 7px;border:1px solid #e4e9f4;border-radius:3px;background:#fafbff;color:#56637a;font-size:9px;line-height:1.3;overflow-wrap:anywhere}.preview-stage .product>.card-price{display:flex;flex-direction:column;align-self:stretch;gap:1px;min-width:0;margin:12px 13px 0;padding:8px 11px;border:1px solid #dce6f6;border-radius:8px;background:linear-gradient(120deg,#f5f7ff,#effbff)}.preview-stage .product>.card-price .card-price-label{margin:0;color:#7887a5;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.preview-stage .product>.card-price strong{margin:0;color:#263b70;font-size:15px;line-height:1.35;font-weight:800;overflow-wrap:anywhere}.preview-stage .product>.view-product{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:calc(100% - 26px);min-height:36px;margin:10px 13px 0;padding:8px 13px;border:1px solid #c9d7f2;border-radius:7px;background:linear-gradient(120deg,#f4f7ff,#edfaff);color:#263b70;font-size:10px;font-weight:750;line-height:1.3;white-space:normal}.preview-stage .product>.view-product:after{content:"→";margin-left:7px;font-size:13px}.preview-stage .product>.view-product:disabled{opacity:1}.preview-footnote{font-size:8px;line-height:1.45;margin:9px 1px 0}@media(max-width:1200px){.category-manager{flex-wrap:wrap}.category-create{width:min(390px,55%);margin-left:auto}.category-manager>.status{flex-basis:100%}}@media(max-width:760px){.admin-header{height:66px;padding:0 14px}.admin-brand{gap:7px}.admin-brand img{width:38px;height:38px;flex-basis:38px}.admin-brand .brand-wordmark{font-size:16px;gap:6px}.category-manager{align-items:center;gap:9px}.category-create{width:100%;margin:0}.category-manager>.status{flex-basis:100%}.preview-panel{position:static}.preview-stage .product{max-width:320px;margin:0 auto}}@media(max-width:390px){.admin-brand img{width:35px;height:35px;flex-basis:35px}.admin-brand .brand-wordmark{font-size:14px;gap:5px}}
