.wes-products-showcase {
	--wes-surface: #ffffff;
	--wes-surface-strong: #ffffff;
	--wes-border: #e8dccb;
	--wes-text: #232c3d;
	--wes-muted: #667085;
	--wes-accent: #b42318;
	--wes-button-bg: #c52a1a;
	--wes-button-text: #ffffff;
	--wes-nav-bg: transparent;
	--wes-nav-text: #15345b;
	--wes-shadow: none;
	--wes-card-radius: 22px;
	--wes-nav-size: 52px;
	--wes-gap: 30px;
	--wes-visible-columns: 4;
	position: relative;
	background: transparent;
	max-width: 100%;
	overflow: visible;
}

.wes-products-showcase__viewport {
	overflow: hidden;
	background: transparent !important;
	box-shadow: none;
	padding-bottom: 0;
	margin-bottom: 0;
	max-width: 100%;
}

.wes-products-showcase__nav {
	position: absolute;
	top: 34%;
	left: -74px;
	right: -74px;
	z-index: 5;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.wes-products-showcase__footer {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.wes-products-showcase__indicators {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 22px;
}

.wes-products-showcase__indicator {
	width: 28px;
	height: 6px;
	border: 0;
	border-radius: 999px;
	background: #d9d9d9;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.wes-products-showcase__indicator.is-active {
	background: #c52a1a;
}

.wes-products-showcase__nav-button,
.wes-products-showcase__load-more {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wes-products-showcase__nav-button {
	width: var(--wes-nav-size);
	height: var(--wes-nav-size);
	border: 2px solid var(--wes-nav-text);
	background: var(--wes-nav-bg);
	color: var(--wes-nav-text);
	cursor: pointer;
	box-shadow: none;
}

.wes-products-showcase__nav-button:hover,
.wes-products-showcase__load-more:hover {
	box-shadow: none;
}

.wes-products-showcase__nav-button span {
	font-size: 18px;
	line-height: 1;
}

.wes-products-showcase__load-more {
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid var(--wes-border);
	background: var(--wes-surface-strong);
	color: var(--wes-text);
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.wes-products-showcase__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wes-gap);
	background: transparent !important;
	box-shadow: none;
	margin: 0;
	padding-bottom: 0;
}

.wes-product-card.is-hidden {
	display: none;
}

.wes-layout-slider .wes-products-showcase__grid,
.wes-layout-carousel .wes-products-showcase__grid {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 8px 6px 10px;
	background: transparent !important;
	box-shadow: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scrollbar-gutter: auto;
	gap: var(--wes-gap);
	max-width: 100%;
}

.wes-layout-slider .wes-products-showcase__viewport,
.wes-layout-carousel .wes-products-showcase__viewport,
.wes-layout-slider,
.wes-layout-carousel {
	background: transparent !important;
	box-shadow: none;
	padding-bottom: 0;
}

.wes-layout-slider .wes-products-showcase__grid::-webkit-scrollbar,
.wes-layout-carousel .wes-products-showcase__grid::-webkit-scrollbar {
	display: none;
}

.wes-layout-slider .wes-product-card,
.wes-layout-carousel .wes-product-card {
	flex: 0 0 calc((100% - (var(--wes-gap) * (var(--wes-visible-columns) - 1))) / var(--wes-visible-columns));
	width: calc((100% - (var(--wes-gap) * (var(--wes-visible-columns) - 1))) / var(--wes-visible-columns));
	height: auto;
	align-self: stretch;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.wes-product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--wes-border);
	border-radius: var(--wes-card-radius);
	background: var(--wes-surface-strong);
	box-shadow: var(--wes-shadow);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.wes-product-card:hover {
	box-shadow: var(--wes-shadow);
}

.wes-product-card__media-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.wes-product-card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	height: auto;
	background: #ffffff;
	overflow: hidden;
}

.wes-product-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: none;
	pointer-events: none;
}

.wes-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wes-product-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 10px;
	background: #ff9824;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.wes-product-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 22px 20px 20px;
}

.wes-product-card__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: var(--wes-text);
}

.wes-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.wes-product-card__rating .star-rating {
	float: none;
	margin: 0;
	color: #f59e0b;
}

.wes-product-card__price {
	color: var(--wes-accent);
	font-size: 18px;
	font-weight: 800;
}

.wes-product-card__price del {
	color: #9ca3af;
}

.wes-product-card__price ins {
	text-decoration: none;
}

.wes-product-card__excerpt {
	margin: 0;
	color: var(--wes-muted);
	font-size: 15px;
	line-height: 1.6;
}

.wes-product-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 6px;
}

.wes-product-card__actions .button,
.wes-product-card__actions .added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	width: 100%;
	padding: 12px 20px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.wes-product-card__actions .button {
	border: 0;
	background: var(--wes-button-bg);
	color: var(--wes-button-text);
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wes-product-card__actions .button:hover {
	background: #9f2014;
	color: #ffffff;
}

.wes-product-card__actions .added_to_cart {
	color: var(--wes-text);
}

.wes-term-card__actions {
	margin-top: auto;
	padding-top: 4px;
}

.wes-term-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wes-nav-text);
	font-weight: 700;
	text-decoration: none;
}

.wes-term-card__link::after {
	content: "\2192";
	font-size: 14px;
	line-height: 1;
}

.wes-products-showcase__empty {
	padding: 24px;
	border: 1px dashed var(--wes-border);
	border-radius: 18px;
	color: var(--wes-muted);
	background: #fffaf2;
}

@media (max-width: 1200px) {
	.wes-products-showcase__nav {
		left: -40px;
		right: -40px;
	}

	.wes-products-showcase__nav-button {
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 1024px) {
	.wes-products-showcase__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wes-layout-slider .wes-products-showcase__grid,
	.wes-layout-carousel .wes-products-showcase__grid {
		display: flex;
	}

	.wes-layout-slider .wes-product-card,
	.wes-layout-carousel .wes-product-card {
		flex-basis: calc((100% - (var(--wes-gap) * (var(--wes-visible-columns) - 1))) / var(--wes-visible-columns));
		width: calc((100% - (var(--wes-gap) * (var(--wes-visible-columns) - 1))) / var(--wes-visible-columns));
		min-width: 220px;
	}
}

@media (max-width: 767px) {
	.wes-products-showcase__nav {
		display: none;
	}

	.wes-products-showcase__viewport {
		overflow: hidden;
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
	}

	.wes-products-showcase__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 100%;
	}

	.wes-layout-slider .wes-products-showcase__grid,
	.wes-layout-carousel .wes-products-showcase__grid {
		display: flex;
		width: 100%;
		max-width: 100%;
		padding: 0 0 10px;
		gap: 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
	}

	.wes-layout-slider .wes-product-card,
	.wes-layout-carousel .wes-product-card {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}

	.wes-product-card__content {
		padding: 18px 16px 16px;
	}
}
