/* Várostér listing kártya — EGYEDÜLI CSS forrás.
   Ne másold style.css / inner-pages.css / blade inline-ba. */

@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/kanit/v17/nKKZ-Go6G5tXcraBGwCYdA.woff2) format('woff2');
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/kanit/v17/nKKZ-Go6G5tXcrabGwCYdA.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/kanit/v17/nKKZ-Go6G5tXcraVGwA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/kanit/v17/nKKU-Go6G5tXcr5mOBWpVaF5NQ.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/kanit/v17/nKKU-Go6G5tXcr5mOBWnVaE.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.search-container .row > [class*="col-"],
.vendor-directory .row > [class*="col-"],
.vendor-companies .vendor-company-card-col,
.product-area .tab-pane .row > [class*="col-"],
.product-area .row > [class*="col-"]:has(.listing-ref-card) {
  display: flex;
  margin-bottom: 24px;
}

.product-area .row:has(.listing-ref-card),
.search-container .row:has(.listing-ref-card) {
  --bs-gutter-x: 1.75rem;
}

.vendor-directory .row > [class*="col-"] {
  margin-bottom: 30px;
}

.listing-ref-card.listing-style2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.17);
}

.listing-ref-card .listing-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 409 / 320.9;
  height: auto;
  background: #f0f0f0;
}

.listing-ref-card .listing-img::before,
.listing-ref-card .listing-img .lazy-container,
.listing-ref-card .listing-img .ratio {
  display: none;
  padding: 0;
}

.listing-ref-card .listing-img > a:not(.tags) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  font-size: 0;
}

.listing-ref-card .listing-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.listing-ref-card .listing-img .tags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 0 16px;
  border-radius: 30px;
  background: #fff;
  color: #13171d;
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
  text-transform: capitalize;
}

.listing-ref-card .listing-img .tags .vs-category-custom-icon {
    position: static;
    inset: auto;
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    object-fit: contain;
    border-radius: 0;
    transform: none;
    vertical-align: middle;
}

.listing-ref-card .listing-img .tags i {
  display: inline-block;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.listing-ref-card .tags:hover {
  color: #fff;
  background-color: var(--color-primary);
}

.listing-ref-card .tags:hover i {
  color: #fff;
}

.listing-ref-card .listing-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 14px 0 0;
  position: relative;
  overflow: hidden;
}

.listing-ref-card .listing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 0 6px;
  padding-right: 0;
}

.listing-ref-card .start-area {
  display: inline-flex;
  align-items: center;
}

.listing-ref-card .start-area .star-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin: 0;
}

.listing-ref-card .start-area .star-rating i {
  font-size: 16px;
  font-weight: 400;
  color: #ffc107;
}

.listing-ref-card .start-area p {
  display: inline-flex;
  margin-left: 8px;
  margin-bottom: 0;
  color: #737373;
  font-size: 16px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
  line-height: 100%;
}

.listing-ref-card .start-area p span {
  color: var(--color-primary);
}

.listing-ref-card .wishlist,
.listing-ref-card .listing-ref-card__wish {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: 4;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.listing-ref-card .wishlist i {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.listing-ref-card .wishlist:hover,
.listing-ref-card .wishlist.is-active,
.listing-ref-card .listing-ref-card__wish:hover,
.listing-ref-card .listing-ref-card__wish.is-active {
  color: #fff;
  background-color: var(--color-primary);
}

.search-container .listing-ref-card .listing-top,
.listing-cards-col .listing-ref-card .listing-top,
.listing-map-area .listing-ref-card .listing-top {
  max-width: none;
  padding-right: 0;
}

.search-container .listing-ref-card .listing-ref-card__wish,
.listing-cards-col .listing-ref-card .listing-ref-card__wish,
.listing-map-area .listing-ref-card .listing-ref-card__wish {
  position: relative;
  top: auto;
  right: auto;
  margin: 0 0 0 auto;
}

.listing-ref-card .listing-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.22em;
  margin: 0 0 5px;
  color: var(--color-dark);
  font-size: 24px;
  line-height: 142%;
  font-weight: 500;
  font-family: "Kanit", sans-serif;
}

.cegem-plus-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  vertical-align: middle;
  line-height: 0;
  cursor: help;
}

.cegem-plus-badge svg {
  display: block;
  width: 24px;
  height: 24px;
}

.listing-details-head .listing-info .title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.2em;
}

.listing-details-head .listing-info .title .cegem-plus-badge svg {
  width: 28px;
  height: 28px;
}

.listing-ref-card .listing-title a {
  color: var(--color-dark);
  font-size: 24px;
  line-height: 142%;
  margin-bottom: 0;
  font-family: "Kanit", sans-serif;
  text-decoration: none;
  outline: 0;
  font-weight: 500;
}

.listing-ref-card .listing-title a:hover {
  color: var(--color-primary);
}

.listing-ref-card .listing-text {
  margin: 0 0 8px;
  color: #737373;
  font-size: 16px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
}

.listing-ref-card .list-style1 ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.listing-ref-card .list-style1 li {
  position: relative;
  display: block;
  margin: 0 0 8px;
  padding: 0 0 0 28px;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
  line-height: 20px;
}

.listing-ref-card .list-style1 li:last-child {
  margin-bottom: 0;
}

.listing-ref-card .list-style1 li i,
.listing-ref-card .list-style1 li svg {
  position: absolute;
  left: 0;
  top: 4px;
  display: block;
  float: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  color: var(--color-primary);
}

.listing-ref-card .list-style1 li span,
.listing-ref-card .list-style1 li a {
  display: inline;
  color: #555;
  font-weight: 400;
}

