/* Főkategória-csempék: külön szakasz a hero alatt, vízszintesen görgethető sor nyilakkal (érintésre és billentyűzettel is).
   A nyilak a sor két oldalán saját helyet kapnak (nem takarnak el semmit); a levágott oldalon a csempék halványulnak. */
.mxw-tiles { --fl: 0px; --fr: 0px; position: relative; margin: 26px 0 28px; }
.mxw-tiles.has-prev { --fl: 96px; }
.mxw-tiles.has-next { --fr: 96px; }
.mxw-tiles__list { display: flex; gap: 12px; min-width: 0; margin: 0; padding: 4px 2px 8px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); }
.mxw-tiles__list::-webkit-scrollbar { display: none; }
.mxw-tiles__list > li { flex: none; scroll-snap-align: start; }
.mxw-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 132px; padding: 8px 8px 12px; border: 1.5px solid var(--mx-line, #e4dfd3); border-radius: 18px; background: #fff; color: var(--mx-ink, #293126); font-weight: 600; font-size: 14.5px; line-height: 1.25; text-align: center; text-decoration: none; transition: border-color 0.16s ease, background-color 0.16s ease; }
.mxw-tile:hover, .mxw-tile:focus-visible { border-color: var(--mx-ink, #293126); }
.mxw-tile:focus-visible { outline: 3px solid var(--mx-ring, #b4706c); outline-offset: 2px; }
.mxw-tile[aria-current="true"] { border-color: var(--mx-green, #4e5e43); background: var(--mx-sage, #e3eadb); }
.mxw-tile__media { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--mx-sand, #eeeae0); }
.mxw-tile__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mxw-tile--chip { width: auto; min-height: 46px; flex-direction: row; justify-content: center; padding: 0 20px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
.mxw-tile--all { font-weight: 700; }
.mxw-tiles__arrow { position: absolute; top: calc(50% - 24px); z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid var(--mx-border, #d6d0c2); border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(41, 49, 38, 0.16); color: var(--mx-ink, #293126); cursor: pointer; } /* a halványuló szélen ül: nem takar ki látható csempét */
.mxw-tiles__arrow--prev { left: 0; }
.mxw-tiles__arrow--next { right: 0; }
.mxw-tiles__arrow:hover { background: var(--mx-sand, #eeeae0); }
.mxw-tiles__arrow:focus-visible { outline: 3px solid var(--mx-ring, #b4706c); outline-offset: 2px; }
.mxw-tiles__arrow[hidden] { display: grid; visibility: hidden; } /* nem foglalnak helyet (abszolút): nincs elmozdulás, amikor a JS megmutatja őket */
@media (max-width: 767px) {
	.mxw-tiles { margin: 20px 0 22px; }
	.mxw-tiles__arrow, .mxw-tiles__arrow[hidden] { display: none; }
	.mxw-tile { width: 112px; }
	.mxw-tile--chip { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .mxw-tiles__list { scroll-behavior: auto; } }

/* Találatszám a csempén (szűrt/keresett nézeten) */
.mxw-tile__n { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--mx-sand, #eeeae0); color: var(--mx-muted, #656b60); font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center; }
.mxw-tile--chip .mxw-tile__n { margin-left: 8px; }
.mxw-tile[aria-current="true"] .mxw-tile__n { background: #fff; }
.mxw-tile.is-empty { opacity: 0.5; }
