:root{
  --bg:#1a1d29;
  --bg-darker:#13151f;
  --panel:#23262f;
  --panel-light:#2a2d38;
  --line:rgba(255,255,255,.08);
  --text:#ffffff;
  --muted:rgba(255,255,255,.65);

  --cyan:#00d4ff;
  --cyan-dark:#00a8cc;
  --purple:#8b5cf6;
  --purple-dark:#7c3aed;

  --radius:12px;
  --radius-lg:16px;

  --wrap: 1200px;
  --shadow: 0 10px 40px rgba(0,0,0,.3);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%; margin:0; padding:0}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: var(--bg);
  font-size:15px;
  line-height:1.6;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button{font-family: var(--font)}

.wrap{max-width:var(--wrap); margin:0 auto; padding:0 20px}
.main{padding-top:80px; min-height:calc(100vh - 200px)}

.muted{color:var(--muted)}
.strong{font-weight:700}
.right{text-align:right}
.tiny{font-size:13px}
.m0{margin:0}

/* NAVIGATION */
.nav{
  position:fixed; 
  top:0; left:0; right:0;
  height:70px;
  background: rgba(26,29,41,.95);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
  z-index:100;
}
.nav__inner{
  height:70px;
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex; 
  align-items:center; 
  gap:12px;
  font-weight:700;
  font-size:18px;
}
.brand__logo{
  font-size:24px; 
  filter: drop-shadow(0 0 20px rgba(0,212,255,.4));
}
.brand__name{
  font-weight:700;
  letter-spacing:-.02em;
}

.nav__links{
  display:flex; 
  gap:8px; 
  color:var(--muted); 
  font-size:14px;
  font-weight:500;
}
.nav__links a{
  padding:8px 16px; 
  border-radius:8px;
  transition: all .15s ease;
}
.nav__links a:hover{
  background:rgba(255,255,255,.05); 
  color:var(--text);
}

.nav__cta{
  display:flex; 
  align-items:center; 
  gap:10px;
}

/* BUTTONS */
.btn{
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  padding:10px 20px;
  border-radius:8px;
  border:1px solid transparent;
  background: var(--panel);
  color: var(--text);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.btn--primary{
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  border-color: transparent;
  color: #000;
  font-weight:700;
  box-shadow: 0 4px 16px rgba(0,212,255,.25);
}
.btn--primary:hover{
  box-shadow: 0 6px 20px rgba(0,212,255,.35);
}
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.15);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.05);
}
.btn--small{
  padding:8px 14px; 
  font-size:13px;
}

.pill{
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  min-width:20px; 
  height:20px;
  padding:0 8px;
  border-radius:10px;
  background: var(--cyan);
  color:#000;
  font-size:12px;
  font-weight:700;
}

/* HERO */
.hero{
  position:relative; 
  padding:80px 0 60px;
  overflow:hidden;
}
.hero__bg{
  position:absolute; 
  inset:0; 
  pointer-events:none;
  opacity:.4;
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:40px;
  align-items:center;
}
.kicker{
  color: var(--cyan);
  font-size:12px;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:16px;
  opacity:.9;
}
.kicker--center{text-align:center; margin-bottom:12px}
h1{
  font-size:52px;
  line-height:1.1;
  margin:0 0 20px;
  font-weight:800;
  letter-spacing:-.02em;
}
h2{
  font-size:32px; 
  margin:0 0 16px; 
  font-weight:800;
  letter-spacing:-.02em;
}
h3{
  font-size:20px; 
  margin:0 0 12px; 
  font-weight:700;
}
.sub{
  max-width:560px; 
  font-size:17px; 
  line-height:1.7; 
  color:var(--muted); 
  margin:0 0 24px;
}
.hero__buttons{
  display:flex; 
  gap:12px; 
  flex-wrap:wrap;
}

