.catalog-home {
  margin: 0;
  color: var(--marketplace-text);
  background: var(--marketplace-canvas);
}

.catalog-home *,
.catalog-home *::before,
.catalog-home *::after {
  box-sizing: border-box;
}

.catalog-home [hidden] {
  display: none !important;
}

.catalog-home .marketplace-public-header {
  position: relative;
}

.catalog-home .marketplace-header-tools {
  position: relative;
  flex: 0 0 auto;
}

.catalog-home .marketplace-header-tool {
  position: relative;
}

.catalog-home .marketplace-header-tool img {
  display: block;
  width: 20px;
  height: 20px;
}

.catalog-home .marketplace-header-tool b {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid var(--marketplace-paper);
  border-radius: 50%;
  color: #fff;
  background: #d8584e;
  font-size: 9px;
  line-height: 1;
}

.catalog-login {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--marketplace-line-strong);
  border-radius: 10px;
  padding: 8px 13px;
  color: var(--marketplace-accent-deep);
  background: var(--marketplace-paper);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-login:hover {
  border-color: var(--marketplace-accent);
  background: var(--marketplace-soft);
}

.catalog-home .marketplace-hero-stack {
  padding-bottom: 78px;
}

.catalog-home {
  --marketplace-shelf-card-width: 225px;
  --marketplace-shelf-gap: 12px;
}

.wb-preserved-hero-stack {
  padding-bottom: 76px;
}

.wb-preserved-hero {
  min-height: 470px;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr);
  gap: 34px;
  padding: 50px 54px 104px;
  background: #e3efe9;
}

.wb-preserved-hero-copy {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  align-self: center;
  transform: translateY(10px);
}

.wb-preserved-hero-copy h1 {
  max-width: 670px;
  margin: 8px 0 0;
  color: var(--marketplace-ink);
  font-size: 54px;
  font-weight: 650;
  line-height: 1.03;
  white-space: pre-line;
}

.wb-preserved-hero-copy > p:not(.wb-catalog-kicker) {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--marketplace-text);
  font-size: 17px;
  line-height: 1.55;
}

.wb-preserved-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 22px;
}

.wb-preserved-hero-actions .wb-catalog-personal-link {
  margin-top: 0;
}

.wb-preserved-hero-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--marketplace-accent-deep);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.wb-preserved-hero-secondary::after {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  background: url("/assets/icons/arrow-right.svg") center / contain no-repeat;
  content: "";
}

.wb-preserved-hero-people {
  position: relative;
  width: 100%;
  min-height: 330px;
  align-self: center;
}

.wb-preserved-person {
  position: absolute;
  z-index: 2;
  display: block;
  overflow: hidden;
  background: #bdd6ca;
  box-shadow: 0 14px 34px rgba(18, 54, 46, 0.12);
}

.wb-preserved-person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.wb-preserved-person.is-main {
  top: 0;
  right: 0;
  width: min(340px, 66%);
  height: 350px;
  border-radius: 47% 53% 46% 54% / 42% 46% 54% 58%;
}

.wb-preserved-person.is-main img {
  object-position: 56% 20%;
}

.wb-preserved-person.is-top {
  top: 20px;
  left: 0;
  width: 124px;
  height: 124px;
  border-radius: 48% 52% 45% 55% / 50% 44% 56% 50%;
}

.wb-preserved-person.is-bottom {
  bottom: 2px;
  left: 8px;
  width: 118px;
  height: 140px;
  border-radius: 48% 52% 45% 55% / 50% 44% 56% 50%;
}

.wb-preserved-hero-people::before {
  position: absolute;
  inset: 10px 4px -12px 54px;
  border: 1px dashed rgba(30, 85, 75, 0.52);
  border-radius: 50%;
  content: "";
}

.catalog-hero {
  min-height: 350px;
  align-items: center;
  background: #dcece2;
}

.wb-catalog-hero {
  min-height: 350px;
  align-items: center;
  background: #dcece2;
}

.wb-catalog-hero .marketplace-hero-scrim {
  background: rgba(247, 250, 248, 0.08);
}

