/* GHome catalogue refresh. Scoped to the public catalogue; account/editor/payment stay unchanged. */
body.home-page {
  --gh-catalog-width:1240px;
  background:var(--surface);
}
:root:not([data-theme=dark]) .home-page {
  --surface:#fff;--surface-soft:#f4f6f6;--brand:#138354;--brand-bright:#138654;--brand-soft:#e9f7ef;
  --line:#e3e8e6;--line-strong:#cbd8d2;--ink:#18211e;--muted:#56665f;
}
.home-page .site-header { background:var(--surface); backdrop-filter:none; }
.home-page > main,.home-page .header-shell,.home-page .home-nav-row {
  width:min(var(--gh-catalog-width),calc(100% - 48px));
}
.home-page .header-shell { min-height:70px; justify-content:space-between; }
.home-page .header-actions { margin-inline-start:auto; }
.home-page .home-nav-row {
  min-height:48px; display:flex; align-items:center; justify-content:space-between;
  margin-inline:auto; gap:20px; border-top:1px solid var(--line);
}
.home-page .home-nav-row .main-nav { display:flex; align-items:center; flex-wrap:wrap; gap:clamp(16px,3vw,36px); margin:0; }
.home-nav-row a { color:var(--ink); font-size:13px; text-decoration:none; }
.home-nav-row a:hover { color:var(--brand-bright); text-decoration:underline; text-underline-offset:4px; }
.home-page .header-add#add { background:var(--brand-soft); color:var(--brand-bright); border-color:transparent; box-shadow:none; font-size:13px; }
.home-page .header-add#add:hover { border-color:var(--brand-bright); }
.home-page > main { margin-top:30px; }
.home-page #search-area.gh-search-ready { padding:0; margin-top:0; background:transparent; border:0; border-radius:0; box-shadow:none; scroll-margin-top:135px; }
.home-page .gh-search-strip { scroll-margin-top:135px; }
.home-page #search-area.gh-search-ready > .quick-types {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; margin:30px 0 0; padding:0; border:0;
}
.home-page #search-area .quick-types > :is(button,a) {
  display:flex; min-width:0; min-height:68px; align-items:center; justify-content:flex-start; gap:12px; padding:12px 16px;
  border:1px solid transparent; border-radius:13px; background:var(--surface-soft); color:var(--ink);
  font:inherit; font-size:13px; font-weight:650; text-align:start; white-space:normal; overflow-wrap:anywhere;
}
.home-page #search-area .quick-types > :is(button,a):hover,.home-page #search-area .quick-types > .selected {
  background:var(--brand-soft); border-color:var(--line-strong);
}
.quick-types svg { width:23px; height:23px; flex:none; fill:none; stroke:var(--brand-bright); stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.home-search-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:14px 0 10px; }
.home-search-actions > .market-shortcuts,.home-search-actions > .desktop-search-tools { min-width:0; margin:0; }
.home-search-actions > .desktop-search-tools { margin-inline-start:auto; }
.home-page .market-shortcuts > :is(a,button) { min-height:36px; padding:7px 10px; font-size:12px; }
.home-page .promotion-section {
  background:none; padding:0; border:0; box-shadow:none; border-radius:0; margin:36px 0 44px;
}
.home-page .promotion-section .section-heading { margin-bottom:15px; align-items:center; }
.home-page .promotion-section .section-heading > div:first-child > :is(.section-label,p),.home-page .promotion-section .section-index { display:none; }
.home-page .promotion-section .section-heading h2 { display:flex; align-items:center; gap:11px; font-size:clamp(19px,2vw,25px); line-height:1.35; margin:0; letter-spacing:-.02em; }
.home-page .promotion-section .section-heading h2::before { content:""; width:12px; height:12px; border-radius:4px; flex:none; background:var(--brand-bright); }
.home-page .vip-section .section-heading h2::before { background:#ed6a3d; }
.home-page .sell-banner-between {
  width:min(92%,1120px);
  margin:30px auto 34px;
  padding:clamp(24px,3.1vw,42px) clamp(22px,4vw,54px);
  border-radius:24px;
  gap:24px;
}
.sell-banner-between > div { min-width:0; }
.home-page .sell-banner-between h2 { font-size:clamp(24px,3vw,38px); line-height:1.26; }
.home-page .sell-banner-between .primary { min-height:48px; }
.home-page.catalog-show-results .sell-banner-between { display:none; }
.home-page .promotion-section .catalog-see-all { background:transparent; border:0; padding-inline:0; color:var(--muted); font-size:12px; }
.home-page .promotion-section > .cards { grid-auto-columns:calc((100% - 54px)/4); gap:18px; padding:0 0 3px; }
.home-page .promotion-section > .cards:empty { display:none; }
.home-page .card {
  min-width:0; border:1px solid var(--line-strong); border-radius:13px; background:var(--surface); box-shadow:none; overflow:hidden;
}
.home-page .card:hover { transform:none; box-shadow:0 8px 25px #163b2113; border-color:var(--brand-bright); }
.home-page .card .card-photo { aspect-ratio:4/3; border-radius:0; }
.home-page .card .card-body { padding:12px 13px 14px; }
.home-page .card .card-topline { display:none; }
.home-page .card .price { font-size:21px; line-height:1.3; }
.home-page .card .card-title { margin-top:6px; font-size:13px; line-height:1.55; min-height:40px; max-height:41px; }
.home-page .card .unit-price { min-height:0; font-size:10px; }
.home-page .card .location { display:flex; align-items:center; gap:5px; min-height:0; max-height:none; color:var(--brand-bright); font-size:11px; margin-top:9px; }
.home-page .card .location span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-page .card .location svg,.home-page .card .specs svg { flex:none; width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.home-page .card .specs { display:flex; justify-content:flex-start; gap:8px 13px; flex-wrap:wrap; margin-top:9px; padding-top:0; border:0; font-size:11px; }
.home-page .card .specs span { display:inline-flex; align-items:center; gap:4px; padding:0; background:none; }
.home-page .card .card-footer { margin-top:9px; padding-top:8px; font-size:10px; }
.home-page .card .badge { padding:6px 9px; font-size:10px; border-radius:7px; }
.home-page .card.tier-vip .badge { background:#af3e20; color:#fff; }
.home-page .card.tier-premium .badge { background:#17624e; color:#fff; }
@media(max-width:1050px) {
  .home-page .promotion-section > .cards { grid-auto-columns:calc((100% - 36px)/3); }
  .home-page #search-area .quick-types > :is(button,a) { padding:10px; gap:7px; font-size:12px; }
}
@media(max-width:820px) {
  .home-page .home-nav-row { display:none; }
  .home-page > main,.home-page .header-shell { width:calc(100% - 28px); }
  .home-page > main { margin-top:19px; }
  .home-page #search-area.gh-search-ready { scroll-margin-top:82px; }
  .home-page .gh-search-strip { scroll-margin-top:82px; }
  .home-page #search-area.gh-search-ready > .quick-types { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:16px; }
  .home-page .promotion-section { margin:25px 0 30px; }
  .home-page .promotion-section > .cards { grid-auto-columns:calc((100% - 12px)/2); gap:12px; }
  .home-page .promotion-section .section-heading h2 { font-size:18px; }
}
@media(max-width:740px) {
  .home-page .sell-banner-between {
    width:calc(100% - 12px);
    margin:24px auto;
    padding:22px;
    flex-direction:column;
    align-items:stretch;
    border-radius:18px;
    gap:16px;
  }
  .home-page .sell-banner-between .primary { width:100%; }
}
@media(max-width:500px) {
  .home-page #search-area.gh-search-ready > .quick-types { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-page #search-area .quick-types > :is(button,a) { min-height:50px; }
  .home-page .promotion-section > .cards { grid-auto-columns:min(82%,290px); }
}
