/*
 * Dynamic Product Module — front-end stylesheet.
 * Every rule is scoped under .dynamic-product-module so nothing leaks into
 * the active theme or Elementor's own styles. Values are ported 1:1 from
 * the static design (colors, spacing, radii, shadows, timings).
 */

.dynamic-product-module {
	--dpm-red: #A8161C;
	--dpm-red-hover: linear-gradient(83.39deg, #D71C24 0%, #630D11 99.02%) !important;
	--dpm-charcoal: #231F20;
	--dpm-charcoal-hover: #000000;
	--dpm-warm-grey: #575452;
	--dpm-light-grey: #A8A29B;
	--dpm-off-white: #F7F5F2;
	--dpm-white: #FFFFFF;
	--dpm-border: #E1DFDC;
	--dpm-ease: cubic-bezier(0.22, 1, 0.36, 1);

	width: 100%;
	overflow-x: hidden;
	background: var(--dpm-white);
	color: var(--dpm-charcoal);
	font-family: 'Poppins', 'Montserrat', sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

button{}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{background: linear-gradient(83.39deg, #D71C24 0%, #630D11 99.02%) !important; color:white; border:none;}
.dpm-share-toggle{color:white !important;}
.dpm-share-toggle svg, .dpm-share-toggle svg circle, .dpm-share-toggle svg path{stroke: white; fill:white;}

.dynamic-product-module *,
.dynamic-product-module *::before,
.dynamic-product-module *::after {
	box-sizing: border-box;
}

.dynamic-product-module a {
	color: var(--dpm-red);
	text-decoration: none;
}
.dynamic-product-module a:hover {
	color: var(--dpm-red-hover);
}
.dynamic-product-module input,
.dynamic-product-module textarea,
.dynamic-product-module button {
	font-family: inherit; background: #A8161C;     font-size: inherit !important; border-radius: 42px;
}
.dynamic-product-module input:focus,
.dynamic-product-module textarea:focus,
.dynamic-product-module button:focus-visible {
	outline: 2px solid rgba(234, 36, 43, 0.4);
	outline-offset: 2px;
}

.dpm-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

.dpm-section {
	padding: clamp(64px, 8vw, 100px) 0;
}
.dpm-hero-section {
	padding: clamp(28px, 3.5vw, 44px) 0 clamp(64px, 8vw, 100px);
	background: var(--dpm-white);
}
.dpm-app-section,
.dpm-related-section {
	background: var(--dpm-off-white);
}
.dpm-related-section {
	padding-bottom: clamp(72px, 9vw, 110px);
}
.dpm-spec-section,
.dpm-archive-section {
	background: var(--dpm-white);
}

/* Reveal-on-scroll */
.dynamic-product-module [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 720ms var(--dpm-ease), transform 720ms var(--dpm-ease);
}
.dynamic-product-module [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.dynamic-product-module [data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ---------- Breadcrumb ---------- */
.dpm-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(28px, 3.5vw, 44px);
	font-size: 12px;
	letter-spacing: 0.03em;
}
.dpm-crumb-link {
	color: var(--dpm-warm-grey);
}
.dpm-crumb-link:hover {
	color: var(--dpm-red);
}
.dpm-crumb-sep {
	opacity: 0.5;
	flex-shrink: 0;
}
.dpm-crumb-current {
	color: var(--dpm-charcoal);
	font-weight: 500;
}

/* ---------- Hero grid ---------- */
.dpm-hero-grid {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: clamp(40px, 5vw, 72px);
	align-items: start;
}

/* Gallery */
.dpm-hero-frame {
	position: relative;
	background: var(--dpm-off-white);
	border: 1px solid var(--dpm-border);
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4 / 3.4;
}
.dpm-hero-lens {
	position: absolute;
	left: 0;
	top: 0;
	width: 180px;
	height: 180px;
	border-radius: 8px;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 12px 30px -8px rgba(35, 31, 32, 0.45), inset 0 0 0 1px rgba(35, 31, 32, 0.12);
	background-repeat: no-repeat;
	background-color: var(--dpm-off-white);
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.9);
	transition: opacity 220ms ease, transform 260ms var(--dpm-ease);
	z-index: 5;
	display: none;
}
.dpm-hero-frame-inner {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.dpm-hero-main {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	cursor: zoom-in;
	transition: transform 620ms var(--dpm-ease), opacity 220ms ease;
	opacity: 1;
}
.dpm-hero-main.is-fading {
	opacity: 0;
}
.dpm-hero-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--dpm-light-grey);
	font-size: 13px;
}
.dpm-code-badge {
	position: absolute;
	left: 18px;
	top: 16px;
	z-index: 3;
	pointer-events: none;
	background: var(--dpm-red);
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 7px 12px;
	border-radius: 5px;
	/*background: linear-gradient(83.39deg, #d71c24 0%, #630D11 99.02%) !important;*/
    font-weight: bold;
}
.dpm-thumb-row {
	display: flex;
	gap: 14px;
	margin-top: 16px;
}
.dpm-thumb {
	position: relative;
	flex: 1;
	aspect-ratio: 1;
	padding: 0;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	background: var(--dpm-off-white);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--dpm-border);
	box-shadow: none;
	transition: border-color 260ms ease, box-shadow 260ms ease;
	opacity: 0.9;
}
.dpm-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dpm-thumb.is-active {
	border-color: var(--dpm-red);
	box-shadow: 0 0 0 3px rgba(234, 36, 43, 0.14);
	opacity: 1;
}

/* Hero info */
.dpm-hero-info {
	position: relative;
	padding-top: 6px;
}
.dpm-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.dpm-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dpm-red);
	
}
.dpm-brand-mark {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-shrink: 0;
}
.dpm-brand-dot {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--dpm-red);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
}
.dpm-brand-name {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	color: var(--dpm-charcoal);
}
.dpm-brand-accent {
	color: var(--dpm-red);
}

