/**
 * ProDeuren Product Carousel Styles
 *
 * Prefix: pdn-custom-theme-
 * Pure CSS Scroll Snap & Zero Bloat
 * 100% Matching Live Site Design
 */

:root {
	--pdn-custom-theme-primary-red: #c00a00;
	--pdn-custom-theme-dark: #242424;
	--pdn-custom-theme-gray-light: #f5f5f5;
	--pdn-custom-theme-gray-text: #777777;
	--pdn-custom-theme-gray-border: #eef0f2;
	--pdn-custom-theme-card-radius: 8px;
	--pdn-custom-theme-transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   1. Carousel Container & Header
   ========================================================================== */

.pdn-custom-theme-carousel-container {
	position: relative;
	/* No grey flash on tap (inherited by the cards, photos, titles and buttons), as live. */
	-webkit-tap-highlight-color: transparent;
	width: 100%;
	max-width: 100%;
	margin: 30px auto 40px auto;
	box-sizing: border-box;
}

.pdn-custom-theme-carousel-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 42px !important; /* + 8px track padding = 50px to the cards (live desktop) */
	padding: 0 4px !important;
	box-sizing: border-box !important;
}

/* Live: 65px heading -> cards at 769-1024px, 45px at <= 768px */
@media (min-width: 769px) and (max-width: 1024px) {
	.pdn-custom-theme-carousel-header {
		margin-bottom: 57px !important;
	}
}

@media (max-width: 768px) {
	.pdn-custom-theme-carousel-header {
		margin-bottom: 37px !important;
	}
}