/* DASHBOARD CARD */
.dashCard{
  border-radius: var(--radius-lg);
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding:20px;
}
.dashCard__top{
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:12px; 
  margin-bottom:16px;
}
.dashCard__title{
  font-weight:700;
  font-size:18px;
}
.dashCard__chips{
  display:flex; 
  gap:8px;
}
.chip{
  font-size:12px;
  font-weight:600;
  padding:6px 12px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}
.chip--cyan{
  background: rgba(0,212,255,.15); 
  border-color: rgba(0,212,255,.3); 
  color: var(--cyan);
}

.dashStats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-bottom:16px;
}
.stat{
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel-light);
  border-radius: var(--radius);
  padding:14px;
}
.stat__label{
  font-size:12px; 
  color:var(--muted);
  font-weight:500;
}
.stat__value{
  font-weight:700; 
  font-size:20px;
  margin-top:6px;
}

.dashBlock{
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel-light);
  border-radius: var(--radius);
  padding:16px;
  margin-top:12px;
}
.dashBlock__head{
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  margin-bottom:12px; 
  font-size:14px;
  font-weight:600;
}
.keyRow{
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(255,255,255,.08);
  background: var(--bg-darker);
  border-radius: var(--radius);
  padding:12px;
  margin-bottom:12px;
}
code{
  color: var(--text);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size:13px;
}
.miniBtn{
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding:6px 12px;
  border-radius: 6px;
  cursor:pointer;
  font-size:12px;
  font-weight:600;
  transition: all .15s ease;
}
.miniBtn:hover{
  background: rgba(255,255,255,.1);
}
.tableHead,.tableRow{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap:12px;
  font-size:13px;
  padding:12px 8px;
}
.tableHead{
  color: var(--muted);
  font-weight:600;
}
.tableRow{
  border-top:1px solid rgba(255,255,255,.08);
}

/* SECTIONS */
.section{padding:60px 0}
.center{text-align:center}
.cards3{
  margin-top:32px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.featureCard{
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding:24px;
  transition: all .2s ease;
}
.featureCard:hover{
  border-color: rgba(0,212,255,.3);
  transform: translateY(-2px);
}
.iconDot{
  width:56px; 
  height:56px;
  border-radius: var(--radius);
  background: rgba(0,212,255,.15);
  border:1px solid rgba(0,212,255,.25);
  margin-bottom:16px;
}

.headRow{
  display:flex; 
  align-items:flex-end; 
  justify-content:space-between; 
  gap:16px; 
  margin-bottom:24px;
}

/* CATEGORY FILTER */
.categoryFilter{
  display:inline-flex;
  gap:6px;
  margin-bottom:32px;
  background: var(--panel);
  padding:6px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
}
.categoryBtn{
  padding:8px 18px;
  border-radius:7px;
  border:none;
  background:transparent;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
  cursor:pointer;
  transition: all .15s ease;
  font-family: var(--font);
  white-space: nowrap;
}
.categoryBtn:hover:not(.active){
  color:var(--text);
  background:rgba(255,255,255,.05);
}
.categoryBtn.active{
  background: rgba(255,255,255,.1);
  color:var(--text);
}
.noProducts{
  text-align:center;
  padding:60px 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg);
  background:var(--panel);
}

