/* Matjari Blocks Styles */

.matjari-categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
	padding: 20px 0;
}

.matjari-category-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	transition: all 0.3s;
	text-decoration: none;
	color: inherit;
	display: block;
}

.matjari-category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.matjari-category-card .category-image {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.matjari-category-card .category-image-placeholder {
	width: 100%;
	height: 160px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 48px;
}

.matjari-category-card .category-info {
	padding: 16px;
	text-align: center;
}

.matjari-category-card .category-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #1a1a1a;
}

.matjari-category-card .category-count {
	font-size: 13px;
	color: #888;
}

.matjari-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	padding: 20px 0;
}

.matjari-product-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	transition: all 0.3s;
}

.matjari-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.matjari-product-card .product-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.matjari-product-card .product-info {
	padding: 16px;
}

.matjari-product-card .product-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1a1a1a;
}

.matjari-product-card .product-prices {
	display: flex;
	align-items: center;
	gap: 8px;
}

.matjari-product-card .regular-price {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
}

.matjari-product-card .sale-price {
	font-size: 18px;
	font-weight: 800;
	color: #1a1a1a;
}
