/* ShareMore market layout selected from concept 1. All imagery and prices come from published listings. */
.mp-root {
  scroll-padding-top: 0
}

.mp-home {
  background: #f7faff;
  color: #102846
}

.mp-home .section-title {
  align-items: center;
  gap: 15px;
  margin-bottom: 15px
}

.mp-home .section-title h2 {
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
  font-weight: 800;
  letter-spacing: -.4px
}

.mp-home .section-title p {
  font-size: 11px;
  color: #62778d;
  margin: 5px 0 0
}

.mp-home .section-title>a {
  font-size: 12px;
  color: #0866e8;
  white-space: nowrap
}

.mp-section-label {
  display: none
}

.mp-zone {
  margin: 30px 0 35px;
  scroll-margin-top: 175px
}

.mp-market-campaign {
  display: flex;
  align-items: center;
  gap: 17px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 18px 0 8px;
  padding: 14px 23px;
  min-height: 96px;
  border-radius: 14px;
  background: linear-gradient(100deg, #b4ffd1 0%, #28c8b3 20%, #0285a7 45%, #0696bc 100%);
  color: white
}

.mp-market-campaign:after {
  content: '';
  position: absolute;
  inset: -30px -10px -100px 30%;
  border: 30px solid #ffffff10;
  border-radius: 50%;
  z-index: -1
}

.mp-market-campaign-art {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 75px;
  height: 64px;
  color: #075fe2;
  transform: rotate(-7deg)
}

.mp-market-campaign-art svg {
  width: 55px;
  height: 55px;
  filter: drop-shadow(4px 6px 1px #0663a125);
  stroke-width: 1.8
}

.mp-market-campaign-art i {
  position: absolute;
  width: 32px;
  height: 36px;
  right: 0;
  bottom: 0;
  background: linear-gradient(130deg, #ffe5a0, #ffb94c);
  border-radius: 4px;
  transform: rotate(12deg);
  z-index: -1;
  box-shadow: 5px 5px 0 #f3a72e24
}

.mp-market-campaign-copy {
  flex: 1;
  min-width: 0
}

.mp-market-campaign-copy small {
  font-size: 12px;
  font-weight: 600
}

.mp-market-campaign h1 {
  font-size: 26px;
  line-height: 1.35;
  margin: 3px 0 0;
  font-weight: 800;
  color: white;
  letter-spacing: -.4px
}

.mp-market-campaign-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffffeb;
  color: #04869f;
  font-size: 26px;
  font-weight: 700
}

.mp-market-categories {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  background: white;
  border-radius: 14px;
  padding: 20px 16px;
  margin: 12px 0 9px
}

.mp-market-categories>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
  color: #132a46;
  border-radius: 10px;
  padding: 3px 4px;
  font-size: 12px;
  font-weight: 600;
  min-width: 0
}

.mp-market-categories>a:hover {
  background: #f4f8ff;
  color: #0866e8
}

.mp-market-categories>a>span:last-child {
  max-width: 115px;
  line-height: 1.5;
  min-height: 36px
}

.mp-market-category-icon {
  width: 56px;
  height: 53px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #0866e8;
  background: linear-gradient(145deg, #f1f8ff, #d6eaff);
  box-shadow: inset 0 1px 0 #fff, 0 4px 9px #0866e808
}

.mp-market-category-icon svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(1px 3px 0 #0061c510)
}

.mp-market-category-icon.tone-orange {
  background: linear-gradient(145deg, #fff9e9, #fff0c4);
  color: #e69a00
}

.mp-market-category-icon.tone-green {
  background: linear-gradient(145deg, #e6fff3, #c8fae4);
  color: #0ab77e
}

.mp-market-category-icon.tone-pink {
  background: linear-gradient(145deg, #fff1f5, #ffdce5);
  color: #e85d82
}

.mp-market-category-icon.tone-cyan {
  background: linear-gradient(145deg, #edfaff, #d6f3ff);
  color: #078fce
}

.mp-market-category-icon.tone-teal {
  background: linear-gradient(145deg, #e9fff9, #cef9ee);
  color: #069d98
}

.mp-market-category-icon.tone-purple {
  background: linear-gradient(145deg, #f5f0ff, #e9dfff);
  color: #7950cf
}

.mp-market-member-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #62778d;
  padding: 5px 3px 0
}

.mp-market-member-note a {
  font-weight: 700;
  color: #0866e8;
  white-space: nowrap
}

body.mp-home .mp-shelf .product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 15px;
  overflow: visible;
  padding: 0
}

.mp-home .product-card {
  border: 1px solid #e2ebf5;
  border-radius: 13px;
  padding: 7px;
  box-shadow: 0 3px 10px #11346b03;
  position: relative;
  background: white;
  display: flex;
  flex-direction: column
}

.mp-home .product-card>a {
  display: block
}

.mp-home .product-picture {
  border-radius: 9px;
  background: #f6f9fd
}

.mp-home .product-card .category {
  display: none
}

.mp-home .product-card h3 {
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  margin: 9px 1px 6px;
  min-height: 38px
}

.mp-home .product-card .price {
  font-size: 20px;
  letter-spacing: -.5px;
  color: #0663e9;
  font-weight: 800
}

.mp-home .sm-card-price {
  gap: 5px;
  margin: 0 1px
}

.mp-home .sm-list-price {
  color: #7e8da1;
  font-size: 10px
}

.mp-home .sm-card-saving {
  font-size: 9px;
  margin: 5px 1px 0;
  padding: 2px 6px
}

.mp-home .sm-member-discount {
  top: 6px;
  left: 6px;
  font-size: 9px;
  padding: 3px 6px;
  background: #b8ffd7
}

.mp-home .sm-product-actions {
  margin: 10px 0 0;
  gap: 6px
}

.mp-home .sm-product-actions .btn {
  font-size: 10px;
  min-height: 31px;
  padding: 7px 9px
}

.mp-home .sm-product-actions .sm-secondary {
  display: none
}

.mp-home .sm-product-actions>.btn:last-child {
  width: 100%;
  background: #edf5ff;
  color: #075bc8
}

.mp-home .sm-product-actions>.btn:last-child:hover {
  background: #0866e8;
  color: #fff
}

.mp-market-more {
  display: block;
  margin: 16px auto 0;
  border: 1px solid #d2e3f8;
  border-radius: 99px;
  background: white;
  color: #0866e8;
  padding: 8px 22px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer
}

.mp-market-more[hidden] {
  display: none !important
}

.mp-home.market-interactive.mp-discover .product-grid:not(.is-expanded) .product-card:nth-child(n+7) {
  display: none
}

.mp-store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.mp-store-card {
  background: white;
  border: 1px solid #e1eaf4;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column
}

.mp-store-cover {
  display: grid;
  place-items: center;
  position: relative;
  height: 142px;
  background: linear-gradient(140deg, #e2f4ff, #ddfbeb);
  overflow: hidden
}

.mp-store-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.mp-store-initial {
  font-size: 45px;
  color: #2c81bd;
  font-weight: 700
}

.mp-store-type {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  background: #ffffffed;
  border-radius: 99px;
  padding: 3px 7px;
  font-size: 9px;
  color: #486783
}

.mp-store-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.mp-store-body h3 {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px
}

.mp-store-area {
  font-size: 10px;
  color: #62778d;
  line-height: 1.7;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px
}

.mp-store-body .shop-menus {
  margin: 3px 0 12px;
  min-height: 42px
}

.mp-store-body .shop-menus li {
  font-size: 10px;
  gap: 7px;
  align-items: flex-start
}

.mp-store-body .shop-menus li>span,
.mp-store-body .shop-menus li>a {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.mp-store-body .shop-menus strong {
  flex-shrink: 0
}

.mp-store-visit {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #0866e8;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #edf3fa
}

.mp-online-card .mp-store-cover {
  background: #f2f8ff
}

.mp-online-card .mp-store-cover img {
  object-fit: contain;
  padding: 10px
}

.mp-zone-empty {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px;
  background: white;
  border: 1px dashed #d3e2f2;
  border-radius: 12px
}

.mp-zone-empty>span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #eaf4ff;
  color: #5283b4;
  font-size: 27px
}

.mp-zone-empty>div {
  flex: 1;
  min-width: 0
}

.mp-zone-empty h3 {
  font-size: 16px;
  margin: 0 0 5px
}

.mp-zone-empty p {
  font-size: 11px;
  color: #62778d;
  margin: 0
}

.mp-zone-empty>a {
  font-size: 12px;
  color: #0866e8;
  font-weight: 600;
  white-space: nowrap
}

.mp-skill-categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 17px
}

.mp-skill-categories>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  padding: 14px 8px;
  background: white;
  border: 1px solid #e3ecf6;
  border-radius: 11px;
  font-size: 11px
}

.mp-skill-categories span {
  font-size: 23px;
  color: #0866e8
}

.mp-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.mp-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid #e1eaf4;
  border-radius: 12px;
  overflow: hidden
}

.mp-service-category {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 106px;
  padding: 21px;
  background: linear-gradient(130deg, #e3f2ff, #ddfbee)
}

.mp-service-category>span {
  font-size: 34px;
  color: #3179c4
}

.mp-service-category small {
  font-size: 13px;
  font-weight: 600;
  max-width: 65%
}

.mp-service-category b {
  position: absolute;
  right: 9px;
  top: 9px;
  background: #ffffffdf;
  border-radius: 99px;
  padding: 2px 7px;
  font-size: 9px;
  color: #476582;
  font-weight: 500
}

.mp-service-body {
  padding: 17px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.mp-provider {
  font-size: 10px;
  color: #62778d;
  margin: 0 0 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden
}

.mp-service-body h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 8px
}

.mp-service-description {
  font-size: 11px;
  color: #62778d;
  line-height: 1.8;
  margin: 0 0 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.mp-service-price {
  margin-top: auto
}

.mp-service-price>span {
  font-size: 10px;
  color: #62778d
}

.mp-service-price del {
  font-size: 11px;
  color: #7d8ca0;
  margin-right: 7px
}

.mp-service-price strong {
  font-size: 23px;
  color: #0866e8;
  font-weight: 800
}

.mp-service-body .sm-product-actions .sm-secondary {
  display: inline-flex
}

.mp-service-body .sm-product-actions>.btn:last-child {
  width: auto;
  background: #0866e8;
  color: white
}

.mp-partner-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(120deg, #e8f3ff, #e4fcf2);
  padding: 25px;
  border: 1px solid #d9eaf5;
  border-radius: 15px;
  margin: 30px 0 15px
}

.mp-partner-banner h2 {
  font-size: 23px;
  margin: 5px 0
}

.mp-partner-banner p {
  font-size: 12px;
  color: #62778d;
  margin: 0
}

.mp-partner-banner>div:last-child {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  flex-shrink: 0
}

.mp-more-services {
  display: flex;
  gap: 23px;
  align-items: center;
  padding: 16px 0 28px;
  font-size: 11px
}

.mp-more-services>div {
  flex: 1
}

.mp-more-services b {
  display: block;
  font-size: 13px
}

.mp-more-services span {
  display: block;
  color: #62778d;
  font-size: 10px;
  margin-top: 4px
}

.mp-more-services>a {
  color: #0866e8;
  white-space: nowrap
}

.mp-image-missing {
  visibility: hidden
}

@media(max-width:1100px) and (min-width:761px) {
  body.mp-home .mp-shelf .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .mp-market-categories {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 4px
  }

  .mp-market-categories>a {
    font-size: 10px
  }

  .mp-partner-banner {
    flex-direction: column;
    align-items: flex-start
  }
}

@media(max-width:760px) {
  body.mp-home {
    background: #fff
  }

  .mp-home>.wrap,
  body.mp-home main.wrap {
    width: calc(100% - 22px)
  }

  .mp-home .section-title {
    gap: 10px;
    margin-bottom: 11px;
    align-items: flex-start
  }

  .mp-home .section-title h2 {
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: -.4px
  }

  .mp-home .section-title p {
    font-size: 10px;
    line-height: 1.6;
    margin: 4px 0 0
  }

  .mp-home .section-title>a {
    font-size: 10px;
    margin-top: 4px
  }

  .mp-zone {
    margin: 24px 0 25px;
    scroll-margin-top: 165px
  }

  .mp-market-campaign {
    gap: 10px;
    margin: 10px 0 7px;
    padding: 9px 12px;
    min-height: 72px;
    border-radius: 10px;
    background: linear-gradient(100deg, #afffcf 0%, #20c8b0 18%, #0487a5 42%, #059cc3 100%)
  }

  .mp-market-campaign-art {
    width: 43px;
    height: 48px
  }

  .mp-market-campaign-art svg {
    width: 39px;
    height: 39px
  }

  .mp-market-campaign-art i {
    width: 23px;
    height: 28px;
    right: 0;
    bottom: 2px
  }

  .mp-market-campaign-copy small {
    font-size: 10px;
    line-height: 1.3;
    display: block
  }

  .mp-market-campaign h1 {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -.3px;
    margin: 3px 0 0
  }

  .mp-market-campaign-arrow {
    width: 23px;
    height: 23px;
    font-size: 20px
  }

  .mp-market-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 5px;
    padding: 12px 2px 3px;
    margin: 0 0 5px;
    border-radius: 0;
    background: white
  }

  .mp-market-categories>a {
    font-size: 10px;
    padding: 0 3px;
    gap: 5px
  }

  .mp-market-categories>a>span:last-child {
    min-height: 30px;
    max-width: 88px;
    line-height: 1.45
  }

  .mp-market-category-icon {
    width: 46px;
    height: 44px;
    border-radius: 12px
  }

  .mp-market-category-icon svg {
    width: 30px;
    height: 30px
  }

  .mp-market-member-note {
    font-size: 9px;
    padding: 3px 2px 0
  }

  .mp-market-member-note a {
    font-size: 9px
  }

  body.mp-home .mp-shelf .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    overflow: visible;
    padding: 0
  }

  .mp-home.market-interactive.mp-discover .product-grid:not(.is-expanded) .product-card:nth-child(n+3) {
    display: none
  }

  .mp-home .product-card {
    padding: 5px;
    border-radius: 11px;
    box-shadow: 0 2px 6px #11346b03
  }

  .mp-home .product-picture {
    border-radius: 8px
  }

  .mp-home .product-card h3 {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    min-height: 35px;
    margin: 8px 2px 5px
  }

  .mp-home .product-card .price {
    font-size: 20px;
    letter-spacing: -.6px
  }

  .mp-home .sm-card-price {
    margin: 0 2px;
    gap: 4px
  }

  .mp-home .sm-list-price {
    font-size: 9px
  }

  .mp-home .sm-card-saving {
    font-size: 8px;
    padding: 2px 5px;
    margin-top: 4px
  }

  .mp-home .sm-member-discount {
    top: 5px;
    left: 5px;
    font-size: 8px;
    padding: 3px 5px
  }

  .mp-home .sm-product-actions {
    margin: 7px 0 0
  }

  .mp-home .sm-product-actions .btn {
    min-height: 29px;
    font-size: 10px;
    padding: 6px 7px
  }

  .mp-market-more {
    font-size: 11px;
    padding: 7px 20px;
    margin-top: 12px
  }

  .mp-store-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 20px)/3);
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: none
  }

  .mp-store-card {
    border-radius: 10px;
    scroll-snap-align: start
  }

  .mp-store-cover {
    height: 81px
  }

  .mp-store-initial {
    font-size: 29px
  }

  .mp-store-type {
    font-size: 7px;
    top: 5px;
    left: 5px;
    padding: 2px 5px
  }

  .mp-store-body {
    padding: 8px 7px
  }

  .mp-store-body h3 {
    font-size: 10px;
    line-height: 1.45;
    min-height: 29px;
    margin-bottom: 4px
  }

  .mp-store-area {
    font-size: 8px;
    line-height: 1.6;
    min-height: 25px;
    margin-bottom: 3px
  }

  .mp-store-body .shop-menus {
    display: none
  }

  .mp-store-visit {
    font-size: 8px;
    padding-top: 7px;
    gap: 3px;
    margin-top: 5px;
    line-height: 1.5
  }

  .mp-store-visit>span {
    display: none
  }

  .mp-zone-empty {
    padding: 17px 13px;
    gap: 12px;
    flex-wrap: wrap
  }

  .mp-zone-empty>span {
    width: 36px;
    height: 36px;
    font-size: 23px;
    border-radius: 10px
  }

  .mp-zone-empty>div {
    min-width: 180px
  }

  .mp-zone-empty h3 {
    font-size: 14px;
    line-height: 1.5
  }

  .mp-zone-empty p {
    font-size: 10px
  }

  .mp-zone-empty>a {
    font-size: 11px;
    margin-left: 48px
  }

  .mp-skill-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 13px
  }

  .mp-skill-categories>a {
    font-size: 9px;
    gap: 4px;
    padding: 10px 6px
  }

  .mp-skill-categories span {
    font-size: 21px
  }

  .mp-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .mp-service-category {
    min-height: 83px;
    padding: 13px 10px;
    gap: 7px
  }

  .mp-service-category>span {
    font-size: 25px
  }

  .mp-service-category small {
    font-size: 10px
  }

  .mp-service-category b {
    font-size: 7px;
    top: 6px;
    right: 6px
  }

  .mp-service-body {
    padding: 11px
  }

  .mp-provider {
    font-size: 8px;
    margin-bottom: 5px
  }

  .mp-service-body h3 {
    font-size: 12px;
    line-height: 1.5
  }

  .mp-service-description {
    font-size: 9px;
    margin-bottom: 10px
  }

  .mp-service-price>span {
    font-size: 8px
  }

  .mp-service-price del {
    font-size: 9px
  }

  .mp-service-price strong {
    font-size: 18px
  }

  .mp-service-body .sm-product-actions {
    flex-direction: column
  }

  .mp-service-body .sm-product-actions .btn {
    width: 100% !important;
    font-size: 9px
  }

  .mp-partner-banner {
    padding: 19px 15px;
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px
  }

  .mp-partner-banner h2 {
    font-size: 19px
  }

  .mp-partner-banner p {
    font-size: 11px
  }

  .mp-partner-banner .btn {
    font-size: 11px;
    padding: 8px 12px
  }

  .mp-more-services {
    flex-wrap: wrap;
    gap: 13px 18px
  }

  .mp-more-services>div {
    flex-basis: 100%
  }

  .mp-more-services>a {
    font-size: 10px
  }
}

@media(max-width:360px) {
  .mp-market-campaign {
    gap: 7px;
    padding: 8px 9px;
    min-height: 69px
  }

  .mp-market-campaign-art {
    width: 36px
  }

  .mp-market-campaign-copy small {
    font-size: 9px
  }

  .mp-market-campaign h1 {
    font-size: 13px
  }

  .mp-market-categories>a {
    font-size: 9px
  }

  .mp-market-category-icon {
    width: 43px;
    height: 41px
  }

  .mp-home .section-title h2 {
    font-size: 17px
  }

  .mp-home .section-title>a {
    font-size: 9px
  }

  .mp-home .product-card .price {
    font-size: 18px
  }

  .mp-home .product-card h3 {
    font-size: 11px
  }

  .mp-store-grid {
    grid-auto-columns: calc((100% - 12px)/2.65);
    gap: 8px
  }

  .mp-zone-empty>div {
    min-width: 150px
  }
}

@media(prefers-reduced-motion:reduce) {
  .mp-home * {
    scroll-behavior: auto !important;
    transition: none !important
  }
}

body.mp-home.mp-discover #discover>.category-list {
  display: none
}