.wb-catalog-hero-media {
  position: absolute;
  top: 16px;
  right: 42px;
  bottom: 46px;
  width: min(590px, 46%);
  z-index: -1;
}

.wb-catalog-hero-person {
  position: absolute;
  bottom: 0;
  display: block;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  object-fit: cover;
  background: #b9d4c8;
  box-shadow: 0 12px 30px rgba(18, 54, 46, 0.14);
}

.wb-catalog-hero-person.is-left {
  left: 0;
  width: 31%;
  height: 72%;
  transform: rotate(-2deg);
  object-position: 50% 18%;
}

.wb-catalog-hero-person.is-center {
  left: 29%;
  z-index: 2;
  width: 38%;
  height: 92%;
  object-position: 58% 20%;
}

.wb-catalog-hero-person.is-right {
  right: 0;
  width: 31%;
  height: 76%;
  transform: rotate(2deg);
  object-position: 50% 18%;
}

.wb-catalog-hero .marketplace-hero-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 51%);
}

.wb-catalog-kicker,
.wb-shelf-kicker {
  margin: 0 0 7px !important;
  color: var(--marketplace-accent-deep) !important;
  font-size: 12px !important;
  font-weight: 780;
  line-height: 1.2 !important;
}

.wb-catalog-hero .marketplace-hero-copy h1 {
  font-size: 42px;
}

.wb-catalog-personal-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 19px;
  border: 1px solid var(--marketplace-accent);
  border-radius: 11px;
  padding: 9px 15px;
  color: #fff;
  background: var(--marketplace-accent);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.wb-catalog-personal-link:hover {
  border-color: var(--marketplace-accent-deep);
  background: var(--marketplace-accent-deep);
}

.catalog-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/matching-paths.webp") left 36% / 46% auto no-repeat;
  opacity: 0.2;
  content: "";
}

.catalog-hero-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 51%);
}

.catalog-eyebrow {
  margin: 0 0 10px !important;
  color: var(--marketplace-accent-deep) !important;
  font-size: 13px !important;
  font-weight: 780;
  line-height: 1.2 !important;
}

.catalog-hero-copy h1 {
  max-width: 610px;
  font-size: 42px;
  line-height: 1.04;
}

.catalog-hero-copy > p:not(.catalog-eyebrow) {
  max-width: 510px;
  margin-top: 14px;
  font-size: 16px;
}

.catalog-hero-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 19px;
  border: 1px solid var(--marketplace-accent);
  border-radius: 11px;
  padding: 9px 15px;
  color: #fff;
  background: var(--marketplace-accent);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.catalog-hero-link:hover {
  border-color: var(--marketplace-accent-deep);
  background: var(--marketplace-accent-deep);
}

.catalog-hero-portraits {
  position: absolute;
  top: 17px;
  right: 40px;
  bottom: 44px;
  width: min(590px, 46%);
  z-index: 1;
}

.catalog-hero-portrait {
  position: absolute;
  bottom: 0;
  overflow: hidden;
  margin: 0;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: #b9d4c8;
  box-shadow: 0 12px 30px rgba(18, 54, 46, 0.14);
}

.catalog-hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-hero-portrait.is-left {
  left: 0;
  width: 31%;
  height: 72%;
  transform: rotate(-2deg);
}

.catalog-hero-portrait.is-main {
  left: 29%;
  z-index: 2;
  width: 38%;
  height: 92%;
}

.catalog-hero-portrait.is-right {
  right: 0;
  width: 31%;
  height: 76%;
  transform: rotate(2deg);
}

.catalog-hero-portrait.is-left img {
  object-position: 58% 20%;
}

.catalog-hero-portrait.is-main img {
  object-position: 50% 23%;
}

.catalog-hero-portrait.is-right img {
  object-position: 50% 18%;
}

.catalog-search-panel {
  right: auto;
  left: 50%;
  width: min(1280px, calc(100% - 56px));
  transform: translateX(-50%);
}

.catalog-search-panel .marketplace-search-tabs a[aria-current="page"] {
  position: relative;
}

.catalog-search-panel .marketplace-search-tabs a[aria-current="page"]::after {
  position: absolute;
  right: 11px;
  bottom: 1px;
  left: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--marketplace-accent);
  content: "";
}