/* SHOP GRID */
.shopGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
}
.productCard{
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow:hidden;
  transition: all .2s ease;
}
.productCard:hover{
  transform: translateY(-4px);
  border-color: rgba(0,212,255,.3);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.productCard__img{
  position:relative; 
  aspect-ratio: 4/3; 
  overflow:hidden;
  background: var(--bg-darker);
}
.productCard__img img{
  width:100%; 
  height:100%; 
  object-fit:cover;
}
.badge{
  position:absolute; 
  top:12px; 
  left:12px;
  padding:6px 12px;
  border-radius:6px;
  background: rgba(0,212,255,.9);
  color:#000;
  font-size:11px;
  font-weight:700;
  text-transform: uppercase;
  letter-spacing:.05em;
}
.productCard__body{padding:16px}
.productCard__top{
  display:flex; 
  align-items:baseline; 
  justify-content:space-between; 
  gap:12px;
}
.productCard__name{
  font-weight:700;
  font-size:16px;
}
.productCard__price{
  font-weight:700; 
  font-size:16px;
  color: var(--cyan);
}
.productCard__desc{
  margin-top:8px; 
  font-size:14px; 
  line-height:1.5; 
  color:var(--muted);
}
.tagRow{
  display:flex; 
  gap:8px; 
  flex-wrap:wrap; 
  margin-top:12px;
}
.tag{
  font-size:11px;
  font-weight:600;
  padding:5px 10px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}

/* PRODUCT PAGE */
.product{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:30px;
  align-items:start;
}
.product__img{
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background: var(--bg-darker);
}
.product__img img{
  width:100%; 
  height:100%; 
  object-fit:cover;
}
.product__panel{
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding:24px;
}
.priceBig{
  font-size:28px; 
  font-weight:800; 
  margin:12px 0 20px; 
  color: var(--cyan);
}
.row{
  display:flex; 
  gap:12px; 
  flex-wrap:wrap; 
  align-items:center;
}
.qty{
  width:90px;
  padding:10px 14px;
  border-radius: 8px;
  border:1px solid rgba(255,255,255,.15);
  background: var(--bg-darker);
  color: var(--text);
  outline:none;
  font-family: var(--font);
  font-size:15px;
  font-weight:600;
}

/* CART */
.cart{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  align-items:start;
}
.cart__list, .summary, .empty{
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding:20px;
}
.cartRow{
  display:grid;
  grid-template-columns: 80px 1fr 100px 120px 100px;
  gap:16px;
  align-items:center;
  padding:16px;
  border-radius: var(--radius);
}
.cartRow + .cartRow{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:12px;
  padding-top:16px;
}
.cartRow img{
  width:80px; 
  height:80px; 
  border-radius: var(--radius); 
  object-fit:cover;
  border:1px solid rgba(255,255,255,.08);
}
.cartActions{
  display:flex; 
  gap:12px; 
  padding:16px 0 0 0; 
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:16px;
}

.summary__row{
  display:flex; 
  justify-content:space-between; 
  padding:12px 0;
  font-size:15px;
}
.hr{
  height:1px; 
  background: rgba(255,255,255,.08); 
  margin:12px 0;
}
.big{
  font-weight:700; 
  font-size:18px;
}

/* FOOTER */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:40px 0;
  background: var(--bg-darker);
  margin-top:60px;
}
.footer__inner{
  display:flex; 
  align-items:flex-start; 
  justify-content:space-between; 
  gap:30px;
}
.footer__brand{
  font-weight:700;
  font-size:18px;
  margin-bottom:8px;
}
.footer__cols{
  display:flex; 
  gap:60px;
}
.footer__title{
  font-weight:700; 
  margin-bottom:12px;
  font-size:14px;
}
.footer a{
  display:block; 
  color:var(--muted); 
  padding:6px 0;
  font-size:14px;
  transition: color .15s ease;
}
.footer a:hover{
  color:var(--text);
}

/* FEEDBACK CARDS */
.feedbackCard{
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding:24px;
  transition: all .2s ease;
}
.feedbackCard:hover{
  border-color: rgba(0,212,255,.2);
  transform: translateY(-2px);
}
.stars{
  color: var(--cyan);
  font-size:18px;
  margin-bottom:12px;
  letter-spacing:2px;
}
.feedback__text{
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
  margin:0 0 16px 0;
  font-style:italic;
}
.feedback__author{
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.feedback__avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:16px;
}
.feedback__name{
  font-weight:600;
  font-size:14px;
}
.feedback__date{
  font-size:12px;
  color:var(--muted);
}

