/* Shared visual parity for the two Discovery destinations. */
:root {
  --discovery-ink: #171713;
  --discovery-stone: #efeee9;
  --discovery-surface: #faf9f6;
  --discovery-light: #f7f6f2;
  --discovery-green: #dfece5;
  --discovery-green-hover: #d3e4da;
}

html body.discovery-commercial-page,
html body.marketplace-page {
  color: var(--discovery-ink) !important;
  font-family: Inter, var(--site-body), system-ui, sans-serif !important;
  text-rendering: geometricPrecision;
}

html body.discovery-commercial-page :where(h1, h2, h3, h4, p, a, button, input, select, textarea, strong, span),
html body.marketplace-page :where(h1, h2, h3, h4, p, a, button, input, select, textarea, strong, span) {
  font-family: Inter, var(--site-body), system-ui, sans-serif;
}

/* Work with us remains intentionally lighter than the directory pages. */
html body.discovery-commercial-page {
  --discovery-green: #dff2e5;
  --discovery-green-hover: #d4ebdc;
  --discovery-green-pill: #dcece3;
  --discovery-green-ink: #2f684d;
  background: var(--discovery-light) !important;
}

html body.discovery-commercial-page .discovery-page {
  background: var(--discovery-light) !important;
}

html body.discovery-commercial-page .hero h1 {
  max-width: 7.5ch;
  color: var(--discovery-ink) !important;
  font-size: clamp(58px, 5.25vw, 82px) !important;
  font-weight: 700 !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}

html body.discovery-commercial-page .hero-copy {
  max-width: 39ch;
  color: #45443f !important;
  font-size: 16px !important;
  line-height: 1.48 !important;
}

html body.discovery-commercial-page .button,
html body.discovery-commercial-page .prototype-action {
  border-radius: 12px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
}

html body.discovery-commercial-page .button:not(.button--secondary),
html body.discovery-commercial-page .prototype-action:not(.prototype-action--secondary) {
  border-color: var(--discovery-ink) !important;
  background: var(--discovery-ink) !important;
  color: #fff !important;
}

html body.discovery-commercial-page .button--secondary,
html body.discovery-commercial-page .prototype-action--secondary {
  border-color: transparent !important;
  background: var(--discovery-green) !important;
  color: var(--discovery-ink) !important;
}

html body.discovery-commercial-page .button:hover,
html body.discovery-commercial-page .button:focus-visible,
html body.discovery-commercial-page .prototype-action:hover,
html body.discovery-commercial-page .prototype-action:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

html body.discovery-commercial-page .button--secondary:hover,
html body.discovery-commercial-page .button--secondary:focus-visible,
html body.discovery-commercial-page .prototype-action--secondary:hover,
html body.discovery-commercial-page .prototype-action--secondary:focus-visible {
  background: var(--discovery-green-hover) !important;
}

html body.discovery-commercial-page .interface-frame,
html body.discovery-commercial-page .benefit-panel {
  border: 0 !important;
  border-radius: 22px !important;
  background: var(--discovery-stone) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .prototype-directory {
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .prototype-tabs {
  gap: 4px;
  padding: 4px !important;
  border: 0 !important;
  background: var(--discovery-surface) !important;
}

html body.discovery-commercial-page .prototype-tab {
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--discovery-ink) !important;
}

html body.discovery-commercial-page .prototype-tab--active {
  background: var(--discovery-ink) !important;
  color: #fff !important;
}

html body.discovery-commercial-page .example-listing,
html body.discovery-commercial-page .prototype-info-card {
  overflow: hidden;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .listing-media {
  overflow: hidden;
  aspect-ratio: 16 / 9 !important;
  border-radius: 16px 16px 0 0 !important;
  background: #deddd8 !important;
}

html body.discovery-commercial-page .listing-media img,
html body.discovery-commercial-page .prototype-list__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  image-rendering: auto;
}

html body.discovery-commercial-page .demo-tags span,
html body.discovery-commercial-page .listing-availability,
html body.discovery-commercial-page .prototype-info-card__meta span {
  border: 0 !important;
  border-radius: 999px !important;
  background: #d8e7ff !important;
  color: var(--discovery-ink) !important;
}

html body.discovery-commercial-page .demo-tags span:nth-child(2n),
html body.discovery-commercial-page .listing-availability {
  background: #d9f2e5 !important;
}

html body.discovery-commercial-page .benefit-list {
  overflow: hidden;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--discovery-surface) !important;
}

html body.discovery-commercial-page .benefit-list li {
  border-color: rgba(23, 23, 19, .07) !important;
}

html body.discovery-commercial-page .benefit-icon {
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--discovery-green-pill) !important;
  color: var(--discovery-green-ink) !important;
}

html body.discovery-commercial-page .kc-presence-summary__kicker,
html body.discovery-commercial-page .prototype-list__status,
html body.discovery-commercial-page .independence-icon,
html body.discovery-commercial-page .price-founding,
html body.discovery-commercial-page .offer-badge {
  border: 0 !important;
  background: var(--discovery-green-pill) !important;
  color: var(--discovery-green-ink) !important;
}

html body.discovery-commercial-page .pricing-footnote.supplier-note,
html body.discovery-commercial-page .commercial-detail-grid .form-section {
  border-color: transparent !important;
  background: var(--discovery-green) !important;
}

