/* ===========================================================
   SHOP / CATEGORY PAGE
   =========================================================== */

.page-banner {
  padding: var(--space-7) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  margin-bottom: var(--space-4);
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--bone-dim); }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--brass); }

.page-banner h1 { font-size: clamp(30px, 4vw, 44px); }
.page-banner .count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--bone-dim);
  margin-top: var(--space-2);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-7);
  padding: var(--space-7) 0 var(--space-9);
  align-items: flex-start;
}
@media (max-width: 880px) {
  .shop-layout { grid-template-columns: 1fr; }
}

.filter-sidebar {
  position: sticky;
  top: 90px;
}
@media (max-width: 880px) {
  .filter-sidebar { position: static; }
}

.filter-group {
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.filter-group h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-4);
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  color: var(--bone-dim);
  cursor: pointer;
}
.filter-option:hover { color: var(--bone); }
.filter-option input { accent-color: var(--brass); }
.filter-option .fo-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
}
.filter-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-option.active { color: var(--brass-bright); }

.price-inputs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.price-inputs input {
  width: 100%;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
}
.price-inputs input:focus { border-color: var(--brass); outline: none; }

.clear-filters {
  background: none;
  border: none;
  color: var(--brass);
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-3);
  flex-wrap: wrap;
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
@media (max-width: 880px) {
  .mobile-filter-toggle { display: flex; }
}
.mobile-filter-toggle svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.sort-select {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
}
.sort-select:focus { border-color: var(--brass); outline: none; }

.active-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.filter-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-soft);
  border: 1px solid var(--line-bright);
  color: var(--bone);
  font-size: 12px;
  padding: 6px 8px 6px 12px;
  border-radius: 20px;
}
.filter-pill button {
  background: none; border: none; color: var(--brass);
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

.empty-state {
  text-align: center;
  padding: var(--space-9) var(--space-5);
  color: var(--bone-dim);
}
.empty-state svg { width: 56px; height: 56px; stroke: var(--line-bright); fill: none; stroke-width: 1; margin-bottom: var(--space-4); }
.empty-state h3 { color: var(--bone); margin-bottom: var(--space-2); font-size: 20px; }

/* Mobile filter drawer reuses mobile-nav-drawer pattern */
.filter-drawer-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--ink-soft);
  padding: var(--space-5);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav-drawer.filters.open .filter-drawer-panel { transform: translateX(0); }

/* ---- Toast ---- */
.toast-stack {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
@media (max-width: 480px) {
  .toast-stack { left: var(--space-4); right: var(--space-4); }
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--bone);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  font-size: 13.5px;
  font-weight: 500;
  transform: translateY(12px);
  opacity: 0;
  animation: toast-in 0.35s var(--ease-out) forwards;
  min-width: 260px;
}
@keyframes toast-in {
  to { transform: translateY(0); opacity: 1; }
}
.toast.leaving {
  animation: toast-out 0.25s var(--ease-soft) forwards;
}
@keyframes toast-out {
  to { transform: translateY(8px); opacity: 0; }
}
.toast .toast-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast .toast-icon svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 3; fill: none; }