.dpm-title {
	font-size: clamp(38px, 4.6vw, 37px);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.01em;
	margin: 0 0 10px;
	color: var(--dpm-charcoal);
}
.dpm-code-line {
	font-size: 14px;
	letter-spacing: 0.04em;
	color: var(--dpm-warm-grey);
	margin-bottom: 22px;
}
.dpm-code-line span {
	color: var(--dpm-charcoal);
	font-weight: 600;
}
.dpm-short-desc {
	font-size: 16px;
	line-height: 1.72;
	color: var(--dpm-warm-grey);
	margin: 0 0 26px;
	max-width: 480px;
}
.dpm-divider {
	height: 1px;
	background: var(--dpm-border);
	margin: 0 0 24px;
}

.dpm-spec-summary-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dpm-charcoal);
	margin-bottom: 16px;
}
.dpm-spec-summary-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
	margin-bottom: 22px;
}
.dpm-spec-summary-key {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #575656;
	margin-bottom: 5px;
}
.dpm-spec-summary-value {
	font-size: 14px;
	font-weight: 500;
	color: var(--dpm-charcoal);
}

.dpm-thickness-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--dpm-off-white);
	border: 1px solid var(--dpm-border);
	border-left: 3px solid var(--dpm-red);
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 16px;
}
.dpm-thickness-label {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dpm-warm-grey);
}
.dpm-thickness-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--dpm-charcoal);
}

.dpm-catalogue-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 16px;
	padding: 2px 2px 24px;
	border-bottom: 1px solid var(--dpm-border);
	margin-bottom: 26px;
}
.dpm-catalogue-label {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #575656;
}
.dpm-catalogue-page {
	font-size: 14px;
	font-weight: 500;
	color: var(--dpm-charcoal);
}
.dpm-catalogue-qr img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border: 1px solid var(--dpm-border);
	border-radius: 4px;
	display: block;
}

