.showroom-browse .catalog-search.catalog-checkboxes-ready {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.showroom-browse .catalog-checkboxes-ready > div:has(#buyer-catalog-search),
.showroom-browse .catalog-checkboxes-ready > .catalog-category-choices { grid-column: 1 / -1; }
.showroom-browse .catalog-checkboxes-ready > div:has(> #buyer-catalog-category) { display: none; }
.showroom-browse .catalog-category-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem;
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}
.catalog-category-choices legend { padding: 0; margin-block-end: .3rem; font-weight: 730; }
.catalog-category-choices label {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: .45rem;
  padding: .4rem .55rem;
  margin: 0;
  border: 1px solid #bac5b8;
  border-radius: 6px;
  background: #fffefa;
  line-height: 1.22;
  font-size: .87rem;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.catalog-category-choices label:has(:checked) { border-color: #577766; background: #e5eee4; color: #153626; }
.catalog-category-choices input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: #225342;
}
.showroom-browse .catalog-search :is(input[type="search"], select) { font-size: 16px; }
.showroom-browse .catalog-card-copy .catalog-selection-point {
  color: #225544;
  font-weight: 650;
  font-size: .89rem;
  line-height: 1.37;
  margin: .1rem 0 .52rem;
}
.showroom-browse .catalog-card-copy .catalog-item-ref { font-size: .73rem; }
.showroom-browse .catalog-video-tag {
  inset-block: auto .35rem;
  font-size: .7rem;
  padding: .23rem .38rem;
  background: #20392ef1;
}
.catalog-seller-summary {
  margin: .85rem 0 .4rem;
  padding: .66rem 0 0;
  border-block-start: 1px solid #bec5b6;
  font-size: .85rem;
  line-height: 1.4;
}
.catalog-seller-summary strong { display: block; margin-block-end: .22rem; }
.showroom-browse .catalog-lead .catalog-seller-summary p { margin-block: 0 .3rem; font-size: inherit; }
.catalog-seller-summary a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.showroom-browse .featured-photo { overflow: hidden; }
.showroom-browse .feature-outgoing-photo { z-index: 1; pointer-events: none; }
.showroom-browse .featured-controls [data-feature-index] { position: relative; }
.showroom-browse .featured-controls [data-feature-index][aria-pressed="true"]::before {
  width: min(100% - 4px, 26px);
  height: 5px;
  background: #759084;
}
.showroom-browse .feature-progress-bar { display: none; }
.showroom-browse [aria-pressed="true"] > .feature-progress-bar {
  display: block;
  position: absolute;
  inset-block: calc(50% - 2.5px) auto;
  inset-inline: 0;
  height: 5px;
  width: min(100% - 4px, 26px);
  margin-inline: auto;
  border-radius: 99px;
  background: #f3d5ae;
  transform: scaleX(0);
  transform-origin: left center;
}
.showroom-browse:dir(rtl) .feature-progress-bar { transform-origin: right center; }

@media (max-width: 620px) {
  .showroom-browse .catalog-category-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-category-choices label { padding-inline: .4rem; font-size: .8rem; }
  .showroom-browse .catalog-card-copy .catalog-selection-point { font-size: .81rem; }
  .showroom-browse .catalog-search.catalog-checkboxes-ready { padding: .7rem; }
}

.showroom-browse .catalog-compare-select,
.catalog-compare-tray button,
.catalog-compare-dialog button {
  min-height: 44px;
  padding: .35rem .55rem;
  border: 1px solid #9bac9d;
  border-radius: 6px;
  color: #17372b;
  background: #fffefa;
  font: inherit;
  font-size: .82rem;
  line-height: 1.24;
  cursor: pointer;
}
.showroom-browse .catalog-compare-select[aria-pressed="true"] { background: #e0ece0; border-color: #46745f; font-weight: 730; }
.showroom-browse .catalog-compare-select[disabled],
.catalog-compare-tray button[disabled] { opacity: .56; cursor: default; }
.catalog-compare-tray {
  position: fixed;
  z-index: 5;
  inset-block-end: max(.7rem, env(safe-area-inset-bottom));
  left: .7rem;
  width: min(calc(100% - 80px), 380px);
  padding: .35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .3rem;
  background: #19392c;
  border-radius: 9px;
  box-shadow: 0 5px 18px #132a2350;
}
.catalog-compare-tray[hidden] { display: none; }
.catalog-compare-tray button:first-child { background: #e0ece0; font-weight: 750; }
.catalog-compare-dialog {
  width: min(calc(100% - 14px), 780px);
  max-width: none;
  max-height: calc(100dvh - 14px);
  padding: 0;
  margin: auto;
  background: #fffefa;
  border: 0;
  border-radius: 10px;
  overscroll-behavior: contain;
}
.catalog-compare-dialog::backdrop { background: #132a23cc; }
.catalog-compare-dialog header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding: .45rem .65rem;
  color: #fffdfa;
  background: #19392c;
}
.catalog-compare-dialog h2 { margin: 0; font-size: 1.1rem; }
.catalog-compare-dialog button { min-width: 44px; font-size: 1.2rem; }
.catalog-compare-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: .6rem; }
.catalog-compare-panels article {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  min-width: 0;
  overflow-wrap: anywhere;
}
.catalog-compare-panels img { width: 100%; height: auto; aspect-ratio: 1.3; object-fit: contain; background: #f0eee6; }
.catalog-compare-panels h3 { margin-block: .36rem; font-size: clamp(.86rem, 3.4vw, 1.1rem); line-height: 1.25; }
.catalog-compare-panels p, .catalog-compare-facts { font-size: .82rem; line-height: 1.3; }
.catalog-compare-facts { margin: 0; padding: .15rem .6rem .6rem; }
.catalog-compare-facts div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .6rem; padding: .34rem 0; border-block-start: 1px solid #d1d9cc; }
.catalog-compare-facts dt { grid-column: 1 / -1; font-weight: 710; color: #345544; }
.catalog-compare-facts dd { margin: 0; overflow-wrap: anywhere; }
html:has(.catalog-compare-dialog[open]) { overflow: hidden; }