.catalog-search-panel .marketplace-search-submit {
  min-width: 132px;
}

.catalog-index {
  width: min(var(--marketplace-wide), calc(100% - 48px));
  margin: 56px auto 0;
}

.catalog-index-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.catalog-index-heading p {
  margin: 0 0 6px;
  color: var(--marketplace-accent-deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-index-heading h2 {
  margin: 0;
  color: var(--marketplace-ink);
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: 0;
}

.catalog-index-heading > a {
  flex: 0 0 auto;
  color: var(--marketplace-accent-deep);
  font-size: 14px;
  font-weight: 760;
}

.catalog-index-list {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-padding-inline: 2px;
  scrollbar-width: thin;
}

.catalog-index-list a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--marketplace-line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-index-list a:hover,
.catalog-index-list a:focus-visible {
  border-color: var(--marketplace-accent);
  color: var(--marketplace-accent-deep);
  background: var(--marketplace-soft);
}

.catalog-shelf {
  margin-top: 30px;
}

.catalog-shelf.is-first {
  margin-top: 30px;
}

.wb-home-theme-shelf {
  margin-top: 30px;
}

.wb-home-theme-shelf + .wb-home-theme-shelf {
  margin-top: 30px;
}

.catalog-shelf-heading {
  min-height: 47px;
  align-items: end;
}

.catalog-shelf-heading h2 {
  font-size: 28px;
  line-height: 1.15;
}

.catalog-shelf-heading > div:first-child {
  min-width: 0;
}

.catalog-shelf-heading p {
  margin: 5px 0 0;
  color: var(--marketplace-muted);
  font-size: 13px;
  line-height: 1.35;
}

.catalog-shelf-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.catalog-shelf-actions > a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 9px;
  text-decoration: none;
}

.catalog-shelf-actions button {
  display: grid;
  width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--marketplace-line);
  border-radius: 50%;
  padding: 0;
  color: var(--marketplace-ink);
  background: var(--marketplace-paper);
}

.catalog-shelf-actions button:hover {
  border-color: var(--marketplace-accent);
  background: var(--marketplace-soft);
}

.catalog-shelf-actions [data-shelf-prev] img {
  transform: rotate(180deg);
}

.catalog-home .marketplace-product-shelf {
  min-height: 352px;
  grid-auto-columns: var(--marketplace-shelf-card-width);
  overscroll-behavior-inline: contain;
}

.catalog-home .marketplace-product-shelf:focus-visible {
  border-radius: 8px;
  outline-offset: 4px;
}

.catalog-home .marketplace-product-card {
  height: 340px;
  border-color: transparent;
  background: transparent;
}

.catalog-home .marketplace-product-card:hover {
  border-color: transparent;
  background: transparent;
}

.catalog-home .marketplace-product-card-link {
  height: 100%;
}

