*{box-sizing:border-box}
:root{--bg:#070707;--surface:#111;--surface2:#181818;--surface3:#202020;--border:#303030;--text:#f5f5f5;--muted:#a9a9a9;--red:#e10600;--red2:#ff211a;--reddark:#a30501;--shadow:0 12px 32px rgba(0,0,0,.45)}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{color:#fff;line-height:1.15;letter-spacing:-.025em}
h1{font-size:clamp(2.3rem,5vw,4.5rem);font-weight:900}
h2{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:850}
h3{font-size:1.15rem;font-weight:800}
p{color:#d0d0d0}
a{color:#ff4a44;text-underline-offset:3px}
a:hover{color:#ff716c}
.wrap{width:min(1180px,92%);margin:auto}
.site-header{background:#080808;color:#fff;border-bottom:2px solid var(--red);position:sticky;top:0;z-index:20;box-shadow:0 4px 18px rgba(0,0,0,.35)}
.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{color:#fff;text-decoration:none;font-weight:900;font-size:1.3rem;display:flex;align-items:center;gap:10px}
.brand:hover{color:#fff}
.brand-mark{background:var(--red);color:#fff;width:39px;height:39px;border-radius:7px;display:grid;place-items:center;font-weight:950;box-shadow:0 0 20px rgba(225,6,0,.3)}
.nav nav{display:flex;align-items:center;gap:18px}
.nav a{color:#eee;text-decoration:none;font-weight:750;transition:.18s ease}
.nav a:hover{color:#ff3b35}
.cart-link b{background:var(--red);color:#fff;border-radius:999px;padding:2px 7px;font-size:.75rem}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--red);color:#fff!important;border:1px solid var(--red);border-radius:6px;padding:11px 18px;text-decoration:none;font-weight:850;line-height:1.2;cursor:pointer;transition:.18s ease}
.button:hover{background:var(--red2);border-color:var(--red2);box-shadow:0 7px 22px rgba(225,6,0,.25);transform:translateY(-1px)}
.button.dark{background:#242424;border-color:#444;color:#fff!important}
.button.dark:hover{background:#303030;border-color:#555}
.button.danger{background:#a30501;border-color:#a30501;color:#fff!important}
.button.danger:hover{background:#d20b05}
.button.small{padding:8px 12px;font-size:.86rem}
.hero{background:radial-gradient(circle at 85% 25%,rgba(225,6,0,.2),transparent 34%),linear-gradient(135deg,#070707,#151515);color:#fff;padding:85px 0;border-bottom:1px solid #292929}
.hero h1{max-width:850px;margin:0 0 18px}
.hero p{max-width:690px;color:#c9c9c9;font-size:1.08rem;line-height:1.75;margin:0 0 28px}
.section{padding:52px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}
.section-head h1,.section-head h2{margin:0}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{background:var(--surface);border-radius:9px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);transition:.2s ease}
.card:hover{transform:translateY(-4px);border-color:#681916;box-shadow:0 18px 42px rgba(0,0,0,.55)}
.card-image{height:220px;background:#202020;display:grid;place-items:center;overflow:hidden}
.card-image img{width:100%;height:100%;object-fit:cover}
.placeholder{font-size:3rem;color:#777}
.card-body{padding:18px}
.card-body h3{margin:9px 0 7px}
.muted{color:var(--muted);font-size:.94rem}
.price{font-size:1.3rem;font-weight:900;margin:12px 0;color:#fff}
.badge{display:inline-block;background:#2a2a2a;color:#ddd;border:1px solid #3a3a3a;border-radius:999px;padding:4px 9px;font-size:.7rem;letter-spacing:.06em;font-weight:850;text-transform:uppercase}
.forms{max-width:650px;margin:45px auto;background:var(--surface);padding:32px;border:1px solid var(--border);border-radius:9px;box-shadow:var(--shadow)}
.forms h1,.forms h2{margin-top:0}
.field{margin:0 0 18px}
.field label{display:block;font-weight:800;margin-bottom:7px;color:#f1f1f1}
.field input,.field textarea,.field select{width:100%;padding:12px 13px;background:#0b0b0b;color:#fff;border:1px solid #444;border-radius:6px;outline:none}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(225,6,0,.13)}
.field textarea{min-height:120px;resize:vertical}
.row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.flash{margin:20px 0;padding:13px 16px;border-radius:6px;font-weight:750;border:1px solid}
.flash.success{background:#102816;color:#9af0aa;border-color:#245c31}
.flash.error{background:#32100f;color:#ff9d99;border-color:#69201d}
.toolbar{display:flex;gap:10px;flex-wrap:wrap}
.toolbar input{background:#101010;color:#fff;border:1px solid #444}
.shop-layout{display:grid;grid-template-columns:230px 1fr;gap:25px}
.sidebar{background:var(--surface);padding:21px;border:1px solid var(--border);border-radius:8px;height:max-content}
.sidebar strong{font-size:1.05rem;color:#fff}
.sidebar a{display:block;padding:9px 0;color:#ddd;text-decoration:none;font-weight:700;border-bottom:1px solid #252525}
.sidebar a:last-child{border-bottom:0}
.sidebar a:hover{color:#ff4741}
.cart-row{display:grid;grid-template-columns:90px 1fr 110px 110px 100px;gap:15px;align-items:center;background:var(--surface);padding:15px;border-bottom:1px solid var(--border)}
.cart-row:first-child{border-radius:8px 8px 0 0}
.cart-row:last-child{border-radius:0 0 8px 8px}
.cart-row img{width:90px;height:75px;object-fit:cover;border-radius:5px}
.qty{display:flex;gap:5px;align-items:center}
.qty input{width:65px;padding:9px;background:#0b0b0b;color:#fff;border:1px solid #444;border-radius:5px}
.table-wrap{overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}
.data-table{width:100%;border-collapse:collapse}
.data-table th,.data-table td{padding:14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}
.data-table th{background:#090909;color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}
.data-table tr:hover td{background:#191919}
.admin-nav{background:#111;border-bottom:1px solid #2b2b2b;padding:12px}
.admin-nav .wrap{display:flex;gap:18px;flex-wrap:wrap}
.admin-nav a{color:#ddd;text-decoration:none;font-weight:750}
.admin-nav a:hover{color:#ff4741}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat{background:var(--surface);padding:22px;border:1px solid var(--border);border-left:4px solid var(--red);border-radius:7px;box-shadow:var(--shadow);color:#aaa;font-weight:750}
.stat strong{display:block;font-size:2rem;color:#fff;margin-top:6px;line-height:1.1}
.actions{display:flex;gap:7px;flex-wrap:wrap}
.empty{text-align:center;padding:55px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:#bbb}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:55px 0}
.product-detail .image{height:500px;background:#1d1d1d;border-radius:9px;overflow:hidden;border:1px solid var(--border)}
.product-detail .image img{width:100%;height:100%;object-fit:cover}
.product-detail h1{font-size:clamp(2.2rem,4vw,3.5rem);margin:14px 0}
.product-detail .price{font-size:1.8rem;color:#fff}
.notice{padding:15px;background:#32100f;color:#ffaaa6;border:1px solid #69201d;border-radius:6px}
footer{margin-top:60px;background:#070707;color:#888;padding:28px 0;border-top:1px solid #272727}
footer .wrap{display:flex;justify-content:space-between;gap:20px}
footer strong{color:#fff}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.shop-layout,.product-detail{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.nav{flex-direction:column;padding:14px 0}.nav nav{flex-wrap:wrap;justify-content:center}.cart-row{grid-template-columns:70px 1fr}.cart-row>*:nth-child(n+3){grid-column:2}.cart-row img{width:70px;height:60px}}
@media(max-width:550px){body{font-size:15px}.grid,.stats,.row{grid-template-columns:1fr}.hero{padding:58px 0}.hero h1{font-size:2.55rem}.section{padding:38px 0}.product-detail .image{height:330px}.forms{padding:22px}.section-head{align-items:flex-start;flex-direction:column}footer .wrap{flex-direction:column}}
