.gpvd-gallery-wrap {
	position: relative;
	width: 100%;
	margin: 25px 0;
}

.gpvd-gallery {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 5px 2px 15px;
	scrollbar-width: none;
}

.gpvd-gallery::-webkit-scrollbar {
	display: none;
}

.gpvd-gallery-item {
	flex: 0 0 calc(25% - 14px);
	scroll-snap-align: start;
	overflow: hidden;
	border-radius: 10px;
}

.gpvd-gallery-item img.gpvd-image {
	width: 100%;
	height: 240px;
	display: block;
	object-fit: cover;
	transition: transform .3s ease;
}

.gpvd-gallery-item:hover img.gpvd-image {
	transform: scale(1.05);
}

.gpvd-lightbox-link {
	display: block;
	cursor: zoom-in;
}
.gpvd-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.gpvd-lightbox-image {
	max-width: 95vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.gpvd-lightbox-close {
	position: fixed;
	top: 15px;
	right: 20px;
	width: 44px;
	height: 44px;
	border: 0;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-radius: 50%;
	font-size: 30px;
	line-height: 40px;
	cursor: pointer;
	z-index: 1000000;
}
/* Flechas */
.gpvd-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;

	width: 42px;
	height: 42px;

	border: none;
	border-radius: 50%;

	background: rgba(0,0,0,.65);
	color: #fff;

	font-size: 25px;
	line-height: 42px;

	cursor: pointer;

	display: flex;
	align-items: center;
	justify-content: center;

	transition: background .2s ease;
}

.gpvd-slider-btn:hover {
	background: rgba(0,0,0,.85);
}

.gpvd-slider-prev {
	left: 10px;
}

.gpvd-slider-next {
	right: 10px;
}

/* Tablet */
@media (max-width: 980px) {

	.gpvd-gallery-item {
		flex: 0 0 calc(33.333% - 12px);
	}

}

/* Celular */
@media (max-width: 700px) {

	.gpvd-gallery {
		gap: 12px;
	}

	.gpvd-gallery-item {
		flex: 0 0 calc(50% - 6px);
	}

	.gpvd-gallery-item img.gpvd-image {
		height: 210px;
	}

	.gpvd-slider-btn {
		width: 36px;
		height: 36px;
		font-size: 20px;
	}

}

/* Celular pequeño */
@media (max-width: 450px) {

	.gpvd-gallery-item {
		flex: 0 0 85%;
	}

}