/* Six primary destinations and swipeable published listing previews. */
/* Compact, single-row navigation; native scrolling also supports touch and keyboards. */
body.mp-home .mp-market-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #b6d3e5 transparent;
  padding: 6px 6px 8px;
  margin: 0;
  background: linear-gradient(110deg, #edf7ff 0%, #effbf7 55%, #f1f4ff 100%);
  border: 1px solid #deebf4;
  border-radius: 16px;
  box-shadow: 0 3px 12px #146da306;
}

body.mp-home .mp-market-categories>a {
  flex: 0 0 86px;
  min-width: 0;
  scroll-snap-align: start;
  font-size: 12px;
  padding: 0 2px;
  gap: 3px;
  line-height: 1.3;
}

body.mp-home .mp-market-categories>a>span:last-child {
  min-height: 2.6em;
  line-height: 1.3;
}

body.mp-home .mp-market-category-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

body.mp-home .mp-market-category-icon svg {
  width: 23px;
  height: 23px;
}

@media(min-width:761px) {
  body.mp-home .mp-market-categories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 14px;
    overflow: visible;
  }

  body.mp-home .mp-market-categories>a {
    flex: initial;
    padding: 8px 6px;
    border-radius: 12px;
    gap: 6px;
    font-size: 13px;
  }

  body.mp-home .mp-market-categories>a>span:last-child {
    min-height: 0;
  }

  body.mp-home .mp-market-category-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  body.mp-home .mp-market-category-icon svg {
    width: 24px;
    height: 24px;
  }
}

