
:root{
  --accent:#FF6B35;    /* primary accent */
  --muted:#ededed;
  --card-bg:#ffffff;
  --soft-shadow: 0 8px 18px rgba(14, 29, 37, 0.06);
  --radius:12px;
  --max-width:1280px;
  --gap:22px;
}

/* Page layout */
body{ background:#f4f6f8; font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#111; }
.container-xl { max-width: var(--max-width); }

.topbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:18px 0;
}
.count-badge {
  color:var(--muted);
  font-size:14px;
}

/* Sidebar filter */
.filter-card{
  background:var(--card-bg);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--soft-shadow);
  position:sticky;
  top:20px;
}
.filter-title { font-weight:700; margin-bottom:12px; font-size:16px; }

/* Product grid */
.product-card {
  background:var(--card-bg);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--soft-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(14,29,37,0.08);
}

.product-media {
  position:relative;
  width:100%;
  padding-top:70%; /* aspect ratio */
  overflow:hidden;
  background:linear-gradient(180deg, #f8f9fb, #fff);
}
.product-media img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .25s ease;
}
.product-card:hover .product-media img { transform: scale(1.03); }

.quick-actions {
  position:absolute;
  right:10px;
  top:10px;
  display:flex;
  gap:8px;
  z-index:5;
}
.quick-actions .btn {
  border-radius:50%;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.55);
  color:white;
  border:none;
  transition: background .15s;
}
.quick-actions .btn:hover { background: var(--accent); }

.product-body {
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.product-title {
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  color:#111;
  text-decoration:none;
}
.product-meta { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.price-row { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; }
.price { color:var(--accent); font-weight:700; font-size:18px; }
.units { color:#677; font-size:13px; }

/* Add to cart CTA */
.btn-cta {
  background:var(--accent);
  color:#fff;
  border-radius:10px;
  padding:8px 12px;
  font-weight:700;
  border:none;
  transition: transform .12s;
}
.btn-cta:active { transform: translateY(1px); }

/* Pagination */
.pagination .page-link { border-radius:8px; border:none; margin:0 4px; padding:7px 10px; }
.pagination .active .page-link { background:var(--accent); color:#fff; border:none; }

/* Responsive tweaks */
@media (max-width:991px){
  .product-media { padding-top:66%; }
}
@media (max-width:767px){
  .filter-card { display:none; } /* use offcanvas on mobile */
}

/* Offcanvas filter button (mobile) */
.filter-btn-mobile {
  display:none;
}
@media (max-width:767px){ .filter-btn-mobile { display:inline-block; } }

/* subtle helpers */
.muted { color:var(--muted); font-size:13px; }
.rating { color:#f6b042; font-size:13px; display:flex; gap:6px; align-items:center; }
