/* Main container */
#shc-consumer-campaigns {
	padding: 2rem 1rem;
	max-width: 1440px;
	margin: 0 auto;
}

/* Filters */
#shc-campaign-filters {
	margin-bottom: 2rem;
}

.shc-filters-nav {
	border-bottom: 2px solid #eee;
}

.shc-filter-list {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.shc-filter-list li {
	list-style: none !important;
}

.shc-filter-item button {
	background: none;
	border: none;
	padding: 0.5rem 0;
	font-weight: 500;
	color: #666;
	cursor: pointer;
	position: relative;
}

.shc-filter-item.active button {
	color: #7f56d9;
	font-weight: 600;
}

.shc-filter-item.active button::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: #7f56d9;
}

/* Grid */
.shc-campaign-grid-container {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.shc-campaign-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
}

.shc-campaign-card:hover {
	transform: translateY(-4px);
}

.shc-campaign-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.shc-campaign-content {
	padding: 1.5rem;
}

.shc-campaign-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.shc-campaign-categories {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.shc-campaign-category {
	font-size: 0.875rem;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	background: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
	.shc-filter-list {
		flex-wrap: wrap;
	}

	.shc-campaign-grid-container {
		grid-template-columns: 1fr;
	}
}

/* Skeleton Loading */
.shc-skeleton {
	position: relative;
	overflow: hidden;
	background: #fff;
}

.shc-skeleton::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 25%, rgba(245, 245, 245, 0.8) 50%, rgba(255, 255, 255, 0) 75%);
	animation: skeleton-loading 1.5s infinite;
}

.shc-skeleton-line {
	height: 1rem;
	background: #f0f0f0;
	margin: 0.5rem 0;
	border-radius: 4px;
}

.shc-skeleton-badge {
	display: inline-block;
	width: 80px;
	height: 24px;
	background: #f0f0f0;
	border-radius: 12px;
	margin-right: 0.5rem;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}