body.mp-home .mp-shelf #home-product-grid,
body.mp-home [data-preview-row] {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 75px)/6);
  gap: 15px;
  overflow-x: auto;
  padding: 2px 1px 10px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

body.mp-home .mp-store-grid[data-preview-row] {
  grid-auto-columns: calc((100% - 48px)/4);
}

body.mp-home .mp-service-grid[data-preview-row] {
  grid-auto-columns: calc((100% - 32px)/3);
}

body.mp-home :is(#home-product-grid, [data-preview-row])>* {
  scroll-snap-align: start;
  min-width: 0;
}

.mp-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 5px;
}

.mp-slider-controls[hidden] {
  display: none;
}

.mp-slider-controls button {
  width: 44px;
  min-height: 44px;
  border: 1px solid #d3e3f4;
  background: #fff;
  color: #0866e8;
  border-radius: 50%;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mp-slider-controls button:disabled {
  opacity: .35;
  cursor: default;
}

@media(max-width:1100px) and (min-width:761px) {
  body.mp-home .mp-shelf #home-product-grid {
    grid-auto-columns: calc((100% - 45px)/4);
  }
}

@media(max-width:760px) {
  body.mp-home .mp-shelf #home-product-grid {
    grid-auto-columns: 46%;
    gap: 10px;
  }

  body.mp-home .mp-store-grid[data-preview-row],
  body.mp-home .mp-service-grid[data-preview-row] {
    grid-auto-columns: 72%;
    gap: 12px;
  }
}