.dpm-hero-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.dpm-enquire {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	background: var(--dpm-red);
	color: #fff !important;
	border: none;
	border-radius: 6px;
	padding: 17px 26px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	transition: background 260ms ease, transform 260ms ease, box-shadow 260ms ease;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.dpm-enquire:hover {
	background: var(--dpm-red-hover);
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -12px rgba(234, 36, 43, 0.5);
}

.dpm-share {
	position: relative;
}
.dpm-share-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--dpm-charcoal);
	border: 1px solid var(--dpm-border);
	border-radius: 6px;
	padding: 16px 18px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	transition: border-color 240ms ease, background 240ms ease;
}
.dpm-share-toggle:hover {
	border-color: var(--dpm-charcoal);
}
.dpm-share-popover {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 20;
	display: none;
	background: #fff;
	border: 1px solid var(--dpm-border);
	border-radius: 10px;
	box-shadow: 0 18px 40px -18px rgba(35, 31, 32, 0.35);
	padding: 8px;
	min-width: 170px;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 220ms ease, transform 260ms ease;
}
.dpm-share.is-open .dpm-share-popover {
	display: block;
	opacity: 1;
	transform: translateY(0);
}
.dpm-share-popover button {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 11px;
	background: transparent;
	border: none;
	border-radius: 6px;
	padding: 10px 12px;
	cursor: pointer;
	font-size: 13px;
	color: var(--dpm-charcoal);
	text-align: left;
	transition: background 200ms ease;
}
.dpm-share-popover button:hover {
	background: var(--dpm-off-white);
}

.dpm-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--dpm-charcoal);
	border: 1px solid var(--dpm-border);
	border-radius: 6px;
	/*padding: 16px 18px;*/
	padding: .5rem 1rem;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	transition: border-color 240ms ease;
}
.dpm-download-btn:hover {
	border-color: var(--dpm-charcoal);
}
.dpm-helper-text {
	font-size: 12px;
	color: var(--dpm-light-grey);
	margin-top: 14px;
}

/* ---------- Section header (carousels) ---------- */
.dpm-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: clamp(32px, 4vw, 48px);
}
.dpm-h2 {
	font-size: clamp(30px, 3.6vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--dpm-charcoal);
}
.dpm-h3 {
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 8px;
	color: var(--dpm-charcoal);
}
.dpm-carousel-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}
.dpm-carousel-prev,
.dpm-carousel-next {
    background: #1d1d1d !important;
    border:none !important;
	width: 46px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	transition: border-color 220ms ease, background 220ms ease; 
}
.dpm-carousel-prev {
	background: #fff;
	border: 1px solid var(--dpm-border);
}
.dpm-carousel-prev:hover {
	border-color: var(--dpm-charcoal);
}
.dpm-carousel-next {
	background: var(--dpm-charcoal);
	border: 1px solid var(--dpm-charcoal);
}
.dpm-carousel-next:hover {
	background: var(--dpm-red);
}
.dpm-carousel-prev:disabled,
.dpm-carousel-next:disabled {
	opacity: 0.35;
	cursor: default;    background: black;
}

.dpm-carousel-viewport {
	overflow: hidden;
}
.dpm-carousel-track {
	display: flex;
	gap: 24px;
	transition: transform 560ms var(--dpm-ease);
	touch-action: pan-y;
	cursor: grab;
}
.dpm-carousel-track.is-dragging {
	transition: none;
	cursor: grabbing;
	user-select: none;
}
.dpm-carousel-track img,
.dpm-carousel-track a {
	-webkit-user-drag: none;
	user-drag: none;
}

/* Area of Application slides */
.dpm-app-slide {
	flex: 0 0 calc((100% - 48px) / 3);
}
.dpm-app-frame {
	position: relative;
	border: 1px solid var(--dpm-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 4 / 3.6;
	transition: box-shadow 300ms ease;
}
.dpm-app-frame:hover {
	box-shadow: 0 20px 40px -22px rgba(35, 31, 32, 0.32);
}
.dpm-app-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dpm-app-caption {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 14px;
}
.dpm-app-rule {
	width: 20px;
	height: 1px;
	background: var(--dpm-red);
	display: inline-block;
}
.dpm-app-caption span:last-child {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--dpm-charcoal);
}

.dpm-progress {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 34px;
}
.dpm-progress-rail {
	position: relative;
	flex: 1;
	max-width: 220px;
	height: 2px;
	background: var(--dpm-border);
	border-radius: 2px;
	overflow: hidden;
}
.dpm-progress-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0%;
	background: var(--dpm-red);
	border-radius: 2px;
	transition: left 560ms var(--dpm-ease), width 560ms var(--dpm-ease);
}
.dpm-progress-count {
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--dpm-warm-grey);
}

