:root{
  --shadow: 0 18px 45px rgba(0,0,0,0.25);
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.18);
  --radius: 18px;
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.container-max{ max-width: 980px; }

.topbar{
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand{
  display:flex; gap:12px; align-items:center;
}
.brand .logo{
  width:46px; height:46px; border-radius:14px; object-fit:cover;
  box-shadow: var(--shadow-soft);
}
.brand .title{ font-weight:800; letter-spacing: .2px; }
.brand .sub{ color: var(--muted); font-size: 13px; }

.hero{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.hero-cover{
  height: 170px;
  background: radial-gradient(700px 240px at 90% 10%, rgba(124,58,237,0.30), transparent 60%),
              radial-gradient(700px 240px at 10% 0%, rgba(37,99,235,0.28), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  position:relative;
}
.hero-cover img{
  width:100%; height:100%; object-fit:cover;
  opacity: .92;
}
.hero-inner{
  padding: 14px 14px 16px;
}

.chips{
  display:flex; gap:10px; flex-wrap:wrap;
  position: sticky;
  top: 62px;
  z-index: 50;
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(11,18,32,0.98), rgba(11,18,32,0.65), rgba(11,18,32,0));
  backdrop-filter: blur(10px);
}
.chip{
  border: 1px solid var(--border);
  background: var(--chip-bg);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor:pointer;
  transition: 120ms ease;
  user-select:none;
}
.chip:hover{ transform: translateY(-1px); }
.chip.active{
  background: var(--chip-active);
  border-color: rgba(37,99,235,0.35);
}

.searchbar{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow:hidden;
}
.searchbar input{
  background: transparent !important;
  color: var(--text) !important;
  border:0 !important;
  padding: 12px 14px;
}
.searchbar input::placeholder{ color: rgba(229,231,235,0.55); }
.searchbar button{
  border:0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0 16px;
  font-weight: 800;
}

.cardx{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.item-card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 10px;
  display:flex;
  gap: 12px;
  cursor:pointer;
  transition: 120ms ease;
}
.item-card:hover{ transform: translateY(-2px); }
.thumb{
  width: 92px; height: 92px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 92px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}
.item-title{ font-weight: 900; }
.item-desc{ color: var(--muted); font-size: 13px; margin-top: 4px; }
.price{
  font-weight: 900;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  white-space:nowrap;
}
.badge-availability{
  display:inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border:1px solid var(--border);
}
.badge-availability.ok{ background: var(--ok); }
.badge-availability.off{ background: var(--off); }

.modal-content{
  background: rgba(15,26,51,0.92);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(12px);
  border-radius: 22px;
}
.modal-img{
  width:100%; height: 240px;
  object-fit:cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
}

.small-muted{ color: var(--muted); font-size: 13px; }

.btn-call{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 12px;
}
.btn-top{
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 12px;
}
