.te-product-cards-shell {
	container-name: te-product-cards;
	container-type: inline-size;
	max-width: 100%;
	min-width: 0;
	margin-right: auto;
	margin-left: auto;
}

.te-product-cards-shell--width-contained {
	width: min(100%, 760px);
}

.te-product-cards-shell--width-full {
	width: 100%;
}

.te-product-cards-shell--width-custom {
	width: min(
		100%,
		var(--te-pc-widget-width, var(--te-pc-widget-width-fallback, 760px))
	);
}

.te-product-cards-shell--align-left {
	margin-right: auto;
	margin-left: 0;
}

.te-product-cards-shell--align-center {
	margin-right: auto;
	margin-left: auto;
}

.te-product-cards-shell--align-right {
	margin-right: 0;
	margin-left: auto;
}

.te-product-cards {
	--te-pc-columns: 2;
	--te-pc-gap: 24px;
	--te-pc-content-gap: 8px;
	--te-pc-description-lines: 2;
	--te-pc-title-lines: 2;
	--te-pc-image-hover-scale: 1.02;
	--te-pc-focus: #7f5f24;
	--te-pc-carousel-accent: #b9924c;
	--te-pc-in-cart-accent: #214b33;
	--te-pc-cart-color: #faf8f3;
	--te-pc-cart-background: #214b33;
	--te-pc-cart-interaction-color: var(--te-pc-cart-color);
	--te-pc-cart-interaction-background: #2b6244;
	--te-pc-pricing-cart-gap: 16px;
	--te-pc-cart-control-gap: 12px;
	--te-pc-quantity-color: #2d2d2d;
	--te-pc-quantity-button-background: transparent;
	--te-pc-quantity-button-border: #2d2d2d;
	--te-pc-quantity-interaction-background: #f4efe6;
	position: relative;
	width: 100%;
}

.te-product-cards *,
.te-product-cards *::before,
.te-product-cards *::after {
	box-sizing: border-box;
}

.te-product-cards__viewport {
	min-width: 0;
}

.te-product-cards__track {
	display: grid;
	grid-template-columns: repeat(
		auto-fill,
		minmax(
			min(
				100%,
				max(
					240px,
					calc(
						(100% - (var(--te-pc-gap) * (var(--te-pc-columns) - 1))) /
							var(--te-pc-columns)
					)
				)
			),
			1fr
		)
	);
	gap: var(--te-pc-gap);
	margin: 0;
	padding: 0;
}

.te-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #faf8f3;
	border: 1px solid #e6ded1;
	border-radius: 12px;
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.te-product-card__badges {
	position: absolute;
	z-index: 2;
	top: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}

.te-product-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 9px;
	color: #2d2d2d;
	background: #b9924c;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.te-product-card__badge--sold {
	color: #faf8f3;
	background: #2d2d2d;
}

.te-product-card__badge--sale {
	color: #faf8f3;
	background: #214b33;
}

.te-product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f4efe6;
	text-decoration: none;
}

.te-product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: transform 220ms ease;
}

.te-product-card__body {
	container-type: inline-size;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 22px;
	padding: 24px;
	text-align: left;
}

.te-product-card__content {
	display: flex;
	flex-direction: column;
	gap: var(--te-pc-content-gap);
}

.te-product-card__title,
.te-product-card__description,
.te-product-card__availability,
.te-product-card__price,
.te-product-card__unit-price {
	margin: 0;
}

.te-product-card__title {
	display: -webkit-box;
	min-height: calc(var(--te-pc-title-lines) * 1.25em);
	min-height: calc(var(--te-pc-title-lines) * 1lh);
	overflow: hidden;
	font-size: 1.25rem;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--te-pc-title-lines);
	line-clamp: var(--te-pc-title-lines);
}

