

/*==================
 Product Showcase
===================*/

.sbc-product-showcase {
	--sbc-columns: 4;
	width: 100%;
}

.sbc-grid {
	display: grid;
	grid-template-columns: repeat(var(--sbc-columns), 1fr);
	gap: 24px;
}

@media (max-width: 767px) {
	.sbc-grid {
		grid-template-columns: repeat(var(--sbc-columns), 1fr);
		gap: 14px;
	}
}

.sbc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sbc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.sbc-card__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f7f7f7;
}

.sbc-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.sbc-card:hover .sbc-card__thumb img {
	transform: scale(1.05);
}

.sbc-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #c8154c;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
}

.sbc-card__body {
	text-align: center;
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sbc-card__category {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sbc-card__category a {
	color: inherit;
	text-decoration: none;
}

.sbc-card__title {
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
}

.sbc-card__title a {
	font-size: 1em;
	text-decoration: none;
}

.sbc-card__price {
	font-size: 15px;
	font-weight: 600;
}

.sbc-card__price del {
	opacity: 0.5;
	font-weight: 400;
	margin-right: 6px;
}

.sbc-card__variations {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
}

.sbc-variation-label {
	font-weight: 600;
	color: #555;
}

.sbc-variation-options {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.sbc-variation-pill {
	display: inline-block;
	padding: 3px 10px;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 11px;
	color: #444;
	background: #fff;
	cursor: pointer;
	line-height: 1.6;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sbc-variation-pill:hover {
	border-color: #999;
}

.sbc-variation-pill.is-active {
	background: #1e1e1e;
	border-color: #1e1e1e;
	color: #fff;
}

.sbc-card__cta {
	margin-top: 6px;
}

.sbc-card__cta a.button {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 9px 12px;
	border-radius: 4px;
	background: #1e1e1e;
	color: #fff;
	font-size: 13px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.sbc-card__cta a.button:hover {
	opacity: 0.85;
}

.sbc-card__cta a.button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.sbc-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.sbc-load-more {
	background: #1e1e1e;
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.sbc-load-more:hover {
	opacity: 0.85;
}

.sbc-load-more[disabled] {
	opacity: 0.5;
	cursor: default;
}

.sbc-load-more.is-loading {
	position: relative;
	color: transparent;
}

.sbc-load-more.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sbc-spin 0.6s linear infinite;
}

@keyframes sbc-spin {
	to {
		transform: rotate(360deg);
	}
}

.sbc-no-products {
	grid-column: 1 / -1;
	text-align: center;
	opacity: 0.7;
}