/* ---------- Specifications ---------- */
.dpm-spec-header {
	max-width: 560px;
	margin-bottom: clamp(30px, 4vw, 44px);
}
.dpm-spec-intro {
	font-size: 15px;
	line-height: 1.7;
	color: var(--dpm-warm-grey);
	margin: 10px 0 0;
}
.dpm-spec-intro p {
	margin: 0 0 10px;
}
.dpm-spec-intro p:last-child {
	margin-bottom: 0;
}


.dpm-spec-table-wrap {
	/*border: 1px solid var(--dpm-border);*/
	border-radius: 12px;
	overflow-x: auto;
}
.dpm-spec-table-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	color: var(--dpm-warm-grey);
}
.dpm-spec-table-wrap th,
.dpm-spec-table-wrap td {
	text-align: left;
	padding: 5px 7px;
	border-top: 1px solid var(--dpm-border);
	    font-size: 12px;
}
.dpm-spec-table-wrap tr:first-child th,
.dpm-spec-table-wrap tr:first-child td {
	border-top: none;
}
.dpm-spec-table-wrap th {
	width: 42%;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--dpm-charcoal);
	background: transparent;
}
.dpm-spec-table-wrap tbody tr:nth-child(even) {
	background: var(--dpm-off-white);
}
.dpm-spec-table-wrap tr:empty,
.dpm-spec-table-wrap td:empty,
.dpm-spec-table-wrap tr:has(td:empty:only-child) {
	display: none;
}

/* Common Specifications tabs — panel reuses .dpm-spec-table-wrap directly
   for identical table styling; only the nav pills and show/hide are new. */
.dpm-common-spec-tab-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.dpm-common-spec-tab-btn {
	background: #fff;
	border: 1px solid var(--dpm-border);
	border-radius: 20px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 500; color: white !important;
	/*color: var(--dpm-warm-grey);*/
	cursor: pointer;
	transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.dpm-common-spec-tab-btn:hover {
	border-color: var(--dpm-charcoal);
	color: var(--dpm-charcoal);
}
.dpm-common-spec-tab-btn.is-active {
	background: var(--dpm-red);
	border-color: var(--dpm-red);
	color: #fff;
}
.dpm-common-spec-tab-panel {
	display: none;
}
.dpm-common-spec-tab-panel.is-active {
	display: block;
}

.dpm-spec-download {
	margin-top: 20px;
}
.dpm-spec-download a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--dpm-red);
	font-size: 14px;
	font-weight: 600;
	padding: 6px 2px;
}
.dpm-spec-download a:hover {
	color: var(--dpm-red-hover);
}

/* ---------- Related products / archive cards ---------- */
.dpm-rel-card {
	flex: 0 0 calc((100% - 48px) / 3);
	display: block;
	background: #fff;
	border: 1px solid var(--dpm-border);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transform: translateY(0);
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: transform 320ms var(--dpm-ease), box-shadow 320ms ease;
}
.dpm-rel-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 46px -24px rgba(35, 31, 32, 0.34);
}
.dpm-rel-image {
	aspect-ratio: 1.2 / 1.15;
	overflow: hidden;
	background: var(--dpm-off-white);
}
.dpm-rel-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 500ms var(--dpm-ease);
	display: block;
}
.dpm-rel-card:hover .dpm-rel-image img {
	transform: scale(1.06);
}
.dpm-rel-body {
	padding: 18px 20px 20px;
}
.dpm-rel-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--dpm-charcoal);
	margin-bottom: 3px;
}
.dpm-rel-code {
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--dpm-light-grey);
	margin-bottom: 9px;
}
.dpm-rel-category {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dpm-light-grey);
	margin-bottom: 6px;
}
.dpm-rel-desc {
	font-size: 13px;
	line-height: 1.6;
	color: var(--dpm-warm-grey);
	margin: 0 0 14px;
}
.dpm-rel-explore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--dpm-red);
	font-size: 13px;
	font-weight: 600;
}
.dpm-rel-explore svg {
	transition: transform 320ms ease;
}
.dpm-rel-card:hover .dpm-rel-explore svg {
	transform: translateX(4px);
}

