:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f6f7f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #111827;--muted: #64748b;--line: #dbe3ee;--panel: #ffffff;--red: #e5484d;--teal: #0d9488;--amber: #d97706;--blue: #2563eb}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f6f7f9}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app{min-height:100vh}.topbar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center;gap:18px;padding:14px clamp(18px,4vw,56px);background:#fffffff0;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand{display:inline-flex;align-items:center;gap:10px;width:max-content;border:0;padding:0;background:transparent;color:var(--ink);text-align:left}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#101827;color:#fff;font-weight:900}.brand strong,.brand small{display:block;line-height:1.1}.brand small{margin-top:3px;color:var(--muted)}.nav-tabs,.segmented{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#eef2f7}.nav-tabs button,.segmented button{display:inline-flex;align-items:center;gap:7px;min-height:36px;border:0;border-radius:6px;padding:0 13px;background:transparent;color:#334155;white-space:nowrap}.nav-tabs button.active,.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 2px #0f172a1f}.account-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.account-pill{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.solid-button,.ghost-button,.icon-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;border:1px solid transparent;padding:0 14px;font-weight:750}.solid-button{background:#111827;color:#fff}.solid-button:hover{background:#0f766e}.solid-button.large{min-height:48px;padding:0 18px}.solid-button.wide{width:100%}.ghost-button{background:#fff;color:var(--ink);border-color:var(--line)}.ghost-button.large{min-height:48px;padding:0 18px}.ghost-button:hover{border-color:#94a3b8}.ghost-button.danger,.icon-button.danger{color:#b91c1c}.icon-button{width:40px;padding:0;background:#fff;color:var(--ink);border-color:var(--line)}.text-button{width:100%;border:0;background:transparent;color:var(--blue)}.hero{min-height:min(680px,calc(100vh - 74px));display:flex;align-items:center;padding:clamp(46px,7vw,96px) clamp(20px,5vw,72px);background:linear-gradient(90deg,#f8fafcfa,#f8fafceb 38%,#f8fafc40 68%),url(/assets/shoes/hero-court.svg) center right / cover no-repeat;border-bottom:1px solid var(--line)}.hero-content{max-width:560px}.eyebrow{margin:0 0 10px;color:var(--teal);font-size:.78rem;font-weight:850;letter-spacing:0}.hero h1{margin:0;font-size:clamp(3rem,8vw,6.4rem);line-height:.92}.hero-copy{max-width:500px;margin:22px 0 0;color:#334155;font-size:clamp(1.05rem,2vw,1.28rem);line-height:1.65}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:28px}.hero-metric{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border:1px solid #cbd5e1;border-radius:8px;background:#ffffffd1;font-weight:800}.catalog-shell,.page-section{max-width:1220px;margin:0 auto;padding:38px 20px 70px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.section-heading h2{margin:0;font-size:clamp(1.75rem,3vw,2.45rem)}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-box,.select-box{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.search-box input,.select-box select{width:220px;border:0;outline:0;background:transparent}.select-box select{width:150px}.shoe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.shoe-card,.order-card,.stat-card,.admin-form,.admin-order-row,.admin-shoe-row{border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 12px 32px #0f172a0f}.shoe-card{overflow:hidden;display:flex;min-height:100%;flex-direction:column}.shoe-image-wrap{position:relative;aspect-ratio:1.22;background:#edf2f7;overflow:hidden}.shoe-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}.stock-badge{position:absolute;top:12px;right:12px;padding:6px 9px;border-radius:8px;background:#ecfdf5;color:#047857;font-size:.82rem;font-weight:850}.stock-badge.empty{background:#fef2f2;color:#b91c1c}.shoe-card-body{display:flex;flex:1;flex-direction:column;padding:16px}.shoe-title-row,.order-title,.form-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.shoe-title-row p,.order-title p,.admin-order-row p,.admin-shoe-row p,.checkout-product p{margin:0 0 4px;color:var(--muted);font-size:.86rem}.shoe-title-row h3,.order-title h3,.admin-order-row h3,.admin-shoe-row h3,.form-header h3,.form-header h4{margin:0}.rating{min-width:42px;padding:5px 8px;border-radius:8px;background:#fff7ed;color:var(--amber);text-align:center;font-weight:900}.shoe-description{min-height:68px;margin:12px 0;color:#475569;line-height:1.55}.tag-row,.inventory-row,.order-meta{display:flex;flex-wrap:wrap;gap:7px}.tag-row span{padding:5px 8px;border-radius:8px;background:#eef6ff;color:#1d4ed8;font-size:.78rem;font-weight:750}.inventory-row{margin-top:13px}.inventory-row span{display:grid;place-items:center;width:36px;height:32px;border:1px solid #cbd5e1;border-radius:8px;color:#334155;font-weight:750}.inventory-row span.disabled{color:#94a3b8;text-decoration:line-through;background:#f1f5f9}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:18px}.card-footer strong{display:block;font-size:1.35rem}.card-footer small{color:var(--muted)}.card-actions{display:flex;align-items:center;gap:8px}.empty-state{display:grid;place-items:center;gap:14px;min-height:420px;text-align:center}.empty-state h2{margin:0}.order-list{display:grid;gap:14px}.order-card{display:grid;grid-template-columns:132px 1fr auto;gap:18px;align-items:center;padding:14px}.order-card>img{width:132px;height:96px;object-fit:cover;border-radius:8px;background:#edf2f7}.order-meta{margin-top:12px;color:#475569}.order-meta span{display:inline-flex;align-items:center;gap:5px}.status{padding:6px 9px;border-radius:8px;background:#eef2ff;color:#3730a3;font-size:.82rem;font-weight:850;white-space:nowrap}.status-returned,.status-completed{background:#ecfdf5;color:#047857}.status-cancelled{background:#fef2f2;color:#b91c1c}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat-card{padding:18px}.stat-card span{display:block;color:var(--muted)}.stat-card strong{display:block;margin-top:8px;font-size:2rem}.admin-table{display:grid;gap:12px}.admin-order-row,.admin-shoe-row{display:grid;grid-template-columns:82px 1fr auto;gap:14px;align-items:center;padding:12px}.admin-order-row img,.admin-shoe-row img{width:82px;height:64px;border-radius:8px;object-fit:cover;background:#edf2f7}.admin-order-row span,.admin-shoe-row span{color:var(--muted)}.admin-order-row select{min-width:150px;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff}.admin-shoes-layout{display:grid;grid-template-columns:minmax(360px,470px) 1fr;gap:18px;align-items:start}.admin-form{padding:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}label{display:grid;gap:6px;color:#334155;font-size:.9rem;font-weight:750}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px 11px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0d948826}textarea{resize:vertical}.full-label,.check-label{margin-top:12px}.check-label{display:flex;align-items:center;gap:9px}.check-label input{width:18px;height:18px}.inventory-editor{display:grid;gap:10px;margin-top:16px}.inventory-edit-row{display:grid;grid-template-columns:1fr 1fr 1fr 40px;gap:8px;align-items:end}.admin-shoe-list{display:grid;gap:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px;background:#0f172a94}.modal-panel{position:relative;width:min(100%,620px);max-height:min(90vh,820px);overflow:auto;border-radius:8px;background:#fff;padding:24px;box-shadow:0 30px 90px #0f172a42}.auth-panel{width:min(100%,410px)}.modal-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff}.modal-panel h2{margin:0 0 18px}.auth-panel label+label,.auth-panel label+button,.checkout-panel label+label{margin-top:12px}.demo-account{margin:6px 0 0;color:var(--muted);font-size:.86rem;text-align:center}.checkout-product{display:grid;grid-template-columns:132px 1fr;gap:16px;align-items:center;margin-bottom:18px}.checkout-product img{width:132px;height:98px;object-fit:cover;border-radius:8px;background:#edf2f7}.checkout-product h2{margin:0 0 6px}.checkout-product span{color:var(--muted)}.size-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:16px}.size-picker button{min-height:50px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:var(--ink);font-weight:850}.size-picker button.active{border-color:var(--teal);background:#ecfdf5}.size-picker small{display:block;margin-top:2px;color:var(--muted)}.checkout-total{display:flex;justify-content:space-between;align-items:center;margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.checkout-total span{color:var(--muted)}.checkout-total strong{font-size:1.8rem}.toast{position:fixed;top:82px;right:18px;z-index:80;display:flex;align-items:center;gap:12px;max-width:min(420px,calc(100vw - 36px));padding:12px 12px 12px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 16px 40px #0f172a29;font-weight:750}.toast button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:6px;background:#f1f5f9}.muted{color:var(--muted)}.tryon-page{max-width:1320px}.tryon-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.tryon-stage-card,.tryon-panel{border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 12px 32px #0f172a0f}.tryon-stage-card{padding:14px}.tryon-stage{position:relative;min-height:560px;overflow:hidden;border-radius:8px;background:linear-gradient(135deg,rgba(15,23,42,.06) 25%,transparent 25%) 0 0 / 22px 22px,linear-gradient(225deg,rgba(15,23,42,.06) 25%,transparent 25%) 0 0 / 22px 22px,#e8edf3;touch-action:none}.tryon-stage.is-empty{display:grid;place-items:center}.tryon-source{display:block;width:100%;height:auto;min-height:420px;max-height:74vh;object-fit:contain;background:#0f172a}video.tryon-source{aspect-ratio:16 / 10}.tryon-overlay{position:absolute;z-index:3;height:auto;transform-origin:50% 50%;filter:drop-shadow(0 18px 24px rgba(15,23,42,.24));-webkit-user-select:none;user-select:none;touch-action:none}.tryon-overlay:hover,.tryon-overlay.is-dragging{outline:2px solid rgba(13,148,136,.65);outline-offset:8px}.tryon-empty{display:grid;place-items:center;gap:10px;max-width:360px;padding:34px 20px;color:#475569;text-align:center}.tryon-empty h3,.tryon-tool-block h3{margin:0;color:var(--ink)}.tryon-empty p{margin:0;line-height:1.6}.tryon-panel{display:grid;gap:14px;padding:16px}.tryon-tool-block{display:grid;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.tryon-tool-block:last-of-type{border-bottom:0;padding-bottom:0}.tryon-shoe-list{display:grid;gap:8px;max-height:270px;overflow:auto}.tryon-shoe-list button{display:grid;grid-template-columns:74px 1fr;gap:10px;align-items:center;width:100%;min-height:74px;border:1px solid var(--line);border-radius:8px;padding:8px;background:#f8fafc;text-align:left}.tryon-shoe-list button.active{border-color:var(--teal);background:#ecfdf5}.tryon-shoe-list img{width:74px;height:52px;object-fit:contain}.tryon-shoe-list strong,.tryon-shoe-list small{display:block}.tryon-shoe-list small{margin-top:3px;color:var(--muted)}.tryon-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.upload-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-weight:750;overflow:hidden}.upload-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.range-control{display:grid;gap:8px}.range-control span{display:flex;justify-content:space-between;gap:12px;color:#334155}.range-control input{padding:0;accent-color:var(--teal)}.wide-button{width:100%}.tryon-hint{display:flex;gap:10px;align-items:flex-start;border-radius:8px;padding:12px;background:#f1f5f9;color:#475569;font-size:.9rem;line-height:1.5}@media(max-width:1050px){.topbar{grid-template-columns:1fr}.nav-tabs,.account-actions{justify-self:start}.shoe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shoes-layout{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tryon-layout{grid-template-columns:1fr}.tryon-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.tryon-hint{grid-column:1 / -1}}@media(max-width:720px){.topbar{padding:12px 14px}.nav-tabs{width:100%;overflow-x:auto}.hero{min-height:620px;align-items:flex-start;padding-top:46px;background:linear-gradient(180deg,#f8fafcfa,#f8fafce6 48%,#f8fafc40),url(/assets/shoes/hero-court.svg) center bottom / 150% auto no-repeat}.section-heading{align-items:stretch;flex-direction:column}.filters,.search-box,.select-box,.filters .solid-button,.search-box input,.select-box select{width:100%}.shoe-grid,.stat-grid,.form-grid,.size-picker,.tryon-panel,.tryon-actions{grid-template-columns:1fr}.card-footer{align-items:stretch;flex-direction:column}.card-actions,.card-actions .solid-button{width:100%}.tryon-stage-card{padding:8px}.tryon-stage{min-height:440px}.tryon-source{min-height:380px;max-height:68vh}.order-card{grid-template-columns:96px 1fr}.order-card>img{width:96px;height:86px}.order-card>.ghost-button{grid-column:1 / -1;width:100%}.admin-order-row,.admin-shoe-row{grid-template-columns:72px 1fr}.admin-order-row img,.admin-shoe-row img{width:72px;height:60px}.admin-order-row select,.admin-shoe-row .icon-button{grid-column:1 / -1;width:100%}.inventory-edit-row{grid-template-columns:1fr}.inventory-edit-row .icon-button{width:100%}.checkout-product{grid-template-columns:1fr}.checkout-product img{width:100%;height:auto;aspect-ratio:1.55}}
