/* --- Shop Page Layout --- */
.page-header {
  background: var(--bg-subtle) url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=1920&q=10') no-repeat center/cover;
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: white;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(30, 39, 46, 0.7);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.95rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--primary-light);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Shop Layout */
.shop-container {
  display: flex;
  gap: 40px;
  padding: 60px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Sidebar Filters */
.shop-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.filter-group {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-list {
  list-style: none;
}

.filter-list li {
  margin-bottom: 12px;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
  font-size: 0.95rem;
}

.filter-list label:hover {
  color: var(--primary);
}

.filter-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  border-radius: 4px;
}

.filter-list span.count {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: 12px;
}

/* Price Slider Fake */
.price-slider {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  position: relative;
  margin: 20px 0;
}

.price-slider .active-range {
  position: absolute;
  left: 20%;
  right: 30%;
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}

.price-slider .handle {
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-inputs input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
}

/* Main Grid Area */
.shop-main {
  flex: 1;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.toolbar-left {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.toolbar-left strong {
  color: var(--text-main);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-by label {
  margin-right: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sort-by select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-main);
  cursor: pointer;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.page-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 600;
  color: var(--text-main);
  background: white;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
  .shop-container { flex-direction: column; }
  .shop-sidebar { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
  .filter-group { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .shop-toolbar { flex-direction: column; gap: 16px; align-items: flex-start; }
}
