:root{
  --font: "Geist", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --primary: #4d71f1;
  --primary-600: #3b5ee6;
  --success: #25a767;
  --danger: #e11d48;
  --shadow: 0 10px 30px rgba(16,24,40,.08);
  --radius: 14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: var(--bg);
  font-size:14px;
  line-height:1.35;
}
a{color:var(--primary); text-decoration:none}
a:hover{color:var(--primary-600); text-decoration:underline}

.container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}
.topbar{
  position:sticky; top:0; z-index:20;
  background: rgba(246,247,251,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}
.brand .logo{
  width:34px; height:34px; border-radius:10px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--primary), #6d53dd);
  color:#fff; font-weight:800;
}
.nav-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.pill{
  padding:8px 10px;
  border:1px solid var(--border);
  background:var(--card);
  border-radius:999px;
  color:var(--text);
  display:inline-flex; align-items:center; gap:8px;
}
.pill small{color:var(--muted)}
.main{padding:24px 0 48px}
.h1{font-size:20px; margin:0 0 14px; font-weight:750}
.sub{margin:0 0 18px; color:var(--muted)}
.panel{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}
.panel-header{
  padding:14px 14px 8px;
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  flex-wrap:wrap;
}
.select{
  appearance:none;
  border:1px solid var(--border);
  background: #fff;
  padding:8px 12px;
  border-radius:12px;
  font-family:var(--font);
  font-size:13px;
}
.rows{display:flex; flex-direction:column}
.row-item{
  display:flex; align-items:center; gap:12px;
  padding:10px 14px;
  border-bottom:1px solid var(--border);
}
.row-item:last-child{border-bottom:none}
.prod-ico{
  width:34px; height:34px; border-radius:10px;
  border:1px solid var(--border);
  background:#fff;
  overflow:hidden;
  flex:0 0 auto;
  display:grid; place-items:center;
  font-weight:800;
  color:var(--primary);
}
.prod-ico img{width:100%; height:100%; object-fit:cover; display:block}
.prod-name{min-width:0; flex:1 1 auto}
.prod-name .title{
  font-weight:650;
  font-size:13.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.prod-name .meta{color:var(--muted); font-size:12.5px}
.price{
  font-weight:750;
  color:var(--text);
  white-space:nowrap;
}
.controls{
  display:flex; align-items:center; gap:8px;
  flex:0 0 auto;
}
.btn{
  border:1px solid var(--border);
  background:#fff;
  padding:8px 10px;
  border-radius:12px;
  font-family:var(--font);
  font-size:13px;
  cursor:pointer;
  color:var(--text);
  display:inline-flex; align-items:center; gap:8px;
  line-height:1;
}
.btn.primary{
  border-color: transparent;
  background: var(--primary);
  color:#fff;
}
.btn.primary:hover{background:var(--primary-600)}
.btn.icon{
  width:34px; height:34px;
  display:grid; place-items:center;
  padding:0;
}
.qty{
  display:inline-flex; align-items:center;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  height:34px;
  background:#fff;
}
.qty button{
  width:34px; height:34px;
  border:0; background:transparent;
  cursor:pointer;
  font-size:18px;
  color:var(--text);
}
.qty input{
  width:46px;
  border:0;
  text-align:center;
  font-family:var(--font);
  font-size:13px;
  outline:none;
}
.footer{
  padding:18px 0;
  color:var(--muted);
  font-size:12.5px;
  text-align:center;
}
@media (max-width: 720px){
  .price{display:none}
  .prod-name .meta{display:none}
}
