/* Solar by Pagestan — Minimal Custom CSS
 * Only what Bootstrap 5 cannot provide.
 */

:root {
  --solar-red: #e94560;
}

/* Font families — Poppins for headings */
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.brand-directory a,
.card-title {
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  background: #f5f6fa;
}

/* PKR price accent — keeps the red callback */
.text-solar-red { color: var(--solar-red); }

/* Brand directory — multi-column (Bootstrap has no column-count utility) */
.brand-directory {
  column-count: 2;
  column-gap: 1rem;
}
.brand-directory a {
  display: block;
  padding: 0.2rem 0;
  font-size: 0.85rem;
  break-inside: avoid;
}
.brand-directory a:hover {
  color: #0d6efd !important;
}
.brand-directory .brand-count {
  font-weight: 400;
  font-size: 0.75rem;
}

/* Card grid for listing pages */
.product-grid .card {
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  border-radius: 0.5rem;
  overflow: hidden;
}
.product-grid .card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px);
}
.product-grid .card .card-img-top {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Featured mini card hover */
.product-mini-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-color: #0d6efd !important;
}

/* Brand pill hover */
.brand-pill:hover {
  background: #0d6efd;
  color: #fff !important;
  border-color: #0d6efd;
}

/* Card filtering */
.product-card-wrapper.hidden { display: none; }
.product-card-wrapper.page-hidden { display: none; }

/* Sidebar styling */
.sidebar-section h5 {
  letter-spacing: 0.5px;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Category cards on homepage */
.card .text-solar-red {
  font-size: 0.9rem;
}

/* Pagination spacing */
.pagination {
  gap: 0.2rem;
}

/* Clickable card cursor */
.cursor-pointer { cursor: pointer; }

/* Detail modal specs table */
.specs-table { width: 100%; font-size: 0.9rem; }
.specs-table td { padding: 0.4rem 0.75rem; border-bottom: 1px solid #eee; }
.specs-table td:first-child { width: 40%; font-weight: 500; color: #6c757d; }
.specs-table td:last-child { font-weight: 500; }
.specs-table tr.section-head td {
  font-weight: 600;
  color: #0d6efd;
  background: #f8f9fa;
  border-bottom: 2px solid #0d6efd;
  padding: 0.4rem 0.75rem;
}

/* Spotlight strip in modal */
.spotlight-strip { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.spotlight-strip .spotlight-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 0;
}
.spotlight-strip .spotlight-label {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Bootstrap utility extensions */
.fs-7 { font-size: 0.75rem; }
