/* Catalog browsing surfaces adapted from the UXPilot reference. Loaded by the shared layout. */
.uxpilot-catalog-hub {
  --ux-canvas: #f7f8fa;
  --ux-paper: #fff;
  --ux-ink: #172033;
  --ux-muted: #657186;
  --ux-line: #e3e7ed;
  --ux-brand: #ffd400;
  max-width: 1320px;
  margin-inline: auto;
  color: var(--ux-ink);
}
.uxpilot-catalog-hub .catalog-hub-heading { align-items: end; margin: 0 0 18px; }
.uxpilot-catalog-hub .catalog-hub-heading .eyebrow { margin: 0 0 8px; color: var(--ux-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.uxpilot-catalog-hub .catalog-hub-heading h1 { margin: 0; color: var(--ux-ink); font-size: clamp(30px, 3vw, 40px); line-height: 1.16; }
.uxpilot-catalog-hub .catalog-hub-heading .lead { margin: 8px 0 0; color: var(--ux-muted); font-size: 15px; }
.uxpilot-catalog-hub .catalog-hub-count { padding: 0; border: 0; background: none; color: var(--ux-muted); white-space: nowrap; }
.uxpilot-catalog-hub .catalog-hub-count strong { color: var(--ux-ink); }
.uxpilot-catalog-hub > .catalog-type-navigation { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 0 18px; overflow-x: auto; scrollbar-width: thin; }
.uxpilot-catalog-hub > .catalog-type-navigation a { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-width: 96px; min-height: 46px; padding: 0 16px; border: 1px solid var(--ux-line); border-radius: 9px; background: var(--ux-paper); color: var(--ux-ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.uxpilot-catalog-hub > .catalog-type-navigation a[aria-current="page"] { border-color: var(--ux-ink); background: var(--ux-ink); color: #fff; }
.uxpilot-catalog-hub > .catalog-type-navigation a:focus-visible,
.uxpilot-catalog-hub .uxpilot-catalog-set-link:focus-visible { outline: 3px solid var(--ux-brand); outline-offset: 2px; }
.uxpilot-catalog-filter { margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-paper); }
.uxpilot-catalog-filter > h2 { margin: 0 0 14px; color: var(--ux-ink); font-size: 16px; }
.uxpilot-catalog-filter .catalog-filter-box { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.uxpilot-catalog-filter .catalog-filter-grid { grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(125px, 1fr)); gap: 12px; }
.uxpilot-catalog-filter .catalog-filter-grid label { color: var(--ux-muted); font-size: 13px; }
.uxpilot-catalog-filter input,
.uxpilot-catalog-filter select { min-height: 44px; border-color: var(--ux-line); border-radius: 7px; background: #fff; color: var(--ux-ink); font-size: 14px; }
.uxpilot-catalog-filter .catalog-filter-actions { justify-content: flex-start; margin-top: 12px; }
.uxpilot-catalog-filter .catalog-filter-actions .button { min-height: 44px; padding-inline: 20px; }
.uxpilot-catalog-filter .active-filter-summary { margin-top: 12px; }
.uxpilot-catalog-item-results,
.uxpilot-catalog-list-section { margin-top: 24px; }
.uxpilot-catalog-hub .catalog-list-heading { align-items: baseline; margin: 0 0 12px; }
.uxpilot-catalog-hub .catalog-list-heading h2 { margin: 0; color: var(--ux-ink); font-size: 20px; }
.uxpilot-catalog-hub .catalog-list-heading .eyebrow { margin: 0 0 5px; color: var(--ux-muted); font-size: 12px; letter-spacing: .1em; }
.uxpilot-catalog-hub .catalog-list-heading > span { color: var(--ux-muted); font-size: 13px; }
.uxpilot-catalog-country-groups { gap: 10px; }
.uxpilot-catalog-country-group { border-color: var(--ux-line); border-radius: 12px; background: var(--ux-paper); box-shadow: none; }
.uxpilot-catalog-country-group > summary { min-height: 58px; padding: 10px 16px; gap: 10px; }
.uxpilot-catalog-country-group .catalog-country-flag { font-size: 22px; }
.uxpilot-catalog-country-group .catalog-country-name { color: var(--ux-ink); font-size: 16px; font-weight: 700; }
.uxpilot-catalog-country-group .catalog-country-count { color: var(--ux-muted); font-size: 13px; }
.uxpilot-catalog-country-types { padding: 0 16px 8px; }
.uxpilot-catalog-set-link { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 14px; min-height: 56px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--ux-line); color: var(--ux-ink); text-decoration: none; }
.uxpilot-catalog-set-link:hover { background: #fafbfc; }
.uxpilot-catalog-set-link .catalog-type-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.uxpilot-catalog-set-link .catalog-type-copy strong { color: var(--ux-muted); font-size: 12px; font-weight: 600; }
.uxpilot-catalog-set-link .catalog-type-copy > span { overflow: hidden; color: var(--ux-ink); font-size: 15px; font-weight: 650; text-overflow: ellipsis; }
.uxpilot-catalog-set-link .catalog-type-count { color: var(--ux-muted); font-size: 13px; white-space: nowrap; }
.uxpilot-catalog-set-link .catalog-type-arrow { color: var(--ux-muted); }
/* Keep the carousel and its existing controls/data hooks as a compact secondary feature. */
.uxpilot-catalog-carousel { margin-top: 30px; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-paper); box-shadow: none; }
.uxpilot-catalog-carousel .catalog-carousel-layout { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(150px, .42fr); }
.uxpilot-catalog-carousel .catalog-carousel-copy { padding: 20px 24px; }
.uxpilot-catalog-carousel .catalog-carousel-copy h2 { margin: 5px 0; font-size: 20px; }
.uxpilot-catalog-carousel .catalog-carousel-copy > p { margin: 4px 0 8px; font-size: 14px; }
.uxpilot-catalog-carousel .catalog-carousel-stats { margin: 5px 0 10px; font-size: 12px; }
.uxpilot-catalog-carousel .catalog-carousel-copy .button { min-height: 44px; }
.uxpilot-catalog-carousel .catalog-carousel-media,
.uxpilot-catalog-carousel .catalog-carousel-visual { min-height: 126px; height: 126px; }
.uxpilot-catalog-carousel .catalog-carousel-visual { border-radius: 0 11px 11px 0; background: #f7f8fa; }
.uxpilot-catalog-carousel .catalog-carousel-visual > span[aria-hidden="true"] { color: #aab2bf; font-size: 25px; }
.uxpilot-catalog-carousel .catalog-carousel-photo-pair,
.uxpilot-catalog-carousel .catalog-carousel-visual .catalog-carousel-photo-pair { height: 126px; padding: 10px; }
.uxpilot-catalog-carousel .catalog-carousel-controls { min-height: 48px; padding: 3px 12px; border-top: 1px solid var(--ux-line); }
.uxpilot-catalog-carousel .catalog-carousel-controls button { min-width: 44px; min-height: 44px; }
/* Detail and checklist retain their original fields and data; this layer only refines spacing and surfaces. */
.uxpilot-catalog-detail .catalog-set-hero { margin-top: 4px; border-color: #e3e7ed; }
.uxpilot-catalog-detail .catalog-set-hero h1 { color: #172033; font-size: clamp(28px, 3vw, 38px); }
.uxpilot-catalog-detail .catalog-set-metrics { gap: 16px; color: #657186; }
.uxpilot-catalog-detail .catalog-filter-box,
.uxpilot-catalog-checklist .catalog-filter-box { border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; box-shadow: none; }
.uxpilot-catalog-detail .table-wrap,
.uxpilot-catalog-checklist .table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.uxpilot-catalog-detail table,
.uxpilot-catalog-checklist table { min-width: 760px; }
.uxpilot-catalog-checklist .checklist-overview { border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; box-shadow: none; }
.uxpilot-catalog-checklist .checklist-mode-tabs { gap: 8px; }
.uxpilot-catalog-checklist .checklist-mode-tab { min-height: 44px; border-radius: 8px; }
.uxpilot-catalog-checklist .checklist-series-section h2 { color: #172033; font-size: 18px; }
@media (max-width: 960px) {
  .uxpilot-catalog-filter .catalog-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .uxpilot-catalog-hub .catalog-hub-heading { align-items: flex-start; gap: 8px; margin-bottom: 16px; }
  .uxpilot-catalog-hub .catalog-hub-heading h1 { font-size: 30px; }
  .uxpilot-catalog-hub .catalog-hub-heading .lead { font-size: 14px; }
  .uxpilot-catalog-hub .catalog-hub-count { padding-top: 3px; font-size: 12px; }
  .uxpilot-catalog-hub > .catalog-type-navigation { gap: 6px; margin-bottom: 12px; }
  .uxpilot-catalog-hub > .catalog-type-navigation a { min-width: 74px; min-height: 44px; padding-inline: 11px; font-size: 13px; }
  .uxpilot-catalog-filter { margin-bottom: 20px; padding: 14px; }
  .uxpilot-catalog-filter .catalog-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .uxpilot-catalog-filter .catalog-filter-grid label:first-child { grid-column: 1 / -1; }
  .uxpilot-catalog-filter .catalog-filter-actions { display: flex; align-items: center; gap: 12px; }
  .uxpilot-catalog-filter .catalog-filter-actions .button { flex: 1; }
  .uxpilot-catalog-country-group > summary { min-height: 54px; padding: 9px 12px; gap: 7px; }
  .uxpilot-catalog-country-group .catalog-country-flag { font-size: 19px; }
  .uxpilot-catalog-country-group .catalog-country-name { font-size: 15px; }
  .uxpilot-catalog-country-group .catalog-country-count { font-size: 12px; }
  .uxpilot-catalog-country-types { padding-inline: 12px; }
  .uxpilot-catalog-set-link { grid-template-columns: minmax(0, 1fr) auto 14px; gap: 7px; min-height: 54px; }
  .uxpilot-catalog-set-link .catalog-type-copy > span { font-size: 14px; }
  .uxpilot-catalog-set-link .catalog-type-count { font-size: 12px; }
  .uxpilot-catalog-carousel .catalog-carousel-layout { grid-template-columns: minmax(0, 1fr) 96px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy { padding: 14px; }
  .uxpilot-catalog-carousel .catalog-carousel-media,
  .uxpilot-catalog-carousel .catalog-carousel-visual,
  .uxpilot-catalog-carousel .catalog-carousel-photo-pair,
  .uxpilot-catalog-carousel .catalog-carousel-visual .catalog-carousel-photo-pair { min-height: 110px; height: 110px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy h2 { font-size: 17px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .uxpilot-catalog-detail .catalog-set-hero h1 { font-size: 28px; }
}
@media (max-width: 390px) {
  .uxpilot-catalog-set-link { grid-template-columns: minmax(0, 1fr) 14px; }
  .uxpilot-catalog-set-link .catalog-type-count { display: none; }
  .uxpilot-catalog-hub .catalog-hub-count { display: none; }
}
.uxpilot-catalog-carousel [hidden] { display: none !important; }
@media (max-width: 600px) {
  .uxpilot-catalog-filter input,
  .uxpilot-catalog-filter select,
  .uxpilot-catalog-detail .catalog-filter-box input,
  .uxpilot-catalog-detail .catalog-filter-box select,
  .uxpilot-catalog-checklist .catalog-filter-box input,
  .uxpilot-catalog-checklist .catalog-filter-box select { font-size: 16px; }
  .uxpilot-catalog-country-group .catalog-country-count,
  .uxpilot-catalog-set-link .catalog-type-count { font-size: 12px; }
}
/* Compact feature: the shared stylesheet places media in grid row 1 on mobile.
   Reset that placement here so copy and media cannot auto-place into narrow side columns. */
.uxpilot-catalog-carousel { overflow: hidden; }
.uxpilot-catalog-carousel .catalog-carousel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 16px 20px 64px;
}
.uxpilot-catalog-carousel .catalog-carousel-link { grid-column: 1; grid-row: 1; min-width: 0; }
.uxpilot-catalog-carousel .catalog-carousel-media { grid-column: 2; grid-row: 1; width: 100%; height: 132px; min-height: 132px; align-self: center; }
.uxpilot-catalog-carousel .catalog-carousel-copy { min-width: 0; gap: 7px; }
.uxpilot-catalog-carousel .catalog-carousel-copy h2 { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.uxpilot-catalog-carousel .catalog-carousel-copy > p { max-width: 54ch; margin: 0; line-height: 1.45; }
.uxpilot-catalog-carousel .catalog-carousel-visual { display: grid; width: 100%; height: 132px; min-height: 132px; place-items: center; overflow: hidden; border-radius: 8px; background: #f7f8fa; }
.uxpilot-catalog-carousel .catalog-carousel-photo-pair,
.uxpilot-catalog-carousel .catalog-carousel-visual .catalog-carousel-photo-pair { width: 100%; height: 132px; min-height: 132px; padding: 4px; }
.uxpilot-catalog-carousel .catalog-carousel-visual .catalog-representative-face { min-width: 0; min-height: 0; }
.uxpilot-catalog-carousel .catalog-carousel-visual .catalog-representative-face .catalog-pair-photo { width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: 0; object-fit: contain; }
.uxpilot-catalog-carousel .catalog-carousel-controls { right: 12px; bottom: 8px; gap: 5px; }
.uxpilot-catalog-carousel .catalog-carousel-controls > button { display: grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center; }
.uxpilot-catalog-carousel .catalog-carousel-dots { align-items: center; gap: 2px; padding: 0; }
.uxpilot-catalog-carousel .catalog-carousel-dots button { display: grid; position: relative; width: 44px; height: 44px; min-width: 44px; min-height: 44px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.uxpilot-catalog-carousel .catalog-carousel-dots button::before { width: 8px; height: 8px; border-radius: 999px; background: #a8a8a8; content: ""; }
.uxpilot-catalog-carousel .catalog-carousel-dots button[aria-current="true"]::before { width: 16px; height: 8px; border-radius: 999px; background: #172033; }
@media (max-width: 860px) {
  .uxpilot-catalog-carousel .catalog-carousel-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 16px 66px; }
  .uxpilot-catalog-carousel .catalog-carousel-link { grid-column: 1; grid-row: 1; }
  .uxpilot-catalog-carousel .catalog-carousel-media { grid-column: 1; grid-row: 2; width: 100%; height: 88px; min-height: 88px; }
  .uxpilot-catalog-carousel .catalog-carousel-visual,
  .uxpilot-catalog-carousel .catalog-carousel-photo-pair,
  .uxpilot-catalog-carousel .catalog-carousel-visual .catalog-carousel-photo-pair { height: 88px; min-height: 88px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy h2 { font-size: 20px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
@media (max-width: 600px) {
  .uxpilot-catalog-carousel .catalog-carousel-layout { padding: 12px 13px 66px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy { gap: 6px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy h2 { font-size: 18px; }
  .uxpilot-catalog-carousel .catalog-carousel-stats { display: flex; flex-wrap: wrap; gap: 2px 4px; font-size: 12px; }
  .uxpilot-catalog-carousel .catalog-carousel-copy .button { align-self: flex-start; min-height: 44px; padding-inline: 12px; }
  .uxpilot-catalog-carousel .catalog-carousel-media { height: 78px; min-height: 78px; }
  .uxpilot-catalog-carousel .catalog-carousel-visual,
  .uxpilot-catalog-carousel .catalog-carousel-photo-pair,
  .uxpilot-catalog-carousel .catalog-carousel-visual .catalog-carousel-photo-pair { height: 78px; min-height: 78px; }
  .uxpilot-catalog-carousel .catalog-carousel-controls { right: 6px; bottom: 6px; gap: 2px; }
  .uxpilot-catalog-carousel .catalog-carousel-controls > button,
  .uxpilot-catalog-carousel .catalog-carousel-dots button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}
/* The shared carousel styles give its link a tall padded card on narrow screens.
   Keep the feature content-sized here and remove the nested padding so media and
   copy occupy the layout rows instead of clipping inside a fixed visual. */
.uxpilot-catalog-carousel .catalog-carousel-layout > .catalog-carousel-link {
  min-height: 0;
  height: auto;
  padding: 0;
  align-self: start;
}
.uxpilot-catalog-carousel .catalog-carousel-link .catalog-carousel-copy {
  min-height: 0;
  padding: 0;
}
.uxpilot-catalog-carousel .catalog-carousel-visual .catalog-representative-images.is-single {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.uxpilot-catalog-carousel .catalog-carousel-visual .catalog-representative-images.is-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.uxpilot-catalog-carousel .catalog-carousel-visual img {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
}
.uxpilot-catalog-detail .catalog-advanced-filters { margin: 12px 0; padding-top: 12px; border-top: 1px solid #e3e7ed; }
.uxpilot-catalog-detail .catalog-advanced-filters > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 2px; color: #172033; font-weight: 650; cursor: pointer; }
.uxpilot-catalog-detail .catalog-advanced-filters > summary span { color: #657186; font-size: 12px; font-weight: 400; }
.uxpilot-catalog-detail .catalog-advanced-filters[open] > summary { margin-bottom: 12px; }
.uxpilot-catalog-detail .catalog-item-row.holding-unavailable { background: #fff; }
.uxpilot-catalog-checklist .checklist-list-row.holding-unavailable { background: #fff; }
.uxpilot-catalog-detail .catalog-private-hint,
.uxpilot-catalog-checklist .catalog-private-hint { display: inline-block; color: #657186; font-size: 13px; line-height: 1.45; }
.uxpilot-catalog-checklist .checklist-row-holding { flex-basis: auto; max-width: 112px; }
.uxpilot-catalog-checklist .catalog-private-summary strong { font-size: 14px; }
.uxpilot-catalog-checklist .checklist-advanced > summary { min-height: 44px; }
.uxpilot-catalog-detail .denomination-progress.catalog-private-hint { display: block; grid-template-columns: 1fr; padding: 0 14px 9px; font-size: 13px; }
/* Country entry cards: keyboard-accessible native disclosure, independent expansion. */
.uxpilot-catalog-hub .catalog-country-groups{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:20px;align-items:start;}
.uxpilot-catalog-hub .catalog-country-group{border:1px solid var(--ux-line);border-radius:16px;background:#fff;min-width:0;box-shadow:0 3px 12px #17233206;}
.uxpilot-catalog-hub .catalog-country-group>summary{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;min-height:180px;padding:24px;}
.uxpilot-catalog-hub .catalog-country-group>summary:hover{background:#fffdf1;}
.uxpilot-catalog-hub .catalog-country-flag{width:96px;height:72px;flex-basis:auto;border-radius:7px;border:1px solid #d8dfe7;box-shadow:0 3px 8px #17233210;}
.uxpilot-catalog-hub .catalog-country-flag svg{width:100%;height:100%;display:block;}
.uxpilot-catalog-hub .catalog-country-flag-fallback{font-size:22px;}
.uxpilot-catalog-hub .catalog-country-copy{display:grid;gap:8px;min-width:0;}
.uxpilot-catalog-hub .catalog-country-name{font-size:21px;line-height:1.35;}
.uxpilot-catalog-hub .catalog-country-preview{font-size:13px;line-height:1.6;color:var(--ux-muted);overflow-wrap:anywhere;}
.uxpilot-catalog-hub .catalog-country-count{grid-column:1/-1;font-size:13px;}
.uxpilot-catalog-hub .catalog-country-expand{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;padding-top:12px;border-top:1px solid var(--ux-line);color:var(--ux-ink);}
.uxpilot-catalog-hub .catalog-country-expand-open{display:none;}
.uxpilot-catalog-hub .catalog-country-group[open] .catalog-country-expand-open{display:inline;}
.uxpilot-catalog-hub .catalog-country-group[open] .catalog-country-expand-closed{display:none;}
.uxpilot-catalog-hub .catalog-country-group[open]{border-color:#c7b348;}
.uxpilot-catalog-hub .catalog-country-types{padding:0 18px 18px;}
.uxpilot-catalog-hub .catalog-type-link{min-width:0;grid-template-columns:minmax(0,1fr) auto;flex-wrap:wrap;gap:8px;padding:14px 8px;}
.uxpilot-catalog-hub .catalog-type-copy{min-width:0;overflow-wrap:anywhere;}.uxpilot-catalog-hub .catalog-type-count{font-size:12px;}.uxpilot-catalog-hub .catalog-type-arrow{display:none;}
@media(max-width:600px){.uxpilot-catalog-hub .catalog-country-groups{grid-template-columns:minmax(0,1fr);gap:14px;}.uxpilot-catalog-hub .catalog-country-group>summary{padding:20px;min-height:0;grid-template-columns:80px minmax(0,1fr);}.uxpilot-catalog-hub .catalog-country-flag{width:80px;height:60px;}.uxpilot-catalog-hub .catalog-country-name{font-size:20px;}}
.uxpilot-catalog-hub .catalog-country-count{margin-left:0;}
.uxpilot-catalog-hub .catalog-type-copy{flex:1;}
.uxpilot-catalog-hub .catalog-type-copy>span{white-space:normal;overflow:visible;text-overflow:clip;}