.mp-store-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #3b799d;
  padding: 16px;
}

.mp-store-placeholder svg {
  width: 42px;
  height: 42px;
}

.mp-store-placeholder small {
  font-size: 13px;
  font-weight: 400;
}

/* Compact banners use native swipe scrolling even without JavaScript. */
.mp-campaign-slider {
  margin: 12px 0 3px;
}

.mp-campaign-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 14px;
  overscroll-behavior-x: contain;
}

.mp-campaign-track::-webkit-scrollbar {
  display: none;
}

body.mp-home .mp-campaign-track .mp-market-campaign {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 96px;
  scroll-snap-align: start;
  padding: 14px 22px;
}

.mp-campaign-title {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  font-weight: 800;
}

.mp-campaign-track .mp-market-campaign-copy small {
  font-size: 13px;
  line-height: 1.5;
}

.mp-campaign-nearby {
  background: linear-gradient(110deg, #bbf7dc, #0ba98e 38%, #087caa);
}

.mp-campaign-work {
  background: linear-gradient(110deg, #a8e8ff, #286cd8 40%, #5544b9);
}

.mp-campaign-nearby .mp-market-campaign-art {
  color: #006d80;
}

.mp-campaign-work .mp-market-campaign-art {
  color: #104cad;
}

.mp-campaign-controls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  height: 36px;
}

.mp-campaign-controls[hidden] {
  display: none;
}

.mp-campaign-controls button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #39618d;
}