.te-product-cards--unlimited-titles .te-product-card__title {
	display: block;
	min-height: 0;
	overflow: visible;
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

.te-product-card__title-link {
	--te-pc-name-color: inherit;
	--te-pc-name-interaction-color: var(--te-pc-name-color);
	color: var(--te-pc-name-color) !important;
	background-image: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.te-product-card__title-link:visited {
	color: var(--te-pc-name-color) !important;
	background-image: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.te-product-card__title-link:hover,
.te-product-card__title-link:focus,
.te-product-card__title-link:focus-visible,
.te-product-card__title-link:active {
	color: var(--te-pc-name-interaction-color) !important;
	background-image: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.te-product-card__title-link::before,
.te-product-card__title-link::after {
	content: none !important;
}

.te-product-card__description {
	display: -webkit-box;
	overflow: hidden;
	color: inherit;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--te-pc-description-lines);
	line-clamp: var(--te-pc-description-lines);
}

.te-product-card__availability {
	color: inherit;
	font-size: 0.875rem;
	font-weight: 600;
}

.te-product-card__purchase {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: var(--te-pc-pricing-cart-gap);
	margin-top: auto;
}

.te-product-card__pricing {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.te-product-card__price {
	font-weight: 600;
	line-height: 1.3;
}

.te-product-card__price del {
	opacity: 0.55;
	font-weight: 400;
}

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

.te-product-card__unit-price {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	opacity: 0.72;
	font-size: 0.78rem;
	line-height: 1.35;
}

.te-product-card__cart {
	display: flex;
	flex-direction: column;
	gap: var(--te-pc-cart-control-gap);
	width: 100%;
	min-width: 0;
}

.te-product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 10px 16px;
	color: var(--te-pc-cart-color) !important;
	background: var(--te-pc-cart-background) !important;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.te-product-card__stepper {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 0;
	color: var(--te-pc-quantity-color);
	background: transparent;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
}

.te-product-cards--interactive .te-product-card__stepper {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
}

.te-product-cards .te-product-card .te-product-card__button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

.te-product-cards .te-product-card .te-product-card__button:hover,
.te-product-cards .te-product-card .te-product-card__button:focus,
.te-product-cards .te-product-card .te-product-card__button:focus-visible,
.te-product-cards .te-product-card .te-product-card__button:active {
	color: var(--te-pc-cart-interaction-color) !important;
	background-color: var(--te-pc-cart-interaction-background) !important;
	background-image: none !important;
	box-shadow: none;
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.te-product-cards .te-product-card .te-product-card__quantity-button:hover,
.te-product-cards .te-product-card .te-product-card__quantity-button:focus,
.te-product-cards .te-product-card .te-product-card__quantity-button:focus-visible,
.te-product-cards .te-product-card .te-product-card__quantity-button:active {
	color: var(--te-pc-quantity-color) !important;
	background-color: var(--te-pc-quantity-interaction-background) !important;
	background-image: none !important;
	box-shadow: none;
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.te-product-cards .te-product-card .te-product-card__button:visited {
	color: var(--te-pc-cart-color) !important;
	background: var(--te-pc-cart-background) !important;
}

.te-product-card__button[disabled] {
	cursor: not-allowed;
	opacity: 0.58;
}

.te-product-card__quantity-button {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: inherit;
	background: var(--te-pc-quantity-button-background);
	border: 1px solid var(--te-pc-quantity-button-border);
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	font-size: 1.2em;
	line-height: 1;
}

.te-product-cards--interactive .te-product-card__quantity-button {
	display: inline-flex;
	width: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	padding: 0 !important;
	color: var(--te-pc-quantity-color) !important;
	background: var(--te-pc-quantity-button-background) !important;
	border: 1px solid var(--te-pc-quantity-button-border) !important;
}

.te-product-card__quantity-button:disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

.te-product-card__quantity {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	margin: 0;
	padding: 0 4px !important;
	color: inherit;
	background: transparent;
	border: 1px solid var(--te-pc-quantity-button-border);
	border-radius: 4px;
	font: inherit;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	text-align: center;
}

.te-product-cards--interactive .te-product-card__quantity {
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0;
	border-radius: 0;
}

.te-product-cards--interactive .te-product-card__quantity::-webkit-inner-spin-button,
.te-product-cards--interactive .te-product-card__quantity::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
}

.te-product-card__message {
	width: 100%;
	margin: 0;
	color: currentColor;
	font-size: 0.75rem;
	line-height: 1.35;
	text-align: left;
}

.te-product-card__added {
	margin: 0;
	color: var(--te-pc-in-cart-accent);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

.te-product-card__message.is-error {
	color: #9f2d24;
}

.te-product-card[aria-busy="true"] .te-product-card__stepper {
	opacity: 0.72;
}

.te-product-card.is-updating .te-product-card__add-button {
	pointer-events: none;
	opacity: 0.72;
}

.te-product-cards--highlight-cart .te-product-card--in-cart {
	outline: 2px solid var(--te-pc-in-cart-accent);
	outline-offset: -2px;
}

.te-product-card :where(a, button, .te-product-card__quantity):focus-visible,
.te-product-cards__navigation button:focus-visible {
	outline: 3px solid var(--te-pc-focus);
	outline-offset: 3px;
}

.te-product-card__quantity:focus-visible {
	outline-offset: -3px;
}

.te-product-cards--carousel .te-product-cards__track:focus-visible {
	outline: 3px solid var(--te-pc-focus);
	outline-offset: -3px;
}

.te-product-card__media:focus-visible {
	outline-offset: -3px;
}

.te-product-cards--hover .te-product-card:hover,
.te-product-cards--hover .te-product-card:focus-within {
	box-shadow: 0 10px 28px rgba(45, 45, 45, 0.1);
	transform: translateY(-2px);
}

.te-product-cards--hover .te-product-card:hover .te-product-card__image,
.te-product-cards--hover .te-product-card:focus-within .te-product-card__image {
	transform: scale(var(--te-pc-image-hover-scale));
}

.te-product-cards--carousel .te-product-cards__viewport {
	overflow: hidden;
}

.te-product-cards--carousel .te-product-cards__track {
	display: flex;
	gap: var(--te-pc-gap);
	overflow-x: auto;
	padding: 3px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.te-product-cards--carousel .te-product-cards__track::-webkit-scrollbar {
	display: none;
}

.te-product-cards--carousel.te-product-cards--navigation-hidden .te-product-cards__track {
	padding-bottom: 10px;
	scrollbar-width: auto;
}

.te-product-cards--carousel.te-product-cards--navigation-hidden .te-product-cards__track::-webkit-scrollbar {
	display: block;
	height: 8px;
}

.te-product-cards--carousel .te-product-card {
	flex: 0 0 min(
		100%,
		max(
			240px,
			calc(
				(100% - (var(--te-pc-gap) * (var(--te-pc-columns) - 1))) /
					var(--te-pc-columns)
			)
		)
	);
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.te-product-cards__navigation {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.te-product-cards__arrows {
	display: flex;
	gap: 8px;
	justify-self: start;
}

.te-product-cards__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: currentColor;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 50%;
	cursor: pointer;
	font: inherit;
	line-height: 1;
}

.te-product-cards__arrow:disabled {
	cursor: not-allowed;
	opacity: 0.32;
}

.te-product-cards__position {
	grid-column: 2;
	margin: 0;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.te-product-cards__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	justify-self: end;
}

.te-product-cards__dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.te-product-cards__dot::before {
	width: 10px;
	height: 10px;
	background: transparent;
	border: 1px solid var(--te-pc-carousel-accent);
	border-radius: 50%;
	content: "";
}

.te-product-cards__dot.is-active::before {
	background: var(--te-pc-carousel-accent);
}

.te-product-cards .te-product-card [hidden],
.te-product-cards__navigation [hidden] {
	display: none !important;
}

.te-product-cards .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@container te-product-cards (max-width: 600px) {
	.te-product-cards__navigation {
		grid-template-columns: 1fr auto;
	}

	.te-product-cards__position {
		grid-column: 2;
		grid-row: 1;
	}

	.te-product-cards__dots {
		grid-column: 1 / -1;
		justify-self: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.te-product-cards *,
	.te-product-cards *::before,
	.te-product-cards *::after {
		scroll-behavior: auto !important;
		animation-duration: 1ms !important;
		transition-duration: 1ms !important;
	}

}