/* ADMIN PANEL */
.adminPanel{
  border:1px solid rgba(255,255,255,.08);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding:24px;
}
.formField{
  margin-bottom:16px;
}
.formField label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
  font-size:14px;
}
.adminProductRow{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  background:var(--bg-darker);
  margin-bottom:10px;
  transition: all .15s ease;
}
.adminProductRow:hover{
  border-color: rgba(0,212,255,.2);
  background:var(--panel-light);
}
.adminProductRow img{
  width:50px;
  height:50px;
  border-radius:8px;
  object-fit:cover;
}
.alert{
  padding:12px 16px;
  border-radius:8px;
  margin-bottom:16px;
  font-size:14px;
  font-weight:600;
}
.alert--error{
  background:rgba(255,50,50,.1);
  border:1px solid rgba(255,50,50,.3);
  color:#ff5555;
}
.alert--success{
  background:rgba(0,212,255,.1);
  border:1px solid rgba(0,212,255,.3);
  color:var(--cyan);
}
textarea.qty{
  font-family: var(--font);
  line-height:1.5;
}
.miniBtn--danger{
  background:rgba(255,50,50,.1);
  border-color:rgba(255,50,50,.3);
  color:#ff5555;
}
.miniBtn--danger:hover{
  background:rgba(255,50,50,.2);
}

/* ADMIN STATISTICS */
.adminStats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:24px;
}
.adminStatCard{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px;
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg);
  transition: all .2s ease;
}
.adminStatCard:hover{
  border-color:rgba(0,212,255,.2);
  transform:translateY(-2px);
}
.adminStatCard__icon{
  width:56px;
  height:56px;
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  flex-shrink:0;
}
.adminStatCard__content{
  flex:1;
}
.adminStatCard__label{
  font-size:13px;
  color:var(--muted);
  font-weight:600;
  margin-bottom:6px;
}
.adminStatCard__value{
  font-size:24px;
  font-weight:800;
  color:var(--text);
}

/* CATEGORY BREAKDOWN */
.categoryBreakdown{
  text-align:center;
  padding:16px;
  background:var(--bg-darker);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  transition: all .15s ease;
}
.categoryBreakdown:hover{
  border-color:rgba(0,212,255,.2);
  transform:translateY(-2px);
}
.categoryBreakdown__icon{
  font-size:32px;
  margin-bottom:8px;
}
.categoryBreakdown__label{
  font-size:12px;
  color:var(--muted);
  font-weight:600;
  margin-bottom:6px;
}
.categoryBreakdown__value{
  font-size:20px;
  font-weight:800;
  color:var(--text);
}

/* QUICK ACTIONS */
.quickAction{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:20px;
  background:var(--bg-darker);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  cursor:pointer;
  transition: all .2s ease;
  text-decoration:none;
  color:var(--text);
}
.quickAction:hover{
  border-color:rgba(0,212,255,.3);
  transform:translateY(-2px);
  background:var(--panel-light);
}
.quickAction__icon{
  font-size:32px;
}
.quickAction__label{
  font-size:14px;
  font-weight:600;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .nav__links{display:none}
  .hero__inner{grid-template-columns:1fr}
  h1{font-size:42px}
  .dashStats{grid-template-columns: repeat(2, 1fr)}
  .cards3{grid-template-columns:1fr}
  .shopGrid{grid-template-columns: repeat(2, 1fr)}
  .product{grid-template-columns:1fr}
  .cart{grid-template-columns:1fr}
  .adminStats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 520px){
  .shopGrid{grid-template-columns:1fr}
  .cartRow{
    grid-template-columns: 70px 1fr; 
    grid-auto-rows:auto;
  }
  .cartRow .qty, 
  .cartRow .right, 
  .cartRow .miniBtn{
    grid-column: 1 / -1;
  }
  .adminStats{grid-template-columns:1fr}
  .categoryBreakdown{font-size:12px}
}