/* Static archive grid (non-carousel) */
.dpm-archive-header {
	max-width: 640px;
	margin-bottom: clamp(30px, 4vw, 44px);
}
.dpm-archive-desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--dpm-warm-grey);
	margin-top: 10px;
}
.dpm-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.dpm-archive-grid .dpm-rel-card {
	flex: none;
}
.dpm-archive-pagination {
	margin-top: 40px;
}
.dpm-archive-empty {
	color: var(--dpm-warm-grey);
	font-size: 15px;
}

/* ---------- Category banner ---------- */
.dpm-category-banner {
	margin-bottom: clamp(28px, 3.5vw, 44px);
	border-radius: 12px;
	overflow: hidden;
}
.dpm-category-banner img {
	width: 100%;
	height: auto;
	display: block;
}
.dpm-category-banner a {
	display: block;
}

/* ---------- [dpm_product_carousel] shortcode ---------- */
.dpm-shortcode-carousel {
	padding: clamp(48px, 6vw, 80px) 0;
}
.dpm-pc-header {
	margin-bottom: clamp(28px, 3.5vw, 40px);
}
.dpm-pc-card {
	flex: 0 0 calc((100% - 48px) / 3);
	display: block;
	text-decoration: none;
}
.dpm-pc-image {
	position: relative;
	aspect-ratio: 1 / 1.05;
	overflow: hidden;
	border-radius: 12px;
	background: var(--dpm-off-white);
	border: 1px solid var(--dpm-border);
}
.dpm-pc-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dpm-pc-img-default {
	opacity: 1;
	transition: opacity 420ms ease;
}
.dpm-pc-img-hover {
	opacity: 0;
	transition: opacity 420ms ease;
}
.dpm-pc-card:hover .dpm-pc-img-hover {
	opacity: 1;
}
.dpm-pc-qr {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 36px;
	height: 36px;
	padding: 3px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 6px 16px -6px rgba(35, 31, 32, 0.35);
	z-index: 2;
}
.dpm-pc-qr img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.dpm-pc-body {
	padding-top: 14px;
}
.dpm-pc-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--dpm-charcoal);
	margin-bottom: 4px;
}
.dpm-pc-desc {
	font-size: 13px;
	line-height: 1.6;
	color: var(--dpm-warm-grey);
	margin: 0;
}

