.alx-catalog-page {
  padding: clamp(1.2rem, 2.6vw, 2.4rem) 0 clamp(4.5rem, 7vw, 7rem);
}
.alx-catalog-shell { display: grid; gap: 0; }
.alx-catalog-hero {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid #314038;
  border-radius: 6px;
  color: #f8f7f1;
  background:
    linear-gradient(90deg, rgba(216,93,42,.08), transparent 28%),
    linear-gradient(125deg, #1c2420 0%, #25332d 72%, #2f3c35 100%);
  padding: clamp(2.2rem, 5vw, 4.8rem);
  box-shadow: 0 24px 64px rgba(27,35,30,.14);
}
.alx-catalog-hero::before {
  content: 'AUTOLEX / JÁRMŰKATALÓGUS';
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  pointer-events: none;
}
.alx-catalog-hero > div,
.alx-catalog-hero > .alx-button { position: relative; z-index: 1; }
.alx-catalog-hero > div { max-width: 56rem; }
.alx-catalog-hero .alx-eyebrow { color: #f09c74; }
.alx-catalog-hero h1 {
  max-width: 12ch;
  margin: .45rem 0 1rem;
  color: #fffaf3;
  font-family: "Arial Narrow", "Aptos Narrow", Inter, sans-serif;
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.alx-catalog-hero p:last-child {
  max-width: 68ch;
  margin-bottom: 0;
  color: #c3ccc4;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}
.alx-catalog-hero > .alx-button {
  min-height: 50px;
  flex: 0 0 auto;
  border-color: rgba(255,255,255,.3);
  border-radius: 2px;
  color: #fffaf3;
  background: transparent;
  padding-inline: 1.25rem;
  box-shadow: none;
}
.alx-catalog-hero > .alx-button:hover { border-color: #f47a42; background: #d85d2a; }

/* Catalogue body behaves like an index/workbench, not a floating app card. */
.alx-catalog-workspace {
  overflow: visible;
  margin-top: 42px;
  border: 0;
  border-top: 2px solid #252a25;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.alx-catalog-status {
  position: relative;
  margin: 0;
  padding: 1rem 1rem 1rem 2.6rem;
  border-bottom: 1px solid var(--alx-line);
  background: transparent;
  color: #566159;
  font-size: .94rem;
}
.alx-catalog-status::before {
  content: 'i';
  position: absolute;
  top: 50%;
  left: .4rem;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 2px;
  color: #fff;
  background: var(--alx-petrol);
  font-size: .72rem;
  font-weight: 900;
  transform: translateY(-50%);
}
.alx-catalog-plugin-output { min-width: 0; padding: 26px 0 0; }
.alx-catalog-plugin-output :where(form, .filters, .filter-bar, .catalog-filters) {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  border: 0;
  border-top: 1px solid #c9c7bf;
  border-bottom: 1px solid #c9c7bf;
  border-radius: 0;
  background: #edeae3;
  padding: 1.1rem 1rem;
}
.alx-catalog-plugin-output :where(input, select, button) { min-height: 50px; }
.alx-catalog-plugin-output :where(input, select) {
  border-color: #c8c4ba;
  border-radius: 2px;
  background: #fff;
}
.alx-catalog-plugin-output :where(button) { border-radius: 2px; }
.alx-catalog-plugin-output :where(.grid, .cards, .vehicle-grid, .catalog-grid) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 22px;
}
.alx-catalog-plugin-output :where(article, .card, .vehicle-card, .catalog-card) {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid #aaa89f;
  border-bottom: 1px solid #d9d4cb;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-bottom: 18px;
}
.alx-catalog-plugin-output img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}
.alx-catalog-empty,
.alx-catalog-error {
  position: relative;
  max-width: 52rem;
  min-height: 260px;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 0;
  border-left: 4px solid var(--alx-petrol);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.alx-catalog-error { border-left-color: var(--alx-safety); }
.alx-catalog-empty h2,
.alx-catalog-error h2 {
  max-width: 18ch;
  margin: 0;
  font-family: "Arial Narrow", "Aptos Narrow", Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.alx-catalog-empty p,
.alx-catalog-error p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--alx-text-muted);
  font-size: 1.03rem;
  line-height: 1.65;
}
.alx-catalog-empty .alx-button,
.alx-catalog-error .alx-button { min-height: 48px; margin-top: 1rem; border-radius: 2px; }

@media (max-width: 960px) {
  .alx-catalog-hero { min-height: 270px; }
  .alx-catalog-plugin-output :where(.grid, .cards, .vehicle-grid, .catalog-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .alx-catalog-page { padding-top: .7rem; }
  .alx-catalog-hero { min-height: 0; align-items: stretch; flex-direction: column; border-radius: 3px; padding: 1.6rem; }
  .alx-catalog-hero::before { display: none; }
  .alx-catalog-hero h1 { max-width: none; font-size: clamp(2.5rem, 11vw, 3.35rem); }
  .alx-catalog-hero > .alx-button { width: 100%; justify-content: center; }
  .alx-catalog-workspace { margin-top: 32px; }
  .alx-catalog-status { padding: .9rem .2rem .9rem 2.3rem; line-height: 1.5; }
  .alx-catalog-status::before { left: 0; }
  .alx-catalog-plugin-output { padding-top: 20px; }
  .alx-catalog-plugin-output :where(form, .filters, .filter-bar, .catalog-filters) { padding-inline: .7rem; }
  .alx-catalog-plugin-output :where(.grid, .cards, .vehicle-grid, .catalog-grid) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .alx-catalog-empty,
  .alx-catalog-error { min-height: 0; margin: 1rem 0; padding: 1.5rem 1rem; }
}
