.products-page { padding-top: 110px; }

/* ===== ACTIVE NAV ===== */
.active-nav { color: var(--primary) !important; }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  transition: border-color 0.3s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,96,10,0.08); }
.search-box i { color: var(--gray); font-size: 0.9rem; }
.search-box input {
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  width: 100%;
  background: transparent;
}
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.filter-tab .count {
  background: var(--light-bg);
  color: var(--gray);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s;
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,96,10,0.3);
}
.filter-tab.active .count { background: rgba(255,255,255,0.25); color: var(--white); }

/* ===== CATEGORY SECTION ===== */
.cat-section { margin-bottom: 70px; }
.cat-section.hidden { display: none; }
.cat-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.cat-heading-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(232,96,10,0.3);
}
.cat-heading-icon i { font-size: 1.4rem; color: var(--white); }
.cat-heading h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.cat-heading p { color: var(--gray); font-size: 0.88rem; }

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ===== PRODUCT CARD ===== */
.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.pcard:hover::before { opacity: 1; }
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(232,96,10,0.15);
  border-color: rgba(232,96,10,0.2);
}
.pcard.hidden { display: none; }

.pcard-img {
  background: linear-gradient(135deg, #1c0d00, #3d2010);
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pcard-badge.new { background: #10B981; }

.pcard-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pcard-cat i { font-size: 0.7rem; }
.pcard-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.pcard-body > p { color: var(--gray); font-size: 0.85rem; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.pcard-features { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.pcard-features li { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--gray); }
.pcard-features i { color: var(--primary); font-size: 0.72rem; flex-shrink: 0; }

.pcard-footer { display: flex; gap: 10px; align-items: center; }
.pcard-footer .btn-primary { flex: 1; justify-content: center; padding: 11px 16px; font-size: 0.88rem; }
.pcard-footer .btn-whatsapp { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: var(--radius-sm); font-size: 1.1rem; flex-shrink: 0; }

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}
.no-results i { font-size: 3rem; color: var(--border); margin-bottom: 16px; display: block; }
.no-results h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.no-results p { font-size: 0.9rem; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 24px;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-strip h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.cta-strip-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-primary { background: var(--white); color: var(--primary); box-shadow: none; }
.cta-strip .btn-primary:hover { background: var(--light-bg); transform: translateY(-2px); }
.cta-strip .btn-whatsapp { background: #25D366; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 768px) {
  .products-page { padding-top: 90px; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-box { max-width: 100%; width: 100%; }
  .filter-tabs { flex-wrap: wrap; gap: 8px; }
  .filter-tab { flex: 1 1 calc(50% - 4px); min-width: 0; justify-content: center; padding: 9px 10px; font-size: 0.8rem; }
  .filter-tab:first-child { flex: 1 1 100%; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-heading h2 { font-size: 1.2rem; }
  .cat-heading p { font-size: 0.8rem; }
  .cat-heading-icon { width: 44px; height: 44px; }
  .pcard-body { padding: 16px; }
  .pcard-body h3 { font-size: 0.92rem; }
  .cta-strip { padding: 40px 16px; }
  .cta-strip h2 { font-size: 1.4rem; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-btns { justify-content: center; width: 100%; }
  .cta-strip-btns .btn { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-img { height: 160px; }
  .pcard-body { padding: 12px; }
  .pcard-body h3 { font-size: 0.85rem; }
  .pcard-body > p { font-size: 0.78rem; }
  .pcard-features { display: none; }
  .filter-tab { font-size: 0.76rem; padding: 8px 8px; }
  .filter-tab .count { display: none; }
  .pcard-footer { flex-direction: column; }
  .pcard-footer .btn-whatsapp { width: 100%; height: auto; padding: 10px; }
  .cat-heading { gap: 12px; }
  .cat-heading-icon { width: 38px; height: 38px; }
  .cat-heading h2 { font-size: 1.05rem; }
}
