/**
 * File: assets/css/wc-category-showcase.css
 * Styles for the WC Category Showcase Elementor widget.
 */

.wccs-grid {
	display: grid;
	grid-template-columns: repeat(var(--wccs-columns, 5), 1fr);
	gap: 24px;
	width: 100%;
}

@media (max-width: 1024px) {
	.wccs-grid {
		grid-template-columns: repeat(3, 1fr);
        gap: 20px !important;
	}
}

@media (max-width: 600px) {
	.wccs-grid {
		grid-template-columns: repeat(1, 1fr);
        gap: 16px !important;
	}
}

.wccs-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
	background-color: #f5f6f8;
	background-repeat: repeat;
	background-size: 220px;
	border-radius: 8px;
	padding: 24px 16px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wccs-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wccs-circle {
	position: relative;
    display: flex;
    justify-content: center;
}

.wccs-circle .wccs-cat-image {
    max-width: 100%;
    max-height: 100%;
    /* width: 100%; */
    /* height: auto; */
    object-fit: contain;
        aspect-ratio: 1 / 1;
}

.wccs-no-image {
	color: #fff;
	font-weight: 600;
	text-align: center;
	padding: 0 10px;
	font-size: 14px;
}

.wccs-title-wrap {
	margin-top: 18px;
	padding-top: 12px;
	width: 100%;
	text-align: center;
}

.wccs-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	line-height: 1.4;
}