:root{
  --bg:#070a12;
  --bg2:#0b1022;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.04);
  --text:#eaf0ff;
  --muted: rgba(234,240,255,.70);
  --border: rgba(148,163,184,.18);
  --shadow: 0 30px 90px rgba(0,0,0,.55);

  --blue:#0a5bb5; /* theme from logo */
  --blue2:#0ea5ff;

  --r:18px;
  --r2:22px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(10,91,181,.35), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(14,165,255,.22), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit; text-decoration:none}
button{font:inherit}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 14px 90px;
}

/* Topbar */
.topbar{
  position: sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.72);
  border-bottom: 1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px;
}

.brand{display:flex; gap:10px; align-items:center; min-width: 0;}
.brandMark{
  width:42px; height:42px; border-radius:14px;
  background: linear-gradient(135deg, rgba(10,91,181,.28), rgba(255,255,255,.06));
  border:1px solid rgba(10,91,181,.35);
  display:grid; place-items:center;
  overflow:hidden;
}
.brandMark img{width:100%; height:100%; object-fit:cover;}
.brandText{display:flex; flex-direction:column; line-height:1.05; min-width:0}
.brandName{font-weight:800; letter-spacing:-.5px; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.brandBlue{color: var(--blue2)}
.brandTag{font-size:12px; color: rgba(234,240,255,.72); margin-top:3px}

.nav{display:flex; align-items:center; gap:10px}
.navLink{
  font-size:13px;
  color: rgba(234,240,255,.78);
  padding:10px 10px;
  border-radius:12px;
}
.navLink:hover{background: rgba(255,255,255,.06);}

.iconBtn{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  display:flex; gap:8px; align-items:center;
}
.iconBtn:hover{background: rgba(255,255,255,.08);}

.pill{
  display:inline-grid; place-items:center;
  min-width:18px; height:18px;
  padding:0 6px;
  border-radius:999px;
  background: rgba(10,91,181,.25);
  border:1px solid rgba(10,91,181,.35);
  font-size:12px;
}

/* Typography */
.h1{
  font-size: clamp(22px, 4vw, 38px);
  letter-spacing:-.9px;
  margin: 14px 0 6px;
}
.h2{font-size:18px; margin:0 0 10px; letter-spacing:-.2px}
.h3{font-size:16px; margin:0}
.small{font-size:12.5px}
.muted{color:var(--muted)}

/* Cards & layout */
.grid{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px){
  .container{padding: 26px 18px 90px;}
  .brandName{font-size:18px}
  .grid{grid-template-columns: repeat(3, 1fr); gap:14px;}
}

.card{
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r2);
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.card:hover{border-color: rgba(10,91,181,.35); transform: translateY(-1px); transition: 160ms ease;}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.82);
}

.btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  cursor:pointer;
  width:100%;
}
.btn:hover{background: rgba(255,255,255,.09);}
.btn.primary{
  border-color: rgba(10,91,181,.45);
  background: linear-gradient(135deg, rgba(10,91,181,.45), rgba(14,165,255,.18));
}
.btn.primary:hover{filter: brightness(1.05);}

.row{display:flex; justify-content:space-between; align-items:center; gap:12px}
.hr{height:1px; background: rgba(255,255,255,.10); margin:12px 0}

/* Inputs */
.field{display:flex; flex-direction:column; gap:8px; margin-top:10px}
label{font-size:12.5px; color: rgba(234,240,255,.78)}
input, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
}
input:focus, select:focus{border-color: rgba(14,165,255,.45);}

/* Drawer */
.backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  z-index:60;
}
.drawer{
  position:fixed; top:0; right:0; height:100%;
  width:min(420px, 92vw);
  background: rgba(7,10,18,.92);
  border-left: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  transform: translateX(110%);
  transition: transform 180ms ease;
  z-index:70;
  display:flex; flex-direction:column;
}
.drawer.open{transform: translateX(0);}
.drawerHead{display:flex; justify-content:space-between; align-items:flex-start; padding:14px; border-bottom:1px solid rgba(255,255,255,.10)}
.drawerBody{padding:12px 14px; overflow:auto; flex:1}
.drawerFoot{padding:14px; border-top:1px solid rgba(255,255,255,.10)}

/* Product row in cart */
.cartItem{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background: rgba(255,255,255,.04);
  margin-bottom:10px;
}
.cartItem strong{font-size:13.5px}
.qty{
  display:flex; gap:8px; align-items:center; margin-top:8px;
}
.qty button{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.qty span{min-width:22px; text-align:center; font-size:13px; color: rgba(234,240,255,.85)}

/* Toast */
.toast{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
  background: rgba(15,23,42,.92);
  border:1px solid rgba(255,255,255,.14);
  padding:12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index:80;
  font-size:13px;
}