.tdwclc-carousel {
	--tdwclc-gap: 24px;
	--tdwclc-arrow-offset: 6px;
	--tdwclc-badge-x: 10px;
	--tdwclc-badge-y: 10px;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding-block: 8px 34px;
}

.tdwclc-carousel *,
.tdwclc-carousel *::before,
.tdwclc-carousel *::after {
	box-sizing: border-box;
}

.tdwclc-viewport {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	touch-action: pan-y pinch-zoom;
}

.tdwclc-track {
	display: flex;
	align-items: stretch;
	gap: var(--tdwclc-gap);
	will-change: transform;
}

.tdwclc-track.is-dragging {
	cursor: grabbing;
	transition: none !important;
	user-select: none;
}

.tdwclc-slide {
	flex: 0 0 auto;
	min-width: 0;
	height: auto;
}

.tdwclc-equal-height .tdwclc-slide,
.tdwclc-equal-height .tdwclc-card {
	height: 100%;
}

.tdwclc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
	padding: 16px 16px 18px;
	border: 1px solid #e8ecf2;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(17, 24, 39, 0.07);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tdwclc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(17, 24, 39, 0.13);
}

.tdwclc-card-link {
	position: absolute;
	z-index: 2;
	inset: 0;
	border-radius: inherit;
}

.tdwclc-card-link:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: -3px;
}

.tdwclc-image,
.tdwclc-content {
	position: relative;
	z-index: 1;
}

.tdwclc-image {
	width: 100%;
	height: 230px;
	margin-inline: auto;
	margin-bottom: 16px;
	overflow: hidden;
	padding: 12px;
	border-radius: 12px;
	background: #f6f8fb;
}

.tdwclc-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.tdwclc-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: transform 350ms ease, opacity 300ms ease;
}

.tdwclc-image .tdwclc-image-secondary {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: inherit;
	opacity: 0;
}

.tdwclc-image.has-secondary:hover .tdwclc-image-primary,
.tdwclc-card:hover .tdwclc-image.has-secondary .tdwclc-image-primary {
	opacity: 0;
}

.tdwclc-image.has-secondary:hover .tdwclc-image-secondary,
.tdwclc-card:hover .tdwclc-image.has-secondary .tdwclc-image-secondary {
	opacity: 1;
}

.tdwclc-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.tdwclc-category {
	margin: 0 0 7px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.035em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tdwclc-category a {
	color: inherit;
}

.tdwclc-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 9px;
	color: #111827;
	font-size: 17px;
	font-weight: 650;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tdwclc-title a {
	color: inherit;
	text-decoration: none;
	transition: color 180ms ease;
}

.tdwclc-title a:hover {
	color: #2563eb;
}

.tdwclc-excerpt {
	margin: 0 0 10px;
	color: #667085;
	font-size: 13px;
	line-height: 1.55;
}

.tdwclc-rating {
	display: flex;
	align-items: center;
	min-height: 20px;
	margin-bottom: 9px;
	gap: 7px;
}

.tdwclc-rating .star-rating {
	float: none;
	width: 5.4em;
	margin: 0;
	color: #f59e0b;
	font-size: 14px;
	letter-spacing: 0.08em;
}

.tdwclc-review-count {
	color: #6b7280;
	font-size: 12px;
}

.tdwclc-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin: 0 0 10px;
	color: #111827;
	font-size: 18px;
	font-weight: 700;
	gap: 8px;
}

.tdwclc-price del {
	color: #8a94a6;
	font-size: 0.78em;
	font-weight: 500;
	opacity: 1;
}

.tdwclc-carousel .tdwclc-price ins {
	padding: 0;
	color: #e11d48;
	background: transparent;
	font-weight: inherit;
	text-decoration: none;
}

.tdwclc-price .woocommerce-Price-amount {
	white-space: nowrap;
}

.tdwclc-stock {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
}

.tdwclc-stock.is-in-stock {
	color: #16803c;
}

.tdwclc-stock.is-out-of-stock {
	color: #b42318;
}

.tdwclc-actions {
	position: relative;
	z-index: 3;
	display: grid;
	margin-top: auto;
	gap: 9px;
}

.tdwclc-actions .tdwclc-button,
.tdwclc-actions .tdwclc-button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: none;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tdwclc-actions .tdwclc-add-to-cart,
.tdwclc-actions .tdwclc-add-to-cart.button {
	color: #fff;
	background: #111827;
}

.tdwclc-actions .tdwclc-buy-now,
.tdwclc-actions .tdwclc-buy-now.button {
	color: #fff;
	background: #2563eb;
}

.tdwclc-actions .tdwclc-button:hover,
.tdwclc-actions .tdwclc-button:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.tdwclc-actions .added_to_cart {
	color: #2563eb;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.tdwclc-badge {
	position: absolute;
	z-index: 4;
	padding: 5px 9px;
	border-radius: 7px;
	color: #fff;
	background: #e11d48;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tdwclc-badge-top-left {
	top: var(--tdwclc-badge-y);
	left: var(--tdwclc-badge-x);
}

.tdwclc-badge-top-right {
	top: var(--tdwclc-badge-y);
	right: var(--tdwclc-badge-x);
}

.tdwclc-badge-bottom-left {
	bottom: var(--tdwclc-badge-y);
	left: var(--tdwclc-badge-x);
}

.tdwclc-badge-bottom-right {
	right: var(--tdwclc-badge-x);
	bottom: var(--tdwclc-badge-y);
}

.tdwclc-arrow {
	position: absolute;
	z-index: 8;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e1e6ee;
	border-radius: 50%;
	color: #111827;
	background: #fff;
	box-shadow: 0 6px 20px rgba(17, 24, 39, 0.12);
	cursor: pointer;
	transform: translateY(-50%);
	transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.tdwclc-arrow svg {
	width: 20px;
	height: 20px;
}

.tdwclc-prev {
	left: var(--tdwclc-arrow-offset);
}

.tdwclc-next {
	right: var(--tdwclc-arrow-offset);
}

.tdwclc-arrow:hover,
.tdwclc-arrow:focus-visible {
	color: #fff;
	background: #2563eb;
}

.tdwclc-arrow:focus-visible,
.tdwclc-dot:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.35);
	outline-offset: 2px;
}

.tdwclc-arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.tdwclc-dots {
	position: absolute;
	bottom: 5px;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transform: translateX(-50%);
}

.tdwclc-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cbd5e1;
	cursor: pointer;
	transition: transform 180ms ease, background-color 180ms ease;
}

.tdwclc-dot.is-active {
	background: #2563eb;
	transform: scale(1.5);
}

.tdwclc-empty {
	padding: 20px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
	text-align: center;
}

@media (max-width: 767px) {
	.tdwclc-carousel {
		--tdwclc-arrow-offset: 6px;
	}

	.tdwclc-arrow {
		width: 38px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tdwclc-track,
	.tdwclc-card,
	.tdwclc-image img,
	.tdwclc-button {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
