/* ==========================================================================
   AFAMS GALLERY CATEGORY STATS BAR WIDGET STYLES
   ========================================================================== */

.afam-gallery-stats-wrapper {
	width: 100%;
	margin-bottom: 40px;
}

.afam-gallery-stats-container {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	border: 1px solid #e2e8f0;
	padding: 24px 20px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
	align-items: center;
}

.afam-stats-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	padding: 10px 8px;
	border-right: 1px solid #f1f5f9;
	transition: transform 0.3s ease;
}

.afam-stats-item:last-child {
	border-right: none;
}

.afam-stats-item:hover {
	transform: translateY(-3px);
}

.afam-stats-icon {
	width: 48px;
	height: 48px;
	color: #d4af37;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	transition: color 0.3s ease;
}

.afam-stats-image {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.afam-stats-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.afam-stats-item:hover .afam-stats-icon {
	color: #c59b27;
}

.afam-stats-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
	margin-bottom: 12px;
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.afam-stats-count {
	background: #eab308;
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 14px;
	border-radius: 20px;
	display: inline-block;
	box-shadow: 0 2px 6px rgba(234, 179, 8, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
	.afam-gallery-stats-container {
		grid-template-columns: repeat(4, 1fr);
	}
	.afam-stats-item:nth-child(4) {
		border-right: none;
	}
}

@media (max-width: 640px) {
	.afam-gallery-stats-container {
		grid-template-columns: repeat(2, 1fr);
	}
	.afam-stats-item {
		border-right: none;
		border-bottom: 1px solid #f1f5f9;
		padding-bottom: 16px;
	}
}