.catalog-home .marketplace-product-card-media {
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

.catalog-home .marketplace-product-card-media img {
  transition: transform 180ms ease;
}

.catalog-home .marketplace-product-card:hover .marketplace-product-card-media img {
  transform: scale(1.015);
}

.catalog-home .marketplace-product-card-body {
  min-height: 102px;
  align-content: start;
  gap: 2px;
  padding: 7px 4px 0;
}

.catalog-home .marketplace-product-card-name {
  font-size: 14px;
}

.catalog-home .marketplace-product-card-method {
  min-height: 16px;
  max-height: 16px;
  display: block;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-home .marketplace-product-card-offer {
  font-size: 12px;
}

.catalog-home .marketplace-product-card-rating {
  display: flex;
  gap: 5px;
}

.catalog-home .marketplace-product-card-proof {
  display: flex;
  min-width: 0;
  gap: 5px;
  overflow: hidden;
  color: var(--marketplace-accent-deep);
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.catalog-home .marketplace-product-card-proof span + span::before {
  margin-right: 5px;
  color: var(--marketplace-muted);
  content: "·";
}

.catalog-home .marketplace-product-card.is-wb-compact .marketplace-product-card-proof {
  margin: 3px 0 0;
}

.catalog-home .marketplace-product-card.is-wb-compact .marketplace-product-card-rating::before {
  color: var(--marketplace-warning);
  content: "☆";
  font-size: 13px;
  line-height: 1;
}

.catalog-home .marketplace-card-tools {
  top: 8px;
  right: 8px;
}

.catalog-home .marketplace-card-tool img {
  width: 17px;
  height: 17px;
}

.catalog-home .marketplace-card-tool[aria-pressed="true"] img {
  filter: brightness(0) invert(1);
}

.catalog-skeleton-card {
  height: 340px;
  border-radius: 20px;
}

.catalog-shelf-more {
  display: grid;
  height: 340px;
  align-content: center;
  justify-items: start;
  gap: 8px;
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  padding: 22px;
  color: var(--marketplace-ink);
  background: #e7f1f4;
  text-decoration: none;
}

.catalog-shelf-more strong {
  max-width: 160px;
  font-size: 20px;
  line-height: 1.18;
}

.catalog-shelf-more span {
  color: var(--marketplace-info);
  font-size: 13px;
  font-weight: 730;
}

.catalog-shelf-more.is-wb-card-pilot {
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: start;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border-color: transparent;
  border-radius: 18px;
  padding: 20px;
  background: var(--marketplace-paper);
  text-align: center;
  box-shadow: none;
}

.catalog-shelf-more.is-wb-card-pilot strong {
  max-width: none;
  font-size: 19px;
  font-weight: 650;
}

.catalog-shelf-more.is-wb-card-pilot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--marketplace-ink);
  font-size: 13px;
  font-weight: 560;
}

.catalog-shelf-more.is-wb-card-pilot span::after {
  font-size: 18px;
  line-height: 1;
  content: "›";
}

.catalog-shelf-more.is-wb-card-pilot:hover,
.catalog-shelf-more.is-wb-card-pilot:focus-visible {
  border-color: var(--marketplace-line-strong);
  box-shadow: 0 10px 24px rgba(18, 54, 46, 0.08);
}

.catalog-home .marketplace-error,
.catalog-home .marketplace-empty {
  min-height: 220px;
}

.catalog-home .marketplace-error a,
.catalog-home .marketplace-empty a {
  color: var(--marketplace-accent-deep);
  font-weight: 750;
}

.catalog-match-band {
  margin-top: 56px;
  color: #fff;
  background: #173f38;
}

.catalog-match-inner {
  display: grid;
  width: min(var(--marketplace-wide), calc(100% - 48px));
  min-height: 198px;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.8fr) auto;
  align-items: center;
  gap: 32px;
  margin-inline: auto;
  padding-block: 34px;
}

.catalog-match-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-match-inner > div > p {
  margin-bottom: 7px;
  color: #c9d777;
  font-size: 12px;
  font-weight: 780;
}

.catalog-match-inner h2 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.16;
}

.catalog-match-inner > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  color: #173f38;
  background: #f5c76a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-match-inner > a:hover {
  background: #ffd989;
}

.catalog-trust {
  display: grid;
  width: min(var(--marketplace-wide), calc(100% - 48px));
  grid-template-columns: 0.8fr 2fr;
  gap: 48px;
  margin: 54px auto 0;
}

.catalog-trust-heading > p {
  margin: 0 0 7px;
  color: var(--marketplace-accent-deep);
  font-size: 12px;
  font-weight: 780;
}

.catalog-trust-heading h2 {
  margin: 0;
  color: var(--marketplace-ink);
  font-size: 26px;
  line-height: 1.18;
}

.catalog-trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.catalog-trust-list > div {
  min-width: 0;
  padding: 4px 24px;
  border-left: 1px solid var(--marketplace-line);
}

.catalog-trust-list dt {
  color: var(--marketplace-ink);
  font-size: 15px;
  font-weight: 780;
}

