/* Isolate this band from floated ordering/count controls and product-list widths. */
.yjc-parent-tiles.wd-cats-element {
	display: flow-root; clear: both; float: none; width: 100%; max-width: 100%;
	box-sizing: border-box; flex: 0 0 100%; grid-column: 1 / -1;
	margin: 0 0 24px; padding-block-start: 12px;
}
.yjc-parent-tiles .wd-cats { width: 100%; margin: 0; }
.yjc-parent-tiles .wd-cats > .wd-cat { width: auto; min-width: 0; max-width: none; float: none; margin: 0; }
.yjc-parent-tiles .wd-cats::before, .yjc-parent-tiles .wd-cats::after { content: none; }
.yjc-parent-tiles .wd-products-with-bg, .yjc-parent-tiles .wd-products-with-bg .wd-cat { --wd-prod-bg: #fff; --wd-bordered-bg: #fff; }
.yjc-parent-tiles .wd-cat .wd-entities-title { font: 22px/1.4 "Eagle Lake", sans-serif; text-transform: capitalize; overflow-wrap: anywhere; }
.yjc-parent-tiles :is(.columns-1,.columns-2) .category-image img { max-height: 320px; object-fit: contain; }
@media (max-width: 768px) { .yjc-parent-tiles .wd-cat .wd-entities-title { font-size: 14px; } }

/* Classic themes without WoodMart's category component. */
.yjc-classic .wd-cats { display: grid; grid-template-columns: repeat(var(--wd-col-lg),minmax(0,1fr)); gap: 20px; }
.yjc-classic .wd-cat-inner { position: relative; text-align: center; }
.yjc-classic .category-image img { display: block; width: 100%; height: auto; }
.yjc-classic .wd-entities-title { margin: .5em 0; }
.yjc-classic .category-link { position: absolute; inset: 0; }
@media (max-width: 1024px) { .yjc-classic .wd-cats { grid-template-columns: repeat(var(--wd-col-sm),minmax(0,1fr)); } }