/* ---------- Lightbox ---------- */
.dpm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(24, 22, 22, 0.94);
	opacity: 0;
	transition: opacity 400ms ease;
}
.dpm-lightbox.is-open {
	display: flex;
	opacity: 1;
}
.dpm-lightbox-close,
.dpm-lightbox-prev,
.dpm-lightbox-next {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 50%;
	cursor: pointer;
	transition: border-color 260ms ease, background 260ms ease;
}
.dpm-lightbox-close {
	top: 22px;
	right: 24px;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.dpm-lightbox-prev,
.dpm-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: 1px solid rgba(255, 255, 255, 0.25);
}
.dpm-lightbox-prev {
	left: clamp(14px, 3vw, 34px);
}
.dpm-lightbox-next {
	right: clamp(14px, 3vw, 34px);
}
.dpm-lightbox-close:hover,
.dpm-lightbox-prev:hover,
.dpm-lightbox-next:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}
.dpm-lightbox-stage {
	position: relative;
	width: min(90vw, 900px);
	height: min(84vh, 900px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.dpm-lightbox-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 30px 90px -40px rgba(0, 0, 0, 0.8);
	display: block;
}
.dpm-lightbox-caption {
	position: absolute;
	left: 2px;
	bottom: -36px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.dpm-lightbox-counter {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dpm-red);
}
.dpm-lightbox-label {
	font-size: 11px;
	letter-spacing: 0.1em;
	color: #c8c2b8;
}

/* ---------- Enquiry modal ---------- */
.dpm-enquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.dpm-enquiry-modal.is-open {
	display: flex;
}
.dpm-enquiry-scrim {
	position: absolute;
	inset: 0;
	background: rgba(35, 31, 32, 0.5);
	backdrop-filter: blur(3px);
}
.dpm-enquiry-panel {
	position: relative;
	width: min(540px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 14px;
	padding: clamp(28px, 4vw, 44px);
	box-shadow: 0 40px 100px -40px rgba(35, 31, 32, 0.5);
	transform: translateY(18px);
	opacity: 0;
	transition: opacity 320ms ease, transform 420ms var(--dpm-ease);
}
.dpm-enquiry-modal.is-open .dpm-enquiry-panel {
	transform: translateY(0);
	opacity: 1;
}
.dpm-enquiry-close {
	    position: absolute;
    top: 14px;
    right: 20px;
    width: 34px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none !important;
    cursor: pointer;
    color: var(--dpm-warm-grey);
    color: white !important;
    border-radius: 28px !important;
}
.dpm-enquiry-close:hover {
	color: var(--dpm-charcoal); background: transparent !important;
}
.dpm-enquiry-context {
	font-size: 14px;
	line-height: 1.6;
	color: var(--dpm-warm-grey);
	margin: 0 0 18px;
}
.dpm-enquiry-error {
	color: var(--dpm-red);
	font-size: 13px;
	margin: 0 0 12px;
	min-height: 1px;
}
.dpm-form-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}
.dpm-form-grid input,
.dpm-form-grid textarea {
	width: 100%;
	background: var(--dpm-off-white);
	border: 1px solid var(--dpm-border);
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 15px;
	color: var(--dpm-charcoal);
}
.dpm-form-grid textarea {
	resize: none;
}
.dpm-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.dpm-enquiry-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	background: var(--dpm-red);
	color: #fff !important;
	border: none;
	border-radius: 6px;
	padding: 16px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: /*background 240ms ease;*/
	background: linear-gradient(83.39deg, #D71C24 0%, #630D11 99.02%) !important;
}
.dpm-enquiry-submit:hover {
	background: var(--dpm-red-hover);
}
.dpm-enquiry-submit:disabled {
	opacity: 0.7;
	cursor: default;
}

.dpm-enquiry-success {
	display: none;
	text-align: center;
	padding: 16px 0 8px;
}
.dpm-enquiry-modal.is-sent .dpm-enquiry-form-wrap {
	display: none;
}
.dpm-enquiry-modal.is-sent .dpm-enquiry-success {
	display: block;
}
.dpm-success-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--dpm-off-white);
	display: flex;
	align-items: center;
	justify-content: center;
}
.dpm-enquiry-success p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--dpm-warm-grey);
	margin: 0 auto 26px;
	max-width: 320px;
}
.dpm-enquiry-close-btn {
	background: var(--dpm-charcoal);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 13px 30px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
}
.dpm-enquiry-close-btn:hover {
	background: var(--dpm-charcoal-hover);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.dpm-wrap {
		padding: 0 28px;
	}
	.dpm-hero-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}
	.dpm-hero-info {
		padding-top: 0;
	}
	.dpm-app-slide,
	.dpm-rel-card,
	.dpm-pc-card {
		flex: 0 0 calc((100% - 24px) / 2);
	}
	.dpm-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.dpm-wrap {
		padding: 0 20px;
	}
	.dpm-app-slide,
	.dpm-rel-card,
	.dpm-pc-card {
		flex: 0 0 100%;
	}
	.dpm-archive-grid {
		grid-template-columns: 1fr;
	}
	.dpm-hero-actions {
		flex-wrap: wrap;
	}
	.dpm-hero-actions .dpm-enquire {
		width: 100%;
	}
	.dpm-thumb-row {
		gap: 10px;
	}
}

.dpm-spec-table-wrap tr:empty, .dpm-spec-table-wrap td:empty, .dpm-spec-table-wrap tr:has(td:empty:only-child){display: revert-layer !important;}

