:root {
  --ink:#202622;
  --soft:#536159;
  --line:#dde3de;
  --panel:#f2f5f2;
  --hot:#b93620;
  --tint:#fff1eb;
  --sans:Inter,"Segoe UI",Roboto,Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  font:15px/1.42 var(--sans);
  color:var(--ink);
  background:#fff;
}

button,select,input {
  font:inherit;
  color:inherit;
}

button {
  cursor:pointer;
}

button:focus-visible,select:focus-visible,input:focus-visible {
  outline:3px solid #c14526;
  outline-offset:3px;
}

button {
  background:none;
  border:0;
}

.wrap {
  width:min(1456px,calc(100% - 8vw));
  margin:auto;
}

.top {
  background:white;
  border-bottom:1px solid var(--line);
}

.bar {
  display:flex;
  align-items:center;
  gap:24px;
  min-height:78px;
}

.brand {
  display:flex;
  align-items:center;
  padding:0;
  flex:none;
  --brand-width:125px;
  height:calc(var(--brand-width) / 4);
}

.brand img {
  display:block;
  width:var(--brand-width);
  height:auto;
}

.searchbar {
  background:var(--panel);
  border:1px solid #e3e9e3;
  border-radius:11px;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:1;
  height:43px;
  padding:0 13px;
}

.glass {
  width:15px;
  height:15px;
  border:1.8px solid currentColor;
  border-radius:50%;
  display:inline-block;
  position:relative;
  flex:none;
  margin:0 5px 2px 2px;
}

.glass:after {
  content:"";
  position:absolute;
  width:7px;
  height:1.8px;
  background:currentColor;
  bottom:-3px;
  right:-5px;
  transform:rotate(45deg);
  border-radius:3px;
}

.searchbar input {
  min-width:50px;
  flex:1;
  border:0;
  background:transparent;
  height:100%;
  outline:none;
  font-size:14px;
}

.searchbar:focus-within {
  outline:2px solid #a8b7ad;
  outline-offset:1px;
}

.searchbar input:focus-visible {
  outline:none;
}

input::placeholder {
  color:#546259;
  opacity:1;
}

.location {
  display:flex;
  align-items:center;
  gap:8px;
  border-left:1px solid #cdd7ce;
  padding-left:14px;
}

.pin {
  display:inline-block;
  width:12px;
  height:12px;
  flex:none;
  border:1.5px solid currentColor;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  position:relative;
  top:-1px;
}

.pin:after {
  content:"";
  width:3px;
  height:3px;
  border-radius:50%;
  background:currentColor;
  position:absolute;
  top:3px;
  left:3px;
}

select {
  cursor:pointer;
}

.location select {
  border:0;
  background:transparent;
  font-weight:600;
  font-size:13px;
  max-width:125px;
}

.nav-action {
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:7px;
  font-weight:600;
  font-size:14px;
  padding:7px 0;
}

.heart {
  font-family:Arial,sans-serif;
  font-size:25px;
  line-height:1;
  font-weight:400;
}

.nav-action[aria-pressed=true] {
  color:var(--hot);
}

.post {
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:9px;
  color:white;
  background:var(--hot);
  min-height:43px;
  padding:0 18px;
  font-weight:700;
  white-space:nowrap;
}

.post:hover {
  background:#942c1c;
}

