.pp-gallery {
	position: relative;
	z-index: 2;
	width: min(100%, 80rem);
	margin: clamp(2rem, 5vw, 4rem) auto 0;
	padding: 0;
	color: #242c2d;
}

.pp-gallery__inner {
	width: 100%;
}

.pp-gallery__heading {
	margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
	font-family: "Bodoni Moda", Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 400;
	text-align: center;
}

.pp-gallery__carousel {
	position: relative;
	width: min(100%, var(--pp-gallery-slide-width, 100%));
	margin-inline: auto;
	transition: width .35s ease;
}

.pp-gallery__viewport {
	overflow: hidden;
	border-radius: .75rem;
	background: #f6ece0;
}

.pp-gallery__track {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	width: 100%;
	transition: transform .45s ease;
}

.pp-gallery__slide {
	min-width: 0;
}

.pp-gallery__image {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

.pp-gallery__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 1rem;
}

.pp-gallery__control {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	border: 1px solid #c4a052;
	border-radius: 50%;
	background: transparent;
	color: #242c2d;
	font: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}

.pp-gallery__control:hover,
.pp-gallery__control:focus-visible {
	background: #c4a052;
}

.pp-gallery__control:focus-visible {
	outline: 2px solid #242c2d;
	outline-offset: 3px;
}

.pp-gallery__counter {
	min-width: 4rem;
	margin: 0;
	text-align: center;
}

@media (max-width: 600px) {
	.pp-gallery {
		margin-top: 2.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pp-gallery__track {
		transition: none;
	}
}
