:root {
  --primary: #0b2c3d;
  --accent: #c8a14a;
  --light-bg: #f7f9fc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
}

/* ================= BODY & CONTAINER ================= */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 0;
}

.section.light {
  background: var(--light-bg);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  margin-top: 8px;
  max-width: 700px;
  margin-inline: auto;
}

/* ================= PRODUCT GRID ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f1f5f9;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 18px 6px;
  color: var(--primary);
}

.product-card p {
  padding: 0 18px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ================= SPEC BOX ================= */
.spec-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin: 40px auto;
  max-width: 900px;
}

.spec-box h4 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 25px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}

.spec-grid span:nth-child(odd) {
  font-weight: 600;
  color: #334155;
}

.spec-grid span:nth-child(even) {
  color: var(--text-light);
}

/* ================= PRODUCT FILTER ================= */
.product-filter {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.filter-flex {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-filter input,
.product-filter select {
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  min-width: 260px;
  transition: all 0.3s ease;
}

.product-filter input:focus,
.product-filter select:focus {
  outline: none;
  border-color: #c59d5f;
  box-shadow: 0 0 0 2px rgba(197, 157, 95, 0.15);
}

/* ================= CTA ================= */
.cta {
  background: linear-gradient(135deg, #0b2c3d, #134e6f);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  border-radius: 14px;
  margin: 60px 0;
}

.cta h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .btn.primary {
  padding: 14px 28px;
  font-size: 15px;
}

.cta .btn.outline {
  padding: 14px 26px;
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
}

.cta .btn.outline:hover {
  background: #fff;
  color: #0b2c3d;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn.primary {
  background: var(--accent);
  color: #111;
}

.btn.primary:hover {
  background: #b8923f;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .product-hero {
    min-height: 28vh;
    padding: 40px 16px;
  }

  .product-hero h1 {
    font-size: 28px;
  }

  .product-hero p {
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 60px 16px;
  }

  .cta h2 {
    font-size: 26px;
  }
}



/* =====================
   PRODUCT SECTIONS
===================== */
.section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
}

.section.light {
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 15px;
}

.section-desc {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

/* =====================
   PRODUCT CATEGORY GRID
===================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.category-card h3 {
  margin-bottom: 10px;
}

.category-card p {
  color: #555;
  font-size: 0.95rem;
}

.category-card .link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #145a32;
}

/* =====================
   PRODUCT LISTS
===================== */
.inline-list {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.inline-list li {
  list-style: none;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

/* =====================
   RICE SPECIFICATIONS
===================== */
.product-list ul {
  max-width: 600px;
  margin: 30px auto;
  padding-left: 20px;
}

.product-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.spec-box {
  margin-top: 40px;
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #ddd;
  max-width: 700px;
  margin-inline: auto;
}

.spec-box h4 {
  margin-bottom: 20px;
  text-align: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.spec-grid span {
  font-size: 0.9rem;
}

/* =====================
   PRODUCT CTA
===================== */
.cta {
  background: #145a32;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 25px;
  color: #e5e7eb;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .hero {
    padding: 8rem 20px 5rem;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 26px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}