.mp-campaign-controls .mp-campaign-pause {
  position: absolute;
  right: 0;
  top: 3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf2fc;
  color: #37618e;
}

.mp-campaign-pause svg {
  width: 16px;
  height: 16px;
  display: block;
}

.mp-campaign-pause:hover {
  background: #dceafa;
}

.mp-campaign-track .mp-market-campaign-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  line-height: 1;
}

.mp-market-campaign-arrow svg {
  display: block;
  width: 15px;
  height: 15px;
}

.mp-campaign-dot span {
  width: 6px;
  height: 6px;
  border-radius: 8px;
  background: #afc4db;
  transition: width .2s;
}

.mp-campaign-dot[aria-current=true] span {
  width: 18px;
  background: #0866e8;
}

.mp-campaign-controls button:focus-visible {
  outline: 2px solid #0866e8;
  outline-offset: -2px;
  border-radius: 6px;
}

html[data-sm-theme=dark] .mp-campaign-controls button {
  color: #b7d7f6;
}

html[data-sm-theme=dark] .mp-campaign-controls .mp-campaign-pause {
  background: #233c57;
}

@media(max-width:760px) {
  body.mp-home .mp-campaign-track .mp-market-campaign {
    min-height: 78px;
    padding: 10px 13px;
    gap: 12px;
  }

  .mp-campaign-track .mp-market-campaign-art {
    width: 46px;
    height: 48px;
  }

  .mp-campaign-track .mp-market-campaign-art svg {
    width: 39px;
    height: 39px;
  }

  .mp-campaign-title {
    font-size: 20px;
  }

  .mp-campaign-track .mp-market-campaign-copy small {
    font-size: 12px;
  }
}

@media(max-width:360px) {
  .mp-campaign-title {
    font-size: 18px;
  }

  body.mp-home .mp-campaign-track .mp-market-campaign {
    gap: 9px;
    padding-inline: 10px;
  }
}

.mp-menu-shell {
  position: relative;
  margin: 8px 0 9px;
}

body.mp-home .mp-market-categories.mp-menu-enhanced {
  scrollbar-width: none;
}

body.mp-home .mp-market-categories.mp-menu-enhanced::-webkit-scrollbar {
  display: none;
}

body.mp-home .mp-market-categories.mp-menu-overflow {
  padding-bottom: 15px;
}

.mp-menu-scroll-hint {
  position: absolute;
  bottom: 4px;
  left: 9px;
  right: 9px;
  height: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  color: #6098bf;
}

.mp-menu-scroll-hint[hidden] {
  display: none;
}

.mp-menu-scroll-hint>svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-menu-scroll-rail {
  position: relative;
  flex: 1;
  height: 3px;
  background: #d5e6f0;
  border-radius: 3px;
  overflow: hidden;
}

.mp-menu-scroll-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: #659fc6;
  border-radius: 3px;
}

html[data-sm-theme=dark] .mp-menu-scroll-rail {
  background: #344e65;
}

html[data-sm-theme=dark] .mp-menu-scroll-thumb {
  background: #82bbdb;
}

/* Local shop previews emphasize identity and location instead of tall covers. */
body.mp-home :is(#local-shops, #freelance-transport) .mp-store-grid {
  grid-auto-columns: calc((100% - 45px)/4);
}

body.mp-home #freelance-transport .mp-store-grid+.mp-service-grid {
  margin-top: 16px;
}

.mp-local-card .mp-store-type,
.mp-local-card .mp-store-placeholder small,
.mp-local-card .shop-menus {
  display: none;
}

body.mp-home .mp-local-card .mp-local-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.mp-home .mp-local-card h3 {
  font-size: 13px;
  line-height: 1.45;
  min-height: 0;
  margin: 0;
}

body.mp-home .mp-local-card .sm-shop-kind {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

body.mp-home .mp-local-card .mp-store-area {
  font-size: 12px;
  line-height: 1.35;
  min-height: 0;
  margin: 0;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

@media(max-width:1100px) {
  body.mp-home :is(#local-shops, #freelance-transport) .mp-store-grid {
    grid-auto-columns: calc((100% - 30px)/3);
  }
}

@media(max-width:760px) {
  body.mp-home :is(#local-shops, #freelance-transport) .mp-store-grid {
    grid-auto-columns: 56%;
    gap: 10px;
  }
}

@media(max-width:360px) {
  body.mp-home .mp-local-card .mp-local-head {
    padding: 10px 10px 0;
    gap: 8px;
  }

  body.mp-home .mp-local-card .mp-store-cover {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  body.mp-home .mp-local-card .sm-shop-kind,
  body.mp-home .mp-local-card .mp-store-area {
    font-size: 11px;
  }
}

/* Operator logos remain on white to preserve their original brand colors in both themes. */
.mp-carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mp-carrier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 14px 12px 0;
  border: 1px solid #dfe9f5;
  border-radius: 13px;
  background: #fff;
  color: #17324b;
  overflow: hidden;
}

.mp-carrier-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 64px;
  background: #fff;
  border-radius: 8px;
}

.mp-carrier-logo img {
  display: block;
  width: 104px;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
}

.mp-carrier-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 9px 0 6px;
}

