/*
 * Marketplace experience layer
 * Scoped, readable overrides for the authenticated Marketplace shell.
 * This file intentionally loads after the legacy bundle while components
 * are migrated out of the accumulated historical cascade.
 */

.marketplace-experience {
  --market-ink:#10291d;
  --market-muted:#52655a;
  --market-subtle:#68786f;
  --market-accent:#2f7548;
  --market-accent-strong:#1e6139;
  --market-focus:#2f7548;
  --market-surface:#fffefa;
  --market-surface-soft:#f4f8ef;
  --market-line:rgba(18,60,43,.14);
  --market-shadow:0 18px 46px rgba(8,40,29,.12);
  color:var(--market-ink);
}

.marketplace-experience [hidden] {
  display:none!important;
}

.marketplace-experience .skip-link {
  position:fixed;
  z-index:1000;
  top:12px;
  left:12px;
  padding:11px 16px;
  border-radius:10px;
  background:#123c2b;
  color:#fff;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
  transform:translateY(-160%);
  transition:transform .16s ease;
}

.marketplace-experience .skip-link:focus {
  transform:translateY(0);
}

.marketplace-experience :is(
  button,
  a,
  input,
  select,
  textarea,
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline:3px solid rgba(47,117,72,.34);
  outline-offset:3px;
}

.marketplace-experience .app-header {
  border-color:var(--market-line);
  background:rgba(255,254,250,.96);
  box-shadow:0 8px 28px rgba(8,40,29,.06);
}

.marketplace-experience .header-main {
  min-height:68px;
  gap:clamp(12px,1.7vw,24px)!important;
  padding:8px clamp(22px,4vw,64px)!important;
}

.marketplace-experience .app-brand img {
  width:144px!important;
  height:44px;
}

.marketplace-experience .global-search {
  position:relative;
  display:grid!important;
  width:100%;
  height:56px!important;
  grid-template-columns:auto minmax(0,1fr) auto minmax(190px,265px)!important;
  gap:8px!important;
  overflow:visible!important;
  padding:0 0 0 15px!important;
  border-color:var(--market-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 18px rgba(8,40,29,.035);
}

.marketplace-experience .global-search:hover {
  border-color:rgba(47,117,72,.35);
}

.marketplace-experience .global-search:focus-within {
  border-color:var(--market-focus)!important;
  box-shadow:0 0 0 4px rgba(47,117,72,.12),0 10px 28px rgba(8,40,29,.08)!important;
}

.marketplace-experience .global-search input {
  min-height:44px;
  color:var(--market-ink);
  font-size:14px!important;
}

.marketplace-experience .global-search input::placeholder {
  color:#66766d;
  opacity:1;
}

.marketplace-experience .search-clear-button {
  display:grid;
  width:40px;
  height:40px;
  flex:none;
  place-items:center;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#5b6d62;
  cursor:pointer;
  transition:background-color .16s ease,color .16s ease;
}

.marketplace-experience .search-clear-button:hover {
  background:#edf4e9;
  color:var(--market-accent-strong);
}

.marketplace-experience .search-clear-button svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-width:2;
}

.marketplace-experience .search-suggestions {
  max-height:min(430px,calc(100dvh - 150px));
  overflow-y:auto;
  border-color:var(--market-line)!important;
  background:#fff;
  box-shadow:var(--market-shadow)!important;
}

.marketplace-experience .search-suggestion-row {
  min-height:52px;
}

.marketplace-experience .location-control {
  min-width:190px;
  height:54px;
  border-width:0 0 0 1px;
  border-color:var(--market-line);
  border-radius:0 15px 15px 0;
  background:#f1f7e9;
}

.marketplace-experience .location-control small {
  color:var(--market-subtle);
  font-size:10px!important;
}

.marketplace-experience .location-control strong {
  color:var(--market-ink);
  font-size:12px!important;
}

.marketplace-experience .location-control em {
  color:var(--market-subtle);
  font-size:10px!important;
}

.marketplace-experience .header-account-actions {
  gap:8px!important;
}

.marketplace-experience :is(.inbox-trigger,.cart-trigger) {
  width:44px!important;
  height:44px!important;
  border-color:var(--market-line);
  background:#fff;
}

.marketplace-experience .account-trigger {
  min-height:48px;
}

.marketplace-experience .account-copy strong {
  color:var(--market-ink);
  font-size:13px;
}

.marketplace-experience .account-copy small {
  color:var(--market-subtle);
  font-size:11px;
}

.marketplace-experience .service-nav {
  display:flex;
  min-width:0;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:4px;
  overflow:visible;
  padding:0;
  border:0;
}

.marketplace-experience .service-tab {
  display:inline-flex;
  min-width:0;
  min-height:44px;
  flex:0 1 auto;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 clamp(9px,1.15vw,15px);
  border-radius:12px;
  color:var(--market-muted);
  font-size:12px;
  white-space:nowrap;
}

.marketplace-experience .service-tab span {
  color:inherit;
  font-size:12px;
}

.marketplace-experience .service-icon {
  width:28px;
  height:28px;
  flex:none;
  border-radius:9px;
}

.marketplace-experience .service-icon svg {
  width:19px;
  height:19px;
}

.marketplace-experience .service-tab.active {
  background:#f2f7ed;
  color:var(--market-accent-strong);
}

.marketplace-experience .service-tab::after {
  right:18%;
  bottom:-8px;
  left:18%;
}

/* Sales workspace destination */
.marketplace-experience .workspace-switch {
  position:relative;
  isolation:isolate;
  display:grid;
  width:100%;
  min-width:0;
  min-height:50px;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-rows:1fr;
  align-items:center;
  justify-content:stretch;
  gap:9px;
  overflow:hidden;
  padding:5px 10px;
  border:1px solid rgba(47,117,72,.22);
  border-radius:14px;
  background:linear-gradient(135deg,#f7faf3,#edf5e7);
  color:var(--market-accent-strong);
  text-align:left;
  box-shadow:0 7px 20px rgba(8,40,29,.055);
  transition:border-color .22s ease,box-shadow .22s ease,background-color .22s ease,transform .22s ease;
}

.marketplace-experience .workspace-switch::before {
  position:absolute;
  z-index:-1;
  inset:-65% 54% -65% -70%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.82),transparent);
  content:"";
  transform:translateX(-35%) rotate(12deg);
  transition:transform .58s cubic-bezier(.22,.8,.26,1);
}

.marketplace-experience .workspace-switch::after {
  display:none;
}

