/* Compact category navigation with readable labels outside the thumbnails. */
.compact-catalog-home { font-family: "Cairo Catalog", "Cairo", Tahoma, sans-serif; }
.compact-catalog-home .showroom-layout { display: block; padding-block: 20px; }
.compact-catalog-home .showroom-copy { padding: 0; text-align: center; }
.compact-catalog-home .intro-logos { margin-inline: auto; }
.compact-catalog-home .showroom-copy h1 { margin: 8px 0 4px; font-size: 32px; line-height: 1.45; letter-spacing: 0; }
.compact-catalog-home .showroom-dealer { margin: 0; font-size: 13px; line-height: 1.75; }
.compact-catalog-home .categories-section#categories { padding-top: 20px; scroll-margin-top: 12px; }
.compact-catalog-home .catalog-guide { gap: 10px 20px; margin-bottom: 16px; }
.compact-catalog-home .catalog-guide h2 { font-size: 25px; line-height: 1.4; letter-spacing: 0; }
.compact-catalog-home .catalog-guide .eyebrow { line-height: 1.5; margin-bottom: 2px; }
.compact-catalog-home .guide-search input { height: 44px; }
.compact-catalog-home .count-chip { padding: 4px 10px; }
.compact-catalog-home .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.compact-catalog-home .category-tile { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; border-color: #e3e4df; box-shadow: 0 3px 12px rgb(0 0 0 / 3%); transition: border-color .18s ease, box-shadow .18s ease; }
.compact-catalog-home .category-tile[hidden] { display: none; }
.compact-catalog-home .category-tile:hover { transform: none; border-color: #b20a3a; box-shadow: 0 4px 14px rgb(0 0 0 / 6%); }
.compact-catalog-home .category-tile:focus-visible { outline: 3px solid #a50034; outline-offset: 3px; }
.compact-catalog-home .category-thumbnail { height: 150px; display: flex; align-items: center; justify-content: center; gap: 2px; padding: 12px 18px 4px; overflow: hidden; background: #fafaf8; }
.compact-catalog-home .category-thumbnail img { display: block; width: 100%; max-width: 210px; height: 100%; min-width: 0; padding: 0; object-fit: contain; object-position: center; mix-blend-mode: multiply; transform: none; transition: none; }
.compact-catalog-home .category-thumbnail--pair .twin-category-preview { display: flex; direction: ltr; height: 100%; aspect-ratio: 1; max-width: 100%; overflow: hidden; }
.compact-catalog-home .twin-category-preview img { flex: 0 0 50%; width: 50%; max-width: 50%; height: 100%; object-fit: cover; }
.compact-catalog-home .twin-category-preview img:first-child { object-position: 14% center; }
.compact-catalog-home .twin-category-preview img:last-child { object-position: 86% center; }
.compact-catalog-home .catalog-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.compact-catalog-home .category-tile .category-content { flex: 1; display: flex; flex-direction: column; padding: 10px 14px 12px; }
.compact-catalog-home .category-tile h3 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 700; letter-spacing: 0; color: #252b28; }
.compact-catalog-home .category-tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 12px; line-height: 1.6; color: #777a73; }
.compact-catalog-home .category-tile-arrow { color: #a50034; font-family: Arial, sans-serif; font-size: 19px; line-height: 1; }
@media (min-width: 681px) and (max-width: 980px) {
  .compact-catalog-home .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .compact-catalog-home .showroom-layout { padding-block: 14px; }
  .compact-catalog-home .intro-logos { gap: 14px; }
  .compact-catalog-home .intro-logos img { width: 70px; height: 34px; }
  .compact-catalog-home .intro-logos img:last-child { width: 64px; height: 37px; }
  .compact-catalog-home .showroom-copy h1 { font-size: clamp(24px, 6.7vw, 30px); margin-top: 6px; }
  .compact-catalog-home .showroom-dealer { font-size: 12px; }
  .compact-catalog-home .categories-section#categories { padding-top: 14px; }
  .compact-catalog-home .catalog-guide { gap: 8px 12px; margin-bottom: 12px; }
  .compact-catalog-home .catalog-guide h2 { font-size: 21px; }
  .compact-catalog-home .catalog-guide .guide-search { margin: 0; }
  .compact-catalog-home .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .compact-catalog-home .category-tile { border-radius: 13px; }
  .compact-catalog-home .category-thumbnail { height: 106px; padding: 8px 10px 2px; }
  .compact-catalog-home .category-tile .category-content { padding: 8px 10px 9px; }
  .compact-catalog-home .category-tile h3 { font-size: 14px; }
  .compact-catalog-home .category-tile-meta { font-size: 11px; }
}
