.shop-page .top a.active {
  color: var(--teal-deep);
  border-bottom: 1px solid var(--teal-deep);
}

.shop-hero {
  padding: 5rem 5vw 2.5rem;
  max-width: 720px;
  animation: rise 0.8s ease both;
}
.shop-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--teal-deep);
  font-weight: 600;
  line-height: 1;
  margin: 0.5rem 0 1.1rem;
}
.shop-hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  max-width: 36rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 1.5rem 5vw 5rem;
  align-items: start;
}

.shop-filters {
  position: sticky;
  top: 96px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(26, 23, 20, 0.08);
  padding: 0 1.25rem 0 0;
  display: grid;
  gap: 1.4rem;
}
.shop-filters h2 {
  font-size: 0.95rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.filter-block h3 {
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.55rem;
  font-weight: 600;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.filter-chips button {
  border: 1px solid rgba(12, 51, 53, 0.16);
  background: transparent;
  color: var(--teal-deep);
  padding: 0.4rem 0.6rem;
  font: 600 0.75rem "Syne", sans-serif;
  cursor: pointer;
}
.filter-chips button.on {
  background: var(--teal-deep);
  color: var(--cloud);
  border-color: var(--teal-deep);
}

.shop-toolbar {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.8rem 1.75rem;
}

.product-card {
  background: transparent;
  border: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}
.product-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1714;
  padding: 12px;
  display: block;
  color: inherit;
  box-shadow: 0 24px 48px rgba(26, 23, 20, 0.12);
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.product-card:hover .product-visual img {
  transform: scale(1.03);
}
.product-visual .tags {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.product-visual .tags span {
  background: rgba(250, 248, 244, 0.92);
  color: var(--teal-deep);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  font-weight: 600;
}
.product-visual .tags .support {
  background: var(--teal-deep);
  color: var(--cloud);
}
.product-body {
  padding: 1.1rem 0.1rem 0;
  display: grid;
  gap: 0.4rem;
  flex: 1;
}
.product-body h3 {
  font-size: 1.35rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin: 0;
}
.product-body h3 a:hover { color: var(--teal); }
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  margin-top: 0.45rem;
}
.product-meta .format {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.product-meta .price {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--ink);
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.card-actions .btn {
  margin-top: 0;
  text-align: center;
  padding: 0.7rem 0.6rem;
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--teal-deep);
  color: var(--cloud);
  padding: 0.85rem 1.1rem;
  z-index: 60;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-weight: 600;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .shop-filters {
    position: static;
    border-right: 0;
    border-bottom: 1px solid rgba(26, 23, 20, 0.08);
    padding: 0 0 1.25rem;
  }
}
