* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-right a {
  color: #e5e7eb;
  font-size: 16px;
  font-weight: 600;
}

.nav-right a:hover {
  color: #ffffff;
}

.nav-user {
  color: #93c5fd;
  font-weight: 700;
}

.nav-pill {
  background: #2563eb;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.page-content {
  padding: 36px 0 60px;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: white;
  border-radius: 24px;
  padding: 56px;
  margin-bottom: 36px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 800px;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: #dbeafe;
  max-width: 760px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 8px;
  font-size: 34px;
  color: #0f172a;
}

.section-head p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.product-image-wrap {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
}

.product-info {
  padding: 22px;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #0f172a;
}

.product-desc {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.6;
  min-height: 48px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
}

.stock {
  font-size: 14px;
  color: #64748b;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 999px;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-secondary:hover {
  background: #cbd5e1;
}

.empty-state {
  background: white;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.empty-state h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.empty-state p {
  margin: 0;
  color: #64748b;
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-right {
    gap: 12px;
  }

  .hero {
    padding: 28px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 28px;
  }

  .product-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
