:root{--red:#c8102e;--dark:#1c1c1c;--gold:#f5b301;--bg:#fff8f0;--card:#fff;--mut:#666}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:#222}
header{background:var(--dark);color:#fff;padding:14px 18px;position:sticky;top:0;z-index:20;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
header .brand{font-weight:900;font-size:22px;letter-spacing:1px}header .brand em{color:var(--gold);font-style:normal}
header .info{font-size:13px;color:#ddd}
header .sp{flex:1}
.lang button,.cartbtn{background:#fff;color:#111;border:0;border-radius:20px;padding:8px 14px;font-weight:700;cursor:pointer}
.cartbtn{background:var(--red);color:#fff}
.hero{background:linear-gradient(120deg,#c8102e,#7a0a1d);color:#fff;padding:34px 18px}
.hero h1{margin:0 0 8px;font-size:30px}.hero p{margin:0;max-width:640px}
.wrap{max-width:1080px;margin:0 auto;padding:16px}
.catnav{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:58px;background:var(--bg);padding:10px 0;z-index:10}
.catnav a{background:#fff;border:1px solid #ddd;border-radius:20px;padding:7px 12px;text-decoration:none;color:#222;font-size:13px;font-weight:600}
section.cat{margin:26px 0}section.cat h2{margin:4px 0}section.cat .blurb{color:var(--mut);margin:0 0 12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.card{background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;flex-direction:column}
.card img{width:100%;height:150px;object-fit:cover;background:#eee}
.card .b{padding:12px;flex:1;display:flex;flex-direction:column}
.card h3{margin:0 0 6px;font-size:16px}.card p{margin:0 0 10px;color:var(--mut);font-size:13px;flex:1}
.tag{display:inline-block;background:#ffe9a8;border-radius:10px;padding:2px 8px;font-size:11px;font-weight:700;margin-bottom:6px}
.row{display:flex;justify-content:space-between;align-items:center}
.price{font-weight:900;font-size:17px}
.add{background:var(--red);color:#fff;border:0;border-radius:20px;padding:8px 16px;font-weight:700;cursor:pointer}
.drawer{position:fixed;right:0;top:0;bottom:0;width:min(420px,94vw);background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.25);z-index:30;padding:16px;overflow:auto;display:none}
.drawer.open{display:block}
.drawer h2{margin-top:0}
.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.drawer-head h2{margin:0}
.drawer-x{background:#eee;border:0;border-radius:20px;padding:8px 14px;font-weight:700;cursor:pointer;font-size:15px;white-space:nowrap}
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:25;display:none}
.backdrop.open{display:block}
.line{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #eee;font-size:14px}
.line small{color:var(--mut)}
.qty button{width:26px;height:26px;border-radius:50%;border:1px solid #ccc;background:#fff;cursor:pointer}
input,select,textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:8px;margin:6px 0;font-size:15px}
button.primary{background:var(--red);color:#fff;border:0;border-radius:10px;padding:13px;font-weight:800;width:100%;cursor:pointer;font-size:16px}
button.ghost{background:#eee;border:0;border-radius:10px;padding:10px;cursor:pointer}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:40;display:none;align-items:center;justify-content:center}
.modal.open{display:flex}.modal .box{background:#fff;border-radius:14px;padding:18px;width:min(480px,92vw);max-height:88vh;overflow:auto}
footer{background:var(--dark);color:#ccc;padding:22px 18px;font-size:13px;text-align:center}
.ok{background:#e6f7e6;border:1px solid #9ed69e;border-radius:12px;padding:16px;margin:16px 0}
.warn{background:#fff3cd;border:1px solid #e6c65c;border-radius:12px;padding:12px;margin:12px 0}
@media(max-width:600px){.hero h1{font-size:24px}}
