/* Overview */
.products-overview {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  padding: 48px 0 40px;
}
.products-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}
.products-mini-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-accent);
  margin-bottom: 14px;
}
.products-overview-text {
  color: rgba(15,31,56,0.72);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
}
.products-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.products-kpi-card {
  background: #f7f9fc;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.products-kpi-card strong {
  display: block;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 4px;
}
.products-kpi-card span {
  font-size: 11px;
  color: rgba(15,31,56,0.66);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Filters */
.products-filter-section {
  background: #fff;
  position: sticky;
  top: 72px;
  z-index: 20;
  border-bottom: 1px solid var(--border-soft);
}
.product-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.product-filter-btn {
  border: 1px solid rgba(15,31,56,0.18);
  background: #fff;
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-filter-btn.active,
.product-filter-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.product-card {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,155,85,0.52);
}
.product-card-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.product-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,31,56,0.58), rgba(15,31,56,0));
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,31,56,0.18);
}
.product-card-badge .material-symbols-outlined {
  color: var(--brand-primary);
  font-size: 20px;
}
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-category {
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.product-title {
  color: var(--brand-primary);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
.product-snippet {
  color: rgba(15,31,56,0.68);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.product-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-action .material-symbols-outlined {
  color: var(--brand-accent);
  font-size: 17px;
  transition: transform 0.25s ease;
}
.product-card:hover .product-action .material-symbols-outlined { transform: translateX(4px); }

@media (max-width: 1100px) {
  .products-overview-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .products-kpi-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .products-filter-section { top: 60px; }
}
