/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #1d6aff;
  --primary-dk: #1558d6;
  --green:      #16a34a;
  --green-bg:   #f0fdf4;
  --green-bd:   #bbf7d0;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --gray-800:   #1f2937;
  --red-100:    #fee2e2;
  --red-500:    #ef4444;
  --radius:     12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; text-decoration: none; }

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  background: #1a1d2e;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

.tagline {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1d2e 0%, #1d3060 100%);
  padding: 56px 0 48px;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.hero p {
  font-size: 16px;
  color: #9ca3af;
  line-height: 1.7;
}

/* ── Main content ──────────────────────────────────────────────────────── */
.main-content {
  padding: 48px 20px;
}

/* ── Section ───────────────────────────────────────────────────────────── */
.section { margin-bottom: 48px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
}

.count-badge {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

/* ── Product Grid ──────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.product-card {
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card.available:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card.unavailable {
  opacity: 0.55;
  background: var(--gray-50);
}

.product-icon {
  font-size: 32px;
  line-height: 1;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
}

.product-unit {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  margin-top: 4px;
}

.product-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.in-stock {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-bd);
}
.in-stock .dot { background: var(--green); }

.out-of-stock {
  background: var(--gray-100);
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
}
.out-of-stock .dot { background: var(--gray-400); }

/* ── Empty state ───────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--gray-400);
}
.empty-icon { font-size: 56px; margin-bottom: 12px; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 56px 0;
  text-align: center;
}

.contact-inner h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-inner > p {
  color: var(--gray-600);
  margin-bottom: 28px;
}

.contact-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.contact-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,106,255,0.12);
}

.contact-icon { font-size: 18px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: #1a1d2e;
  padding: 20px 0;
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 40px 0 32px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .product-card { padding: 16px 12px; }
  .main-content { padding: 32px 20px; }
  .tagline { display: none; }
}