.catalog-trust-list dd {
  margin: 7px 0 0;
  color: var(--marketplace-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wb-home-personal {
  display: grid;
  width: 100%;
  min-height: 190px;
  grid-template-columns: minmax(320px, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-top: 56px;
  padding: 34px max(24px, calc((100% - var(--marketplace-wide)) / 2));
  color: #fff;
  background: #173f38;
}

.wb-home-personal h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.16;
}

.wb-home-personal > div > p:not(.wb-shelf-kicker) {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.wb-home-personal .wb-shelf-kicker {
  color: #c9d777 !important;
}

.wb-home-personal .button.primary {
  min-height: 48px;
  border-color: #f5c76a;
  color: #173f38;
  background: #f5c76a;
  white-space: nowrap;
}

.wb-home-personal .button.primary:hover {
  border-color: #ffd989;
  color: #173f38;
  background: #ffd989;
}

.wb-home-footer {
  align-items: flex-start;
}

body.catalog-home main {
  padding-bottom: 0;
}

.catalog-home .marketplace-public-footer {
  margin-top: 0;
}

.wb-home-footer > div p {
  margin: 9px 0 0;
  font-size: 13px;
}

.wb-home-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 18px;
}

.wb-home-footer nav a,
.wb-home-footer nav button {
  border: 0;
  padding: 8px 0;
  color: var(--marketplace-text);
  background: transparent;
  font-size: 13px;
}

.catalog-footer {
  margin-top: 60px;
  border-top: 1px solid var(--marketplace-line);
  background: #eef4f1;
}

.catalog-footer-inner {
  display: grid;
  width: min(var(--marketplace-wide), calc(100% - 48px));
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-inline: auto;
  padding: 40px 0 30px;
}

.catalog-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--marketplace-ink);
  font-size: 18px;
  font-weight: 790;
  text-decoration: none;
}

.catalog-footer .brand::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: url("/assets/brand-mark.svg?v=20260829-logo-v1-restore-01") center / contain no-repeat;
  box-shadow: none;
  content: "";
}

.catalog-footer-brand p {
  max-width: 300px;
  margin: 13px 0 0;
  color: var(--marketplace-muted);
  font-size: 13px;
  line-height: 1.5;
}

.catalog-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.catalog-footer nav strong {
  margin-bottom: 3px;
  color: var(--marketplace-ink);
  font-size: 13px;
}

.catalog-footer nav a,
.catalog-footer nav button {
  width: fit-content;
  min-height: 28px;
  border: 0;
  padding: 3px 0;
  color: var(--marketplace-text);
  background: transparent;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
}

.catalog-footer nav a:hover,
.catalog-footer nav button:hover {
  color: var(--marketplace-accent-deep);
}

.catalog-footer-legal {
  display: flex;
  width: min(var(--marketplace-wide), calc(100% - 48px));
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding: 18px 0 30px;
  border-top: 1px solid var(--marketplace-line);
}

