:root {
  --muz-zoom: 1;
  --page-bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f8;
  --ink: #11162f;
  --muted: #657087;
  --line: #e2e7f1;
  --pink: #ff377d;
  --orange: #ff8a32;
  --blue: #3468f6;
  --violet: #7658ee;
  --green: #11a87a;
  --shadow: 0 22px 58px rgba(28, 38, 80, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -4%, rgba(255, 55, 125, 0.12), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(52, 104, 246, 0.13), transparent 28%),
    var(--page-bg);
  color: var(--ink);
  font-family: Inter, Manrope, Arial, sans-serif;
  line-height: 1.45;
}

body,
main {
  width: calc(100vw / var(--muz-zoom, 1));
  max-width: calc(100vw / var(--muz-zoom, 1));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.catalog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 0 clamp(44px, 4.2vw, 84px);
  border-bottom: 1px solid rgba(226, 231, 241, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
}

.brand,
.catalog-nav,
.catalog-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: 32px;
  height: 32px;
}

.brand-mark i {
  display: block;
  width: 4px;
  background: linear-gradient(180deg, var(--pink), var(--orange));
  border-radius: 999px;
}

.brand-mark i:nth-child(1) { height: 16px; }
.brand-mark i:nth-child(2) { height: 28px; }
.brand-mark i:nth-child(3) { height: 22px; }
.brand-mark i:nth-child(4) { height: 13px; }

.catalog-nav {
  justify-content: center;
  gap: 8px;
}

.catalog-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #4d5870;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-nav a.is-active,
.catalog-nav a:hover {
  color: var(--ink);
  background: #eef2f8;
}

.catalog-actions {
  gap: 10px;
}

.ghost-button,
.solid-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
}

.solid-button {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 16px 28px rgba(255, 82, 95, 0.2);
}

.outline-button {
  border: 1px solid #cfd7e6;
  background: transparent;
}

.catalog-page {
  padding: 34px clamp(44px, 4.2vw, 84px) 54px;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-panel,
.spotlight-panel,
.filter-panel,
.listing-card,
.insight-card,
.directory-band {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 36px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 55, 125, 0.18), rgba(52, 104, 246, 0.14));
}

.crumbs,
.page-eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.page-eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-panel h1 {
  max-width: 850px;
  margin: 0 0 16px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-panel h1 span,
.accent-text {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 780px;
  margin: 0 0 28px;
  color: #526078;
  font-size: 19px;
}

.hero-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-stats-lite {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.hero-stats-lite div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
}

.hero-stats-lite strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.hero-stats-lite small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.spotlight-panel {
  overflow: hidden;
}

.spotlight-image {
  position: relative;
  min-height: 178px;
  background: var(--surface-soft) center / cover no-repeat;
}

.spotlight-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 22, 47, 0.52));
}

.spotlight-content {
  padding: 24px;
}

.spotlight-content h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.spotlight-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #3f4a61;
  font-size: 13px;
}

.mini-list strong {
  color: var(--ink);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 94px;
  padding: 22px;
}

.filter-panel h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.filter-group {
  margin-bottom: 22px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  color: #3d465a;
  font-size: 13px;
  font-weight: 850;
}

.filter-group input,
.filter-group select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4f5a70;
  font-size: 12px;
  font-weight: 800;
}

.chip.is-hot {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.content-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.content-head h2 {
  margin: 0;
  font-size: 28px;
}

.content-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.sort-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.listing-card {
  display: grid;
  grid-template-rows: 168px 1fr;
  overflow: hidden;
  min-height: 420px;
}

.listing-media {
  position: relative;
  background: #dfe5f0 center / cover no-repeat;
}

.listing-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 22, 47, 0.76);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.listing-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 18px;
}

.listing-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.listing-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
  line-height: 1.18;
}

.listing-card p {
  margin: 0 0 14px;
  color: #5d687e;
  font-size: 14px;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: start;
  margin-bottom: 16px;
}

.listing-meta span {
  padding: 6px 9px;
  border-radius: 9px;
  background: #f0f3f8;
  color: #4d5870;
  font-size: 12px;
  font-weight: 760;
}

.listing-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  font-size: 20px;
  font-weight: 900;
}

.card-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.directory-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff, #f1f5fb);
}

.insight-card {
  padding: 18px;
  box-shadow: none;
}

.insight-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.insight-card span {
  color: var(--muted);
  font-size: 13px;
}

.catalog-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: 34px clamp(44px, 4.2vw, 84px) 44px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.catalog-footer .brand {
  margin-bottom: 16px;
}

.catalog-footer h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.catalog-footer p,
.catalog-footer small,
.catalog-footer a {
  color: var(--muted);
  font-size: 13px;
}

.catalog-footer a {
  display: block;
  margin-bottom: 9px;
}

@media (max-width: 1320px) {
  .catalog-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .catalog-header {
    grid-template-columns: 1fr auto;
  }

  .catalog-nav {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 12px;
  }

  .catalog-hero,
  .catalog-layout,
  .directory-band {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  body,
  main {
    width: 100%;
    max-width: 100vw;
  }

  .catalog-header,
  .catalog-page,
  .catalog-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .catalog-actions {
    display: none;
  }

  .hero-panel {
    padding: 26px;
  }

  .hero-panel h1 {
    font-size: 38px;
  }

  .hero-stats-lite,
  .listing-grid,
  .catalog-footer {
    grid-template-columns: 1fr;
  }
}