/* Attention-generation chapter: an editorial explanation, not a cramped table. */
html body.discovery-commercial-page .discovery-story__chapter--attention {
  --attention-green: #2f684d;
  --attention-green-bg: #dff2e5;
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr) !important;
  align-items: start !important;
  gap: clamp(42px, 5vw, 68px) !important;
  padding: clamp(30px, 3vw, 40px) !important;
  border-radius: 20px !important;
  background: #f4f3ee !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__copy {
  padding: 10px 2px 0 !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__copy h3 {
  margin: 0 !important;
  font-size: 36px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__copy p {
  max-width: 32ch !important;
  margin-top: 16px !important;
  color: #55534d !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__attention-map {
  display: grid !important;
  gap: 10px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .attention-stack {
  display: grid !important;
  flex: none !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route {
  grid-template-columns: 34px minmax(165px, .55fr) minmax(0, 1.45fr) !important;
  gap: 16px !important;
  min-height: 0 !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route + .attention-route {
  border-top: 1px solid rgba(23, 23, 19, .07) !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route__icon {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--attention-green-bg) !important;
  color: var(--attention-green) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route strong {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route__body span {
  color: #55534d !important;
  font-size: 13.5px !important;
  line-height: 1.48 !important;
}

html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__integrity {
  margin: 0 !important;
  padding: 13px 15px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--attention-green-bg) !important;
  color: var(--attention-green) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
}

@media (max-width: 900px) {
  html body.discovery-commercial-page .discovery-story__chapter--attention {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__copy {
    padding: 0 !important;
  }
}

@media (max-width: 680px) {
  html body.discovery-commercial-page .discovery-story__chapter--attention {
    padding: 22px 20px !important;
    border-radius: 18px !important;
  }

  html body.discovery-commercial-page .discovery-story__chapter--attention .discovery-story__attention-map {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 7px 12px !important;
    padding: 13px !important;
  }

  html body.discovery-commercial-page .discovery-story__chapter--attention .attention-route__body {
    grid-column: 2 !important;
  }
}

/* Discovery catalogue launch state: preserve the directory shell without demo records. */
html body.marketplace-page main.market-page > .empty-state {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: transparent !important;
}

html body.marketplace-page main.market-page > .empty-state[hidden] {
  display: none !important;
}

html body.marketplace-page .empty-state__panel {
  width: min(720px, 100%) !important;
  padding: 46px 38px !important;
  border-radius: 24px !important;
  background: var(--discovery-surface) !important;
  text-align: center !important;
}

html body.marketplace-page .empty-state__eyebrow {
  display: block !important;
  margin-bottom: 12px !important;
  color: var(--discovery-green-ink) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

html body.marketplace-page .empty-state__panel h2 {
  margin: 0 0 10px !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  line-height: 1.08 !important;
}

html body.marketplace-page .empty-state__panel p {
  max-width: 610px !important;
  margin: 0 auto !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

html body.marketplace-page .empty-state__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 9px !important;
  margin-top: 22px !important;
}

html body.marketplace-page .empty-state__actions .button {
  margin-top: 0 !important;
}

html body.marketplace-page .empty-state__actions [data-empty-clear][hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  html body.marketplace-page main.market-page > .empty-state {
    align-items: flex-start !important;
    padding: 14px 0 24px !important;
  }

  html body.marketplace-page .empty-state__panel {
    padding: 34px 22px !important;
    border-radius: 20px !important;
  }

  html body.marketplace-page .empty-state__actions {
    flex-direction: column !important;
  }

  html body.marketplace-page .empty-state__actions .button {
    width: 100% !important;
  }
}

/* Discovery Listings: match the Product Research filter rail and keep the
   commercial disclosure in the action bar instead of a detached footer strip. */
html body.marketplace-page .market-info-control {
  z-index: 120 !important;
}

@media (min-width: 1181px) {
  html body.marketplace-page .market-page {
    grid-template-rows: auto auto minmax(0, 1fr) !important;
  }

  html body.marketplace-page .market-toolbar {
    grid-template-columns: minmax(220px, .86fr) 40px auto auto !important;
  }

  html body.marketplace-page .market-sidebar {
    padding: 18px 14px 22px !important;
    border-radius: 20px !important;
    background: #fbfaf7 !important;
    box-shadow: inset 0 0 0 1px rgba(31, 29, 24, .045) !important;
  }

  html body.marketplace-page .market-sidebar__head {
    position: sticky !important;
    top: -18px !important;
    z-index: 4 !important;
    min-height: 55px !important;
    margin: -18px -14px 8px !important;
    padding: 18px 16px 10px !important;
    background: rgba(251, 250, 247, .97) !important;
  }

  html body.marketplace-page .market-sidebar__head strong {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
  }

  html body.marketplace-page .market-sidebar__head button[data-clear-filters] {
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  html body.marketplace-page .market-filter-cluster,
  html body.marketplace-page .market-filter-cluster.has-sort-direction {
    gap: 3px 7px !important;
  }

  html body.marketplace-page .market-select-button {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 38px 0 43px !important;
    border-radius: 12px !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 620 !important;
  }

  html body.marketplace-page .market-select-button:hover,
  html body.marketplace-page .market-select-button:focus-visible,
  html body.marketplace-page .market-select-shell.is-open .market-select-button {
    background: #eeece5 !important;
  }

  html body.marketplace-page .market-select-button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 13px !important;
    width: 18px !important;
    height: 18px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 18px 18px !important;
    transform: translateY(-50%) !important;
    opacity: .72 !important;
  }

  html body.marketplace-page .filter-field--type .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='14' height='11.5' rx='2'/%3E%3Cpath d='M7 5.5V3.5h6v2M7 10h6'/%3E%3C/svg%3E") !important;
  }

  html body.marketplace-page .filter-field:not(.filter-field--type):not(.filter-field--region):not(.filter-field--sort) .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M3 5h14M5.5 10h9M8 15h4'/%3E%3C/svg%3E") !important;
  }

  html body.marketplace-page .filter-field--region .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M3 10h14M10 3c2 2.1 3 4.4 3 7s-1 4.9-3 7c-2-2.1-3-4.4-3-7s1-4.9 3-7Z'/%3E%3C/svg%3E") !important;
  }

  html body.marketplace-page .filter-field--sort .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v14m0 0-3-3m3 3 3-3M12 5h5M12 10h4M12 15h3'/%3E%3C/svg%3E") !important;
  }
}

/* Marketplace follows the completed directory system. */
html body.marketplace-page,
html body.marketplace-page .market-page {
  background: var(--discovery-stone) !important;
}

/* Discovery pages use the same contained desktop masthead as the redesigned
   directories. Keep the dropdown above the locked directory workspace. */
@media (min-width: 769px) {
  html body.marketplace-page header.site-header,
  html body.discovery-commercial-page header.site-header {
    z-index: 10000 !important;
    overflow: visible !important;
    border-bottom: 0 !important;
    background: var(--discovery-stone) !important;
  }

  html body.marketplace-page header.site-header nav,
  html body.discovery-commercial-page header.site-header nav {
    gap: 2px !important;
    min-height: 44px !important;
    padding: 4px 6px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--discovery-surface) !important;
    box-shadow: none !important;
  }

  html body.marketplace-page header.site-header nav > a,
  html body.marketplace-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle,
  html body.discovery-commercial-page header.site-header nav > a,
  html body.discovery-commercial-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle {
    display: inline-flex !important;
    min-height: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
  }

  html body.marketplace-page header.site-header nav > a:hover,
  html body.marketplace-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle:hover,
  html body.discovery-commercial-page header.site-header nav > a:hover,
  html body.discovery-commercial-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle:hover {
    background: #f3f1eb !important;
  }

  html body.marketplace-page header.site-header nav > a.active,
  html body.marketplace-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle.active,
  html body.discovery-commercial-page header.site-header nav > a.active,
  html body.discovery-commercial-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle.active {
    background: #ebe9e2 !important;
    color: var(--discovery-ink) !important;
  }

  html body.marketplace-page header.site-header nav > a:focus,
  html body.marketplace-page header.site-header nav > a:focus-visible,
  html body.marketplace-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle:focus,
  html body.marketplace-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle:focus-visible,
  html body.discovery-commercial-page header.site-header nav > a:focus,
  html body.discovery-commercial-page header.site-header nav > a:focus-visible,
  html body.discovery-commercial-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle:focus,
  html body.discovery-commercial-page header.site-header nav > .nav-dropdown > .nav-dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  html body.marketplace-page header.site-header nav .nav-dropdown-menu,
  html body.discovery-commercial-page header.site-header nav .nav-dropdown-menu {
    top: calc(100% + 8px) !important;
    z-index: 20000 !important;
    padding: 7px !important;
    border-radius: 14px !important;
    background: var(--discovery-surface) !important;
    box-shadow: 0 18px 42px rgba(31, 29, 24, .15) !important;
  }

  html body.marketplace-page header.site-header nav .nav-dropdown-menu a.nav-dropdown-item,
  html body.discovery-commercial-page header.site-header nav .nav-dropdown-menu a.nav-dropdown-item {
    min-height: 38px !important;
    padding: 0 11px !important;
    border-radius: 9px !important;
    font-size: 10.5px !important;
  }

  html body.marketplace-page header.site-header nav .nav-dropdown-menu a.nav-dropdown-item.active,
  html body.marketplace-page header.site-header nav .nav-dropdown-menu a.nav-dropdown-item:hover,
  html body.discovery-commercial-page header.site-header nav .nav-dropdown-menu a.nav-dropdown-item.active,
  html body.discovery-commercial-page header.site-header nav .nav-dropdown-menu a.nav-dropdown-item:hover {
    background: var(--discovery-green) !important;
    color: #244a36 !important;
  }
}

html body.marketplace-page .market-page {
  padding-bottom: 28px !important;
}

html body.marketplace-page .site-footer.site-footer--editorial {
  display: none !important;
}

html body.marketplace-page .site-footer {
  display: none !important;
}

@media (min-width: 1181px) {
  html body.marketplace-page {
    height: 100dvh !important;
    overflow: hidden !important;
  }

  html body.marketplace-page .market-page {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    height: calc(100dvh - var(--site-header-h, 57px)) !important;
    max-height: calc(100dvh - var(--site-header-h, 57px)) !important;
    padding-top: 24px !important;
    padding-bottom: 18px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body.marketplace-page .market-sidebar {
    top: 24px !important;
    bottom: 18px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: none !important;
  }

  html body.marketplace-page .market-sidebar::-webkit-scrollbar,
  html body.marketplace-page .market-grid::-webkit-scrollbar,
  html body.marketplace-page .market-list::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
  }

  html body.marketplace-page .market-grid,
  html body.marketplace-page .market-list,
  html body.marketplace-page .empty-state {
    grid-row: 3 !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin-top: 0 !important;
    padding-top: 10px !important;
    padding-right: 6px !important;
    padding-bottom: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }

  html body.marketplace-page .market-grid {
    grid-auto-rows: max-content !important;
    align-content: start !important;
  }

  html body.marketplace-page .market-grid .market-card {
    height: auto !important;
  }

  html body.marketplace-page .market-list {
    align-content: start !important;
    overflow-x: auto !important;
  }

  html body.marketplace-page .market-principle {
    grid-row: 4 !important;
    margin-top: 8px !important;
  }
}

html body.marketplace-page .market-tabs,
html body.marketplace-page .market-sidebar,
html body.marketplace-page .filter-field--search,
html body.marketplace-page .market-view-toggle {
  border: 0 !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.marketplace-page .market-tabs {
  gap: 5px !important;
  padding: 6px !important;
  border-radius: 20px !important;
}

html body.marketplace-page .market-tab {
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: var(--discovery-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.marketplace-page .market-tab.is-active,
html body.marketplace-page .market-tab[aria-selected="true"] {
  background: var(--discovery-ink) !important;
  color: #fff !important;
}

html body.marketplace-page .market-sidebar {
  border-radius: 24px !important;
}

html body.marketplace-page .market-sidebar__head strong {
  color: var(--discovery-ink) !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: -.025em !important;
}

html body.marketplace-page .market-sidebar__head button[data-clear-filters] {
  border-bottom: 0 !important;
  text-decoration: none !important;
}

html body.marketplace-page .filter-control,
html body.marketplace-page .filter-field--search,
html body.marketplace-page .market-view-toggle,
html body.marketplace-page .market-submit {
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

html body.marketplace-page .filter-control {
  background-color: var(--discovery-surface) !important;
  color: var(--discovery-ink) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

html body.marketplace-page .filter-field--search,
html body.marketplace-page .filter-field--search .filter-control {
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 11px !important;
}

html body.marketplace-page .filter-field--search .filter-control {
  padding-inline: 16px !important;
}

html body.marketplace-page .market-sidebar .filter-control {
  min-height: 44px !important;
  padding-inline: 13px 36px !important;
  border-radius: 11px !important;
  background-color: #f1f0ea !important;
}

html body.marketplace-page .filter-control.is-customized {
  display: none !important;
}

html body.marketplace-page .market-select-shell {
  position: relative !important;
  width: 100% !important;
}

html body.marketplace-page .market-select-shell.is-open {
  z-index: 80 !important;
}

html body.marketplace-page .market-select-button {
  position: relative !important;
  width: 100% !important;
  height: 44px !important;
  padding: 0 38px 0 13px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #f1f0ea !important;
  color: var(--discovery-ink) !important;
  box-shadow: none !important;
  font-family: var(--site-body) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

html body.marketplace-page .market-select-button::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: translateY(-70%) rotate(45deg) !important;
}

html body.marketplace-page .market-select-shell.is-open .market-select-button::after {
  transform: translateY(-25%) rotate(225deg) !important;
}

html body.marketplace-page .market-select-button:hover,
html body.marketplace-page .market-select-button:focus,
html body.marketplace-page .market-select-button:focus-visible {
  outline: none !important;
  background: #ebe9e1 !important;
  box-shadow: none !important;
}

html body.marketplace-page .market-select-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 90 !important;
  display: grid !important;
  max-height: min(330px, calc(100vh - 150px)) !important;
  gap: 3px !important;
  padding: 7px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  border: 1px solid rgba(17, 16, 13, .10) !important;
  border-radius: 14px !important;
  background: #fffefb !important;
  box-shadow: 0 18px 42px rgba(31, 29, 24, .15) !important;
  scrollbar-width: none !important;
}

html body.marketplace-page .market-select-menu[hidden] {
  display: none !important;
}

html body.marketplace-page .market-select-menu::-webkit-scrollbar {
  display: none !important;
}

html body.marketplace-page .market-select-option {
  min-height: 38px !important;
  padding: 9px 11px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--discovery-ink) !important;
  font-family: var(--site-body) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  cursor: pointer !important;
}

html body.marketplace-page .market-select-option:hover {
  background: #f1efe8 !important;
}

html body.marketplace-page .market-select-option.is-active {
  background: var(--discovery-green) !important;
  color: #244a36 !important;
}

html body.marketplace-page .filter-control:hover,
html body.marketplace-page .filter-control:focus,
html body.marketplace-page .filter-control:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

html body.marketplace-page .market-view-toggle {
  padding: 4px !important;
}

html body.marketplace-page .view-button {
  min-height: 38px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--discovery-ink) !important;
  font-weight: 700 !important;
}

html body.marketplace-page .view-button.is-active,
html body.marketplace-page .view-button[aria-pressed="true"] {
  background: var(--discovery-ink) !important;
  color: #fff !important;
}

html body.marketplace-page .market-submit,
html body.marketplace-page .button--dark {
  border-color: var(--discovery-ink) !important;
  background: var(--discovery-ink) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.marketplace-page .market-submit {
  min-height: 46px !important;
  padding-inline: 17px !important;
  border-radius: 12px !important;
}

html body.marketplace-page .market-grid {
  gap: 16px !important;
}

html body.marketplace-page .market-card {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.marketplace-page .card-media {
  overflow: hidden !important;
  border-radius: 20px 20px 0 0 !important;
  background-color: #deddd8 !important;
}

html body.marketplace-page .card-media img {
  display: block !important;
  image-rendering: auto !important;
}

html body.marketplace-page .card-body {
  padding: 18px !important;
}

html body.marketplace-page .card-name {
  color: var(--discovery-ink) !important;
  font-size: 24px !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
}

html body.marketplace-page .card-description,
html body.marketplace-page .commerce-value,
html body.marketplace-page .card-company {
  color: #3f3e39 !important;
}

html body.marketplace-page .pill,
html body.marketplace-page .availability-flag {
  min-height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--discovery-ink) !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
}

html body.marketplace-page .pill--category-blue { background: #d8e7ff !important; }
html body.marketplace-page .pill--category-lilac { background: #eadcff !important; }
html body.marketplace-page .pill--category-cyan { background: #d5f2ff !important; }
html body.marketplace-page .pill--category-pink { background: #ffd9e3 !important; }
html body.marketplace-page .pill--category-yellow { background: #fff0b8 !important; }
html body.marketplace-page .pill--category-mint { background: #d4f3f1 !important; }
html body.marketplace-page .pill--attribute-blue { background: #d8e7ff !important; }
html body.marketplace-page .pill--attribute-lilac { background: #eadcff !important; }
html body.marketplace-page .pill--attribute-cyan { background: #d5f2ff !important; }
html body.marketplace-page .pill--attribute-pink { background: #ffd9e3 !important; }
html body.marketplace-page .pill--attribute-yellow { background: #fff0b8 !important; }
html body.marketplace-page .pill--attribute-mint { background: #d4f3f1 !important; }
html body.marketplace-page .pill--conditional { background: #eadcff !important; }
html body.marketplace-page .pill--positive,
html body.marketplace-page .availability-flag--positive { background: #d9f2e5 !important; }
html body.marketplace-page .pill--negative,
html body.marketplace-page .availability-flag--negative { background: #ffd9d2 !important; }
html body.marketplace-page .pill--neutral,
html body.marketplace-page .availability-flag--neutral { background: #d5f2ff !important; }

html body.marketplace-page .list-pill--category-blue { background: #d8e7ff !important; }
html body.marketplace-page .list-pill--category-lilac { background: #eadcff !important; }
html body.marketplace-page .list-pill--category-cyan { background: #d5f2ff !important; }
html body.marketplace-page .list-pill--category-pink { background: #ffd9e3 !important; }
html body.marketplace-page .list-pill--category-yellow { background: #fff0b8 !important; }
html body.marketplace-page .list-pill--category-mint { background: #d4f3f1 !important; }
html body.marketplace-page .list-pill--positive { background: #d9f2e5 !important; }
html body.marketplace-page .list-pill--conditional { background: #eadcff !important; }
html body.marketplace-page .list-pill--negative { background: #ffd9d2 !important; }
html body.marketplace-page .list-pill--neutral { background: #d5f2ff !important; }

html body.marketplace-page .card-actions {
  gap: 8px !important;
}

html body.marketplace-page .card-action {
  min-height: 38px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--discovery-green) !important;
  color: var(--discovery-ink) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  text-transform: none !important;
}

html body.marketplace-page .card-action--primary {
  background: var(--discovery-ink) !important;
  color: #fff !important;
}

html body.marketplace-page .market-list__row .card-action::after {
  content: none !important;
  display: none !important;
}

html body.marketplace-page .card-action:hover,
html body.marketplace-page .card-action:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

html body.marketplace-page .market-principle {
  margin-top: 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--discovery-green) !important;
  color: #274a3a !important;
}

@media (max-width: 768px) {
  html body.marketplace-page .market-page {
    padding-bottom: 18px !important;
  }
}

/* The mobile filter sheet lives inside the sticky toolbar. Backdrop filtering
   makes that toolbar a fixed-position containing block, which placed most of
   the sheet above the viewport. Keep the open sheet viewport-bound. */
@media (max-width: 1180px) {
  html body.marketplace-page:has(.market-filter-cluster.is-open) .market-toolbar {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html body.marketplace-page .market-filter-cluster.is-open {
    position: fixed !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 76px) !important;
    overscroll-behavior: contain !important;
  }
}

html body.marketplace-page .market-modal__panel,
html body.marketplace-page .plans-modal__panel,
html body.marketplace-page .submission-modal__panel {
  border: 0 !important;
  border-radius: 24px !important;
  background: var(--discovery-stone) !important;
  box-shadow: none !important;
}

html body.marketplace-page #listing-modal .modal-close {
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(250, 249, 246, .94) !important;
  color: var(--discovery-ink) !important;
  box-shadow: none !important;
}

html body.marketplace-page #listing-modal .modal-close:focus,
html body.marketplace-page #listing-modal .modal-close:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

html body.marketplace-page #listing-modal .modal-lead {
  background: transparent !important;
}

html body.marketplace-page #listing-modal .modal-body {
  display: grid !important;
  align-content: start !important;
  gap: 12px !important;
}

html body.marketplace-page #listing-modal .modal-body > * {
  margin-block: 0 !important;
}

html body.marketplace-page #listing-modal .modal-media__frame {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
}

html body.marketplace-page #listing-modal .modal-media__frame img {
  display: block !important;
}

html body.marketplace-page #listing-modal .modal-lead__summary,
html body.marketplace-page #listing-modal .modal-facts,
html body.marketplace-page #listing-modal .product-specs,
html body.marketplace-page #listing-modal .modal-disclosure {
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.marketplace-page #listing-modal .modal-disclosure {
  background: #dff2e5 !important;
  color: #315b45 !important;
}

html body.marketplace-page #listing-modal .modal-title {
  color: var(--discovery-ink) !important;
  font-size: 32px !important;
  font-weight: 750 !important;
  line-height: 1.02 !important;
  letter-spacing: -.04em !important;
}

html body.marketplace-page #listing-modal .modal-actions .button,
html body.marketplace-page #listing-modal .product-record-link {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html body.marketplace-page #listing-modal .modal-actions .button:not(.button--dark) {
  background: var(--discovery-green) !important;
  color: var(--discovery-ink) !important;
}

/* Keep the locked marketplace workspace focused on the listings. The section
   switcher and disclosure remain visible, but no longer consume a card row. */
@media (min-width: 1181px) {
  html body.marketplace-page .market-page {
    padding-top: 14px !important;
    padding-bottom: 12px !important;
    padding-left: 284px !important;
  }

  html body.marketplace-page .market-sidebar {
    top: 14px !important;
    bottom: 12px !important;
    width: 264px !important;
    padding: 22px 20px !important;
  }

  html body.marketplace-page .market-sidebar__head {
    margin-bottom: 20px !important;
  }

  html body.marketplace-page .market-sidebar__head strong {
    font-size: 20px !important;
  }

  html body.marketplace-page .market-filter-cluster,
  html body.marketplace-page .market-filter-cluster.has-sort-direction {
    gap: 12px 7px !important;
  }

  html body.marketplace-page .market-select-button,
  html body.marketplace-page .market-filter-cluster .filter-control,
  html body.marketplace-page .market-filter-cluster .sort-direction {
    height: 42px !important;
    min-height: 42px !important;
  }

  html body.marketplace-page .market-tabs {
    display: flex !important;
    width: max-content !important;
    max-width: 100% !important;
    min-height: 0 !important;
    justify-self: start !important;
    gap: 3px !important;
    margin: 0 0 8px !important;
    padding: 4px !important;
    overflow-x: auto !important;
    border-radius: 14px !important;
  }

  html body.marketplace-page .market-tab {
    min-width: 0 !important;
    min-height: 36px !important;
    padding-inline: 16px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  html body.marketplace-page .market-toolbar {
    gap: 8px !important;
    margin: 0 0 8px !important;
  }

  html body.marketplace-page .filter-field--search,
  html body.marketplace-page .filter-field--search .filter-control,
  html body.marketplace-page .market-view-toggle,
  html body.marketplace-page .market-submit {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 11px !important;
  }

  html body.marketplace-page .filter-field--search .filter-control {
    padding-inline: 15px !important;
  }

  html body.marketplace-page .market-view-toggle {
    padding: 3px !important;
  }

  html body.marketplace-page .view-button {
    min-height: 36px !important;
    padding-inline: 11px !important;
  }

  html body.marketplace-page .market-submit {
    padding-inline: 15px !important;
  }

  html body.marketplace-page .market-grid,
  html body.marketplace-page .market-list,
  html body.marketplace-page .empty-state {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  html body.marketplace-page .market-principle {
    min-height: 0 !important;
    margin-top: 6px !important;
    padding: 8px 14px !important;
    border-radius: 12px !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 680px) {
  html body.discovery-commercial-page .hero h1 {
    font-size: 46px !important;
  }

  html body.discovery-commercial-page .hero-copy {
    font-size: 15px !important;
  }

  html body.marketplace-page .market-card {
    min-width: 0 !important;
    border-radius: 15px !important;
  }

  html body.marketplace-page .card-media {
    border-radius: 15px 15px 0 0 !important;
  }

  html body.marketplace-page .card-body {
    padding: 11px !important;
  }

  html body.marketplace-page .card-name {
    font-size: 18px !important;
  }

  html body.marketplace-page .card-description {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    font-size: 12px !important;
  }

  html body.marketplace-page .card-action {
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 8px !important;
    font-size: 11px !important;
  }
}

/* Reverse the selected surface without changing the shared Discovery badge
   geometry or its established floating position. */
#work-with-header.site-header nav > .nav-dropdown.nav-dropdown--discovery > .nav-dropdown-toggle.active,
#work-with-header.site-header nav > .nav-dropdown.discovery-nav-dropdown > .nav-dropdown-toggle.active {
  background: var(--discovery-surface) !important;
  color: var(--discovery-ink) !important;
}

/* Independence principles read as one meaningful information family while
   the enclosing section remains the quieter stone canvas. */
html body.discovery-commercial-page .independence-grid > p {
  background: var(--discovery-green) !important;
}

html body.discovery-commercial-page .independence-grid > p .independence-icon {
  background: var(--discovery-surface) !important;
  color: var(--discovery-green-ink) !important;
}

/* Commercial pricing follows the directory language: one stone module,
   warm-white rows, direct typography, and green reserved for status. */
html body.discovery-commercial-page .offer-wrap {
  padding: 76px 0 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

html body.discovery-commercial-page .offer-wrap > h2[data-pricing-heading] {
  max-width: 780px !important;
  margin-inline: auto !important;
  font-size: clamp(38px, 4vw, 56px) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  text-align: center !important;
}

html body.discovery-commercial-page .offer-intro {
  margin: 12px auto 28px !important;
  color: #5b5a55 !important;
  font-size: 15px !important;
  text-align: center !important;
}

html body.discovery-commercial-page .offer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 14px !important;
  border-radius: 28px !important;
  background: var(--discovery-stone) !important;
}

html body.discovery-commercial-page .offer-grid > .offer,
html body.discovery-commercial-page .offer-grid > .offer.offer--record,
html body.discovery-commercial-page .offer-grid > .offer.offer--primary {
  display: grid !important;
  grid-template-columns: minmax(190px, .8fr) 150px minmax(360px, 1.55fr) 158px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 22px !important;
  align-items: center !important;
  gap: 20px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .offer-grid > .offer.offer--record {
  background: #f7f6f2 !important;
}

html body.discovery-commercial-page .offer-grid > .offer.offer--primary {
  background: var(--discovery-green) !important;
}

html body.discovery-commercial-page .offer__identity,
html body.discovery-commercial-page .offer__price,
html body.discovery-commercial-page .offer__features {
  min-width: 0 !important;
}

html body.discovery-commercial-page .offer__identity h3 {
  margin: 0 !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
}

html body.discovery-commercial-page .offer__identity .offer-summary {
  margin: 6px 0 0 !important;
  color: #5b5a55 !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

html body.discovery-commercial-page .offer-badge {
  position: static !important;
  display: inline-flex !important;
  width: fit-content !important;
  margin: 0 0 9px !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  background: var(--discovery-surface) !important;
  color: var(--discovery-green-ink) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

html body.discovery-commercial-page .offer__price,
html body.discovery-commercial-page .offer__price.price {
  margin: 0 !important;
}

html body.discovery-commercial-page .offer__price .price,
html body.discovery-commercial-page p.offer__price {
  margin: 0 !important;
}

html body.discovery-commercial-page .offer__price .price-founding {
  display: block !important;
  width: fit-content !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--discovery-green-ink) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}

html body.discovery-commercial-page .offer__price strong {
  display: block !important;
  font-size: 31px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
}

html body.discovery-commercial-page .offer__price small {
  display: block !important;
  margin-top: 6px !important;
  color: #65645e !important;
  font-size: 9.5px !important;
  line-height: 1.35 !important;
}

html body.discovery-commercial-page .offer__price .price-standard {
  display: block !important;
  margin-top: 2px !important;
}

html body.discovery-commercial-page .offer__features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.discovery-commercial-page .offer__features li {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 0 0 15px !important;
  color: #45443f !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

html body.discovery-commercial-page .offer__features li::before {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  color: var(--discovery-green-ink) !important;
  content: "✓" !important;
}

html body.discovery-commercial-page .offer__action {
  width: 100% !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--discovery-ink) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body.discovery-commercial-page .offer-wrap > .supplier-note {
  grid-template-columns: 30px minmax(230px, .42fr) minmax(0, 1fr) !important;
  margin: 16px 0 0 !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  background: var(--discovery-green) !important;
}

html body.discovery-commercial-page .commercial-detail-heading {
  margin: 64px 0 20px !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
}

html body.discovery-commercial-page .offer-wrap > .commercial-detail-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 18px !important;
  margin-top: 0 !important;
  padding: 18px !important;
  border-radius: 28px !important;
  background: var(--discovery-stone) !important;
}

html body.discovery-commercial-page .commercial-detail-grid > .pricing-subsection {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 28px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--discovery-surface) !important;
  box-shadow: none !important;
}

html body.discovery-commercial-page .commercial-detail-grid .pricing-subsection__head {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 22px !important;
}

html body.discovery-commercial-page .commercial-detail-grid .pricing-subsection__head h3 {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 750 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

html body.discovery-commercial-page .commercial-detail-grid .pricing-subsection__head p {
  max-width: 52ch !important;
  margin: 8px 0 0 !important;
  color: #5b5a55 !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

html body.discovery-commercial-page #standalone .price-table {
  width: 100% !important;
  overflow: hidden !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  background: var(--discovery-stone) !important;
}

html body.discovery-commercial-page #standalone .price-table th,
html body.discovery-commercial-page #standalone .price-table td {
  padding: 14px 15px !important;
  border: 0 !important;
  color: var(--discovery-ink) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

html body.discovery-commercial-page #standalone .price-table thead th {
  color: #77766f !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

html body.discovery-commercial-page #standalone .price-table tbody tr + tr > * {
  border-top: 1px solid rgba(23, 23, 19, .08) !important;
}

html body.discovery-commercial-page #standalone .standalone-price-current {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

html body.discovery-commercial-page #standalone .standalone-price-current > * {
  display: inline !important;
  margin: 0 !important;
}

html body.discovery-commercial-page #standalone [data-standalone-listing-standard] {
  display: block !important;
  margin-top: 2px !important;
}

html body.discovery-commercial-page #standalone .standalone-listing-includes {
  display: grid !important;
  gap: 8px !important;
  margin: 16px 0 0 !important;
  padding: 14px 15px !important;
  border-radius: 14px !important;
  background: var(--discovery-green) !important;
  list-style: none !important;
}

html body.discovery-commercial-page #standalone .standalone-listing-includes li {
  color: var(--discovery-ink) !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
}

html body.discovery-commercial-page #standalone .standalone-listing-cta {
  align-self: flex-start !important;
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 16px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  background: var(--discovery-ink) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body.discovery-commercial-page #featured .price-strip--featured {
  display: grid !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.discovery-commercial-page #featured .price-tile,
html body.discovery-commercial-page #featured .price-tile:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 0 !important;
  align-items: center !important;
  gap: 6px 18px !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--discovery-stone) !important;
}

html body.discovery-commercial-page #featured .price-tile:nth-child(1) {
  background: #e5edf9 !important;
}

html body.discovery-commercial-page #featured .price-tile:nth-child(2) {
  background: #e1f0e6 !important;
}

html body.discovery-commercial-page #featured .price-tile:nth-child(3) {
  background: #eee4f6 !important;
}

html body.discovery-commercial-page #featured .price-tile__copy {
  min-width: 0 !important;
}

html body.discovery-commercial-page #featured .price-tile__name {
  display: block !important;
  color: var(--discovery-ink) !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.discovery-commercial-page #featured .price-tile p {
  margin: 3px 0 0 !important;
  color: #5b5a55 !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
}

html body.discovery-commercial-page #featured .price-tile small {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  color: #77766f !important;
  font-size: 10px !important;
}

html body.discovery-commercial-page #featured .price-tile strong {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  text-align: right !important;
}

html body.discovery-commercial-page .commercial-detail-grid > .pricing-subsection > .pricing-footnote {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: var(--discovery-stone) !important;
  color: #5b5a55 !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

html body.discovery-commercial-page #featured > .pricing-footnote {
  margin-top: auto !important;
}

html body.discovery-commercial-page .commercial-detail-grid > .form-section {
  grid-column: 1 / -1 !important;
  margin-top: 4px !important;
}

@media (max-width: 1040px) {
  html body.discovery-commercial-page .offer-grid > .offer,
  html body.discovery-commercial-page .offer-grid > .offer.offer--record,
  html body.discovery-commercial-page .offer-grid > .offer.offer--primary {
    grid-template-columns: minmax(180px, .75fr) 135px minmax(300px, 1.4fr) 140px !important;
    gap: 14px !important;
    padding: 18px !important;
  }
}

@media (max-width: 820px) {
  html body.discovery-commercial-page .offer-grid > .offer,
  html body.discovery-commercial-page .offer-grid > .offer.offer--record,
  html body.discovery-commercial-page .offer-grid > .offer.offer--primary {
    grid-template-columns: minmax(0, 1fr) 130px !important;
  }

  html body.discovery-commercial-page .offer__features {
    grid-column: 1 / -1 !important;
  }

  html body.discovery-commercial-page .offer__action {
    grid-column: 2 !important;
  }

  html body.discovery-commercial-page .offer-wrap > .commercial-detail-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  html body.discovery-commercial-page .offer-wrap {
    padding: 52px 0 0 !important;
  }

  html body.discovery-commercial-page .offer-wrap > h2[data-pricing-heading] {
    font-size: 31px !important;
  }

  html body.discovery-commercial-page .offer-grid,
  html body.discovery-commercial-page .offer-wrap > .commercial-detail-grid {
    padding: 8px !important;
    border-radius: 20px !important;
  }

  html body.discovery-commercial-page .offer-grid > .offer,
  html body.discovery-commercial-page .offer-grid > .offer.offer--record,
  html body.discovery-commercial-page .offer-grid > .offer.offer--primary {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 18px !important;
    border-radius: 15px !important;
  }

  html body.discovery-commercial-page .offer__features {
    grid-template-columns: 1fr !important;
  }

  html body.discovery-commercial-page .offer__action {
    grid-column: auto !important;
    width: fit-content !important;
    min-width: 150px !important;
  }

  html body.discovery-commercial-page .offer-wrap > .supplier-note {
    grid-template-columns: 26px 1fr !important;
  }

  html body.discovery-commercial-page .offer-wrap > .supplier-note span {
    grid-column: 2 !important;
  }

  html body.discovery-commercial-page .commercial-detail-heading {
    margin-top: 44px !important;
    font-size: 28px !important;
  }

  html body.discovery-commercial-page .commercial-detail-grid > .pricing-subsection {
    padding: 18px !important;
    border-radius: 15px !important;
  }

  html body.discovery-commercial-page #featured .price-tile,
  html body.discovery-commercial-page #featured .price-tile:last-child {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.discovery-commercial-page #featured .price-tile small {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  html body.discovery-commercial-page #featured .price-tile strong {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
  }
}

/* Final marketplace directory interaction authority. */
html body.marketplace-page .market-card,
html body.marketplace-page .market-list__row {
  cursor: pointer !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

@media (hover: hover) and (pointer: fine) {
  html body.marketplace-page .market-card:hover {
    background: #fffefa !important;
    box-shadow: 0 15px 30px rgba(31, 29, 24, .105) !important;
    transform: translateY(-3px) !important;
  }

  html body.marketplace-page .market-list__row:hover {
    background: #fffefa !important;
    box-shadow: 0 8px 18px rgba(31, 29, 24, .055) !important;
    transform: translateY(-1px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.marketplace-page :is(.market-card, .market-list__row) {
    transition: background-color 120ms ease !important;
    transform: none !important;
  }
}

/* Work With Us follows the shared warm-stone canvas with lighter chrome. */
@media (min-width: 769px) {
  html body.discovery-commercial-page #work-with-header.site-header {
    background: #efeee8 !important;
  }

  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop {
    background: #faf9f7 !important;
    color: var(--discovery-ink) !important;
  }

  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop > a,
  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop > .nav-dropdown > .nav-dropdown-toggle {
    color: var(--discovery-ink) !important;
  }

  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop > a:hover,
  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop > .nav-dropdown > .nav-dropdown-toggle:hover {
    background: #e5eee7 !important;
    color: var(--discovery-ink) !important;
  }

  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop > a.active,
  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop > .nav-dropdown > .nav-dropdown-toggle.active {
    background: #e5eee7 !important;
    color: var(--discovery-ink) !important;
  }

  html body.discovery-commercial-page #work-with-header.site-header nav.site-header-nav-desktop .nav-dropdown-menu {
    background: var(--discovery-surface) !important;
    color: var(--discovery-ink) !important;
  }
}

html body.discovery-commercial-page .discovery-page {
  padding-top: clamp(46px, 5vw, 72px) !important;
}

html body.discovery-commercial-page .hero {
  align-items: center !important;
  gap: clamp(36px, 5vw, 74px) !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial {
  margin-top: 0 !important;
  border: 0 !important;
  background: #efeee8 !important;
  color: var(--discovery-ink) !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial :is(
  .site-footer-editorial__wordmark,
  .site-footer-editorial__heading,
  .site-footer-editorial__copy,
  .site-footer-editorial__links a,
  .site-footer-editorial__social-link,
  .site-footer-editorial__submit-link
) {
  color: var(--discovery-ink) !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial :is(
  .site-footer-editorial__rule,
  .site-footer-editorial__grid::before,
  .site-footer-editorial__grid::after
) {
  display: none !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial .site-footer-editorial__newsletter-form {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #faf9f7 !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial .site-footer-editorial__newsletter-input {
  color: var(--discovery-ink) !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial .site-footer-editorial__newsletter-input::placeholder {
  color: rgba(31, 29, 24, .5) !important;
}

html body.discovery-commercial-page .site-footer.site-footer--editorial .site-footer-editorial__newsletter-button {
  border: 0 !important;
  background: var(--discovery-surface) !important;
  color: var(--discovery-ink) !important;
}

@media (max-width: 768px) {
  html body.discovery-commercial-page .discovery-page {
    padding-top: 28px !important;
  }

  html body.discovery-commercial-page #work-with-header.site-header {
    background: var(--discovery-light) !important;
  }
}

/* Final Discovery Listings control authority. */
html body.marketplace-page .market-info-control {
  z-index: 120 !important;
}

@media (min-width: 1181px) {
  html body.marketplace-page .market-page {
    grid-template-rows: auto auto minmax(0, 1fr) !important;
  }

  html body.marketplace-page .market-toolbar {
    grid-template-columns: minmax(220px, .86fr) 40px auto auto !important;
  }

  html body.marketplace-page .market-sidebar {
    padding: 18px 14px 22px !important;
    border-radius: 20px !important;
    background: #fbfaf7 !important;
    box-shadow: inset 0 0 0 1px rgba(31, 29, 24, .045) !important;
  }

  html body.marketplace-page .market-sidebar__head {
    position: sticky !important;
    top: -18px !important;
    z-index: 4 !important;
    min-height: 55px !important;
    margin: -18px -14px 8px !important;
    padding: 18px 16px 10px !important;
    background: rgba(251, 250, 247, .97) !important;
  }

  html body.marketplace-page .market-sidebar__head strong {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
  }

  html body.marketplace-page .market-sidebar__head button[data-clear-filters] {
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  html body.marketplace-page .market-filter-cluster,
  html body.marketplace-page .market-filter-cluster.has-sort-direction {
    gap: 3px 7px !important;
  }

  html body.marketplace-page .market-select-button {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 38px 0 43px !important;
    border-radius: 12px !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 620 !important;
  }

  html body.marketplace-page .market-select-button:hover,
  html body.marketplace-page .market-select-button:focus-visible,
  html body.marketplace-page .market-select-shell.is-open .market-select-button {
    background: #eeece5 !important;
  }

  html body.marketplace-page .market-select-button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 13px !important;
    width: 18px !important;
    height: 18px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 18px 18px !important;
    transform: translateY(-50%) !important;
    opacity: .72 !important;
  }

  html body.marketplace-page .filter-field--type .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='14' height='11.5' rx='2'/%3E%3Cpath d='M7 5.5V3.5h6v2M7 10h6'/%3E%3C/svg%3E") !important;
  }

  html body.marketplace-page .filter-field:not(.filter-field--type):not(.filter-field--region):not(.filter-field--sort) .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M3 5h14M5.5 10h9M8 15h4'/%3E%3C/svg%3E") !important;
  }

  html body.marketplace-page .filter-field--region .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M3 10h14M10 3c2 2.1 3 4.4 3 7s-1 4.9-3 7c-2-2.1-3-4.4-3-7s1-4.9 3-7Z'/%3E%3C/svg%3E") !important;
  }

  html body.marketplace-page .filter-field--sort .market-select-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23171613' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v14m0 0-3-3m3 3 3-3M12 5h5M12 10h4M12 15h3'/%3E%3C/svg%3E") !important;
  }
}

@media (max-width: 1180px) {
  html body.marketplace-page .market-toolbar {
    grid-template-columns: minmax(0, 1fr) 40px auto auto !important;
  }
}

/* Keep the Cards/Table segmented control content-sized inside the toolbar's
   auto grid track. Grid stretch otherwise leaves a broken empty tail. */
html body.marketplace-page .market-view-toggle {
  width: max-content !important;
  justify-self: start !important;
}
