/* Product/Gallery final guard: loaded after global.v141-final.css. */
body.phase1-foundation:is(.route-products, .route-gallery) .discovery-page-hero {
  width: calc(100% - 48px) !important;
  max-width: none !important;
}

/* v144 high-specificity mobile polish guard. */
@media (max-width: 760px) {
  body.route-artists.route-artists.phase1-foundation .artist-card-tags .is-featured,
  body.route-artists.route-artists.phase1-foundation .artist-card-tags .is-verified,
  body.route-tutors.route-tutors.phase1-foundation .artist-card-tags .is-featured,
  body.route-tutors.route-tutors.phase1-foundation .artist-card-tags .is-verified {
    min-width: 42px !important;
    max-width: 68px !important;
    height: auto !important;
    padding: 3px 7px !important;
    font-size: .42rem !important;
    line-height: 1.05 !important;
  }

  body.route-artists.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.route-tutors.phase1-foundation .artist-list-card .button.small {
    font-size: .5rem !important;
    letter-spacing: 0 !important;
  }

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

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

  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges .is-featured {
    min-width: 56px !important;
    max-width: 88px !important;
    height: auto !important;
    padding: 4px 8px !important;
    font-size: .44rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body.route-products.route-products.phase1-foundation .marketplace-result-card .button.small,
  body.route-products.route-products.phase1-foundation .marketplace-result-card .button.tiny,
  body.route-gallery.route-gallery.phase1-foundation .marketplace-result-card .button.small,
  body.route-gallery.route-gallery.phase1-foundation .marketplace-result-card .button.tiny {
    font-size: .48rem !important;
    letter-spacing: 0 !important;
  }
}

/* v144 final mobile cascade override. Keep after all older mobile guards. */
@media (max-width: 760px) {
  body.route-artists.phase1-foundation .artist-list-card {
    background: linear-gradient(180deg, #fffaf4 0%, #fff2e8 100%) !important;
    border-color: rgba(176, 0, 13, .18) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .1) !important;
  }

  body.route-tutors.phase1-foundation .artist-list-card {
    background: linear-gradient(180deg, #f8fcff 0%, #eff8ff 100%) !important;
    border-color: rgba(0, 91, 140, .16) !important;
    box-shadow: 0 12px 24px rgba(23, 63, 90, .1) !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
    background: linear-gradient(180deg, #fffff8 0%, #fff8df 100%) !important;
    border-color: rgba(176, 0, 13, .2) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .1) !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
    background: linear-gradient(180deg, #fff9fb 0%, #f7f2ff 100%) !important;
    border-color: rgba(176, 0, 13, .16) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .09) !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .avatar,
  body.route-tutors.phase1-foundation .artist-list-card .avatar {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    margin: 18px auto 1px !important;
  }

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

  body.route-artists.phase1-foundation .artist-card-tags span,
  body.route-tutors.phase1-foundation .artist-card-tags span {
    min-width: 42px !important;
    max-width: 66px !important;
    padding: 3px 7px !important;
    font-size: .4rem !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .badge,
  body.route-tutors.phase1-foundation .artist-list-card .badge {
    font-size: .39rem !important;
    padding: 2px 5px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    font-size: .42rem !important;
    font-weight: 800 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .product-image {
    width: 58px !important;
    height: 58px !important;
    margin: 4px auto 1px !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item img {
    width: 66px !important;
    height: 66px !important;
    margin: 3px auto 2px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 6px !important;
    left: 8px !important;
    right: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
    min-width: 50px !important;
    max-width: 82px !important;
    padding: 4px 8px !important;
    font-size: .44rem !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .badge {
    font-size: .38rem !important;
    padding: 3px 6px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 48px !important;
    right: 8px !important;
    gap: 5px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-color: rgba(176, 0, 13, .28) !important;
    background: rgba(255, 253, 248, .96) !important;
    box-shadow: 0 8px 16px rgba(176, 0, 13, .1) !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: 10px !important;
    height: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-count {
    font-size: .31rem !important;
    font-weight: 900 !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 {
    font-size: .39rem !important;
    font-weight: 850 !important;
  }
}

/* v145 live-final marketplace card polish. Keep this as the last override. */
body.route-artists.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #fff6f7 0%, #ffe7ea 100%) !important;
  border-color: rgba(151, 18, 28, .24) !important;
}

body.route-tutors.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #f7fff3 0%, #e8f8de 100%) !important;
  border-color: rgba(47, 125, 59, .22) !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
  background: linear-gradient(180deg, #fffdf0 0%, #fff1c7 100%) !important;
  border-color: rgba(214, 153, 16, .34) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
  background: linear-gradient(180deg, #fff8f1 0%, #ffe4cf 100%) !important;
  border-color: rgba(208, 101, 47, .26) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
  top: 12px !important;
  left: 14px !important;
  right: 14px !important;
  z-index: 4 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
  min-width: 74px !important;
  max-width: 118px !important;
  height: auto !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #8f1119 !important;
  color: #fff7e9 !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(143, 17, 25, .16) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
  background: #2f7d3b !important;
  color: #fff !important;
}

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

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
  max-width: calc(100% - 20px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 760px) {
  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 {
    padding-bottom: 34px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 9px !important;
    left: 10px !important;
    right: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges .is-featured,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
    min-width: 58px !important;
    max-width: 86px !important;
    padding: 4px 8px !important;
    font-size: .48rem !important;
    line-height: 1.05 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    right: 14px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    max-width: calc(100% - 14px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
  }
}

/* v145 final EOF guard: logo-palette cards, inner rails, non-cut product/gallery actions. */
body.route-artists.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #fff6f7 0%, #ffe7ea 100%) !important;
  border-color: rgba(151, 18, 28, .2) !important;
}

body.route-tutors.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #f6fff4 0%, #e7f7df 100%) !important;
  border-color: rgba(37, 114, 50, .18) !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
  background: linear-gradient(180deg, #fffdf0 0%, #fff1c7 100%) !important;
  border-color: rgba(209, 145, 0, .28) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
  background: linear-gradient(180deg, #fff8f0 0%, #ffe4cf 100%) !important;
  border-color: rgba(208, 101, 47, .22) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
  top: 12px !important;
  left: 14px !important;
  right: 14px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
  min-width: 74px !important;
  max-width: 118px !important;
  height: auto !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #8f1119 !important;
  color: #fff7e9 !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(143, 17, 25, .16) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
  background: #2f7d3b !important;
  color: #fff !important;
}

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

@media (max-width: 760px) {
  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 {
    padding-bottom: 34px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 9px !important;
    left: 10px !important;
    right: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges .is-featured,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
    min-width: 58px !important;
    max-width: 86px !important;
    padding: 4px 8px !important;
    font-size: .48rem !important;
    line-height: 1.05 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    right: 14px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    max-width: calc(100% - 12px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
  }
}

/* v145 final marketplace card polish: logo-palette cards, safer badges, inner social rails. */
body.route-artists.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #fff6f7 0%, #ffe7ea 100%) !important;
  border-color: rgba(151, 18, 28, .2) !important;
}

body.route-tutors.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #f6fff4 0%, #e7f7df 100%) !important;
  border-color: rgba(37, 114, 50, .18) !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
  background: linear-gradient(180deg, #fffdf0 0%, #fff1c7 100%) !important;
  border-color: rgba(209, 145, 0, .28) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
  background: linear-gradient(180deg, #fff8f0 0%, #ffe4cf 100%) !important;
  border-color: rgba(208, 101, 47, .22) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
  top: 12px !important;
  left: 14px !important;
  right: 14px !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
  min-width: 74px !important;
  max-width: 118px !important;
  height: auto !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #8f1119 !important;
  color: #fff7e9 !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(143, 17, 25, .16) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
  background: #2f7d3b !important;
  color: #fff !important;
}

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

@media (max-width: 760px) {
  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 {
    padding-bottom: 34px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 9px !important;
    left: 10px !important;
    right: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
    min-width: 58px !important;
    max-width: 86px !important;
    padding: 4px 8px !important;
    font-size: .48rem !important;
    line-height: 1.05 !important;
  }

  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges .is-featured,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
    min-width: 58px !important;
    max-width: 86px !important;
    padding: 4px 8px !important;
    font-size: .48rem !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    right: 14px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    max-width: calc(100% - 12px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
  }
}

/* v144 exact mobile element overrides for class-specific legacy rules. */
@media (max-width: 760px) {
  body.route-artists.phase1-foundation .artist-card-tags .is-featured,
  body.route-artists.phase1-foundation .artist-card-tags .is-verified,
  body.route-tutors.phase1-foundation .artist-card-tags .is-featured,
  body.route-tutors.phase1-foundation .artist-card-tags .is-verified {
    min-width: 42px !important;
    max-width: 68px !important;
    height: auto !important;
    padding: 3px 7px !important;
    font-size: .42rem !important;
    line-height: 1.05 !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    font-size: .5rem !important;
    letter-spacing: 0 !important;
  }

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

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .product-image img {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }

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

  body.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.phase1-foundation .product-directory-section .marketplace-card-badges .is-featured {
    min-width: 56px !important;
    max-width: 88px !important;
    height: auto !important;
    padding: 4px 8px !important;
    font-size: .44rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !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 {
    font-size: .48rem !important;
    letter-spacing: 0 !important;
  }
}

/* v144 mobile card finishing: larger media/actions, clearer badges, distinct card surfaces. */
@media (max-width: 760px) {
  body.route-artists.phase1-foundation .artist-list-card {
    background: linear-gradient(180deg, #fffaf4 0%, #fff2e8 100%) !important;
    border-color: rgba(176, 0, 13, .18) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .1) !important;
  }

  body.route-tutors.phase1-foundation .artist-list-card {
    background: linear-gradient(180deg, #f8fcff 0%, #eff8ff 100%) !important;
    border-color: rgba(0, 91, 140, .16) !important;
    box-shadow: 0 12px 24px rgba(23, 63, 90, .1) !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
    background: linear-gradient(180deg, #fffff8 0%, #fff8df 100%) !important;
    border-color: rgba(176, 0, 13, .2) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .1) !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
    background: linear-gradient(180deg, #fff9fb 0%, #f7f2ff 100%) !important;
    border-color: rgba(176, 0, 13, .16) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .09) !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .avatar,
  body.route-tutors.phase1-foundation .artist-list-card .avatar {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    margin: 18px auto 1px !important;
  }

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

  body.route-artists.phase1-foundation .artist-card-tags span,
  body.route-tutors.phase1-foundation .artist-card-tags span {
    min-width: 42px !important;
    max-width: 66px !important;
    padding: 3px 7px !important;
    font-size: .4rem !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .badge,
  body.route-tutors.phase1-foundation .artist-list-card .badge {
    font-size: .39rem !important;
    padding: 2px 5px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    font-size: .42rem !important;
    font-weight: 800 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .product-image {
    width: 58px !important;
    height: 58px !important;
    margin: 4px auto 1px !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item img {
    width: 66px !important;
    height: 66px !important;
    margin: 3px auto 2px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 6px !important;
    left: 8px !important;
    right: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
    min-width: 50px !important;
    max-width: 82px !important;
    padding: 4px 8px !important;
    font-size: .44rem !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .badge {
    font-size: .38rem !important;
    padding: 3px 6px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 48px !important;
    right: 8px !important;
    gap: 5px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-color: rgba(176, 0, 13, .28) !important;
    background: rgba(255, 253, 248, .96) !important;
    box-shadow: 0 8px 16px rgba(176, 0, 13, .1) !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: 10px !important;
    height: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-count {
    font-size: .31rem !important;
    font-weight: 900 !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 {
    font-size: .39rem !important;
    font-weight: 850 !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.route-products .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
  top: 48px !important;
}

body.phase1-foundation.route-gallery .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
  top: 48px !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.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-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;
  }
}

/* v143 mobile directory parity for product/gallery filters and 2-column cards. */
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-mobile-filter-toggle,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-close {
  display: none !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist details[open] p {
  display: block !important;
}

@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-mobile-filter-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    min-height: 28px !important;
    margin: 0 0 8px 3px !important;
    padding: 5px 11px !important;
    border: 1px solid rgba(176, 0, 13, .26) !important;
    border-radius: 999px !important;
    background: #fff8ef !important;
    color: #a6060e !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 22px rgba(71, 35, 13, .08) !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-mobile-filter-toggle .listing-icon-svg {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-mobile-filter-toggle.is-active {
    background: #b0000d !important;
    color: #fff !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-panel {
    display: none !important;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 0 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-panel.is-mobile-open {
    display: block !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-panel.is-mobile-open .marketplace-filter-close {
    display: inline-grid !important;
    place-items: center !important;
    position: absolute !important;
    right: 10px !important;
    top: 10px !important;
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    border: 1px solid rgba(176, 0, 13, .18) !important;
    border-radius: 50% !important;
    background: #fff8ef !important;
    color: #a6060e !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-filter-card {
    position: relative !important;
  }

  body.route-artists.phase1-foundation .artist-profile-grid,
  body.route-tutors.phase1-foundation .artist-profile-grid,
  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(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card,
  body.route-tutors.phase1-foundation .artist-list-card {
    aspect-ratio: 1 / 1 !important;
    padding: 6px 5px !important;
    gap: 2px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .avatar,
  body.route-tutors.phase1-foundation .artist-list-card .avatar {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
    margin: 18px auto 1px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .badge,
  body.route-tutors.phase1-foundation .artist-list-card .badge {
    font-size: .36rem !important;
    padding: 2px 4px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card h3,
  body.route-tutors.phase1-foundation .artist-list-card h3 {
    min-height: 30px !important;
    font-size: .47rem !important;
    line-height: 1.05 !important;
    -webkit-line-clamp: 2 !important;
  }

  body.route-artists.phase1-foundation .artist-list-card p,
  body.route-tutors.phase1-foundation .artist-list-card p {
    min-height: 20px !important;
    font-size: .32rem !important;
    line-height: 1.08 !important;
    -webkit-line-clamp: 2 !important;
  }

  body.route-artists.phase1-foundation .artist-list-card small,
  body.route-tutors.phase1-foundation .artist-list-card small {
    font-size: .3rem !important;
  }

  body.route-artists.phase1-foundation .artist-list-signals span,
  body.route-tutors.phase1-foundation .artist-list-signals span {
    max-width: 66px !important;
    padding: 2px 4px !important;
    font-size: .28rem !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    min-height: 18px !important;
    padding: 2px !important;
    border-radius: 5px !important;
    font-size: .31rem !important;
  }

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

  body.route-artists.phase1-foundation .artist-card-tags span,
  body.route-tutors.phase1-foundation .artist-card-tags span {
    max-width: 58px !important;
    padding: 2px 5px !important;
    font-size: .3rem !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: 8px 6px 28px !important;
    gap: 2px !important;
    border-radius: 8px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .product-image {
    width: 46px !important;
    height: 46px !important;
    border-radius: 8px !important;
    margin: 2px auto 1px !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 8px !important;
    margin: 1px auto 2px !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 {
    font-size: .3rem !important;
    padding: 2px 4px !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: .47rem !important;
    line-height: 1.07 !important;
    -webkit-line-clamp: 2 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 42px !important;
    right: 6px !important;
    gap: 4px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 20px !important;
    height: 20px !important;
    min-height: 20px !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: 8px !important;
    height: 8px !important;
  }

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

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    left: 6px !important;
    right: 6px !important;
    bottom: 6px !important;
    gap: 4px !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: 19px !important;
    height: 19px !important;
    padding: 2px !important;
    border-radius: 5px !important;
    font-size: .32rem !important;
    line-height: 1 !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: 60px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .compact-buying-checklist details p {
    margin: -1px auto 4px !important;
    max-width: 92% !important;
    font-size: .27rem !important;
    line-height: 1.12 !important;
  }
}

/* v144 final mobile cascade override. Keep after all older mobile guards. */
@media (max-width: 760px) {
  body.route-artists.phase1-foundation .artist-list-card {
    background: linear-gradient(180deg, #fffaf4 0%, #fff2e8 100%) !important;
    border-color: rgba(176, 0, 13, .18) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .1) !important;
  }

  body.route-tutors.phase1-foundation .artist-list-card {
    background: linear-gradient(180deg, #f8fcff 0%, #eff8ff 100%) !important;
    border-color: rgba(0, 91, 140, .16) !important;
    box-shadow: 0 12px 24px rgba(23, 63, 90, .1) !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
    background: linear-gradient(180deg, #fffff8 0%, #fff8df 100%) !important;
    border-color: rgba(176, 0, 13, .2) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .1) !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
    background: linear-gradient(180deg, #fff9fb 0%, #f7f2ff 100%) !important;
    border-color: rgba(176, 0, 13, .16) !important;
    box-shadow: 0 12px 24px rgba(71, 35, 13, .09) !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .avatar,
  body.route-tutors.phase1-foundation .artist-list-card .avatar {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    margin: 18px auto 1px !important;
  }

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

  body.route-artists.phase1-foundation .artist-card-tags span,
  body.route-tutors.phase1-foundation .artist-card-tags span {
    min-width: 42px !important;
    max-width: 66px !important;
    padding: 3px 7px !important;
    font-size: .4rem !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .badge,
  body.route-tutors.phase1-foundation .artist-list-card .badge {
    font-size: .39rem !important;
    padding: 2px 5px !important;
  }

  body.route-artists.phase1-foundation .artist-list-card .button.small,
  body.route-tutors.phase1-foundation .artist-list-card .button.small {
    font-size: .42rem !important;
    font-weight: 800 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .product-image {
    width: 58px !important;
    height: 58px !important;
    margin: 4px auto 1px !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item img {
    width: 66px !important;
    height: 66px !important;
    margin: 3px auto 2px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 6px !important;
    left: 8px !important;
    right: 8px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
    min-width: 50px !important;
    max-width: 82px !important;
    padding: 4px 8px !important;
    font-size: .44rem !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .badge {
    font-size: .38rem !important;
    padding: 3px 6px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 48px !important;
    right: 8px !important;
    gap: 5px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-action {
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-color: rgba(176, 0, 13, .28) !important;
    background: rgba(255, 253, 248, .96) !important;
    box-shadow: 0 8px 16px rgba(176, 0, 13, .1) !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: 10px !important;
    height: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .card-social-rail .social-count {
    font-size: .31rem !important;
    font-weight: 900 !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 {
    font-size: .39rem !important;
    font-weight: 850 !important;
  }
}

/* v145 live-final marketplace card polish. Keep this as the last override. */
body.route-artists.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #fff6f7 0%, #ffe7ea 100%) !important;
  border-color: rgba(151, 18, 28, .24) !important;
}

body.route-tutors.phase1-foundation .artist-list-card {
  background: linear-gradient(180deg, #f7fff3 0%, #e8f8de 100%) !important;
  border-color: rgba(47, 125, 59, .22) !important;
}

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card {
  background: linear-gradient(180deg, #fffdf0 0%, #fff1c7 100%) !important;
  border-color: rgba(214, 153, 16, .34) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
  background: linear-gradient(180deg, #fff8f1 0%, #ffe4cf 100%) !important;
  border-color: rgba(208, 101, 47, .26) !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
  top: 12px !important;
  left: 14px !important;
  right: 14px !important;
  z-index: 4 !important;
}

body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured {
  min-width: 74px !important;
  max-width: 118px !important;
  height: auto !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #8f1119 !important;
  color: #fff7e9 !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(143, 17, 25, .16) !important;
}

body.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
  background: #2f7d3b !important;
  color: #fff !important;
}

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

body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
  max-width: calc(100% - 20px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 760px) {
  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 {
    padding-bottom: 34px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges {
    top: 9px !important;
    left: 10px !important;
    right: 10px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges .is-featured,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
    min-width: 58px !important;
    max-width: 86px !important;
    padding: 4px 8px !important;
    font-size: .48rem !important;
    line-height: 1.05 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    right: 14px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    max-width: calc(100% - 14px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
  }
}
/* v146 mobile product/gallery title and rail finish. */
@media (max-width: 760px) {
  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    top: 34px !important;
    right: 14px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-products.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    white-space: normal !important;
    min-height: 17px !important;
    max-height: 18px !important;
    max-width: calc(100% - 18px) !important;
    font-size: .43rem !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    white-space: normal !important;
    min-height: 12px !important;
    max-height: 16px !important;
    max-width: calc(100% - 18px) !important;
    line-height: 1.12 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }
}
/* v147 mobile product/gallery finishing and safe card edges. */
@media (max-width: 760px) {
  body.route-products.phase1-foundation .product-directory-section .cards.marketplace-card-grid,
  body.route-products.route-products.phase1-foundation .product-directory-section .cards.marketplace-card-grid,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-grid.marketplace-card-grid,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-grid.marketplace-card-grid {
    width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 10px 10px !important;
    overflow: visible !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card,
  body.route-products.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,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .marketplace-card-badges {
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges span,
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
    min-width: 58px !important;
    max-width: 88px !important;
    padding: 4px 8px !important;
    font-size: .5rem !important;
    line-height: 1.08 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .badge,
  body.route-products.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 11px !important;
    max-width: calc(100% - 46px) !important;
    margin: 2px auto 1px !important;
    padding: 2px 5px !important;
    font-size: .4rem !important;
    line-height: 1.05 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-products.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3 {
    min-height: 22px !important;
    max-height: 24px !important;
    max-width: calc(100% - 14px) !important;
    margin-top: 2px !important;
    font-size: .46rem !important;
    line-height: 1.12 !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    min-height: 16px !important;
    max-height: 18px !important;
    max-width: calc(100% - 18px) !important;
    margin: 3px auto 0 !important;
    font-size: .46rem !important;
    line-height: 1.12 !important;
    color: #2a1a12 !important;
  }

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

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-result-card .card-actions,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .marketplace-result-card .card-actions {
    left: 7px !important;
    right: 7px !important;
    bottom: 7px !important;
    gap: 4px !important;
  }
}
/* v148 mobile marketplace button text lock. */
@media (max-width: 760px) {
  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions .button,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-result-card .card-actions .button,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .marketplace-result-card .card-actions .button {
    white-space: nowrap !important;
    min-width: 0 !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    font-size: .39rem !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
  }
}
/* v149 mobile marketplace width balance. */
@media (max-width: 760px) {
  body.route-products.phase1-foundation .product-directory-section .cards.marketplace-card-grid,
  body.route-products.route-products.phase1-foundation .product-directory-section .cards.marketplace-card-grid,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-grid.marketplace-card-grid,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-grid.marketplace-card-grid {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-products.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3 {
    max-width: calc(100% - 12px) !important;
    font-size: .44rem !important;
    line-height: 1.1 !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    max-width: calc(100% - 42px) !important;
    font-size: .44rem !important;
    line-height: 1.12 !important;
  }
}

/* v150 final mobile Product/Gallery card polish. */
@media (max-width: 760px) {
  body.route-products.phase1-foundation .product-directory-section .marketplace-card-badges,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-card-badges,
  body.route-gallery.phase1-foundation .gallery-directory-section .marketplace-card-badges,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .marketplace-card-badges {
    top: 9px !important;
    left: 10px !important;
    right: 10px !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-card-badges .is-featured,
  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-card-badges .is-featured {
    min-height: 14px !important;
    padding: 4px 9px !important;
    font-size: .52rem !important;
    line-height: 1.05 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .badge,
  body.route-products.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card .badge {
    min-height: 12px !important;
    max-width: calc(100% - 38px) !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
    font-size: .46rem !important;
    line-height: 1.05 !important;
  }

  body.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3,
  body.route-products.route-products.phase1-foundation .product-directory-section .product-card.marketplace-result-card h3 {
    min-height: 17px !important;
    max-height: 17px !important;
    margin-top: 1px !important;
    margin-bottom: 0 !important;
    font-size: .45rem !important;
    line-height: 1.08 !important;
    overflow: hidden !important;
  }

  body.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .gallery-item-card.marketplace-result-card .gallery-item span {
    min-height: 20px !important;
    max-height: 21px !important;
    width: auto !important;
    max-width: none !important;
    margin: 4px 34px 0 10px !important;
    font-size: .48rem !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow: hidden !important;
  }

  body.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-products.route-products.phase1-foundation .product-directory-section .ecommerce-product-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .design-gallery-card.marketplace-result-card .marketplace-social-actions.card-social-rail {
    right: 13px !important;
  }

  body.phase1-foundation:is(.route-products, .route-gallery) .marketplace-result-card .card-actions,
  body.route-products.route-products.phase1-foundation .product-directory-section .marketplace-result-card .card-actions,
  body.route-gallery.route-gallery.phase1-foundation .gallery-directory-section .marketplace-result-card .card-actions {
    left: 7px !important;
    right: 7px !important;
    bottom: 6px !important;
  }
}
