/* Bizzz Grid — немного своего поверх UIkit (всё остальное — классы темы). */
.bzg-card { position: relative; }
.uk-grid-match > .bzg-cell > .bzg-card { display: flex; flex-direction: column; }
.uk-grid-match > .bzg-cell > .bzg-card > .el-item { flex: 1 1 auto; }
.bzg-badges { pointer-events: none; display: flex; flex-wrap: wrap; gap: 4px; }
.bzg-badges .bzg-badge { pointer-events: auto; }
.bzg-price { margin-top: 0; }
.bzg-price + * { margin-top: 10px; }
.bzg-price-old { margin-left: .4em; }
.bzg-footer[aria-busy="true"] { opacity: .5; pointer-events: none; }
.bzg-cell.bzg-new { animation: bzg-in .35s ease-out both; }
@keyframes bzg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bzg-skeleton { min-height: 120px; border-radius: 6px; background: linear-gradient(90deg, rgba(0,0,0,.04) 25%, rgba(0,0,0,.08) 37%, rgba(0,0,0,.04) 63%); background-size: 400% 100%; animation: bzg-sk 1.2s ease infinite; }
@keyframes bzg-sk { from { background-position: 100% 50%; } to { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .bzg-cell.bzg-new, .bzg-skeleton { animation: none; } }

/* картинка и кнопка — скрыть на маленьких экранах */
@media (max-width: 639px) { .bzg-hide-image-s .el-image, .bzg-hide-link-s .el-link { display: none !important; } }
@media (max-width: 959px) { .bzg-hide-image-m .el-image, .bzg-hide-link-m .el-link { display: none !important; } }
@media (max-width: 1199px) { .bzg-hide-image-l .el-image, .bzg-hide-link-l .el-link { display: none !important; } }
@media (max-width: 1599px) { .bzg-hide-image-xl .el-image, .bzg-hide-link-xl .el-link { display: none !important; } }

/* телефон: карточки в ряд с прокруткой вбок */
@media (max-width: 639px) {
  .bzg-scroll-s { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .bzg-scroll-s::-webkit-scrollbar { display: none; }
  .bzg-scroll-s > .bzg-cell { flex: 0 0 82%; width: 82%; scroll-snap-align: start; }
}

/* в модальном окне анимации появления не ждут прокрутки */
.bzg-modal [uk-scrollspy-class] { opacity: 1 !important; }
