/* JobLik 0.33.585 — MOBILE GALLERY LOCK RESTORE.
   Scope is strictly /gallery unified mobile <=900px.
   Desktop geometry/filter owner is intentionally untouched. */
@media (max-width:900px){
  html body .v064-home.j515-unified-gallery{
    width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:hidden!important;background:#fff!important;
  }
  html body .v064-home.j515-unified-gallery #featured,
  html body .v064-home.j515-unified-gallery .v064-featured{
    display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 10px 92px!important;background:#fff!important;overflow:visible!important;
  }
  html body .v064-home.j515-unified-gallery .v064-cars-row.apg-grid.card-view-medium{
    display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important;
  }
  html body .v064-home.j515-unified-gallery .v064-cars-row.apg-grid.card-view-medium>.apg-card{
    position:relative!important;display:grid!important;grid-template-columns:52% 48%!important;grid-template-rows:194px!important;
    width:100%!important;height:194px!important;min-height:194px!important;max-height:194px!important;margin:0!important;padding:0!important;
    border:0!important;border-bottom:1px solid #efc5a6!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important;direction:ltr!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media{
    position:relative!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:194px!important;min-height:194px!important;max-height:194px!important;
    margin:0!important;padding:0 0 26px!important;box-sizing:border-box!important;background:#fff!important;overflow:hidden!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider{
    display:block!important;width:100%!important;height:168px!important;min-height:168px!important;max-height:168px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#eef1f3!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider>img{
    width:100%!important;height:168px!important;min-height:168px!important;max-height:168px!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;border-radius:7px!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider>img:not(:first-child){display:none!important}
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-dots{
    display:flex!important;position:absolute!important;left:50%!important;bottom:26px!important;transform:translateX(-50%)!important;gap:2px!important;height:7px!important;align-items:center!important;z-index:6!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-dots i{display:block!important;width:4px!important;height:4px!important;border-radius:50%!important;background:#4e5963!important;margin:0!important}
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-dots i.is-active{background:#ef6517!important}

  html body .v064-home.j515-unified-gallery .apg-card>.apg-body{
    position:relative!important;grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important;height:194px!important;min-height:194px!important;max-height:194px!important;
    margin:0!important;padding:4px 10px 4px 6px!important;box-sizing:border-box!important;background:#fff!important;overflow:hidden!important;direction:rtl!important;text-align:right!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card .jam-mobile-card-copy{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important;direction:rtl!important;text-align:right!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card .j541-card-middle,
  html body .v064-home.j515-unified-gallery .apg-card .j541-card-bottom{display:contents!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line{display:block!important;width:100%!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;padding:0!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-title{font-size:15.5px!important;font-weight:900!important;line-height:24px!important;color:#e96b17!important;margin:0 0 5px!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-spec,
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-condition{font-size:12.5px!important;font-weight:700!important;line-height:22px!important;color:#171717!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-price{font-size:14px!important;font-weight:900!important;line-height:24px!important;color:#111!important;margin-top:2px!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-location{font-size:11.5px!important;font-weight:800!important;line-height:18px!important;color:#50545a!important;margin-top:auto!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-date{font-size:10.5px!important;font-weight:600!important;line-height:17px!important;color:#68727d!important;padding-bottom:2px!important}

  /* Restore the original mobile status controls that live inside media. */
  html body .v064-home.j515-unified-gallery .apg-card>.j538-card-footer,
  html body .v064-home.j515-unified-gallery .apg-card .j524-desktop-status,
  html body .v064-home.j515-unified-gallery .apg-card .j139-card-status{display:none!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save,
  html body .v064-home.j515-unified-gallery .apg-card .apg-approved,
  html body .v064-home.j515-unified-gallery .apg-card .apg-click-count{display:flex!important;position:absolute!important;bottom:0!important;height:26px!important;align-items:center!important;z-index:12!important;background:#fff!important;box-sizing:border-box!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-click-count{left:0!important;width:33.333%!important;justify-content:center!important;color:#ef6517!important;font-size:12px!important;font-weight:800!important;border-right:1px solid #edf0f2!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-click-count::before{content:'◉'!important;font-size:15px!important;margin-right:5px!important;color:#ef6517!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save{left:33.333%!important;width:33.333%!important;justify-content:center!important;color:#4d5660!important;border:0!important;border-right:1px solid #edf0f2!important;border-left:1px solid #edf0f2!important;padding:0!important;margin:0!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save svg{display:block!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save.is-saved{color:#ef6517!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save.is-saved svg{fill:#ef6517!important;stroke:#ef6517!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-approved{left:66.666%!important;width:33.334%!important;justify-content:center!important;color:#169b5b!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-viewed-marker{display:none!important}
  html body .v064-home.j515-unified-gallery .apg-card>.j517-card-hitarea{position:absolute!important;inset:0!important;z-index:8!important;display:block!important}
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media{z-index:9!important}
  html body .v064-home.j515-unified-gallery .apg-card>.apg-body{z-index:9!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save{pointer-events:auto!important;z-index:20!important}

  /* Desktop-only generated UI must never appear in the locked mobile gallery. */
  html body .j579-unified-toolbar,
  html body .j579-filter-backdrop,
  html body .j503-sidebar,
  html body.j503-gallery-desktop .j503-sidebar{display:none!important}
}
