

.filter-tab {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-sans-en);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  background: none;
  border-left: none; border-right: none; border-top: none;
  border-radius: 0;
  transition: color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.filter-tab:hover { color: var(--text); }
.filter-tab.is-active { color: var(--text-mid); border-bottom-color: var(--accent); }

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-family: var(--font-sans-en);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  margin-left: 0.5em;
  line-height: 1;
  box-sizing: border-box;
}

.products-section { padding: var(--section-py) 0; }
.products-section + .products-section { padding-top: 0; }

.products-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.products-section__label {
  font-family: var(--font-sans-en);
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--accent-mid);
  display: block;
  margin-bottom: 0.3em;
}
.products-section__title {
  font-family: var(--font-sans-ja);
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  color: var(--text);
  line-height: var(--lh-tight);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap) var(--grid-gap-sm);
}

.product-card__img { aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden; }
.product-card:hover .product-card__img { box-shadow: var(--shadow-md); }

.product-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__img--placeholder {
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__img--placeholder::before {
  content: 'No Image';
  font-family: var(--font-sans-en);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  color: var(--text-light);
}

.product-card.is-shopify-loading .product-card__img--placeholder::before {
  opacity: 0;
}

.product-card__info { display: flex; flex-direction: column; gap: 0.25em; }
.product-card__name {
  font-size: var(--fs-sm);
  font-family: var(--font-sans-ja);
  font-weight: var(--fw-medium);
}
.product-card:hover .product-card__name { color: var(--text-mid); }
.product-card__desc {
  font-size: var(--fs-xs);
  color: var(--text-light);
  line-height: var(--lh-heading);
  
  display: -webkit-box;
  -webkit-line-clamp: 3;
          line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-section:not(.is-expanded) .product-card:nth-child(n+5) { display: none; }

.products-section__more { text-align: center; margin-top: var(--space-lg); }

.btn--ghost-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--ghost-dark:hover {
  background: var(--text);
  color: var(--text-inv);
  border-color: var(--text);
}

.shop-cta__text { max-width: 480px; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px)  {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap-sm); }
}