.category-wrap {
  border-bottom:1px solid var(--line);
}
.category-panel {
  padding-block:16px 18px;
}
.category-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}
.category-heading h2 {
  margin:0;
  font-size:19px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.category-all {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  color:var(--soft);
  font-size:13px;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.category-all[aria-current=page] {
  color:var(--ink);
}
.categories {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.category {
  min-width:0;
  min-height:56px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:5px 10px 5px 5px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  font-size:14px;
  line-height:1.2;
  font-weight:600;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.category:hover {
  border-color:#acb7ae;
  background:#f8faf8;
}
.category[aria-current=page] {
  border-color:var(--hot);
  box-shadow:inset 0 0 0 1px var(--hot);
  background:var(--tint);
  color:#922a18;
}
.category-art {
  width:44px;
  height:44px;
  flex:none;
  display:grid;
  place-items:center;
  background:var(--shade,#f1f3ee);
  border-radius:7px;
  overflow:hidden;
}
.category-art img {
  width:90%;
  height:90%;
  object-fit:contain;
  mix-blend-mode:multiply;
}
.cat-sutes,.cat-edenyek { --shade:#f8eee7; }
.cat-hutes,.cat-talalas { --shade:#e9f2ef; }
.cat-kave,.cat-elokeszites { --shade:#eef1e7; }
.cat-mosogatas,.cat-alkatreszek { --shade:#f1edf2; }
.cat-butor,.cat-csomagolas { --shade:#f2efe7; }

.category-intro,.reading-intro { color:var(--soft); max-width:76ch; line-height:1.6; }
.category-intro { margin:-3px 0 19px; }
.category-help { margin:32px 0 8px; padding:20px 0 4px; border-top:1px solid var(--line); max-width:76ch; }
.category-help h2,.reading h2 { font-size:21px; line-height:1.25; letter-spacing:-.025em; margin:0 0 8px; }
.category-help li { margin:6px 0; }
.category-help ul { padding-left:1.2em; }
.category-help a,.reading a:not(.back-link) { color:var(--hot); text-underline-offset:3px; }
.wrap.reading { max-width:760px; padding-block:28px 46px; }
.reading h1 { margin:16px 0; }
.reading article section,.guide-index article { padding:20px 0; border-top:1px solid var(--line); }
.reading p { line-height:1.7; margin:0; }
.reading .reading-intro { margin:0 0 22px; font-size:17px; }

main {
  padding:29px 0 26px;
}

.feed-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
  gap:16px;
}

h1 {
  font-size:clamp(26px,2.2vw,35px);
  line-height:1.08;
  letter-spacing:-.048em;
  margin:0;
  font-weight:700;
}

.sort {
  font-size:13px;
  color:#435048;
  display:flex;
  align-items:center;
  gap:6px;
}

.sort select {
  border:0;
  background:#fff;
  font-size:13px;
  font-weight:650;
  padding:4px 0;
}

.filters {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.filter {
  display:flex;
  align-items:center;
  position:relative;
}

.filter select,.filterbtn {
  border:1px solid #d8ded8;
  background:#fff;
  border-radius:8px;
  font-size:13px;
  padding:8px 12px;
  min-height:35px;
  font-weight:560;
}

.filter select {
  padding-right:5px;
  max-width:185px;
}

.filter select.active,.filterbtn[aria-pressed=true] {
  border-color:#dba08f;
  background:var(--tint);
  color:#852a18;
}

.reset {
  color:#624539;
  text-decoration:underline;
  text-underline-offset:3px;
  font-size:13px;
}

.count {
  margin-left:auto;
  color:var(--soft);
  font-size:13px;
}

.grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  column-gap:17px;
  row-gap:29px;
}

.card {
  min-width:0;
  position:relative;
}

.seller {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#465249;
  margin-bottom:8px;
  padding:0;
  max-width:100%;
  text-align:left;
}

.av {
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  border-radius:50%;
  flex:none;
  background:var(--avbg);
  color:var(--avink);
  font-size:9px;
  font-weight:750;
  letter-spacing:-.02em;
}

.seller-name {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:600;
}

.age {
  white-space:nowrap;
  color:#59635c;
  font-size:11px;
}

.age:before {
  content:"·";
  padding-right:4px;
}

.visual {
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background:var(--panel);
}

.photo-button {
  width:100%;
  aspect-ratio:1.12;
  display:block;
  padding:0;
  overflow:hidden;
}

.photo-button img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .22s;
}

.photo-button:hover img {
  transform:scale(1.035);
}

.like {
  position:absolute;
  right:9px;
  bottom:9px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#303931;
  border-radius:50%;
  height:33px;
  width:33px;
  box-shadow:0 1px 4px #26312730;
  font-size:25px;
  font-family:Arial,sans-serif;
  line-height:1;
  padding:0 0 1px;
}

.like[aria-pressed=true] {
  color:var(--hot);
}

.card-text {
  display:block;
  text-align:left;
  padding:9px 0 0;
  width:100%;
}

.price {
  display:block;
  font-size:clamp(18px,1.39vw,22px);
  font-weight:720;
  line-height:1.24;
  letter-spacing:-.035em;
}

.product {
  display:block;
  font-size:15px;
  font-weight:600;
  line-height:1.32;
  margin-top:3px;
}

.spec,.place {
  font-size:12px;
  color:var(--soft);
  line-height:1.45;
  display:block;
  margin-top:3px;
}

.place {
  display:flex;
  align-items:center;
  gap:6px;
}

.place .pin {
  width:9px;
  height:9px;
}

.place .pin:after {
  width:2px;
  height:2px;
  top:2px;
  left:2px;
}

.empty {
  padding:48px 0 70px;
  text-align:center;
}

.empty p {
  color:var(--soft);
}

footer {
  border-top:1px solid var(--line);
  padding:17px 0 25px;
  color:#59635c;
  font-size:12px;
}

[hidden] {
  display:none!important;
}

.short-post {
  display:none;
}

@media(max-width:1190px) {
  .wrap {
    width:94%;
  }
  .bar {
    gap:14px;
  }
  .category { font-size:13px; gap:7px; }
  .grid {
    column-gap:13px;
  }
  .brand {
    --brand-width:110px;
  }
}

@media(max-width:980px) {
  .category-art { width:34px; height:36px; }
  .grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .nav-action .nav-label {
    display:none;
  }
}

@media(max-width:720px) {
  .wrap {
    width:calc(100% - 32px);
  }
  .bar {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:8px 15px;
    padding:11px 0;
  }
  .brand {
    --brand-width:101px;
  }
  .nav-action {
    grid-column:2;
    grid-row:1;
  }
  .post.top-post {
    grid-column:3;
    grid-row:1;
    min-height:35px;
    padding:0 10px;
    font-size:12px;
    border-radius:7px;
  }
  .long-post {
    display:none;
  }
  .short-post {
    display:inline;
  }
  .searchbar {
    grid-column:1/-1;
    grid-row:2;
    height:39px;
    gap:7px;
    padding:0 9px;
  }
  .searchbar input {
    font-size:13px;
  }
  .location {
    padding-left:8px;
    gap:6px;
  }
  .location select {
    font-size:12px;
    max-width:104px;
  }
  .category-panel { padding-block:8px 13px; }
  .category-heading { margin-bottom:5px; }
  .category-heading h2 { font-size:17px; }
  .category-all { min-height:44px; }
  .categories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 7px; }
  .category { min-height:44px; padding:3px 6px 3px 3px; gap:6px; }
  main {
    padding-top:19px;
  }
  .feed-head {
    margin-bottom:12px;
    gap:8px;
  }
  h1 {
    font-size:24px;
  }
  .sort {
    gap:0;
  }
  .sort-label {
    display:none;
  }
  .sort select {
    max-width:115px;
    font-size:12px;
  }
  .filters {
    gap:6px;
    margin-bottom:16px;
  }
  .filter select,.filterbtn {
    font-size:12px;
    min-height:31px;
    padding:5px 5px;
  }
  .count {
    font-size:11px;
  }
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:12px;
    row-gap:21px;
  }
  .seller {
    gap:4px;
    font-size:10px;
    margin-bottom:5px;
  }
  .av {
    width:19px;
    height:19px;
    font-size:8px;
  }
  .age {
    font-size:9px;
  }
  .visual {
    border-radius:8px;
  }
  .photo-button {
    aspect-ratio:1.05;
  }
  .price {
    font-size:18px;
  }
  .product {
    font-size:13px;
  }
  .spec,.place {
    font-size:11px;
    margin-top:2px;
  }
  .like {
    width:29px;
    height:29px;
    font-size:22px;
    right:6px;
    bottom:6px;
  }
  .card-text {
    padding-top:6px;
  }
}

@media(max-width:365px) {
  .wrap {
    width:calc(100% - 22px);
  }
  .grid {
    column-gap:9px;
  }
  .age {
    display:none;
  }
  .count {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}

.filter select {
  field-sizing:content;
  appearance:none;
  padding-right:29px;
}

.filter::after {
  content:"";
  pointer-events:none;
  position:absolute;
  right:11px;
  top:calc(50% - 4px);
  width:5px;
  height:5px;
  border-right:1.5px solid #566259;
  border-bottom:1.5px solid #566259;
  transform:rotate(45deg);
}

@media(max-width:720px) {
  .filter select {
    padding-left:9px;
    padding-right:22px;
  }
  .filter::after {
    right:9px;
  }
  .count {
    display:none;
  }
  .filters {
    gap:6px;
  }
}

a {
  color:inherit;
  text-decoration:none;
}

a:focus-visible {
  outline:3px solid #c14526;
  outline-offset:3px;
}

button.glass {
  padding:0;
}

.nav-action[aria-current=page] {
  color:var(--hot);
}

.session-nav, .session-account {
  display:flex;
  align-items:center;
  gap:12px;
}
.session-nav a {
  display:inline-flex;
  align-items:center;
  min-height:42px;
  white-space:nowrap;
  font-size:14px;
  font-weight:650;
}
.session-nav .session-signup, .session-nav .session-account {
  border:1px solid var(--line);
  border-radius:9px;
  padding:0 13px;
}
.session-nav a:hover, .session-nav a[aria-current] { color:var(--hot); }
.session-account { gap:8px; }
.member-icon {
  display:inline-block;
  width:18px;
  height:18px;
  position:relative;
}
.member-icon::before, .member-icon::after {
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  border:1.5px solid currentColor;
}
.member-icon::before { top:0; width:6px; height:6px; border-radius:50%; }
.member-icon::after { bottom:0; width:15px; height:7px; border-radius:9px 9px 3px 3px; }
.mobile-market-nav { display:none; }

@media (max-width:720px) {
  body { padding-bottom:calc(62px + env(safe-area-inset-bottom,0px)); }
  .bar { grid-template-columns:minmax(0,1fr) auto; }
  .bar .session-nav, .bar #saved { display:none; }
  .bar .post.top-post { grid-column:2; }
  .mobile-market-nav {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    position:fixed;
    z-index:10;
    inset:auto 0 0;
    border-top:1px solid var(--line);
    background:white;
    padding:4px 5px calc(4px + env(safe-area-inset-bottom,0px));
  }
  .mobile-market-nav a {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-height:49px;
    font-size:11px;
    font-weight:650;
    color:var(--soft);
  }
  .mobile-market-nav [aria-current=page] { color:var(--hot); }
  .mobile-market-nav .heart { font-size:24px; line-height:18px; }
  .browse-icon {
    width:8px; height:8px; border-radius:2px; background:currentColor;
    box-shadow:10px 0 currentColor, 0 10px currentColor, 10px 10px currentColor;
    margin:0 10px 10px 0;
  }
  .inbox-icon {
    width:20px; height:15px; margin-block:1.5px; border:1.5px solid currentColor;
    border-radius:3px; position:relative; overflow:hidden;
  }
  .inbox-icon::after {
    content:""; position:absolute; left:3px; top:-6px; width:10px; height:10px;
    transform:rotate(45deg); border:solid currentColor; border-width:0 1.5px 1.5px 0;
  }
  .join-icon {
    display:grid; place-items:center; border:1.5px solid currentColor; border-radius:50%;
    width:18px; height:18px; font:600 16px/1 var(--sans);
  }
}

.av-0 {
  --avbg:#f4e7db;
  --avink:#6a4732;
}

.av-1 {
  --avbg:#e6edf6;
  --avink:#365271;
}

.av-2 {
  --avbg:#e1eeea;
  --avink:#2d5b50;
}

.av-3 {
  --avbg:#f2e6ee;
  --avink:#784361;
}

.av-4 {
  --avbg:#e7ebda;
  --avink:#526036;
}

.no-photo {
  display:grid;
  place-items:center;
  height:100%;
  min-height:90px;
  text-align:center;
  padding:1rem;
  color:var(--soft);
}

.footlinks,.pagination {
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}

.footlinks a:hover,.detail-facts a,.report-link,.pagination a,.back-link {
  text-decoration:underline;
  text-underline-offset:3px;
}

.pagination {
  margin:32px 0 0;
}

.listing-page {
  max-width:1200px;
}

.back-link {
  display:inline-block;
  font-size:14px;
  margin:0 0 20px;
  color:var(--soft);
}

.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(270px,1fr);
  align-items:start;
  gap:clamp(25px,4vw,62px);
}

.gallery {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.gallery img {
  width:100%;
  border-radius:12px;
  object-fit:contain;
  background:var(--panel);
  max-height:68vh;
}

.gallery img:first-child {
  grid-column:1/-1;
}

.gallery > .no-photo {
  grid-column:1/-1;
  aspect-ratio:4 / 3;
  height:auto;
  border-radius:12px;
  background:var(--panel);
}

.detail-cat,.detail-tax,.report-link {
  color:var(--soft);
  font-size:14px;
}

.detail-cat {
  margin:0 0 12px;
}

.detail-price {
  margin:14px 0 0;
  font-size:30px;
  line-height:1.18;
  font-weight:720;
  letter-spacing:-.04em;
}

.detail-tax {
  margin:4px 0 20px;
}

.detail-facts {
  margin:18px 0;
}

.detail-facts div {
  display:flex;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line);
  padding:9px 0;
}

.detail-facts dt {
  color:var(--soft);
}

.detail-facts dd {
  margin:0;
  text-align:right;
  font-weight:600;
}

.detail-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin:23px 0 15px;
}

.detail-actions .filterbtn {
  min-height:43px;
}

.phone-link {
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  text-decoration:underline;
  text-underline-offset:.15em;
  scroll-margin-block-start:6rem;
}

.phone-frame {
  border:0;
  width:14rem;
  max-width:100%;
  height:51px;
}

.phone-frame-body {
  padding:4px;
}

.phone-frame-body .phone-link { min-height:43px; }

.phone-frame-body .phone-link:focus-visible {
  outline:2px solid var(--hot);
  outline-offset:1px;
}

.description,.detail-copy,.card {
  overflow-wrap:anywhere;
}

.sold {
  font-size:17px;
  font-weight:650;
}

@media(max-width:720px) {
  .detail-layout {
    grid-template-columns:minmax(0,1fr);
    gap:19px;
  }
  .gallery img {
    max-height:60vh;
  }
}
