/* ============================================================
   OCEAN POOLS INDIA — Products Catalog (Shopcart Style)
   Dedicated stylesheet — products.html
   ============================================================ */

/* ── Section ── */
.pcat-section {
  padding: 60px 0 100px;
  background: #f7f8fa;
  min-height: 80vh;
}

.pcat-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ── Promo Banner ── */
.pcat-promo-banner {
  background: linear-gradient(135deg, #e8f5f8 0%, #f0fdf9 100%);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
  border: 1px solid #bee5ef;
}

.pcat-promo-banner::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0,180,216,0.12), transparent 70%);
  border-radius: 50%;
}

.pcat-promo-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

.pcat-promo-text h2 span {
  color: #005d73;
}

.pcat-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #005d73;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
}

.pcat-promo-btn:hover {
  background: #004556;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 69, 86, 0.3);
  color: #fff;
}

/* ── Filter Bar ── */
.pcat-filter-bar {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  position: sticky;
  top: 62px;
  z-index: 88;
}

.pcat-filter-bar.pcat-stuck {
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}


/* Search */
.pcat-search-box {
  position: relative;
  flex: 2;
  min-width: 200px;
}

.pcat-search-box i {
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.pcat-search-box input {
  width: 100%;
  height: 42px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  color: #0f172a;
  padding: 0 42px 0 42px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pcat-search-box input:focus {
  border-color: #005d73;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,93,115,0.1);
}

.pcat-search-box input::placeholder { color: #94a3b8; }

.pcat-search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  color: #64748b;
  font-family: 'Poppins', sans-serif;
}

.pcat-search-clear-btn:hover { background: #cbd5e1; }
.pcat-search-clear-btn.show { display: flex; }

/* Filter Selects */
.pcat-sel {
  position: relative;
  flex: 1;
  min-width: 150px;
}

.pcat-sel i.icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #005d73;
  font-size: 12px;
  pointer-events: none;
  z-index: 1;
}

.pcat-sel i.arrow {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 10px;
  pointer-events: none;
  z-index: 1;
}

.pcat-sel select {
  width: 100%;
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #334155;
  padding: 0 32px 0 34px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.pcat-sel select:focus {
  border-color: #005d73;
  box-shadow: 0 0 0 3px rgba(0,93,115,0.1);
}

/* Sort + Reset */
.pcat-filter-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.pcat-sort-sel {
  position: relative;
}

.pcat-sort-sel select {
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #334155;
  padding: 0 30px 0 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.pcat-sort-sel::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #94a3b8;
  pointer-events: none;
}

.pcat-reset-btn {
  height: 42px;
  padding: 0 18px;
  background: #fff0f0;
  border: 1.5px solid #fecaca;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #dc2626;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pcat-reset-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

/* ── Results Bar ── */
.pcat-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  margin-top: 12px;
}

.pcat-results-count {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  font-family: 'Poppins', sans-serif;
}

.pcat-active-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pcat-tag {
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
}

.pcat-tag button {
  background: none;
  border: none;
  cursor: pointer;
  color: #0369a1;
  padding: 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.pcat-tag button:hover { color: #ef4444; }

/* ── Section Title (filtered view) ── */
.pcat-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 22px;
  font-family: 'Poppins', sans-serif;
}

/* ── Product Grid ── */
.pcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Empty State ── */
.pcat-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.pcat-empty.show { display: flex; }

.pcat-empty i {
  font-size: 50px;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.pcat-empty h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.pcat-empty p {
  font-size: 14px;
  color: #64748b;
  max-width: 380px;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}

.pcat-empty-btn {
  background: #005d73;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.pcat-empty-btn:hover { background: #004556; }

/* ──────────────────────────────────────────────
   PRODUCT CARD — Shopcart Reference Style
   ────────────────────────────────────────────── */
.pcard {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.pcard.visible {
  opacity: 1;
  transform: translateY(0);
}

.pcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 93, 115, 0.11);
  border-color: #c2e4ee;
}

/* ── Card Image Area ── */
.pcard-img-wrap {
  position: relative;
  background: #f5f8fa;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pcard-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.pcard:hover .pcard-img {
  transform: scale(1.06);
}

/* Wishlist Button */
.pcard-wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 3;
  font-family: 'Poppins', sans-serif;
}

.pcard-wish-btn:hover,
.pcard-wish-btn.active {
  color: #ef4444;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.22);
}

.pcard-wish-btn.active .fa-heart { font-weight: 900; }

/* Stock Badge */
.pcard-stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  z-index: 3;
}

.pcard-stock-badge.in { background: #dcfce7; color: #166534; }
.pcard-stock-badge.out { background: #fee2e2; color: #991b1b; }

/* Quick View Overlay */
.pcard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 93, 115, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.pcard:hover .pcard-overlay { opacity: 1; }

/* ── Card Body ── */
.pcard-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.pcard-cat {
  font-size: 10px;
  font-weight: 700;
  color: #005d73;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: 'Poppins', sans-serif;
}

.pcard-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stars */
.pcard-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pcard-stars-row {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 11px;
}

.pcard-review-count {
  font-size: 11px;
  color: #94a3b8;
  font-family: 'Poppins', sans-serif;
}

/* Price row */
.pcard-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.pcard-price {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.pcard-price sup {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.pcard-badge-feat {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #7c2d12;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Action buttons */
.pcard-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.pcard-btn-moredetails {
  width: 100%;
  height: 42px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.pcard-btn-moredetails:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38);
}

.pcard-btn-moredetails i {
  font-size: 17px;
}

/* ── Cart Toast ── */
.pcat-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #005d73;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 24px rgba(0, 93, 115, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.pcat-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── CTA Section ── */
.products-cta-teal-section {
  background: linear-gradient(135deg, #005d73 0%, #003f52 100%);
  padding: 80px 0;
}

.prod-cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.prod-cta-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}

.prod-cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  line-height: 1.7;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.prod-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .pcat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .pcat-container { padding: 0 20px; }
  .pcat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pcat-filter-bar { flex-wrap: wrap; gap: 8px; }
  .pcat-sel { min-width: 130px; flex: 1 1 130px; }
  .pcat-filter-right { margin-left: 0; width: 100%; justify-content: flex-end; }
  .prod-cta-grid { flex-direction: column; text-align: center; }
  .prod-cta-buttons { justify-content: center; }
  .pcard-img-wrap { height: 180px; }
}

@media (max-width: 600px) {
  .pcat-container { padding: 0 14px; }
  .pcat-section { padding: 36px 0 70px; }
  .pcat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcat-filter-bar { padding: 14px 16px; top: 60px; }
  .pcat-search-box { min-width: 100%; flex: unset; }
  .pcat-sel { min-width: calc(50% - 6px); }
  .pcat-filter-right { width: 100%; }
  .pcat-reset-btn { flex: 1; justify-content: center; }
  .pcard-actions { flex-direction: column; }
  .pcard-btn-wa { width: 100%; }
  .prod-cta-content h2 { font-size: 24px; }
  .pcat-promo-banner { flex-direction: column; padding: 24px 22px; }
  .pcat-promo-text h2 { font-size: 22px; }
}

/* Load More Button Styling */
.pcat-load-more-container {
  display: none; /* Controlled via JS */
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  width: 100%;
}

.pcat-load-more-btn {
  background: #005d73;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(0, 93, 115, 0.2);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.pcat-load-more-btn:hover {
  background: #004556;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 69, 86, 0.35);
}

.pcat-load-more-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.pcat-load-more-btn:hover i {
  transform: translateY(3px);
}

/* GLOBAL BUTTON OVERRIDE TO #005D73 */
button:not(.filter-btn):not(.hamburger):not(.faq-question):not(.pcat-search-clear-btn):not(.pcat-reset-btn), .btn, .btn-primary, .hero-buttons a, .see-more-services-btn, .pcat-promo-btn, .pcat-empty-btn, .pcat-load-more-btn, .contact-action-btn, .btn-primary-alt, .services-contact-btn, .cta-btn-primary, .cta-btn-whatsapp, input[type="submit"], .whatsapp-btn, .call-btn, .mail-btn, .map-btn, .purple-contact-btn {
  background-color: #005D73 !important;
  background: #005D73 !important;
  border-color: #005D73 !important;
  color: #ffffff !important;
}

.filter-btn:not(.active) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #005D73 !important;
  border: 1.5px solid #005D73 !important;
}

.filter-btn.active {
  background: #005D73 !important;
  background-color: #005D73 !important;
  color: #ffffff !important;
  border-color: #005D73 !important;
}