.catalog-footer-legal p {
  margin: 0;
  color: var(--marketplace-muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .wb-preserved-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
    padding-inline: 42px;
  }

  .wb-preserved-hero-copy h1 {
    font-size: 46px;
  }

  .wb-preserved-person.is-main {
    width: min(310px, 68%);
    height: 324px;
  }

  .catalog-hero-copy {
    width: 55%;
  }

  .catalog-hero-copy h1 {
    font-size: 37px;
  }

  .catalog-hero-portraits {
    right: 22px;
    width: 44%;
  }

  .catalog-match-inner {
    grid-template-columns: 1fr 0.8fr;
  }

  .catalog-match-inner > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .catalog-index {
    width: calc(100% - 24px);
    margin-top: 32px;
  }

  .catalog-home .marketplace-header-tools {
    gap: 2px;
  }

  .catalog-home .marketplace-hero-stack {
    padding-bottom: 188px;
  }

  .wb-preserved-hero {
    min-height: 380px;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 16px;
    align-items: center;
    padding: 32px 26px 112px;
  }

  .wb-preserved-hero-copy {
    transform: none;
  }

  .wb-preserved-hero-copy h1 {
    font-size: 36px;
  }

  .wb-preserved-hero-copy > p:not(.wb-catalog-kicker) {
    font-size: 14px;
  }

  .wb-preserved-hero-actions {
    gap: 8px 14px;
    margin-top: 16px;
  }

  .wb-preserved-hero-people {
    min-height: 226px;
  }

  .wb-preserved-person.is-main {
    width: 150px;
    height: 218px;
  }

  .wb-preserved-person.is-top {
    top: 4px;
    left: -34px;
    width: 66px;
    height: 66px;
  }

  .wb-preserved-person.is-bottom {
    bottom: 3px;
    left: -30px;
    width: 62px;
    height: 74px;
  }

  .wb-preserved-hero-people::before {
    inset: 4px -4px -4px -16px;
  }

  .catalog-hero {
    min-height: 300px;
    align-items: start;
  }

  .wb-catalog-hero {
    min-height: 300px;
    align-items: start;
  }

  .wb-catalog-hero .marketplace-hero-copy {
    width: 72%;
  }

  .wb-catalog-hero .marketplace-hero-copy h1 {
    font-size: 31px;
  }

  .wb-catalog-hero-media {
    top: 74px;
    right: 12px;
    bottom: 52px;
    width: 31%;
  }

  .wb-catalog-hero-person.is-left,
  .wb-catalog-hero-person.is-right {
    display: none;
  }

  .wb-catalog-hero-person.is-center {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .catalog-hero::before {
    background-size: 90% auto;
  }

  .catalog-hero-copy {
    width: 72%;
  }

  .catalog-hero-copy h1 {
    font-size: 31px;
  }

  .catalog-hero-copy > p:not(.catalog-eyebrow) {
    font-size: 14px;
  }

  .catalog-hero-link {
    min-height: 40px;
    margin-top: 14px;
  }

  .catalog-hero-portraits {
    top: 74px;
    right: 12px;
    bottom: 52px;
    width: 31%;
  }

  .catalog-hero-portrait.is-left,
  .catalog-hero-portrait.is-right {
    display: none;
  }

  .catalog-hero-portrait.is-main {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .catalog-search-panel {
    right: 10px;
    left: 10px;
    width: auto;
    transform: none;
  }

  .catalog-shelf {
    margin-top: 24px;
  }

  .catalog-shelf.is-first {
    margin-top: 24px;
  }

  .catalog-home .marketplace-product-shelf {
    min-height: 329px;
    grid-auto-columns: 204px;
  }

  .catalog-home .marketplace-product-card,
  .catalog-skeleton-card,
  .catalog-shelf-more {
    height: 317px;
  }

  .catalog-match-inner {
    width: min(100% - 32px, var(--marketplace-wide));
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 30px;
  }

  .catalog-match-inner > a {
    grid-column: auto;
  }

  .catalog-trust {
    width: min(100% - 32px, var(--marketplace-wide));
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 42px;
  }

  .catalog-trust-list > div {
    padding-inline: 16px;
  }

  .wb-home-personal {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 16px;
  }

  .wb-home-personal .button.primary {
    justify-self: start;
  }

  .catalog-footer-inner {
    width: min(100% - 32px, var(--marketplace-wide));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-footer-brand {
    grid-column: 1 / -1;
  }

  .catalog-footer-legal {
    width: min(100% - 32px, var(--marketplace-wide));
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .catalog-index-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .catalog-index-heading h2 {
    font-size: 25px;
  }

  .catalog-home .marketplace-search-field :is(input, select) {
    font-size: 12px;
  }

  .catalog-login {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .catalog-home .marketplace-hero-stack {
    padding-bottom: 196px;
  }

  .wb-preserved-hero {
    min-height: 336px;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 4px;
    padding: 24px 18px 104px;
  }

  .wb-preserved-hero-copy h1 {
    width: auto;
    max-width: 100%;
    font-size: 21.5px;
  }

  .wb-preserved-hero-copy > p:not(.wb-catalog-kicker) {
    max-width: 250px;
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.4;
  }

  .wb-preserved-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    margin-top: 13px;
  }

  .wb-preserved-hero-actions .wb-catalog-personal-link,
  .wb-preserved-hero-secondary {
    min-height: 36px;
    font-size: 12px;
  }

  .wb-preserved-hero-people {
    min-height: 144px;
  }

  .wb-preserved-person.is-main {
    top: 5px;
    width: 90px;
    height: 132px;
  }

  .wb-preserved-person.is-top {
    left: -22px;
    width: 42px;
    height: 42px;
  }

  .wb-preserved-person.is-bottom {
    left: -20px;
    width: 39px;
    height: 48px;
  }

  .wb-preserved-hero-people::before {
    inset: 4px -5px -2px -12px;
  }

  .catalog-hero {
    padding: 24px 18px 94px;
  }

  .wb-catalog-hero {
    padding: 24px 18px 94px;
  }

  .wb-catalog-hero .marketplace-hero-copy {
    width: 74%;
  }

  .wb-catalog-hero .marketplace-hero-copy h1 {
    font-size: 27px;
  }

  .wb-catalog-hero .marketplace-hero-copy > p:not(.wb-catalog-kicker) {
    max-width: 230px;
    font-size: 13px;
  }

  .wb-catalog-hero-media {
    top: 86px;
    right: 8px;
    bottom: 55px;
    width: 29%;
  }

  .wb-catalog-personal-link {
    min-height: 38px;
    margin-top: 12px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .catalog-eyebrow {
    font-size: 11px !important;
  }

  .catalog-hero-copy {
    width: 74%;
  }

  .catalog-hero-copy h1 {
    font-size: 27px;
  }

  .catalog-hero-copy > p:not(.catalog-eyebrow) {
    max-width: 240px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.38;
  }

  .catalog-hero-link {
    min-height: 38px;
    margin-top: 12px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .catalog-hero-portraits {
    top: 86px;
    right: 8px;
    bottom: 55px;
    width: 29%;
  }

  .catalog-shelf-heading {
    align-items: start;
  }

  .catalog-shelf-heading h2 {
    font-size: 23px;
  }

  .catalog-shelf-actions > a {
    display: none;
  }

  .catalog-shelf-actions button {
    width: 36px;
    min-height: 36px;
  }

  .catalog-home .marketplace-product-shelf {
    min-height: 298px;
    grid-auto-columns: min(178px, 58vw);
  }

  .catalog-home .marketplace-product-card,
  .catalog-skeleton-card,
  .catalog-shelf-more {
    height: 286px;
  }

  .catalog-home .marketplace-product-card.is-wb-compact .marketplace-product-card-name {
    font-size: 13px;
  }

  .catalog-home .marketplace-product-card-proof {
    gap: 3px;
    font-size: 9.5px;
  }

  .catalog-home .marketplace-product-card-proof span + span::before {
    margin-right: 3px;
  }

  .catalog-match-inner h2 {
    font-size: 24px;
  }

  .catalog-match-inner > a {
    width: 100%;
  }

  .wb-home-personal h2 {
    font-size: 24px;
  }

  .wb-home-personal .button.primary {
    width: 100%;
  }

  .wb-home-footer nav {
    justify-content: flex-start;
  }

  .catalog-trust-list {
    grid-template-columns: 1fr;
  }

  .catalog-trust-list > div {
    padding: 15px 0;
    border-top: 1px solid var(--marketplace-line);
    border-left: 0;
  }

  .catalog-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog-footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 350px) {
  .catalog-login {
    padding-inline: 8px;
  }

  .catalog-home .marketplace-hero-stack {
    padding-bottom: 290px;
  }

  .wb-preserved-hero-copy h1 {
    font-size: 20px;
  }

  .wb-catalog-hero .marketplace-hero-copy {
    width: calc(100% - 78px);
  }

  .wb-catalog-hero .marketplace-hero-copy h1 {
    font-size: 24px;
  }

  .wb-catalog-hero .marketplace-hero-copy > p:not(.wb-catalog-kicker) {
    max-width: 184px;
    font-size: 12px;
  }

  .wb-catalog-hero-media {
    top: 96px;
    width: 27%;
  }

  .catalog-hero-copy h1 {
    font-size: 24px;
  }

  .catalog-hero-copy > p:not(.catalog-eyebrow) {
    max-width: 184px;
    font-size: 12px;
  }

  .catalog-hero-portraits {
    top: 96px;
    width: 28%;
  }

  .catalog-home .marketplace-product-shelf {
    grid-auto-columns: min(178px, 58vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-home .marketplace-product-card-media img {
    transition: none;
  }
}
