/* Final artist/tutor review overrides loaded after global.v126.css. */

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags {
  position: absolute !important;
  inset: 12px 12px auto 12px !important;
  width: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* v133: product and gallery discovery pages aligned to the accepted Artist/Tutor pattern. */
body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
  width: min(100% - 48px, 1720px) !important;
  min-height: 282px !important;
  margin: 28px auto 24px !important;
  padding: 54px 28px !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 16px !important;
  text-align: center !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero h1 {
  max-width: 1180px !important;
  margin: 0 auto !important;
  font-size: clamp(3.2rem, 5.1vw, 5.6rem) !important;
  line-height: 1.02 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero > p:not(.eyebrow),
body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero :is(.hero-search, .filter-summary, .trust-strip, .intent-chips, .mobile-search-coach, .marketplace-command-strip) {
  display: none !important;
  visibility: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note {
  margin: 0 !important;
  display: grid !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note > summary {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #b40812 !important;
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(180, 8, 18, .18) !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  list-style: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note > summary::-webkit-details-marker {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note[open] > summary .directory-note-arrow {
  transform: rotate(180deg) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note p {
  width: min(86vw, 820px) !important;
  margin: 14px auto 0 !important;
  color: #5b473c !important;
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-support {
  display: none !important;
  visibility: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section {
  width: min(100% - 48px, 1720px) !important;
  margin: 0 auto !important;
  padding: 0 0 34px !important;
  background: transparent !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head {
  display: grid !important;
  justify-items: center !important;
  gap: 4px !important;
  margin: 0 0 16px !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head .eyebrow {
  color: #a6060e !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head h2 {
  margin: 0 !important;
  font-size: clamp(2rem, 2.6vw, 2.55rem) !important;
  line-height: 1.05 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-workspace {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(230px, 286px) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card {
  position: sticky !important;
  top: 104px !important;
  max-height: calc(100vh - 126px) !important;
  overflow: auto !important;
  padding: 18px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card > h3 {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card > .eyebrow,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-shortcuts > strong {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  color: #a6060e !important;
  font-weight: 950 !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form {
  display: grid !important;
  gap: 10px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form label {
  display: grid !important;
  gap: 5px !important;
  font-weight: 900 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form input,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form select {
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 8px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form .button {
  width: 100% !important;
  min-height: 42px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-shortcuts {
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(214, 184, 151, .75) !important;
  display: grid !important;
  gap: 8px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-shortcuts a {
  min-height: 32px !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(180, 8, 18, .22) !important;
  border-radius: 999px !important;
  background: #fff9f0 !important;
  color: #a6060e !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  display: grid !important;
  place-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-results-panel {
  min-width: 0 !important;
  border: 1px solid rgba(214, 184, 151, .75) !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 20px !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .result-toolbar {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist {
  margin: 0 0 18px !important;
  padding: 14px !important;
  border: 1px solid rgba(214, 184, 151, .75) !important;
  border-radius: 10px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist details {
  min-width: 0 !important;
  min-height: 110px !important;
  border: 1px solid rgba(214, 184, 151, .72) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist summary {
  min-height: 110px !important;
  padding: 14px 10px !important;
  display: grid !important;
  place-items: center !important;
  gap: 9px !important;
  text-align: center !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist summary span {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #b40812 !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist details p {
  margin: -8px auto 12px !important;
  max-width: 90% !important;
  color: #5a473d !important;
  font-size: .86rem !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card {
  position: relative !important;
  min-width: 0 !important;
  min-height: 315px !important;
  padding: 18px 14px 58px !important;
  border-radius: 8px !important;
  text-align: center !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  gap: 8px !important;
  overflow: hidden !important;
}

body.phase1-foundation.route-products .product-image {
  width: 70px !important;
  height: 70px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto !important;
}

body.phase1-foundation.route-products .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.phase1-foundation.route-gallery .gallery-item {
  width: 100% !important;
  display: grid !important;
  gap: 6px !important;
  justify-items: center !important;
  text-align: center !important;
}

body.phase1-foundation.route-gallery .gallery-item img {
  width: min(100%, 185px) !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card h3,
body.phase1-foundation:is(.route-products, .route-gallery) .gallery-item span {
  max-width: 100% !important;
  margin: 0 auto !important;
  font-size: .98rem !important;
  line-height: 1.18 !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card p,
body.phase1-foundation:is(.route-products, .route-gallery) .gallery-card-meta {
  max-width: 100% !important;
  margin: 0 auto !important;
  color: #5a473d !important;
  font-size: .8rem !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  width: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge {
  width: min(100% - 48px, 920px) !important;
  margin: 28px auto !important;
  padding: 28px 22px !important;
  border: 1px solid rgba(214, 184, 151, .75) !important;
  border-radius: 10px !important;
  background: #fff !important;
  text-align: center !important;
  display: grid !important;
  justify-items: center !important;
  gap: 14px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge .eyebrow {
  margin: 0 !important;
  color: #a6060e !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge h2 {
  max-width: 780px !important;
  margin: 0 auto !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.08 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge details {
  width: min(100%, 720px) !important;
  border: 1px solid rgba(214, 184, 151, .75) !important;
  border-radius: 8px !important;
  background: #fffdfa !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge summary {
  min-height: 48px !important;
  padding: 12px 18px !important;
  color: #a6060e !important;
  font-weight: 950 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge p:not(.eyebrow) {
  max-width: 660px !important;
  margin: 0 auto !important;
  padding: 0 18px 16px !important;
  color: #5a473d !important;
  line-height: 1.45 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge .prompt-action-stack {
  width: min(100%, 420px) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section {
  margin-top: 18px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .centered-head h2 {
  max-width: 900px !important;
  margin-inline: auto !important;
  font-size: clamp(2.5rem, 4vw, 3.7rem) !important;
  line-height: 1.04 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-categories {
  width: 100% !important;
  display: grid !important;
  justify-items: center !important;
  gap: 12px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category {
  width: min(100%, 360px) !important;
  display: grid !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category > summary {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category:nth-child(1) > summary,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category:nth-child(1)[open] > summary {
  background: #b40812 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category:nth-child(2) > summary,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category:nth-child(2)[open] > summary {
  background: #261710 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category > summary span {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .18) !important;
  display: grid !important;
  place-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel {
  width: min(92vw, 620px) !important;
  margin-top: 12px !important;
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details {
  width: min(100%, 560px) !important;
  border: 1px solid rgba(214, 184, 151, .78) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details summary {
  min-height: 48px !important;
  padding: 11px 14px !important;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  justify-items: center !important;
  text-align: center !important;
  color: #20140f !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .faq-question-arrow {
  width: 18px !important;
  height: 18px !important;
  color: #b40812 !important;
  display: grid !important;
  place-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details[open] .faq-question-arrow {
  transform: rotate(90deg) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details p {
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 0 16px 16px !important;
  color: #4c392d !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
    width: calc(100% - 16px) !important;
    height: 172px !important;
    min-height: 170px !important;
    max-height: 172px !important;
    margin: 8px auto 12px !important;
    padding: 24px 10px !important;
    gap: 12px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero h1 {
    max-width: calc(100vw - 38px) !important;
    font-size: clamp(1.7rem, 7.4vw, 2.35rem) !important;
    line-height: 1.08 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note > summary {
    width: 34px !important;
    height: 34px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-hero-note p {
    width: min(88vw, 320px) !important;
    font-size: .68rem !important;
    line-height: 1.35 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section {
    width: calc(100% - 12px) !important;
    padding-bottom: 18px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head {
    margin-bottom: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head h2 {
    font-size: 1.12rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-workspace {
    display: block !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-panel {
    margin: 0 0 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card {
    position: relative !important;
    top: auto !important;
    max-height: 260px !important;
    padding: 10px !important;
    border-radius: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form label span {
    font-size: .42rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form input,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form select {
    min-height: 30px !important;
    padding: 5px 7px !important;
    border-radius: 6px !important;
    font-size: .55rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form .button,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form .location-button {
    min-height: 30px !important;
    padding: 5px 7px !important;
    border-radius: 7px !important;
    font-size: .56rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form .artist-filter-location-row,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-form button[type="submit"] {
    grid-column: 1 / -1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-shortcuts {
    max-height: 110px !important;
    overflow: auto !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    margin-top: 9px !important;
    padding-top: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-shortcuts > strong {
    font-size: .56rem !important;
    margin-bottom: 2px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-shortcuts a {
    min-height: 24px !important;
    padding: 4px 6px !important;
    font-size: .5rem !important;
    line-height: 1.1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-results-panel {
    padding: 8px !important;
    border-radius: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 3px !important;
    padding: 5px !important;
    margin-bottom: 7px !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist details,
  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist summary {
    min-height: 52px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist summary {
    padding: 4px 2px !important;
    gap: 3px !important;
    font-size: .34rem !important;
    line-height: 1.08 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist summary span {
    width: 16px !important;
    height: 16px !important;
    font-size: .42rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist details p {
    margin: -2px auto 5px !important;
    font-size: .34rem !important;
    line-height: 1.15 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 4px 3px 14px !important;
    gap: 1px !important;
    border-radius: 6px !important;
  }

  body.phase1-foundation.route-products .product-image {
    width: 19px !important;
    height: 19px !important;
    border-radius: 4px !important;
    font-size: .18rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation.route-gallery .gallery-item {
    gap: 1px !important;
  }

  body.phase1-foundation.route-gallery .gallery-item img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .badge,
  body.phase1-foundation:is(.route-products, .route-gallery) .gallery-card-meta span,
  body.phase1-foundation:is(.route-products, .route-gallery) .profile-signal-row span {
    padding: 1px 2px !important;
    font-size: .16rem !important;
    line-height: 1 !important;
    border-radius: 999px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card h3,
  body.phase1-foundation:is(.route-products, .route-gallery) .gallery-item span {
    font-size: .25rem !important;
    line-height: 1.05 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card p,
  body.phase1-foundation:is(.route-products, .route-gallery) .gallery-card-meta,
  body.phase1-foundation:is(.route-products, .route-gallery) .quality-meter {
    font-size: .18rem !important;
    line-height: 1.05 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .profile-signal-row,
  body.phase1-foundation:is(.route-products, .route-gallery) .gallery-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    left: 3px !important;
    right: 3px !important;
    bottom: 3px !important;
    gap: 2px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .button.small,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .button.tiny {
    min-height: 9px !important;
    height: 9px !important;
    padding: 1px !important;
    border-radius: 3px !important;
    font-size: .15rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge {
    width: calc(100% - 22px) !important;
    margin: 18px auto !important;
    padding: 18px 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge h2 {
    font-size: 1.12rem !important;
    line-height: 1.12 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge summary {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: .7rem !important;
    line-height: 1.15 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge p:not(.eyebrow) {
    font-size: .64rem !important;
    line-height: 1.3 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge .prompt-action-stack {
    width: min(100%, 280px) !important;
    gap: 6px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge .button {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: .7rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .centered-head h2 {
    max-width: 280px !important;
    font-size: 1.65rem !important;
    line-height: 1.08 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-categories {
    gap: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category {
    width: min(100%, 236px) !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category > summary {
    width: 236px !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    font-size: .64rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category > summary span {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel {
    width: min(86vw, 270px) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details {
    width: 100% !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details summary {
    min-height: 50px !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    padding: 8px 10px !important;
    font-size: .48rem !important;
    line-height: 1.15 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details p {
    padding: 0 12px 12px !important;
    font-size: .5rem !important;
    line-height: 1.28 !important;
  }
}

/* v140: final product/gallery marketplace polish. */
body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
  width: calc(100% - 48px) !important;
  max-width: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-results-panel .marketplace-panel-title {
  width: 100% !important;
  margin: 0 0 14px !important;
  color: #0f0c0a !important;
  font-size: clamp(1.45rem, 1.8vw, 1.95rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer-section {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail {
  top: 82px !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .card-social-rail {
  top: 68px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon {
  width: 14px !important;
  height: 14px !important;
  display: grid !important;
  place-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action[data-engagement-action].is-active .social-icon svg,
body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action[data-engagement-action]:hover .social-icon svg {
  fill: currentColor !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge details p {
  max-width: 820px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .centered-head {
  margin-bottom: 24px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-categories {
  margin-top: 0 !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category {
  width: min(100%, 560px) !important;
  margin-inline: auto !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category .artist-faq-panel {
  width: min(100%, 720px) !important;
  margin: 18px auto 0 !important;
  display: grid !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details {
  width: min(100%, 680px) !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details summary {
  justify-content: center !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
    width: calc(100% - 12px) !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-results-panel .marketplace-panel-title {
    margin-bottom: 8px !important;
    font-size: clamp(.92rem, 4.2vw, 1.1rem) !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail {
    top: 20px !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .card-social-rail {
    top: 24px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 10px !important;
    height: 10px !important;
    min-height: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon,
  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon svg {
    width: 4px !important;
    height: 4px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .centered-head {
    margin-bottom: 16px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category {
    width: min(100%, 260px) !important;
  }
}

body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
  top: 82px !important;
}

body.phase1-foundation.route-gallery .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
  top: 48px !important;
}

@media (max-width: 760px) {
  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 20px !important;
  }

  body.phase1-foundation.route-gallery .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 18px !important;
  }
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags span {
  border-radius: 999px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags .is-featured {
  background: #f2b705 !important;
  color: #2a170d !important;
  transform: none !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags .is-verified {
  background: #0d8f45 !important;
  color: #fff !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card {
  position: relative !important;
  text-align: center !important;
  justify-items: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .avatar,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .badge,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card h3,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card p,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card small,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-mini-portfolio,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-signals,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .card-actions {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  justify-content: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .card-actions {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  align-self: end !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .card-actions > * {
  width: 100% !important;
  min-width: 0 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-trust-note {
  width: min(100%, 1040px) !important;
  margin: 14px auto 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #7c1410 !important;
  color: #fff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card .artist-filter-location-row {
  display: grid !important;
  gap: 6px !important;
  margin: 0 0 10px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card .artist-filter-location-row .location-button {
  width: 100% !important;
  min-height: 38px !important;
  padding: 8px 10px !important;
  border-color: rgba(180, 8, 18, .22) !important;
  color: #b40812 !important;
  background: #fff7ee !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card .artist-filter-location-row .location-status {
  color: #5d473b !important;
  font-size: .62rem !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card summary {
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card summary span {
  position: static !important;
  box-sizing: border-box !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: .82rem !important;
  transform: translateY(-16px) !important;
  margin-bottom: 4px !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-section {
  text-align: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-section .centered-head {
  gap: 8px !important;
  margin-bottom: 18px !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-section .centered-head .eyebrow {
  color: #a6060e !important;
  font-size: .78rem !important;
  letter-spacing: 0 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-section .centered-head h2 {
  max-width: 900px !important;
  margin-inline: auto !important;
  font-size: clamp(2.65rem, 4.5vw, 4.05rem) !important;
  line-height: 1.02 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-categories {
  width: min(100%, 360px) !important;
  max-width: 360px !important;
  margin-inline: auto !important;
  display: grid !important;
  gap: 12px !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category {
  width: 100% !important;
  max-width: 360px !important;
  display: grid !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category > summary {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category:nth-child(1) > summary,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category:nth-child(1)[open] > summary {
  background: #b40812 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category:nth-child(2) > summary,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category:nth-child(2)[open] > summary {
  background: #261710 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category > summary span {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  line-height: 1 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel {
  width: min(92vw, 620px) !important;
  max-width: 620px !important;
  margin-top: 12px !important;
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  border: 1px solid rgba(214, 184, 151, .78) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details summary {
  min-height: 48px !important;
  padding: 11px 14px !important;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  justify-items: center !important;
  text-align: center !important;
  color: #20140f !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details summary::-webkit-details-marker {
  display: none !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .faq-question-arrow {
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  color: #b40812 !important;
  font-size: .75rem !important;
  line-height: 1 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details[open] .faq-question-arrow {
  transform: rotate(90deg) !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details p {
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 0 16px 16px !important;
  text-align: center !important;
  color: #4c392d !important;
}

@media (max-width: 760px) {
  body.route-artists.phase1-foundation .discovery-page-hero :is(.filter-summary, .trust-strip, .intent-chips, .mobile-search-coach, .marketplace-command-strip),
  body.route-tutors.phase1-foundation .discovery-page-hero :is(.filter-summary, .trust-strip, .intent-chips, .mobile-search-coach, .marketplace-command-strip) {
    display: none !important;
    visibility: hidden !important;
  }

  body.route-artists.phase1-foundation .discovery-page-hero,
  body.route-tutors.phase1-foundation .discovery-page-hero {
    width: calc(100% - 14px) !important;
    padding: 18px 10px 22px !important;
  }

  body.route-artists.phase1-foundation .discovery-page-hero h1,
  body.route-tutors.phase1-foundation .discovery-page-hero h1 {
    max-width: calc(100vw - 34px) !important;
    font-size: clamp(2rem, 9.2vw, 2.5rem) !important;
    line-height: 1.08 !important;
  }

  body.route-artists.phase1-foundation .artist-profile-grid,
  body.route-tutors.phase1-foundation .artist-profile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card,
  body.route-tutors.phase1-foundation .artist-list-card {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1px !important;
    padding: 4px 3px !important;
    overflow: hidden !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .avatar,
  body.route-tutors.phase1-foundation .artist-list-card .avatar {
    width: 15px !important;
    height: 15px !important;
    margin: 14px auto 0 !important;
    flex: 0 0 15px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .badge,
  body.route-tutors.phase1-foundation .artist-list-card .badge {
    font-size: .18rem !important;
    padding: 1px 2px !important;
    line-height: 1 !important;
    margin: 0 auto !important;
    flex: 0 0 auto !important;
  }

  body.route-artists.phase1-foundation .artist-list-card h3,
  body.route-tutors.phase1-foundation .artist-list-card h3 {
    width: 100% !important;
    min-height: 18px !important;
    margin: 0 auto !important;
    font-size: .27rem !important;
    line-height: 1.02 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.route-artists.phase1-foundation .artist-list-card p,
  body.route-tutors.phase1-foundation .artist-list-card p {
    width: 100% !important;
    min-height: 10px !important;
    margin: 0 auto !important;
    font-size: .19rem !important;
    line-height: 1.02 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.route-artists.phase1-foundation .artist-list-card small,
  body.route-tutors.phase1-foundation .artist-list-card small {
    width: 100% !important;
    margin: 0 auto !important;
    font-size: .18rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.route-artists.phase1-foundation .artist-mini-portfolio,
  body.route-tutors.phase1-foundation .artist-mini-portfolio {
    display: none !important;
  }

  body.route-artists.phase1-foundation .artist-list-signals,
  body.route-tutors.phase1-foundation .artist-list-signals {
    width: 100% !important;
    min-height: 8px !important;
    gap: 1px !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  body.route-artists.phase1-foundation .artist-list-signals span,
  body.route-tutors.phase1-foundation .artist-list-signals span {
    max-width: 34px !important;
    padding: 1px !important;
    font-size: .15rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .card-actions,
  body.route-tutors.phase1-foundation .artist-list-card .card-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px !important;
    margin: auto auto 0 !important;
    align-self: stretch !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 11px !important;
    padding: 1px !important;
    border-radius: 3px !important;
    font-size: .18rem !important;
    line-height: 1 !important;
  }

  body.route-artists.phase1-foundation .artist-card-tags,
  body.route-tutors.phase1-foundation .artist-card-tags {
    inset: 3px 3px auto 3px !important;
  }

  body.route-artists.phase1-foundation .artist-card-tags span,
  body.route-tutors.phase1-foundation .artist-card-tags span {
    max-width: 32px !important;
    padding: 1px 2px !important;
    font-size: .18rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.route-artists.phase1-foundation .artist-check-card,
  body.route-tutors.phase1-foundation .artist-check-card {
    min-height: 84px !important;
    display: grid !important;
    grid-template-rows: 20px 1fr !important;
    place-items: center !important;
    padding: 4px 2px !important;
  }

  body.route-artists.phase1-foundation .artist-check-card details,
  body.route-tutors.phase1-foundation .artist-check-card details {
    width: 100% !important;
    height: auto !important;
  }

  body.route-artists.phase1-foundation .artist-check-card summary,
  body.route-tutors.phase1-foundation .artist-check-card summary {
    min-height: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 0 !important;
    font-size: .29rem !important;
    line-height: 1.04 !important;
    overflow: hidden !important;
  }

  body.route-artists.phase1-foundation .artist-check-card summary span,
  body.route-tutors.phase1-foundation .artist-check-card summary span {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    margin: 0 auto 3px !important;
    font-size: .58rem !important;
    transform: translateY(-12px) !important;
  }

  body.route-artists.phase1-foundation .artist-faq-section .centered-head h2,
  body.route-tutors.phase1-foundation .artist-faq-section .centered-head h2 {
    max-width: calc(100vw - 30px) !important;
    font-size: clamp(1.55rem, 7.2vw, 1.9rem) !important;
    line-height: 1.07 !important;
  }

  body.route-artists.phase1-foundation .artist-faq-categories,
  body.route-tutors.phase1-foundation .artist-faq-categories {
    width: min(100%, 236px) !important;
    max-width: 236px !important;
    gap: 8px !important;
  }

  body.route-artists.phase1-foundation .artist-faq-category > summary,
  body.route-tutors.phase1-foundation .artist-faq-category > summary {
    min-height: 34px !important;
    padding: 7px 11px !important;
    font-size: .62rem !important;
  }

  body.route-artists.phase1-foundation .discovery-page-hero :is(.filter-summary, .trust-strip, .intent-chips, .mobile-search-coach, .marketplace-command-strip),
  body.route-tutors.phase1-foundation .discovery-page-hero :is(.filter-summary, .trust-strip, .intent-chips, .mobile-search-coach, .marketplace-command-strip) {
    position: absolute !important;
    inset: auto !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .avatar,
  body.route-tutors.phase1-foundation .artist-list-card .avatar {
    margin-top: 12px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card h3,
  body.route-tutors.phase1-foundation .artist-list-card h3 {
    min-height: 16px !important;
    font-size: .25rem !important;
  }

  body.route-artists.phase1-foundation .artist-list-card p,
  body.route-tutors.phase1-foundation .artist-list-card p {
    min-height: 8px !important;
    font-size: .17rem !important;
  }

  body.route-artists.phase1-foundation .artist-list-signals,
  body.route-tutors.phase1-foundation .artist-list-signals {
    min-height: 7px !important;
  }

  body.route-artists.phase1-foundation .artist-list-signals span,
  body.route-tutors.phase1-foundation .artist-list-signals span {
    font-size: .14rem !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    min-height: 9px !important;
    font-size: .16rem !important;
  }
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-booking-checklist,
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-checklist-grid {
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details {
  min-width: 0 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details[open] {
  height: auto !important;
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) {
  min-height: 258px !important;
  padding-bottom: 16px !important;
  overflow: hidden !important;
  align-content: start !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) summary {
  min-height: auto !important;
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details[open] p {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 8px auto 0 !important;
  padding: 0 10px !important;
  color: #4c392d !important;
  font-size: .92rem !important;
  line-height: 1.34 !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-booking-checklist {
    padding: 6px !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-checklist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card {
    min-height: 82px !important;
    aspect-ratio: auto !important;
    display: grid !important;
    grid-template-rows: 18px minmax(0, 1fr) !important;
    place-items: center !important;
    padding: 5px 2px 7px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card .artist-check-icon {
    width: 16px !important;
    height: 16px !important;
    margin: 0 auto 1px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card summary {
    width: 100% !important;
    min-height: 50px !important;
    display: grid !important;
    grid-template-rows: minmax(20px, 1fr) 20px !important;
    gap: 2px !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: .45rem !important;
    line-height: 1.04 !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card summary span {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 auto !important;
    font-size: .62rem !important;
    transform: translateY(-4px) !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) {
    min-height: 154px !important;
    grid-template-rows: 18px auto !important;
    padding-bottom: 7px !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) details {
    height: auto !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) summary {
    min-height: 42px !important;
    grid-template-rows: minmax(17px, auto) 18px !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details[open] p {
    margin: 3px auto 0 !important;
    padding: 0 3px !important;
    font-size: .45rem !important;
    line-height: 1.14 !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-trust-note {
    margin-top: 6px !important;
  }
}

/* v130: keep artist/tutor checklist six-across on mobile and keep badges clear of avatars. */
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags {
  inset: 16px 24px auto 24px !important;
  width: calc(100% - 48px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags span {
  position: static !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags .is-featured {
  margin-right: auto !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags .is-verified {
  margin-left: auto !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .artist-card-tags {
  left: 24px !important;
  right: 24px !important;
  top: 16px !important;
  bottom: auto !important;
  width: calc(100% - 48px) !important;
  inline-size: calc(100% - 48px) !important;
  max-width: none !important;
  transform: none !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-booking-checklist {
    padding: 6px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-checklist-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 3px !important;
    align-items: stretch !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card {
    min-height: 78px !important;
    aspect-ratio: auto !important;
    grid-template-rows: 15px minmax(0, 1fr) !important;
    padding: 3px 1px 5px !important;
    border-radius: 6px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card .artist-check-icon {
    width: 13px !important;
    height: 13px !important;
    margin: 0 auto !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card summary {
    min-height: 48px !important;
    display: grid !important;
    grid-template-rows: minmax(22px, 1fr) 16px !important;
    gap: 1px !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: .28rem !important;
    line-height: 1.02 !important;
    text-align: center !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card summary span {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
    margin: 0 auto !important;
    font-size: .52rem !important;
    transform: translateY(-2px) !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) {
    min-height: 152px !important;
    grid-template-rows: 14px auto !important;
    padding-bottom: 5px !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) details {
    height: auto !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card:has(details[open]) summary {
    min-height: 38px !important;
    grid-template-rows: minmax(18px, auto) 15px !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-check-card details[open] p {
    margin: 2px auto 0 !important;
    padding: 0 2px !important;
    font-size: .32rem !important;
    line-height: 1.12 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags {
    inset: 4px 5px auto 5px !important;
    width: calc(100% - 10px) !important;
    justify-content: space-between !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .artist-card-tags {
    left: 5px !important;
    right: 5px !important;
    top: 4px !important;
    bottom: auto !important;
    width: calc(100% - 10px) !important;
    inline-size: calc(100% - 10px) !important;
    max-width: none !important;
    transform: none !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-card-tags span {
    max-width: 36px !important;
    padding: 1px 2px !important;
    font-size: .14rem !important;
    line-height: 1 !important;
  }
}

/* v132: mobile card actions stay inside square cards; FAQ tabs keep homepage-like fixed pills. */
body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-section {
  overflow-x: hidden !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-categories {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
  display: grid !important;
  justify-items: center !important;
  gap: 12px !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category {
  width: min(100%, 340px) !important;
  max-width: 340px !important;
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category > summary {
  width: 100% !important;
  max-width: 340px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel {
  width: min(92vw, 620px) !important;
  max-width: 620px !important;
  margin-top: 12px !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details summary {
  width: 100% !important;
  min-height: 48px !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) 22px !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 4px !important;
  padding: 10px 14px !important;
  text-align: center !important;
  overflow: visible !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details summary .faq-question-arrow {
  grid-column: 1 !important;
  justify-self: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details summary span:last-child {
  grid-column: 2 !important;
  justify-self: center !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details p {
  width: 100% !important;
  max-width: 520px !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 0 16px 16px !important;
  text-align: center !important;
  overflow: visible !important;
  max-height: none !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card {
    padding-bottom: 14px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .card-actions {
    position: absolute !important;
    left: 3px !important;
    right: 3px !important;
    bottom: 3px !important;
    width: auto !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px !important;
    align-self: auto !important;
    z-index: 3 !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-list-card .button.small {
    min-height: 10px !important;
    height: 10px !important;
    padding: 1px !important;
    border-radius: 3px !important;
    font-size: .15rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-section .centered-head {
    margin-bottom: 12px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-categories {
    gap: 10px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category {
    width: min(100%, 236px) !important;
    max-width: 236px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category > summary {
    width: 236px !important;
    max-width: 236px !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    font-size: .64rem !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category > summary > span:not(.faq-question-arrow) {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel {
    width: min(86vw, 270px) !important;
    max-width: 270px !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details {
    width: 100% !important;
    max-width: 270px !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details summary {
    min-height: 50px !important;
    grid-template-columns: 18px minmax(0, 1fr) 18px !important;
    padding: 8px 10px !important;
    font-size: .48rem !important;
    line-height: 1.15 !important;
  }

  body.phase1-foundation:is(.route-artists, .route-tutors) .artist-faq-category .artist-faq-panel details p {
    padding: 0 12px 12px !important;
    font-size: .5rem !important;
    line-height: 1.28 !important;
  }
}

/* v133 final cascade lock for product/gallery card grids after legacy .cards rules. */
body.route-products.phase1-foundation .product-directory-section .cards.marketplace-card-grid,
body.route-gallery.phase1-foundation .gallery-directory-section .gallery-grid.marketplace-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
  min-height: 318px !important;
  max-height: 340px !important;
  padding: 18px 14px 58px !important;
  overflow: hidden !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card > p:not(.meta) {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .quality-meter {
  width: 100% !important;
  max-width: 150px !important;
  margin-inline: auto !important;
}

@media (max-width: 760px) {
  body.route-products.phase1-foundation .product-directory-section .cards.marketplace-card-grid,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-grid.marketplace-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 4px 3px 14px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .card-actions,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .card-actions {
    left: 3px !important;
    right: 3px !important;
    bottom: 3px !important;
    gap: 2px !important;
  }
}

/* v136 Product/Gallery improvements: signals, previews, SEO drawers, lightbox and lazy reveal. */
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-extra-item {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-show-more-row {
  grid-column: 1 / -1 !important;
  display: flex !important;
  justify-content: center !important;
  margin: 18px auto 0 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-trust-note {
  width: min(100%, 920px) !important;
  margin: 10px auto 16px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  background: #8f120d !important;
  color: #fff !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-empty-state {
  grid-column: 1 / -1 !important;
  width: min(100%, 760px) !important;
  margin: 18px auto !important;
  text-align: center !important;
  display: grid !important;
  justify-items: center !important;
  gap: 14px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-empty-state .empty-state-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #fff1e6 !important;
  color: #b40812 !important;
  display: grid !important;
  place-items: center !important;
  font-weight: 950 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-empty-state .card-actions {
  width: min(100%, 560px) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
  position: absolute !important;
  inset: 10px 12px auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  pointer-events: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-mini-signals span {
  border-radius: 999px !important;
  padding: 4px 8px !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
  background: #f4bd08 !important;
  color: #24150f !important;
  box-shadow: 0 10px 26px rgba(244, 189, 8, .26) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-verified {
  margin-left: auto !important;
  background: #0c8f43 !important;
  color: #fff !important;
}

body.phase1-foundation.route-products .product-card.marketplace-result-card {
  padding-top: 44px !important;
}

body.phase1-foundation.route-products .marketplace-mini-signals {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 4px !important;
}

body.phase1-foundation.route-products .marketplace-mini-signals span {
  background: #fff1e6 !important;
  color: #7b2f08 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-preview {
  width: min(100%, 230px) !important;
  border: 1px solid rgba(214, 184, 151, .72) !important;
  border-radius: 7px !important;
  background: #fffdfa !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-preview summary {
  min-height: 28px !important;
  padding: 5px 8px !important;
  color: #a6060e !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-preview p {
  padding: 0 8px 8px !important;
  font-size: .72rem !important;
  line-height: 1.32 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer-section {
  padding-top: 0 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer {
  width: min(100% - 48px, 980px) !important;
  margin: 0 auto 22px !important;
  padding: 0 !important;
  border: 1px solid rgba(214, 184, 151, .75) !important;
  border-radius: 10px !important;
  background: #fff !important;
  text-align: center !important;
  overflow: hidden !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer summary {
  min-height: 52px !important;
  padding: 14px 18px !important;
  color: #a6060e !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer .capability-grid {
  padding: 0 16px 14px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer p {
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 0 18px 18px !important;
  color: #5a473d !important;
}

body.phase1-foundation.route-gallery .gallery-card-meta strong {
  width: 100% !important;
  color: #7b2f08 !important;
  font-size: .72rem !important;
  line-height: 1.15 !important;
}

body.phase1-foundation.route-gallery .gallery-preview-dialog {
  width: min(92vw, 760px) !important;
  border: 1px solid rgba(214, 184, 151, .82) !important;
  border-radius: 12px !important;
  padding: 18px !important;
  background: #fffdfa !important;
  box-shadow: 0 24px 70px rgba(32, 20, 15, .22) !important;
}

body.phase1-foundation.route-gallery .gallery-preview-dialog::backdrop {
  background: rgba(32, 20, 15, .42) !important;
}

body.phase1-foundation.route-gallery .gallery-preview-dialog img {
  width: 100% !important;
  max-height: 68vh !important;
  border-radius: 8px !important;
  object-fit: contain !important;
  background: #fff !important;
}

body.phase1-foundation.route-gallery .gallery-preview-dialog div {
  margin-top: 12px !important;
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  text-align: center !important;
}

body.phase1-foundation.route-gallery .gallery-preview-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #b40812 !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  cursor: pointer !important;
}

body.phase1-foundation.route-gallery .gallery-item-card.marketplace-result-card .card-actions {
  grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-trust-note {
    margin: 6px auto 8px !important;
    padding: 5px 6px !important;
    font-size: .42rem !important;
    line-height: 1.15 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    inset: 2px 3px auto !important;
    gap: 2px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span {
    padding: 1px 2px !important;
    font-size: .13rem !important;
    line-height: 1 !important;
    max-width: 38px !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  body.phase1-foundation.route-products .product-card.marketplace-result-card {
    padding-top: 10px !important;
  }

  body.phase1-foundation.route-products .marketplace-mini-signals,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-preview {
    display: none !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-empty-state {
    padding: 14px 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-empty-state .card-actions {
    grid-template-columns: 1fr !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-show-more-row {
    margin-top: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer {
    width: calc(100% - 22px) !important;
    margin-bottom: 16px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer summary {
    min-height: 38px !important;
    padding: 9px 10px !important;
    font-size: .7rem !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer p {
    padding: 0 10px 12px !important;
    font-size: .62rem !important;
    line-height: 1.28 !important;
  }

  body.phase1-foundation.route-gallery .gallery-card-meta strong {
    font-size: .18rem !important;
    line-height: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.phase1-foundation.route-gallery .gallery-preview-dialog {
    width: calc(100vw - 24px) !important;
    padding: 12px !important;
  }
}

/* v137: buyer-first Product and design-first Gallery polish. */
body.phase1-foundation.route-products .product-directory-section .section-head h2,
body.phase1-foundation.route-gallery .gallery-directory-section .section-head h2 {
  letter-spacing: 0 !important;
}

body.phase1-foundation.route-products .ecommerce-product-card,
body.phase1-foundation.route-gallery .design-gallery-card {
  align-content: start !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .product-image {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  border: 1px solid rgba(214, 184, 151, .8) !important;
  border-radius: 10px !important;
  background: #fffdfa !important;
  box-shadow: 0 14px 34px rgba(32, 20, 15, .08) !important;
}

body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo,
body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo img {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: cover !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .badge {
  background: #fff1e6 !important;
  color: #7b2f08 !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row,
body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  text-align: center !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row strong,
body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row span,
body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals span,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta span,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  min-height: 22px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #fff1e6 !important;
  color: #7b2f08 !important;
  font-size: .7rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row strong {
  background: #8f120d !important;
  color: #fff !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .button.is-added {
  background: #0c8f43 !important;
  border-color: #0c8f43 !important;
  color: #fff !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-item img {
  width: min(100%, 172px) !important;
  border: 1px solid rgba(214, 184, 151, .75) !important;
  box-shadow: 0 14px 34px rgba(32, 20, 15, .08) !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta strong {
  width: auto !important;
  background: #fffdfa !important;
  border: 1px solid rgba(214, 184, 151, .72) !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .marketplace-card-badges {
  display: none !important;
}

@media (min-width: 761px) {
  body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card,
  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    min-height: 330px !important;
    padding-bottom: 64px !important;
  }

  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    min-height: 355px !important;
  }
}

@media (max-width: 760px) {
  body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card,
  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    aspect-ratio: 1 / 1 !important;
    padding: 3px 2px 14px !important;
    gap: 1px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .product-image {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    border-radius: 4px !important;
  }

  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo,
  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo img {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    object-fit: cover !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .gallery-item img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 4px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .badge,
  body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row strong,
  body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row span,
  body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals span,
  body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta span,
  body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta strong {
    min-height: 7px !important;
    padding: 1px 2px !important;
    font-size: .14rem !important;
    line-height: 1 !important;
    max-width: 42px !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card > p:not(.meta) {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals,
  body.phase1-foundation.route-gallery .design-gallery-card .marketplace-card-preview {
    display: none !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .card-actions .button,
  body.phase1-foundation.route-gallery .design-gallery-card .card-actions .button {
    min-height: 9px !important;
    height: 9px !important;
    padding: 1px !important;
    font-size: .13rem !important;
    line-height: 1 !important;
  }
}

/* v138: product/gallery buyer actions, clean gallery cards and zoom-stable rows. */
body.phase1-foundation.route-products .ecommerce-product-card,
body.phase1-foundation.route-gallery .design-gallery-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .marketplace-card-preview,
body.phase1-foundation.route-gallery .design-gallery-card .marketplace-card-preview,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-meta {
  display: none !important;
}

body.phase1-foundation.route-products .ecommerce-product-card > p:not(.meta) {
  width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row,
body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-tags,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-social-actions {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  text-align: center !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-item {
  position: static !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
  color: #24150f !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-item span {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #24150f !important;
  box-shadow: none !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-tags span,
body.phase1-foundation:is(.route-products, .route-gallery) .social-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 22px !important;
  padding: 4px 8px !important;
  border: 1px solid rgba(214, 184, 151, .78) !important;
  border-radius: 999px !important;
  background: #fff8ef !important;
  color: #8f120d !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .social-action {
  cursor: pointer !important;
  gap: 4px !important;
  box-shadow: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .social-action span {
  color: inherit !important;
  font-weight: 950 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .social-action.is-active {
  background: #b40812 !important;
  border-color: #b40812 !important;
  color: #fff !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions .button {
  width: 100% !important;
  min-width: 0 !important;
}

@media (min-width: 761px) {
  body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card,
  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    min-height: 360px !important;
    max-height: none !important;
    padding: 16px 14px 14px !important;
    gap: 7px !important;
  }

  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    min-height: 370px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .marketplace-social-actions,
  body.phase1-foundation.route-gallery .design-gallery-card .marketplace-social-actions {
    margin-top: auto !important;
  }
}

@media (max-width: 760px) {
  body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card,
  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 3px 2px !important;
    gap: 1px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .product-image,
  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo,
  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .gallery-item img {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card > p:not(.meta),
  body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals {
    display: none !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .badge,
  body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row strong,
  body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row span,
  body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-tags span,
  body.phase1-foundation:is(.route-products, .route-gallery) .social-action {
    min-height: 6px !important;
    height: 6px !important;
    max-width: 42px !important;
    padding: 0 1px !important;
    border-radius: 999px !important;
    font-size: .12rem !important;
    line-height: 1 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-social-actions {
    gap: 1px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card h3,
  body.phase1-foundation:is(.route-products, .route-gallery) .gallery-item span {
    font-size: .2rem !important;
    line-height: 1.02 !important;
    -webkit-line-clamp: 2 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    position: static !important;
    margin-top: auto !important;
    width: 100% !important;
    gap: 1px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions .button {
    min-height: 7px !important;
    height: 7px !important;
    padding: 0 1px !important;
    border-radius: 3px !important;
    font-size: .11rem !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }
}

/* v139: ecommerce-style product/gallery cards and tighter discovery fold. */
body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
  min-height: 220px !important;
  margin: 16px auto 14px !important;
  padding: 36px 24px !important;
  gap: 12px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero h1 {
  max-width: none !important;
  white-space: nowrap !important;
  font-size: clamp(3rem, 4.45vw, 5rem) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section {
  margin-top: 0 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head {
  text-align: center !important;
  justify-items: center !important;
  margin-bottom: 12px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head .eyebrow,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head h2 {
  width: 100% !important;
  text-align: center !important;
}

body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card,
body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  padding: 14px 12px 12px !important;
  gap: 6px !important;
  overflow: hidden !important;
}

body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card {
  padding-top: 28px !important;
}

body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
  padding-top: 18px !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .marketplace-card-badges,
body.phase1-foundation.route-products .ecommerce-product-card .ecommerce-card-badges {
  position: absolute !important;
  inset: 8px auto auto 8px !important;
  width: auto !important;
  display: flex !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .marketplace-card-badges span,
body.phase1-foundation.route-products .ecommerce-product-card .ecommerce-card-badges span {
  min-height: 20px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #f4bd08 !important;
  color: #24150f !important;
  font-size: .65rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 22px rgba(244, 189, 8, .22) !important;
  white-space: nowrap !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .product-image,
body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo,
body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo img {
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  min-height: 74px !important;
  max-width: 74px !important;
  max-height: 74px !important;
  border-radius: 8px !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-item {
  gap: 6px !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .gallery-item img {
  width: 118px !important;
  height: 118px !important;
  min-width: 118px !important;
  min-height: 118px !important;
  max-width: 118px !important;
  max-height: 118px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

body.phase1-foundation.route-products .ecommerce-product-card > p:not(.meta),
body.phase1-foundation.route-products .ecommerce-product-card .product-buy-row,
body.phase1-foundation.route-products .ecommerce-product-card .product-commerce-signals,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-design-tags {
  display: none !important;
}

body.phase1-foundation.route-products .ecommerce-product-card .badge {
  max-width: calc(100% - 8px) !important;
  min-height: 18px !important;
  padding: 4px 8px !important;
  font-size: .62rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.phase1-foundation.route-products .ecommerce-product-card h3,
body.phase1-foundation.route-gallery .design-gallery-card .gallery-item span {
  width: 100% !important;
  max-width: calc(100% - 8px) !important;
  display: block !important;
  min-height: 18px !important;
  margin: 0 auto !important;
  color: #24150f !important;
  font-size: clamp(.62rem, .78vw, .78rem) !important;
  line-height: 1.08 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail {
  position: absolute !important;
  right: 10px !important;
  top: 92px !important;
  width: auto !important;
  display: grid !important;
  grid-auto-flow: row !important;
  gap: 6px !important;
  z-index: 5 !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .card-social-rail {
  top: 112px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 3px !important;
  display: grid !important;
  place-items: center !important;
  gap: 0 !important;
  border-radius: 999px !important;
  background: #fffdfa !important;
  border: 1px solid rgba(214, 184, 151, .86) !important;
  color: #a6060e !important;
  box-shadow: 0 8px 18px rgba(32, 20, 15, .08) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon {
  display: block !important;
  font-size: .92rem !important;
  line-height: .9 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-count {
  display: block !important;
  font-size: .48rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action.is-active {
  background: #b40812 !important;
  border-color: #b40812 !important;
  color: #fff !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
  margin-top: auto !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions .button {
  min-height: 34px !important;
  height: 34px !important;
  padding: 6px 8px !important;
  border-radius: 7px !important;
  font-size: .66rem !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
    height: 148px !important;
    min-height: 148px !important;
    max-height: 148px !important;
    margin: 8px auto 10px !important;
    padding: 22px 8px !important;
    gap: 9px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero h1 {
    max-width: none !important;
    font-size: clamp(1.35rem, 6.2vw, 1.9rem) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.phase1-foundation.route-products .product-directory-section .product-card.marketplace-result-card,
  body.phase1-foundation.route-gallery .gallery-directory-section .gallery-item-card.marketplace-result-card {
    aspect-ratio: 1 / 1 !important;
    padding: 3px 2px !important;
    gap: 1px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .marketplace-card-badges,
  body.phase1-foundation.route-products .ecommerce-product-card .ecommerce-card-badges {
    inset: 2px auto auto 2px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .marketplace-card-badges span,
  body.phase1-foundation.route-products .ecommerce-product-card .ecommerce-card-badges span {
    min-height: 5px !important;
    max-width: 24px !important;
    padding: 1px 2px !important;
    font-size: .1rem !important;
    overflow: hidden !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .product-image,
  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo,
  body.phase1-foundation.route-products .product-directory-section .ecommerce-product-card .product-image.has-photo img {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .gallery-item {
    gap: 1px !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .gallery-item img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  body.phase1-foundation.route-products .ecommerce-product-card .badge,
  body.phase1-foundation.route-products .ecommerce-product-card h3,
  body.phase1-foundation.route-gallery .design-gallery-card .gallery-item span {
    min-height: 5px !important;
    max-width: 52px !important;
    padding: 0 1px !important;
    font-size: .12rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail {
    right: 2px !important;
    top: 24px !important;
    gap: 1px !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .card-social-rail {
    top: 30px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 9px !important;
    height: 9px !important;
    min-height: 9px !important;
    padding: 0 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon {
    font-size: .17rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-count {
    font-size: .09rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    gap: 1px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions .button {
    min-height: 7px !important;
    height: 7px !important;
    padding: 0 1px !important;
    border-radius: 3px !important;
    font-size: .1rem !important;
    line-height: 1 !important;
  }
}

/* v141 final order guard: keep product/gallery polish after all legacy overrides. */
body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
  width: calc(100% - 48px) !important;
  max-width: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-directory-section > .section-head {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-results-panel .marketplace-panel-title {
  width: 100% !important;
  margin: 0 0 14px !important;
  color: #0f0c0a !important;
  font-size: clamp(1.45rem, 1.8vw, 1.95rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-seo-drawer-section {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail {
  top: 82px !important;
}

body.phase1-foundation.route-gallery .design-gallery-card .card-social-rail {
  top: 68px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon {
  width: 14px !important;
  height: 14px !important;
  display: grid !important;
  place-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action[data-engagement-action].is-active .social-icon svg,
body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action[data-engagement-action]:hover .social-icon svg {
  fill: currentColor !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-provider-merge details p {
  max-width: 820px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .centered-head {
  margin-bottom: 24px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-categories {
  margin-top: 0 !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category {
  width: min(100%, 560px) !important;
  margin-inline: auto !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category .artist-faq-panel {
  width: min(100%, 720px) !important;
  margin: 18px auto 0 !important;
  display: grid !important;
  justify-items: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details {
  width: min(100%, 680px) !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-panel details summary {
  justify-content: center !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
    width: calc(100% - 12px) !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-results-panel .marketplace-panel-title {
    margin-bottom: 8px !important;
    font-size: clamp(.92rem, 4.2vw, 1.1rem) !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail {
    top: 20px !important;
  }

  body.phase1-foundation.route-gallery .design-gallery-card .card-social-rail {
    top: 24px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 10px !important;
    height: 10px !important;
    min-height: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon,
  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-icon svg {
    width: 4px !important;
    height: 4px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .centered-head {
    margin-bottom: 16px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-faq-section .artist-faq-category {
    width: min(100%, 260px) !important;
  }
}
