:root{--ink:#181E42;--navy:#181E42;--muted:#6b7086;--line:#e3e5ec;--bg:#f7f7f9;--card:#fff;--gold:#181E42;--gold2:#4a5277;--silver:#c9ccd6;--ok:#3f7d58;--bad:#b24a3b;--soft:#eff0f5;--blue:#3a5a80}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.4}
h1,h2,h3{font-family:"Cormorant Garamond",serif;font-weight:600;margin:0}
a{color:var(--gold2)}
button{font:inherit;cursor:pointer}
input,select,textarea{font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;width:100%;color:var(--ink)}
textarea{min-height:80px;resize:vertical}
label.f{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
header.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
.brand{text-align:center;padding:14px 10px 8px;text-decoration:none;color:var(--ink);display:block}
.brand h1{font-size:30px;letter-spacing:1px}
.brand img{height:46px;max-width:80vw;display:block;margin:0 auto}
.brand small{display:block;color:var(--gold2);letter-spacing:4px;font-size:11px;text-transform:uppercase}
.topbar{display:flex;justify-content:space-between;align-items:center;max-width:1100px;margin:0 auto;padding:0 14px 8px;gap:8px;font-size:13px;color:var(--muted)}
main{max-width:1100px;margin:0 auto;padding:18px 14px 100px}
.hero{background:linear-gradient(135deg,#181E42 0%,#2a3263 100%);color:#fff;border-radius:18px;padding:28px 22px;margin-bottom:18px;position:relative;overflow:hidden}
.hero:after{content:'✦';position:absolute;right:16px;top:10px;color:rgba(255,255,255,.22);font-size:24px}
.hero h2{font-size:32px;letter-spacing:.5px;padding-right:28px}.hero p{color:#d5d8e6;margin:6px 0 0}
.hero .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.chips{display:flex;gap:6px;overflow-x:auto;margin:0 0 14px;padding-bottom:2px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;font-size:13px;white-space:nowrap;color:var(--ink)}
.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
.prod{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.pimg{aspect-ratio:1;background:radial-gradient(circle at 50% 40%,#fff,#e9ebf1);display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}
.pimg img{width:100%;height:100%;object-fit:cover}
.pimg .ph{font-family:"Cormorant Garamond",serif;color:#b3b7c6;font-size:20px}
.pbody{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.pname{font-size:14px;font-weight:500}
.price{font-weight:600;color:var(--navy)}
.old{color:var(--muted);text-decoration:line-through;font-size:12px;margin-right:4px}
.stk{font-size:12px;color:var(--muted)}.stk.low{color:var(--bad)}
.btn{background:var(--ink);color:#fff;border:0;border-radius:10px;padding:10px 14px;font-weight:500;text-decoration:none;display:inline-block;text-align:center}
.btn.gold{background:var(--gold)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.red{background:#fff;color:var(--bad);border:1px solid #ecc9c2}
.btn:disabled{opacity:.4;cursor:not-allowed}
.btn.sm{padding:7px 10px;font-size:13px}
.btn.full{width:100%}
.pbody .btn{margin-top:auto}
.cartbar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:10px 14px;display:none;z-index:6}
.cartbar.show{display:block}
.cartbar .in{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:14px}
.panel h3{font-size:22px;margin-bottom:10px}
.row{display:flex;gap:10px;flex-wrap:wrap}.row>*{flex:1;min-width:130px}
.stack{display:flex;flex-direction:column;gap:10px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}
.kpi span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.kpi b{display:block;font-size:22px;margin-top:4px}
.pos{color:var(--ok)}.neg{color:var(--bad)}
table{width:100%;border-collapse:collapse;font-size:14px}
th{text-align:left;font-weight:600;color:var(--muted);font-size:12px;text-transform:uppercase;padding:8px 6px;border-bottom:1px solid var(--line)}
td{padding:9px 6px;border-bottom:1px solid var(--soft);vertical-align:middle}
.tw{overflow-x:auto}
.tag{display:inline-block;font-size:11px;padding:3px 8px;border-radius:999px;background:var(--soft);color:var(--gold2);font-weight:600;white-space:nowrap}
.tag.rev{background:#e6eef7;color:var(--blue)}
.tag.ok{background:#e4f1e8;color:var(--ok)}
.tag.bad{background:#f6e3df;color:var(--bad)}
.tag.grey{background:#eee;color:#888}
.overlay{position:fixed;inset:0;background:rgba(30,25,20,.45);display:none;align-items:flex-end;justify-content:center;z-index:20}
.overlay.show{display:flex}
.sheet{background:#fff;width:100%;max-width:560px;border-radius:20px 20px 0 0;padding:18px;max-height:90vh;overflow:auto}
@media(min-width:700px){.overlay{align-items:center}.sheet{border-radius:20px}}
.line{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--soft);gap:8px}
.qty{display:flex;align-items:center;gap:6px}
.qty button{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff}
.note{font-size:12px;color:var(--muted)}
.toast{position:fixed;top:14px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;z-index:30;display:none;max-width:90vw}
.login{max-width:380px;margin:30px auto}
.bar{height:8px;background:var(--soft);border-radius:8px;overflow:hidden;margin-bottom:6px}.bar i{display:block;height:100%;background:var(--gold)}
.muted{color:var(--muted)}
.gal{display:flex;gap:8px;overflow-x:auto;margin-bottom:10px}
.gal img{width:100%;max-width:520px;aspect-ratio:1;object-fit:cover;border-radius:12px;flex:0 0 100%}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}
.thumbs div{position:relative}
.thumbs img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.thumbs button{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:0;background:var(--bad);color:#fff;font-size:12px;line-height:22px;padding:0}
.loading{text-align:center;color:var(--muted);padding:40px}
footer{text-align:center;color:#c9ccd6;font-size:12px;padding:26px 14px 90px;background:var(--navy);margin-top:30px}
footer img{height:34px;margin-bottom:10px}
footer a{color:#fff}
