
:root{
  --bg:#0b0b0c;
  --surface:#141416;
  --muted:#232327;
  --text:#f0f3f7;
  --accent:#7cf7d4;
  --accent-2:#95a3ff;
  --soft:#e6e9ef;
  --good:#20c997;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:linear-gradient(180deg,#0b0b0c 0%,#101114 100%);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(10,10,12,0.7); backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid #1c1d22;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px;}
.brand{
  font-weight:800; letter-spacing:0.5px; font-size:20px; cursor:pointer;
  background: linear-gradient(90deg,var(--accent),var(--accent-2)); -webkit-background-clip:text; color:transparent;
}
.nav a{color:#ccd2df;text-decoration:none;margin:0 10px;font-weight:600;opacity:.9}
.nav a:hover{opacity:1;color:#fff}
.cart-icon{cursor:pointer;font-weight:700}
#cart-count{background:var(--accent);color:#000;border-radius:999px;padding:2px 8px;margin-left:6px}

.hero{
  display:grid; grid-template-columns:1.2fr 1fr; gap:24px; align-items:center; margin:24px 0 12px;
}
.hero h1{font-size:40px; margin:0 0 8px}
.hero p{color:#b8bfcc; margin:0 0 16px}
.hero .cta{display:flex; gap:12px}
.button{border:1px solid #2a2b31; background:#1a1b20; color:#fff; padding:10px 14px; border-radius:14px; cursor:pointer; font-weight:700}
.button.primary{background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:#000; border-color:transparent}
.button:hover{transform:translateY(-1px)}

.slider{position:relative;overflow:hidden;border-radius:16px;background:#0f1013;border:1px solid #23242b}
.slider-track{display:flex;transition:transform .6s ease}
.slide{min-width:100%; height:280px; display:grid; place-items:center; color:#cfd6e6; font-weight:800; font-size:24px}
.slide img{width:100%; height:100%; object-fit:cover; opacity:.6}
.slider-controls{position:absolute; inset:0; display:flex; justify-content:space-between; align-items:center; padding:0 8px}
.slider-controls button{background:rgba(0,0,0,.5); border:0; color:#fff; padding:8px 12px; border-radius:12px; cursor:pointer}
.slider-dots{position:absolute; left:50%; bottom:8px; transform:translateX(-50%); display:flex; gap:6px}
.slider-dots .dot{width:8px;height:8px;border-radius:50%;background:#52586a;opacity:.7}
.slider-dots .dot.active{background:var(--accent); opacity:1}

.grid{display:grid; gap:16px}
.grid.products{grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); margin:18px 0 34px}
.card{background:linear-gradient(180deg,#111216,#0d0e12); border:1px solid #23242b; border-radius:16px; overflow:hidden}
.card .thumb{width:100%; aspect-ratio:1/1; background:#0d0e12; display:grid; place-items:center}
.card .thumb img{width:100%; height:100%; object-fit:cover}
.card .body{padding:12px}
.card .title{font-weight:700; margin:0 0 6px}
.card .price{color:#b8bfcc; font-weight:700}
.card .actions{display:flex; gap:8px; margin-top:10px}
.badge{display:inline-block; padding:4px 8px; border-radius:999px; background:#1a1b20; border:1px solid #272a33; color:#9aa4b6; font-size:12px}

.filters{display:flex; gap:10px; flex-wrap:wrap; margin:8px 0 16px}
.input, select{background:#0f1013; border:1px solid #2a2b31; color:#eaeef6; border-radius:12px; padding:10px 12px; outline:none}
.input::placeholder{color:#8e95a5}

.detail{display:grid; grid-template-columns:1.1fr 1fr; gap:20px}
.gallery{border:1px solid #23242b; border-radius:14px; overflow:hidden; background:#0f1013}
.gallery .main{height:420px; display:grid; place-items:center; border-bottom:1px solid #23242b}
.gallery .main img{max-width:100%; max-height:100%}
.gallery .thumbs{display:flex; gap:8px; padding:8px; overflow-x:auto}
.gallery .thumbs img{height:72px; width:72px; object-fit:cover; border-radius:8px; border:1px solid #23242b; cursor:pointer}
.qty{display:flex; align-items:center; gap:8px}
.qty input{width:72px; text-align:center}

.panel{background:#101116; border:1px solid #24262d; border-radius:16px; padding:16px; margin:12px 0}
.table{width:100%; border-collapse:collapse; font-size:14px}
.table th,.table td{border-bottom:1px solid #20222a; padding:10px; text-align:left}
.table th{color:#b8bfcc; font-weight:700}

.site-footer{border-top:1px solid #1c1d22; margin-top:42px}
.site-footer p{color:#9aa4b6}
