/* Readable customer typography. rem units preserve browser text-size preferences. */
body.sm-marketplace {
  --sm-copy: clamp(1rem, .95rem + .15vw, 1.125rem);
  --sm-small: .875rem;
  --sm-heading: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-size: var(--sm-copy);
  line-height: 1.7;
  --muted: #52677e;
}
body.sm-marketplace :is(.btn, .mp-market-more, .sm-pagination a) {
  min-height: 44px;
  font-size: var(--sm-small);
  line-height: 1.6;
  white-space: normal;
}
body.sm-marketplace :is(.category-list a, .sm-category-group li a, .sm-group-link, .footer-links a) {
  font-size: var(--sm-small);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
body.sm-marketplace :is(.section-title h2, .mp-partner-banner h2, .join-banner h2) {
  font-size: var(--sm-heading);
  line-height: 1.5;
  letter-spacing: 0;
}
body.sm-marketplace :is(.section-title p, .section-title > a, .sm-help, .sm-member-notice,
 .sm-catalog-heading p, .fl-note, .fl-badge, .fl-old-price, .fl-list small,
 .sm-category-group small, .sm-breadcrumb, .sm-buy-form label, .sm-price-label,
 .mp-market-member-note, .mp-market-member-note a, .mp-market-campaign-copy small,
 .mp-zone-empty p, .mp-zone-empty > a, .mp-store-area, .mp-store-type,
 .mp-store-visit, .mp-store-body .shop-menus li, .mp-provider, .mp-service-description,
 .mp-service-category small, .mp-service-category b, .mp-service-price > span,
 .mp-service-price del, .mp-partner-banner p, .mp-more-services,
 .mp-more-services a, .mp-more-services span, .mp-more-services b) {
  font-size: var(--sm-small);
  line-height: 1.7;
}
body.sm-marketplace :is(.section-title p, .mp-store-area, .mp-provider, .mp-service-description,
 .mp-zone-empty p, .mp-market-member-note, .mp-service-price > span, .mp-partner-banner p,
 .mp-more-services span, .sm-list-price) { color: #52677e; }
body.sm-marketplace :is(.sm-description, .fl-package-copy) { font-size: var(--sm-copy); }
body.sm-marketplace :is(.product-card h3, .mp-store-body h3, .mp-service-body h3,
 .fl-published-card h3, .mp-zone-empty h3) {
  font-size: var(--sm-copy);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.sm-marketplace .product-card h3 {
  font-size: clamp(.875rem, .82rem + .15vw, 1rem);
  line-height: 1.4;
  min-height: 2.8em;
  margin: 7px 1px 4px;
}
body.sm-marketplace .product-card .price {
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.375rem);
  line-height: 1.35;
  letter-spacing: 0;
}
body.sm-marketplace .product-card .sm-card-rating { margin: 3px 1px; line-height: 1.5; }
body.sm-marketplace .product-card .sm-card-price { margin: 0 1px; }
body.sm-marketplace .product-card .sm-product-actions { margin-top: 8px; }
body.sm-marketplace .sm-card-price .sm-list-price { font-size: .75rem; }
body.sm-marketplace .sm-card-saving { font-size: .75rem; white-space: normal; }
body.sm-marketplace .sm-member-discount { font-size: .6875rem; line-height: 1.5; max-width: calc(100% - 12px); }
body.sm-marketplace .sm-product-actions .btn { font-size: var(--sm-small); min-height: 44px; }
body.sm-marketplace :is(.mp-market-categories > a, .mp-skill-categories > a) {
  font-size: var(--sm-small);
  line-height: 1.5;
  overflow-wrap: break-word;
}
body.sm-marketplace .mp-market-categories > a > span:last-child { min-height: 3em; max-width: 100%; line-height: inherit; }
.mp-category-word { white-space: nowrap; }
body.sm-marketplace .mp-market-campaign h1 { font-size: clamp(1.125rem, .9rem + 1vw, 1.875rem); line-height: 1.5; }
body.sm-marketplace .section-title { flex-wrap: wrap; }
body.sm-marketplace .mp-store-visit { min-height: 44px; align-items: center; }
body.sm-marketplace .mp-store-area { min-height: 3.4em; }
body.sm-marketplace .mp-service-category { flex-wrap: wrap; padding-top: 42px; }
body.sm-marketplace .mp-service-category b { white-space: normal; }
body.sm-marketplace .mp-zone-empty { flex-wrap: wrap; }
body.sm-marketplace .mp-zone-empty > a { white-space: normal; min-height: 44px; display: inline-flex; align-items: center; }
body.sm-marketplace .mp-more-services { flex-wrap: wrap; }
body.sm-marketplace .mp-more-services > a { min-height: 44px; display: inline-flex; align-items: center; }
body.sm-marketplace .sm-filter :is(input, select),
body.sm-marketplace .sm-store-header .search input { font-size: 1rem; min-height: 44px; }
body.sm-marketplace .sm-filter :is(input, select, button) { font-family: inherit; }
body.sm-marketplace .sm-store-header :is(.main-nav, .account a, .sm-seller-menu, .utility, .brand small) { font-size: var(--sm-small); }
body.sm-marketplace .sm-store-header .account a { min-height: 44px; align-content: center; }
body.sm-marketplace .sm-store-header .search select { font-size: var(--sm-small); max-width: 160px; min-height: 44px; }
body.sm-marketplace .sm-store-header .search button { width: 44px; height: 44px; flex-shrink: 0; }
body.sm-marketplace .sm-store-header .main-nav { gap: 16px; }
body.sm-marketplace .sm-store-header .main-nav > a { min-height: 44px; align-content: center; }
body.sm-marketplace .sm-store-header .brand small { max-width: none; font-size: .8125rem; }
body.sm-marketplace .sm-store-footer { font-size: var(--sm-small); }
@media (min-width: 761px) and (max-width: 1100px) {
  body.sm-marketplace .sm-store-header .brand small { display: none; }
  body.sm-marketplace .mp-market-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.sm-marketplace .mp-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.sm-marketplace .sm-store-header .brand strong { font-size: 1.375rem; }
  body.sm-marketplace .sm-store-header .account { gap: 4px; }
  body.sm-marketplace .sm-store-header .account > a:not(.sm-cart-link):not(.sm-notifications-link).sm-account-entry {
    font-size: var(--sm-small);
    min-height: 44px;
    padding: 4px 6px;
  }
  body.sm-marketplace .sm-store-header :is(.sm-cart-link, .sm-notifications-link) { width: 44px; height: 44px; }
  body.sm-marketplace .sm-store-header .search select { max-width: 42%; padding: 6px; }
  body.sm-marketplace .sm-store-header .search input { padding: 6px; }
  body.sm-marketplace .sm-mobile-shortcuts a {
    font-size: .8125rem;
    min-height: 3.75rem;
    line-height: 1.45;
    padding: 4px 2px;
    justify-content: flex-start;
    overflow-wrap: normal;
  }
  body.sm-marketplace .sm-mobile-shortcuts svg { flex-shrink: 0; }
  body.sm-marketplace .sm-mobile-shortcuts .sm-shortcut-word { white-space: nowrap; }
  body.sm-marketplace .mp-market-categories > a { font-size: .8125rem; padding-inline: 1px; }
  body.sm-marketplace.mp-home .mp-market-categories { row-gap: 8px; }
  body.sm-marketplace.mp-home .mp-market-campaign { min-height: 0; padding-block: 8px; }
  body.sm-marketplace.mp-home .mp-market-campaign h1 { font-size: 1.0625rem; line-height: 1.45; }
  body.sm-marketplace.mp-home .mp-shelf { margin-top: 14px; }
  body.sm-marketplace.mp-home .section-title h2 { font-size: clamp(1.25rem, 1.08rem + .7vw, 1.5rem); }
  body.sm-marketplace.mp-home .sm-product-actions .btn { font-size: .8125rem; }
  body.sm-marketplace.mp-home .section-title > a { font-size: .8125rem; }
  body.sm-marketplace.mp-home .mp-market-member-note { font-size: .75rem; }
  body.sm-marketplace.mp-home .mp-market-member-note a { font-size: .8125rem; }
  body.sm-marketplace .mobile-bottom a { font-size: .8125rem; min-height: 48px; line-height: 1.5; }
  body.sm-marketplace .mp-market-member-note { flex-wrap: wrap; }
  body.sm-marketplace .mp-market-member-note a { min-height: 44px; display: inline-flex; align-items: center; }
  body.sm-marketplace .mp-store-grid { grid-auto-columns: minmax(180px, 62%); }
  body.sm-marketplace .mp-store-cover { height: 120px; }
  body.sm-marketplace .mp-store-body { padding: 12px; }
  body.sm-marketplace .mp-skill-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sm-marketplace .mp-service-grid { grid-template-columns: 1fr; }
  body.sm-marketplace .mp-service-category small { max-width: 100%; }
  body.sm-marketplace .mp-service-body .sm-product-actions .btn { font-size: var(--sm-small); }
  body.sm-marketplace :is(.mp-home, .section) { scroll-margin-top: 235px; }
}
.sm-search-toggle { display: none; }
@media (max-width: 760px) {
  body.sm-marketplace .sm-search-enhanced:not(.sm-search-open) #market-search { display: none; }
  body.sm-marketplace .sm-search-enhanced .sm-search-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    min-height: 44px;
    border: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
  }
  body.sm-marketplace .sm-search-enhanced .sm-search-toggle[aria-expanded="true"] { background: #ffffff26; }
}
@media (max-width: 380px) {
  body.sm-marketplace .sm-store-header .brand { gap: 4px; }
  body.sm-marketplace .sm-store-header .brand strong { font-size: 1.125rem; letter-spacing: -.5px; }
  body.sm-marketplace .sm-store-header .brand img { width: 26px; height: 26px; }
  body.sm-marketplace .sm-store-header .account { gap: 2px; }
  body.sm-marketplace .sm-store-header :is(.sm-cart-link, .sm-notifications-link) { width: 40px; }
  body.sm-marketplace .sm-search-enhanced .sm-search-toggle { width: 40px; }
}
@media (max-width: 440px) {
  body.sm-marketplace .sm-search-enhanced .brand { gap: 5px; }
  body.sm-marketplace .sm-search-enhanced .brand strong { font-size: 1.375rem; letter-spacing: -.5px; }
  body.sm-marketplace .sm-search-enhanced .brand img { width: 30px; height: 30px; }
  body.sm-marketplace .sm-search-enhanced .account { gap: 2px; }
  body.sm-marketplace .sm-search-enhanced :is(.sm-search-toggle, .sm-cart-link, .sm-notifications-link) { width: 34px; }
}
@media (max-width: 370px) {
  body.sm-marketplace .sm-search-enhanced .brand strong { font-size: 1.125rem; }
  body.sm-marketplace .sm-search-enhanced .brand img { width: 26px; height: 26px; }
  body.sm-marketplace .sm-search-enhanced :is(.sm-search-toggle, .sm-cart-link, .sm-notifications-link) { width: 30px; }
}
