.marketplace-page{
  --market-inline:14px;
  background:var(--color-background);
}

.marketplace-header{
  min-height:0;
  padding:calc(env(safe-area-inset-top,0px) + var(--space-2)) var(--market-inline) var(--space-3);
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
  overflow:visible;
}

.marketplace-brand-row{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-3);
}

.marketplace-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:var(--radius-md);
}

.marketplace-brand img{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:12px;
  object-fit:contain;
  background:#fff;
  box-shadow:0 6px 16px rgba(3,27,58,.24);
}

.marketplace-brand span{
  min-width:0;
}

.marketplace-brand h1,
.marketplace-brand small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-brand h1{
  margin:0;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:850;
}

.marketplace-brand small{
  max-width:220px;
  margin-top:2px;
  color:#DCE7F7;
  font-size:var(--font-caption);
  line-height:1.3;
  font-weight:600;
}

.marketplace-account-action{
  position:relative;
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.24);
  border-radius:14px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:12px;
  font-weight:850;
}

.marketplace-account-action img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#fff;
}

.marketplace-login-action{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:var(--radius-pill);
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.marketplace-search{
  position:relative;
  min-height:50px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto auto;
  align-items:center;
  gap:var(--space-2);
  margin-top:var(--space-2);
  padding:4px 5px 4px 13px;
  border:1px solid #D9E2EC;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 20px rgba(3,27,58,.13);
  transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}

.marketplace-search:focus-within{
  border-color:#7AA7CB;
  box-shadow:0 0 0 3px rgba(147,197,253,.20),0 10px 26px rgba(3,27,58,.16);
}

.marketplace-search-suggestions{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 9px);
  z-index:120;
  max-height:min(430px,60vh);
  overflow-y:auto;
  padding:8px;
  border:1px solid #DDE5EF;
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 52px rgba(3,27,58,.20);
  color:#10213A;
  overscroll-behavior:contain;
}

.marketplace-search-suggestions[hidden]{display:none}

.marketplace-search-suggestion{
  min-height:64px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:13px;
  color:#10213A;
  transition:background-color .14s ease,border-color .14s ease,transform .14s ease;
}

.marketplace-search-suggestion:hover,
.marketplace-search-suggestion.is-active{
  border-color:#D6E5F5;
  background:#F2F7FC;
  color:#062B5F;
  transform:translateX(2px);
}

.marketplace-search-suggestion-media{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:12px;
  background:#EEF3F8;
  color:#047857;
}

.marketplace-search-suggestion-media img{width:100%;height:100%;object-fit:cover}