.listing-ref-card .list-style1 li a:hover {
  color: var(--color-primary);
}

.listing-ref-card .listing-bottom {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-top: auto;
  padding: 8px 16px;
  padding-right: 150px;
  border-radius: 30px;
  background: rgba(var(--color-primary-rgb), 0.08);
}

.listing-ref-card .listing-bottom .price {
  font-family: "Kanit", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}

.listing-ref-card .listing-bottom .vs-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 140px;
  padding: 0 28px;
  border: 0;
  border-radius: 30px;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}

.listing-ref-card .listing-bottom .vs-btn:hover,
.listing-ref-card .listing-bottom .vs-btn:focus {
  color: #fff;
  filter: brightness(1.05);
}

.listing-ref-card .listing-claim-box,
.listing-ref-card .listing-claim-notice-form {
  width: 100%;
  margin: 0;
}

.listing-ref-card .listing-claim-box {
  margin-top: auto;
  margin-bottom: 10px;
}

.listing-ref-card__claim,
.listing-claim-btn--card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f7f4fb;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.listing-ref-card:has(.listing-claim-btn--card) .listing-bottom {
  margin-top: 0;
}

.listing-claim-btn--card.is-disabled {
  color: #6b7280;
}

.listing-ref-card__source {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
}

.product-area .listing-ref-card,
.swiper-slide .listing-ref-card {
  margin-bottom: 0;
}

/* Város kártya: listing-ref-card héj, city szemantika. Csak theme 2–3. */
.city-area.city-area--ref {
  overflow: visible;
  background-color: #f5f5f7;
}

.city-ref-card .listing-bottom {
  padding: 0;
  padding-right: 0;
}

.city-ref-card .listing-bottom .vs-btn {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  min-width: 0;
  height: 52px;
}

.listing-toolbar {
  margin: 0 0 16px;
}

.listing-toolbar .product-sort-area {
  margin-bottom: 0;
}

.listing-toolbar .sort-item {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .listing-page-grid > .listing-sidebar-col {
    flex: 0 0 0;
    width: 0;
    max-width: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
  }

  .listing-page-grid > .listing-cards-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Trendi folyam – folyamatos szalag + kiemelés-fókusz (theme 2–3, .js-trendi-feed)
   ========================================================================== */

/* A kiemelt kártya kipúposodhasson: a szalag ne vágja le függőlegesen.
   overflow-x: clip -> vízszintesen továbbra is maszkol (nincs szivárgás),
   overflow-y: visible -> a felnagyított kártya teteje/alja NEM vágódik le.
   A függőleges padding ad helyet a nagyításnak (nincs layout shift). */
.home-rail__slider.js-trendi-feed.swiper {
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

/* Filmszerű, folyamatos (lineáris) gördülés – nem „pittyen" minden kártyánál. */
.home-rail__slider.is-trendi-marquee .swiper-wrapper {
  transition-timing-function: linear;
}

/* A normál kártyák EGYENRANGÚAK: teljes méret, éles, semmi külön kiemelés és
   semmi alap-blur. Így a szalag körbe-körbe, egyenletesen gördül, és a
   loop-varratnál sincs méret-eltérés, ami „bezuhanást" okozna. Csak a fizetett
   KIEMELT válik különlegessé (lentebb, fókuszkor) – így a kiemelés valóban az. */
.home-rail__slider.js-trendi-feed .swiper-slide .listing-ref-card,
.home-rail__slider.js-trendi-feed .swiper-slide .blog-card {
  transform-origin: center center;
  transition: transform 600ms ease, opacity 500ms ease, box-shadow 500ms ease;
  backface-visibility: hidden;
}

/* A blog-kártya töltse ki a szalag-cellát (mint a listing/city kártya), 10px radius fent és lent. */
.home-rail__slider .blog-card {
  height: 100%;
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 10px;
}
.blog-cards-modern .home-rail__slider .blog-card,
.blog-cards-modern .home-rail__slider .blog-card.radius-md {
  overflow: hidden;
  border-radius: 10px !important;
}
.blog-cards-modern .home-rail__slider .blog-card .blog-card__media,
.blog-cards-modern .home-rail__slider .blog-card .blog-card__media.radius-md,
.blog-cards-modern .home-rail__slider .blog-card .blog-card__media .lazy-container {
  overflow: hidden;
  border-radius: 10px 10px 0 0 !important;
}

/* Fókusz = amikor a KIEMELT kártya középre ér, a szalag ott megáll: a kiemelt
   kinagyít (egy helyen konfigurálható: --trendi-zoom, alap 1.10) + finom árnyék,
   a többi kártya pedig „ködös-fehérre" halványul (opacitással a világos háttérbe
   olvad – NEM sötét, és NINCS rárakott plusz blur, ami hullámzana). */
.home-rail__slider.js-trendi-feed.is-trendi-focus .swiper-slide-active[data-trendi-featured="1"] {
  position: relative;
  z-index: 6;
}
.home-rail__slider.js-trendi-feed.is-trendi-focus .swiper-slide-active[data-trendi-featured="1"] .listing-ref-card,
.home-rail__slider.js-trendi-feed.is-trendi-focus .swiper-slide-active[data-trendi-featured="1"] .blog-card {
  transform: scale(var(--trendi-zoom, 1.1));
  box-shadow: 0 24px 60px rgba(30, 20, 60, 0.28);
}
.home-rail__slider.js-trendi-feed.is-trendi-focus .swiper-slide:not(.swiper-slide-active) .listing-ref-card,
.home-rail__slider.js-trendi-feed.is-trendi-focus .swiper-slide:not(.swiper-slide-active) .blog-card {
  opacity: 0.32;
}

