/* Snusly Shop Categories — circular icons */

.sccc-section,
.sccc-section * {
	box-sizing: border-box;
}

.elementor-widget-snusly_shop_categories,
.sccc-widget {
	margin: 0 !important;
	width: 100% !important;
}

.sccc-section {
	width: 100%;
	background: var(--sccc-bg, #fff);
	padding: 40px 0 48px;
	text-align: center;
}

.sccc-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.sccc-heading {
	margin: 0 0 28px;
	text-align: center !important;
	font-size: 28px;
	font-weight: 800;
	color: var(--sccc-heading, #111) !important;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.sccc-grid {
	display: grid !important;
	grid-template-columns: repeat(var(--sccc-cols, 8), minmax(0, 1fr));
	gap: var(--sccc-gap, 16px);
	align-items: start;
	justify-items: center;
}

.sccc-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none !important;
	gap: 12px;
	width: 100%;
	max-width: 120px;
	transition: transform 0.2s ease;
}

.sccc-item:hover {
	transform: translateY(-4px);
}

.sccc-icon-wrap {
	position: relative;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--sccc-circle-bg, #004D57);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.sccc-icon-wrap::before {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	pointer-events: none;
}

.sccc-icon-wrap img,
.sccc-icon-wrap i,
.sccc-icon-wrap svg,
.sccc-icon {
	position: relative;
	z-index: 1;
	width: 42px;
	height: 42px;
	font-size: 32px;
	color: var(--sccc-icon-color, #fff) !important;
	fill: currentColor;
	object-fit: contain;
	display: block;
}

.sccc-label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sccc-label, #111) !important;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	word-break: break-word;
}

@media (max-width: 1024px) {
	.sccc-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) {
	.sccc-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}

	.sccc-icon-wrap {
		width: 72px;
		height: 72px;
	}

	.sccc-icon-wrap img,
	.sccc-icon-wrap i,
	.sccc-icon-wrap svg {
		width: 30px;
		height: 30px;
		font-size: 26px;
	}

	.sccc-label {
		font-size: 11px;
	}

	.sccc-item {
		max-width: 100px;
	}
}

@media (max-width: 480px) {
	.sccc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
