/* Catalogue category tiles (owner, 2026-11-15): smaller, all in one row on a wide screen, and the name centred under
   each tile. Both rows: the catalogue's first page (.barami-cat-tiles) and the category pages (.bm-ct). */
.bm-ct .bm-ct__tile { text-align: center; }
.bm-ct .bm-ct__name { text-align: center; }
.barami-cat-tiles a span:last-child { text-align: center; }

@media (min-width: 1024px) {
    .bm-ct .bm-ct__row {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 14px;
        overflow: visible;
    }
    .bm-ct .bm-ct__cell { min-width: 0; }
    .bm-ct .bm-ct__arrow { display: none !important; }
    .bm-ct .bm-ct__name { font-size: 13px; line-height: 1.35; }
    .bm-ct .bm-ct__tile.is-current .bm-ct__name { display: block; }

    .barami-cat-tiles ul {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        grid-template-columns: none !important;
        gap: 14px !important;
    }
    .barami-cat-tiles ul > li { min-width: 0; }
    .barami-cat-tiles a span:last-child { font-size: 13px !important; line-height: 1.35; letter-spacing: .02em !important; }
}
