.abba-categories {
	font-family: Montserrat, "Segoe UI", sans-serif;
	color: #2a2a2a;
}

.abba-categories__head {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 18px;
}

.abba-categories__all {
	margin-left: auto;
	color: #8d8d8d;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.abba-categories__all:hover {
	color: #243056;
}

.abba-categories__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.abba-categories__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(36, 48, 86, 0.06);
	color: inherit;
	text-decoration: none;
}

.abba-categories__media {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: #efeae3;
}

.abba-categories__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.abba-categories__image--empty {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
		#efeae3;
}

.abba-categories__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 14px 12px 16px;
	background: #fff;
	text-align: center;
}

.abba-categories__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.abba-categories__desc {
	color: #9a9a9a;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.abba-categories__empty {
	margin: 0;
	color: #8d8d8d;
}

@media (max-width: 767px) {
	.abba-categories__grid {
		gap: 12px;
	}
}

.abba-shop-categories {
	width: 100%;
	margin: 6px 0 26px;
}

.abba-shop-categories .abba-categories__grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.abba-shop-categories .abba-categories__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.abba-shop-categories .abba-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