.dpm-spec-table-wrap table tr:nth-child(2) td{font-size: 15px;color: white;font-weight: bold; }
.dpm-spec-table-wrap table tr:nth-child(1) td, .dpm-spec-table-wrap table tr:nth-child(3) td{text-align: center; font-weight: bold; line-height: 15px;font-size: 15px;}
.dpm-spec-table-wrap table tr:nth-child(1), .dpm-spec-table-wrap table tr:nth-child(2){background: linear-gradient(83.39deg, #D71C24 0%, #630D11 99.02%) !important; color: white; font-size: 15px;}
.dpm-spec-table-wrap table tr:nth-child(1) td{padding: 13px 1px;}
.dpm-spec-table-wrap table tr td:nth-child(3){width: 28%;}
.dpm-spec-table-wrap table tr td{text-align: center;}

.dpm-spec-summary-item--stylogue{display:none;}
.dpm-catalogue-row{display:none;}

/* ---------- [dpm_shades] gallery shortcode ----------
   Selectors are prefixed with .dynamic-product-module so they out-rank the
   generic ".dynamic-product-module a" colour rules above (pills, cards and
   page links are all <a> elements). */
.dynamic-product-module.dpm-shades {
	padding: clamp(40px, 5vw, 72px) 0;
}
.dynamic-product-module .dpm-shades-title {
	color: #000;
	margin-bottom: 24px;
}
.dynamic-product-module .dpm-shades-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}
.dynamic-product-module .dpm-shades-pill {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--dpm-border);
	border-radius: 999px;
	background: var(--dpm-white);
	color: var(--dpm-charcoal);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.dynamic-product-module .dpm-shades-pill:hover {
	border-color: var(--dpm-charcoal);
	color: var(--dpm-charcoal);
}
.dynamic-product-module .dpm-shades-pill.is-active,
.dynamic-product-module .dpm-shades-pill.is-active:hover {
	background: var(--dpm-charcoal);
	border-color: var(--dpm-charcoal);
	color: var(--dpm-white);
}
.dynamic-product-module .dpm-shades-summary {
	min-height: 1.5em;
	margin: 18px 0 20px;
	font-size: 13px;
	color: var(--dpm-warm-grey);
}
.dynamic-product-module .dpm-shades-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	transition: opacity 200ms ease;
}
.dynamic-product-module.dpm-shades.is-loading .dpm-shades-grid {
	opacity: 0.4;
	pointer-events: none;
}
.dynamic-product-module .dpm-shade-card,
.dynamic-product-module .dpm-shade-card:hover {
	display: block;
	text-decoration: none;
	color: var(--dpm-charcoal);
}
.dynamic-product-module .dpm-shade-image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid var(--dpm-border);
	background: var(--dpm-off-white);
}
.dynamic-product-module .dpm-shade-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 520ms var(--dpm-ease);
}
.dynamic-product-module .dpm-shade-card:hover .dpm-shade-image img {
	transform: scale(1.06);
}
.dynamic-product-module .dpm-shade-name {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #000;
}
.dynamic-product-module .dpm-shade-code {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--dpm-warm-grey);
}
.dynamic-product-module .dpm-shades-empty {
	grid-column: 1 / -1;
	color: var(--dpm-warm-grey);
	font-size: 15px;
}
.dynamic-product-module .dpm-shades-pager {
	margin-top: 40px;
}
.dynamic-product-module .dpm-shades-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dynamic-product-module .dpm-shades-pagination .dpm-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--dpm-border);
	border-radius: 8px;
	background: var(--dpm-white);
	color: var(--dpm-charcoal);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.dynamic-product-module .dpm-shades-pagination a.dpm-page-link:hover {
	border-color: var(--dpm-charcoal);
	color: var(--dpm-charcoal);
}
.dynamic-product-module .dpm-shades-pagination .dpm-page-link.is-current {
	background: var(--dpm-red);
	border-color: var(--dpm-red);
	color: var(--dpm-white);
}
.dynamic-product-module .dpm-shades-pagination .dpm-page-gap {
	display: inline-flex;
	align-items: center;
	height: 40px;
	color: var(--dpm-light-grey);
}
@media (max-width: 1024px) {
	.dynamic-product-module .dpm-shades-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 640px) {
	.dynamic-product-module .dpm-shades-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.dynamic-product-module .dpm-shades-pill {
		padding: 8px 14px;
	}
}



