:root {
  --primary: #414bb2;
  --primary-light: #5c67f2;
  --accent: #7b83ff;
  --dark: #1a1a1a;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, sans-serif;
}

body {
  overflow-x: hidden;
}

.category-wrapper {
  padding: 70px 20px;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  color: #666;
  margin-bottom: 18px;
}

.section-desc {
  max-width: 1000px;
  margin: 0 auto 55px;
  font-size: 15px;
  line-height: 1.7;
  color: #777;
  text-align: center;
}

/* GRID */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD */

.category-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  border-color: #2f80ff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }

  .category-card img {
    height: 160px;
  }
}
