/* The catalogue uses the homepage's plain section headings and warm palette. */
.catalog-page {
  background: var(--paper);
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  padding-block: 16px 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.catalog-heading__copy { min-width: 0; }
.catalog-heading .eyebrow { font-size: 11px; }
.catalog-heading h1 {
  font: 500 clamp(34px, 4.1vw, 60px)/1.1 var(--sans);
  letter-spacing: -.045em;
  margin-top: 18px;
}
.catalog-heading h1 em {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--gold);
}
.catalog-heading__lead {
  flex: 0 0 38%;
  max-width: 43ch;
  padding-bottom: 5px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  max-width: 660px;
  padding-inline: 20px;
  margin-bottom: 36px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: var(--paper);
}
.catalog-search svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.catalog-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  padding: 14px 0;
  font-size: 14px;
  outline: none;
}
.catalog-search input::placeholder { color: var(--muted); opacity: 1; }
.catalog-search:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.catalog-search input::-webkit-search-cancel-button { cursor: pointer; }
.catalog-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}
.filter-panel { border: 0; min-width: 0; }
.filter-panel > summary { display: none; }
.filter-panel__body { display: grid; gap: 28px; }
.filter-title,
.filter-field label {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.group-nav { display: grid; gap: 4px; }
.group-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}
.group-nav a[aria-current=true] { background: var(--ivory); color: var(--ink); font-weight: 600; }
.group-nav a:hover { color: var(--gold); background: var(--ivory); }
.group-count { font-size: 10px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.filter-field select {
  max-width: 100%;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 48px;
  font-size: 13px;
  padding: 10px 28px 10px 12px;
}
.catalog-consultation-link { display: block; margin-top: 8px; padding-block: 10px; min-height: 44px; color: var(--gold); font-size: 12px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.catalog-consultation-link[aria-current=page] { color: var(--ink); font-weight: 600; }
.filter-help {
  margin-top: 2px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.filter-help a { display: inline-block; color: var(--gold); min-height: 44px; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; }
.results-toolbar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.results-status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); }
.clear-filters { font-size: 12px; min-height: 44px; color: var(--gold); border: 0; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.catalog-sort { min-height: 44px; border: 0; background: var(--paper); padding: 6px 24px 6px 0; font-size: 12px; max-width: 185px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 28px; }
.product-card { min-width: 0; }
.product-card a { display: block; }
.product-card__image {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  position: relative;
  border: 1px solid rgb(127 110 81 / 9%);
}
.product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.product-card a:hover img { transform: scale(1.025); }
.product-card__body { padding: 17px 2px 0; }
.product-card__category { display: block; font-size: 10px; color: var(--muted); margin-bottom: 7px; line-height: 1.6; }
.product-card h2 { font-size: 15px; letter-spacing: -.02em; line-height: 1.55; font-weight: 500; }
.product-card__price { margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.product-card a:hover h2 { color: var(--gold); }
.load-more { display: flex; justify-content: center; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.load-more .button { min-width: 230px; }
.empty-results { padding: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 48px); background: var(--ivory); border-radius: 5px; }
.empty-results h2 { font-size: 30px; margin-bottom: 18px; letter-spacing: -.04em; }
.empty-results p { max-width: 44ch; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.empty-results .button { margin-top: 24px; }
.empty-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.empty-categories a { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 13px; min-height: 44px; display: flex; align-items: center; }
.catalog-noscript { padding: 16px; background: var(--ivory); margin-bottom: 24px; font-size: 14px; }
.catalog-noscript a { text-decoration: underline; }
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .catalog-heading { gap: 30px; }
  .catalog-heading__lead { flex-basis: 42%; font-size: 14.5px; }
  .product-grid { gap: 38px 20px; }
  .product-card h2 { font-size: 14px; }
  .group-nav a { padding-inline: 8px; font-size: 12px; }
  .catalog-search input, .filter-field select, .catalog-sort { font-size: 16px; }
  .catalog-sort { max-width: 190px; }
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .catalog-heading { display: block; padding-block: 8px 28px; margin-bottom: 28px; }
  .catalog-heading h1 { font-size: clamp(34px, 6.6vw, 48px); }
  .catalog-heading__lead { max-width: 54ch; margin-top: 22px; padding-bottom: 0; font-size: 15px; }
}
@media (max-width: 700px) {
  .catalog-search { margin-bottom: 20px; min-height: 50px; padding-inline: 16px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 22px; }
  .filter-panel { border-block: 1px solid var(--line); }
  .filter-panel > summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; min-height: 50px; list-style: none; font-size: 13px; }
  .filter-panel > summary::-webkit-details-marker { display: none; }
  .filter-panel > summary::after { content: ''; width: 8px; height: 8px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); margin: -5px 4px 0 12px; }
  .filter-panel[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
  .filter-panel__body { gap: 22px; padding: 6px 0 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filter-group, .filter-help { grid-column: 1 / -1; }
  .group-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; }
  .filter-help { padding-top: 16px; }
  .results-toolbar { margin-bottom: 18px; align-items: start; gap: 12px; padding-bottom: 10px; }
  .results-status { padding-top: 12px; font-size: 11px; }
  .catalog-sort { max-width: 190px; }
  .product-grid { gap: 32px 18px; }
  .product-card__body { padding: 12px 0 0; }
  .product-card__category { font-size: 10px; margin-bottom: 6px; }
  .product-card h2 { font-size: 14px; }
  .product-card__price { font-size: 12px; margin-top: 8px; }
  .empty-results h2 { font-size: 26px; }
  .load-more { margin-top: 36px; padding-top: 24px; }
}
@media (max-width: 560px) {
  .filter-panel__body { grid-template-columns: minmax(0, 1fr); }
  .results-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .results-status { justify-content: space-between; padding-top: 0; font-size: 12px; }
  .catalog-sort { width: 100%; max-width: none; min-height: 48px; padding: 10px 32px 10px 12px; border: 1px solid var(--line); border-radius: 5px; }
  .catalog-search input::placeholder { font-size: 13px; }
}
@media (max-width: 350px) {
  .catalog-search { gap: 8px; padding-inline: 12px; }
  .catalog-search input::placeholder { font-size: 12px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-card h2 { font-size: 15px; }
  .group-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card a:hover img { transform: none; }
}