.marketplace-search-suggestion-media.is-category:before{
  content:"";
  width:21px;
  height:21px;
  display:block;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4V4Zm2 2v3h3V6H6Zm7-2h7v7h-7V4Zm2 2v3h3V6h-3ZM4 13h7v7H4v-7Zm2 2v3h3v-3H6Zm7-2h7v7h-7v-7Zm2 2v3h3v-3h-3Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4V4Zm2 2v3h3V6H6Zm7-2h7v7h-7V4Zm2 2v3h3V6h-3ZM4 13h7v7H4v-7Zm2 2v3h3v-3H6Zm7-2h7v7h-7v-7Zm2 2v3h3v-3h-3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.marketplace-search-suggestion-copy{min-width:0}
.marketplace-search-suggestion-copy b,
.marketplace-search-suggestion-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketplace-search-suggestion-copy b{font-size:13px;font-weight:600}
.marketplace-search-suggestion-copy small{margin-top:4px;color:#6B7C90;font-size:10.5px;font-weight:400}
.marketplace-search-suggestion em{
  padding:5px 8px;
  border-radius:999px;
  background:#ECFDF5;
  color:#047857;
  font-size:9px;
  font-style:normal;
  font-weight:600;
}
.marketplace-search-suggestion-status{margin:0;padding:17px 14px;color:#64748B;text-align:center;font-size:12px;font-weight:400}

.marketplace-search-icon{
  width:20px;
  height:20px;
  display:block;
  background:var(--color-text-secondary);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 4a6.5 6.5 0 1 0 4.03 11.6L19 20l1-1-4.4-4.47A6.5 6.5 0 0 0 10.5 4Zm0 2a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Z'/%3E%3C/svg%3E") center/20px 20px no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 4a6.5 6.5 0 1 0 4.03 11.6L19 20l1-1-4.4-4.47A6.5 6.5 0 0 0 10.5 4Zm0 2a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Z'/%3E%3C/svg%3E") center/20px 20px no-repeat;
}

.marketplace-search input[type="search"]{
  width:100%;
  min-width:0;
  height:42px;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--color-text);
  font-size:16px;
  line-height:1.3;
}

.marketplace-search input[type="search"]::placeholder{
  color:#7C8797;
  opacity:1;
}

.marketplace-search-clear{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:var(--color-text-secondary);
  font-size:20px;
  line-height:1;
  transition:background-color .16s ease,color .16s ease;
}

.marketplace-search-clear:hover{
  background:#EEF3F8;
  color:#0F2948;
}

.marketplace-search-submit{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border:1px solid #087350;
  border-radius:12px;
  background:#087A55;
  color:#fff;
  box-shadow:0 6px 14px rgba(4,120,87,.20);
  font-size:12.5px;
  font-weight:600;
  line-height:1;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.marketplace-search-submit b{
  font-weight:inherit;
}

.marketplace-search-submit-icon{
  width:17px;
  height:17px;
  flex:0 0 17px;
  display:block;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 4a6.5 6.5 0 1 0 4.03 11.6L19 20l1.4-1.4-4.8-4.77A6.5 6.5 0 0 0 10.5 4Zm0 2a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 4a6.5 6.5 0 1 0 4.03 11.6L19 20l1.4-1.4-4.8-4.77A6.5 6.5 0 0 0 10.5 4Zm0 2a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.marketplace-search-submit:hover{
  border-color:#056344;
  background:#066B4A;
  box-shadow:0 9px 18px rgba(4,120,87,.27);
  transform:translateY(-1px);
}

.marketplace-search-submit:active{
  transform:translateY(0);
  box-shadow:0 4px 10px rgba(4,120,87,.20);
}

.marketplace-search-submit:focus-visible{
  outline:3px solid rgba(134,239,172,.42);
  outline-offset:2px;
}

.marketplace-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.marketplace-content{
  padding:var(--space-3) var(--market-inline) 0;
}

.marketplace-banner{
  margin-bottom:var(--space-3);
}

.marketplace-banner-track{
  display:flex;
  gap:var(--space-2);
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.marketplace-banner-track::-webkit-scrollbar,
.marketplace-category-scroll::-webkit-scrollbar{
  display:none;
}

.marketplace-banner-slide{
  flex:0 0 100%;
  aspect-ratio:1500/510;
  min-height:112px;
  max-height:140px;
  overflow:hidden;
  scroll-snap-align:center;
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  background:var(--color-brand);
  box-shadow:var(--shadow-surface);
}

.marketplace-banner-slide img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.marketplace-banner-dots{
  min-height:20px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:6px;
}

.marketplace-banner-dots button{
  width:18px;
  height:18px;
  position:relative;
  padding:0;
  background:transparent;
  pointer-events:none;
  opacity:1;
}

.marketplace-banner-dots button:after{
  content:"";
  width:6px;
  height:6px;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:var(--radius-pill);
  background:#CBD5E1;
  transition:width .16s ease,background-color .16s ease;
}

.marketplace-banner-dots button.active:after{
  width:16px;
  background:var(--color-success);
}

.marketplace-section-heading,
.marketplace-products-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:var(--space-3);
}

.marketplace-section-heading h2,
.marketplace-products-heading h2{
  margin:0;
  color:var(--color-text);
  font-size:17px;
  line-height:1.25;
  font-weight:850;
}

.marketplace-category-scroll{
  display:flex;
  gap:var(--space-2);
  margin:var(--space-2) calc(var(--market-inline) * -1) 0;
  padding:0 var(--market-inline) var(--space-2);
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.marketplace-category-item{
  min-width:68px;
  min-height:68px;
  flex:0 0 68px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex-direction:column;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:var(--color-surface);
  color:var(--color-text-secondary);
  box-shadow:0 4px 12px rgba(15,23,42,.04);
}

.marketplace-category-item .category-icon{
  width:40px;
  height:40px;
  border-radius:11px;
  font-size:0;
}

.marketplace-category-item b{
  width:60px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
  font-size:10.5px;
  line-height:1.2;
  font-weight:750;
}

.marketplace-category-item.active{
  border-color:#86EFAC;
  background:#F0FDF4;
  color:#047857;
  box-shadow:0 0 0 2px rgba(22,163,74,.08);
}

.marketplace-results{
  padding-top:var(--space-2);
}

.marketplace-filter-row{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:var(--space-2);
  margin-bottom:var(--space-2);
}

.marketplace-filter-button,
.marketplace-latest-chip,
.marketplace-reset{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-pill);
  background:#fff;
  color:#475569;
  font-size:12px;
  font-weight:800;
}

.marketplace-filter-button > span{
  width:16px;
  height:16px;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v2H4V5Zm3 6h10v2H7v-2Zm3 6h4v2h-4v-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v2H4V5Zm3 6h10v2H7v-2Zm3 6h4v2h-4v-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.marketplace-filter-button b{
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:var(--radius-pill);
  background:var(--color-brand);
  color:#fff;
  font-size:10px;
}

.marketplace-latest-chip{
  border-color:#BBF7D0;
  background:#F0FDF4;
  color:#047857;
}

.marketplace-reset{
  margin-left:auto;
  min-height:30px;
  padding:0 10px;
  border-color:#DCE5EF;
  border-radius:9px;
  background:#F8FAFC;
  color:#475569;
  font-weight:600;
  transition:border-color .16s ease,background-color .16s ease,color .16s ease;
}

.marketplace-reset:before{
  content:"";
  width:14px;
  height:14px;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5a7 7 0 1 1-6.3 4H3l3.5-4L10 9H7.8A5 5 0 1 0 12 7V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5a7 7 0 1 1-6.3 4H3l3.5-4L10 9H7.8A5 5 0 1 0 12 7V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.marketplace-reset:hover{
  border-color:#B9C8DA;
  background:#EEF3F8;
  color:#062B5F;
}

.marketplace-active-filters{
  display:flex;
  gap:6px;
  margin-bottom:var(--space-3);
  overflow-x:auto;
  scrollbar-width:none;
}

.marketplace-active-filters span{
  flex:0 0 auto;
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:6px 10px;
  border-radius:var(--radius-pill);
  background:#EAF2FF;
  color:var(--color-brand);
  font-size:11px;
  font-weight:750;
}

.marketplace-products-heading{
  margin-bottom:var(--space-3);
}

.marketplace-products-heading p{
  margin:3px 0 0;
  color:var(--color-text-secondary);
  font-size:var(--font-caption);
  line-height:1.35;
}

.market-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--space-2);
}

.market-product-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  background:var(--color-surface);
  box-shadow:0 6px 18px rgba(15,23,42,.055);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.market-product-card:active{
  transform:scale(.985);
  box-shadow:0 3px 10px rgba(15,23,42,.08);
}

.market-product-card.is-own-product{
  border-color:#BBF7D0;
}

.market-product-card.is-reserved{
  border-color:#BFDBFE;
}

.market-product-main{
  min-width:0;
  display:flex;
  flex:1;
  flex-direction:column;
}

.market-product-media{
  position:relative;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,#E0F2FE,#DCFCE7);
  color:var(--color-brand);
  font-size:22px;
  font-weight:850;
}

.market-product-media img{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#F1F5F9;
}

.market-product-media.has-photo .market-product-placeholder{
  visibility:hidden;
}

.market-product-promo{
  position:absolute;
  top:7px;
  right:7px;
  z-index:2;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:0 7px;
  border-radius:var(--radius-pill);
  background:#FEF3C7;
  color:#92400E;
  font-size:10px;
  font-weight:850;
}

.market-product-distance{
  position:absolute;
  left:7px;
  bottom:7px;
  z-index:2;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 14px);
  padding:0 7px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.72);
  border-radius:var(--radius-pill);
  background:rgba(3,27,58,.82);
  color:#fff;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9.5px;
  font-weight:800;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.market-product-copy{
  min-width:0;
  display:flex;
  flex:1;
  flex-direction:column;
  padding:10px 10px var(--space-2);
}

.market-product-copy h3{
  display:-webkit-box;
  min-height:36px;
  margin:0 0 6px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  color:var(--color-text);
  font-size:13px;
  line-height:1.38;
  font-weight:750;
}

.market-product-price{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#047857;
  font-size:14px;
  line-height:1.3;
  font-weight:850;
}

.market-product-copy del{
  display:block;
  margin-top:1px;
  color:#94A3B8;
  font-size:10px;
  font-weight:650;
}

.market-product-location,
.market-product-cod{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--color-text-secondary);
  font-size:10.5px;
  line-height:1.4;
}

.market-product-location{
  margin-top:7px;
}

.market-product-store{
  min-width:0;
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:6px;
  margin-top:7px;
}

.market-product-store > span{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#ECFDF5;
  color:#047857;
  font-size:8px;
  font-weight:850;
}

.market-product-store b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#334155;
  font-size:10.5px;
  font-weight:750;
}

.market-product-cod{
  margin-top:5px;
}

.market-product-actions{
  display:grid;
  grid-template-columns:1fr 1.12fr;
  gap:6px;
  padding:0 8px 8px;
}

.market-product-actions .app-button{
  min-width:0;
  min-height:40px;
  padding:0 6px;
  border-radius:11px;
  font-size:10.5px;
  white-space:nowrap;
}

.market-product-status{
  grid-column:1/-1;
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:#DCFCE7;
  color:#047857;
  font-size:11px;
  font-weight:800;
}

.market-product-status.is-reserved{
  background:#DBEAFE;
  color:#1D4ED8;
}

.marketplace-results > .app-state{
  border:1px dashed #CBD5E1;
  border-radius:var(--radius-lg);
  background:#fff;
}

.marketplace-results > .app-state h2{
  color:#10213A;
  font-weight:650;
  letter-spacing:-.01em;
}

.marketplace-results > .app-state p{
  font-weight:400;
}

.marketplace-empty-actions{
  display:grid;
  gap:var(--space-2);
}

.marketplace-empty-actions .app-button{
  font-weight:550;
}

.marketplace-empty-actions .app-button-primary{
  font-weight:600;
}

.marketplace-product-count.is-empty{
  border:1px solid #DCE5EF;
  background:#F8FAFC;
  color:#64748B;
}

.marketplace-empty-state{
  min-height:220px;
  display:grid;
  grid-template-columns:68px minmax(0,560px);
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:30px 28px 32px;
  border:1px solid #E2E8F0;
  border-radius:20px;
  background:linear-gradient(145deg,#F8FAFC 0%,#FFFFFF 55%,#F3F8F6 100%);
}

.marketplace-empty-visual{
  position:relative;
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #DCE7E2;
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 30px rgba(15,23,42,.09);
}

.marketplace-empty-visual span{
  width:30px;
  height:30px;
  background:#087A55;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h11v2H6v12h12v-5h2v7H4V4Zm8 4a4 4 0 1 1 2.5 7.1l-2.8 2.8-1.4-1.4 2.8-2.8A4 4 0 0 1 12 8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h11v2H6v12h12v-5h2v7H4V4Zm8 4a4 4 0 1 1 2.5 7.1l-2.8 2.8-1.4-1.4 2.8-2.8A4 4 0 0 1 12 8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.marketplace-empty-copy{
  min-width:0;
}

.marketplace-empty-eyebrow{
  display:block;
  margin-bottom:7px;
  color:#087A55;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.marketplace-empty-copy h3{
  margin:0;
  color:#10213A;
  font-size:19px;
  line-height:1.3;
  font-weight:650;
  letter-spacing:-.015em;
}

.marketplace-empty-copy>p{
  max-width:520px;
  margin:8px 0 0;
  color:#64748B;
  font-size:13px;
  line-height:1.65;
}

.marketplace-empty-state .marketplace-empty-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:16px;
}

.marketplace-empty-state .marketplace-empty-actions .app-button{
  min-height:42px;
  padding:0 17px;
  border-radius:11px;
  font-size:12px;
  font-weight:600;
}

.marketplace-empty-suggestions{
  margin-top:17px;
  padding-top:14px;
  border-top:1px solid #E2E8F0;
}

.marketplace-empty-suggestions small{
  display:block;
  margin-bottom:9px;
  color:#64748B;
  font-size:10.5px;
  font-weight:500;
}

.marketplace-empty-suggestions>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.marketplace-empty-suggestions a{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border:1px solid #DCE5EF;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font-size:10.5px;
  font-weight:550;
  transition:border-color .16s ease,color .16s ease,background-color .16s ease;
}

.marketplace-empty-suggestions a:hover{
  border-color:#A7D7C5;
  background:#F0F9F5;
  color:#047857;
}

@media (max-width:767px){
  .marketplace-empty-state{
    min-height:0;
    grid-template-columns:1fr;
    gap:16px;
    padding:26px 18px;
    text-align:center;
  }

  .marketplace-empty-visual{
    width:64px;
    height:64px;
    margin:auto;
    border-radius:19px;
  }

  .marketplace-empty-copy h3{
    font-size:19px;
  }

  .marketplace-empty-copy>p{
    font-size:13px;
  }

  .marketplace-empty-state .marketplace-empty-actions{
    display:grid;
  }

  .marketplace-empty-suggestions>div{
    justify-content:center;
  }
}

.marketplace-filter-sheet{
  padding-bottom:var(--space-2);
}

.marketplace-filter-sheet-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:var(--space-3);
  margin-bottom:var(--space-3);
}

