html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.z-pill-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 10px 16px;
  background: rgba(9, 9, 14, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}
.z-pill-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.z-pill-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.z-pill-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}
.z-pill-nav a {
  color: #8e8e98;
  text-decoration: none;
  transition: color 0.15s;
}
.z-pill-nav a:hover,
.z-pill-nav a.active {
  color: #fff;
}
.z-pill-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.z-pill-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
}
.z-pill-cart:hover {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.22);
}
.z-pill-ghost {
  color: #f4f4f5;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.z-pill-ghost:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.z-pill-solid {
  background: #8b5cf6;
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.z-pill-solid:hover { background: #7c3aed; color: #fff; }
.z-pill-burger {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.z-mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 12px;
  right: 12px;
  z-index: 59;
  background: rgba(12, 12, 18, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
  flex-direction: column;
  gap: 8px;
}
.z-mobile-drawer.open { display: flex; }
.z-mobile-drawer a,
.z-mobile-drawer button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 760px) {
  .z-pill-nav { display: none; }
  .z-pill-burger { display: inline-flex; }
  .z-pill-actions .z-pill-ghost,
  .z-pill-actions .z-pill-solid { display: none; }
}
