.catalog-page .catalog-head { align-items: end; gap: clamp(25px,4vw,64px); margin-bottom: clamp(24px,3vw,46px); }
.catalog-title .page-heading { max-width: none; }
.catalog-page .catalog-title h1 { font-weight: 480; letter-spacing: -.065em; }
.catalog-title h1 em { color: var(--wine); font: italic 400 1.08em/.95 "Instrument Serif", Georgia, serif; letter-spacing: -.04em; white-space: nowrap; }
.catalog-doc-jump { display: inline-flex; align-items: center; min-height:44px; padding-block: 5px; margin-top: 11px; font-size: .87rem; }
.catalog-doc-jump, .catalog-family-link { color: var(--wine); text-underline-offset: 4px; }
.catalog-page .catalog-search { padding: clamp(16px,1.7vw,27px); background:#29382f; color:#fff9ed; }
.catalog-page .catalog-search[hidden] { display:none; }
.catalog-page .catalog-search label { margin-bottom:12px; font-weight:500; font-size:15px; }
.catalog-page .catalog-search-field { background:#faf8f0; border:1px solid #faf8f0; padding-inline:13px 8px; gap:12px; }
.catalog-page .catalog-search-field:focus-within { outline-color:#d8c1a7; outline-offset:4px; }
.catalog-page .catalog-search input { min-height:47px; font-size:15px; }
.catalog-page .catalog-search input::placeholder { color:#62695e; opacity:1; }
.catalog-family-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--rule); margin: 0 0 clamp(22px,2.5vw,38px); }
.catalog-family-index[hidden], .catalog-family-link[hidden] { display: none; }
.catalog-family-index button { position: relative; padding: 14px clamp(10px,1.6vw,25px); display: flex; align-items: baseline; justify-content: space-between; gap: 9px; min-height: 53px; border: 0; background: transparent; color: var(--muted); text-align: left; font-size: clamp(14px,1.2vw,20px); font-weight: 500; }
.catalog-family-index button[aria-pressed="true"] { color:var(--wine); background:#efe9df; box-shadow:inset 0 -2px var(--wine); }
.catalog-family-index button:hover:not([aria-pressed="true"]) { background: #e9ece3; color: var(--wine); }
.catalog-family-index button:focus-visible { z-index: 1; outline-offset: -3px; }
.catalog-family-index [data-count] { font: 450 .78rem/1 "DM Sans",sans-serif; font-variant-numeric: tabular-nums; }
.catalog-results [role="status"] { font-weight: 550; }
.catalog-family-link { display: block; width: fit-content; margin: 0 0 13px; padding: 5px 0; font-size: .9rem; }
.catalog-results ul { margin-top: 10px; }
.catalog-results li:focus-within { background: #eef0e9; }
.catalog-selection:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px 24px;
  margin-block: 0 clamp(18px,2.2vw,34px);
  padding: clamp(14px,1.65vw,27px);
  background: #e6e9df;
  border-left: 3px solid #445844;
}
.selection-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 14px; }
.selection-summary h2 { margin: 0; color: #29372c; font-size: clamp(23px,2vw,32px); font-weight: 530; line-height: 1.05; letter-spacing: -.045em; }
.selection-summary span { color: #4e5c4d; font-size: 13px; font-variant-numeric: tabular-nums; }
.selection-models { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.selection-models li { max-width: 100%; }
.selection-models button { display: flex; align-items: center; gap: 12px; max-width: 100%; min-height: 38px; padding: 6px 10px; background: #f6f7ee; color: #2a3629; border: 1px solid #aab4a3; text-align: left; overflow-wrap: anywhere; font-size: 13px; line-height: 1.2; }
.selection-models button::after { content: '×'; color: #53634c; font-weight: 400; font-size: 18px; }
.selection-models button:hover { background: white; border-color: #54674f; }
.selection-actions { grid-row: 1/3; grid-column: 2; display: flex; align-items: end; justify-content: center; flex-direction: column; gap: 2px; }
.selection-actions a { display: inline-flex; align-items: center; gap: 15px; padding: 9px 15px; min-height: 44px; background: var(--wine); color: #fff9ee; text-decoration: none; font-size: 14px; font-weight: 600; }
.selection-actions a:hover { background: #531325; }
.selection-actions button { min-height: 32px; padding: 3px 0; border: 0; background: none; color: #485144; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.selection-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; white-space: nowrap; }
.catalog-results ul { grid-template-columns:repeat(2,minmax(0,1fr)); gap: clamp(22px,2.5vw,40px); margin-bottom: 30px; }
.catalog-results li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(17px,1.6vw,26px) 0;
  border-top: 1px solid #b9bdb1;
}
.catalog-results li:focus-within { background: #eeeee6; }
.catalog-results li > a {
  display: grid;
  grid-template-columns: clamp(100px,11vw,172px) minmax(0,1fr);
  gap: clamp(12px,1.3vw,21px);
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  align-items: center;
}
.catalog-results a img { height: auto; padding:5px; background: #fffefb; }
.catalog-results a > span { gap: 4px; }
.catalog-results a small { font-size: 12px; color: #6a3a45; }
.catalog-results a strong { font-weight: 520; font-size: clamp(21px,2vw,30px); letter-spacing: -.04em; }
.catalog-results a > span > span { color: #50554b; }
.catalog-results .result-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0 calc(clamp(100px,11vw,172px) + clamp(12px,1.3vw,21px));
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid #b3b6a9;
  background: transparent;
  color: #41483d;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.2;
}
.result-select::before { content: '+'; color: inherit; font-size: 17px; line-height: 1; }
.catalog-results .result-select[aria-pressed="true"] { background: #dfe6d8; border-color: #92a387; color: #30432a; }
.result-select[aria-pressed="true"]::before { content: '✓'; font-size: 14px; }
.catalog-results .result-select:hover:not(:disabled) { border-color: var(--wine); color: var(--wine); }
.catalog-results .result-select:disabled { color: #65685f; border-style: dashed; cursor: default; }
.catalog-page :is(.catalog-selection,.catalog-results) :is(a,button):focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
@media (min-width: 651px) and (max-width: 1040px) {
  .catalog-results ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .catalog-selection:not([hidden]) { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .selection-actions { grid-row: auto; grid-column: 1; justify-content: start; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .selection-models button { min-height: 40px; }
  .selection-actions button { min-height: 40px; }
  .catalog-results ul { grid-template-columns: 1fr; gap: 10px; }
  .catalog-results li { display: grid; grid-template-columns: 88px minmax(0,1fr); column-gap: 14px; }
  .catalog-results li > a { grid-column: 1/-1; grid-template-columns: 88px minmax(0,1fr); gap:14px; }
  .catalog-results .result-select { justify-self: start; grid-column: 2; margin: 7px 0 0; min-height: 42px; }
}
.catalog-shelves.family-editions:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-template-rows: auto;
  gap: clamp(12px,1.6vw,27px);
}
.catalog-shelves.family-editions > a {
  display: block;
  height: 100%;
  overflow: hidden;
  color: #fff8ed;
  background: #29382f;
}
.catalog-shelves.family-editions > a:first-child { grid-row: auto; }
.catalog-shelves.family-editions figure,
.catalog-shelves.family-editions > a:first-child figure {
  display: block;
  margin: 0;
  aspect-ratio: auto;
  min-height: 0;
}
.catalog-shelves.family-editions figure::after { display:block; background:linear-gradient(0deg,#142018ee, #142018b3 12%,#14201833 35%, transparent 55%); }
.family-editions .family-image {
  position: relative;
  overflow: hidden;
  height: clamp(310px,28vw,440px);
  background: #e6e4dc;
}
.catalog-shelves.family-editions .family-screen img { object-position: 49% 55%; }
.catalog-shelves.family-editions .family-tray img { object-position: 55% 62%; }
.catalog-shelves.family-editions .family-basin img { object-position: 52% 54%; }
.catalog-shelves.family-editions figcaption {
  position: absolute;
  inset:auto 0 0;
  align-items: end;
  gap: 10px;
  padding: clamp(18px,2vw,32px);
  color: #fff8ed;
}
.catalog-shelves.family-editions figcaption strong {
  font:400 clamp(38px,3.5vw,57px)/1 "Instrument Serif",Georgia,serif;
  letter-spacing: -.025em;
}
.catalog-shelves.family-editions figcaption small {
  margin: 7px 0 0;
  color: inherit;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.4;
}
.catalog-shelves.family-editions a:is(:hover,:focus-visible) strong { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:6px; }
.catalog-shelves.family-editions a:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
@media (min-width: 651px) and (max-width: 900px) {
  .catalog-shelves.family-editions:not([hidden]) { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-page .catalog-head { grid-template-columns:minmax(0,1fr) minmax(290px,.9fr); gap:24px; }
  .catalog-shelves.family-editions figcaption { padding:17px; }
  .catalog-shelves.family-editions figcaption strong { font-size:36px; }
  .family-editions .family-image { height:310px; }
}
@media (max-width: 650px) {
  .catalog-shelves.family-editions:not([hidden]) { grid-template-columns: 1fr; gap: 10px; }
  .catalog-shelves.family-editions figure, .catalog-shelves.family-editions > a:first-child figure {
    display:block;
  }
  .family-editions .family-image { height: clamp(185px,54vw,275px); }
  .catalog-shelves.family-editions figcaption { display:flex; padding:18px; }
  .catalog-shelves.family-editions figcaption strong { font-size:38px; }
  .catalog-shelves.family-editions figcaption small { margin-top:6px; font-size:12px; }
  .catalog-shelves.family-editions .family-screen img { object-position:50% 48%; }
}
@media (max-width: 620px) {
  .catalog-family-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-family-index button { padding: 10px 8px; min-height: 46px; font-size: 14px; }
  .catalog-family-index button:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .catalog-page .catalog-head { grid-template-columns:1fr; gap:16px; margin-bottom:14px; }
  .catalog-page .catalog-title h1 { font-size: clamp(35px,9.5vw,46px); }
  .catalog-doc-jump { margin-top: 5px; }
  .catalog-page .catalog-search { padding:15px; }
  .catalog-page .catalog-search-field { gap:10px; padding-left:11px; }
  .catalog-page .catalog-search input { font-size:14px; }
}
@media (max-width: 360px) {
  .catalog-family-index button { font-size:13px; gap:6px; }
}