.marketplace-filter-sheet-heading h2{
  margin:0;
  color:var(--color-brand);
  font-size:18px;
}

.marketplace-filter-sheet-heading p{
  margin:4px 0 0;
  color:var(--color-text-secondary);
  font-size:12px;
}

.marketplace-filter-sheet-list{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
}

.marketplace-filter-sheet-list a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-pill);
  background:#fff;
  color:#475569;
  font-size:12px;
  font-weight:750;
}

.marketplace-filter-sheet-list a.active{
  border-color:#86EFAC;
  background:#F0FDF4;
  color:#047857;
}

.marketplace-filter-clear{
  width:100%;
  margin-top:var(--space-4);
}

@media (max-width:339px){
  .marketplace-page{--market-inline:12px}
  .marketplace-brand small{max-width:180px}
  .marketplace-search{grid-template-columns:20px minmax(0,1fr) auto;padding-left:10px}
  .marketplace-search-clear{display:none}
  .marketplace-search button{padding:0 10px}
  .market-product-grid{grid-template-columns:1fr;gap:var(--space-3)}
  .market-product-card{display:grid;grid-template-columns:116px minmax(0,1fr)}
  .market-product-main{display:grid;grid-template-columns:116px minmax(0,1fr)}
  .market-product-media{height:100%;min-height:164px}
  .market-product-copy{padding:10px}
  .market-product-actions{grid-column:2;padding:0 8px 8px}
}

