.products-page {
  background: #fff;
  color: #1c1c1c;
}

.products-page h1 {
  color: #1a1a1a;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.5rem);
}

.products-motto {
  margin-top: 0.35rem;
  color: #333;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 1.8rem;
  border-bottom: 0;
}

.product-tabs button {
  padding: 0 0 0.7rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #8d8d8d;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.product-tabs button[aria-selected="true"] {
  color: #8d7b45;
  border-bottom-color: #c6b48a;
}

.filter-groups {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 54px);
  margin-top: 2.2rem;
}

.filter-groups button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d7b45;
  font-size: 0.82rem;
  cursor: pointer;
}

.filter-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid #c6b48a;
  border-radius: 50%;
  color: #b7a56a;
}

.filter-groups button[aria-expanded="true"] .filter-icon {
  background: #c6b48a;
  color: #fff;
}

.filter-panel {
  margin-top: 1.6rem;
  padding: clamp(22px, 4vw, 36px) clamp(16px, 4vw, 48px);
  background: #f3f3f3;
}

.filter-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
}

.filter-options button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6d6450;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.filter-options button[aria-pressed="true"] {
  color: #173d35;
  font-weight: 700;
}

.filter-options svg {
  flex: 0 0 auto;
  color: #8d7b45;
}

.filter-note {
  margin: 0;
  color: #4d4d4d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  margin-top: 2.4rem;
}

.product-card {
  color: inherit;
  text-decoration: none;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card h2 {
  margin-top: 0.85rem;
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 500;
}

.product-card p {
  margin-top: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e4e4e4;
  color: #8d7b45;
  font-size: 0.95rem;
}

.products-empty {
  margin-top: 2rem;
  color: #4d4d4d;
}

.product-figure {
  margin-top: 1.4rem;
}

.product-figure img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .filter-options,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .filter-options,
  .product-grid {
    grid-template-columns: 1fr;
  }
}