.mp-carrier-discount {
  font-size: 22px;
  line-height: 1.35;
  color: #0866d8;
  margin-bottom: 12px;
}

.mp-carrier-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  width: calc(100% + 24px);
  background: #eff6ff;
  color: #0866d8;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid #e1edfb;
}

.mp-carrier-card:focus-visible {
  outline: 2px solid #0866e8;
  outline-offset: 2px;
}

.mp-carrier-note {
  color: #60768d;
  font-size: 12px;
  margin: 9px 0 0;
  line-height: 1.6;
}

html[data-sm-theme=dark] .mp-carrier-card {
  background: #192637;
  color: #e4edf8;
  border-color: #34465b;
}

html[data-sm-theme=dark] .mp-carrier-discount {
  color: #a9d1ff;
}

html[data-sm-theme=dark] .mp-carrier-action {
  background: #233c57;
  color: #b7d7f6;
  border-color: #34465b;
}

html[data-sm-theme=dark] .mp-carrier-note {
  color: #a9bbcf;
}

@media(max-width:760px) {
  .mp-carrier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mp-carrier-card {
    padding: 10px 10px 0;
  }

  .mp-carrier-logo {
    height: 54px;
  }

  .mp-carrier-logo img {
    width: 90px;
    height: 48px;
  }

  .mp-carrier-name {
    font-size: 13px;
    margin-top: 7px;
  }

  .mp-carrier-discount {
    font-size: 20px;
    margin-bottom: 9px;
  }

  .mp-carrier-action {
    width: calc(100% + 20px);
  }
}

/* Local shop thumbnails sit in the upper-left beside the shop type label. */
body.mp-home .mp-local-card .mp-local-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 0;
}

body.mp-home .mp-local-card .mp-store-cover {
  width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  border-radius: 11px;
  flex-shrink: 0;
}

body.mp-home .mp-local-card .mp-store-cover img {
  object-fit: cover;
}

body.mp-home .mp-local-card .mp-store-placeholder {
  padding: 6px;
}

body.mp-home .mp-local-card .mp-store-placeholder svg {
  width: 28px;
  height: 28px;
}

body.mp-home .mp-local-card {
  transition: border-color .15s, box-shadow .15s;
}

body.mp-home .mp-local-card:hover {
  border-color: #b7d2f2;
  box-shadow: 0 8px 18px -12px rgba(8, 102, 232, .25);
}

body.mp-home .mp-local-card .mp-store-body {
  padding: 9px 12px 12px;
}

/* Desktop & tablet polish without altering the mobile layout. */
@media(min-width:761px) {
  body.mp-home .sm-body-search .search {
    box-shadow: 0 4px 16px -8px rgba(8, 102, 232, .16);
    transition: border-color .15s, box-shadow .15s;
  }

  body.mp-home .sm-body-search .search:focus-within {
    border-color: #0866e8;
    box-shadow: 0 6px 20px -8px rgba(8, 102, 232, .28);
  }

  body.mp-home .mp-carrier-card {
    transition: border-color .15s, box-shadow .15s, transform .15s;
  }

  body.mp-home .mp-carrier-card:hover {
    border-color: #b7d2f2;
    box-shadow: 0 10px 22px -14px rgba(8, 102, 232, .25);
    transform: translateY(-2px);
  }
}

@media(min-width:900px) {
  body.mp-home #freelance:not(:has(.mp-service-grid)):not(:has(> section:only-child)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0 35px;
  }

  body.mp-home #freelance:not(:has(.mp-service-grid)):not(:has(> section:only-child)) > .mp-zone {
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  body.mp-home #freelance:not(:has(.mp-service-grid)):not(:has(> section:only-child)) .mp-zone-empty {
    flex: 1;
  }
}
/* Desktop composition: a focused content width and a banner beside primary destinations. */
@media(min-width:1024px) {
  body.mp-home :is(main.wrap,.sm-body-search,.sm-store-header .wrap,.utility .wrap,.sm-store-footer .wrap) { width:calc(100% - 64px); max-width:1280px; margin-inline:auto; }
  body.mp-home .sm-store-header .header-main { padding-block:14px; min-height:80px; }
  body.mp-home .sm-body-search { margin-top:18px; margin-bottom:16px; }
  body.mp-home .sm-body-search .search { border-radius:12px; }
  body.mp-home main.wrap { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); column-gap:20px; align-items:start; }
  body.mp-home main.wrap > * { grid-column:1 / -1; min-width:0; }
  body.mp-home main.wrap > .mp-campaign-slider { grid-column:1; grid-row:1; margin:0; }
  body.mp-home main.wrap > .mp-menu-shell { grid-column:2; grid-row:1; margin:0 0 28px; }
  body.mp-home .mp-campaign-track { height:160px; border-radius:16px; }
  body.mp-home .mp-campaign-track .mp-market-campaign { min-height:160px; padding:22px 24px; gap:18px; }
  body.mp-home .mp-campaign-title { font-size:28px; }
  body.mp-home .mp-campaign-track .mp-market-campaign-copy small { font-size:14px; }
  body.mp-home .mp-campaign-controls { height:28px; }
  body.mp-home .mp-campaign-controls .mp-campaign-pause { top:0; width:26px; height:26px; }
  body.mp-home .mp-market-categories { grid-template-columns:repeat(3,minmax(0,1fr)); height:160px; padding:8px; gap:4px; border-radius:16px; }
  body.mp-home .mp-market-categories > a { padding:5px 2px; gap:4px; font-size:12px; justify-content:center; }
  body.mp-home .mp-market-category-icon { width:34px; height:34px; border-radius:10px; }
  body.mp-home .mp-market-category-icon svg { width:23px; height:23px; }
  body.mp-home .mp-zone { margin:22px 0 26px; }
  body.mp-home .section-title { margin-bottom:14px; }
  body.mp-home .section-title h2 { font-size:26px; }
  body.mp-home .mp-shelf #home-product-grid { gap:14px; grid-auto-columns:calc((100% - 70px)/6); }
}

