/* Scoped additions for the imported official product catalogue.
   The rest of the page (header, footer, type, buttons, CTA, cards) uses the
   existing styles.css / inner.css system. */

.catalog-official [hidden] { display: none !important; }

.catalog-official .catalog-summary {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}
.catalog-official .catalog-summary strong { font-weight: 800; }
.catalog-official .catalog-summary span { color: var(--muted); }

.catalog-official .page-kicker a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog-official .page-kicker a:hover { color: var(--orange-deep); }

.catalog-official .catalog-search {
  grid-template-columns: minmax(0, 1fr) 190px 230px auto auto;
}
.catalog-official .catalog-search--compact {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.catalog-official .catalog-search .btn { min-height: 46px; }
.catalog-official .catalog-search .field { min-width: 0; }

.catalog-official .cat-chips {
  max-width: 100%;
  margin: 18px 0 12px;
}
.catalog-official .cat-chip {
  min-height: 44px;
  padding: 10px 16px;
}
.catalog-official .catalog-kicker { overflow-wrap: anywhere; }

.catalog-official .catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  margin-top: 8px;
}
.catalog-official .catalog-lang {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
}
.catalog-official .catalog-lang.is-en {
  background: rgba(58, 126, 78, .12);
  color: #2f6b43;
}
.catalog-official .catalog-lang.is-zh {
  background: rgba(232, 122, 45, .14);
  color: #8a4a12;
}
.catalog-official .catalog-src {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.catalog-official .catalog-title { overflow-wrap: anywhere; }
.catalog-official .catalog-media img {
  object-fit: contain;
  background: #fff;
}
.catalog-official .catalog-card[hidden] { display: none !important; }

.catalog-official .cat-count-line {
  display: block;
  margin-top: 4px;
  color: var(--orange-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.catalog-official .catalog-empty {
  margin: 18px 0 0;
  padding: 28px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

/* Product detail gallery */
.catalog-official .product-gallery { min-width: 0; }
.catalog-official .product-hero-media {
  margin: 0;
  background: #fff;
}
.catalog-official .product-hero-media img {
  object-fit: contain;
  background: #fff;
}
.catalog-official .product-thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin-top: 12px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.catalog-official .product-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  appearance: none;
}
.catalog-official .product-thumb:hover { border-color: var(--orange); }
.catalog-official .product-thumb.is-active {
  border-color: var(--orange-deep);
  box-shadow: 0 0 0 2px rgba(232, 122, 45, .18);
}
.catalog-official .product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog-official .gallery-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.catalog-official .spec-row dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.catalog-official .spec-row dd a { color: var(--navy); }

.catalog-official .product-description p {
  color: rgba(28, 74, 99, .86);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

/* Source and official-site cards */
.catalog-official .source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}
.catalog-official .source-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.catalog-official .source-label {
  margin: 0 0 8px;
  color: rgba(28, 74, 99, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalog-official .source-link {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.catalog-official .source-link:hover { color: var(--orange-deep); }
.catalog-official .source-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.catalog-official .product-info-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.catalog-official .maker-feature-logo.is-initials {
  background: var(--cream-2);
}
.catalog-official .maker-initials {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 104px;
  color: var(--navy);
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: 42px;
  letter-spacing: .03em;
  line-height: 1;
}

.catalog-official .product-card { min-width: 0; }
.catalog-official .product-card img {
  object-fit: contain;
  background: #fff;
}
.catalog-official .product-card h3 { overflow-wrap: anywhere; }

/* Keep the one-line hero buttons tidy on narrow screens */
.catalog-official .product-hero-info .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1100px) {
  .catalog-official .catalog-search { grid-template-columns: 1fr 1fr; }
  .catalog-official .catalog-search .field:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .catalog-official .source-grid { grid-template-columns: 1fr; }
  .catalog-official .catalog-search,
  .catalog-official .catalog-search--compact { grid-template-columns: 1fr; }
  .catalog-official .catalog-search .field:first-child { grid-column: auto; }
}

@media (max-width: 700px) {
  .catalog-official .cat-chips {
    flex-wrap: nowrap;
    max-width: 100%;
    padding-bottom: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .catalog-official .cat-chips::-webkit-scrollbar { display: none; }
  .catalog-official .cat-chip { flex: 0 0 auto; }
}

@media (max-width: 600px) {
  /* inner.css collapses .exhibitor-search behind a filter toggle on mobile;
     the catalogue pages always show the search form instead. */
  .catalog-official .exhibitor-search { display: grid; }
}

@media (max-width: 560px) {
  .catalog-official .catalog-summary { font-size: 14px; }
  .catalog-official .source-card { padding: 18px; }
  .catalog-official .product-thumb { flex-basis: 72px; width: 72px; height: 72px; }
  .catalog-official .spec-row { gap: 12px; }
  .catalog-official .spec-row dd { max-width: 62%; }
}

.catalog-official .maker-all-link { margin: 10px 0 0; }
.catalog-official .maker-all-link .maker-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
