.kat-brands {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}
.kat-brand-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.08);
	border-top: 4px solid var(--kat-accent, #e7b24c);
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
}
.kat-brand-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.kat-brand-card__icon {
	font-size: 28px;
}
.kat-brand-card__name {
	font-size: 17px;
	font-weight: 700;
}
.kat-brand-card__pillar {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--kat-accent, #e7b24c);
	font-weight: 700;
}
.kat-brand-card__tagline {
	font-size: 13px;
	color: #666;
}

.kat-grid {
	display: grid;
	gap: 18px;
}
.kat-cols-1 { grid-template-columns: 1fr; }
.kat-cols-2 { grid-template-columns: repeat(2, 1fr); }
.kat-cols-3 { grid-template-columns: repeat(3, 1fr); }
.kat-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 780px) {
	.kat-cols-2, .kat-cols-3, .kat-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.kat-cols-2, .kat-cols-3, .kat-cols-4 { grid-template-columns: 1fr; }
}

.kat-card {
	border: 1px solid rgba(0,0,0,.08);
	border-top: 3px solid var(--kat-accent, #e7b24c);
	border-radius: 10px;
	padding: 16px 18px;
	background: #fff;
	overflow: hidden;
}
.kat-card.is-featured {
	box-shadow: 0 0 0 2px var(--kat-accent, #e7b24c) inset;
}

/* Photos System gallery (KAT_Photos) — rendered as the shared "Photo
   Frame" betabox (see assets/css/kat-photo-frame.css) when a listing has
   more than one photo, a plain <img> otherwise. Negative side/top margins
   pull it flush to the card's edges/border without restructuring the
   padding every other .kat-card__* child relies on. */
.kat-card__media {
	position: relative;
	margin: -16px -18px 12px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.kat-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #f0f0f1;
}

.kat-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
.kat-card__icon {
	font-size: 22px;
}
.kat-card__brand {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #888;
}
.kat-card__title {
	margin: 0 0 6px;
	font-size: 16px;
}
.kat-card__title a {
	color: inherit;
	text-decoration: none;
}
.kat-card__desc {
	font-size: 13px;
	color: #555;
	margin: 0 0 10px;
}
.kat-card__price {
	font-weight: 700;
	color: var(--kat-accent, #e7b24c);
}
.kat-card__unit {
	font-weight: 400;
	font-size: 12px;
	color: #888;
	margin-left: 4px;
}
.kat-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 10px;
}
.kat-tag {
	font-size: 11px;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(0,0,0,.05);
	color: #555;
	white-space: nowrap;
}
.kat-tag--spice {
	background: rgba(232,135,30,.12);
	color: #b5610f;
}

.kat-enquiry {
	text-align: center;
	padding: 28px 20px;
	border-radius: 12px;
	background: #f6f7f9;
}
.kat-enquiry__title {
	margin: 0 0 14px;
}
.kat-enquiry__actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}
.kat-btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.kat-btn--enquire {
	background: #1fa88f;
	color: #fff;
}
.kat-btn--ghost {
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
}
.kat-empty {
	color: #888;
	font-style: italic;
}

/* Brand map — [kat_brand_map] / [kat_brands_map] (Google Map pins). */
.kat-brand-map {
	margin: 20px 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e2e2;
}
.kat-brand-map__frame {
	display: block;
}
.kat-brand-map__directions {
	display: block;
	padding: 10px 14px;
	background: #fafafa;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	color: #1fa88f;
	border-top: 1px solid #e2e2e2;
}
.kat-brands-map-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 20px 0;
}
.kat-brands-map-grid__item {
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	overflow: hidden;
}
.kat-brands-map-grid__name {
	margin: 0;
	padding: 10px 14px;
	font-size: 15px;
	background: #fafafa;
	border-bottom: 1px solid #e2e2e2;
}