@media(min-width:1024px) {
 body.mp-home .mp-local-card .mp-store-cover { width:72px; height:72px; min-height:72px; border-radius:14px; }
 body.mp-home .mp-local-card .mp-store-placeholder svg { width:40px; height:40px; }
 body.mp-home .mp-local-card .mp-local-head { gap:12px; }
 body.mp-home .sm-transport-bo-card .bo-local-icon { width:72px; height:72px; border-radius:14px; }
 body.mp-home .sm-transport-bo-card .bo-local-icon svg { width:40px; height:40px; }
}

/* Keep playback beside the centered slide indicators. */
.mp-campaign-controls .mp-campaign-pause { position:static; margin-left:6px; flex-shrink:0; }

/* Gentle section backgrounds keep the marketplace zones distinct. */
body.mp-discover :is(#discover,#online-shops,#local-shops,#freelance-transport,#freelance-offline,#freelance-online,#mobile-topup) { border-radius:16px; padding:20px; background:#fff; }
body.mp-discover :is(#local-shops,#freelance-offline,#mobile-topup) { background:#edf5fd; }
html[data-sm-theme=dark] body.mp-discover :is(#discover,#online-shops,#local-shops,#freelance-transport,#freelance-offline,#freelance-online,#mobile-topup) { background:#192637; }
html[data-sm-theme=dark] body.mp-discover :is(#local-shops,#freelance-offline,#mobile-topup) { background:#142b40; }
@media(max-width:760px) {
 body.mp-discover :is(#discover,#online-shops,#local-shops,#freelance-transport,#freelance-offline,#freelance-online,#mobile-topup) { padding:14px 12px; border-radius:14px; }
}

/* Clearer section links without competing with the listings. */
body.mp-discover .section-title > a { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:6px 12px; border:1px solid #b8d7fb; border-radius:10px; background:#eaf4ff; color:#075bc9; font-weight:700; line-height:1.4; text-decoration:none; }
body.mp-discover .section-title > a:hover { background:#dcecff; border-color:#86baf5; }
body.mp-discover .section-title > a:focus-visible { outline:2px solid #0866e8; outline-offset:2px; }
html[data-sm-theme=dark] body.mp-discover .section-title > a { background:#233f5d; border-color:#426e9e; color:#c3e2ff; }
@media(max-width:760px) { body.mp-discover .section-title > a { min-height:40px; padding:6px 10px; font-size:13px; } }

/* Soft alternating tints for the homepage sections. */
body.mp-discover #local-shops { background:#eaf8f3; }
body.mp-discover #freelance-transport { background:#edf5ff; }
body.mp-discover #freelance-offline { background:#f3efff; }
body.mp-discover #freelance-online { background:#fff; }
body.mp-discover #mobile-topup { background:#fff7e9; }
html[data-sm-theme=dark] body.mp-discover #local-shops { background:#173b36; }
html[data-sm-theme=dark] body.mp-discover #freelance-transport { background:#17334d; }
html[data-sm-theme=dark] body.mp-discover #freelance-offline { background:#302b48; }
html[data-sm-theme=dark] body.mp-discover #freelance-online { background:#192637; }
html[data-sm-theme=dark] body.mp-discover #mobile-topup { background:#3c3224; }

/* Keep homepage sections open and separated by spacing. */
body.mp-discover :is(#discover,#online-shops,#local-shops,#freelance-transport,#freelance-offline,#freelance-online,#mobile-topup),
html[data-sm-theme=dark] body.mp-discover :is(#discover,#online-shops,#local-shops,#freelance-transport,#freelance-offline,#freelance-online,#mobile-topup) { background:transparent; padding:0; border-radius:0; }

/* Separate homepage sections with whitespace. */
body.mp-discover .mp-zone { margin-block:32px; }
@media(max-width:760px) { body.mp-discover .mp-zone { margin-block:28px; } }

/* Compact top-up cards with a clear tap area. */
body.mp-home .mp-carrier-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
body.mp-home .mp-carrier-card { padding:9px 8px; border-radius:12px; }
body.mp-home .mp-carrier-logo { height:42px; }
body.mp-home .mp-carrier-logo img { width:76px; height:40px; }
body.mp-home .mp-carrier-name { font-size:13px; margin:5px 0 3px; text-align:center; }
body.mp-home .mp-carrier-discount { font-size:17px; margin:0; }
body.mp-home .mp-carrier-action { display:none; }
@media(max-width:760px) {
 body.mp-home .mp-carrier-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 body.mp-home .mp-carrier-card { padding:8px; }
 body.mp-home .mp-carrier-logo { height:36px; }
 body.mp-home .mp-carrier-logo img { width:70px; height:34px; }
 body.mp-home .mp-carrier-name { font-size:12px; margin:4px 0 2px; }
 body.mp-home .mp-carrier-discount { font-size:16px; }
}

@media(max-width:760px) {
 body.mp-home .mp-carrier-grid { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:29%; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; padding:2px 1px 8px; scrollbar-width:thin; scrollbar-color:#b6d3e5 transparent; }
 body.mp-home .mp-carrier-card { scroll-snap-align:start; min-width:0; }
}

/* A consistent light background on all screen sizes. */
html:not([data-sm-theme=dark]) body.mp-home { background:#fcfcfc; }

@media(min-width:761px) {
 body.mp-home .mp-carrier-grid { display:flex; flex-wrap:wrap; gap:10px; }
 body.mp-home .mp-carrier-card { display:grid; grid-template-columns:62px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; column-gap:10px; width:210px; min-height:78px; padding:10px 12px; }
 body.mp-home .mp-carrier-logo { grid-column:1; grid-row:1 / 3; width:62px; height:48px; }
 body.mp-home .mp-carrier-logo img { width:60px; height:44px; }
 body.mp-home .mp-carrier-name { grid-column:2; grid-row:1; text-align:left; margin:0; align-self:end; }
 body.mp-home .mp-carrier-discount { grid-column:2; grid-row:2; align-self:start; font-size:16px; }
}

/* Gentle definition against the near-white page background. */
html:not([data-sm-theme=dark]) body.mp-home :is(.product-card,.mp-store-card,.mp-carrier-card) {
  border:1px solid #dce5ef;
  box-shadow:0 3px 12px rgba(30,65,100,.07);
}

/* Reserve space inside scrollable rows for lifted cards and their shadows. */
body.mp-home :is(#home-product-grid,[data-preview-row]) { padding-top:12px; padding-inline:5px; padding-bottom:14px; }

/* Scroll containers clip transformed children; highlight cards in place instead. */
body.mp-home :is(#home-product-grid,[data-preview-row],.mp-carrier-grid) > :is(.product-card,.mp-store-card,.mp-service-card,.mp-carrier-card):is(:hover,:focus-visible) { transform:none; }
body.mp-home :is(#home-product-grid,[data-preview-row],.mp-carrier-grid) > :is(.product-card,.mp-store-card,.mp-service-card,.mp-carrier-card):focus-visible { outline:2px solid #0866e8; outline-offset:-2px; }

/* Keep card shadows compact in their resting and highlighted states. */
html:not([data-sm-theme=dark]) body.mp-home :is(.product-card,.mp-store-card,.mp-service-card,.mp-carrier-card) { box-shadow:0 2px 5px rgba(30,65,100,.045); }
html:not([data-sm-theme=dark]) body.mp-home :is(.product-card,.mp-store-card,.mp-service-card,.mp-carrier-card):is(:hover,:focus-visible) { box-shadow:0 2px 6px rgba(30,65,100,.09); }

@media(min-width:1024px) {
 body.mp-home .mp-campaign-track { height:132px; }
 body.mp-home .mp-campaign-track .mp-market-campaign { min-height:132px; padding-block:14px; }
 body.mp-home .mp-market-categories { height:132px; padding:5px 8px; }
 body.mp-home .mp-market-categories > a { padding:2px; gap:2px; }
 body.mp-home .mp-market-category-icon { width:30px; height:30px; }
 body.mp-home .mp-market-category-icon svg { width:21px; height:21px; }
}

@media(min-width:1024px) {
 body.mp-home main.wrap { grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); }
 body.mp-home .mp-market-categories { grid-template-columns:repeat(6,minmax(0,1fr)); }
 body.mp-home .mp-market-categories > a { min-width:0; }
}

@media(min-width:1024px) {
 body.mp-home .mp-campaign-track, body.mp-home .mp-market-categories { height:96px; }
 body.mp-home .mp-campaign-track .mp-market-campaign { min-height:96px; padding:10px 18px; }
 body.mp-home .mp-market-campaign-art { width:54px; height:50px; }
 body.mp-home .mp-market-campaign-art svg { width:43px; height:43px; }
 body.mp-home .mp-campaign-title { font-size:23px; }
 body.mp-home .mp-market-categories > a { align-self:stretch; }
}


/* Compact freelance service previews on the home page. */
body.mp-home .mp-freelance:has(> .mp-freelance-preview) > .section-title { margin-bottom: 10px; }
body.mp-home .mp-freelance-preview[data-preview-row] {
  --freelance-preview-gap: 12px;
  grid-auto-columns: calc((100% - var(--freelance-preview-gap)) / 2);
  gap: var(--freelance-preview-gap);
}
.mp-freelance-details {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 10px 12px;
  color: inherit;
}
.mp-freelance-details .fl-card-thumb { width: 52px; border-radius: 9px; }
.mp-freelance-copy :is(h3, p) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin: 0;
}
.mp-freelance-copy h3 { -webkit-line-clamp: 2; font-size: .9375rem; line-height: 1.45; }
.mp-freelance-copy p { -webkit-line-clamp: 1; font-size: .8125rem; color: var(--muted); }
.mp-freelance-open { color: var(--muted); font-size: 1.5rem; line-height: 1; }
.mp-freelance-details:hover .mp-freelance-open { color: #0866e8; }
.mp-freelance-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  padding-inline: 12px 8px;
  border-top: 1px solid var(--line);
}
.mp-freelance-pricing { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 7px; min-width: 0; }
.mp-freelance-pricing .fl-price { font-size: 1.0625rem; line-height: 1.35; overflow-wrap: anywhere; }
.mp-freelance-pricing small { color: var(--muted); font-size: .75rem; font-weight: 500; }
.mp-freelance-packages { font-size: .75rem; color: var(--muted); }
.mp-freelance-inquiry {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  min-height: 44px;
  padding-inline: 6px;
  font-size: .8125rem;
  font-weight: 600;
  color: #0755c1;
}
.mp-freelance-inquiry svg { width: 16px; height: 16px; }
.mp-freelance-inquiry:hover { text-decoration: underline; }
:is(.mp-freelance-inquiry, .mp-freelance-details):focus-visible { outline: 2px solid #328dfa; outline-offset: -2px; }
html[data-sm-theme=dark] .mp-freelance-inquiry { color: #a6d0ff; }
@media (min-width: 960px) {
  body.mp-home .mp-freelance-preview[data-preview-row] { grid-auto-columns: calc((100% - 24px) / 3); }
}
@media (min-width: 1280px) {
  body.mp-home .mp-freelance-preview[data-preview-row] { grid-auto-columns: calc((100% - 36px) / 4); }
}
@media (max-width: 760px) {
  body.mp-home .mp-freelance-preview[data-preview-row] { grid-auto-columns: 91%; }
}
