.wdpt-usage-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 18px;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
	margin: 0 -2px;
}

.wdpt-usage-item {
	margin: 0;
	flex: 0 0 calc( ( 100% - ( 3 * 18px ) ) / 3.5 );
	min-width: 220px;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	scroll-snap-align: start;
}

.wdpt-usage-img {
	width: 100%;
	height: auto;
	display: block;
	cursor: zoom-in;
}

.wdpt-usage-caption {
	padding: 10px 12px;
	font-size: 0.95em;
	line-height: 1.3;
}

.wdpt-usage-grid::-webkit-scrollbar {
	height: 8px;
}
.wdpt-usage-grid::-webkit-scrollbar-track {
	background: rgba( 0, 0, 0, 0.06 );
	border-radius: 4px;
}
.wdpt-usage-grid::-webkit-scrollbar-thumb {
	background: #f4c200; /* brand yellow accent */
	border-radius: 4px;
}

@media ( max-width: 640px ) {
	.wdpt-usage-item {
		flex: 0 0 78%;
	}
}

.wdpt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba( 17, 17, 17, 0.92 );
}

.wdpt-lightbox.is-open {
	display: flex;
}

.wdpt-lightbox-stage {
	position: relative;
	width: 90vw;
	height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: grab;
}

.wdpt-lightbox-stage.is-dragging {
	cursor: grabbing;
}

.wdpt-lightbox-img {
	max-width: 100%;
	max-height: 100%;
	user-select: none;
	-webkit-user-drag: none;
	transform-origin: center center;
	will-change: transform;
}

.wdpt-lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: rgba( 255, 255, 255, 0.08 );
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.wdpt-lightbox-close:hover {
	background: #f4c200;
	color: #111;
}

.wdpt-lightbox-controls {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX( -50% );
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba( 255, 255, 255, 0.08 );
	border-radius: 999px;
	padding: 6px;
}

.wdpt-lightbox-controls button {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.wdpt-lightbox-controls button:hover {
	background: #f4c200;
	color: #111;
}

.wdpt-lightbox-caption {
	position: absolute;
	top: 18px;
	left: 18px;
	right: 70px;
	color: #fff;
	font-size: 0.95em;
	opacity: 0.85;
}

.wdpt-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: rgba( 255, 255, 255, 0.08 );
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.wdpt-lightbox-nav:hover {
	background: #f4c200;
	color: #111;
}

.wdpt-lightbox-nav.wdpt-prev { left: 14px; }
.wdpt-lightbox-nav.wdpt-next { right: 14px; }

@media ( max-width: 640px ) {
	.wdpt-lightbox-stage { width: 95vw; height: 75vh; }
	.wdpt-lightbox-caption { right: 56px; font-size: 0.85em; }
}

.wdpt-instructions-intro {
	font-size: 1em;
	margin-bottom: 20px;
}

.wdpt-pdf {
	margin-bottom: 32px;
}

.wdpt-pdf-title {
	margin: 0 0 8px;
	font-size: 1.05em;
}

.wdpt-pdf-frame-wrap {
	width: 100%;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	border-radius: 12px;
	overflow: hidden;
	background: #f7f7f7;
}

.wdpt-pdf-frame {
	width: 100%;
	height: 75vh;
	min-height: 520px;
	border: 0;
	display: block;
}

.wdpt-pdf-actions {
	margin: 0 0 10px 0;
}

.wdpt-pdf-note {
	margin-top: 10px;
	opacity: 0.8;
}

.wdpt-downloads-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wdpt-download-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	border-radius: 8px;
	background: #fff;
	transition: box-shadow 0.15s ease;
}

.wdpt-download-item:hover {
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.08 );
}

.wdpt-dl-icon {
	font-size: 1.6em;
	flex-shrink: 0;
	color: #c0392b; /* PDF red icon feel */
	line-height: 1;
}

.wdpt-dl-link {
	font-weight: 600;
	text-decoration: none;
	color: inherit;
}

.wdpt-dl-link:hover {
	text-decoration: underline;
}

.wdpt-seo-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect( 0, 0, 0, 0 ) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
