.latest-empty{
    font-size: 14px;
    font-weight: 500;
    color: #6B6D80;
    margin: 4px 0 0px 0;
    line-height: 1.4;
    align-items: start;
    padding: unset;
    text-align: start;
}

.popular-grid {
grid-template-columns: repeat(3,auto);
}

.shop-card {
    width: auto;
}

.latest-header {
    margin: 0px;
}

body.theme-dark .content .latest-list .latest-empty{
    color: #c3c3c3;
    text-align: start;
    background: none !important;
    border-color: transparent !important;
}

/* «Популярные магазины» — те же размеры и адаптивность, что на главной */
.popular-header{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:24px;
    margin-bottom:13px;
    flex-wrap:wrap;
}

.section-link{
    margin-left:auto;
    text-decoration:none;
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:16px;
    padding:12px 8px;
    border-radius:8px;
    font-size:12px;
    font-weight:500;
    line-height:16px;
    flex-shrink:0;
    background:#EFF0F1;
    color:#2F3143;
}

.popular-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}

.shop-card{
    position:relative;
    display:grid;
    grid-template-rows:auto 1fr auto;
    width:auto;
    height:120px;
    padding:12px;
    border:1px solid #E5E5E5;
    border-radius:16px;
    background:#fff;
    text-decoration:none;
}

.shop-card__logo{
    width:32px;
    height:32px;
    border-radius:10px;
    object-fit:cover;
    display:block;
    align-self:start;
    justify-self:start;
}

.shop-card__title{
    align-self:end;
    font-size:14px;
    font-weight:500;
    color:#303345;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.shop-card__text{
    justify-self:start;
    margin-top:2px;
    font-size:12px;
    font-weight:500;
    color:#6B6D80;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

@media (max-width:1024px){
    .popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .shop-card{width:auto}
}

@media (max-width:640px){
    .popular-grid{grid-template-columns:repeat(2,1fr)}
    .shop-card{height:116px}
}