@media (min-width:400px){
  .market-product-grid{gap:var(--space-3)}
  .market-product-copy{padding:var(--space-3) var(--space-3) var(--space-2)}
  .market-product-actions{padding:0 10px 10px}
}

@media (prefers-reduced-motion:reduce){
  .marketplace-banner-track{scroll-behavior:auto}
  .market-product-card,.marketplace-banner-dots button:after{transition:none}
}

/* Marketplace v3 mengikuti struktur halaman Belanja pada aplikasi native. */
.marketplace-page{
  --market-inline:14px;
  background:#F8FAFC;
}

.marketplace-page .app-skip-link,
body > .app-skip-link{
  position:fixed;
  left:50%;
  top:0;
  z-index:1000;
  transform:translate(-50%,-130%);
}

.marketplace-page .app-skip-link:focus,
body > .app-skip-link:focus{
  transform:translate(-50%,0);
}

.marketplace-header{
  padding:calc(env(safe-area-inset-top,0px) + 14px) 18px 18px;
  border-radius:0 0 30px 30px;
  background:linear-gradient(145deg,#031B3A 0%,#062B5F 58%,#0F5132 100%);
  box-shadow:0 12px 28px rgba(3,27,58,.18);
}

.marketplace-brand-row{min-height:54px}

.marketplace-brand{gap:11px}

.marketplace-brand-avatar{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:block;
  overflow:hidden;
  border-radius:15px;
  background:#fff;
  box-shadow:0 6px 16px rgba(3,27,58,.24);
}

.marketplace-brand .marketplace-brand-avatar img{
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  object-fit:cover;
  box-shadow:none;
}

.marketplace-brand h1{
  margin:1px 0 0;
  font-size:22px;
  line-height:1.08;
  font-weight:900;
}

.marketplace-brand small{
  max-width:220px;
  margin:0;
  color:#D7E4F5;
  font-size:12px;
  font-weight:750;
}

.marketplace-brand em{
  display:block;
  max-width:230px;
  margin-top:3px;
  overflow:hidden;
  color:#FDE68A;
  font-size:11.5px;
  line-height:1.25;
  font-style:normal;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-notification-action{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  background:rgba(255,255,255,.13);
  color:#fff;
}

.marketplace-notification-action span{
  width:23px;
  height:23px;
  display:block;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm7-6v-5a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2v1h18v-1l-2-2Zm-12 1 1-1v-5a4 4 0 1 1 8 0v5l1 1H7Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm7-6v-5a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2v1h18v-1l-2-2Zm-12 1 1-1v-5a4 4 0 1 1 8 0v5l1 1H7Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.marketplace-search{
  min-height:58px;
  margin-top:15px;
  padding:5px 7px 5px 14px;
  border-radius:18px;
}

.marketplace-search input[type="search"]{
  font-size:15px;
}

.marketplace-search-submit{
  width:42px;
  min-width:42px;
  height:42px;
  padding:0;
  border:1px solid #087350;
  border-radius:12px;
  background:#087A55;
  color:#fff;
  font-size:12px;
  line-height:1;
}

.marketplace-search-submit b{display:none}

.marketplace-content{padding-top:14px}
.marketplace-banner{margin-bottom:9px}
.marketplace-banner-slide{border-radius:18px}
.marketplace-banner-dots{align-items:center}

.marketplace-section-heading{align-items:flex-end}
.marketplace-section-heading h2,
.marketplace-products-heading h2{
  font-size:21px;
  font-weight:900;
}

.marketplace-section-heading p,
.marketplace-products-heading p{
  margin:3px 0 0;
  color:#64748B;
  font-size:12px;
  line-height:1.35;
}

.marketplace-section-heading > span{
  padding-bottom:2px;
  color:#16A34A;
  font-size:10.5px;
  font-weight:850;
  white-space:nowrap;
}

.marketplace-category-scroll{
  gap:9px;
  margin-top:10px;
}

.marketplace-category-item{
  min-width:78px;
  min-height:94px;
  flex-basis:78px;
  gap:7px;
  border-color:#E2E8F0;
  border-radius:18px;
}

.marketplace-category-item .category-icon{
  width:43px;
  height:43px;
  border-radius:14px;
}

.marketplace-category-item b{
  width:68px;
  font-size:10.5px;
  line-height:1.25;
  white-space:normal;
}

.marketplace-category-item.active{
  border:1.5px solid #062B5F;
  background:#E9F0F8;
  color:#062B5F;
  box-shadow:none;
}

.marketplace-results{padding-top:12px}

.marketplace-active-filters{
  align-items:center;
  margin:0 0 12px;
}

.marketplace-reset{
  min-height:32px;
  margin-left:auto;
  padding:0 10px;
}

.marketplace-products-heading{
  align-items:center;
  margin-bottom:13px;
}

.marketplace-product-count{
  flex:0 0 auto;
  padding:7px 11px;
  border-radius:999px;
  background:#DCFCE7;
  color:#047857;
  font-size:10.5px;
  font-weight:850;
}

.market-product-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 6px;
}

.market-product-card{
  position:relative;
  border-color:#E7ECF2;
  border-radius:14px;
  box-shadow:0 3px 10px rgba(15,23,42,.05);
}

.market-product-copy{
  padding:9px 10px 10px;
}

.market-product-copy h3{
  min-height:36px;
  margin:0;
  font-size:14px;
  line-height:18px;
  font-weight:650;
}

.market-product-price{
  margin-top:5px;
  font-size:16px;
  font-weight:850;
}

.market-product-promo{
  top:0;
  right:0;
  min-height:25px;
  padding:0 8px;
  border-radius:0 0 0 10px;
  background:#DCFCE7;
  color:#047857;
  font-size:9px;
}

.market-product-video{
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:3;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(3,27,58,.88);
}

.market-product-video:before{
  content:"";
  width:14px;
  height:14px;
  margin-left:2px;
  background:#fff;
  clip-path:polygon(15% 5%,95% 50%,15% 95%);
}

.market-product-services{
  min-height:19px;
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:7px;
}

.market-product-services b{
  padding:3px 5px;
  border-radius:5px;
  font-size:8px;
  line-height:9px;
  font-weight:850;
}

.market-product-services .is-cod{background:#EFF6FF;color:#0759A5}
.market-product-services .is-pickup{background:#FFF7ED;color:#C2410C}
.market-product-services .is-delivery{background:#ECFDF5;color:#047857}

.market-product-divider{
  display:block;
  height:1px;
  margin:8px 0;
  background:#EEF2F6;
}

.market-product-store{
  grid-template-columns:23px minmax(0,1fr) auto;
  gap:6px;
  margin:0;
}

.market-product-store > span{
  position:relative;
  width:23px;
  height:23px;
  overflow:hidden;
  border-radius:50%;
  background:#F1F5F9;
  color:#062B5F;
}

.market-product-store > span img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.market-product-store b{
  font-size:11px;
  color:#062B5F;
}

.market-product-store em{
  padding:2px 4px;
  border-radius:5px;
  background:#FFF7D6;
  color:#9A6700;
  font-size:7px;
  line-height:1.2;
  font-style:normal;
  font-weight:900;
}

.market-product-location{
  position:relative;
  margin-top:6px;
  padding-left:15px;
  color:#64748B;
  font-size:10px;
}

.market-product-location:before{
  content:"";
  position:absolute;
  left:0;
  top:1px;
  width:12px;
  height:12px;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 5.2 8 12 8 12s8-6.8 8-12a8 8 0 0 0-8-8Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 5.2 8 12 8 12s8-6.8 8-12a8 8 0 0 0-8-8Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.market-product-owner-label{
  display:block;
  margin:0 8px 8px;
  padding:7px;
  border-radius:8px;
  background:#DCFCE7;
  color:#047857;
  text-align:center;
  font-size:9px;
  font-weight:850;
}

.market-product-owner-label.is-reserved{background:#DBEAFE;color:#1D4ED8}

.marketplace-pagination{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:8px;
  margin-top:18px;
}

.marketplace-pagination a,
.marketplace-pagination span{
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  border:1px solid #E2E8F0;
  border-radius:12px;
  background:#fff;
  color:#062B5F;
  font-size:10px;
  font-weight:800;
}

.marketplace-pagination span{color:#94A3B8;background:#F8FAFC}
.marketplace-pagination b{color:#64748B;text-align:center;font-size:9.5px}

@media (max-width:339px){
  .marketplace-brand h1{font-size:19px}
  .marketplace-brand em{max-width:176px;font-size:10px}
  .marketplace-notification-action{width:42px;height:42px;flex-basis:42px}
  .market-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .market-product-card,
  .market-product-main{display:flex;grid-template-columns:none}
  .market-product-media{height:auto;min-height:0;aspect-ratio:1/1}
}

.marketplace-desktop-nav,.marketplace-sell-action,.marketplace-account-action{display:none}

@media (min-width:768px){
  html,
  body{
    background:#EEF2F6;
  }

  .app-shell.marketplace-page{
    width:100%;
    max-width:none;
    min-height:100vh;
    padding-bottom:0;
    overflow:visible;
    background:#EEF2F6;
    box-shadow:none;
  }

  .marketplace-header{
    position:sticky;
    top:0;
    z-index:90;
    min-height:0;
    padding:20px 24px 15px;
    border-radius:0;
    box-shadow:0 8px 30px rgba(3,27,58,.14);
  }

  .marketplace-header-inner{
    width:min(100%,1180px);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "brand brand"
      "search search"
      "nav nav";
    align-items:center;
    gap:12px 16px;
  }

  .marketplace-brand-row{
    display:contents;
    min-width:0;
  }

  .marketplace-brand{
    grid-area:brand;
    min-width:0;
  }

  .marketplace-notification-action{
    grid-area:notice;
    justify-self:end;
  }

  .marketplace-brand-avatar{
    width:50px;
    height:50px;
    flex-basis:50px;
  }

  .marketplace-brand h1{
    font-size:24px;
    font-weight:750;
  }

  .marketplace-brand small{
    font-size:12px;
    font-weight:500;
  }

  .marketplace-brand em{
    font-weight:600;
  }

  .marketplace-search{
    grid-area:search;
    width:100%;
    min-height:56px;
    margin:0;
    padding:5px 6px 5px 16px;
    border-color:#D9E2EC;
    border-radius:14px;
    box-shadow:0 5px 16px rgba(3,27,58,.13);
  }

  .marketplace-search input[type="search"]{
    height:44px;
    color:#132A44;
    font-size:14px;
    font-weight:400;
  }

  .marketplace-search input[type="search"]::placeholder{
    color:#78879A;
  }

  .marketplace-search-submit{
    width:auto;
    min-width:92px;
    height:44px;
    padding:0 16px;
    border-radius:10px;
  }

  .marketplace-search-submit b{
    display:block;
  }

  .marketplace-search-suggestions{
    top:calc(100% + 8px);
    padding:7px;
    border-color:#D7E1EC;
    border-radius:14px;
    box-shadow:0 20px 45px rgba(3,27,58,.18);
  }

  .marketplace-desktop-nav{
    grid-area:nav;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.12);
  }

  .marketplace-desktop-nav a{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 15px;
    border:1px solid transparent;
    border-radius:13px;
    color:#DCE7F7;
    font-size:13px;
    font-weight:600;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
  }

  .marketplace-desktop-nav b{
    font-weight:inherit;
  }

  .marketplace-desktop-nav a:hover{
    border-color:rgba(255,255,255,.14);
    background:rgba(255,255,255,.10);
    color:#fff;
  }

  .marketplace-desktop-nav a:active{
    transform:translateY(1px);
  }

  .marketplace-desktop-nav a.active{
    min-width:108px;
    border-color:rgba(134,239,172,.22);
    background:#F0FDF4;
    color:#047857;
    font-weight:650;
  }

  .marketplace-desktop-nav .nav-icon{
    width:20px;
    height:20px;
    mask-size:20px 20px;
    -webkit-mask-size:20px 20px;
  }

  .marketplace-page > .bottom-nav{
    display:none;
  }

  .marketplace-content{
    width:min(calc(100% - 48px),1180px);
    margin:0 auto;
    padding:28px 0 48px;
    display:grid;
    gap:22px;
  }

  .marketplace-banner,
  .marketplace-categories,
  .marketplace-results{
    margin:0;
  }

  .marketplace-banner-slide{
    min-height:0;
    max-height:none;
    border-radius:24px;
    box-shadow:0 14px 34px rgba(15,23,42,.10);
  }

  .marketplace-banner-dots{
    margin-top:5px;
  }

  .marketplace-categories,
  .marketplace-results{
    padding:22px;
    border:1px solid #E2E8F0;
    border-radius:24px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.055);
  }

  .marketplace-section-heading h2,
  .marketplace-products-heading h2{
    font-size:24px;
    font-weight:700;
  }

  .marketplace-section-heading p,
  .marketplace-products-heading p{
    font-size:13px;
  }

  .marketplace-section-heading > span{
    font-size:12px;
    font-weight:600;
  }

  .marketplace-category-scroll{
    margin:16px 0 0;
    padding:0 0 4px;
    display:grid;
    grid-auto-flow:column;
    grid-template-rows:repeat(2,98px);
    grid-auto-columns:94px;
    gap:10px;
  }

  .marketplace-category-item{
    width:94px;
    min-width:0;
    min-height:98px;
    height:98px;
    flex-basis:auto;
  }

  .marketplace-category-item b{
    font-weight:500;
  }

  .marketplace-category-item.active b{
    font-weight:650;
  }

  .marketplace-category-item:hover{
    border-color:#93C5FD;
    background:#F8FBFF;
    color:#062B5F;
  }

  .marketplace-category-item.active:hover{
    border-color:#062B5F;
    background:#E9F0F8;
  }

  .marketplace-results{
    padding-top:22px;
  }

  .marketplace-products-heading{
    margin-bottom:18px;
  }

  .marketplace-product-count{
    font-weight:600;
  }

  .marketplace-empty-state{
    width:min(100%,720px);
    min-height:0;
    grid-template-columns:62px minmax(0,1fr);
    gap:20px;
    margin:2px auto 6px;
    padding:24px 26px;
    border-color:#DCE5EF;
    border-radius:18px;
    background:#F8FAFC;
    box-shadow:none;
  }

  .marketplace-empty-visual{
    width:62px!important;
    height:62px!important;
    min-width:62px;
    min-height:62px;
    border-color:#D8E7E0;
    border-radius:17px;
    background:#ECF8F2;
    box-shadow:none;
  }

  .marketplace-empty-visual img,
  .marketplace-empty-visual span{
    display:none!important;
  }

  .marketplace-empty-visual:after{
    content:"";
    width:27px;
    height:27px;
    display:block;
    background:#087A55;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h11v2H6v12h12v-5h2v7H4V4Zm8 4a4 4 0 1 1 2.5 7.1l-2.8 2.8-1.4-1.4 2.8-2.8A4 4 0 0 1 12 8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h11v2H6v12h12v-5h2v7H4V4Zm8 4a4 4 0 1 1 2.5 7.1l-2.8 2.8-1.4-1.4 2.8-2.8A4 4 0 0 1 12 8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  .marketplace-empty-eyebrow{
    margin-bottom:5px;
    font-size:10px;
    letter-spacing:.07em;
  }

  .marketplace-empty-copy h3{
    font-size:17px;
    line-height:1.35;
    font-weight:620;
  }

  .marketplace-empty-copy>p{
    margin-top:6px;
    font-size:12px;
    line-height:1.55;
  }

  .marketplace-empty-state .marketplace-empty-actions{
    gap:8px;
    margin-top:13px;
  }

  .marketplace-empty-state .marketplace-empty-actions .app-button{
    width:auto;
    min-width:0;
    min-height:38px;
    flex:0 0 auto;
    padding:0 14px;
    border-radius:10px;
    font-size:11px;
  }

  .marketplace-empty-suggestions{
    margin-top:13px;
    padding-top:11px;
  }

  .marketplace-empty-suggestions small{
    margin-bottom:7px;
  }

  .marketplace-empty-suggestions a{
    min-height:28px;
    padding:0 9px;
    font-size:10px;
  }

  .marketplace-page .market-product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }

  .marketplace-page .market-product-card{
    border-radius:18px;
    box-shadow:0 7px 22px rgba(15,23,42,.07);
  }

  .marketplace-page .market-product-card:hover{
    transform:translateY(-3px);
    border-color:#BFDBFE;
    box-shadow:0 16px 34px rgba(15,23,42,.12);
  }

  .marketplace-page .market-product-copy{
    padding:13px 14px 14px;
  }

  .marketplace-page .market-product-copy h3{
    min-height:40px;
    font-size:15px;
    line-height:20px;
    font-weight:500;
  }

  .marketplace-page .market-product-price{
    font-size:17px;
    font-weight:700;
  }

  .marketplace-page .market-product-services b{
    font-weight:650;
  }

  .marketplace-page .market-product-store b{
    font-size:12px;
    font-weight:600;
  }

  .marketplace-page .market-product-location{
    font-size:11px;
    font-weight:400;
  }

  .marketplace-page .app-floating-chat{
    right:max(28px,calc((100vw - 1180px)/2 + 28px));
    bottom:28px;
  }
}

@media (min-width:1024px){
  .marketplace-header-inner{
    grid-template-columns:260px minmax(0,1fr) 126px 96px;
    grid-template-areas:
      "brand search sell account"
      "nav nav nav nav";
    gap:12px 14px;
  }

  .marketplace-sell-action{
    grid-area:sell;
    min-width:126px;
    height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 16px;
    border:1px solid rgba(134,239,172,.55);
    border-radius:15px;
    background:linear-gradient(135deg,#13B957 0%,#079447 100%);
    color:#fff;
    box-shadow:0 10px 24px rgba(4,120,87,.24);
    font-size:13px;
    font-weight:550;
    white-space:nowrap;
    transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease;
  }

  .marketplace-account-action{
    grid-area:account;
    min-width:96px;
    height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 15px;
    border:1px solid rgba(255,255,255,.20);
    border-radius:15px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-size:13px;
    font-weight:550;
    white-space:nowrap;
    transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
  }

  .marketplace-account-action b{font-weight:inherit}

  .marketplace-account-action .nav-icon{
    width:20px;
    height:20px;
    background:currentColor;
    mask-size:20px 20px;
    -webkit-mask-size:20px 20px;
  }

  .marketplace-account-action:hover,
  .marketplace-account-action.active{
    border-color:#BBF7D0;
    background:#F0FDF4;
    color:#047857;
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(3,27,58,.18);
  }

  .marketplace-account-action:active{transform:translateY(0) scale(.98)}

  .marketplace-account-action:focus-visible{
    outline:3px solid rgba(191,247,208,.42);
    outline-offset:3px;
  }

  .marketplace-sell-action b{
    font-weight:inherit;
  }

  .marketplace-sell-action .nav-icon{
    width:21px;
    height:21px;
    background:currentColor;
    mask-size:21px 21px;
    -webkit-mask-size:21px 21px;
  }

  .marketplace-sell-action:hover{
    color:#fff;
    border-color:#A7F3D0;
    background:#07853F;
    transform:translateY(-2px);
    box-shadow:0 16px 30px rgba(4,120,87,.34);
  }

  .marketplace-sell-action:active{
    transform:translateY(0) scale(.98);
  }

  .marketplace-sell-action:focus-visible{
    outline:3px solid rgba(74,222,128,.42);
    outline-offset:3px;
  }

  .marketplace-desktop-nav .marketplace-sell-nav-item{
    display:none;
  }

  .marketplace-desktop-nav .marketplace-account-nav-item{
    display:none;
  }

  .marketplace-header-mode-tabs{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    gap:7px;
    margin-left:auto;
    padding-left:16px;
    border-left:1px solid rgba(255,255,255,.12);
  }

  .marketplace-desktop-nav .marketplace-header-mode-tabs a{
    min-width:0;
    min-height:39px;
    padding:0 16px;
    border-color:rgba(255,255,255,.14);
    background:rgba(255,255,255,.08);
    font-size:12px;
    font-weight:500;
  }

  .marketplace-desktop-nav .marketplace-header-mode-tabs a.active{
    min-width:0;
    background:#F0FDF4;
    color:#047857;
    font-weight:600;
  }

  .marketplace-header-mode-tabs + a:last-child{
    margin-left:0;
  }

  .marketplace-desktop-nav{
    padding-left:0;
  }

  .marketplace-page .market-product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (min-width:1280px){
  .marketplace-page .market-product-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}

/*
 * Desktop category grid.
 * All category cards remain inside the panel without horizontal clipping.
 */
@media (min-width:768px){
  .marketplace-categories .marketplace-category-scroll{
    width:100%;
    grid-template-columns:repeat(7,minmax(0,1fr));
    grid-template-rows:repeat(3,98px);
    grid-auto-columns:unset;
    grid-auto-flow:row;
    gap:10px;
    padding:0;
    overflow:visible;
  }

  .marketplace-categories .marketplace-category-item{
    width:100%;
    min-width:0;
    max-width:none;
    height:98px;
  }

  .marketplace-categories .marketplace-category-item b{
    width:calc(100% - 10px);
  }

  .marketplace-categories .marketplace-category-item .category-icon{
    width:54px;
    height:54px;
    border-radius:15px;
  }
}

@media (min-width:1024px){
  .marketplace-categories .marketplace-category-scroll{
    grid-template-columns:repeat(11,minmax(0,1fr));
    grid-template-rows:repeat(2,98px);
  }
}
