.ni-category-with-viewed:has(.ni-viewed-top:not([hidden])){display:grid!important;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:28px;align-items:start}
.ni-category-with-viewed:has(.ni-viewed-top:not([hidden])) .classified-avito-icons{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;min-width:0}
.ni-viewed-top{margin:0!important;padding:0!important;border:0!important;min-width:0;background:transparent!important}
.ni-viewed-top[hidden]{display:none!important}
.ni-viewed-top .classified-viewed__head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;gap:8px}
.ni-viewed-top .classified-viewed__head h2{font-size:20px;margin:0!important;line-height:1.3}
.ni-viewed-top .classified-viewed__head button{font-size:12px;border:0;background:none;color:#888;padding:6px;cursor:pointer}
.ni-viewed-top .classified-viewed__grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.ni-viewed-top .classified-viewed__card{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;min-width:0}
.ni-viewed-top .classified-viewed__card a{display:grid!important;grid-template-columns:76px minmax(0,1fr);column-gap:12px;row-gap:3px;align-content:start;color:inherit;text-decoration:none}
.ni-viewed-top .classified-viewed__photo{grid-row:1/4;width:76px!important;height:66px!important;aspect-ratio:auto!important;border-radius:10px;overflow:hidden;background:#f3f3f3}
.ni-viewed-top .classified-viewed__photo img{width:100%;height:100%;object-fit:cover}
.ni-viewed-top strong{font-size:13px!important;line-height:1.3;font-weight:400!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
.ni-viewed-top b{font-size:14px!important;line-height:1.3;margin:0!important}
.ni-viewed-top .classified-viewed__location{display:none}
@media(max-width:760px){.ni-category-with-viewed:has(.ni-viewed-top:not([hidden])){display:block!important}.ni-viewed-top{margin:20px 0 6px!important}.ni-viewed-top .classified-viewed__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.ni-viewed-top .classified-viewed__card a{display:flex!important;flex-direction:column;gap:5px}.ni-viewed-top .classified-viewed__photo{width:100%!important;height:auto!important;aspect-ratio:1.35!important}.ni-viewed-top .classified-viewed__head h2{font-size:18px}}
.ni-viewed-top .classified-viewed__card strong{max-height:2.6em!important;overflow:hidden!important}
