:root { --bg:#090a0c; --surface:#111317; --surface-2:#171a1f; --line:#252930; --muted:#858b96; --text:#f5f5f2; --yellow:#FFE600; --yellow-soft:#302b00; --green:#43d17a; --danger:#ff6868; }
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; background:var(--bg); color:var(--text); }
body { font-family:"Poppins",Arial,sans-serif; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
.brand-mark { width:42px; height:42px; display:grid; place-items:center; color:#0c0d0f; background:var(--yellow); font-weight:900; font-size:22px; letter-spacing:-2px; transform:skew(-7deg); border-radius:3px 10px 3px 10px; box-shadow:0 0 38px rgba(255,230,0,.18); }
.eyebrow,.login-kicker,.panel-kicker { color:#a4a8b0; font-size:11px; font-weight:800; letter-spacing:.16em; }
.eyebrow i { display:inline-block; width:18px; height:2px; background:var(--yellow); margin:0 9px 3px 0; }
.primary-button { border:0; color:#0d0e10; background:var(--yellow); min-height:46px; padding:0 20px; display:flex; align-items:center; justify-content:center; gap:18px; font-weight:850; border-radius:7px; transition:.2s ease; box-shadow:0 8px 28px rgba(255,230,0,.12); }
.primary-button:hover { background:#ffd536; transform:translateY(-1px); }

/* Login */
.login-page { min-height:100vh; display:grid; grid-template-columns:minmax(420px,1.05fr) minmax(480px,.95fr); background:#0d0f12; }
.login-brand-panel { position:relative; padding:54px 7vw; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; background:radial-gradient(circle at 80% 15%,rgba(255,230,0,.1),transparent 27%),linear-gradient(135deg,#0b0c0e 0%,#14171b 100%); border-right:1px solid #22262c; }
.login-brand-panel::before { content:""; position:absolute; width:540px; height:540px; left:20%; top:25%; border:1px solid rgba(255,255,255,.035); border-radius:50%; box-shadow:0 0 0 90px rgba(255,255,255,.012),0 0 0 180px rgba(255,255,255,.008); }
.login-brand-panel::after { content:"C"; position:absolute; right:-5%; bottom:-23%; font-size:46vw; font-weight:950; line-height:1; color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.03); transform:skew(-7deg); }
.brand-lockup { position:relative; z-index:1; display:flex; align-items:center; gap:15px; font-weight:900; font-size:18px; letter-spacing:.08em; }
.login-brand-copy { position:relative; z-index:1; max-width:610px; padding:10vh 0; }
.login-brand-copy h1 { margin:22px 0 20px; font-size:clamp(52px,5.4vw,82px); line-height:.95; letter-spacing:-.06em; font-weight:860; }
.login-brand-copy h1 em { color:var(--yellow); font-style:normal; }
.login-brand-copy>p { color:#989ea7; font-size:17px; line-height:1.7; max-width:520px; }
.brand-stats { display:flex; gap:50px; margin-top:56px; }
.brand-stats div { display:flex; flex-direction:column; gap:5px; padding-left:14px; border-left:2px solid var(--yellow); }
.brand-stats strong { font-size:20px; }.brand-stats span { color:#818791; font-size:12px; text-transform:uppercase; letter-spacing:.1em; }
.brand-footnote { position:relative; z-index:1; color:#535962; font:11px var(--font-geist-mono),monospace; letter-spacing:.06em; }
.login-card-wrap { display:grid; place-items:center; align-content:center; padding:40px; position:relative; background:radial-gradient(circle at 50% 50%,#16191e 0%,#0d0f12 60%); }
.login-card { width:min(420px,100%); }.mobile-brand { display:none; }
.login-card h2 { margin:14px 0 8px; font-size:35px; letter-spacing:-.04em; }.login-subtitle { color:var(--muted); margin:0 0 38px; }
.login-form { display:flex; flex-direction:column; gap:22px; }.field-group { display:flex; flex-direction:column; gap:9px; }.field-group label { font-size:13px; font-weight:700; color:#d7d8d6; }.field-label-row { display:flex; justify-content:space-between; }.field-label-row span { font-size:11px; color:#686e77; }
.input-shell { min-height:52px; padding:0 15px; border:1px solid #2b2f36; background:#121418; border-radius:7px; display:flex; align-items:center; gap:12px; transition:.2s; }.input-shell:focus-within { border-color:var(--yellow); box-shadow:0 0 0 3px rgba(255,230,0,.08); }.input-shell>span { color:#707681; }.input-shell input { flex:1; min-width:0; border:0; outline:0; color:white; background:transparent; }.input-shell input::placeholder { color:#545a63; }.show-password { color:#8e949d; border:0; background:transparent; font-size:11px; font-weight:800; text-transform:uppercase; }.form-error { color:#ff8b8b; background:rgba(255,104,104,.08); border:1px solid rgba(255,104,104,.2); padding:11px 13px; border-radius:6px; font-size:13px; margin:0; }.login-button { width:100%; margin-top:5px; }.login-button:disabled { opacity:.65; cursor:wait; }
.secure-note { margin-top:30px; padding:15px; border-top:1px solid #24282e; display:flex; gap:12px; color:#666d76; }.secure-note>span { color:var(--yellow); font-size:10px; }.secure-note p { font-size:11px; line-height:1.5; margin:0; }.secure-note strong { color:#90969e; }.login-footer { position:absolute; bottom:30px; color:#505660; font-size:11px; }

/* Admin shell */
.admin-app { min-height:100vh; background:#0b0c0f; }.sidebar { position:fixed; inset:0 auto 0 0; z-index:30; width:250px; display:flex; flex-direction:column; background:#0d0f12; border-right:1px solid #202329;box-shadow:18px 0 55px rgba(0,0,0,.45);transform:translateX(-102%);transition:transform .24s ease; }.sidebar.sidebar-open { transform:none; }.sidebar-brand { height:80px; padding:0 22px; display:flex; align-items:center; gap:12px; border-bottom:1px solid #202329; }.sidebar-brand .brand-mark { width:35px;height:35px;font-size:18px; }.sidebar-brand div:not(.brand-mark) { display:flex; flex-direction:column; gap:3px; }.sidebar-brand strong { font-size:14px; letter-spacing:.08em; }.sidebar-brand small { color:#5e646e; font-size:8px; letter-spacing:.18em; }.close-menu { display:block;margin-left:auto;border:0;background:transparent;color:#8f959e;font-size:23px; }
.sidebar nav { padding:26px 12px; flex:1; }.nav-title { display:block; color:#505660; font-size:9px; font-weight:800; letter-spacing:.18em; padding:0 12px 10px; }.nav-settings { margin-top:28px; }.sidebar nav button { width:100%; min-height:44px; margin:2px 0; padding:0 12px; border:0; border-radius:6px; background:transparent; color:#818791; display:flex; align-items:center; gap:12px; text-align:left; font-size:13px; font-weight:600; }.sidebar nav button>span { width:19px; text-align:center; font-size:17px; color:#69707a; }.sidebar nav button:hover { color:#d9d9d6; background:#15181c; }.sidebar nav button.active { color:#f7f7f3; background:linear-gradient(90deg,rgba(255,230,0,.14),rgba(255,230,0,.03)); box-shadow:inset 2px 0 var(--yellow); }.sidebar nav button.active>span { color:var(--yellow); }.sidebar nav button b { margin-left:auto; color:#151515; background:var(--yellow); border-radius:12px; min-width:20px; padding:2px 5px; text-align:center; font-size:9px; }
.payment-settings-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:20px}.payment-settings-panel,.payment-preview{padding:24px}.payment-settings-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.payment-settings-form label{display:flex;flex-direction:column;gap:7px;color:#aeb3bb;font-size:11px;font-weight:700}.payment-settings-form input{height:44px;padding:0 12px;border:1px solid #323740;border-radius:7px;background:#101318;color:#f2f3f4;font:600 13px inherit}.payment-settings-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:8px}.payment-settings-actions p{max-width:420px;color:#717985;font-size:10px}.payment-preview h2{margin:10px 0;font-size:20px}.payment-preview ol{display:grid;gap:12px;padding-left:20px;color:#969da7;font-size:12px;line-height:1.5}.web-sales-table td{vertical-align:middle}.web-sales-table td>strong,.web-sales-table td>small{display:block}.web-sales-table td>small{margin-top:4px;color:#737b86;font-size:9px}.payment-state{display:inline-block;padding:6px 8px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.payment-state.reported{background:#4a3f08;color:#ffe768}.payment-state.paid{background:#143e28;color:#77e4a5}.payment-state.waiting{background:#292d34;color:#9ca3ad}.confirm-transfer{border-color:#4d8d66!important;color:#8de0ac!important}
.advance-sale{border-color:#4c70a9!important;color:#91b8f2!important}.sale-completed{color:#70d998!important;font-size:9px;text-transform:uppercase;white-space:nowrap}
@media(max-width:900px){.payment-settings-layout{grid-template-columns:1fr}}@media(max-width:600px){.payment-settings-form{grid-template-columns:1fr}.payment-settings-actions{align-items:stretch;flex-direction:column}.payment-settings-actions .primary-button{width:100%}}
.sidebar-user { margin:12px; padding:14px 10px; display:flex; gap:10px; align-items:center; border-top:1px solid #25282e; }.avatar,.top-avatar { width:34px;height:34px;display:grid;place-items:center;border-radius:6px;background:#292d33;color:#d8d9d6;font-size:11px;font-weight:800; }.sidebar-user>div:nth-child(2) { display:flex; flex:1; flex-direction:column; gap:3px; }.sidebar-user strong { font-size:12px; }.sidebar-user small { color:#6d737d;font-size:10px; }.sidebar-user form button { border:0;background:transparent;color:#676d76;font-size:18px; }.sidebar-user form button:hover { color:var(--yellow); }
.admin-main { min-height:100vh; margin-left:0; }.topbar { height:80px; padding:0 34px; display:flex; align-items:center; border-bottom:1px solid #202329; background:rgba(11,12,15,.88); backdrop-filter:blur(15px); position:sticky; top:0; z-index:20; }.breadcrumb { display:flex; gap:10px; align-items:center; font-size:12px; }.breadcrumb span,.breadcrumb i { color:#5f6570; font-style:normal; }.breadcrumb strong { color:#d7d8d6; }.topbar-actions { margin-left:auto; display:flex; gap:15px; align-items:center; }.topbar-actions>button { width:34px;height:34px;border:1px solid #2a2e35;background:#14171b;color:#8e949d;border-radius:6px;position:relative; }.topbar-actions button b { position:absolute; top:6px;right:7px;width:5px;height:5px;background:var(--yellow);border-radius:50%; }.mobile-menu { display:block;border:0;background:transparent;color:#a2a7af;font-size:20px;margin-right:15px; }
.sidebar-backdrop { position:fixed;z-index:29;inset:0;border:0;background:rgba(0,0,0,.62);backdrop-filter:blur(2px); }
.content { width:100%;padding:42px clamp(24px,3vw,58px) 70px;max-width:2200px;margin:0 auto; }.page-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:34px; }.page-heading h1 { font-size:clamp(30px,3vw,46px);letter-spacing:-.045em;margin:10px 0 6px; }.page-heading p { color:#747b85;margin:0;font-size:14px; }
.kpi-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px; }.kpi-card { background:linear-gradient(145deg,#14171b,#101216);border:1px solid #25282f;border-radius:9px;padding:21px;position:relative;overflow:hidden; }.kpi-card::after { content:"";position:absolute;inset:auto -30px -50px auto;width:100px;height:100px;background:radial-gradient(circle,rgba(255,255,255,.035),transparent 70%); }.kpi-top { display:flex;justify-content:space-between;align-items:center;color:#858b95;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em; }.kpi-top i { width:32px;height:32px;display:grid;place-items:center;border:1px solid #2a2e35;border-radius:7px;font-style:normal;font-size:16px; }.kpi-card>strong { display:block;font-size:31px;letter-spacing:-.04em;margin:19px 0 4px; }.kpi-card>p { color:#5f6670;margin:0;font-size:11px; }.kpi-warning { border-color:rgba(255,230,0,.25); }.kpi-warning .kpi-top i,.kpi-warning>strong { color:var(--yellow); }
.dashboard-grid { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:18px;margin-bottom:18px; }.panel { background:#111317;border:1px solid #24282e;border-radius:9px; }.panel-head { min-height:78px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #23262c; }.panel-head h2 { margin:5px 0 0;font-size:17px;letter-spacing:-.02em; }.panel-head select,.panel-head button { border:1px solid #2a2e35;background:#171a1f;color:#8a9099;border-radius:5px;padding:8px 10px;font-size:10px; }.panel-head button { border:0;background:transparent;color:#8e949d; }.warning-text { color:var(--yellow); }.empty-chart { height:260px;padding:30px;display:grid;grid-template-columns:1.5fr .8fr;gap:30px;align-items:center; }.chart-bars { height:150px;display:flex;align-items:flex-end;gap:10px;border-bottom:1px solid #2c3037;background:repeating-linear-gradient(to top,transparent,transparent 37px,#1a1d22 38px); }.chart-bars i { flex:1;background:linear-gradient(to top,rgba(255,230,0,.15),var(--yellow));border-radius:3px 3px 0 0;opacity:.68; }.empty-chart strong { font-size:13px; }.empty-chart p { color:#626974;font-size:11px;line-height:1.6; }.critical-list { padding:8px 18px; }.critical-list>div { display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #22262b; }.critical-list img { width:46px;height:42px;object-fit:cover;border-radius:5px;background:#eee; }.critical-list div div { display:flex;flex:1;flex-direction:column;gap:4px; }.critical-list strong { font-size:11px; }.critical-list span { color:#6d737d;font-size:9px; }.critical-list b { color:var(--yellow);font-size:17px; }.activity-panel { min-height:230px; }.empty-state { display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;color:#646a74; }.empty-state>span { font-size:22px;color:#505660;margin-bottom:10px; }.empty-state strong { color:#a2a6ad;font-size:12px; }.empty-state p { font-size:10px; }
.inventory-summary { display:flex;gap:28px;margin:-12px 0 19px;color:#707680;font-size:10px;text-transform:uppercase;letter-spacing:.06em; }.inventory-summary span { display:flex;align-items:center;gap:7px; }.dot { width:6px;height:6px;border-radius:50%; }.dot.green { background:var(--green); }.dot.yellow { background:var(--yellow); }.dot.gray { background:#656b75; }
.inventory-panel { overflow:hidden; }.filters { padding:17px;display:flex;gap:10px;border-bottom:1px solid #25282e; }.search-box { flex:1;min-width:250px;height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #292d34;border-radius:6px;background:#0d0f12;color:#686f79; }.search-box input { flex:1;min-width:0;border:0;outline:0;background:transparent;color:white;font-size:12px; }.filters select { height:42px;min-width:160px;padding:0 12px;border:1px solid #292d34;border-radius:6px;background:#15181c;color:#9a9fa7;font-size:11px; }.table-scroll { overflow-x:auto; }table { width:100%;border-collapse:collapse;min-width:1050px; }th { padding:13px 16px;text-align:left;color:#5d636d;font-size:9px;letter-spacing:.1em;background:#0e1013;border-bottom:1px solid #23262c; }td { padding:14px 16px;border-bottom:1px solid #202329;color:#aaaeb5;font-size:11px; }tbody tr:hover { background:#15181c; }.product-cell { display:flex;align-items:center;gap:12px; }.product-viewer-trigger{padding:0;border:0;background:transparent;text-align:left;cursor:zoom-in}.product-viewer-trigger:hover strong,.product-viewer-trigger:focus-visible strong{color:var(--yellow)}.product-viewer-trigger:focus-visible{outline:1px solid var(--yellow);outline-offset:5px;border-radius:5px}.product-viewer-trigger img{transition:transform .2s,box-shadow .2s}.product-viewer-trigger:hover img{transform:scale(1.06);box-shadow:0 0 0 2px rgba(255,230,0,.35)}.product-cell img,.image-placeholder { width:50px;height:46px;object-fit:cover;border-radius:6px;background:#e9e7e0;display:grid;place-items:center;color:#323438; }.product-cell div { display:flex;flex-direction:column;gap:5px; }.product-cell strong,.table-main { color:#e6e6e2;font-size:12px; }.product-cell small,td>small { display:block;color:#5f6570;font:9px var(--font-geist-mono),monospace;margin-top:4px; }.price { color:#e3e3df;font-size:12px; }.variant-count { color:#858b94; }.stock-pill { display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:4px;font-size:10px;font-weight:700; }.stock-pill i { width:5px;height:5px;border-radius:50%; }.stock-pill.ok { color:#79db9f;background:rgba(67,209,122,.08); }.stock-pill.ok i { background:var(--green); }.stock-pill.low { color:#f1cf55;background:rgba(255,230,0,.09); }.stock-pill.low i { background:var(--yellow); }.stock-pill.out { color:#ff8383;background:rgba(255,104,104,.08); }.stock-pill.out i { background:var(--danger); }.status { padding:5px 8px;border-radius:4px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em; }.status.published { color:#79db9f;background:rgba(67,209,122,.08); }.status.draft { color:#9298a1;background:#20242a; }.status.hidden { color:#ff9a9a;background:rgba(255,104,104,.08); }.row-action { border:0;background:transparent;color:#a3a8b0;font-size:10px;font-weight:700;white-space:nowrap; }.row-action:hover { color:var(--yellow); }.empty-table { padding:50px;text-align:center;color:#686f78;font-size:12px; }
.image-viewer{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:28px;background:rgba(2,3,4,.9);backdrop-filter:blur(10px);animation:viewer-fade .2s ease}.image-viewer-dialog{width:min(1180px,100%);height:min(850px,calc(100vh - 56px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #30343b;border-radius:14px;background:#0d0f12;box-shadow:0 30px 120px rgba(0,0,0,.72);animation:viewer-in .24s ease}.image-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #292d34}.image-viewer-head h2{margin:5px 0 2px;font-size:20px}.image-viewer-head p{margin:0;color:#717782;font-size:10px}.image-viewer-head>button{width:38px;height:38px;border:1px solid #343942;border-radius:7px;background:#171a1f;color:#a8adb5;font-size:24px}.image-viewer-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;overflow:auto;background:radial-gradient(circle,rgba(255,255,255,.035),transparent 52%),#08090b}.image-viewer-stage>img{max-width:calc(100% - 120px);max-height:100%;object-fit:contain;transform-origin:center;transition:transform .18s ease;cursor:zoom-in;user-select:none}.image-viewer-stage>img.zoomed{cursor:zoom-out}.image-viewer-nav{position:sticky;z-index:2;top:50%;flex:0 0 auto;width:44px;height:62px;border:1px solid #343942;border-radius:8px;background:rgba(17,19,23,.88);color:#eef0ec;font-size:38px}.image-viewer-nav.previous{left:18px;margin-right:auto}.image-viewer-nav.next{right:18px;margin-left:auto}.image-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px;padding:12px 18px;border-top:1px solid #292d34}.image-viewer-thumbnails{display:flex;gap:8px;min-width:0;overflow-x:auto}.image-viewer-thumbnails button{flex:0 0 52px;width:52px;height:52px;padding:2px;border:1px solid #343942;border-radius:6px;background:#171a1f}.image-viewer-thumbnails button.active{border-color:var(--yellow);box-shadow:0 0 0 2px rgba(255,230,0,.1)}.image-viewer-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:4px}.image-viewer-tools{display:flex;align-items:center;gap:8px;white-space:nowrap}.image-viewer-tools>span{margin-right:8px;color:#777e88;font-size:10px}.image-viewer-tools button{min-width:34px;height:34px;padding:0 10px;border:1px solid #343942;border-radius:6px;background:#171a1f;color:#d6d8d4}.image-viewer-tools strong{min-width:48px;text-align:center;color:var(--yellow);font-size:10px}@keyframes viewer-fade{from{opacity:0}to{opacity:1}}@keyframes viewer-in{from{opacity:.5;transform:scale(.96)}to{opacity:1;transform:none}}
.drawer-backdrop { position:fixed;z-index:50;inset:0;border:0;background:rgba(0,0,0,.62);backdrop-filter:blur(2px); }.drawer { position:fixed;z-index:51;right:0;top:0;bottom:0;width:min(680px,96vw);background:#101216;border-left:1px solid #292d33;padding:26px;overflow:auto;box-shadow:-30px 0 80px rgba(0,0,0,.35); }.drawer-head { display:flex;justify-content:space-between;gap:20px;padding-bottom:23px;border-bottom:1px solid #292d33; }.drawer-head h2 { margin:8px 0 4px;font-size:24px; }.drawer-head p { margin:0;color:#717782;font-size:11px; }.drawer-head>button { width:34px;height:34px;border:1px solid #30343c;border-radius:5px;background:#191c21;color:#9ca1a9;font-size:22px; }.drawer-product { display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:stretch;gap:18px;padding:24px 0 14px; }.drawer-product>img { width:100%;height:320px;object-fit:contain;border-radius:10px;background:#f1f1ee; }.drawer-stock-summary { min-height:132px;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:20px;border:1px solid #292d34;border-radius:10px;background:#15181c;color:#838a94;font-size:11px; }.drawer-stock-summary strong { color:white;font-size:34px;line-height:1; }.drawer-stock-summary small { color:#747a84;font-size:10px; }.variant-list-head { display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px; }.variant-list-head h3 { font-size:13px; }.variant-list-head span { color:#666d76;font-size:10px; }.variant-list article { display:grid;grid-template-columns:18px 1fr auto;gap:12px;align-items:center;padding:15px 12px;background:#15181c;border:1px solid #252930;border-radius:6px;margin-bottom:8px; }.color-swatch { width:14px;height:14px;border-radius:50%;border:1px solid #626873; }.variant-list article>div:nth-child(2),.variant-price { display:flex;flex-direction:column;gap:4px; }.variant-list article strong { font-size:11px; }.variant-list article span { color:#626975;font:9px var(--font-geist-mono),monospace; }.variant-price { text-align:right; }.variant-price span { color:#70d698!important; }.variant-price .low-text { color:var(--yellow)!important; }.drawer-note { display:flex;gap:12px;margin-top:24px;padding:15px;border:1px solid rgba(255,230,0,.18);background:rgba(255,230,0,.05);border-radius:6px;color:#8d918f; }.drawer-note>span { color:#151515;background:var(--yellow);width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:900; }.drawer-note p { margin:0;font-size:10px;line-height:1.6; }
.module-placeholder { min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:radial-gradient(circle at 50% 45%,rgba(255,230,0,.05),transparent 35%),#111317; }.module-placeholder>span { width:70px;height:70px;display:grid;place-items:center;border:1px solid #363a42;border-radius:18px;color:var(--yellow);font-size:17px;font-weight:900;transform:rotate(-5deg); }.module-placeholder h2 { margin:22px 0 8px; }.module-placeholder p { max-width:500px;color:#717782;line-height:1.7;font-size:12px; }

.modal-backdrop { position:fixed;z-index:80;inset:0;padding:30px;display:grid;place-items:center;background:rgba(3,4,5,.78);backdrop-filter:blur(5px);overflow-y:auto; }
.product-modal { width:min(1120px,100%);max-height:calc(100vh - 60px);overflow-y:auto;background:#111317;border:1px solid #30343b;border-radius:12px;box-shadow:0 30px 100px rgba(0,0,0,.58); }
.modal-head { position:sticky;z-index:2;top:0;display:flex;justify-content:space-between;gap:20px;padding:24px 26px 20px;background:rgba(17,19,23,.97);border-bottom:1px solid #292d34; }
.modal-head h2 { margin:7px 0 4px;font-size:24px; }.modal-head p { margin:0;color:#747a84;font-size:11px; }
.modal-head>button { width:35px;height:35px;flex:0 0 auto;border:1px solid #333841;border-radius:6px;background:#191c21;color:#a0a5ad;font-size:22px; }
.product-form { padding:24px 26px 26px; }.form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.form-field { min-width:0;display:flex;flex-direction:column;gap:7px;color:#9ca1aa;font-size:10px;font-weight:700;letter-spacing:.025em; }.form-field-wide { grid-column:1/-1; }
.form-field input,.form-field select,.form-field textarea { width:100%;border:1px solid #30343c;border-radius:6px;outline:0;background:#0d0f12;color:#f0f0ed;padding:11px 12px;font-size:12px;transition:border-color .18s,box-shadow .18s; }
.price-input-shell{width:100%;min-height:42px;display:flex;align-items:center;overflow:hidden;border:1px solid #30343c;border-radius:6px;background:#0d0f12;transition:border-color .18s,box-shadow .18s}.price-input-shell:focus-within{border-color:var(--yellow);box-shadow:0 0 0 3px rgba(255,230,0,.08)}.price-input-shell>b{display:grid;align-self:stretch;place-items:center;min-width:42px;border-right:1px solid #292d34;color:var(--yellow);font-size:14px}.price-input-shell input[data-price-mask]{border:0;border-radius:0;box-shadow:none;background:transparent;font-family:var(--font-geist-mono),monospace;font-weight:700}.price-input-shell input[type=hidden]{display:none}
.form-field input,.form-field select { min-height:43px; }.form-field textarea { resize:vertical;line-height:1.55; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color:var(--yellow);box-shadow:0 0 0 3px rgba(255,230,0,.08); }
.form-field small { color:#626974;font-size:9px;font-weight:500; }
.upload-field input { padding:8px; }.upload-field input::file-selector-button { border:0;border-radius:4px;background:#292d34;color:#d8d9d5;padding:7px 10px;margin-right:10px;font-weight:700;cursor:pointer; }
.size-matrix-section { margin-top:24px;padding:20px;border:1px solid #292d34;border-radius:8px;background:#0d0f12; }
.size-matrix-head { display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px; }.size-matrix-head span { color:var(--yellow);font-size:9px;font-weight:800;letter-spacing:.13em; }.size-matrix-head h3 { margin:4px 0 2px;font-size:16px; }.size-matrix-head p { margin:0;color:#666d77;font-size:10px; }
.compact-button { min-height:36px;padding:0 12px;font-size:10px;white-space:nowrap; }.size-matrix-scroll { overflow-x:auto;padding-bottom:3px; }
.size-matrix { min-width:900px;table-layout:fixed;border-collapse:separate;border-spacing:5px; }.size-matrix th { padding:0 0 5px;background:transparent;border:0;text-align:center;color:#737a84;font-size:9px; }.size-matrix th:first-child { width:168px;text-align:left; }.size-matrix th:last-child { width:32px; }
.size-matrix td { padding:0;border:0; }.size-matrix tbody tr:hover { background:transparent; }.size-matrix input { width:100%;height:38px;border:1px solid #30343c;border-radius:5px;outline:0;background:#15181c;color:#f2f2ee;text-align:center;font-size:11px; }.size-matrix input:focus { border-color:var(--yellow);box-shadow:0 0 0 2px rgba(255,230,0,.08); }.size-matrix td:first-child input { padding:0 10px;text-align:left; }
.size-matrix input[type=number] { appearance:textfield; }.size-matrix input[type=number]::-webkit-inner-spin-button { appearance:none; }.remove-color { width:30px;height:38px;border:0;border-radius:5px;background:rgba(255,104,104,.08);color:#d87878;font-size:18px; }.remove-color:hover { background:rgba(255,104,104,.16); }
.matrix-summary { display:flex;justify-content:flex-end;gap:22px;margin-top:15px;padding-top:14px;border-top:1px solid #252930;color:#747b85;font-size:10px; }.matrix-summary strong { color:var(--yellow);font-size:15px;margin-right:4px; }.image-fields { margin-top:22px; }
.product-gallery{display:flex;gap:9px;margin:0 0 22px;overflow-x:auto;padding:2px}.product-gallery[hidden]{display:none}.product-gallery button{flex:0 0 68px;width:68px;height:68px;padding:2px;border:1px solid #353941;border-radius:8px;background:#17191d;overflow:hidden}.product-gallery button.active{border-color:var(--yellow);box-shadow:0 0 0 2px rgba(255,230,0,.12)}.product-gallery img{width:100%;height:100%;border-radius:5px;object-fit:cover}
.edit-images-section{margin-top:22px;padding:18px 20px;border:1px solid #292d34;border-radius:8px;background:#0d0f12}.edit-images-section>div:first-child>span{color:var(--yellow);font-size:9px;font-weight:800;letter-spacing:.13em}.edit-images-section>div:first-child>p{margin:5px 0 15px;color:#666d77;font-size:10px}.edit-images-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.edit-image-card{position:relative;min-width:0;border:1px solid #353941;border-radius:8px;background:#17191d;overflow:hidden}.edit-image-card>img{width:100%;height:130px;object-fit:cover;transition:opacity .18s}.edit-image-card>div{display:flex;flex-direction:column;gap:8px;padding:9px}.edit-image-card select,.image-color-assignments select,.image-fields select{width:100%;height:36px;border:1px solid #30343c;border-radius:5px;background:#0d0f12;color:#d9dbd7;padding:0 8px;font-size:9px}.edit-image-card small{color:#777e88;font-size:8px}.edit-image-remove{position:absolute;z-index:3;top:7px;right:7px;width:28px;height:28px;display:grid!important;place-items:center;border:1px solid rgba(255,130,130,.65);border-radius:50%;background:#8d2027!important;color:#fff!important;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.5)}.edit-image-remove:hover{background:#c12b35!important;transform:scale(1.08)}.edit-image-remove input{position:absolute;opacity:0;pointer-events:none}.edit-image-remove span{font-size:19px;line-height:1}.edit-image-card.marked{border-color:var(--danger);box-shadow:0 0 0 2px rgba(255,104,104,.12)}.edit-image-card.marked img{opacity:.28}.edit-image-card.marked .edit-image-remove{background:#e2454f!important}.edit-images-empty{margin:0;color:#777e88;font-size:10px}.image-color-assignments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #292d34;border-radius:8px;background:#0d0f12}.image-color-assignments article{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;min-width:0;padding:8px;border:1px solid #292d34;border-radius:7px;background:#15181c}.image-color-assignments img{width:72px;height:72px;object-fit:cover;border-radius:5px;background:#eee}.image-color-assignments article>div{display:flex;min-width:0;flex-direction:column;gap:5px}.image-color-assignments strong{overflow:hidden;padding-right:24px;color:#e3e4e0;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.image-color-assignments span{color:#666d77;font-size:8px}.new-image-remove{position:absolute;z-index:3;top:5px;right:5px;width:27px;height:27px;padding:0;border:1px solid rgba(255,130,130,.7);border-radius:50%;background:#9b2229;color:#fff;font-size:19px;line-height:1;box-shadow:0 5px 16px rgba(0,0,0,.5)}.new-image-remove:hover{background:#d52d38;transform:scale(1.08)}.image-fields>.form-field select{margin-top:4px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.modal-actions { display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid #292d34; }.secondary-button { min-height:46px;padding:0 18px;border:1px solid #343840;border-radius:7px;background:#191c21;color:#aeb2b8;font-weight:700; }
.modal-message { margin:18px 0 0;padding:11px 13px;border-radius:6px;background:rgba(255,104,104,.08);border:1px solid rgba(255,104,104,.22);color:#ff9b9b;font-size:11px; }.modal-message.success { background:rgba(67,209,122,.08);border-color:rgba(67,209,122,.22);color:#83e3a7; }
.modal-message a { color:var(--yellow);font-weight:800;text-decoration:underline; }
body.modal-open { overflow:hidden; }
.inventory-panel table { min-width:1240px; }
.product-actions { display:inline-flex;align-items:stretch;gap:0;white-space:nowrap; }
.product-actions .row-action { position:relative;min-height:36px;padding:0 13px;border:1px solid #383c44;border-radius:0;background:#17191d;color:#e0e1de;font-size:10px;font-weight:600; }
.product-actions .row-action + .row-action { margin-left:-1px; }
.product-actions .row-action:first-child { border-radius:16px 0 0 16px; }
.product-actions .row-action:last-child { border-radius:0 16px 16px 0; }
.product-actions .row-action:hover { z-index:1;color:var(--yellow);border-color:#77701d;background:#1d1f22; }
.product-actions .danger-action { color:#e9a0a0;border-color:#713b3b; }.product-actions .danger-action:hover { color:#ffb0b0;border-color:#a54c4c;background:rgba(255,104,104,.07); }
.variant-list .variant-primary { color:#f0f0ec;font-size:20px;line-height:1.2; }.variant-list .variant-sku { margin-top:3px;font-size:7px;letter-spacing:.035em;opacity:.62; }.variant-list .variant-price>strong { font-size:20px;line-height:1.2; }
.action-modal { width:min(560px,100%); }.status-help { margin-top:17px;padding:13px;border:1px solid #2d3138;border-radius:6px;background:#0d0f12;color:#737a84;font-size:10px;line-height:1.65; }.status-help strong { color:#d9d9d4; }
.swal2-popup { border:1px solid #30343b!important;border-radius:10px!important; }.swal2-title { font-family:"Poppins",Arial,sans-serif!important;font-size:22px!important; }.swal2-html-container,.swal2-actions button { font-family:"Poppins",Arial,sans-serif!important; }.swal2-html-container { color:#8d939c!important;font-size:12px!important;line-height:1.6!important; }
.flash-toast { position:fixed;z-index:100;right:24px;bottom:24px;max-width:440px;padding:14px 17px;border:1px solid;border-radius:8px;box-shadow:0 18px 55px rgba(0,0,0,.45);font-size:11px;font-weight:700;animation:view-in .2s ease; }.flash-toast.success { color:#83e3a7;background:#13251a;border-color:rgba(67,209,122,.35); }.flash-toast.error { color:#ff9b9b;background:#291719;border-color:rgba(255,104,104,.35); }
.topbar-actions>.notification-button>[data-notification-count]{top:-7px;right:-7px;width:20px;height:20px;display:grid;place-items:center;background:#e53935;color:#fff;border:2px solid #0b0c0f;border-radius:50%;font-size:9px;line-height:1}.web-toast-stack{position:fixed;z-index:180;top:94px;right:24px;width:min(390px,calc(100vw - 32px));display:grid;gap:10px}.web-toast{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:15px;border:1px solid rgba(255,230,0,.28);border-radius:12px;background:#14171b;box-shadow:0 20px 55px rgba(0,0,0,.5);animation:view-in .2s ease}.web-toast-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:rgba(255,230,0,.12);color:var(--yellow);font-size:18px}.web-toast strong{display:block;color:#fff;font-size:12px}.web-toast p{margin:4px 0 11px;color:#9ba1aa;font-size:10px;line-height:1.5}.web-toast-actions{display:flex;gap:8px}.web-toast-actions button{min-height:30px;padding:0 11px;border:1px solid rgba(255,230,0,.35);border-radius:6px;background:rgba(255,230,0,.1);color:var(--yellow);font-size:9px;font-weight:800}.web-toast-actions .toast-confirm{border-color:#323740;background:#20242a;color:#d5d8dc}@media(max-width:700px){.web-toast-stack{top:76px;right:16px}.web-toast{padding:13px}}
.users-panel{overflow:hidden;margin-bottom:18px}.users-table{min-width:850px}.user-identity{display:flex;align-items:center;gap:11px}.user-identity>span,.audit-user>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;background:#292d34;color:var(--yellow);font-size:10px;font-weight:900}.user-identity>div,.audit-user>div{display:flex;flex-direction:column;gap:3px}.user-identity strong{color:#e7e7e3}.user-identity small,.user-date{color:#69707a;font-size:9px}.protected-note{display:inline-flex;padding:6px 9px;border:1px solid rgba(255,230,0,.18);border-radius:4px;background:rgba(255,230,0,.05);color:#a99d46;font-size:9px;font-weight:800;text-transform:uppercase}.audit-panel{overflow:hidden}.audit-count{color:#707781;font-size:10px}.audit-list{max-height:520px;overflow-y:auto}.audit-list article{display:grid;grid-template-columns:210px minmax(0,1fr) 135px;align-items:center;gap:20px;padding:15px 22px;border-bottom:1px solid #22262b}.audit-list article:last-child{border-bottom:0}.audit-user{display:flex;align-items:center;gap:10px}.audit-user strong{font-size:11px}.audit-user small{color:#626974;font-size:9px}.audit-list article>p{margin:0;color:#b1b5bb;font-size:11px}.audit-when{display:flex;flex-direction:column;gap:4px;text-align:right}.audit-when strong{color:#888e97;font-size:9px}.audit-when small{color:#555c66;font:8px var(--font-geist-mono),monospace}
.storefront-panel{overflow:hidden;margin-bottom:18px}.carousel-admin-list article{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 20px;border-bottom:1px solid #22262b}.carousel-admin-list article>img{width:190px;height:112px;object-fit:cover;border-radius:8px;background:#e9e7e0}.carousel-admin-copy{min-width:0}.carousel-admin-copy>div{display:flex;align-items:center;gap:10px}.carousel-admin-copy>div small{color:#636a74;font-size:8px;font-weight:800}.carousel-admin-copy h3{margin:10px 0 5px;color:#ededE9;font-size:14px}.carousel-admin-copy p{margin:0;color:#777e88;font-size:10px}.carousel-admin-copy p strong{color:#b9bdc2}.carousel-admin-copy>span{display:block;margin-top:9px;color:var(--yellow);font-size:9px;font-weight:800}.featured-panel{overflow:hidden}.featured-panel form{padding:20px}.featured-search-bar{display:flex;align-items:center;gap:16px;margin-bottom:16px}.featured-search-bar .search-box{min-width:0}.featured-search-bar>span{flex:0 0 auto;color:#747b85;font-size:10px}.featured-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.featured-product-card{position:relative;min-width:0;border:1px solid #292d34;border-radius:9px;background:#0d0f12;overflow:hidden;cursor:pointer;transition:border-color .18s,transform .18s}.featured-product-card:hover{transform:translateY(-2px);border-color:#474c55}.featured-product-card.selected{border-color:var(--yellow);box-shadow:0 0 0 2px rgba(255,230,0,.08)}.featured-product-card input{position:absolute;opacity:0;pointer-events:none}.featured-product-card>img{width:100%;height:145px;object-fit:cover;background:#e9e7e0}.featured-product-card>div{display:flex;flex-direction:column;gap:4px;padding:12px}.featured-product-card strong{color:#ededE9;font-size:11px}.featured-product-card span{color:#6c737d;font-size:9px}.featured-product-card small{color:#9da2a9;font-size:9px}.featured-product-card>b{position:absolute;right:9px;top:9px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:rgba(10,11,13,.84);color:white;font-size:13px}.featured-product-card.selected>b{background:var(--yellow);color:#101114}.featured-no-results{padding:40px 20px;text-align:center;color:#707781;font-size:11px}.featured-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding-top:18px;border-top:1px solid #292d34}.featured-actions p{margin:0;color:#6d747e;font-size:10px}.destination-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #30343c;border-radius:6px;background:#0d0f12;color:#686f79}.destination-search:focus-within{border-color:var(--yellow);box-shadow:0 0 0 3px rgba(255,230,0,.08)}.destination-search input{padding:0;border:0;background:transparent;box-shadow:none!important}.product-destination-field>small{color:#656c76;font-size:9px;font-weight:500}

@media (max-width:1440px) { .content { padding:32px 28px 56px; }.page-heading { margin-bottom:26px; }.page-heading h1 { font-size:36px; }.kpi-card { padding:18px; }.kpi-card>strong { margin-top:14px; }.panel-head { min-height:70px;padding:15px 18px; }.chart-canvas { height:235px; }.featured-panel form { padding:16px; } }
@media (max-width:1100px) { .kpi-grid { grid-template-columns:repeat(2,1fr); }.dashboard-grid { grid-template-columns:1fr; }.login-page { grid-template-columns:1fr 1fr; }.login-brand-panel { padding:45px; }.login-brand-copy h1 { font-size:55px; } }
@media (max-width:1100px) { .featured-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:1800px) { .featured-products-grid{grid-template-columns:repeat(5,minmax(0,1fr))} }
@media (min-width:2400px) { .featured-products-grid{grid-template-columns:repeat(6,minmax(0,1fr))} }
@media (max-width:820px) { .sidebar { transform:translateX(-102%);transition:.25s ease; }.sidebar-open,.sidebar-collapsed .sidebar.sidebar-open { transform:none; }.sidebar-backdrop { position:fixed;z-index:29;inset:0;border:0;background:rgba(0,0,0,.6); }.close-menu { display:block;margin-left:auto;border:0;background:transparent;color:#8f959e;font-size:23px; }.admin-main { margin-left:0; }.mobile-menu { display:block;border:0;background:transparent;color:#a2a7af;font-size:20px;margin-right:15px; }.content { padding:30px 20px 60px; }.login-page { display:block; }.login-brand-panel { display:none; }.login-card-wrap { min-height:100vh;padding:30px 24px; }.mobile-brand { display:flex;align-items:center;gap:12px;margin-bottom:55px;font-weight:900;letter-spacing:.07em; }.login-footer { bottom:18px; }.filters { flex-wrap:wrap; }.filters select { flex:1; }.search-box { flex-basis:100%; }.page-heading { align-items:flex-start; }.inventory-summary { flex-wrap:wrap;gap:10px 20px; } }
@media (max-width:820px) { .audit-list article{grid-template-columns:1fr auto;gap:10px 16px}.audit-list article>p{grid-column:1/-1;grid-row:2}.audit-when{grid-column:2;grid-row:1} }
@media (max-width:820px) { .carousel-admin-list article{grid-template-columns:130px minmax(0,1fr)}.carousel-admin-list article>img{width:130px;height:90px}.carousel-admin-list article>.product-actions{grid-column:1/-1;justify-self:end} }
@media (max-width:560px) { .topbar { height:65px;padding:0 16px; }.breadcrumb span,.breadcrumb i { display:none; }.top-avatar { display:none; }.content { padding:24px 14px 45px; }.page-heading { flex-direction:column; }.page-heading .primary-button { width:100%; }.kpi-grid { grid-template-columns:1fr; }.empty-chart { grid-template-columns:1fr;height:auto; }.chart-bars { height:120px; }.filters select { min-width:100%; }.inventory-summary { display:none; }.login-card h2 { font-size:30px; }.drawer { padding:20px 16px; }.drawer-product { grid-template-columns:1fr; }.drawer-product>img { height:280px; }.drawer-stock-summary { min-height:100px; }.modal-backdrop { padding:0;place-items:stretch; }.product-modal { max-height:none;min-height:100vh;border:0;border-radius:0; }.modal-head,.product-form { padding-left:18px;padding-right:18px; }.form-grid { grid-template-columns:1fr; }.form-field-wide { grid-column:auto; }.modal-actions { position:sticky;bottom:0;background:#111317;padding-bottom:4px; }.modal-actions button { flex:1; } }
@media (max-width:560px) { .featured-products-grid{grid-template-columns:1fr}.carousel-admin-list article{grid-template-columns:1fr}.carousel-admin-list article>img{width:100%;height:170px}.featured-actions{align-items:stretch;flex-direction:column}.featured-actions button{width:100%} }
@media (max-width:820px) { .edit-images-grid,.image-color-assignments{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px) { .edit-images-grid,.image-color-assignments{grid-template-columns:1fr} }
@media (max-width:560px) { .image-viewer{padding:0}.image-viewer-dialog{height:100vh;border:0;border-radius:0}.image-viewer-head{padding:14px 16px}.image-viewer-stage>img{max-width:calc(100% - 76px)}.image-viewer-nav{width:34px;height:52px;font-size:30px}.image-viewer-nav.previous{left:6px}.image-viewer-nav.next{right:6px}.image-viewer-footer{align-items:stretch;flex-direction:column;padding:10px 12px}.image-viewer-tools{justify-content:center}.image-viewer-tools>span{margin-right:auto}.image-viewer-thumbnails{width:100%} }

.chart-canvas { height:260px;padding:23px 25px 18px;position:relative; }
.chart-custom-range { display:flex;align-items:end;gap:10px;padding:12px 22px;border-bottom:1px solid #23262c;background:#0e1013; }
.chart-custom-range label { display:grid;gap:5px;color:#777e88;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em; }
.chart-custom-range input { color-scheme:dark;border:1px solid #30343b;background:#15181d;color:#f5f6f8;border-radius:5px;padding:8px; }
.chart-custom-range button { border:0;border-radius:5px;background:var(--yellow);color:#090a0c;padding:9px 15px;font-size:10px;font-weight:800;cursor:pointer; }
.chart-custom-range small { color:#ff7676;font-size:9px;align-self:center; }
.chart-empty { position:absolute;inset:20px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px dashed #2b3037;border-radius:7px;color:#777e88;font-size:11px;padding:24px; }
.product-ranking-panel { margin-bottom:18px; }
.product-chart-canvas { height:330px; }
[data-chart-panel].is-loading { opacity:.62;pointer-events:none; }
.critical-empty { display:flex !important;align-items:flex-start !important;flex-direction:column;gap:5px !important;padding:24px 4px !important; }
.critical-empty strong { color:#55d98a; }
@media (max-width:1440px) { .chart-canvas { height:235px; } }
@media (max-width:560px) { .chart-canvas { height:220px;padding:18px 12px 12px; } }
@media (max-width:560px) { .chart-custom-range { align-items:stretch;flex-direction:column;padding:12px; }.chart-custom-range button { min-height:40px; }.product-chart-canvas { height:300px; } }

[hidden] { display:none !important; }
.view-section { animation:view-in .18s ease; }
@keyframes view-in { from { opacity:.45;transform:translateY(4px); } to { opacity:1;transform:none; } }
.chart-canvas canvas { width:100% !important;height:100% !important; }
.sidebar nav button { appearance:none; }
.login-form input:-webkit-autofill { -webkit-text-fill-color:#fff;box-shadow:0 0 0 1000px #121418 inset; }
.db-badge { display:inline-flex;align-items:center;gap:7px;color:#777e88;font-size:10px; }
.db-badge i { width:6px;height:6px;border-radius:50%;background:#43d17a;box-shadow:0 0 8px rgba(67,209,122,.45); }

/* Configuración del contacto por WhatsApp */
.whatsapp-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.whatsapp-settings-panel{overflow:hidden}.whatsapp-settings-form{display:grid;gap:18px;padding:22px}.whatsapp-settings-form>label:not(.whatsapp-enabled){display:flex;flex-direction:column;gap:7px;color:#dfe1dd;font-size:10px;font-weight:800}.whatsapp-settings-form input[type="tel"],.whatsapp-settings-form textarea{width:100%;border:1px solid #30353d;border-radius:7px;background:#0d0f12;color:#eceeea;font:500 12px/1.5 "Poppins",Arial,sans-serif;outline:none}.whatsapp-settings-form input[type="tel"]{height:46px;padding:0 13px}.whatsapp-settings-form textarea{resize:vertical;min-height:88px;padding:12px 13px}.whatsapp-settings-form input:focus,.whatsapp-settings-form textarea:focus{border-color:var(--yellow);box-shadow:0 0 0 3px rgba(255,230,0,.08)}.whatsapp-settings-form label>small{color:#666e78;font-size:8px;font-weight:500;line-height:1.6}.whatsapp-settings-form label>small b{color:#b8bdc3}.whatsapp-enabled{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #2d3239;border-radius:8px;background:#111419;cursor:pointer}.whatsapp-enabled input{width:19px;height:19px;accent-color:var(--yellow)}.whatsapp-enabled span{display:flex;flex-direction:column;gap:4px}.whatsapp-enabled strong{font-size:11px}.whatsapp-enabled small{color:#6f7680;font-size:8px}.whatsapp-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:18px;border-top:1px solid #292d34}.whatsapp-settings-actions p{margin:0;color:#6c737d;font-size:9px}.whatsapp-preview{display:flex;flex-direction:column;align-items:center;padding:28px;text-align:center}.whatsapp-preview>img{width:82px;height:82px;margin:25px 0 14px;filter:drop-shadow(0 12px 24px rgba(37,211,102,.2))}.whatsapp-preview h2{margin:0 0 8px;font-size:20px}.whatsapp-preview p{margin:0;color:#747b84;font-size:10px;line-height:1.65}.whatsapp-preview ul{width:100%;display:grid;gap:9px;margin:22px 0 0;padding:16px 0 0;border-top:1px solid #292d34;color:#a8adb4;text-align:left;font-size:9px;list-style:none}.whatsapp-preview li::before{content:"✓";margin-right:8px;color:#25d366;font-weight:900}
@media(max-width:980px){.whatsapp-settings-layout{grid-template-columns:1fr}.whatsapp-preview{display:none}}
@media(max-width:560px){.whatsapp-settings-form{padding:16px}.whatsapp-settings-actions{align-items:stretch;flex-direction:column}.whatsapp-settings-actions button{width:100%}}

.shipping-standard-note{display:flex;flex-direction:column;gap:5px;padding:13px 14px;border:1px solid rgba(255,230,0,.18);border-radius:7px;background:rgba(255,230,0,.045)}.shipping-standard-note>span{color:var(--yellow);font-size:8px;font-weight:900;letter-spacing:.12em}.shipping-standard-note>strong{color:#e6e7e3;font-size:11px}.shipping-standard-note>small{color:#6d747e;font-size:8px}

/* Clientes: cuentas, preferencias, navegación y compras */
.customers-panel{overflow:hidden}.customers-table{min-width:1060px}.customer-search{width:min(330px,42vw);height:40px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #30343c;border-radius:6px;background:#0d0f12;color:#686f79}.customer-search:focus-within{border-color:var(--yellow);box-shadow:0 0 0 3px rgba(255,230,0,.08)}.customer-search input{width:100%;border:0;outline:0;background:transparent;color:#e8e9e6;font-size:11px}.customer-metric{display:block;color:#e8e9e5;font-size:16px}.customer-spend{display:block;margin-top:3px;color:#747b84;font-size:8px}.customer-detail-button{border-radius:16px!important}.customer-detail-backdrop{z-index:80;padding:24px}.customer-detail-dialog{width:min(1180px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #2b2f36;border-radius:12px;background:#101216;box-shadow:0 35px 100px rgba(0,0,0,.62)}.customer-detail-head{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #262a30;background:rgba(16,18,22,.96);backdrop-filter:blur(12px)}.customer-detail-head h2{margin:6px 0 3px;font-size:25px}.customer-detail-head p{margin:0;color:#747b85;font-size:10px}.customer-detail-head>button{width:36px;height:36px;border:1px solid #30343b;border-radius:50%;background:#171a1f;color:#aeb2b8;font-size:23px}.customer-detail-feedback{margin:24px;padding:15px;border:1px solid #343941;border-radius:8px;color:#aeb3ba;font-size:11px}.customer-activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px}.customer-activity-section{min-width:0;overflow:hidden;border:1px solid #292d33;border-radius:10px;background:#0d0f12}.customer-activity-section.purchases{grid-column:1/-1}.customer-activity-section>header{min-height:72px;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #25292f}.customer-activity-section>header>span{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;background:rgba(255,230,0,.08);color:var(--yellow)}.customer-activity-section>header h3{margin:0 0 3px;font-size:13px}.customer-activity-section>header p{margin:0;color:#696f79;font-size:8px}.customer-activity-section>header>b{min-width:25px;height:25px;display:grid;place-items:center;padding:0 7px;border-radius:13px;background:#282c32;color:#d9dbd8;font-size:9px}.customer-product-list{max-height:350px;overflow:auto}.customer-product-item{display:grid;grid-template-columns:60px 1fr;align-items:center;gap:11px;padding:10px 13px;border-bottom:1px solid #23272c}.customer-product-item:last-child{border-bottom:0}.customer-product-item img{width:60px;height:54px;object-fit:contain;border-radius:6px;background:#e7e5df}.customer-product-item>div{min-width:0;display:flex;flex-direction:column;gap:5px}.customer-product-item strong{overflow:hidden;color:#e5e6e2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.customer-product-item small{color:#686f79;font-size:8px}.customer-activity-empty{margin:0;padding:35px 18px;color:#676e78;text-align:center;font-size:10px}.customer-purchase-list{display:grid;gap:12px;padding:13px}.customer-purchase-item{overflow:hidden;border:1px solid #292d34;border-radius:8px;background:#111419}.customer-purchase-item>header,.customer-purchase-item>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px}.customer-purchase-item>header{border-bottom:1px solid #25292f}.customer-purchase-item>header>div{display:flex;flex-direction:column;gap:3px}.customer-purchase-item>header strong{font-size:11px}.customer-purchase-item>header small{color:#6d747e;font-size:8px}.purchase-state{padding:5px 8px;border-radius:10px;background:#252a31;color:#aeb3ba;font-size:8px;font-weight:800;text-transform:uppercase}.purchase-state.preparing{background:rgba(255,230,0,.1);color:#dacd52}.purchase-state.shipped{background:rgba(70,139,255,.12);color:#81aef7}.purchase-state.delivered{background:rgba(67,209,122,.11);color:#70d998}.customer-purchase-products{padding:5px 14px}.customer-purchase-products>div{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #22262b}.customer-purchase-products>div:last-child{border-bottom:0}.customer-purchase-products img{width:44px;height:42px;object-fit:contain;border-radius:5px;background:#e7e5df}.customer-purchase-products span{display:flex;flex-direction:column;gap:3px}.customer-purchase-products strong{font-size:9px}.customer-purchase-products small{color:#686f79;font-size:7px}.customer-purchase-products b{font-size:9px}.customer-purchase-item>footer{border-top:1px solid #25292f}.customer-purchase-item>footer>strong{font-size:12px}.purchase-status-form button{min-height:32px;padding:0 12px;border:0;border-radius:5px;background:var(--yellow);color:#111;font-size:8px;font-weight:850;text-transform:uppercase}.purchase-complete{color:var(--green);font-size:8px;font-weight:800;text-transform:uppercase}
@media(max-width:820px){.customer-detail-backdrop{padding:0}.customer-detail-dialog{max-height:100vh;min-height:100vh;border:0;border-radius:0}.customer-activity-grid{grid-template-columns:1fr;padding:12px}.customer-activity-section.purchases{grid-column:auto}.customer-search{width:100%;max-width:none}.customers-panel .panel-head{align-items:stretch;flex-direction:column;gap:12px}}

/* PWA administrativa: instalación, estado de red y modo standalone */
.pwa-network{display:inline-flex;align-items:center;gap:7px;color:#7d848e;font-size:9px;font-weight:700}.pwa-network::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 9px rgba(67,209,122,.45)}.pwa-network[data-state="offline"]{color:#ff8b8b}.pwa-network[data-state="offline"]::before{background:var(--danger);box-shadow:0 0 9px rgba(255,104,104,.45)}.topbar-actions>.pwa-install-button{width:auto;height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border-color:rgba(255,230,0,.32);background:linear-gradient(135deg,rgba(255,230,0,.16),rgba(255,230,0,.06));color:var(--yellow);font-size:9px;font-weight:850;letter-spacing:.02em;box-shadow:0 8px 22px rgba(255,230,0,.08)}.topbar-actions>.pwa-install-button:hover{border-color:var(--yellow);background:rgba(255,230,0,.2)}.topbar-actions>.pwa-install-button>span{font-size:16px;line-height:1}.topbar-actions>.pwa-install-button>b{position:static;width:auto;height:auto;padding:0;background:transparent;color:inherit;font:inherit}.pwa-login-install{width:100%;min-height:45px;margin-top:15px;border:1px solid rgba(255,230,0,.24);border-radius:8px;background:rgba(255,230,0,.055);color:var(--yellow);font-size:10px;font-weight:800}.pwa-login-install:hover{border-color:var(--yellow);background:rgba(255,230,0,.1)}.pwa-login-install>span{margin-right:7px;font-size:16px}.pwa-standalone .topbar{padding-top:env(safe-area-inset-top);height:calc(80px + env(safe-area-inset-top))}.pwa-standalone .sidebar{padding-top:env(safe-area-inset-top)}.pwa-toast{z-index:200}
@media(max-width:700px){.pwa-network,.db-badge{display:none}.topbar-actions{gap:8px}.topbar-actions>.pwa-install-button{width:36px;padding:0;justify-content:center}.topbar-actions>.pwa-install-button>b{display:none}.pwa-standalone .topbar{height:calc(65px + env(safe-area-inset-top))}}

/* Cuentas bancarias múltiples y cancelación de pedidos */
.bank-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.bank-account-card{min-width:0;padding:20px;border-color:#292e35}.bank-account-card.is-default{border-color:rgba(255,230,0,.5);box-shadow:inset 0 0 0 1px rgba(255,230,0,.08)}.bank-account-card.is-inactive{opacity:.68}.bank-account-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bank-account-card h2{overflow:hidden;margin:7px 0 0;color:#f1f2ef;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.bank-account-badges{display:flex;align-items:flex-end;flex-direction:column;gap:6px}.bank-account-card dl{display:grid;gap:10px;margin:20px 0}.bank-account-card dl>div{min-width:0}.bank-account-card dt{color:#626a75;font-size:8px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.bank-account-card dd{overflow:hidden;margin:3px 0 0;color:#c7cbd0;font:10px var(--font-geist-mono),monospace;text-overflow:ellipsis;white-space:nowrap}.bank-account-actions,.sale-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.bank-account-actions{padding-top:14px;border-top:1px solid #292d34}.bank-account-actions form,.sale-row-actions form{margin:0}.bank-account-empty{grid-column:1/-1;padding:32px;text-align:center}.bank-account-empty p{margin:6px 0 0;color:#747b85;font-size:10px}.bank-account-options{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}.bank-account-options label{min-height:42px;display:flex;align-items:center;flex-direction:row!important;gap:9px;padding:0 13px;border:1px solid #30353d;border-radius:7px;background:#101318}.bank-account-options input{width:17px!important;height:17px!important;padding:0;accent-color:var(--yellow)}.payment-settings-actions>div{display:flex;gap:8px}.payment-preview>p{padding:12px;border:1px solid #2c3138;border-radius:7px;background:#0d0f12;color:#8e959e;font-size:10px;line-height:1.8}.payment-preview>p strong{color:var(--yellow);font-size:13px}.danger-confirm-button{min-height:42px;padding:0 18px;border:0;border-radius:7px;background:#d94747;color:#fff;font:800 10px inherit}.sale-cancel-dialog textarea{width:100%;resize:vertical;padding:12px;border:1px solid #323740;border-radius:7px;background:#101318;color:#f2f3f4;font:500 12px/1.6 inherit}.purchase-state.cancelled{background:rgba(255,104,104,.1);color:#ff9090}.web-sales-table{min-width:1180px}.web-sales-panel{overflow:hidden}
@media(max-width:1180px){.bank-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.bank-account-grid{grid-template-columns:1fr}.web-sales-panel{border:0;background:transparent}.web-sales-panel .table-scroll{overflow:visible}.web-sales-table{display:block;min-width:0}.web-sales-table thead{display:none}.web-sales-table tbody{display:grid;gap:12px}.web-sales-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #292d34;border-radius:9px;background:#111419}.web-sales-table td{min-width:0;display:flex;align-items:flex-start;flex-direction:column;padding:12px;border-bottom:1px solid #24282e}.web-sales-table td::before{margin-bottom:5px;color:#5f6670;font-size:7px;font-weight:850;letter-spacing:.1em}.web-sales-table td:nth-child(1)::before{content:"PEDIDO"}.web-sales-table td:nth-child(2)::before{content:"CLIENTE"}.web-sales-table td:nth-child(3)::before{content:"ENTREGA"}.web-sales-table td:nth-child(4)::before{content:"TOTAL"}.web-sales-table td:nth-child(5)::before{content:"PAGO"}.web-sales-table td:nth-child(6)::before{content:"ESTADO"}.web-sales-table td:nth-child(7)::before{content:"ACCIONES"}.web-sales-table td:nth-child(7){grid-column:1/-1;border-bottom:0}.sale-row-actions{width:100%}.sale-row-actions .row-action{min-height:35px;padding:0 10px;border:1px solid #343a42;border-radius:5px}}
@media(max-width:600px){.bank-account-card{padding:16px}.bank-account-card>header{flex-direction:column}.bank-account-badges{align-items:flex-start;flex-direction:row}.bank-account-actions>*{flex:1}.bank-account-actions form .row-action,.bank-account-actions>button{width:100%;min-height:38px;border:1px solid #343a42;border-radius:5px}.bank-account-options{flex-direction:column}.payment-settings-actions>div{width:100%}.payment-settings-actions>div>*{flex:1}.web-sales-table tr{grid-template-columns:1fr}.web-sales-table td:nth-child(7){grid-column:auto}.sale-row-actions>*{flex:1}.sale-row-actions form .row-action,.sale-row-actions>button{width:100%}.sale-cancel-dialog .modal-actions{display:grid;grid-template-columns:1fr 1fr}.sale-cancel-dialog .modal-actions button{width:100%}}
