/* ===== SHOP PAGE ===== */
.page-hero {
  padding: 120px 5% 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(197,160,80,0.04) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.page-hero h1 span { color: var(--gold); font-style: italic; }
.page-hero p { color: var(--text-muted); font-size: 1rem; margin-bottom: 12px; }
.breadcrumb { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 1px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* SHOP LAYOUT */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 5% 80px;
  align-items: start;
}

/* SIDEBAR */
.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.sidebar-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-section h3 {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}
.cat-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  font-size: 0.86rem;
}
.cat-filter-item:hover, .cat-filter-item.active {
  background: rgba(197,160,80,0.07);
  color: var(--gold);
}
.cat-filter-count {
  background: var(--surface2);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 8px 12px;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  width: 0;
}
.price-input:focus { outline: none; border-color: var(--gold); }

.rating-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.rating-option:hover { color: var(--text); }
.rating-option input { accent-color: var(--gold); }

.tag-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 5px 14px;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.5px;
}
.tag-btn:hover, .tag-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(197,160,80,0.05); }

/* VIEW TOGGLE */
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.view-btn.active, .view-btn:hover { border-color: var(--gold); color: var(--gold); }

/* LIST VIEW */
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 160px 1fr;
}
.products-grid.list-view .product-image { height: 160px; }

/* SEARCH HIGHLIGHT */
.highlight { background: rgba(197,160,80,0.15); border-radius: 2px; padding: 0 2px; color: var(--gold-light); }

/* NO RESULTS */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  grid-column: 1/-1;
}
.no-results-icon { font-size: 3rem; display: block; margin-bottom: 16px; color: var(--gold); opacity: 0.4; }

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
}

/* ── Shop page responsive ── */
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .shop-sidebar { position: static; }
}

@media (max-width: 768px) {
  .page-hero { padding: 90px 5% 36px; }
  .shop-layout { padding: 24px 4% 60px; }

  /* Sidebar becomes collapsible feel — still visible but compact */
  .shop-sidebar { padding: 16px; }
  .sidebar-section { margin-bottom: 20px; padding-bottom: 20px; }

  /* Toolbar */
  .products-toolbar > div { flex-wrap: wrap; gap: 8px; }
  .sort-select { flex: 1; min-width: 120px; }
}

@media (max-width: 600px) {
  .page-hero h1 { font-size: clamp(1.6rem, 8vw, 2.5rem); }
  .price-inputs { flex-wrap: wrap; }
  .price-input { min-width: 80px; }
  .tag-filters { gap: 4px; }
  .tag-btn { font-size: 0.72rem; padding: 4px 10px; }
}