/* Default / "Populaire" title (1:1 with Screenshot 1) */
.pdn-custom-theme-carousel-title,
.pdn-custom-theme-carousel-title.pdn-title-populaire {
	margin: 0 !important;
	padding: 0 !important;
	font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
	font-size: 23px !important;
	font-weight: 700 !important;
	color: #000000 !important;
	line-height: 36.8px !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

/* "Populaire deuren" title (1:1 with Live Site Screenshot 3) */
.pdn-custom-theme-carousel-title.pdn-title-populaire-deuren {
	margin: 0 !important;
	padding: 0 !important;
	font-family: "Montserrat", "Century Gothic", "Poppins", "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: 25px !important;
	font-weight: 600 !important;
	color: #54595F !important;
	line-height: 1.3 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
}

.pdn-custom-theme-carousel-view-all,
a.pdn-custom-theme-carousel-view-all {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #000000 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 1px !important;
	transition: color 0.2s ease !important;
	display: inline-block !important;
}

.pdn-custom-theme-carousel-view-all:hover,
.pdn-custom-theme-carousel-view-all:focus,
a.pdn-custom-theme-carousel-view-all:hover,
a.pdn-custom-theme-carousel-view-all:focus {
	color: #1a73e8 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 1px !important;
}

/* ==========================================================================
   2. Carousel Viewport & Track
   ========================================================================== */

.pdn-custom-theme-carousel-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.pdn-custom-theme-carousel-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 8px 4px 16px 4px;
	margin: 0;
	box-sizing: border-box;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.pdn-custom-theme-carousel-track:active,
.pdn-custom-theme-carousel-track.is-dragging {
	cursor: grabbing !important;
	scroll-snap-type: none !important;
	scroll-behavior: auto !important;
}

.pdn-custom-theme-carousel-track.is-dragging * {
	user-select: none !important;
	-webkit-user-drag: none !important;
	pointer-events: none !important;
}

.pdn-custom-theme-carousel-track::-webkit-scrollbar {
	display: none;
}

/* Dynamic Item Width calculation */
.pdn-custom-theme-carousel-item {
	flex: 0 0 278px;
	width: 278px;
	scroll-snap-align: start;
	box-sizing: border-box;
}

@media (min-width: 1025px) {
	.pdn-custom-theme-carousel-item {
		flex: 0 0 calc((100% - (var(--pdn-col-lg, 5) - 1) * 20px) / var(--pdn-col-lg, 5)) !important;
		width: calc((100% - (var(--pdn-col-lg, 5) - 1) * 20px) / var(--pdn-col-lg, 5)) !important;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.pdn-custom-theme-carousel-item {
		flex: 0 0 calc((100% - (var(--pdn-col-md, 4) - 1) * 16px) / var(--pdn-col-md, 4)) !important;
		width: calc((100% - (var(--pdn-col-md, 4) - 1) * 16px) / var(--pdn-col-md, 4)) !important;
	}
}

@media (max-width: 767px) {
	.pdn-custom-theme-carousel-item {
		/* Live site 1:1: 1 clear focus card centered with left & right card peek */
		flex: 0 0 clamp(220px, 64vw, 260px) !important;
		width: clamp(220px, 64vw, 260px) !important;
		max-width: 76vw !important;
		scroll-snap-align: center !important;
	}
}

/* ==========================================================================
   3. Product Card
   ========================================================================== */

.pdn-custom-theme-product-card {
	position: relative;
	background: #ffffff;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	padding: 14px 14px 18px 14px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	transition: var(--pdn-custom-theme-transition);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.pdn-custom-theme-product-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	border-color: #dedede;
	transform: translateY(-2px);
}

/* Top Area (Image, Badges, Wishlist) - Fixed uniform height for 100% equal doors */
.pdn-custom-theme-product-element-top {
	position: relative;
	width: 100%;
	height: 250px !important;
	min-height: 250px !important;
	max-height: 250px !important;
	border-radius: 6px;
	overflow: hidden;
	background-color: #ffffff;
	margin-bottom: 14px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Safe image padding so door NEVER overlaps badge or heart button */
.pdn-custom-theme-product-image-link {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 18px 24px 10px 24px !important;
	box-sizing: border-box !important;
}

/* Force EVERY door image to exact same height (eliminates uneven doors) */
.pdn-custom-theme-product-image-link img,
.pdn-custom-theme-main-img {
	height: 212px !important;
	max-height: 212px !important;
	min-height: 212px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain !important;
	transition: transform 0.35s ease !important;
	display: block !important;
	margin: 0 auto !important;
}

.pdn-custom-theme-product-card:hover .pdn-custom-theme-product-image-link img {
	transform: scale(1.03) !important;
}

@media (max-width: 767px) {
	.pdn-custom-theme-product-element-top {
		height: 235px !important;
		min-height: 235px !important;
		max-height: 235px !important;
	}
	.pdn-custom-theme-product-image-link {
		padding: 10px 14px 6px 14px !important;
	}
	.pdn-custom-theme-product-image-link img,
	.pdn-custom-theme-main-img {
		height: 200px !important;
		max-height: 200px !important;
		min-height: 200px !important;
	}
}

/* Dynamic Gallery Hover Zones */
.pdn-custom-theme-hover-zones {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	z-index: 2;
}

.pdn-custom-theme-hover-zone {
	flex: 1;
	height: 100%;
	cursor: pointer;
}

/* Dynamic Gallery Pagination Dashes */
.pdn-custom-theme-gallery-pagin {
	position: absolute;
	bottom: 8px;
	left: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	z-index: 3;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.pdn-custom-theme-product-card:hover .pdn-custom-theme-gallery-pagin {
	opacity: 1;
}

.pdn-custom-theme-gallery-dot {
	flex: 1;
	max-width: 32px;
	height: 2px;
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 1px;
	transition: background-color 0.2s ease;
}

.pdn-custom-theme-gallery-dot.is-active {
	background-color: var(--pdn-custom-theme-dark);
}

/* Badges (Top Left - Red discount pill only - Screenshot 2 & 4) */
.pdn-custom-theme-product-labels {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 3;
	pointer-events: none;
}

.pdn-custom-theme-label-discount {
	display: inline-block !important;
	background-color: var(--pdn-custom-theme-primary-red) !important;
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	padding: 3px 7px !important;
	border-radius: 3px !important;
	line-height: 1.2 !important;
	letter-spacing: 0.2px !important;
	text-transform: uppercase !important;
}

.pdn-custom-theme-label-attribute {
	display: none !important;
}

/* Circular Wishlist Button with Blue Checkmark Badge (Screenshot 1 & 2) */
.pdn-custom-theme-card-actions {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 5;
}

.pdn-custom-theme-action-btn {
	all: unset !important;
	box-sizing: border-box !important;
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	max-width: 36px !important;
	max-height: 36px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid rgba(0, 0, 0, 0.04) !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.pdn-custom-theme-action-btn:hover {
	transform: scale(1.06) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.pdn-custom-theme-action-btn svg.pdn-custom-theme-heart-icon {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	stroke: #000000 !important;
	stroke-width: 1.8 !important;
	fill: none !important;
	transition: stroke 0.2s ease !important;
}

/* The small blue circle badge with checkmark (Screenshot 1) */
.pdn-custom-theme-wishlist-badge {
	position: absolute !important;
	top: 1px !important;
	right: 1px !important;
	width: 13px !important;
	height: 13px !important;
	border-radius: 50% !important;
	background-color: #1a73e8 !important;
	border: 1.5px solid #ffffff !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
	z-index: 6 !important;
}

.pdn-custom-theme-action-btn.is-active .pdn-custom-theme-wishlist-badge {
	display: flex !important;
}

/* Heart stays outline black - NO red fill */
.pdn-custom-theme-action-btn.is-active svg.pdn-custom-theme-heart-icon {
	fill: none !important;
	stroke: #000000 !important;
}

.pdn-custom-theme-add-to-cart {
	display: none !important;
}

/* Bottom Area (Title & Price) */
.pdn-custom-theme-product-element-bottom {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}

.pdn-custom-theme-entities-title {
	margin: 0 0 9px 0;
	font-family: "Lexend Deca", Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 21px;
	color: #000000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 42px;
}

/* Live: the name has a white background above the price; it shows in full over the price while the mouse
   is on the card (see "Long name on hover" below). */
.pdn-custom-theme-entities-title a {
	position: relative;
	z-index: 1;
	display: block;
	font-family: "Lexend Deca", Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: #000000;
	background: #ffffff;
	text-decoration: none;
}

/* Live: 15px title at <= 768px */
@media (max-width: 768px) {
	.pdn-custom-theme-entities-title a {
		font-size: 15px;
	}
}

/* Live: 15px / 500 / 17px lines at <= 767px */
@media (max-width: 767px) {
	.pdn-custom-theme-entities-title {
		line-height: 17px;
		min-height: 34px;
	}

	.pdn-custom-theme-entities-title a {
		font-weight: 500;
		line-height: 17px;
	}
}

/* Live: the name keeps its black colour on hover. */
.pdn-custom-theme-entities-title a:hover,
.pdn-custom-theme-entities-title a:focus {
	color: #000000;
}

/* Long name on hover (live): a long name ends with "..." after 2 lines; while the mouse is on the card the
   whole name shows, running over the top of the price. */
.pdn-custom-theme-product-card:hover .pdn-custom-theme-entities-title {
	display: block !important;
	overflow: visible !important;
}

/* Price Wrap - Matching live site: "Vanaf €644,00 €805,00" */
.pdn-custom-theme-price-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 25.2px;
}

.pdn-custom-theme-price-vanaf {
	font-size: 15px;
	font-weight: 600;
	line-height: 21px;
	color: #000000;
	margin-right: 5px;
}

.pdn-custom-theme-price-current {
	font-size: 18px;
	font-weight: 600;
	line-height: 25.2px;
	color: #ff0000;
}

.pdn-custom-theme-price-regular {
	font-size: 13px;
	font-weight: 600;
	line-height: 18.2px;
	color: #808080;
	text-decoration: line-through;
	margin-left: 4px;
}

/* Non-sale standard price */
.pdn-custom-theme-price-wrap.not-on-sale .pdn-custom-theme-price-current {
	color: #000000;
}

/* ==========================================================================
   4. Skeleton Shimmer Loading (CLS = 0)
   ========================================================================== */

@keyframes pdnCustomThemeShimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

.pdn-custom-theme-skeleton-item {
	opacity: 0.85;
}

.pdn-custom-theme-card-skeleton {
	border-color: #f0f0f0;
	pointer-events: none;
}

.pdn-custom-theme-skeleton-img,
.pdn-custom-theme-skeleton-line {
	background: linear-gradient(90deg, #eeeeee 25%, #f7f7f7 50%, #eeeeee 75%);
	background-size: 200% 100%;
	animation: pdnCustomThemeShimmer 1.5s infinite;
	border-radius: 6px;
}

.pdn-custom-theme-skeleton-img {
	width: 100%;
	height: 250px !important;
	min-height: 250px !important;
	max-height: 250px !important;
	margin-bottom: 14px;
}

@media (max-width: 767px) {
	.pdn-custom-theme-skeleton-img {
		height: 210px !important;
		min-height: 210px !important;
		max-height: 210px !important;
	}
}

.pdn-custom-theme-skeleton-line {
	height: 16px;
	margin-bottom: 8px;
}

.pdn-custom-theme-skeleton-title {
	width: 85%;
	height: 18px;
}

.pdn-custom-theme-skeleton-price {
	width: 55%;
	height: 16px;
	margin-top: 6px;
}

/* ==========================================================================
   5. Footer Controls (3-Segment Lines & Navigation Arrows - Matching SS 2 & 3)
   ========================================================================== */

.pdn-custom-theme-carousel-footer {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-top: 35px !important;
	padding: 0 4px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	min-height: 36px !important;
	z-index: 20 !important;
}

.pdn-custom-theme-carousel-progress {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	height: 36px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

/* Desktop: more lines than fit in one row wrap to the next row, like live (WoodMart: 150px lines,
   10px apart, rows 10px apart, new rows start on the left). One row stays exactly as before (centred);
   the 200px leaves room for the arrows on the right. */
@media (min-width: 1025px) {
	.pdn-custom-theme-carousel-progress {
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		align-content: center !important;
		row-gap: 10px !important;
		height: auto !important;
		min-height: 36px !important;
		max-width: calc(100% - 200px) !important;
	}
}

.pdn-custom-theme-carousel-segment {
	all: unset !important;
	box-sizing: border-box !important;
	position: relative !important;
	display: inline-block !important;
	width: 150px !important;
	height: 2px !important;
	min-height: 2px !important;
	max-height: 2px !important;
	background-color: #d0d0d0 !important;
	border-radius: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer !important;
	transition: background-color 0.25s ease !important;
}

/* Expanded clickable hitbox without altering the 150 x 2 dimensions */
.pdn-custom-theme-carousel-segment::before {
	content: '' !important;
	position: absolute !important;
	top: -12px !important;
	bottom: -12px !important;
	left: 0 !important;
	right: 0 !important;
	cursor: pointer !important;
}

.pdn-custom-theme-carousel-segment:hover {
	background-color: #888888 !important;
	cursor: pointer !important;
}

.pdn-custom-theme-carousel-segment.is-active {
	background-color: #616161 !important;
	cursor: pointer !important;
}

/* Base Arrow Styles (Desktop & Tablet Default) */
.pdn-custom-theme-carousel-arrows {
	position: absolute !important;
	right: 4px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	z-index: 30 !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pdn-custom-theme-carousel-arrow {
	all: unset !important;
	box-sizing: border-box !important;
	position: relative !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	max-width: 34px !important;
	max-height: 34px !important;
	border-radius: 50% !important;
	background-color: #2c2c2c !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #ffffff !important;
	cursor: pointer !important;
	transition: transform 0.2s ease, background-color 0.2s ease !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
	user-select: none !important;
	-webkit-user-select: none !important;
}

.pdn-custom-theme-carousel-arrow::before {
	content: '' !important;
	position: absolute !important;
	inset: -8px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	pointer-events: auto !important;
}

.pdn-custom-theme-carousel-arrow:hover {
	background-color: #000000 !important;
	transform: scale(1.06) !important;
	cursor: pointer !important;
}

.pdn-custom-theme-carousel-arrow:active {
	transform: scale(0.95) !important;
	cursor: pointer !important;
}

.pdn-custom-theme-carousel-arrow.is-disabled {
	background-color: #adadad !important;
	cursor: pointer !important;
}

.pdn-custom-theme-carousel-arrow.is-disabled:hover {
	background-color: #9c9c9c !important;
	transform: none !important;
	cursor: pointer !important;
}

.pdn-custom-theme-carousel-arrow svg,
.pdn-custom-theme-carousel-arrow svg * {
	display: block !important;
	width: 14px !important;
	height: 14px !important;
	stroke: #ffffff !important;
	stroke-width: 2.5 !important;
	pointer-events: none !important;
	cursor: pointer !important;
}

/* ==========================================================================
   Tablet & Mobile Shared Scrollbar Styles (≤1024px) — 1:1 Live Site Match
   ========================================================================== */
@media (max-width: 1024px) {
	/* Hide desktop arrows on mobile and tablet (WoodMart wd-off-md wd-off-sm) */
	.pdn-custom-theme-carousel-arrows,
	.pdn-custom-theme-carousel-arrows * {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Hide desktop segment lines on mobile and tablet */
	.pdn-custom-theme-carousel-segment {
		display: none !important;
	}

	.pdn-custom-theme-carousel-footer {
		position: relative !important;
		display: block !important;
		margin-top: 15px !important;
		padding: 0 15px !important;
		width: 100% !important;
		min-height: 10px !important;
		box-sizing: border-box !important;
	}

	.pdn-custom-theme-carousel-progress {
		position: relative !important;
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 3.5px !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* Scrollbar track matching WoodMart / Swiper 1:1 (Transparent by default, reveals on interaction) */
	.pdn-custom-theme-scrollbar-track,
	.pdn-custom-theme-carousel-container .wd-carousel-scrollbar,
	.pdn-custom-theme-carousel-container .swiper-scrollbar {
		position: relative !important;
		display: block !important;
		width: 100% !important;
		height: 3.5px !important;
		background-color: transparent !important;
		border-radius: 3px !important;
		margin: 0 !important;
		cursor: pointer !important;
		touch-action: none !important;
		user-select: none !important;
		-webkit-user-select: none !important;
		box-sizing: border-box !important;
		transition: background-color 0.35s ease !important;
	}

	/* Revealed background track on interaction/scroll/tap (1:1 with 2nd SS) */
	.pdn-custom-theme-scrollbar-track.is-active,
	.pdn-custom-theme-scrollbar-track:hover,
	.pdn-custom-theme-scrollbar-track:active,
	.pdn-custom-theme-carousel-container.is-scrolling .pdn-custom-theme-scrollbar-track {
		background-color: rgba(0, 0, 0, 0.08) !important;
	}

	/* 30px touch hitbox for easy finger tapping and dragging */
	.pdn-custom-theme-scrollbar-track::before,
	.pdn-custom-theme-carousel-container .wd-carousel-scrollbar::before,
	.pdn-custom-theme-carousel-container .swiper-scrollbar::before {
		content: '' !important;
		position: absolute !important;
		top: -14px !important;
		bottom: -14px !important;
		left: 0 !important;
		right: 0 !important;
		cursor: pointer !important;
	}

	/* Scrollbar thumb matching WoodMart / Swiper 1:1 */
	.pdn-custom-theme-scrollbar-thumb,
	.pdn-custom-theme-carousel-container .swiper-scrollbar-drag {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		height: 100% !important;
		min-width: 32px !important;
		background-color: #9e9e9e !important;
		background-color: rgba(0, 0, 0, 0.38) !important;
		border-radius: 3px !important;
		cursor: grab !important;
		will-change: transform !important;
		touch-action: none !important;
		pointer-events: auto !important;
		transition: background-color 0.2s ease !important;
	}

	.pdn-custom-theme-scrollbar-thumb:hover,
	.pdn-custom-theme-scrollbar-thumb:active,
	.pdn-custom-theme-carousel-container .swiper-scrollbar-drag:hover,
	.pdn-custom-theme-carousel-container .swiper-scrollbar-drag:active {
		background-color: #6e6e6e !important;
		background-color: rgba(0, 0, 0, 0.55) !important;
		cursor: grabbing !important;
	}
}

/* Hide scrollbar track on desktop */
@media (min-width: 1025px) {
	.pdn-custom-theme-scrollbar-track,
	.pdn-custom-theme-carousel-container .wd-carousel-scrollbar,
	.pdn-custom-theme-carousel-container .swiper-scrollbar {
		display: none !important;
	}
}

/* ==========================================================================
   Mobile Only Styles (≤767px) — 1:1 Live Site Match (Must be last block)
   ========================================================================== */
@media (max-width: 767px) {
	/* Container: clean margin */
	.pdn-custom-theme-carousel-container {
		margin: 20px auto 30px auto !important;
	}

	/* Header: tighter on mobile */
	.pdn-custom-theme-carousel-header {
		margin-bottom: 39px !important; /* + 6px track padding = 45px to the cards (live mobile) */
		padding: 0 4px !important;
	}

	.pdn-custom-theme-carousel-title,
	.pdn-custom-theme-carousel-title.pdn-title-populaire {
		font-size: 23px !important;
	}

	.pdn-custom-theme-carousel-title.pdn-title-populaire-deuren {
		font-size: 20px !important;
	}

	/* Viewport: let cards peek out on edges */
	.pdn-custom-theme-carousel-viewport {
		overflow: visible !important;
	}

	/* Track: smooth swipe with 15px padding aligning with scrollbar */
	.pdn-custom-theme-carousel-track {
		gap: 14px !important;
		padding: 6px 15px 16px 15px !important;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y pinch-zoom;
	}

	.pdn-custom-theme-carousel-track.is-dragging {
		scroll-snap-type: none !important;
		scroll-behavior: auto !important;
	}

	/* Product card on mobile: clean 1:1 padding & border */
	.pdn-custom-theme-product-card {
		padding: 14px 14px 18px 14px !important;
		border: 1px solid #ebebeb !important;
		border-radius: 8px !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
	}
}



/* ==========================================================================
   6. Card + image 1:1 with live WoodMart product card (v1.4.3) - MUST STAY LAST
   Live (prodeuren.nl, 1920px, card 258px wide):
   - card: 10px padding, white, 10px radius, NO border, shadow 0 0 4px rgba(0,0,0,.12)
   - image: square (1:1), full card width, object-fit contain, 50px empty space above it
     -> every door has the same size and the same position in every card
   - discount badge: 10px from top/left of the image area, 60x25, 13px/600, #d10c0c, 5px radius
   - heart: 35x35 white circle, 5px from top, 10px from right, shadow 1px 1px 1px rgba(0,0,0,.1)
   - text area: 15px padding (10px on <= 767px)
   ========================================================================== */
.pdn-custom-theme-product-card,
.pdn-custom-theme-carousel-track .pdn-custom-theme-product-card {
	padding: 10px !important;
	background: #ffffff !important;
	border: none !important;
	border-radius: 10px !important;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.12) !important;
}

.pdn-custom-theme-product-card:hover {
	border: none !important;
	transform: none !important;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.12) !important;
}

/* Image area: 50px space + square image (height follows the card width) */
.pdn-custom-theme-product-element-top {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	background: transparent !important;
}

.pdn-custom-theme-product-image-link {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	padding: 50px 0 0 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.pdn-custom-theme-product-image-link img,
.pdn-custom-theme-main-img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	object-position: center center !important;
	margin: 0 !important;
}

/* Discount badge */
.pdn-custom-theme-product-labels {
	top: 10px !important;
	left: 10px !important;
}

.pdn-custom-theme-label-discount {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 60px !important;
	height: 25px !important;
	padding: 0 8px !important;
	box-sizing: border-box !important;
	background-color: #d10c0c !important;
	color: #ffffff !important;
	font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 18.2px !important;
	letter-spacing: normal !important;
	border-radius: 5px !important;
}

/* Heart button */
.pdn-custom-theme-card-actions {
	top: 5px !important;
	right: 10px !important;
}

.pdn-custom-theme-action-btn {
	width: 35px !important;
	height: 35px !important;
	min-width: 35px !important;
	min-height: 35px !important;
	max-width: 35px !important;
	max-height: 35px !important;
	border: none !important;
	box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.1) !important;
}

/* Text area */
.pdn-custom-theme-product-element-bottom {
	padding: 15px !important;
	justify-content: flex-start !important;
}

@media (max-width: 767px) {
	.pdn-custom-theme-product-element-bottom {
		padding: 10px !important;
	}
}

/* Live: title starts 12px under the image, price ends 22px above the card bottom */
.pdn-custom-theme-product-element-bottom .pdn-custom-theme-entities-title {
	margin-top: -3px !important;
}

.pdn-custom-theme-product-element-bottom .pdn-custom-theme-price-wrap {
	margin-bottom: -3px !important;
}

/* Live: title block is exactly 2 lines (42px desktop, 34px on <= 767px) */
.pdn-custom-theme-product-element-bottom .pdn-custom-theme-entities-title {
	height: 42px !important;
	min-height: 42px !important;
}

@media (max-width: 767px) {
	.pdn-custom-theme-product-element-bottom .pdn-custom-theme-entities-title {
		height: 34px !important;
		min-height: 34px !important;
	}
}

/* ==========================================================================
   7. Hover gallery lines 1:1 with live WoodMart (.wd-product-grid-slider-pagin) (v1.4.4)
   - one line per image, together as wide as the image, 4px high, 4px gap, square ends
   - sits on the bottom edge of the image, only visible while hovering the card (0.3s fade)
   - color #242424 inverted 90% (= light grey), 20% opacity, active line 60% opacity
   - hidden on <= 1024px (live has no hover gallery on tablet / mobile)
   ========================================================================== */
.pdn-custom-theme-gallery-pagin {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	padding: 0 !important;
	margin: 0 !important;
	filter: invert(90%) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity 0.3s, visibility 0.3s !important;
	z-index: 2 !important;
}

.pdn-custom-theme-product-card:hover .pdn-custom-theme-gallery-pagin {
	opacity: 1 !important;
	visibility: visible !important;
}

.pdn-custom-theme-gallery-dot {
	flex: 1 1 0% !important;
	max-width: none !important;
	height: 4px !important;
	border-radius: 0 !important;
	background-color: #242424 !important;
	opacity: 0.2 !important;
	transition: opacity 0.25s !important;
}

.pdn-custom-theme-gallery-dot.is-active {
	background-color: #242424 !important;
	opacity: 0.6 !important;
}

@media (max-width: 1024px) {
	.pdn-custom-theme-gallery-pagin,
	.pdn-custom-theme-hover-zones {
		display: none !important;
	}
}

/* Live: the product image does NOT zoom on hover (v1.4.5) */
.pdn-custom-theme-product-card:hover .pdn-custom-theme-product-image-link img,
.pdn-custom-theme-product-card:hover .pdn-custom-theme-main-img {
	transform: none !important;
}

/* v1.5.5: nothing to scroll (all products visible) -> hide the arrows + lines, like live */
.pdn-custom-theme-carousel-container.pdn-custom-theme-carousel--no-nav .pdn-custom-theme-carousel-footer {
	display: none !important;
}