.marketplace-experience .workspace-switch:hover,
.marketplace-experience .workspace-switch:focus-visible {
  border-color:rgba(47,117,72,.48);
  background:linear-gradient(135deg,#f8fcf4,#e8f3df);
  box-shadow:0 10px 26px rgba(8,40,29,.1),0 0 0 3px rgba(47,117,72,.08);
  transform:translateY(-1px);
}

.marketplace-experience .workspace-switch:hover::before,
.marketplace-experience .workspace-switch:focus-visible::before {
  transform:translateX(360%) rotate(12deg);
}

.marketplace-experience .workspace-switch.active {
  border-color:#23663d;
  background:linear-gradient(135deg,#123c2b,#1e6139);
  color:#fff;
  box-shadow:0 12px 28px rgba(8,40,29,.18),0 0 0 3px rgba(47,117,72,.1);
}

.marketplace-experience .workspace-switch .service-icon {
  width:34px;
  height:34px;
  border-radius:10px;
  background:rgba(255,255,255,.76);
  color:inherit;
}

.marketplace-experience .workspace-switch:hover .service-icon,
.marketplace-experience .workspace-switch.active .service-icon {
  background:rgba(255,255,255,.14);
  transform:none;
}

.marketplace-experience .workspace-switch-copy {
  display:grid;
  min-width:0;
  gap:2px;
}

.marketplace-experience .workspace-switch-copy small,
.marketplace-experience .workspace-switch-copy strong {
  display:block;
  overflow:hidden;
  color:inherit;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .workspace-switch-copy small {
  opacity:.68;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.marketplace-experience .workspace-switch-copy strong {
  font-size:12px;
  font-weight:900;
  letter-spacing:0;
}

.marketplace-experience .workspace-enter-icon {
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
  transition:transform .22s ease;
}

.marketplace-experience .workspace-switch:hover .workspace-enter-icon,
.marketplace-experience .workspace-switch:focus-visible .workspace-enter-icon {
  transform:translateX(2px);
}

.marketplace-experience .workspace-capability-summary {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 0;
  padding:0;
  list-style:none;
}

.marketplace-experience .workspace-capability-summary li {
  display:grid;
  min-width:155px;
  gap:3px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(8px);
}

.marketplace-experience .workspace-capability-summary span {
  color:rgba(255,255,255,.65);
  font-size:8px;
  line-height:1.25;
}

.marketplace-experience .workspace-capability-summary b {
  color:#fff;
  font-size:9px;
}

.marketplace-experience .workspace-capability-summary li[data-tone="connected"] b { color:#cfeeb9; }
.marketplace-experience .workspace-capability-summary li[data-tone="estimate"] b { color:#f1dfa4; }
.marketplace-experience .workspace-capability-summary li[data-tone="limited"] b { color:#efb9a7; }

.marketplace-experience .producer-portal-nav button>em[data-tone="manual"],
.marketplace-experience .producer-portal-nav button>em[data-tone="limited"] {
  border-color:rgba(177,85,62,.24);
  background:#fff2ee;
  color:#a64835;
}

.marketplace-experience .producer-portal-nav button>em[data-tone="estimate"] {
  border-color:rgba(176,132,38,.25);
  background:#fff8e6;
  color:#8b681a;
}

.marketplace-experience :is(.shipping-operation-notice,.finance-preview-notice) {
  display:grid;
  grid-column:1 / -1;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px 14px;
  padding:13px 15px;
  border:1px solid rgba(176,132,38,.2);
  border-radius:12px;
  background:#fffaea;
  color:#66531d;
}

.marketplace-experience :is(.shipping-operation-notice,.finance-preview-notice)::before {
  display:grid;
  width:28px;
  height:28px;
  grid-row:1 / span 2;
  place-items:center;
  border-radius:8px;
  background:#f5e8b6;
  content:"i";
  font-family:Georgia,serif;
  font-size:15px;
  font-weight:800;
}

.marketplace-experience :is(.shipping-operation-notice,.finance-preview-notice) strong { font-size:10px; }
.marketplace-experience :is(.shipping-operation-notice,.finance-preview-notice) span {
  color:#786a3d;
  font-size:8px;
  line-height:1.5;
}

.marketplace-experience .finance-preview-notice {
  border-color:rgba(47,117,72,.18);
  background:#f3f8ef;
  color:#28583a;
}

.marketplace-experience .finance-preview-notice::before { background:#dfedd6; }
.marketplace-experience .finance-preview-notice span { color:#5c7062; }

.marketplace-experience .product-evidence-disclaimer {
  display:block;
  margin-top:3px;
  color:#8a6b2f;
  font-size:6.5px;
  font-weight:750;
  line-height:1.4;
}

.marketplace-experience .producer-load-error {
  border-color:rgba(177,85,62,.22);
  background:#fff8f5;
}

.marketplace-experience .producer-load-error>i {
  background:#fff0eb;
  color:#a64835;
}

.marketplace-experience .producer-load-error>button {
  min-height:38px;
  margin-top:14px;
  padding:0 14px;
  border:1px solid rgba(177,85,62,.22);
  border-radius:9px;
  background:#fff;
  color:#923f2f;
  font-size:8px;
  font-weight:900;
}

.marketplace-experience .marketplace-context-tools {
  position:relative;
  z-index:12;
  padding:14px clamp(22px,4vw,64px);
  border-bottom:1px solid var(--market-line);
  background:linear-gradient(180deg,#faf8f1 0%,#fffefb 100%);
}

.marketplace-experience :is(.location-menu,.inbox-popover,.account-menu) {
  border-color:var(--market-line);
  background:#fff;
  box-shadow:var(--market-shadow);
}

.marketplace-experience .inbox-popover {
  width:min(390px,calc(100vw - 24px));
}

.marketplace-experience .inbox-panel {
  max-height:min(390px,calc(100dvh - 250px));
  overflow-y:auto;
}

.marketplace-experience .account-menu-links a,
.marketplace-experience .signout-button {
  min-height:44px;
  font-size:12px;
}

.marketplace-experience .app-main:focus {
  outline:none;
}

.marketplace-experience .filter-heading h2 {
  margin:0;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:600;
  line-height:1.1;
}

.marketplace-experience .shop-toolbar h1 {
  margin:7px 0 8px;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:clamp(32px,3.2vw,46px);
  font-weight:560;
  letter-spacing:-.035em;
  line-height:1.04;
}

.marketplace-experience .shop-toolbar p {
  color:var(--market-muted);
  font-size:13px;
  line-height:1.55;
}

.marketplace-experience .filter-heading>div>span {
  color:var(--market-accent);
}

.marketplace-experience .toolbar-actions>span {
  color:var(--market-ink);
  font-size:12px;
  font-weight:850;
}

.marketplace-experience .toolbar-actions label small {
  color:var(--market-subtle);
  font-size:10px;
}

.marketplace-experience .toolbar-actions select {
  min-height:44px;
  color:var(--market-ink);
  font-size:12px;
}

@media (min-width:1281px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(140px,160px) minmax(190px,215px) minmax(330px,1fr) max-content!important;
  }
}

@media (min-width:1081px) and (max-width:1280px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(128px,150px) 54px minmax(310px,1fr) max-content!important;
    min-height:68px;
  }

  .marketplace-experience .workspace-switch {
    width:54px;
    grid-template-columns:1fr;
    place-items:center;
    padding:5px;
  }

  .marketplace-experience .workspace-switch-copy,
  .marketplace-experience .workspace-enter-icon {
    display:none;
  }

  .marketplace-experience .service-nav {
    min-height:44px;
  }

  .marketplace-experience .service-tab {
    padding-inline:9px;
  }

  .marketplace-experience .location-picker {
    width:auto!important;
    min-width:190px!important;
  }

  .marketplace-experience .location-control {
    width:100%!important;
    min-width:190px!important;
  }

  .marketplace-experience .location-control span,
  .marketplace-experience .location-chevron {
    display:block!important;
  }
}

@media (min-width:821px) and (max-width:1080px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(130px,1fr) minmax(190px,220px) auto!important;
    row-gap:7px!important;
  }

  .marketplace-experience .workspace-switch {
    grid-column:2;
    grid-row:1;
  }

  .marketplace-experience .header-account-actions {
    grid-column:3;
    grid-row:1;
  }

  .marketplace-experience .service-nav {
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
    min-height:42px;
  }
}

@media (max-width:820px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(112px,1fr) minmax(176px,205px) auto!important;
    row-gap:7px!important;
  }

  .marketplace-experience .service-nav {
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    padding:1px 0 2px;
    scrollbar-width:none;
  }

  .marketplace-experience .workspace-switch {
    grid-column:2;
    grid-row:1;
  }

  .marketplace-experience .header-account-actions {
    grid-column:3;
    grid-row:1;
  }

  .marketplace-experience .service-nav::-webkit-scrollbar {
    display:none;
  }

  .marketplace-experience .service-tab {
    min-width:max-content;
    flex:0 0 auto;
    padding-inline:12px;
  }

  .marketplace-experience .service-tab::after {
    bottom:-3px;
  }
}

@media (max-width:620px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(96px,1fr) 48px auto!important;
  }

  .marketplace-experience .workspace-switch {
    width:48px;
    min-height:46px;
    grid-template-columns:1fr;
    place-items:center;
    padding:4px;
  }

  .marketplace-experience .workspace-switch-copy,
  .marketplace-experience .workspace-enter-icon {
    display:none;
  }

  .marketplace-experience .workspace-switch .service-icon {
    width:34px;
    height:34px;
  }

  .marketplace-experience .app-brand img {
    width:min(96px,100%)!important;
    height:38px;
  }

  .marketplace-experience .workspace-capability-summary {
    display:grid;
    grid-template-columns:1fr;
  }

  .marketplace-experience .workspace-capability-summary li {
    min-width:0;
  }
}

@media (max-width:760px) {
  .marketplace-experience .app-header {
    position:sticky;
  }

  .marketplace-experience .header-main {
    padding:8px 14px!important;
  }

  .marketplace-experience .marketplace-context-tools {
    padding:12px 14px;
  }

  .marketplace-experience .global-search {
    min-height:48px;
  }

  .marketplace-experience .search-suggestions {
    position:absolute!important;
    z-index:420!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    left:0!important;
    width:auto!important;
    max-height:calc(100dvh - 170px);
  }

  .marketplace-experience .inbox-popover {
    position:fixed;
    z-index:430;
    top:118px;
    right:12px;
    left:12px;
    width:auto;
    max-height:calc(100dvh - 84px);
    overflow:hidden;
  }

  .marketplace-experience .inbox-panel {
    max-height:calc(100dvh - 245px);
  }

  .marketplace-experience .account-menu {
    position:fixed;
    top:118px;
    right:12px;
    left:12px;
  }

  .marketplace-experience .service-tab,
  .marketplace-experience .service-tab span {
    font-size:11px;
  }

  .marketplace-experience .shop-toolbar h1 {
    font-size:clamp(30px,9vw,38px);
  }
}

@media (max-width:700px) {
  .marketplace-experience .global-search {
    grid-template-columns:auto minmax(0,1fr) auto 48px!important;
  }

  .marketplace-experience .location-picker {
    width:48px!important;
    min-width:48px!important;
  }

  .marketplace-experience .location-control {
    width:48px!important;
    min-width:48px!important;
    grid-template-columns:1fr!important;
    place-items:center;
    padding:0!important;
    border-radius:0 15px 15px 0!important;
  }

  .marketplace-experience .location-control span,
  .marketplace-experience .location-chevron {
    display:none!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .marketplace-experience *,
  .marketplace-experience *::before,
  .marketplace-experience *::after {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* Sales Center: command centre and daily workspaces share one stable shell. */
.marketplace-experience .producer-portal-view {
  --seller-ink:#0b3527;
  --seller-accent:#2f7548;
  --seller-soft:#f3f7ef;
  --seller-line:rgba(24,72,50,.14);
  background:#fbfcf8;
}

.marketplace-experience .producer-portal-view[data-active-panel]:not([data-active-panel="home"]) .producer-portal-hero {
  display:none;
}

.marketplace-experience .producer-portal-hero {
  max-width:1440px;
  margin:0 auto;
}

.marketplace-experience .producer-portal-hero p {
  max-width:690px;
  font-size:14px;
  line-height:1.65;
}

.marketplace-experience .producer-workspace-shell {
  display:grid;
  max-width:1440px;
  min-height:700px;
  grid-template-columns:248px minmax(0,1fr);
  align-items:start;
  gap:24px;
  margin:0 auto;
  padding:28px 28px 88px;
}

.marketplace-experience .producer-portal-nav {
  position:relative!important;
  z-index:1!important;
  top:auto!important;
  display:flex!important;
  max-width:none!important;
  overflow:visible!important;
  flex-direction:column;
  gap:18px!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid var(--seller-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(8,40,29,.06)!important;
  backdrop-filter:none!important;
}

.marketplace-experience .producer-nav-identity {
  display:grid;
  gap:3px;
  padding:3px 4px 15px;
  border-bottom:1px solid var(--seller-line);
}

.marketplace-experience .producer-nav-identity span,
.marketplace-experience .producer-nav-group>span {
  color:#6b786f;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.marketplace-experience .producer-nav-identity strong {
  color:var(--seller-ink);
  font-family:Georgia,serif;
  font-size:22px;
  font-weight:600;
}

.marketplace-experience .producer-nav-identity small {
  color:#557064;
  font-size:11px;
  line-height:1.4;
}

.marketplace-experience .producer-nav-group {
  display:grid;
  gap:5px;
}

.marketplace-experience .producer-nav-group>span {
  padding:0 8px 5px;
  font-size:9px;
}

.marketplace-experience .producer-portal-nav button {
  position:relative;
  display:grid!important;
  width:100%;
  min-width:0!important;
  min-height:44px!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  justify-items:start!important;
  align-content:center!important;
  gap:9px!important;
  padding:6px 9px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  color:#52655b!important;
  text-align:left!important;
  box-shadow:none!important;
}

.marketplace-experience .producer-portal-nav button>i {
  width:30px!important;
  height:30px!important;
  border-radius:8px!important;
  background:#f2f5ef!important;
}

.marketplace-experience .producer-portal-nav button>i svg {
  width:17px;
  height:17px;
}

.marketplace-experience .producer-portal-nav button>span {
  font-size:11px!important;
  font-weight:820!important;
  line-height:1.25!important;
}

.marketplace-experience .producer-portal-nav button:hover,
.marketplace-experience .producer-portal-nav button:focus-visible {
  border-color:rgba(47,117,72,.18)!important;
  background:#f7faf4!important;
  color:var(--seller-ink)!important;
}

.marketplace-experience .producer-portal-nav button.active {
  border-color:rgba(47,117,72,.22)!important;
  background:#edf5e7!important;
  color:var(--seller-ink)!important;
  box-shadow:inset 3px 0 var(--seller-accent)!important;
}

.marketplace-experience .producer-portal-nav button.active>i {
  background:var(--seller-ink)!important;
  color:#fff!important;
}

.marketplace-experience .producer-portal-nav button>b {
  position:absolute;
  top:50%;
  right:8px;
  min-width:19px;
  height:19px;
  transform:translateY(-50%);
}

.marketplace-experience .producer-portal-content {
  width:100%;
  max-width:none!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
}

.marketplace-experience .producer-panel {
  min-width:0;
}

.marketplace-experience .producer-home-heading,
.marketplace-experience .producer-panel-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin:0 0 20px;
  padding:2px 0 18px;
  border-bottom:1px solid var(--seller-line);
}

.marketplace-experience .producer-home-heading span,
.marketplace-experience .producer-panel-heading>div>span {
  color:var(--seller-accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.marketplace-experience .producer-home-heading h2,
.marketplace-experience .producer-panel-heading h2 {
  margin:6px 0 5px;
  color:var(--seller-ink);
  font-family:Georgia,serif;
  font-size:30px;
  font-weight:600;
}

.marketplace-experience .producer-home-heading p,
.marketplace-experience .producer-panel-heading p {
  margin:0;
  color:#5f7067;
  font-size:12px;
  line-height:1.55;
}

.marketplace-experience .producer-home-heading>button,
.marketplace-experience .producer-panel-heading>button,
.marketplace-experience .producer-catalog-onboarding>button {
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 15px;
  border:0;
  border-radius:10px;
  background:var(--seller-ink);
  color:#fff;
  font-size:11px;
  font-weight:850;
}

.marketplace-experience .producer-command-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.marketplace-experience .producer-attention-card {
  position:relative;
  display:grid;
  min-height:158px;
  align-content:start;
  gap:8px;
  padding:18px;
  border:1px solid var(--seller-line);
  border-radius:16px;
  background:#fff;
  color:var(--seller-ink);
  text-align:left;
  box-shadow:0 12px 28px rgba(8,40,29,.045);
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.marketplace-experience .producer-attention-card:hover,
.marketplace-experience .producer-attention-card:focus-visible {
  border-color:rgba(47,117,72,.38);
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(8,40,29,.08);
}

.marketplace-experience .producer-attention-card[data-tone="urgent"] { border-top:3px solid #c95c48; }
.marketplace-experience .producer-attention-card[data-tone="warning"] { border-top:3px solid #c79632; }
.marketplace-experience .producer-attention-card>span { color:#617168;font-size:10px;font-weight:850; }
.marketplace-experience .producer-attention-card>strong { font-family:Georgia,serif;font-size:28px;font-weight:600; }
.marketplace-experience .producer-attention-card>small { color:#65746c;font-size:11px;line-height:1.45; }
.marketplace-experience .producer-attention-card>i { position:absolute;right:16px;bottom:14px;color:var(--seller-accent);font-size:18px;font-style:normal; }

.marketplace-experience .producer-home-secondary {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:14px;
  margin-top:14px;
}

.marketplace-experience .producer-finance-snapshot,
.marketplace-experience .producer-operational-status {
  padding:20px;
  border:1px solid var(--seller-line);
  border-radius:16px;
  background:#fff;
}

.marketplace-experience .producer-finance-snapshot>span,
.marketplace-experience .producer-operational-status header span { color:var(--seller-accent);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase; }
.marketplace-experience .producer-finance-snapshot h3 { margin:8px 0 4px;color:var(--seller-ink);font-family:Georgia,serif;font-size:30px;font-weight:600; }
.marketplace-experience .producer-finance-snapshot p,
.marketplace-experience .producer-operational-status p { color:#63736a;font-size:11px;line-height:1.55; }
.marketplace-experience .producer-finance-snapshot button { padding:0;border:0;background:transparent;color:var(--seller-accent);font-size:11px;font-weight:850; }
.marketplace-experience .producer-operational-status header { display:flex;align-items:start;justify-content:space-between;gap:12px; }
.marketplace-experience .producer-operational-status h3 { margin:5px 0 0;color:var(--seller-ink);font-size:17px; }
.marketplace-experience .producer-operational-status header>b { padding:5px 8px;border-radius:999px;background:#edf5e7;color:var(--seller-accent);font-size:9px; }
.marketplace-experience .producer-operational-status header>b[data-tone="error"] { background:#fff0ec;color:#a84737; }
.marketplace-experience .producer-operational-status ul { display:grid;gap:7px;margin:14px 0 0;padding:0;list-style:none; }
.marketplace-experience .producer-operational-status li { display:flex;justify-content:space-between;gap:12px;padding-top:7px;border-top:1px solid var(--seller-line);font-size:10px; }
.marketplace-experience .producer-operational-status li span { color:#66766d; }
.marketplace-experience .producer-operational-status li strong { color:var(--seller-ink);text-align:right; }

.marketplace-experience .producer-catalog-toolbar {
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto;
  gap:12px;
  margin-bottom:14px;
}

.marketplace-experience .producer-catalog-toolbar>label {
  position:relative;
  display:flex;
  min-height:44px;
  align-items:center;
  grid-column:1;
  padding:0 13px 0 42px;
  border:1px solid var(--seller-line);
  border-radius:11px;
  background:#fff;
}

.marketplace-experience .producer-catalog-toolbar>label svg { position:absolute;left:14px;width:18px;height:18px;fill:none;stroke:var(--seller-accent);stroke-width:1.8; }
.marketplace-experience .producer-catalog-toolbar input { width:100%;border:0;outline:0;background:transparent;color:var(--seller-ink);font-size:12px; }
.marketplace-experience .producer-catalog-toolbar>label:focus-within { border-color:rgba(47,117,72,.55);box-shadow:0 0 0 3px rgba(47,117,72,.1); }
.marketplace-experience .producer-catalog-summary { display:flex;align-items:center;justify-content:flex-end;gap:8px;grid-column:2;grid-row:1; }
.marketplace-experience .producer-catalog-summary span { padding:8px 10px;border-radius:9px;background:#f1f6ed;color:#627169;font-size:9px;white-space:nowrap; }
.marketplace-experience .producer-catalog-summary b { color:var(--seller-ink);font-size:11px; }
.marketplace-experience .producer-catalog-filters { display:flex;overflow-x:auto;gap:7px;grid-column:1 / -1;padding-bottom:2px; }
.marketplace-experience .producer-catalog-filters button { min-height:34px;padding:0 11px;border:1px solid var(--seller-line);border-radius:999px;background:#fff;color:#5b6c62;font-size:10px;font-weight:800;white-space:nowrap; }
.marketplace-experience .producer-catalog-filters button.active { border-color:var(--seller-accent);background:#edf5e7;color:var(--seller-ink); }

.marketplace-experience .producer-panel .producer-timeline { padding:22px!important;border:1px solid var(--seller-line);border-radius:17px;background:#fff; }
.marketplace-experience .producer-timeline-heading>b { font-size:9px!important; }
.marketplace-experience .producer-products-empty.compact { min-height:240px; }
.marketplace-experience .producer-catalog-onboarding { min-height:440px;padding:36px; }
.marketplace-experience .producer-catalog-onboarding>strong { font-size:19px; }
.marketplace-experience .producer-catalog-onboarding>small { max-width:500px;font-size:11px; }
.marketplace-experience .producer-catalog-onboarding>button { margin-top:14px; }
.marketplace-experience .producer-catalog-onboarding ol { display:grid;width:min(100%,680px);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 0;padding:0;list-style:none; }
.marketplace-experience .producer-catalog-onboarding li { display:flex;align-items:center;gap:9px;padding:12px;border:1px solid var(--seller-line);border-radius:12px;background:#fff;text-align:left; }
.marketplace-experience .producer-catalog-onboarding li b { display:grid;width:26px;height:26px;flex:none;place-items:center;border-radius:8px;background:#edf5e7;color:var(--seller-accent); }
.marketplace-experience .producer-catalog-onboarding li span { color:#42584c;font-size:10px;line-height:1.4; }
.marketplace-experience .producer-catalog-onboarding>p { max-width:670px;margin:18px 0 0;color:#67766e;font-size:10px;line-height:1.55; }

.marketplace-experience .seller-capability-note {
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-bottom:14px;
  padding:15px 17px;
  border:1px solid #e1c989;
  border-radius:13px;
  background:#fff9e9;
}
.marketplace-experience .seller-capability-note strong { flex:none;color:#684f19;font-size:11px; }
.marketplace-experience .seller-capability-note p { margin:0;color:#725f35;font-size:10px;line-height:1.5; }
.marketplace-experience .seller-draft-layout { display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:14px; }
.marketplace-experience .seller-draft-layout>form,
.marketplace-experience .seller-draft-list,
.marketplace-experience .producer-review-list,
.marketplace-experience .producer-buy-box-table { padding:20px;border:1px solid var(--seller-line);border-radius:16px;background:#fff; }
.marketplace-experience .seller-draft-layout>form { display:grid;align-content:start;gap:12px; }
.marketplace-experience .seller-draft-layout form>div { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.marketplace-experience .seller-draft-layout label { display:grid;gap:6px;color:var(--seller-ink);font-size:10px;font-weight:850; }
.marketplace-experience .seller-draft-layout input,
.marketplace-experience .seller-draft-layout select { width:100%;min-height:42px;padding:0 11px;border:1px solid var(--seller-line);border-radius:9px;background:#fff;color:var(--seller-ink);font-size:11px; }
.marketplace-experience .seller-draft-layout form>button { min-height:42px;border:0;border-radius:10px;background:var(--seller-ink);color:#fff;font-size:11px;font-weight:850; }
.marketplace-experience .seller-draft-list { display:grid;align-content:start;gap:9px; }
.marketplace-experience .seller-draft-list>header { display:flex;justify-content:space-between;gap:10px;margin-bottom:5px;color:#65746c;font-size:10px; }
.marketplace-experience .seller-draft-list>header>b { color:var(--seller-ink); }
.marketplace-experience .seller-draft-list>article { display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:12px;border:1px solid var(--seller-line);border-radius:11px;background:#fafcf8; }
.marketplace-experience .seller-draft-list article div { display:grid;gap:3px; }
.marketplace-experience .seller-draft-list article span { color:var(--seller-accent);font-size:8px;font-weight:900;text-transform:uppercase; }
.marketplace-experience .seller-draft-list article strong { color:var(--seller-ink);font-size:11px; }
.marketplace-experience .seller-draft-list article small { color:#67766e;font-size:9px; }
.marketplace-experience .seller-draft-list article button { min-height:32px;padding:0 9px;border:1px solid var(--seller-line);border-radius:8px;background:#fff;color:var(--seller-accent);font-size:9px;font-weight:850; }
.marketplace-experience .seller-draft-list article button.danger { color:#a84737; }
.marketplace-experience .seller-module-empty { padding:28px;border:1px dashed var(--seller-line);border-radius:12px;background:#fafcf8;text-align:center; }
.marketplace-experience .seller-module-empty strong { color:var(--seller-ink);font-size:13px; }
.marketplace-experience .seller-module-empty p { margin:6px 0 0;color:#67766e;font-size:10px; }

.marketplace-experience .seller-module-kpis { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px; }
.marketplace-experience .seller-module-kpis article { padding:15px;border:1px solid var(--seller-line);border-radius:13px;background:#fff; }
.marketplace-experience .seller-module-kpis span { display:block;color:#68776f;font-size:9px; }
.marketplace-experience .seller-module-kpis strong { display:block;margin-top:6px;color:var(--seller-ink);font-size:19px; }
.marketplace-experience .producer-review-list { display:grid;gap:8px; }
.marketplace-experience .producer-review-row { display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;border:1px solid var(--seller-line);border-radius:12px; }
.marketplace-experience .producer-review-row>i { display:grid;width:48px;height:48px;place-items:center;overflow:hidden;border-radius:10px;background:#edf5e7;color:var(--seller-accent);font-style:normal;font-weight:900; }
.marketplace-experience .producer-review-row>i img { width:100%;height:100%;object-fit:cover; }
.marketplace-experience .producer-review-row>div { display:grid;gap:3px; }
.marketplace-experience .producer-review-row span { color:var(--seller-accent);font-size:8px;font-weight:900;text-transform:uppercase; }
.marketplace-experience .producer-review-row strong { color:var(--seller-ink);font-size:12px; }
.marketplace-experience .producer-review-row small { color:#68776f;font-size:10px; }
.marketplace-experience .producer-review-row button { min-height:36px;padding:0 11px;border:1px solid var(--seller-line);border-radius:9px;background:#fff;color:var(--seller-accent);font-size:9px;font-weight:850; }
.marketplace-experience .producer-review-row button:disabled { color:#89958e;background:#f3f5f1; }

.marketplace-experience .producer-buy-box-table { display:grid;gap:8px;overflow-x:auto; }
.marketplace-experience .producer-buy-box-table>header,
.marketplace-experience .producer-buy-box-table>article { display:grid;min-width:720px;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(80px,.55fr)) minmax(150px,.8fr);align-items:center;gap:10px; }
.marketplace-experience .producer-buy-box-table>header { padding:0 12px 7px;color:#6b786f;font-size:9px;font-weight:900;text-transform:uppercase; }
.marketplace-experience .producer-buy-box-table>article { padding:12px;border:1px solid var(--seller-line);border-radius:11px;background:#fafcf8; }
.marketplace-experience .producer-buy-box-table article>div,
.marketplace-experience .producer-buy-box-table article>span { display:grid;gap:3px; }
.marketplace-experience .producer-buy-box-table article strong,
.marketplace-experience .producer-buy-box-table article b { color:var(--seller-ink);font-size:11px; }
.marketplace-experience .producer-buy-box-table article small { color:#6c7972;font-size:9px; }
.marketplace-experience .producer-buy-box-table article em { justify-self:start;padding:5px 7px;border-radius:999px;background:#edf5e7;color:var(--seller-accent);font-size:8px;font-style:normal;font-weight:850; }
.marketplace-experience .producer-buy-box-table article em[data-tone="attention"] { background:#fff2df;color:#8b5d15; }

.marketplace-experience .role-code-seller,
.marketplace-experience .role-choice.role-seller>b { background:#e8f0e2;color:#2f7548; }
.marketplace-experience .producer-portal-view.is-producer-identity {
  --seller-accent:#3d7d35;
  --seller-soft:#f1f7e9;
}
.marketplace-experience .producer-portal-view.is-producer-identity .producer-nav-identity { position:relative;padding-left:34px; }
.marketplace-experience .producer-portal-view.is-producer-identity .producer-nav-identity::before { position:absolute;top:4px;left:0;display:grid;width:26px;height:26px;place-items:center;border-radius:8px;background:#e4f0d7;color:#3d7d35;content:"P";font-size:11px;font-weight:950; }

@media (max-width:1120px) {
  .marketplace-experience .producer-workspace-shell { grid-template-columns:210px minmax(0,1fr);gap:16px;padding-right:18px;padding-left:18px; }
  .marketplace-experience .producer-command-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .marketplace-experience .producer-home-secondary { grid-template-columns:1fr; }
}

@media (max-width:860px) {
  .marketplace-experience .producer-workspace-shell { grid-template-columns:1fr;padding-top:16px; }
  .marketplace-experience .producer-portal-nav { flex-direction:row!important;overflow-x:auto!important;gap:10px!important;padding:12px!important;scrollbar-width:thin; }
  .marketplace-experience .producer-nav-identity { min-width:170px;align-content:center;border-right:1px solid var(--seller-line);border-bottom:0;padding:2px 16px 2px 3px; }
  .marketplace-experience .producer-nav-group { display:flex;min-width:max-content;align-items:center;gap:5px; }
  .marketplace-experience .producer-nav-group>span { display:none; }
  .marketplace-experience .producer-portal-nav button { width:auto!important;min-width:128px!important; }
  .marketplace-experience .seller-draft-layout { grid-template-columns:1fr; }
}

@media (max-width:620px) {
  .marketplace-experience .producer-portal-hero { padding:34px 20px; }
  .marketplace-experience .producer-portal-hero>i { display:none; }
  .marketplace-experience .producer-workspace-shell { padding-right:12px;padding-bottom:60px;padding-left:12px; }
  .marketplace-experience .producer-nav-identity { display:none; }
  .marketplace-experience .producer-portal-nav button { min-width:112px!important;grid-template-columns:25px minmax(0,1fr)!important;padding:5px 7px!important; }
  .marketplace-experience .producer-portal-nav button>i { width:25px!important;height:25px!important; }
  .marketplace-experience .producer-home-heading,
  .marketplace-experience .producer-panel-heading { align-items:flex-start;flex-direction:column; }
  .marketplace-experience .producer-home-heading h2,
  .marketplace-experience .producer-panel-heading h2 { font-size:25px; }
  .marketplace-experience .producer-home-heading>button,
  .marketplace-experience .producer-panel-heading>button { width:100%; }
  .marketplace-experience .producer-command-grid { grid-template-columns:1fr; }
  .marketplace-experience .producer-attention-card { min-height:130px; }
  .marketplace-experience .producer-catalog-toolbar { grid-template-columns:1fr; }
  .marketplace-experience .producer-catalog-toolbar>label,
  .marketplace-experience .producer-catalog-summary { grid-column:1;grid-row:auto; }
  .marketplace-experience .producer-catalog-summary { justify-content:flex-start; }
  .marketplace-experience .producer-catalog-onboarding ol,
  .marketplace-experience .seller-module-kpis { grid-template-columns:1fr; }
  .marketplace-experience .producer-review-row { grid-template-columns:42px minmax(0,1fr); }
  .marketplace-experience .producer-review-row>i { width:42px;height:42px; }
  .marketplace-experience .producer-review-row>button { grid-column:1 / -1; }
  .marketplace-experience .seller-draft-list>article { grid-template-columns:minmax(0,1fr) auto; }
  .marketplace-experience .seller-draft-list>article button+button { grid-column:2; }
  .marketplace-experience .seller-capability-note { display:grid; }
}

@media (prefers-reduced-motion:reduce) {
  .marketplace-experience .producer-attention-card { transition:none; }
}

/* Marketplace workspace */
.marketplace-experience .filter-heading {
  align-items:flex-start;
  gap:12px;
}

.marketplace-experience .filter-heading-actions {
  display:flex;
  align-items:center;
  gap:6px;
}

.marketplace-experience .filter-heading h2 {
  font-size:25px;
}

.marketplace-experience .marketplace-context-shell {
  display:grid;
  width:100%;
  max-width:1360px;
  grid-template-columns:minmax(190px,220px) minmax(420px,1fr) auto;
  align-items:center;
  gap:12px;
  margin:0 auto;
}

.marketplace-experience .marketplace-context-tools .global-search {
  max-width:none;
  margin:0;
}

.marketplace-experience :is(.category-menu-trigger,.filter-drawer-trigger) {
  display:inline-flex;
  min-height:56px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 14px;
  border:1px solid var(--market-line);
  border-radius:15px;
  background:#fff;
  color:var(--market-ink);
  box-shadow:0 5px 18px rgba(8,40,29,.035);
  font-size:12px;
  font-weight:850;
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease;
}

.marketplace-experience :is(.category-menu-trigger,.filter-drawer-trigger):hover,
.marketplace-experience :is(.category-menu-trigger,.filter-drawer-trigger).active {
  border-color:rgba(47,117,72,.36);
  background:#f5f9f1;
  box-shadow:0 8px 22px rgba(8,40,29,.07);
}

.marketplace-experience :is(.category-menu-trigger,.filter-drawer-trigger)>svg {
  width:20px;
  height:20px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .category-menu-trigger {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  justify-content:stretch;
  text-align:left;
}

.marketplace-experience .category-menu-trigger span {
  display:grid;
  min-width:0;
  gap:2px;
}

.marketplace-experience .category-menu-trigger small {
  color:var(--market-subtle);
  font-size:9px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.marketplace-experience .category-menu-trigger strong {
  overflow:hidden;
  color:var(--market-ink);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .category-menu-trigger .category-menu-chevron {
  width:16px;
  height:16px;
  transition:transform .16s ease;
}

.marketplace-experience .category-menu-trigger[aria-expanded="true"] .category-menu-chevron {
  transform:rotate(180deg);
}

.marketplace-experience .filter-drawer-trigger b {
  display:grid;
  min-width:20px;
  height:20px;
  place-items:center;
  padding:0 5px;
  border-radius:999px;
  background:var(--market-ink);
  color:#fff;
  font-size:10px;
}

.marketplace-experience .category-mega-panel {
  position:absolute;
  z-index:110;
  top:calc(100% - 7px);
  left:50%;
  width:min(1180px,calc(100% - 44px));
  max-height:calc(100dvh - 190px);
  overflow:auto;
  padding:22px;
  border:1px solid var(--market-line);
  border-radius:22px;
  background:#fffefa;
  box-shadow:0 28px 74px rgba(8,40,29,.2);
  transform:translateX(-50%);
  animation:category-mega-in .18s ease-out;
}

@keyframes category-mega-in {
  from { opacity:0; transform:translate(-50%,-7px); }
}

.marketplace-experience .category-mega-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid var(--market-line);
}

.marketplace-experience .category-mega-heading span,
.marketplace-experience .category-mega-heading h2,
.marketplace-experience .category-mega-heading p {
  display:block;
  margin:0;
}

.marketplace-experience .category-mega-heading span {
  color:var(--market-accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.marketplace-experience .category-mega-heading h2 {
  margin-top:4px;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:600;
}

.marketplace-experience .category-mega-heading p {
  margin-top:5px;
  color:var(--market-muted);
  font-size:11px;
}

.marketplace-experience .category-mega-heading>button,
.marketplace-experience .filter-drawer-close {
  display:grid;
  width:42px;
  height:42px;
  flex:none;
  place-items:center;
  padding:0;
  border:1px solid var(--market-line);
  border-radius:12px;
  background:#fff;
  color:var(--market-ink);
}

.marketplace-experience :is(.category-mega-heading>button,.filter-drawer-close) svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-width:1.9;
}

.marketplace-experience .category-mega-grid {
  display:grid;
  grid-template-columns:minmax(220px,.86fr) repeat(2,minmax(0,1fr));
  gap:16px;
}

.marketplace-experience .category-mega-all {
  display:grid;
  min-height:62px;
  grid-column:1 / -1;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border:1px solid var(--market-line);
  border-radius:15px;
  background:#f7faf4;
  color:var(--market-ink);
  text-align:left;
}

.marketplace-experience .category-mega-all i {
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  border-radius:11px;
  background:#e5f1dc;
  color:var(--market-accent-strong);
}

.marketplace-experience .category-mega-all svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-linejoin:round;
  stroke-width:1.7;
}

.marketplace-experience .category-mega-all span {
  display:grid;
  gap:3px;
}

.marketplace-experience .category-mega-all strong {
  font-size:13px;
}

.marketplace-experience .category-mega-all em {
  color:var(--market-muted);
  font-size:10px;
  font-style:normal;
}

.marketplace-experience :is(.category-mega-all,.category-mega-group button)>small {
  display:grid;
  min-width:24px;
  height:24px;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#edf2e9;
  color:var(--market-subtle);
  font-size:10px;
  font-weight:850;
}

.marketplace-experience .category-mega-featured {
  position:relative;
  isolation:isolate;
  display:flex;
  min-height:226px;
  overflow:hidden;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  padding:20px;
  border:0;
  border-radius:18px;
  background:url("/assets/catalog/vegetable-crate.webp") center/cover no-repeat;
  color:#fff;
  text-align:left;
}

.marketplace-experience .category-mega-featured::after {
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(180deg,rgba(8,40,29,.08),rgba(8,40,29,.9));
  content:"";
}

.marketplace-experience .category-mega-featured span {
  color:#c9ecaa;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.marketplace-experience .category-mega-featured strong {
  margin-top:7px;
  font-family:Georgia,serif;
  font-size:24px;
}

.marketplace-experience .category-mega-featured em {
  margin-top:6px;
  color:rgba(255,255,255,.82);
  font-size:10px;
  font-style:normal;
}

.marketplace-experience .category-mega-featured small {
  margin-top:14px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:var(--market-ink);
  font-size:10px;
  font-weight:850;
}

.marketplace-experience .category-mega-group {
  padding:5px 4px;
}

.marketplace-experience .category-mega-group h3 {
  margin:0 0 9px;
  color:var(--market-subtle);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.marketplace-experience .category-mega-group>div {
  display:grid;
  gap:3px;
}

.marketplace-experience .category-mega-group button {
  display:flex;
  width:100%;
  min-height:42px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:7px 9px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--market-ink);
  font-size:12px;
  font-weight:760;
  text-align:left;
}

.marketplace-experience :is(.category-mega-all,.category-mega-group button):hover,
.marketplace-experience :is(.category-mega-all,.category-mega-group button).active {
  background:#edf5e9;
  color:var(--market-accent-strong);
}

.marketplace-experience .category-mega-featured.active {
  box-shadow:inset 0 0 0 3px #b4dc93;
}

.marketplace-experience.filter-drawer-open {
  overflow:hidden;
}

.marketplace-experience .shop-layout {
  display:block;
  grid-template-columns:1fr!important;
  min-height:720px;
}

.marketplace-experience .filter-sidebar {
  position:fixed;
  z-index:500;
  top:0;
  right:0;
  bottom:0;
  left:auto;
  width:min(410px,calc(100vw - 24px));
  max-height:100dvh;
  overflow-y:auto;
  padding:24px 22px 34px!important;
  border:0;
  border-left:1px solid var(--market-line);
  background:#fffefa;
  box-shadow:0 24px 70px rgba(8,40,29,.24);
  pointer-events:none;
  transform:translateX(105%);
  visibility:hidden;
  transition:transform .2s ease,visibility 0s linear .2s;
}

.marketplace-experience .filter-sidebar.is-open {
  pointer-events:auto;
  transform:translateX(0);
  visibility:visible;
  transition-delay:0s;
}

.marketplace-experience .filter-sidebar .filter-group {
  display:block!important;
}

.marketplace-experience .filter-sidebar-footer {
  position:sticky;
  z-index:2;
  bottom:-34px;
  margin:24px -22px -34px;
  padding:14px 22px max(20px,env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(255,254,250,0),#fffefa 18%);
}

.marketplace-experience .filter-drawer-backdrop:not([hidden]) {
  position:fixed;
  z-index:490;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(7,31,22,.48);
  backdrop-filter:blur(2px);
}

.marketplace-experience .filter-group {
  margin-top:18px;
  padding-top:18px;
}

.marketplace-experience .filter-group-title {
  min-height:42px;
  color:var(--market-ink);
  font-size:12px;
}

.marketplace-experience .filter-options {
  gap:4px;
}

.marketplace-experience .filter-options label {
  min-height:40px;
  color:var(--market-muted);
  font-size:12px;
  line-height:1.35;
}

.marketplace-experience .filter-options label span {
  color:var(--market-subtle);
  font-size:10px;
}

.marketplace-experience .filter-options input:is([type="checkbox"],[type="radio"]) {
  width:18px;
  height:18px;
  accent-color:var(--market-accent);
}

.marketplace-experience .filter-price-options {
  margin-top:10px;
}

.marketplace-experience .filter-price-range {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.marketplace-experience .filter-price-range label,
.marketplace-experience .filter-select-field {
  display:grid!important;
  min-width:0;
  grid-template-columns:1fr!important;
  align-items:stretch!important;
  gap:7px!important;
  cursor:default!important;
}

.marketplace-experience .filter-money-input {
  position:relative;
  display:block;
}

.marketplace-experience .filter-money-input input,
.marketplace-experience .filter-select-field select {
  width:100%;
  min-width:0;
  min-height:44px;
  border:1px solid var(--market-line);
  border-radius:11px;
  background:#fff;
  color:var(--market-ink);
  font-size:12px;
  outline:0;
}

.marketplace-experience .filter-money-input input {
  padding:0 32px 0 11px;
}

.marketplace-experience .filter-select-field select {
  padding:0 34px 0 11px;
}

.marketplace-experience .filter-money-input>b {
  position:absolute;
  top:50%;
  right:11px;
  color:var(--market-subtle);
  font-size:12px;
  transform:translateY(-50%);
  pointer-events:none;
}

.marketplace-experience :is(.filter-money-input input,.filter-select-field select):focus {
  border-color:var(--market-focus);
  box-shadow:0 0 0 3px rgba(47,117,72,.11);
}

.marketplace-experience .filter-money-input input[aria-invalid="true"] {
  border-color:#bd5546;
  box-shadow:0 0 0 3px rgba(189,85,70,.1);
}

.marketplace-experience .filter-select-field select:disabled {
  background:#f1f3ef;
  color:var(--market-subtle);
  cursor:not-allowed;
}

.marketplace-experience .filter-price-error {
  margin-top:8px;
  color:#a64135;
  font-size:10px;
  font-weight:750;
  line-height:1.45;
}

.marketplace-experience .filter-sidebar-footer {
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--market-line);
}

.marketplace-experience .filter-sidebar-footer button {
  display:flex;
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 12px;
  border:1px solid rgba(47,117,72,.28);
  border-radius:12px;
  background:#fff;
  color:var(--market-accent-strong);
  box-shadow:0 8px 20px rgba(8,40,29,.055);
  font-size:11px;
  font-weight:900;
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.marketplace-experience .filter-sidebar-footer button:hover {
  border-color:rgba(47,117,72,.46);
  background:#edf5e9;
  box-shadow:0 11px 24px rgba(8,40,29,.085);
  transform:translateY(-1px);
}

.marketplace-experience .filter-sidebar-footer .filter-reset-button {
  width:auto;
  flex:none;
}

.marketplace-experience .filter-sidebar-footer .filter-results-button {
  flex:1;
  border-color:var(--market-ink);
  background:var(--market-ink);
  color:#fff;
  box-shadow:0 10px 22px rgba(8,40,29,.16);
}

.marketplace-experience .filter-sidebar-footer .filter-results-button:hover:not(:disabled) {
  border-color:var(--market-accent);
  background:var(--market-accent);
}

.marketplace-experience .filter-sidebar-footer .filter-results-button:disabled {
  border-color:#d8ddd6;
  background:#d8ddd6;
  color:#758077;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}

.marketplace-experience .filter-sidebar-footer svg {
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.9;
}

.marketplace-experience .shop-content {
  width:100%;
  min-width:0;
  padding:34px clamp(24px,4vw,64px) 76px!important;
}

.marketplace-experience .shop-toolbar {
  gap:30px;
  padding-bottom:24px;
  border-color:var(--market-line);
}

.marketplace-experience .toolbar-actions {
  flex-wrap:wrap;
  gap:10px;
}

.marketplace-experience .active-filter-bar {
  display:flex;
  min-height:52px;
  align-items:center;
  gap:10px;
  margin-top:14px;
  padding:8px 10px 8px 14px;
  border:1px solid var(--market-line);
  border-radius:13px;
  background:#f7faf4;
}

.marketplace-experience .active-filter-bar>span {
  flex:none;
  color:var(--market-subtle);
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.marketplace-experience [data-active-filter-chips] {
  display:flex;
  min-width:0;
  flex:1;
  flex-wrap:wrap;
  gap:7px;
}

.marketplace-experience .active-filter-chip {
  display:inline-flex;
  min-height:34px;
  align-items:center;
  gap:7px;
  padding:0 8px 0 11px;
  border:1px solid rgba(47,117,72,.2);
  border-radius:999px;
  background:#fff;
  color:var(--market-accent-strong);
  font-size:11px;
  font-weight:800;
}

.marketplace-experience .active-filter-chip b {
  display:grid;
  width:20px;
  height:20px;
  place-items:center;
  border-radius:50%;
  background:#edf4e9;
  font-size:15px;
  font-weight:500;
}

.marketplace-experience [data-clear-all-filters] {
  min-height:34px;
  flex:none;
  padding:0 10px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--market-accent);
  font-size:11px;
  font-weight:850;
}

/* Featured collections and benefits */
.marketplace-experience .marketplace-campaigns {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);
  gap:16px;
  margin:22px 0 26px;
}

.marketplace-experience .marketplace-campaign {
  position:relative;
  overflow:hidden;
  border:1px solid var(--market-line);
  border-radius:20px;
}

.marketplace-experience .campaign-primary {
  isolation:isolate;
  display:flex;
  min-height:242px;
  align-items:center;
  padding:30px;
  border-color:rgba(255,255,255,.08);
  background:#123c2b;
  color:#fff;
  box-shadow:0 18px 38px rgba(8,40,29,.16);
}

.marketplace-experience .campaign-primary::before,
.marketplace-experience .campaign-primary::after {
  position:absolute;
  inset:0;
  content:"";
}

.marketplace-experience .campaign-primary::before {
  z-index:-2;
  background:url("/assets/catalog/vegetable-crate.webp") center/cover no-repeat;
  transform:scale(1.015);
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
}

.marketplace-experience .campaign-primary::after {
  z-index:-1;
  background:linear-gradient(90deg,rgba(8,40,29,.96) 0%,rgba(11,47,32,.88) 48%,rgba(11,47,32,.24) 100%);
}

.marketplace-experience .campaign-primary>div {
  position:relative;
  z-index:2;
  max-width:560px;
}

.marketplace-experience .campaign-primary span,
.marketplace-experience .campaign-card span {
  display:block;
  margin-bottom:8px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.marketplace-experience .campaign-primary span {
  color:#c9ecaa;
}

.marketplace-experience .campaign-primary h2 {
  max-width:520px;
  margin:0;
  color:#fff;
  font-family:Georgia,serif;
  font-size:clamp(25px,2.5vw,35px);
  font-weight:520;
  letter-spacing:-.03em;
  line-height:1.08;
}

.marketplace-experience .campaign-primary p {
  max-width:500px;
  margin:12px 0 19px;
  color:rgba(255,255,255,.84);
  font-size:12.5px;
  line-height:1.55;
}

.marketplace-experience .campaign-primary button {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:10px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:11px;
  background:#fff;
  color:#123c2b;
  font-size:11px;
  font-weight:900;
  transition:box-shadow .16s ease,transform .16s ease;
}

.marketplace-experience .campaign-primary button b {
  transition:transform .16s ease;
}

.marketplace-experience .campaign-card-stack {
  display:grid;
  gap:12px;
}

.marketplace-experience .marketplace-campaigns.is-compact {
  grid-template-columns:1fr;
}

.marketplace-experience .marketplace-campaigns.is-compact .campaign-card-stack {
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.marketplace-experience .campaign-card {
  display:grid;
  min-height:112px;
  grid-template-columns:50px minmax(0,1fr);
  align-items:center;
  gap:14px;
  padding:17px;
  background:#fff;
}

.marketplace-experience .campaign-card>i {
  display:grid;
  width:48px;
  height:48px;
  place-items:center;
  border-radius:14px;
  background:#edf6e8;
  color:var(--market-accent);
}

.marketplace-experience .campaign-card svg {
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .campaign-card span {
  margin:0 0 4px;
  color:var(--market-accent);
  font-size:10px;
}

.marketplace-experience .campaign-card h2 {
  margin:0;
  color:var(--market-ink);
  font-size:14px;
  line-height:1.25;
}

.marketplace-experience .campaign-card p {
  margin:6px 0 0;
  color:var(--market-muted);
  font-size:11px;
  line-height:1.45;
}

.marketplace-experience .campaign-card button {
  min-height:44px;
  margin-top:5px;
  padding:0 2px;
  border:0;
  background:transparent;
  color:var(--market-accent);
  font-size:11px;
  font-weight:850;
  text-align:left;
}

.marketplace-experience .trust-card {
  display:block;
  padding:0;
  background:linear-gradient(135deg,#f5f9f1,#eef5e8);
}

.marketplace-experience .trust-card summary {
  display:grid;
  min-height:110px;
  grid-template-columns:50px minmax(0,1fr);
  align-items:center;
  gap:14px;
  padding:17px;
  list-style:none;
  cursor:pointer;
}

.marketplace-experience .trust-card summary::-webkit-details-marker {
  display:none;
}

.marketplace-experience .trust-card summary>i {
  display:grid;
  width:48px;
  height:48px;
  place-items:center;
  border-radius:14px;
  background:#e3f1dc;
  color:var(--market-accent);
}

.marketplace-experience .trust-card summary small {
  display:inline-flex;
  min-height:26px;
  align-items:center;
  gap:7px;
  margin-top:6px;
  color:var(--market-accent);
  font-size:10px;
  font-weight:850;
}

.marketplace-experience .trust-card summary small b {
  display:grid;
  width:20px;
  height:20px;
  place-items:center;
  border-radius:50%;
  background:#fff;
  font-size:15px;
  font-weight:500;
  transition:transform .18s ease;
}

.marketplace-experience .trust-card[open] summary small b {
  transform:rotate(45deg);
}

.marketplace-experience .trust-card-detail {
  padding:0 17px 16px 81px;
  border-top:1px solid rgba(18,60,43,.09);
  animation:marketplace-detail-in .18s ease-out;
}

.marketplace-experience .trust-card-detail p {
  margin:13px 0 8px;
}

.marketplace-experience .trust-card-detail ul {
  display:grid;
  gap:5px;
  margin:0;
  padding:0;
  color:var(--market-muted);
  font-size:10px;
  line-height:1.4;
  list-style:none;
}

.marketplace-experience .trust-card-detail li::before {
  margin-right:6px;
  color:var(--market-accent);
  content:"✓";
  font-weight:900;
}

@keyframes marketplace-detail-in {
  from {
    opacity:0;
    transform:translateY(-4px);
  }
}

/* Editorial catalog rhythm */
.marketplace-experience .shop-product-grid {
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:26px!important;
  margin-top:0;
}

.marketplace-experience .catalog-product-segment {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(258px,1fr));
  gap:18px;
}

.marketplace-experience .catalog-editorial-card {
  isolation:isolate;
  position:relative;
  display:flex;
  min-height:188px;
  align-items:center;
  overflow:hidden;
  border:1px solid var(--market-line);
  border-radius:22px;
  background:#123c2b;
  color:#fff;
  box-shadow:0 14px 34px rgba(8,40,29,.1);
}

.marketplace-experience .catalog-editorial-card::before,
.marketplace-experience .catalog-editorial-card::after {
  position:absolute;
  inset:0;
  content:"";
}

.marketplace-experience .catalog-editorial-card::before {
  z-index:-2;
  background-position:center;
  background-size:cover;
  transform:scale(1.01);
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
}

.marketplace-experience .catalog-editorial-card::after {
  z-index:-1;
  background:linear-gradient(90deg,rgba(8,40,29,.95),rgba(11,47,32,.82) 52%,rgba(11,47,32,.12));
}

.marketplace-experience .catalog-editorial-olive-harvest::before {
  background-image:url("/assets/catalog/olive-harvest.webp");
  background-position:center 58%;
}

.marketplace-experience .catalog-editorial-local-breakfast {
  color:var(--market-ink);
}

.marketplace-experience .catalog-editorial-local-breakfast::before {
  background-image:url("/assets/catalog/breakfast-jars.webp");
  background-position:75% center;
}

.marketplace-experience .catalog-editorial-local-breakfast::after {
  background:linear-gradient(90deg,rgba(255,254,250,.98) 0%,rgba(255,254,250,.94) 48%,rgba(255,254,250,.28) 78%,rgba(255,254,250,.08));
}

.marketplace-experience .catalog-editorial-card>div {
  position:relative;
  z-index:1;
  max-width:590px;
  padding:28px 30px;
}

.marketplace-experience .catalog-editorial-card span {
  display:block;
  margin-bottom:7px;
  color:#c8eca9;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.marketplace-experience .catalog-editorial-local-breakfast span {
  color:var(--market-accent);
}

.marketplace-experience .catalog-editorial-card h2 {
  max-width:540px;
  margin:0;
  color:inherit;
  font-family:Georgia,serif;
  font-size:clamp(24px,2.5vw,32px);
  font-weight:540;
  letter-spacing:-.025em;
  line-height:1.1;
}

.marketplace-experience .catalog-editorial-card p {
  max-width:520px;
  margin:10px 0 16px;
  color:rgba(255,255,255,.82);
  font-size:11.5px;
  line-height:1.55;
}

.marketplace-experience .catalog-editorial-local-breakfast p {
  color:var(--market-muted);
}

.marketplace-experience .catalog-editorial-card button {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:9px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:11px;
  background:#fff;
  color:#123c2b;
  font-size:11px;
  font-weight:900;
  transition:box-shadow .16s ease,transform .16s ease;
}

.marketplace-experience .catalog-editorial-local-breakfast button {
  border-color:rgba(18,60,43,.22);
  background:#123c2b;
  color:#fff;
}

.marketplace-experience :is(.campaign-primary,.catalog-editorial-card) button b {
  transition:transform .16s ease;
}

/* Product-first comparison cards */

.marketplace-experience .shop-product-card {
  overflow:hidden;
  border:1px solid var(--market-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(8,40,29,.065);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.marketplace-experience .shop-product-image {
  aspect-ratio:5/4!important;
  border-color:var(--market-line);
  background:#f2f7ed;
}

.marketplace-experience .shop-product-image>img {
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
}

.marketplace-experience .shop-product-image>span:not(.product-campaign-badge):not(.product-promotion-disclosure) {
  top:12px!important;
  right:auto!important;
  bottom:auto!important;
  left:12px!important;
  max-width:calc(100% - 68px);
  overflow:hidden;
  padding:6px 9px!important;
  border:1px solid rgba(255,255,255,.55)!important;
  background:rgba(255,255,255,.92)!important;
  color:var(--market-accent-strong)!important;
  font-size:9px!important;
  letter-spacing:.04em!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .shop-product-copy {
  min-height:0!important;
  padding:14px!important;
}

.marketplace-experience .product-card-title-row {
  display:block!important;
  margin:0!important;
}

.marketplace-experience .shop-product-copy h3 {
  display:-webkit-box;
  min-height:42px;
  margin:0 0 8px!important;
  overflow:hidden;
  color:var(--market-ink);
  font-size:17px!important;
  font-weight:900!important;
  line-height:1.25!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.marketplace-experience .shop-product-image>.product-story-button {
  position:absolute;
  z-index:3;
  top:10px;
  right:10px;
  width:38px;
  height:38px;
  flex:none;
  border-color:rgba(255,255,255,.58)!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 8px 20px rgba(8,40,29,.12)!important;
  backdrop-filter:blur(8px);
}

.marketplace-experience .product-card-origin {
  display:grid;
  min-height:31px;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:9px;
  margin-bottom:5px;
}

.marketplace-experience .product-card-origin :is(.product-card-producer,.product-card-location) {
  display:flex!important;
  min-width:0;
  min-height:28px!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.marketplace-experience .product-card-origin :is(.product-card-producer,.product-card-location)>span {
  min-width:0;
  overflow:hidden;
}

.marketplace-experience .product-card-origin :is(.product-card-producer,.product-card-location) svg {
  width:14px!important;
  height:14px!important;
  flex:none;
}

.marketplace-experience .product-card-producer {
  color:var(--market-accent)!important;
  font-size:10.5px!important;
  font-weight:850;
}

.marketplace-experience .product-card-producer span,
.marketplace-experience .product-card-location b {
  display:block;
  overflow:hidden!important;
  color:inherit!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.marketplace-experience .product-card-location {
  color:var(--market-muted)!important;
}

.marketplace-experience .shop-product-copy>.product-card-tags {
  display:flex!important;
  min-height:25px!important;
  max-height:25px!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  overflow:hidden!important;
  margin:5px 0 8px!important;
}

.marketplace-experience .shop-product-copy>.product-card-tags.is-empty {
  visibility:hidden;
}

.marketplace-experience .product-card-tags span {
  min-width:0;
  min-height:24px!important;
  overflow:hidden;
  padding:0 7px!important;
  color:var(--market-accent)!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  text-overflow:ellipsis;
}

.marketplace-experience .product-card-tags .product-card-tag-more {
  flex:none;
  color:var(--market-subtle)!important;
}

.marketplace-experience .product-card-rating {
  min-height:23px;
  margin:1px 0!important;
}

.marketplace-experience .rating-stars i {
  font-size:12px;
}

.marketplace-experience .product-card-rating b {
  font-size:10.5px!important;
}

.marketplace-experience .product-card-rating em {
  font-size:9.5px!important;
}

.marketplace-experience .shop-product-copy>.product-card-facts {
  display:grid!important;
  min-height:36px;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  margin:2px 0 0!important;
  padding:8px 0!important;
  border-top:1px solid var(--market-line);
  border-bottom:1px solid var(--market-line);
}

.marketplace-experience .product-card-facts span {
  min-width:0;
  min-height:20px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  text-align:left!important;
}

.marketplace-experience .product-card-facts svg {
  width:14px!important;
  height:14px!important;
  flex:none;
}

.marketplace-experience .product-card-facts b {
  overflow:hidden!important;
  color:#3e604a!important;
  font-size:9.5px!important;
  line-height:1.3!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.marketplace-experience .product-card-footer {
  min-width:0;
  min-height:54px!important;
  grid-template-columns:minmax(0,1fr) 44px 48px!important;
  gap:8px!important;
  padding-top:10px!important;
}

.marketplace-experience .product-card-footer>span {
  min-width:0;
  overflow:hidden;
}

.marketplace-experience .product-card-footer>span strong {
  display:block;
  overflow:hidden;
  color:#168b4a!important;
  font-size:20px!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .product-card-footer>span small {
  overflow:hidden;
  color:var(--market-subtle)!important;
  font-size:10px!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .product-card-footer .product-save-button {
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
}

.marketplace-experience .product-card-footer .cart-add-icon-button {
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  padding:0!important;
}

/* One compact, inventory-aware editorial storefront. */
.marketplace-experience .curated-storefront {
  margin:24px 0 28px;
  padding:0;
}

.marketplace-experience .curated-storefront>header {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:12px;
}

.marketplace-experience .curated-storefront>header span,
.marketplace-experience .curated-storefront>header h2,
.marketplace-experience .curated-storefront>header p {
  display:block;
  margin:0;
}

.marketplace-experience .curated-storefront>header span {
  color:var(--market-accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.marketplace-experience .curated-storefront>header h2 {
  margin-top:4px;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:clamp(23px,2.3vw,31px);
  font-weight:600;
  letter-spacing:-.025em;
}

.marketplace-experience .curated-storefront>header p {
  max-width:330px;
  color:var(--market-muted);
  font-size:11px;
  line-height:1.5;
  text-align:right;
}

.marketplace-experience .curated-storefront-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.marketplace-experience .curated-storefront-card {
  position:relative;
  isolation:isolate;
  display:flex;
  min-height:188px;
  overflow:hidden;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  padding:18px;
  border:0;
  border-radius:17px;
  background:#143d2d center/cover no-repeat;
  color:#fff;
  text-align:left;
  transition:box-shadow .18s ease,transform .18s ease;
}

.marketplace-experience .curated-storefront-card::before,
.marketplace-experience .curated-storefront-card::after {
  position:absolute;
  z-index:-1;
  inset:0;
  content:"";
}

.marketplace-experience .curated-storefront-card::before {
  background:inherit;
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
}

.marketplace-experience .curated-storefront-card::after {
  background:linear-gradient(180deg,rgba(8,40,29,.08),rgba(8,40,29,.91));
}

.marketplace-experience .curated-storefront-seasonal { background-image:url("/assets/catalog/vegetable-crate.webp"); }
.marketplace-experience .curated-storefront-olive { background-image:url("/assets/catalog/olive-harvest.webp"); }
.marketplace-experience .curated-storefront-breakfast { background-image:url("/assets/catalog/breakfast-jars.webp"); }

.marketplace-experience .curated-storefront-card>span,
.marketplace-experience .curated-storefront-card>strong,
.marketplace-experience .curated-storefront-card>em,
.marketplace-experience .curated-storefront-card>b {
  position:relative;
  z-index:1;
}

.marketplace-experience .curated-storefront-card>span {
  color:#c9ecaa;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.marketplace-experience .curated-storefront-card>strong {
  max-width:230px;
  margin-top:6px;
  font-family:Georgia,serif;
  font-size:23px;
  font-weight:600;
  line-height:1.08;
}

.marketplace-experience .curated-storefront-card>em {
  margin-top:8px;
  color:rgba(255,255,255,.84);
  font-size:10px;
  font-style:normal;
}

.marketplace-experience .curated-storefront-card>b {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:14px;
  font-size:10px;
}

.marketplace-experience .curated-storefront-card>b i {
  font-size:14px;
  font-style:normal;
  transition:transform .16s ease;
}

/* Product cards: image, product, provenance, delivery, price, then action. */
.marketplace-experience .shop-product-card {
  cursor:default;
}

.marketplace-experience .shop-product-image {
  position:relative;
  aspect-ratio:1.12/1!important;
}

.marketplace-experience .product-card-image-button {
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
}

.marketplace-experience .product-card-image-button:focus-visible {
  outline:3px solid var(--market-focus);
  outline-offset:-5px;
}

.marketplace-experience .product-category-badge {
  z-index:2;
}

.marketplace-experience .is-category-context .product-category-badge {
  display:none!important;
}

.marketplace-experience .shop-product-image>.product-card-save {
  position:absolute;
  z-index:3;
  top:10px;
  right:10px;
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.58);
  border-radius:11px;
  background:rgba(255,255,255,.93);
  color:var(--market-accent-strong);
  box-shadow:0 8px 20px rgba(8,40,29,.12);
}

.marketplace-experience .shop-product-image>.product-card-save.active {
  border-color:rgba(47,117,72,.3);
  background:#e8f4de;
}

.marketplace-experience .shop-product-image>.product-card-save svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-linejoin:round;
  stroke-width:1.9;
}

.marketplace-experience .product-card-provenance {
  display:flex;
  min-width:0;
  align-items:center;
  gap:6px;
  margin:0 0 6px;
  color:var(--market-muted);
  font-size:10.5px;
  font-weight:760;
  line-height:1.35;
}

.marketplace-experience .product-card-provenance svg {
  width:14px;
  height:14px;
  flex:none;
  color:var(--market-accent);
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.7;
}

.marketplace-experience .product-card-provenance span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .product-card-rating {
  min-height:20px;
  margin:0 0 4px!important;
}

.marketplace-experience .product-card-rating.is-new b {
  color:var(--market-accent);
  font-size:10px!important;
  letter-spacing:.02em;
}

.marketplace-experience .shop-product-copy>.product-card-facts {
  display:flex!important;
  min-height:26px;
  flex-wrap:wrap;
  gap:9px!important;
  margin:2px 0 0!important;
  padding:7px 0 0!important;
  border-top:1px solid var(--market-line);
  border-bottom:0!important;
}

.marketplace-experience .product-card-facts span {
  flex:0 1 auto;
}

.marketplace-experience .product-card-footer {
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center;
  min-height:52px!important;
}

.marketplace-experience .product-card-footer>span small {
  display:block;
}

.marketplace-experience .product-card-cart-button {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 13px;
  border:1px solid var(--market-ink);
  border-radius:12px;
  background:var(--market-ink);
  color:#fff;
  font-size:11px;
  font-weight:850;
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease;
}

.marketplace-experience .product-card-cart-button svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .product-card-cart-button>b {
  display:grid;
  min-width:17px;
  height:17px;
  place-items:center;
  border-radius:999px;
  background:#dff0d8;
  color:var(--market-ink);
  font-size:8px;
}

.marketplace-experience .product-card-cart-button:disabled {
  border-color:#d8ddd6;
  background:#d8ddd6;
  color:#758077;
  cursor:not-allowed;
}

@media (prefers-reduced-motion:reduce) {
  .marketplace-experience .curated-storefront-card,
  .marketplace-experience .curated-storefront-card::before,
  .marketplace-experience .curated-storefront-card>b i,
  .marketplace-experience .product-card-cart-button {
    transition:none!important;
  }
}

@media (hover:hover) {
  .marketplace-experience .curated-storefront-card:hover {
    box-shadow:0 15px 32px rgba(8,40,29,.18);
    transform:translateY(-2px);
  }

  .marketplace-experience .curated-storefront-card:hover::before {
    transform:scale(1.055);
  }

  .marketplace-experience .curated-storefront-card:hover>b i {
    transform:translateX(3px);
  }

  .marketplace-experience .product-card-cart-button:hover:not(:disabled) {
    border-color:var(--market-accent-strong);
    background:var(--market-accent-strong);
    transform:translateY(-1px);
  }

  .marketplace-experience :is(.campaign-primary,.catalog-editorial-card):hover::before {
    transform:scale(1.055);
  }

  .marketplace-experience :is(.campaign-primary,.catalog-editorial-card) button:hover {
    box-shadow:0 10px 22px rgba(8,40,29,.17);
    transform:translateY(-2px);
  }

  .marketplace-experience :is(.campaign-primary,.catalog-editorial-card) button:hover b {
    transform:translateX(3px);
  }

  .marketplace-experience .campaign-card:hover {
    border-color:rgba(47,117,72,.3);
    box-shadow:0 13px 28px rgba(8,40,29,.08);
  }

  .marketplace-experience .shop-product-card:hover {
    border-color:rgba(47,117,72,.38);
    box-shadow:0 18px 42px rgba(8,40,29,.12);
    transform:translateY(-3px);
  }

  .marketplace-experience .shop-product-card:hover .shop-product-image>img {
    transform:scale(1.025);
  }
}

@media (hover:none),(pointer:coarse) {
  .marketplace-experience .product-card-cart-button { min-height:46px; }
}

/* Inbox and account readability */
.marketplace-experience .inbox-popover header>div>span {
  color:var(--market-accent);
  font-size:10px;
}

.marketplace-experience .inbox-popover header strong {
  color:var(--market-ink);
  font-size:14px;
}

.marketplace-experience .inbox-tabs button {
  min-height:42px;
  font-size:12px;
}

.marketplace-experience .inbox-item {
  min-height:72px;
}

.marketplace-experience .inbox-item strong {
  font-size:12px;
}

.marketplace-experience .inbox-item small {
  font-size:11px;
  line-height:1.45;
}

.marketplace-experience .inbox-item em {
  font-size:9px;
}

.marketplace-experience .account-menu-heading strong {
  font-size:13px;
}

.marketplace-experience .account-menu-heading small {
  font-size:11px;
}

@media (max-width:1280px) {
  .marketplace-experience .shop-layout {
    grid-template-columns:1fr!important;
  }

  .marketplace-experience .shop-content {
    padding-right:30px!important;
    padding-left:30px!important;
  }

  .marketplace-experience .catalog-product-segment {
    grid-template-columns:repeat(auto-fill,minmax(252px,1fr));
  }
}

@media (max-width:980px) {
  .marketplace-experience .marketplace-context-shell {
    grid-template-columns:minmax(170px,200px) minmax(0,1fr) auto;
  }

  .marketplace-experience .shop-content {
    padding:28px 24px 64px!important;
  }

  .marketplace-experience .marketplace-campaigns {
    grid-template-columns:1fr;
  }

  .marketplace-experience .campaign-card-stack {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .marketplace-experience .curated-storefront-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .marketplace-experience .marketplace-context-shell {
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
  }

  .marketplace-experience .marketplace-context-shell .global-search {
    grid-row:1;
    grid-column:1 / -1;
  }

  .marketplace-experience .category-menu-trigger {
    grid-row:2;
    grid-column:1;
    min-height:50px;
  }

  .marketplace-experience .filter-drawer-trigger {
    grid-row:2;
    grid-column:2;
    min-height:50px;
  }

  .marketplace-experience .category-mega-panel {
    top:calc(100% - 4px);
    width:calc(100% - 24px);
    max-height:calc(100dvh - 170px);
    padding:18px;
    border-radius:18px;
  }

  .marketplace-experience .category-mega-heading {
    margin-bottom:14px;
    padding-bottom:14px;
  }

  .marketplace-experience .category-mega-heading h2 {
    font-size:24px;
  }

  .marketplace-experience .category-mega-grid {
    grid-template-columns:1fr;
    gap:12px;
  }

  .marketplace-experience .category-mega-all {
    grid-column:auto;
  }

  .marketplace-experience .category-mega-featured {
    min-height:180px;
  }

  .marketplace-experience .filter-sidebar {
    width:min(390px,calc(100vw - 12px));
    padding:22px 18px 32px!important;
  }

  .marketplace-experience .filter-sidebar-footer {
    margin-right:-18px;
    margin-bottom:-32px;
    margin-left:-18px;
    padding-right:18px;
    padding-left:18px;
  }

  .marketplace-experience .shop-toolbar {
    align-items:stretch;
    flex-direction:column;
    gap:18px;
  }

  .marketplace-experience .toolbar-actions {
    display:flex;
    width:100%;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
  }

  .marketplace-experience .toolbar-actions>span {
    align-self:center;
  }

  .marketplace-experience .toolbar-actions label {
    width:100%;
    min-width:0!important;
  }

  .marketplace-experience .toolbar-actions select {
    width:100%;
    min-width:0;
  }

  .marketplace-experience .active-filter-bar {
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .marketplace-experience .active-filter-bar>span {
    width:100%;
  }

  .marketplace-experience [data-clear-all-filters] {
    margin-left:auto;
  }

  .marketplace-experience .curated-storefront>header {
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }

  .marketplace-experience .curated-storefront>header p {
    max-width:440px;
    text-align:left;
  }

  .marketplace-experience .campaign-primary {
    min-height:260px;
    padding:24px 20px;
  }

  .marketplace-experience .campaign-primary::after {
    background:linear-gradient(90deg,rgba(8,40,29,.96),rgba(11,47,32,.84) 72%,rgba(11,47,32,.28));
  }

  .marketplace-experience .campaign-card-stack {
    grid-template-columns:1fr;
  }

  .marketplace-experience .catalog-product-segment {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }
}

@media (max-width:560px) {
  .marketplace-experience .shop-content {
    padding:24px 16px 56px!important;
  }

  .marketplace-experience .marketplace-campaigns {
    margin-top:18px;
  }

  .marketplace-experience .campaign-primary {
    min-height:285px;
    align-items:flex-end;
  }

  .marketplace-experience .campaign-primary::after {
    background:linear-gradient(180deg,rgba(8,40,29,.38),rgba(8,40,29,.94) 68%);
  }

  .marketplace-experience .campaign-primary>div {
    max-width:100%;
  }

  .marketplace-experience .catalog-editorial-card {
    min-height:250px;
    align-items:flex-end;
  }

  .marketplace-experience .catalog-editorial-card::after,
  .marketplace-experience .catalog-editorial-local-breakfast::after {
    background:linear-gradient(180deg,rgba(8,40,29,.18),rgba(8,40,29,.94) 66%);
  }

  .marketplace-experience .catalog-editorial-local-breakfast {
    color:#fff;
  }

  .marketplace-experience .catalog-editorial-local-breakfast span {
    color:#c8eca9;
  }

  .marketplace-experience .catalog-editorial-local-breakfast p {
    color:rgba(255,255,255,.82);
  }

  .marketplace-experience .catalog-editorial-local-breakfast button {
    border-color:rgba(255,255,255,.3);
    background:#fff;
    color:#123c2b;
  }

  .marketplace-experience .catalog-product-segment {
    grid-template-columns:1fr;
  }

  .marketplace-experience .curated-storefront {
    margin:20px 0 24px;
  }

  .marketplace-experience .curated-storefront-grid {
    grid-template-columns:1fr;
    gap:10px;
  }

  .marketplace-experience .curated-storefront-card {
    min-height:166px;
  }

  .marketplace-experience .shop-product-copy h3 {
    min-height:0;
  }
}

/* Search and filtering: one compact, context-aware refinement system. */
.marketplace-experience .marketplace-context-shell {
  grid-template-columns:minmax(184px,216px) minmax(360px,650px) auto;
  justify-content:center;
}

.marketplace-experience .marketplace-context-shell .global-search {
  min-height:56px;
  border-width:1px;
  border-radius:17px;
}

.marketplace-experience .marketplace-context-shell .location-control {
  background:#edf6dc;
}

.marketplace-experience .search-suggestions {
  display:grid;
  gap:12px;
  padding:12px;
}

.marketplace-experience .search-suggestions-section {
  display:grid;
  gap:5px;
}

.marketplace-experience .search-suggestions-section>header {
  display:flex;
  min-height:28px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 8px;
}

.marketplace-experience .search-suggestions-section>header strong {
  color:var(--market-subtle);
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.marketplace-experience .search-suggestions-section>header button {
  min-height:28px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--market-accent-strong);
  font-size:10px;
  font-weight:850;
}

.marketplace-experience .search-history-row {
  position:relative;
}

.marketplace-experience .search-history-row .search-suggestion-row {
  padding-right:42px!important;
}

.marketplace-experience .search-history-remove {
  position:absolute;
  top:50%;
  right:10px;
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  padding:0;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--market-subtle);
  font-size:18px;
  line-height:1;
  transform:translateY(-50%);
}

.marketplace-experience .search-history-remove:hover,
.marketplace-experience .search-history-remove:focus-visible {
  background:#edf4e9;
  color:var(--market-accent-strong);
}

.marketplace-experience .filter-group-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.marketplace-experience .filter-group-title>svg {
  width:18px;
  height:18px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.9;
  transition:transform .16s ease;
}

.marketplace-experience .filter-group-title[aria-expanded="false"]>svg {
  transform:rotate(-90deg);
}

.marketplace-experience .filter-rating-options label {
  grid-template-columns:auto minmax(0,1fr) auto;
}

.marketplace-experience .filter-sidebar.is-search-context {
  right:auto;
  left:0;
  border-right:1px solid var(--market-line);
  border-left:0;
  transform:translateX(-105%);
}

.marketplace-experience .filter-sidebar.is-search-context.is-open {
  transform:translateX(0);
}

@media (max-width:700px) {
  .marketplace-experience .marketplace-context-shell {
    grid-template-columns:minmax(0,1fr) auto;
    justify-content:stretch;
  }

  .marketplace-experience .marketplace-context-shell .global-search {
    min-height:52px;
  }
}

/* Full category department panel with visible category language and live recommendations. */
.marketplace-experience .category-mega-panel {
  width:min(1360px,calc(100% - 44px));
  max-height:none;
  overflow:visible;
}

.marketplace-experience .category-mega-grid {
  grid-template-columns:minmax(190px,.9fr) minmax(190px,.9fr) minmax(210px,1fr) minmax(245px,1.08fr);
  align-items:stretch;
}

.marketplace-experience .category-mega-all {
  grid-column:1 / 4;
}

.marketplace-experience .category-mega-group button {
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  align-items:center;
}

.marketplace-experience .category-mega-group .category-mega-icon {
  display:grid;
  width:26px;
  height:26px;
  place-items:center;
  border-radius:8px;
  background:#eef5e9;
  color:var(--market-accent-strong);
}

.marketplace-experience .category-mega-group .category-mega-icon svg,
.marketplace-experience .category-mega-featured .category-mega-icon svg {
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .category-mega-featured .category-mega-icon {
  position:absolute;
  top:16px;
  right:16px;
  z-index:2;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:10px;
  background:rgba(255,255,255,.16);
  color:#fff;
  backdrop-filter:blur(6px);
}

.marketplace-experience .category-mega-recommendations {
  display:grid;
  grid-column:4;
  grid-row:1 / span 2;
  align-content:start;
  gap:10px;
  padding:15px;
  border:1px solid var(--market-line);
  border-radius:17px;
  background:linear-gradient(145deg,#f4f8ef,#fff);
}

.marketplace-experience .category-mega-collections {
  display:grid;
  grid-column:1 / 4;
  gap:9px;
  padding:14px;
  border:1px solid var(--market-line);
  border-radius:16px;
  background:#fff;
}

.marketplace-experience .category-mega-collections h3 {
  margin:0;
  color:var(--market-subtle);
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.marketplace-experience .category-mega-collections>div {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.marketplace-experience .category-mega-collections button {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:10px 11px;
  border:1px solid transparent;
  border-radius:12px;
  background:#f5f8f2;
  color:var(--market-ink);
  text-align:left;
}

.marketplace-experience .category-mega-collections button:hover,
.marketplace-experience .category-mega-collections button:focus-visible,
.marketplace-experience .category-mega-collections button.active {
  border-color:rgba(47,117,72,.25);
  background:#edf5e9;
  color:var(--market-accent-strong);
}

.marketplace-experience .category-mega-collections span {
  display:grid;
  min-width:0;
  gap:3px;
}

.marketplace-experience .category-mega-collections strong {
  font-size:11px;
}

.marketplace-experience .category-mega-collections small {
  overflow:hidden;
  color:var(--market-muted);
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .category-mega-collections b {
  display:grid;
  min-width:23px;
  height:23px;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#fff;
  color:var(--market-subtle);
  font-size:9px;
}

.marketplace-experience .category-mega-recommendations header {
  display:grid;
  gap:3px;
}

.marketplace-experience .category-mega-recommendations header span {
  color:var(--market-accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.marketplace-experience .category-mega-recommendations h3 {
  margin:0;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:18px;
  font-weight:600;
  line-height:1.08;
}

.marketplace-experience .category-mega-recommendations>div {
  display:grid;
  gap:7px;
}

.marketplace-experience .category-mega-recommendations>div>button {
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  align-items:center;
  gap:9px;
  min-width:0;
  padding:7px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:var(--market-ink);
  text-align:left;
}

.marketplace-experience .category-mega-recommendations>div>button:hover,
.marketplace-experience .category-mega-recommendations>div>button:focus-visible {
  border-color:rgba(47,117,72,.22);
  background:#fff;
}

.marketplace-experience .category-mega-recommendations i {
  display:grid;
  width:44px;
  height:44px;
  overflow:hidden;
  place-items:center;
  border-radius:9px;
  background:#e8f2e1;
  color:var(--market-accent-strong);
}

.marketplace-experience .category-mega-recommendations i img,
.marketplace-experience .category-mega-recommendations i svg {
  width:100%;
  height:100%;
  object-fit:cover;
}

.marketplace-experience .category-mega-recommendations i svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .category-mega-recommendations span {
  display:grid;
  min-width:0;
  gap:3px;
}

.marketplace-experience .category-mega-recommendations strong,
.marketplace-experience .category-mega-recommendations small {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .category-mega-recommendations strong {
  font-size:11px;
}

.marketplace-experience .category-mega-recommendations small,
.marketplace-experience .category-mega-recommendations p {
  margin:0;
  color:var(--market-muted);
  font-size:9px;
  line-height:1.4;
}

@media (max-width:1180px) {
  .marketplace-experience .category-mega-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .marketplace-experience .category-mega-all {
    grid-column:1 / -1;
  }

  .marketplace-experience .category-mega-collections {
    grid-column:1 / -1;
  }

  .marketplace-experience .category-mega-recommendations {
    grid-column:1 / -1;
    grid-row:auto;
  }

  .marketplace-experience .category-mega-recommendations>div {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .marketplace-experience .category-mega-panel {
    max-height:none;
    overflow:visible;
  }

  .marketplace-experience .category-mega-recommendations>div {
    grid-template-columns:1fr;
  }

  .marketplace-experience .category-mega-collections>div {
    grid-template-columns:1fr;
  }
}

/* Product cards keep the image quiet and place decisions in the reading area. */
.marketplace-experience .shop-product-image {
  aspect-ratio:1/1.04!important;
}

.marketplace-experience .shop-product-image>.product-category-badge,
.marketplace-experience .shop-product-image>.product-card-save {
  display:none!important;
}

.marketplace-experience .shop-product-copy {
  padding:16px!important;
}

.marketplace-experience .shop-product-copy h3 {
  min-height:52px;
  margin:0!important;
  font-size:20px!important;
  line-height:1.16!important;
}

.marketplace-experience .product-card-open-button {
  color:var(--market-ink)!important;
}

.marketplace-experience .product-card-unit {
  margin:5px 0 11px!important;
  color:var(--market-muted)!important;
  font-size:10px!important;
  font-weight:720;
  line-height:1.35!important;
}

.marketplace-experience .product-card-unit b {
  color:var(--market-accent-strong);
  font-weight:900;
}

.marketplace-experience .product-card-utility {
  display:flex;
  min-height:36px;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 10px;
}

.marketplace-experience .product-card-utility .product-category-badge,
.marketplace-experience .product-card-utility .product-story-button,
.marketplace-experience .product-card-utility .product-card-save {
  position:static;
  display:inline-flex;
  width:auto;
  min-height:32px;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 9px;
  border:1px solid var(--market-line);
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  color:var(--market-accent-strong);
  font-size:9px;
  font-weight:850;
}

.marketplace-experience .product-card-utility .product-category-badge {
  max-width:100%;
  overflow:hidden;
  background:#f4f8f0;
  color:var(--market-ink);
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .product-card-utility .product-story-button svg,
.marketplace-experience .product-card-utility .product-card-save svg {
  width:15px;
  height:15px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .product-card-utility .product-story-button:hover,
.marketplace-experience .product-card-utility .product-story-button:focus-visible,
.marketplace-experience .product-card-utility .product-card-save:hover,
.marketplace-experience .product-card-utility .product-card-save:focus-visible,
.marketplace-experience .product-card-utility .product-card-save.active {
  border-color:rgba(47,117,72,.34);
  background:#eaf5e3;
}

.marketplace-experience .product-card-utility .product-card-save {
  margin-left:auto;
}

.marketplace-experience .product-card-provenance {
  margin-bottom:7px;
}

.marketplace-experience .catalog-product-segment {
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}

@media (max-width:1320px) {
  .marketplace-experience .catalog-product-segment {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width:980px) {
  .marketplace-experience .catalog-product-segment {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .marketplace-experience .catalog-product-segment {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .marketplace-experience .shop-product-copy {
    padding:13px!important;
  }

  .marketplace-experience .shop-product-copy h3 {
    min-height:39px;
    font-size:16px!important;
  }

  .marketplace-experience .product-card-utility .product-card-save span,
  .marketplace-experience .product-card-utility .product-story-button span {
    display:none;
  }

  .marketplace-experience .product-card-utility .product-card-save,
  .marketplace-experience .product-card-utility .product-story-button {
    width:32px;
    padding:0;
  }
}

/* One focused rail carries the five required commercial shortcuts without fragmenting discovery. */
.marketplace-experience .marketplace-collection-rails {
  margin:30px 0;
  padding:20px;
  border:1px solid var(--market-line);
  border-radius:20px;
  background:linear-gradient(145deg,#f7faf4,#fff);
}

.marketplace-experience .marketplace-collection-rails>header {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.marketplace-experience .marketplace-collection-rails header>div {
  min-width:0;
}

.marketplace-experience .marketplace-collection-rails header span,
.marketplace-experience .marketplace-collection-rails header h2,
.marketplace-experience .marketplace-collection-rails header p {
  display:block;
  margin:0;
}

.marketplace-experience .marketplace-collection-rails header span {
  color:var(--market-accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.marketplace-experience .marketplace-collection-rails header h2 {
  margin-top:4px;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:27px;
  font-weight:600;
  line-height:1.08;
}

.marketplace-experience .marketplace-collection-rails header p {
  max-width:560px;
  margin-top:7px;
  color:var(--market-muted);
  font-size:11px;
  line-height:1.5;
}

.marketplace-experience .marketplace-collection-tabs {
  display:flex;
  max-width:50%;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}

.marketplace-experience .marketplace-collection-tabs button {
  display:inline-flex;
  min-height:34px;
  align-items:center;
  gap:6px;
  padding:0 9px;
  border:1px solid var(--market-line);
  border-radius:999px;
  background:#fff;
  color:var(--market-muted);
  font-size:9px;
  font-weight:850;
}

.marketplace-experience .marketplace-collection-tabs button[aria-selected="true"] {
  border-color:rgba(47,117,72,.3);
  background:var(--market-ink);
  color:#fff;
}

.marketplace-experience .marketplace-collection-tabs b {
  display:grid;
  min-width:17px;
  height:17px;
  place-items:center;
  border-radius:999px;
  background:#edf4e9;
  color:var(--market-accent-strong);
  font-size:8px;
}

.marketplace-experience .marketplace-collection-tabs button[aria-selected="true"] b {
  background:rgba(255,255,255,.18);
  color:#fff;
}

.marketplace-experience .marketplace-collection-rail-wrap {
  position:relative;
}

.marketplace-experience .marketplace-collection-rail {
  display:grid;
  grid-auto-columns:minmax(220px,245px);
  grid-auto-flow:column;
  gap:13px;
  overflow-x:auto;
  padding:2px 2px 10px;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  scrollbar-color:rgba(47,117,72,.3) transparent;
}

.marketplace-experience .marketplace-collection-rail>.shop-product-card {
  scroll-snap-align:start;
}

.marketplace-experience .collection-rail-control {
  position:absolute;
  z-index:3;
  top:50%;
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  padding:0;
  border:1px solid var(--market-line);
  border-radius:50%;
  background:rgba(255,255,255,.95);
  color:var(--market-ink);
  box-shadow:0 8px 20px rgba(8,40,29,.12);
  font-family:Georgia,serif;
  font-size:25px;
  transform:translateY(-60%);
}

.marketplace-experience .collection-rail-control.previous { left:-18px; }
.marketplace-experience .collection-rail-control.next { right:-18px; }

@media (max-width:980px) {
  .marketplace-experience .marketplace-collection-rails>header {
    align-items:flex-start;
    flex-direction:column;
  }

  .marketplace-experience .marketplace-collection-tabs {
    max-width:none;
    justify-content:flex-start;
  }
}

@media (max-width:700px) {
  .marketplace-experience .marketplace-collection-rails {
    margin:24px 0;
    padding:16px;
  }

  .marketplace-experience .marketplace-collection-rails header h2 {
    font-size:23px;
  }

  .marketplace-experience .marketplace-collection-rail {
    grid-auto-columns:minmax(220px,78vw);
  }

  .marketplace-experience .collection-rail-control {
    display:none;
  }
}

/* Accessible brochure overlay: editorial context without leaving the purchase journey. */
.marketplace-experience.product-story-modal-open {
  overflow:hidden;
}

.marketplace-experience .product-story-modal {
  position:fixed;
  z-index:900;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
}

.marketplace-experience .product-story-modal[hidden] {
  display:none;
}

.marketplace-experience .product-story-modal-backdrop {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(7,31,22,.56);
  backdrop-filter:blur(4px);
}

.marketplace-experience .product-story-modal-dialog {
  position:relative;
  z-index:1;
  width:min(620px,100%);
  max-height:min(720px,calc(100dvh - 48px));
  overflow:auto;
  padding:30px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:24px;
  background:#fffefa;
  box-shadow:0 28px 90px rgba(5,26,18,.34);
  outline:0;
}

.marketplace-experience .product-story-modal-close {
  position:absolute;
  top:15px;
  right:15px;
  display:grid;
  width:40px;
  height:40px;
  place-items:center;
  padding:0;
  border:1px solid var(--market-line);
  border-radius:12px;
  background:#fff;
  color:var(--market-ink);
}

.marketplace-experience .product-story-modal-close svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-width:1.9;
}

.marketplace-experience .product-story-modal-kicker {
  color:var(--market-accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.marketplace-experience .product-story-modal-dialog h2 {
  max-width:460px;
  margin:7px 52px 0 0;
  color:var(--market-ink);
  font-family:Georgia,serif;
  font-size:clamp(30px,5vw,43px);
  font-weight:600;
  letter-spacing:-.035em;
  line-height:1.02;
}

.marketplace-experience .product-story-modal-copy {
  margin:14px 0 0;
  color:var(--market-muted);
  font-size:13px;
  line-height:1.65;
}

.marketplace-experience .product-story-modal-summary {
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:16px;
  margin-top:22px;
  padding:12px;
  border:1px solid var(--market-line);
  border-radius:16px;
  background:#f5f8f1;
}

.marketplace-experience .product-story-modal-summary>img,
.marketplace-experience .product-story-modal-summary>i {
  display:grid;
  width:150px;
  height:126px;
  place-items:center;
  border-radius:12px;
  background:#e5f0dd;
  color:var(--market-accent-strong);
  object-fit:cover;
}

.marketplace-experience .product-story-modal-summary>i svg {
  width:40px;
  height:40px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.6;
}

.marketplace-experience .product-story-modal-summary>div {
  display:grid;
  align-content:center;
  gap:4px;
}

.marketplace-experience .product-story-modal-summary span {
  margin-top:6px;
  color:var(--market-subtle);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.marketplace-experience .product-story-modal-summary strong {
  color:var(--market-ink);
  font-size:12px;
  line-height:1.4;
}

.marketplace-experience .product-story-modal-proof {
  margin-top:16px;
  padding:14px;
  border-left:3px solid var(--market-accent);
  border-radius:0 13px 13px 0;
  background:#f1f7eb;
}

.marketplace-experience .product-story-modal-proof header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.marketplace-experience .product-story-modal-proof span {
  color:var(--market-accent-strong);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.marketplace-experience .product-story-modal-proof strong {
  color:var(--market-ink);
  font-size:10px;
}

.marketplace-experience .product-story-modal-proof p,
.marketplace-experience .product-story-modal-note {
  margin:7px 0 0;
  color:var(--market-muted);
  font-size:11px;
  line-height:1.5;
}

.marketplace-experience .product-story-modal-link {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:9px;
  margin-top:18px;
  padding:0 14px;
  border-radius:11px;
  background:var(--market-ink);
  color:#fff;
  font-size:11px;
  font-weight:850;
}

@media (max-width:620px) {
  .marketplace-experience .product-story-modal {
    align-items:end;
    padding:10px;
  }

  .marketplace-experience .product-story-modal-dialog {
    max-height:calc(100dvh - 20px);
    padding:24px 18px;
    border-radius:20px;
  }

  .marketplace-experience .product-story-modal-summary {
    grid-template-columns:1fr;
  }

  .marketplace-experience .product-story-modal-summary>img,
  .marketplace-experience .product-story-modal-summary>i {
    width:100%;
    height:150px;
  }
}

/* Review replies remain conversational without turning into an indented maze. */
.marketplace-experience .product-comment-reply-footer {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:8px;
}

.marketplace-experience .product-comment-reply-to {
  min-height:28px;
  padding:0 8px;
  border:1px solid var(--market-line);
  border-radius:8px;
  background:#fff;
  color:var(--market-accent-strong);
  font-size:9px;
  font-weight:850;
}

.marketplace-experience .product-comment-reply-children {
  display:grid;
  gap:8px;
  margin-top:9px;
}

.marketplace-experience .product-comment-reply-card.depth-1,
.marketplace-experience .product-comment-reply-card.depth-2 {
  margin-left:20px;
}

.marketplace-experience .product-comment-reply-card.depth-2 {
  margin-left:0;
  border-left:2px solid rgba(47,117,72,.24);
}

/* Marketplace card reference: visual-first, compact, and decision-ready. */
.marketplace-experience .marketplace-context-shell {
  grid-template-columns:minmax(400px,650px) minmax(184px,216px) auto;
  justify-content:start;
  margin-right:auto;
  margin-left:0;
}

.marketplace-experience .marketplace-context-shell .global-search {
  grid-row:1;
  grid-column:1;
  height:68px!important;
  min-height:68px;
  grid-template-columns:auto minmax(0,1fr) auto minmax(240px,280px)!important;
  border-radius:19px;
}

.marketplace-experience .marketplace-context-shell .location-control {
  height:66px;
  border-radius:0 18px 18px 0;
  background:#eef7df;
}

.marketplace-experience .marketplace-context-shell .category-menu-trigger {
  grid-row:1;
  grid-column:2;
}

.marketplace-experience .marketplace-context-shell .filter-drawer-trigger {
  grid-row:1;
  grid-column:3;
}

.marketplace-experience .shop-product-card {
  border-radius:20px;
}

.marketplace-experience .shop-product-image {
  aspect-ratio:1 / 1.12!important;
}

.marketplace-experience .shop-product-copy {
  padding:13px 14px 12px!important;
}

.marketplace-experience .product-card-producer,
.marketplace-experience .product-card-location {
  display:flex!important;
  min-width:0;
  align-items:center!important;
  gap:6px;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  line-height:1.3!important;
}

.marketplace-experience .product-card-producer {
  min-height:18px;
  color:var(--market-accent)!important;
  font-size:10px!important;
  font-weight:900;
}

.marketplace-experience .product-card-producer svg,
.marketplace-experience .product-card-location svg {
  width:14px!important;
  height:14px!important;
  flex:none;
  fill:none;
  stroke:currentColor;
}

.marketplace-experience .product-card-producer span,
.marketplace-experience .product-card-location span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.marketplace-experience .product-card-title-row {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:start;
  gap:9px;
  margin:3px 0 7px!important;
}

.marketplace-experience .shop-product-copy h3 {
  min-height:0;
  margin:0!important;
  font-size:18px!important;
  line-height:1.17!important;
}

.marketplace-experience .product-card-title-row .product-story-button {
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  padding:0;
  border:1px solid var(--market-line);
  border-radius:10px;
  background:#fff;
  color:var(--market-accent-strong);
}

.marketplace-experience .product-card-title-row .product-story-button svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}

.marketplace-experience .product-card-title-row .product-story-button span {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

.marketplace-experience .shop-product-copy>.product-card-tags {
  min-height:24px!important;
  max-height:24px;
  flex-wrap:nowrap!important;
  gap:5px!important;
  overflow:hidden!important;
  margin:0 0 7px!important;
}

.marketplace-experience .shop-product-copy>.product-card-tags span {
  min-height:23px!important;
  padding:0 7px!important;
  font-size:8px!important;
}

.marketplace-experience .product-card-location {
  min-height:20px;
  color:var(--market-muted)!important;
  font-size:9px!important;
  font-weight:760;
}

.marketplace-experience .product-card-location svg {
  color:#d95850;
}

.marketplace-experience .product-card-rating {
  min-height:18px;
  margin:4px 0 5px!important;
}

.marketplace-experience .rating-stars i {
  font-size:11px;
}

.marketplace-experience .shop-product-copy>.product-card-facts {
  display:grid!important;
  min-height:32px;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

.marketplace-experience .product-card-facts span {
  display:flex!important;
  min-width:0;
  min-height:32px!important;
  align-items:center!important;
  gap:5px!important;
  padding:0 7px!important;
  border:1px solid rgba(47,117,72,.17)!important;
  border-radius:0!important;
  background:#f8fbf5!important;
}

.marketplace-experience .product-card-facts svg {
  width:14px!important;
  height:14px!important;
}

.marketplace-experience .product-card-facts b {
  font-size:8px!important;
}

.marketplace-experience .product-card-footer {
  grid-template-columns:minmax(0,1fr) 42px 52px!important;
  gap:8px!important;
  min-height:52px!important;
  padding-top:9px!important;
  border-top:1px solid var(--market-line);
}

.marketplace-experience .product-card-footer>span strong {
  font-size:21px!important;
}

.marketplace-experience .product-card-footer .product-save-button,
.marketplace-experience .product-card-footer .product-card-cart-button {
  display:grid!important;
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  place-items:center;
  padding:0!important;
  border-radius:50%!important;
}

.marketplace-experience .product-card-footer .product-card-cart-button {
  width:52px!important;
  height:52px!important;
  min-height:52px!important;
}

.marketplace-experience .product-card-footer .product-save-button span,
.marketplace-experience .product-card-footer .product-card-cart-button span {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

.marketplace-experience .marketplace-collection-rail-wrap {
  overflow:hidden;
}

.marketplace-experience .marketplace-collection-rail {
  overflow:hidden;
  padding:2px;
  scrollbar-width:none;
}

.marketplace-experience .marketplace-collection-rail::-webkit-scrollbar {
  display:none;
}

.marketplace-experience .marketplace-collection-rail-track {
  display:flex;
  width:max-content;
  gap:13px;
  will-change:transform;
  animation:marketplace-collection-marquee 44s linear infinite;
}

.marketplace-experience .marketplace-collection-rail-set {
  display:grid;
  grid-auto-columns:minmax(220px,245px);
  grid-auto-flow:column;
  gap:13px;
}

.marketplace-experience .marketplace-collection-rail-wrap:hover .marketplace-collection-rail-track,
.marketplace-experience .marketplace-collection-rail-wrap:focus-within .marketplace-collection-rail-track {
  animation-play-state:paused;
}

@keyframes marketplace-collection-marquee {
  to { transform:translateX(calc(-50% - 6.5px)); }
}

@media (max-width:980px) {
  .marketplace-experience .marketplace-context-shell {
    grid-template-columns:minmax(320px,1fr) minmax(170px,200px) auto;
  }
}

@media (max-width:700px) {
  .marketplace-experience .marketplace-context-shell {
    grid-template-columns:minmax(0,1fr) auto;
  }

  .marketplace-experience .marketplace-context-shell .global-search {
    grid-row:1;
    grid-column:1 / -1;
    height:52px!important;
    min-height:52px;
  }

  .marketplace-experience .marketplace-context-shell .location-control {
    height:50px;
  }

  .marketplace-experience .marketplace-context-shell .category-menu-trigger {
    grid-row:2;
    grid-column:1;
  }

  .marketplace-experience .marketplace-context-shell .filter-drawer-trigger {
    grid-row:2;
    grid-column:2;
  }

  .marketplace-experience .shop-product-image {
    aspect-ratio:1 / 1.05!important;
  }

  .marketplace-experience .shop-product-copy {
    padding:11px!important;
  }

  .marketplace-experience .shop-product-copy h3 {
    font-size:16px!important;
  }

  .marketplace-experience .marketplace-collection-rail-set {
    grid-auto-columns:minmax(220px,78vw);
  }
}

@media (prefers-reduced-motion:reduce) {
  .marketplace-experience .marketplace-collection-rail {
    overflow-x:auto;
    scroll-snap-type:x mandatory;
  }

  .marketplace-experience .marketplace-collection-rail-track {
    animation:none;
  }

  .marketplace-experience .marketplace-collection-rail-set[aria-hidden="true"] {
    display:none;
  }

  .marketplace-experience .marketplace-collection-rail-set>.shop-product-card {
    scroll-snap-align:start;
  }
}

/* Header columns must remain stable while account capabilities are resolving. */
.marketplace-experience .header-main {
  transition:grid-template-columns .32s cubic-bezier(.22,.8,.26,1);
}

.marketplace-experience .header-main>.app-brand { grid-column:1; }
.marketplace-experience .header-main>.workspace-switch { grid-column:2; }
.marketplace-experience .header-main>.service-nav { grid-column:3; }
.marketplace-experience .header-main>.header-account-actions { grid-column:4; }

.marketplace-experience .service-nav {
  overflow-x:auto;
  overflow-y:visible;
  justify-content:flex-start;
  scrollbar-width:none;
}

.marketplace-experience .service-nav::-webkit-scrollbar { display:none; }
.marketplace-experience .service-nav>.service-tab { flex:0 0 auto; }
.marketplace-experience .header-account-actions { min-width:0;max-width:360px; }
.marketplace-experience .account-area,
.marketplace-experience .account-trigger,
.marketplace-experience .account-copy { min-width:0; }
.marketplace-experience .account-copy strong,
.marketplace-experience .account-copy small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.marketplace-experience .account-copy strong { max-width:180px; }

@media (min-width:1281px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(140px,160px) 0 minmax(390px,1fr) max-content!important;
  }

  .marketplace-experience.sales-workspace-available .header-main {
    grid-template-columns:minmax(140px,160px) minmax(190px,215px) minmax(390px,1fr) max-content!important;
  }
}

@media (min-width:1081px) and (max-width:1280px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(128px,150px) 0 minmax(310px,1fr) max-content!important;
  }

  .marketplace-experience.sales-workspace-available .header-main {
    grid-template-columns:minmax(128px,150px) 54px minmax(310px,1fr) max-content!important;
  }
}

@media (min-width:821px) and (max-width:1080px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(130px,1fr) auto!important;
  }

  .marketplace-experience.sales-workspace-available .header-main {
    grid-template-columns:minmax(130px,1fr) minmax(190px,220px) auto!important;
  }

  .marketplace-experience .header-main>.app-brand { grid-column:1;grid-row:1; }
  .marketplace-experience .header-main>.workspace-switch { grid-column:2;grid-row:1; }
  .marketplace-experience .header-main>.header-account-actions { grid-column:-2 / -1;grid-row:1; }
  .marketplace-experience .header-main>.service-nav { grid-column:1 / -1;grid-row:2; }
}

@media (max-width:820px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(112px,1fr) auto!important;
  }

  .marketplace-experience.sales-workspace-available .header-main {
    grid-template-columns:minmax(112px,1fr) minmax(176px,205px) auto!important;
  }

  .marketplace-experience .header-main>.app-brand { grid-column:1;grid-row:1; }
  .marketplace-experience .header-main>.workspace-switch { grid-column:2;grid-row:1; }
  .marketplace-experience .header-main>.header-account-actions { grid-column:-2 / -1;grid-row:1; }
  .marketplace-experience .header-main>.service-nav { grid-column:1 / -1;grid-row:2; }
}

@media (max-width:620px) {
  .marketplace-experience .header-main {
    grid-template-columns:minmax(96px,1fr) auto!important;
  }

  .marketplace-experience.sales-workspace-available .header-main {
    grid-template-columns:minmax(96px,1fr) 48px auto!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .marketplace-experience .header-main { transition:none; }
}

/* Seller Operations V2 */
.marketplace-experience .seller-workspace-header{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:20px;max-width:1440px;margin:0 auto;padding:14px 28px;border-bottom:1px solid rgba(18,60,43,.11);background:#fff}
.marketplace-experience .seller-workspace-brand{display:flex;align-items:center;gap:11px;color:#103d2d}.marketplace-experience .seller-workspace-brand>b{color:#18a957;font-size:22px}.marketplace-experience .seller-workspace-brand>i{width:1px;height:26px;background:#d7e0d9}.marketplace-experience .seller-workspace-brand>span{font-size:11px;font-weight:900}
.marketplace-experience .seller-command-search{display:flex;min-height:46px;align-items:center;gap:10px;padding:0 12px;border:1px solid #d7e0d9;border-radius:10px;background:#f9fbf7;transition:border-color .18s,box-shadow .18s,background .18s}.marketplace-experience .seller-command-search:focus-within{border-color:#4e9a62;background:#fff;box-shadow:0 0 0 3px rgba(66,147,88,.13)}.marketplace-experience .seller-command-search svg{width:19px;height:19px;fill:none;stroke:#36784d;stroke-width:1.8}.marketplace-experience .seller-command-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#163d2d;font:inherit;font-size:10px}.marketplace-experience .seller-command-search kbd{padding:4px 7px;border:1px solid #d5ded7;border-radius:6px;background:#fff;color:#718078;font:inherit;font-size:7px;font-weight:800}
.marketplace-experience .seller-workspace-actions{display:flex;gap:8px}.marketplace-experience .seller-workspace-actions button{min-height:40px;padding:0 12px;border:1px solid #d5dfd7;border-radius:9px;background:#fff;color:#2c6042;font-size:8px;font-weight:900}.marketplace-experience .seller-workspace-actions button:first-child{border-color:#123c2b;background:#123c2b;color:#fff}
.marketplace-experience .producer-editor-panel{max-width:1180px}.marketplace-experience .producer-product-form{grid-template-columns:minmax(340px,.92fr) minmax(420px,1.08fr)!important;gap:16px 24px!important}.marketplace-experience .producer-product-form>.producer-media-field{grid-column:1!important;grid-row:2!important;min-height:0!important}.marketplace-experience .producer-product-form>label.field:has(textarea[name="description"]){grid-column:1!important;grid-row:3!important}.marketplace-experience .producer-product-form>label.field:has(textarea[name="ingredients"]){grid-column:1!important;grid-row:4!important}.marketplace-experience .producer-product-form>.producer-certificate-field{grid-column:1!important;grid-row:5!important}.marketplace-experience .producer-product-form>:not(.producer-form-heading):not(.producer-media-field):not(label:has(textarea[name="description"])):not(label:has(textarea[name="ingredients"])):not(.producer-certificate-field){grid-column:2!important}.marketplace-experience .producer-media-field .producer-image-preview{min-height:360px!important;aspect-ratio:4/3!important}
.marketplace-experience .producer-classification-field{display:grid;gap:10px;padding:14px;border:1px solid rgba(18,60,43,.13);border-radius:13px;background:#fbfcf9}.marketplace-experience .producer-classification-field header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.marketplace-experience .producer-classification-field header span{color:#123c2b;font-size:9px;font-weight:900}.marketplace-experience .producer-classification-field header small{color:#64766b;font-size:7px;font-weight:800}.marketplace-experience .producer-classification-field header p{margin:5px 0 0;color:#68786f;font-size:8px;line-height:1.45}
.marketplace-experience .producer-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.marketplace-experience .producer-choice-grid label{position:relative;display:grid;min-height:60px;align-items:center;padding:10px 10px 10px 36px;border:1px solid #dce4dd;border-radius:10px;background:#fff;cursor:pointer}.marketplace-experience .producer-choice-grid input{position:absolute;left:11px;width:16px;height:16px;accent-color:#2f7b48}.marketplace-experience .producer-choice-grid label:has(input:checked){border-color:#6baa73;background:#eef8e8;box-shadow:inset 3px 0 #3c8b51}.marketplace-experience .producer-choice-grid label:has(input:disabled:not(:checked)){opacity:.48;cursor:not-allowed}.marketplace-experience .producer-choice-grid b,.marketplace-experience .producer-choice-grid small{display:block}.marketplace-experience .producer-choice-grid b{color:#264d36;font-size:8px}.marketplace-experience .producer-choice-grid small{margin-top:3px;color:#748078;font-size:7px;line-height:1.35}.marketplace-experience .producer-classification-feedback{margin:0;padding:8px 10px;border-radius:8px;background:#eef6e9;color:#466653;font-size:7px;line-height:1.4}.marketplace-experience .producer-classification-feedback[data-tone="error"]{background:#fff0ec;color:#a2483d}.marketplace-experience .producer-classification-feedback[data-tone="info"]{background:#eef6fb;color:#32637b}
.marketplace-experience .producer-stock-media-picker{display:grid;gap:10px;padding:13px;border:1px solid #cbdccf;border-radius:12px;background:#fff;box-shadow:0 18px 36px rgba(8,40,29,.12)}.marketplace-experience .producer-stock-media-picker[hidden]{display:none}.marketplace-experience .producer-stock-media-picker header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.marketplace-experience .producer-stock-media-picker header span,.marketplace-experience .producer-stock-media-picker header small{display:block}.marketplace-experience .producer-stock-media-picker header span{color:#173f2e;font-size:9px;font-weight:900}.marketplace-experience .producer-stock-media-picker header small{margin-top:3px;color:#748078;font-size:7px}.marketplace-experience .producer-stock-media-picker header button{width:30px;height:30px;border:0;border-radius:8px;background:#eef4eb;color:#2f6845;font-size:18px}.marketplace-experience .producer-stock-media-picker>label input{width:100%;height:38px;padding:0 10px;border:1px solid #d9e2da;border-radius:9px;font:inherit;font-size:8px}.marketplace-experience [data-stock-media-grid]{display:grid;max-height:330px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:auto}.marketplace-experience [data-stock-media-grid]>button{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px;border:1px solid #dce5dd;border-radius:10px;background:#fff;color:#234b34;text-align:left}.marketplace-experience [data-stock-media-grid]>button.selected{border-color:#5d9a69;background:#eef8e9}.marketplace-experience [data-stock-media-grid] img{width:58px;height:48px;border-radius:7px;object-fit:cover}.marketplace-experience [data-stock-media-grid] b,.marketplace-experience [data-stock-media-grid] small{display:block}.marketplace-experience [data-stock-media-grid] b{font-size:7.5px}.marketplace-experience [data-stock-media-grid] small{margin-top:3px;color:#758178;font-size:6.5px}.marketplace-experience [data-stock-media-grid] i{display:grid;width:22px;height:22px;place-items:center;border-radius:7px;background:#edf5e8;font-style:normal}
