/* Browse-only editorial design. Shared marketplace, storefront and map rules remain unchanged. */
body.mkt-page--browse-editorial { --browse-radius: 13px; }
body.mk-marketplace-page.mkt-page--browse-editorial .mkt-shell {
  width: 100%; max-width: 1560px; margin-inline: auto;
  padding: .65rem clamp(.65rem,1.6vw,1.4rem) 1.5rem;
  --mkt-layout-pad: clamp(.65rem,1.6vw,1.4rem);
}
body.mkt-page--browse-editorial .mkt-browse-skip { position: fixed; inset-block-start:.5rem; inset-inline-start:1rem; z-index:1500; transform:translateY(-180%); background:#5631b6; color:white; padding:.6rem 1rem; border-radius:9px; }
body.mkt-page--browse-editorial .mkt-browse-skip:focus { transform:none; }
body.mkt-page--browse-editorial .mkt-browse-masthead {
  position:relative; inset:auto; z-index:30; width:100%; max-width:none; margin:0 0 .65rem;
  padding:.55rem .7rem; border:1px solid var(--mkt-line); border-radius:14px;
  background:var(--mkt-surface); box-shadow:0 8px 28px -22px rgb(44 28 75 / .35);
  box-sizing:border-box; overflow:visible;
}
body.mkt-page--browse-editorial .mkt-browse-masthead::before { content:none; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__main { display:flex; align-items:center; flex-direction:row; gap:.75rem; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__brand { display:flex; align-items:center; gap:.75rem; flex:0 1 auto; min-width:0; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__logo { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; color:var(--mkt-accent-dark); background:var(--mkt-accent-soft); box-shadow:none; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-title { margin:0; color:var(--mkt-ink); font-size:clamp(1.03rem,1.5vw,1.3rem); font-weight:800; line-height:1.35; letter-spacing:normal; overflow-wrap:anywhere; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-eyebrow { margin:.1rem 0 0; color:var(--mkt-muted); font-size:.67rem; font-weight:500; letter-spacing:normal; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__actions { display:flex; flex:1 1 28rem; width:auto; max-width:none; align-items:center; gap:.45rem; min-width:0; margin:0; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-search--pro { display:flex; flex:1 1 auto; width:auto; max-width:none; min-width:0; gap:.25rem; padding:.2rem; border:1px solid var(--mkt-line); border-radius:10px; background:var(--mkt-surface-2); box-shadow:none; overflow:visible; }
body.mkt-page--browse-editorial .mkt-search__field { position:relative; min-width:0; border:0; background:transparent; box-shadow:none; min-height:36px; }
body.mkt-page--browse-editorial .mkt-search__input { min-width:0; font-size:.88rem; }
body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-search__submit { min-height:36px; border-radius:7px; padding-inline:.8rem; background:#6434c7; color:white; box-shadow:none; }
body.mkt-page--browse-editorial .mkt-top__tools { display:flex; gap:.4rem; flex:none; align-items:center; }
body.mkt-page--browse-editorial :is(.mkt-browse-account,.mkt-theme-toggle) { display:inline-flex; align-items:center; justify-content:center; gap:.35rem; min-height:40px; min-width:40px; padding:.3rem .5rem; border:1px solid var(--mkt-line); border-radius:10px; color:var(--mkt-text); background:var(--mkt-surface); box-shadow:none; font:inherit; font-size:.79rem; text-decoration:none; }
body.mkt-page--browse-editorial .mkt-browse-shortcuts { display:flex; justify-content:space-between; align-items:center; gap:.35rem .7rem; margin-top:.4rem; padding-top:.35rem; border-top:1px solid var(--mkt-line); flex-wrap:nowrap; min-width:0; }
body.mkt-page--browse-editorial .mkt-quick-chips { flex:1 1 auto; min-width:0; margin:0; padding:2px; gap:.3rem; }
body.mkt-page--browse-editorial .mkt-quick-chip { min-height:32px; box-sizing:border-box; border-radius:7px; padding:.2rem .55rem; font-size:.75rem; }
body.mkt-page--browse-editorial .mkt-quick-chip.is-active { background:var(--mkt-accent-soft); color:var(--mkt-accent-dark); border-color:var(--mkt-accent); }
body.mkt-page--browse-editorial .mkt-quick-chip.is-active i { color:var(--mkt-accent-dark); }
body.mkt-page--browse-editorial .mkt-browse-destinations { display:flex; align-items:center; gap:.3rem; flex:none; flex-wrap:nowrap; }
body.mkt-page--browse-editorial .mkt-browse-destinations a { display:inline-flex; align-items:center; gap:.3rem; min-height:34px; padding:.2rem .45rem; color:var(--mkt-accent-dark); text-decoration:none; font-size:.8rem; font-weight:650; border-radius:8px; }
body.mkt-page--browse-editorial .mkt-typeahead { inset-inline:0; top:calc(100% + .6rem); z-index:60; background:var(--mkt-surface); border:1px solid var(--mkt-line); border-radius:11px; box-shadow:0 14px 30px -14px rgb(25 20 40 / .25); max-height:min(45vh,20rem); overflow:auto; }
body.mkt-page--browse-editorial .mkt-typeahead[hidden] { display:none!important; }
body.mkt-page--browse-editorial .mkt-typeahead__item { min-height:44px; padding:.6rem .75rem; overflow-wrap:anywhere; }
body.mk-marketplace-page.mkt-page--browse-editorial .mkt-shell > .mkt-layout--browse { display:grid; grid-template-columns:minmax(0,1fr); width:100%; max-width:none; margin:0; align-items:start; gap:.65rem; }
body.mkt-page--browse-editorial .mkt-layout__main { min-width:0; padding:0; margin:0; width:100%; }
body.mkt-page--browse-editorial .mkt-filters--desk { display:none; }
@media(min-width:1100px) {
  body.mk-marketplace-page.mkt-page--browse-editorial .mkt-shell > .mkt-layout--browse { grid-template-columns:clamp(220px,17vw,260px) minmax(0,1fr); gap:.75rem; }
  body.mkt-page--browse-editorial .mkt-filters--desk { display:flex; position:sticky; top:.75rem; align-self:start; height:calc(100dvh - 8.5rem); max-height:calc(100dvh - 8.5rem); min-height:15rem; min-width:0; width:auto; padding:.65rem; background:var(--mkt-surface); border:1px solid var(--mkt-line); border-radius:var(--browse-radius); box-shadow:none; backdrop-filter:none; }
  body.mkt-page--browse-editorial .mkt-filters--desk::after { content:none; }
  body.mkt-page--browse-editorial .mkt-filters__head { flex:none; padding:.2rem .2rem .5rem; margin:0 0 .3rem; }
  body.mkt-page--browse-editorial .mkt-filters__title { font-size:1rem; }
  body.mkt-page--browse-editorial .mkt-filters__title i { color:var(--mkt-accent-dark); margin-inline-end:.3rem; }
  body.mkt-page--browse-editorial .mkt-filters__lede { font-size:.73rem; line-height:1.7; }
  body.mkt-page--browse-editorial .mkt-filters__scroll { flex:1 1 auto; overflow:auto; min-height:0; scrollbar-width:thin; }
  body.mkt-page--browse-editorial .mkt-browse-filter-footer { flex:none; display:grid; grid-template-columns:minmax(0,1fr) 46px; gap:.4rem; padding-top:.6rem; border-top:1px solid var(--mkt-line); }
  body.mkt-page--browse-editorial .mkt-browse-filter-footer .mkt-btn { min-height:46px; border-radius:9px; padding:.4rem; justify-content:center; }
  body.mkt-page--browse-editorial .mkt-browse-filter-footer .mkt-btn--primary { background:#6434c7; color:white; }
}
body.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-section { background:var(--mkt-surface); border:0; border-bottom:1px solid var(--mkt-line); border-radius:0; box-shadow:none; padding:.45rem .2rem .5rem; margin:0; }
body.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-section__title { font-size:.86rem; }
body.mkt-page--browse-editorial .mkt-filters--desk :is(.mkt-filter-input,.mkt-picker__trigger) { min-height:38px; background:var(--mkt-surface-2); border:1px solid var(--mkt-line); border-radius:9px; box-shadow:none; min-width:0; }
body.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-label { font-size:.74rem; }
body.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-subhead { font-size:.74rem; letter-spacing:normal; color:var(--mkt-text); }
body.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-check { background:var(--mkt-surface-2); box-shadow:none; min-height:40px; border-radius:8px; }
body.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-check:has(input:checked) { background:var(--mkt-accent-soft); border-color:var(--mkt-accent); }
/* Independent compact toolbar. Never inherit the shared full-width .mkt-btn. */
body.mkt-page--browse-editorial .mkt-layout--browse #mktResultsBar {
  position:relative; inset:auto; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:.3rem .6rem; padding:.35rem .55rem; margin:0 0 .6rem; min-height:48px;
  background:var(--mkt-surface); border:1px solid var(--mkt-line); border-radius:11px; box-shadow:none; z-index:5;
}
body.mkt-page--browse-editorial .mkt-browse-result-heading { display:flex; align-items:center; gap:.35rem; min-width:0; flex:0 1 auto; }
body.mkt-page--browse-editorial .mkt-browse-result-heading h2 { font-size:.93rem; margin:0; font-weight:800; color:var(--mkt-ink); white-space:nowrap; }
body.mkt-page--browse-editorial #mktResultsBar .mkt-results__count { display:inline-grid; place-items:center; flex:none; padding:.12rem .38rem; margin:0; min-width:1.45rem; border-radius:5px; background:var(--mkt-accent-soft); color:var(--mkt-accent-dark); font-size:.76rem; font-weight:750; }
body.mkt-page--browse-editorial .mkt-browse-result-heading .mkt-results__query { max-width:12rem; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.73rem; color:var(--mkt-muted); }
body.mkt-page--browse-editorial #mktResultsBar .mkt-results__tools { display:flex; flex:0 1 auto; flex-wrap:nowrap; width:auto; min-width:0; align-items:center; justify-content:flex-end; gap:.35rem; margin:0; }
body.mkt-page--browse-editorial .mkt-browse-action-row { display:flex; flex:none; align-items:center; gap:.35rem; }
body.mkt-page--browse-editorial .mkt-browse-tool-group { display:flex; flex:none; width:auto; gap:.25rem; align-items:center; }
body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool {
  display:inline-flex; flex:0 0 auto; width:auto; min-width:36px; min-height:36px; height:auto; box-sizing:border-box; align-items:center; justify-content:center; gap:.35rem;
  padding:.2rem .5rem; margin:0; border:1px solid var(--mkt-line); border-radius:7px; background:var(--mkt-surface); color:var(--mkt-text); box-shadow:none; text-decoration:none; font:inherit; font-size:.73rem; font-weight:650; line-height:1.4; white-space:nowrap; cursor:pointer;
}
body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool i { flex:none; font-size:.85rem; color:var(--mkt-muted); }
body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool:hover,
body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool[aria-pressed=true] { background:var(--mkt-accent-soft); border-color:var(--mkt-accent); color:var(--mkt-accent-dark); }
body.mkt-page--browse-editorial .mkt-view-toggle { display:flex; flex:none; width:auto; gap:2px; padding:2px; border:1px solid var(--mkt-line); border-radius:8px; background:var(--mkt-surface-2); }
body.mkt-page--browse-editorial #mktResultsBar .mkt-view-toggle__btn { min-width:32px; min-height:30px; padding:.2rem; border-radius:5px; box-shadow:none; }
body.mkt-page--browse-editorial .mkt-view-toggle__btn.is-active { color:var(--mkt-accent-dark); background:var(--mkt-accent-soft); }
body.mkt-page--browse-editorial #mktResultsBar .mkt-sort { flex:0 1 auto; width:auto; min-width:0; margin:0; }
body.mkt-page--browse-editorial #mktResultsBar .mkt-sort-control { width:auto; min-width:0; }
body.mkt-page--browse-editorial #mktResultsBar .mkt-sort__select { width:auto; max-width:100%; min-height:36px; padding-block:.2rem; padding-inline-start:.55rem; padding-inline-end:1.55rem; border-radius:7px; font-size:.73rem; box-shadow:none; }
body.mkt-page--browse-editorial #mktResultsBar .mkt-filter-toggle { display:inline-flex!important; flex:none; width:auto; align-items:center; justify-content:center; min-height:36px; border-radius:7px; box-shadow:none; }
@media(min-width:1100px) { body.mkt-page--browse-editorial #mktResultsBar .mkt-filter-toggle { display:none!important; } }
@media(max-width:1279px) {
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool { width:36px; padding:0; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool > span { display:none; }
}
body.mkt-page--browse-editorial #mktGrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr)); gap:.65rem; margin:0; padding:0; align-items:stretch; background:transparent; border:0; box-shadow:none; }
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows { grid-template-columns:minmax(0,1fr); container: mkt-list-width / inline-size; }
body.mkt-page--browse-editorial :is(.mkt-hub-section,.mkt-consultant-rail,.mkt-saved,.mkt-empty) { padding:1rem; margin:1rem 0 0; border:1px solid var(--mkt-line); border-radius:var(--browse-radius); background:var(--mkt-surface); box-shadow:none; }
body.mkt-page--browse-editorial .mkt-empty { text-align:center; padding:2rem 1rem; }
body.mkt-page--browse-editorial .mkt-empty .mkt-btn { width:auto; min-height:44px; margin:.3rem; }
body.mkt-page--browse-editorial .mkt-pagination { display:flex; justify-content:center; align-items:center; gap:.6rem; padding:.8rem; }
body.mkt-page--browse-editorial .mkt-page-btn { min-height:44px; display:inline-flex; align-items:center; border-radius:9px; }
body.mkt-page--browse-editorial :is(a,button,input,select):focus-visible { outline:2px solid var(--mkt-accent-dark,#6336c9); outline-offset:2px; }
@media(hover:hover) {
  body.mkt-page--browse-editorial .mkt-browse-destinations a:hover { background:var(--mkt-accent-soft); }
}
@media(max-width:1099px) {
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__actions { flex:1 1 20rem; }
}
@media(max-width:767px) {
  body.mk-marketplace-page.mkt-page--browse-editorial .mkt-shell { padding-bottom:calc(4.85rem + env(safe-area-inset-bottom)); }
  body.mkt-page--browse-editorial .mkt-browse-destinations { display:none; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-browse-account { display:none; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-saved,
  body.mkt-page--browse-editorial #mktResultsBar .mkt-filter-toggle { display:none!important; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-action-row { gap:.35rem; flex-wrap:nowrap; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool-group { flex:0 1 auto; }
  body.mkt-page--browse-editorial .mkt-browse-masthead { padding:.5rem; border-radius:12px; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__main { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.4rem; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__actions { display:contents; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__brand { grid-column:1; grid-row:1; max-width:none; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-top__tools { grid-column:2; grid-row:1; gap:.25rem; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-search--pro { grid-column:1/-1; grid-row:2; width:100%; margin:0; box-sizing:border-box; }
  body.mkt-page--browse-editorial .mkt-browse-account span { display:none; }
  body.mkt-page--browse-editorial :is(.mkt-browse-account,.mkt-theme-toggle) { min-width:44px; min-height:44px; }
  body.mkt-page--browse-editorial .mkt-browse-masthead .mkt-search__submit { min-width:44px; min-height:44px; padding:0; }
  body.mkt-page--browse-editorial .mkt-search__submit-text { display:none; }
  body.mkt-page--browse-editorial .mkt-search__submit-ico { display:inline-block; }
  body.mkt-page--browse-editorial .mkt-browse-shortcuts { gap:.25rem; margin-top:.35rem; padding-top:.3rem; }
  body.mkt-page--browse-editorial .mkt-quick-chips { flex:1 1 auto; }
  body.mkt-page--browse-editorial .mkt-quick-chip { min-height:44px; }
  body.mkt-page--browse-editorial .mkt-browse-destinations { width:auto; }
  body.mkt-page--browse-editorial .mkt-browse-destinations a { min-width:44px; min-height:44px; justify-content:center; padding:0; background:var(--mkt-surface-2); }
  body.mkt-page--browse-editorial .mkt-browse-destinations a span { display:none; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-results__tools { flex-wrap:wrap; justify-content:flex-start; gap:.25rem; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool { width:44px; min-width:44px; min-height:44px; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-view-toggle__btn { min-width:44px; min-height:40px; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-filter-toggle { min-width:44px; min-height:44px; padding:.25rem .45rem; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-sort__select { width:auto; max-width:none; min-height:44px; }
  body.mkt-page--browse-editorial #mktGrid { grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr)); }
}
@media(max-width:480px) {
  body.mkt-page--browse-editorial .mkt-layout--browse #mktResultsBar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.25rem; align-items:center; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-results__tools { display:contents; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-result-heading { grid-column:1; grid-row:1; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-sort { grid-column:2; grid-row:1; justify-self:end; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-sort__select { width:auto; max-width:100%; min-height:44px; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-action-row { grid-column:1/-1; grid-row:2; justify-content:space-between; gap:2px; min-width:0; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-browse-tool-group { gap:2px; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-view-toggle { gap:2px; padding:0; border:0; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-view-toggle__btn { min-height:44px; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-filter-toggle { width:44px; padding:0; }
  body.mkt-page--browse-editorial #mktResultsBar .mkt-filter-toggle__text { display:none; }
  body.mkt-page--browse-editorial #mktGrid { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { body.mkt-page--browse-editorial #mktGrid .mkt-card,body.mkt-page--browse-editorial #mktGrid .mkt-card__img { transition:none; } }

/* Final responsive and dark-mode alignment for the browse route. */
body.mkt-page--browse-editorial .mkt-browse-compare { position:relative; }
body.mkt-page--browse-editorial .mkt-browse-compare-count { display:inline-grid; place-items:center; min-width:19px; min-height:19px; padding-inline:3px; border-radius:6px; background:var(--mkt-accent-soft); color:var(--mkt-accent-dark); font-size:.68rem; font-weight:750; }
body.mkt-page--browse-editorial .mkt-browse-compare-count[hidden] { display:none!important; }
body.mkt-page--browse-editorial .mkt-sheet--filter .mkt-sheet__panel { border-radius:20px 20px 0 0; max-height: min(90dvh, 54rem); }
body.mkt-page--browse-editorial .mkt-sheet--filter .mkt-sheet__body { overscroll-behavior:contain; }
body.mkt-page--browse-editorial .mkt-sheet--filter .mkt-sheet__close { min-width:44px; min-height:44px; }
body.mkt-page--browse-editorial .mkt-sheet--filter .mkt-filter-checks--grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.mkt-page--browse-editorial .mkt-sheet--filter .mkt-filter-check { min-height:44px; }
body.mkt-page--browse-editorial .mkt-sheet--filter .mkt-sheet__foot-actions .mkt-btn { min-height:46px; }
html.mk-public[data-theme="dark"] body.mk-marketplace-page.mkt-page--browse-editorial .mkt-browse-masthead,
html.mk-public[data-theme="dark"] body.mk-marketplace-page.mkt-page--browse-editorial #mktResultsBar { background:var(--mkt-surface); border-color:var(--mkt-line); box-shadow:none; }
html.mk-public[data-theme="dark"] body.mk-marketplace-page.mkt-page--browse-editorial .mkt-filters--desk { background:var(--mkt-surface); box-shadow:none; }
html.mk-public[data-theme="dark"] body.mk-marketplace-page.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-section { background:var(--mkt-surface); border-color:var(--mkt-line); box-shadow:none; }
html.mk-public[data-theme="dark"] body.mk-marketplace-page.mkt-page--browse-editorial .mkt-filters--desk :is(.mkt-filter-input,.mkt-picker__trigger,.mkt-filter-check) { background:var(--mkt-surface-2); border-color:var(--mkt-line); box-shadow:none; }
html.mk-public[data-theme="dark"] body.mk-marketplace-page.mkt-page--browse-editorial .mkt-filters--desk .mkt-filter-check:has(input:checked) { background:var(--mkt-accent-soft); border-color:var(--mkt-accent); }

@media(max-width:1279px) {
  body.mkt-page--browse-editorial .mkt-browse-compare-count:not([hidden]) { position:absolute; inset-block-start:-4px; inset-inline-end:-3px; border:1px solid var(--mkt-line); }
}


body.mkt-page--browse-editorial .mkt-search__submit { display:inline-flex; align-items:center; justify-content:center; gap:.35rem; }
body.mkt-page--browse-editorial .mkt-browse-filter-footer .mkt-btn { display:inline-flex; align-items:center; gap:.4rem; }
body.mkt-page--browse-editorial .mkt-account-feedback:empty { display:none; }
body.mkt-page--browse-editorial #mktSaved[hidden] { display:none!important; }

/* Browse editorial cards — separate media, information and action rail.
   Card dimensions never depend on intrinsic photo dimensions. */
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial {
  position:relative; display:flex; flex-direction:column; min-width:0; width:100%; height:auto;
  box-sizing:border-box; overflow:hidden; border:1px solid var(--mkt-line); border-radius:12px;
  background:var(--mkt-surface); box-shadow:none; transform:none;
  transition:border-color .16s ease,box-shadow .16s ease;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial::before { content:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__link {
  display:flex; flex:1 1 auto; flex-direction:column; gap:0; align-items:stretch;
  height:auto; min-height:0; min-width:0; color:inherit; text-decoration:none;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__media {
  position:relative; display:block; flex:none; width:100%; height:auto; aspect-ratio:16/9;
  min-height:0; max-height:190px; min-width:0; margin:0; border:0; border-radius:0;
  overflow:hidden; contain:layout paint; background:var(--mkt-surface-2); box-shadow:none;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__media::after { content:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial :is(.mkt-card__img,.mkt-browse-image-fallback) {
  position:absolute; inset:0; display:block; width:100%; height:100%; min-width:0; min-height:0;
  max-width:none; max-height:none; margin:0; padding:0; border:0; border-radius:0; box-shadow:none;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__img { object-fit:cover; object-position:center; transform:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial [hidden] { display:none!important; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-browse-image-fallback {
  display:grid; place-items:center; background:linear-gradient(145deg,var(--mkt-surface-2),var(--mkt-surface));
}
body.mkt-page--browse-editorial .mkt-browse-placeholder { display:grid; place-items:center; gap:.35rem; color:var(--mkt-muted); }
body.mkt-page--browse-editorial .mkt-browse-placeholder i { font-size:1.35rem; font-weight:400; }
body.mkt-page--browse-editorial .mkt-browse-placeholder small { font-size:.69rem; font-weight:500; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__deal {
  position:absolute; z-index:1; inset:auto auto .42rem .42rem; max-width:calc(100% - .84rem);
  background:var(--mkt-surface); color:var(--mkt-text); padding:.15rem .45rem;
  font-size:.68rem; font-weight:700; border:1px solid var(--mkt-line); border-radius:5px; box-shadow:none;
  backdrop-filter:none;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__body {
  display:flex; flex:1 1 auto; flex-direction:column; justify-content:flex-start; gap:.35rem;
  align-items:stretch; min-width:0; padding:.65rem .7rem .5rem; margin:0;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-details { display:contents; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__title {
  order:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  min-width:0; min-height:2.9em; margin:0; font-size:.88rem; font-weight:750; line-height:1.45;
  color:var(--mkt-ink); overflow-wrap:anywhere;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__loc {
  order:1; display:flex; align-items:baseline; gap:.28rem; margin:0; min-width:0;
  font-size:.73rem; line-height:1.5; color:var(--mkt-muted); white-space:normal; overflow-wrap:anywhere;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__loc i { color:var(--mkt-accent-dark); flex:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-browse-card-price {
  order:2; display:grid; gap:.18rem; min-width:0; margin:0; padding:.12rem 0;
}
body.mkt-page--browse-editorial .mkt-browse-price-line { display:flex; align-items:baseline; justify-content:flex-start; flex-wrap:wrap; gap:.1rem .35rem; min-width:0; }
body.mkt-page--browse-editorial .mkt-browse-price-label { font-size:.68rem; font-weight:500; color:var(--mkt-muted); white-space:nowrap; }
body.mkt-page--browse-editorial .mkt-browse-price-line strong { font-size:.94rem; font-weight:800; color:var(--mkt-ink); line-height:1.5; min-width:0; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
body.mkt-page--browse-editorial .mkt-browse-price-line small { font-size:.66rem; color:var(--mkt-muted); font-weight:500; white-space:nowrap; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__price { margin:0; font-size:.9rem; color:var(--mkt-ink); font-weight:750; overflow-wrap:anywhere; white-space:normal; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__spec,
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__badges {
  display:flex; flex-wrap:wrap; align-items:center; gap:.25rem .55rem; margin:0; padding:0; min-width:0; color:var(--mkt-text);
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__spec { order:3; font-size:.74rem; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__badges { order:4; list-style:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial :is(.mkt-card__spec span,.mkt-card__badge) { display:inline-flex; align-items:center; gap:.22rem; padding:0; background:none; border:0; box-shadow:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial :is(.mkt-card__spec span,.mkt-card__badge)::after { content:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial :is(.mkt-card__spec i,.mkt-card__badge-ico) { font-size:.73rem; color:var(--mkt-accent-dark); }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__badge-text { font-size:.69rem; color:var(--mkt-muted); font-weight:500; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-footer {
  display:flex; flex:none; align-items:center; justify-content:space-between; gap:.45rem;
  min-width:0; margin:0 .7rem; padding:.12rem 0; border-top:1px solid var(--mkt-line); background:transparent;
}
body.mkt-page--browse-editorial .mkt-editorial-card-time { color:var(--mkt-muted); font-size:.68rem; line-height:1.45; }
body.mkt-page--browse-editorial .mkt-editorial-card-actions { display:flex; flex:none; align-items:center; gap:2px; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions :is(.mkt-card__fav,.mkt-card__compare) {
  position:static; inset:auto; display:grid; place-items:center; flex:0 0 36px;
  width:36px; height:36px; min-width:36px; min-height:36px; margin:0; padding:0;
  border:0; border-radius:6px; background:transparent; box-shadow:none; filter:none; backdrop-filter:none; -webkit-backdrop-filter:none;
  color:var(--mkt-muted); font-size:1rem; cursor:pointer; transform:none;
  transition:color .15s ease;
}
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions :is(.mkt-card__fav,.mkt-card__compare) i { color:inherit; filter:none; pointer-events:none; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions .mkt-card__fav.is-on { color:#d92d63; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions .mkt-card__compare.is-on { color:var(--mkt-accent-dark); }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions button:focus-visible { outline:2px solid var(--mkt-accent); outline-offset:-2px; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions button[aria-pressed=true] { font-weight:800; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions button:disabled { opacity:.4; cursor:not-allowed; }
body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__link:focus-visible { outline:2px solid var(--mkt-accent); outline-offset:-3px; }
@media(hover:hover) {
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial:hover { border-color:color-mix(in srgb,var(--mkt-accent) 45%,var(--mkt-line)); box-shadow:0 5px 16px -13px rgb(45 26 82 / .25); transform:none; }
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions button:not(:disabled):hover { color:var(--mkt-accent-dark); background:none; box-shadow:none; transform:none; }
}
/* List uses its own layout. A narrow action rail replaces floating corner buttons.
   The price has a bounded column; labels and amounts never occupy opposite ends. */
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial { display:grid; grid-template-columns:minmax(0,1fr); }
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__link {
  display:grid; grid-template-columns:clamp(104px,26%,180px) minmax(0,1fr); align-items:center; gap:.7rem;
  padding:.48rem; box-sizing:border-box; height:auto; min-height:0;
}
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__media { height:122px; max-height:122px; aspect-ratio:auto; border-radius:8px; }
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__body { display:flex; gap:.35rem; padding:.1rem 0; }
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__title { min-height:0; }
body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-editorial-card-footer { margin-inline:.65rem; }
@container mkt-list-width (min-width:700px) {
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial { grid-template-columns:minmax(0,1fr) auto; align-items:stretch; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__link { min-width:0; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__link {
    grid-template-columns:clamp(150px,22%,190px) minmax(0,1fr); padding:.48rem .55rem; gap:.9rem;
  }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__body {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,clamp(8.5rem,20cqi,13rem)); align-items:center; gap:.9rem;
    padding:.1rem .05rem .1rem 0;
  }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-editorial-card-details { display:flex; flex-direction:column; gap:.32rem; min-width:0; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__title { font-size:.94rem; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-browse-card-price { order:initial; padding-inline-start:.8rem; border-inline-start:1px solid var(--mkt-line); }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-browse-price-line { display:grid; gap:.1rem; justify-items:start; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-editorial-card-footer {
    position:static; width:auto; min-width:5rem; margin:0; padding:.35rem .5rem;
    display:flex; flex-direction:column; justify-content:center; align-items:center; gap:.3rem;
    border:0; background:transparent;
  }
}
@media(max-width:767px) {
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions :is(.mkt-card__fav,.mkt-card__compare) { width:44px; height:44px; min-width:44px; min-height:44px; flex-basis:44px; }
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__media { max-height:170px; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-card__media { height:116px; max-height:116px; }
  body.mkt-page--browse-editorial #mktGrid.mkt-list--rows .mkt-card--editorial .mkt-browse-price-line strong { font-size:.83rem; }
}
@media(prefers-reduced-motion:reduce) {
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial,
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-card__img,
  body.mkt-page--browse-editorial #mktGrid .mkt-card--editorial .mkt-editorial-card-actions button { transition:none; }
}

/* Compact storefront discovery: one surface, independent responsive groups. */
body.mkt-page--browse-editorial .mkt-browse-directory {
  min-width:0; box-sizing:border-box; container: mkt-directory / inline-size;
  margin:.75rem 0 0; padding:.7rem .8rem .8rem; border:1px solid var(--mkt-line);
  border-radius:var(--browse-radius); background:var(--mkt-surface);
}
body.mkt-page--browse-editorial .mkt-directory-head { display:flex; align-items:center; gap:.55rem; margin:0 0 .65rem; padding:0 0 .6rem; border-bottom:1px solid var(--mkt-line); }
body.mkt-page--browse-editorial .mkt-directory-icon { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; border-radius:9px; background:var(--mkt-accent-soft); color:var(--mkt-accent-dark); font-size:.95rem; }
body.mkt-page--browse-editorial .mkt-directory-head h2 { margin:0; color:var(--mkt-ink); font-size:.98rem; font-weight:800; line-height:1.45; }
body.mkt-page--browse-editorial .mkt-directory-head p { margin:.1rem 0 0; color:var(--mkt-muted); font-size:.72rem; line-height:1.5; }
body.mkt-page--browse-editorial .mkt-directory-groups { display:grid; grid-template-columns:minmax(0,1fr); gap:.75rem; }
body.mkt-page--browse-editorial .mkt-directory-group { min-width:0; }
body.mkt-page--browse-editorial .mkt-directory-group h3 { display:flex; align-items:center; gap:.35rem; margin:0 0 .4rem; color:var(--mkt-ink); font-size:.8rem; font-weight:750; }
body.mkt-page--browse-editorial .mkt-directory-group h3 i { color:var(--mkt-muted); font-size:.75rem; }
body.mkt-page--browse-editorial .mkt-directory-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(215px,100%),1fr)); gap:.4rem; list-style:none; padding:0; margin:0; }
body.mkt-page--browse-editorial .mkt-directory-list li { min-width:0; margin:0; padding:0; }
body.mkt-page--browse-editorial .mkt-directory-card { display:grid; grid-template-columns:44px minmax(0,1fr) 16px; align-items:center; gap:.55rem; min-height:60px; height:100%; width:100%; box-sizing:border-box; padding:.42rem .5rem; background:var(--mkt-surface); border:1px solid var(--mkt-line); border-radius:9px; text-decoration:none; color:var(--mkt-text); transition:border-color .15s ease,background .15s ease; }
body.mkt-page--browse-editorial .mkt-directory-avatar { position:relative; display:grid; place-items:center; width:44px; height:44px; overflow:hidden; border-radius:10px; background:var(--mkt-accent-soft); color:var(--mkt-accent-dark); font-size:1.05rem; }
body.mkt-page--browse-editorial .mkt-directory-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border:0; margin:0; border-radius:0; background:var(--mkt-surface); }
body.mkt-page--browse-editorial .mkt-directory-avatar--agency img { object-fit:contain; padding:2px; box-sizing:border-box; }
body.mkt-page--browse-editorial .mkt-directory-avatar img[hidden] { display:none!important; }
body.mkt-page--browse-editorial .mkt-directory-copy { display:flex; flex-direction:column; min-width:0; gap:.14rem; }
body.mkt-page--browse-editorial .mkt-directory-copy strong { font-size:.83rem; font-weight:750; line-height:1.5; overflow-wrap:anywhere; color:var(--mkt-ink); }
body.mkt-page--browse-editorial .mkt-directory-copy small { color:var(--mkt-muted); font-size:.7rem; line-height:1.45; }
body.mkt-page--browse-editorial .mkt-directory-arrow { display:grid; place-items:center; color:var(--mkt-muted); font-size:.69rem; }
body.mkt-page--browse-editorial .mkt-directory-card:focus-visible { outline:2px solid var(--mkt-accent); outline-offset:1px; }
@media(hover:hover) {
  body.mkt-page--browse-editorial .mkt-directory-card:hover { border-color:var(--mkt-accent); background:var(--mkt-surface-2); }
  body.mkt-page--browse-editorial .mkt-directory-card:hover .mkt-directory-arrow { color:var(--mkt-accent-dark); }
}
@container mkt-directory (min-width:540px) {
  body.mkt-page--browse-editorial .mkt-directory-groups--both { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
  body.mkt-page--browse-editorial .mkt-directory-groups--both .mkt-directory-group + .mkt-directory-group { border-inline-start:1px solid var(--mkt-line); padding-inline-start:.8rem; }
}
@media(prefers-reduced-motion:reduce) {
  body.mkt-page--browse-editorial .mkt-directory-card { transition:none; }
}
body.mkt-page--browse-editorial #mktSaved { margin:.75rem 0 0; padding:.7rem .8rem; scroll-margin-top:1rem; }
body.mkt-page--browse-editorial #mktSaved .mkt-saved__head { margin:0; }
body.mkt-page--browse-editorial #mktSaved .mkt-saved__clear[hidden],
body.mkt-page--browse-editorial #mktSaved .mkt-saved__rail:empty { display:none!important; }
body.mkt-page--browse-editorial #mktSaved .mkt-saved__hint { margin:.5rem 0 0; padding:.5rem .65rem; border-radius:8px; background:var(--mkt-surface-2); color:var(--mkt-muted); line-height:1.7; }
body.mkt-page--browse-editorial #mktSaved .mkt-saved__rail:not(:empty) { margin-top:.55rem; }
