:root{
  --bg:#0b0f19;
  --card:#121a2b;
  --muted:#8ea0c2;
  --text:#e9eefc;
  --accent:#6ea8fe;
  --accent2:#7cffa6;
  --danger:#ff6b6b;
  --border:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:linear-gradient(120deg,#0b0f19,#0c1326 55%, #0b0f19); color:var(--text); }
a{ color:inherit; text-decoration:none; }

.container{ width:min(1100px, 92vw); margin:0 auto; }

header{
  position: sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,25,.65);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; gap:10px; align-items:center; font-weight:800; letter-spacing:.4px;
}
.badge{
  font-size:12px; padding:4px 10px; border-radius:999px;
  background: rgba(110,168,254,.18); border:1px solid rgba(110,168,254,.35);
  color: var(--accent);
}
.nav-actions{ display:flex; gap:10px; align-items:center; }

.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover{ background: rgba(255,255,255,.09); }
.btn:active{ transform: translateY(1px); }
.btn.primary{
  background: rgba(110,168,254,.18);
  border:1px solid rgba(110,168,254,.35);
}
.btn.primary:hover{ background: rgba(110,168,254,.25); }
.btn.success{
  background: rgba(124,255,166,.15);
  border:1px solid rgba(124,255,166,.35);
}

.hero{
  padding:38px 0 18px;
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
  align-items: stretch;
}
.hero-card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero h1{ margin:0 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.hero p{ margin:0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.hero .row{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding: 14px 0;
}
.input, select{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  outline:none;
}
select option{ color:#111; }

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 50px;
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(3, 1fr); } .hero{ grid-template-columns: 1fr; } }
@media (max-width: 720px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px){ .grid{ grid-template-columns: 1fr; } }

.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}
.card-body{ padding: 14px; }
.kicker{ color: var(--muted); font-size: 12px; }
.title{ font-weight: 800; margin: 6px 0 6px; }
.price{ font-weight:800; color: var(--accent2); }
.swatches{ display:flex; gap:6px; margin-top:10px; }
.swatch{
  width:16px; height:16px; border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
}
.card-actions{ margin-top:12px; display:flex; gap:10px; }

.drawer{
  position: fixed; inset: 0;
  display:none;
  background: rgba(0,0,0,.55);
}
.drawer.open{ display:block; }
.drawer-panel{
  position:absolute; top:0; right:0;
  width: min(420px, 92vw);
  height:100%;
  background: rgba(13,18,32,.96);
  border-left:1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px;
  display:flex; flex-direction:column;
}
.drawer-header{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.drawer-header h2{ margin:0; font-size: 18px; }
.cart-list{ margin-top:10px; display:flex; flex-direction:column; gap:10px; overflow:auto; padding-right: 4px; }
.cart-item{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding:10px;
  display:grid;
  grid-template-columns: 64px 1fr;
  gap:10px;
}
.cart-item img{ width:64px; height:64px; object-fit:cover; border-radius: 12px; }
.cart-item .meta{ display:flex; flex-direction:column; gap:2px; }
.cart-item .meta small{ color: var(--muted); }
.cart-item .line{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.qty{
  display:flex; align-items:center; gap:8px;
}
.qty button{
  width:30px; height:30px; border-radius: 10px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
}
.remove{ color: var(--danger); cursor:pointer; font-size: 12px; }

.cart-footer{
  margin-top:auto;
  border-top:1px solid var(--border);
  padding-top: 12px;
}
.total-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom: 10px; }
.muted{ color: var(--muted); }

.modal{
  position: fixed; inset:0; display:none;
  background: rgba(0,0,0,.6);
  padding: 18px;
}
.modal.open{ display:grid; place-items:center; }
.modal-card{
  width: min(920px, 96vw);
  border:1px solid var(--border);
  background: rgba(13,18,32,.98);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-top{
  display:flex; justify-content:space-between; align-items:center;
  padding: 14px 16px;
  border-bottom:1px solid var(--border);
}
.modal-body{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
}
.modal-body img{ width:100%; height: 420px; object-fit:cover; display:block; }
.modal-content{ padding: 16px; }
.pills{ display:flex; gap:8px; flex-wrap:wrap; margin: 10px 0; }
.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;
}
.pill.active{
  border:1px solid rgba(110,168,254,.45);
  background: rgba(110,168,254,.18);
}
@media (max-width: 900px){
  .modal-body{ grid-template-columns: 1fr; }
  .modal-body img{ height: 260px; }
}

.table{
  width:100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.table th,.table td{
  border-bottom:1px solid var(--border);
  padding: 10px 8px;
  text-align:left;
}
footer{ padding: 30px 0 45px; color: var(--muted); border-top:1px solid var(--border); }
.small{ font-size: 12px; }

.brand-wrapper{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-text{
  display:inline-block;
  font-size: 42px;
  font-weight: 900;
  color: #ff4da6;
  text-transform: uppercase;
  letter-spacing: 2px;

  text-shadow:
    -2px -2px 0 #ffffff,
     2px -2px 0 #ffffff,
    -2px  2px 0 #ffffff,
     2px  2px 0 #ffffff;
}