/**
 * Pet Gallery (UnifiedKM WooCommerce Pet Gallery plugin) — boutique
 * styling for the archive + single + inquiry modal.
 *
 * Tokens reuse the global theme palette and the local --dt-* tokens
 * established in single-product.css. All new components are prefixed
 * `.pg-` to avoid colliding with anything else in the codebase. The
 * inquiry modal piggybacks on `.dt-inquiry-modal` so we inherit the
 * existing pet-preview chrome and only override the gallery specifics.
 *
 * Ships:
 *   1.  Local design tokens
 *   2.  Boutique button utilities (.pg-btn, .pg-cta, .pg-action)
 *   3.  Hero (collage + petals + stats)
 *   4.  Archive header + grid + cards
 *   5.  Pagination + empty state
 *   6.  CTA banner
 *   7.  Single page (breadcrumb / identity / photo / sidebar / story / related)
 *   8.  Inquiry modal overrides (gallery flavour)
 *   9.  Motion + responsive
 */

/* =========================================================================
   1) Local design tokens
   ========================================================================= */
.pg-hero,
.pg-archive,
.pg-cta-banner,
.pg-single,
.pg-related,
.pg-inquiry-modal,
.dt-inquiry-modal.pg-inquiry-modal {
	--pg-cream: #fffaf3;
	--pg-cream-deep: #fbeede;
	--pg-paper: #fff7ed;
	--pg-ink: var(--color-primary-dark-teal, #3d5155);
	--pg-ink-soft: var(--color-primary-dark-grey, #646862);
	--pg-pink: var(--color-secondary-light-pink, #d9b2af);
	--pg-pink-deep: #c98e8a;
	--pg-peach: var(--color-primary-light-peach, #eecaaa);
	--pg-yellow: var(--color-primary-light-yellow, #f1e6b2);
	--pg-mint: var(--color-primary-light-blue-grey, #bcc9c5);
	--pg-stroke: rgba(61, 81, 85, 0.12);
	--pg-stroke-soft: rgba(61, 81, 85, 0.07);
	--pg-shadow-soft: 0 4px 22px rgba(61, 81, 85, 0.08);
	--pg-shadow-lift: 0 14px 38px rgba(61, 81, 85, 0.12);
	--pg-shadow-pop: 0 22px 60px rgba(61, 81, 85, 0.18);
	--pg-shadow-pink: 0 10px 30px rgba(217, 178, 175, 0.4);
	--pg-radius-sm: 12px;
	--pg-radius-md: 18px;
	--pg-radius-lg: 26px;
	--pg-radius-xl: 36px;
	--pg-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--pg-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
	--pg-display: 'Mollie Glaston', 'Playfair Display', serif;
	--pg-serif: 'Playfair Display', 'Georgia', serif;
	--pg-sans: var(--font-primary, 'Lato', sans-serif);
}

/* Section wrappers — give every section a soft cream tone with drift. */
.pg-archive {
	background:
		radial-gradient(1100px 540px at 0% 0%, rgba(217, 178, 175, 0.16), transparent 60%),
		radial-gradient(900px 460px at 100% 100%, rgba(238, 202, 170, 0.12), transparent 60%),
		var(--pg-cream);
	padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
	position: relative;
}

/* =========================================================================
   2) Buttons / CTAs (pg-btn / pg-cta / pg-action)
   ========================================================================= */
.pg-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.95rem 1.5rem;
	border-radius: 999px;
	font: 600 0.95rem var(--pg-sans);
	letter-spacing: 0.02em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--pg-ease), box-shadow 0.25s var(--pg-ease),
	            background-color 0.25s var(--pg-ease), color 0.25s var(--pg-ease);
	text-decoration: none;
	white-space: nowrap;
}
.pg-btn i { font-size: 1.05rem; }
.pg-btn--primary {
	background: var(--pg-ink);
	color: #fff;
	box-shadow: 0 12px 26px rgba(61, 81, 85, 0.22);
}
.pg-btn--primary:hover,
.pg-btn--primary:focus-visible {
	background: var(--pg-pink-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(201, 142, 138, 0.32);
}
.pg-btn--ghost {
	background: rgba(255, 255, 255, 0.86);
	color: var(--pg-ink);
	border-color: var(--pg-stroke);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.pg-btn--ghost:hover,
.pg-btn--ghost:focus-visible {
	background: #fff;
	color: var(--pg-ink);
	transform: translateY(-2px);
	box-shadow: var(--pg-shadow-soft);
}

/* Sidebar CTA buttons (mirror dt-cta but in pg-namespace) */
.pg-cta {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.2rem;
	border-radius: var(--pg-radius-md);
	border: 1px solid var(--pg-stroke);
	background: #fff;
	color: var(--pg-ink);
	font: 600 0.96rem var(--pg-sans);
	text-decoration: none;
	transition: transform 0.25s var(--pg-ease), box-shadow 0.25s var(--pg-ease),
	            background-color 0.25s var(--pg-ease), border-color 0.25s var(--pg-ease);
	width: 100%;
	cursor: pointer;
}
.pg-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--pg-cream-deep);
	color: var(--pg-ink);
	flex-shrink: 0;
	transition: background-color 0.25s var(--pg-ease), color 0.25s var(--pg-ease),
	            transform 0.4s var(--pg-ease-soft);
	font-size: 1.15rem;
}
.pg-cta__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	flex: 1;
	min-width: 0;
	text-align: left;
}
.pg-cta__label {
	font: 600 0.98rem var(--pg-sans);
	color: var(--pg-ink);
}
.pg-cta__sub {
	font: 400 0.78rem var(--pg-sans);
	color: var(--pg-ink-soft);
	letter-spacing: 0.02em;
}
.pg-cta__arrow {
	display: inline-flex;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--pg-cream-deep);
	color: var(--pg-ink);
	align-items: center;
	justify-content: center;
	transition: transform 0.3s var(--pg-ease), background-color 0.3s var(--pg-ease);
	flex-shrink: 0;
}
.pg-cta:hover,
.pg-cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--pg-shadow-soft);
	border-color: var(--pg-pink);
}
.pg-cta:hover .pg-cta__arrow,
.pg-cta:focus-visible .pg-cta__arrow {
	transform: translateX(4px);
	background: var(--pg-pink);
	color: #fff;
}

.pg-cta--primary {
	background: linear-gradient(135deg, var(--pg-ink) 0%, #4a6166 100%);
	color: #fff;
	border-color: transparent;
	box-shadow: var(--pg-shadow-lift);
	justify-content: center;
	font-size: 1rem;
	padding: 1.05rem 1.2rem;
}
.pg-cta--primary i {
	font-size: 1.15rem;
}
.pg-cta--primary span {
	font-family: var(--pg-sans);
}
.pg-cta--primary:hover,
.pg-cta--primary:focus-visible {
	background: linear-gradient(135deg, var(--pg-pink-deep) 0%, var(--pg-pink) 100%);
	box-shadow: var(--pg-shadow-pink);
	border-color: transparent;
	transform: translateY(-2px);
}

.pg-cta--secondary { border-color: var(--pg-stroke); }
.pg-cta--call .pg-cta__icon { background: var(--pg-mint); color: var(--pg-ink); }
.pg-cta--call:hover .pg-cta__icon { background: var(--pg-ink); color: #fff; }

.pg-cta--soft {
	background: var(--pg-cream-deep);
	border-color: transparent;
}
.pg-cta--soft:hover { background: #fff; }
.pg-cta--reserve .pg-cta__icon { background: var(--pg-pink); color: #fff; }
.pg-cta--more .pg-cta__icon { background: var(--pg-yellow); color: var(--pg-ink); }

/* CTA banner buttons (3-up grid action cards) */
.pg-action {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	padding: 1.15rem 1.25rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: var(--pg-radius-md);
	color: var(--pg-ink);
	text-decoration: none;
	transition: transform 0.3s var(--pg-ease), background 0.3s var(--pg-ease),
	            box-shadow 0.3s var(--pg-ease);
	width: 100%;
	cursor: pointer;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	font-family: var(--pg-sans);
}
.pg-action__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--pg-cream);
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
	color: var(--pg-ink);
	box-shadow: 0 6px 18px rgba(61, 81, 85, 0.1);
}
.pg-action__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	flex: 1;
	min-width: 0;
	text-align: left;
}
.pg-action__label {
	font: 700 1rem var(--pg-sans);
	color: var(--pg-ink);
}
.pg-action__sub {
	font: 400 0.82rem var(--pg-sans);
	color: var(--pg-ink-soft);
}
.pg-action__arrow {
	display: inline-flex;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pg-cream);
	color: var(--pg-ink);
	align-items: center;
	justify-content: center;
	transition: transform 0.3s var(--pg-ease), background 0.3s var(--pg-ease), color 0.3s var(--pg-ease);
	flex-shrink: 0;
}
.pg-action:hover,
.pg-action:focus-visible {
	transform: translateY(-3px);
	background: #fff;
	box-shadow: var(--pg-shadow-pop);
}
.pg-action:hover .pg-action__arrow,
.pg-action:focus-visible .pg-action__arrow {
	transform: translateX(5px);
	background: var(--pg-ink);
	color: #fff;
}
.pg-action--call .pg-action__icon { background: var(--pg-mint); }
.pg-action--inquire .pg-action__icon { background: var(--pg-pink); color: #fff; }
.pg-action--reserve .pg-action__icon { background: var(--pg-peach); color: var(--pg-ink); }

/* =========================================================================
   3) Archive hero — petals, copy, polaroid collage, stats
   ========================================================================= */
.pg-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
	background:
		radial-gradient(1300px 700px at 80% -20%, rgba(238, 202, 170, 0.45), transparent 60%),
		radial-gradient(900px 500px at 0% 110%, rgba(217, 178, 175, 0.32), transparent 60%),
		linear-gradient(180deg, var(--pg-cream) 0%, var(--pg-paper) 100%);
	border-bottom: 1px dashed rgba(61, 81, 85, 0.18);
	isolation: isolate;
}
.pg-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 12% 18%, rgba(61, 81, 85, 0.06) 1px, transparent 1.4px),
		radial-gradient(circle at 78% 42%, rgba(61, 81, 85, 0.05) 1px, transparent 1.4px),
		radial-gradient(circle at 32% 78%, rgba(61, 81, 85, 0.05) 1px, transparent 1.4px),
		radial-gradient(circle at 88% 86%, rgba(61, 81, 85, 0.06) 1px, transparent 1.4px);
	background-size: 240px 240px;
	pointer-events: none;
	z-index: 0;
	opacity: 0.7;
}
.pg-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.pg-hero__copy { max-width: 640px; }
.pg-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid var(--pg-stroke);
	color: var(--pg-ink);
	font: 700 0.78rem var(--pg-sans);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin-bottom: 1.4rem;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.pg-hero__eyebrow i { color: var(--pg-pink-deep); font-size: 0.9rem; }
.pg-hero__title {
	font-family: var(--pg-display);
	color: var(--pg-ink);
	font-size: clamp(2.6rem, 5.4vw, 4.8rem);
	line-height: 1.02;
	margin: 0 0 1.4rem;
	font-weight: 400;
	letter-spacing: -0.005em;
}
.pg-hero__title-line {
	display: block;
}
.pg-hero__title-script {
	display: inline-block;
	font-family: var(--pg-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 0.78em;
	color: var(--pg-pink-deep);
	transform: translateY(-0.06em) rotate(-2.5deg);
	margin: 0 0.15em;
	position: relative;
}
.pg-hero__title-script::after {
	content: '';
	display: block;
	width: 100%;
	height: 0.18em;
	margin-top: -0.18em;
	border-radius: 4px;
	background: linear-gradient(90deg, transparent 0%, var(--pg-pink) 20%, var(--pg-peach) 80%, transparent 100%);
	opacity: 0.7;
}
.pg-hero__lede {
	font-family: var(--pg-serif);
	font-style: italic;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	color: var(--pg-ink-soft);
	margin: 0 0 1.8rem;
	max-width: 30em;
}
.pg-hero__lede strong {
	font-style: normal;
	color: var(--pg-ink);
	font-family: var(--pg-sans);
	font-weight: 700;
}
.pg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 2.4rem;
}
.pg-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 1.2rem 1.4rem;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--pg-stroke);
	border-radius: var(--pg-radius-md);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.pg-hero__stat {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	border-right: 1px dashed var(--pg-stroke);
	padding-right: 1rem;
}
.pg-hero__stat:last-child { border-right: 0; padding-right: 0; }
.pg-hero__stat dt {
	font: 700 0.7rem var(--pg-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pg-ink-soft);
}
.pg-hero__stat dd {
	font-family: var(--pg-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--pg-ink);
	margin: 0;
	line-height: 1;
	font-weight: 400;
}

/* Polaroid collage */
.pg-hero__collage {
	position: relative;
	min-height: 420px;
	width: 100%;
	max-width: 540px;
	margin-left: auto;
	z-index: 2;
}
.pg-hero__polaroid {
	position: absolute;
	width: 220px;
	margin: 0;
	background: #fff;
	padding: 12px 12px 36px;
	box-shadow: 0 14px 35px rgba(61, 81, 85, 0.18), 0 0 0 1px rgba(61, 81, 85, 0.05);
	border-radius: 4px;
	transform-origin: center center;
	transition: transform 0.6s var(--pg-ease-soft);
	overflow: hidden;
}
.pg-hero__polaroid img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 2px;
}
.pg-hero__polaroid figcaption {
	position: absolute;
	bottom: 8px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 0.95rem;
	color: var(--pg-pink-deep);
}
.pg-hero__polaroid--a { top: 4%;  left: 4%;  transform: rotate(-7deg); width: 220px; z-index: 4; }
.pg-hero__polaroid--b { top: 8%;  right: 0;  transform: rotate(6deg);  width: 200px; z-index: 3; }
.pg-hero__polaroid--c { bottom: 6%; left: 12%; transform: rotate(4deg); width: 200px; z-index: 5; }
.pg-hero__polaroid--d { bottom: 12%; right: 8%; transform: rotate(-5deg); width: 220px; z-index: 6; }
.pg-hero__polaroid--e { top: 38%; left: 38%; transform: rotate(-2deg); width: 190px; z-index: 7; }
.pg-hero__polaroid:hover {
	transform: rotate(0deg) translateY(-6px) scale(1.04);
	z-index: 9;
}

/* Floating petal decorations */
.pg-hero__petals {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}
.pg-hero__petal {
	position: absolute;
	border-radius: 999px;
	filter: blur(0.5px);
	animation: pg-petal-drift 18s var(--pg-ease) infinite alternate;
	opacity: 0.6;
}
.pg-hero__petal--1 {
	width: 60px; height: 80px;
	background: radial-gradient(ellipse at 50% 70%, var(--pg-pink) 0%, transparent 75%);
	top: 12%; left: 4%;
	animation-duration: 22s;
}
.pg-hero__petal--2 {
	width: 90px; height: 110px;
	background: radial-gradient(ellipse at 50% 70%, var(--pg-peach) 0%, transparent 75%);
	top: 78%; left: 38%;
	animation-duration: 26s;
	animation-delay: -8s;
}
.pg-hero__petal--3 {
	width: 70px; height: 90px;
	background: radial-gradient(ellipse at 50% 70%, var(--pg-yellow) 0%, transparent 70%);
	top: 6%; right: 18%;
	animation-duration: 30s;
	animation-delay: -3s;
}
.pg-hero__petal--4 {
	width: 50px; height: 70px;
	background: radial-gradient(ellipse at 50% 70%, var(--pg-mint) 0%, transparent 70%);
	bottom: 14%; right: 6%;
	animation-duration: 24s;
	animation-delay: -14s;
}
@keyframes pg-petal-drift {
	0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
	50%  { transform: translate3d(20px, -30px, 0) rotate(35deg) scale(1.1); }
	100% { transform: translate3d(-10px, 20px, 0) rotate(-20deg) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
	.pg-hero__petal { animation: none; }
}

/* =========================================================================
   4) Archive header + grid + cards
   ========================================================================= */
.pg-archive__intro {
	max-width: 64ch;
	margin: 0 auto 3rem;
	text-align: center;
	font-family: var(--pg-serif);
	color: var(--pg-ink-soft);
	font-size: 1.05rem;
	line-height: 1.7;
}
.pg-archive__intro p { margin: 0 0 1rem; }

.pg-archive__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px dashed var(--pg-stroke);
}
.pg-archive__eyebrow {
	display: block;
	font: 700 0.78rem var(--pg-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-pink-deep);
	margin-bottom: 0.4rem;
}
.pg-archive__title {
	font-family: var(--pg-display);
	color: var(--pg-ink);
	font-size: clamp(1.9rem, 3.5vw, 2.8rem);
	line-height: 1.1;
	margin: 0;
	font-weight: 400;
}
.pg-archive__title em {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-pink-deep);
	font-size: 0.92em;
}
.pg-archive__count {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid var(--pg-stroke);
	color: var(--pg-ink);
	font: 600 0.85rem var(--pg-sans);
}

.pg-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 2.4vw, 2.4rem) clamp(1rem, 2vw, 1.75rem);
}
.pg-grid--related {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pg-card-cell { display: block; }

.pg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--pg-radius-lg);
	overflow: hidden;
	border: 1px solid var(--pg-stroke-soft);
	box-shadow: var(--pg-shadow-soft);
	transition: transform 0.45s var(--pg-ease-soft), box-shadow 0.45s var(--pg-ease-soft);
	height: 100%;
}
.pg-card:hover,
.pg-card:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--pg-shadow-pop);
}
.pg-card.is-tilt-1 { transform: rotate(0.4deg); }
.pg-card.is-tilt-2 { transform: rotate(-0.5deg); }
.pg-card:hover.is-tilt-1,
.pg-card:hover.is-tilt-2,
.pg-card:focus-within.is-tilt-1,
.pg-card:focus-within.is-tilt-2 {
	transform: translateY(-6px) rotate(0deg);
}

.pg-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: linear-gradient(135deg, var(--pg-cream-deep), #fff);
}
.pg-card__media-link {
	display: block;
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.pg-card__media-link::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(61, 81, 85, 0.55) 100%);
	opacity: 0;
	transition: opacity 0.4s var(--pg-ease);
	pointer-events: none;
}
.pg-card:hover .pg-card__media-link::after,
.pg-card:focus-within .pg-card__media-link::after { opacity: 1; }
.pg-card__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--pg-ease-soft);
}
.pg-card:hover .pg-card__photo,
.pg-card:focus-within .pg-card__photo { transform: scale(1.06); }

/* "Adopted" hand-stamped sticker */
.pg-card__stamp {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 3;
	display: inline-block;
	pointer-events: none;
	animation: pg-stamp-pop 0.55s var(--pg-ease-soft) both;
}
.pg-card__stamp-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 2px dashed var(--pg-pink-deep);
	background: rgba(255, 250, 243, 0.92);
	color: var(--pg-pink-deep);
	transform: rotate(-12deg);
	text-align: center;
	padding: 0.3rem;
	gap: 0.05rem;
	box-shadow: 0 6px 20px rgba(201, 142, 138, 0.35), inset 0 0 0 1px rgba(201, 142, 138, 0.15);
}
.pg-card__stamp-eyebrow {
	font: 700 0.55rem var(--pg-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.8;
}
.pg-card__stamp-word {
	font-family: var(--pg-display);
	font-size: 1.45rem;
	line-height: 1;
	font-weight: 400;
}
.pg-card__stamp-date {
	font: 600 0.55rem var(--pg-sans);
	letter-spacing: 0.06em;
	opacity: 0.85;
}
@keyframes pg-stamp-pop {
	0% { opacity: 0; transform: scale(0.65) rotate(-25deg); }
	60% { opacity: 1; transform: scale(1.08) rotate(-12deg); }
	100% { opacity: 1; transform: scale(1) rotate(-12deg); }
}

/* Inquire pill button — slides up on hover */
.pg-card__inquire {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	border: 0;
	background: rgba(255, 255, 255, 0.96);
	color: var(--pg-ink);
	font: 700 0.82rem var(--pg-sans);
	letter-spacing: 0.02em;
	cursor: pointer;
	transform: translateY(140%);
	opacity: 0;
	transition: transform 0.45s var(--pg-ease-soft), opacity 0.35s var(--pg-ease),
	            background 0.25s var(--pg-ease), color 0.25s var(--pg-ease);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 10px 24px rgba(61, 81, 85, 0.2);
}
.pg-card__inquire-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.pg-card:hover .pg-card__inquire,
.pg-card:focus-within .pg-card__inquire {
	transform: translateY(0);
	opacity: 1;
}
.pg-card__inquire:hover,
.pg-card__inquire:focus-visible {
	background: var(--pg-pink-deep);
	color: #fff;
}

.pg-card__body {
	padding: 1.1rem 1.2rem 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	background: #fff;
}
.pg-card__body-text { display: flex; flex-direction: column; gap: 0.2rem; }
.pg-card__name {
	font-family: var(--pg-display);
	font-size: 1.85rem;
	color: var(--pg-ink);
	margin: 0;
	line-height: 1.05;
	font-weight: 400;
}
.pg-card__name-link {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--pg-pink-deep), var(--pg-pink-deep));
	background-size: 0% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.4s var(--pg-ease);
}
.pg-card__name-link:hover,
.pg-card__name-link:focus-visible {
	background-size: 100% 1px;
	color: var(--pg-pink-deep);
}
.pg-card__breed {
	font-family: var(--pg-serif);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--pg-ink-soft);
	margin: 0;
}
.pg-card__type {
	font-family: var(--pg-sans);
	font-style: normal;
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pg-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	position: relative;
	z-index: 2;
}
.pg-card__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.32rem 0.7rem;
	border-radius: 999px;
	background: var(--pg-cream-deep);
	color: var(--pg-ink);
	font: 600 0.74rem var(--pg-sans);
	letter-spacing: 0.02em;
	border: 1px solid var(--pg-stroke-soft);
}
.pg-card__chip i { font-size: 0.85em; opacity: 0.85; }
.pg-card__chip--female {
	background: rgba(217, 178, 175, 0.32);
	color: var(--pg-pink-deep);
	border-color: transparent;
}
.pg-card__chip--male {
	background: rgba(188, 201, 197, 0.45);
	color: var(--pg-ink);
	border-color: transparent;
}
.pg-card__chip--ref {
	background: rgba(255, 255, 255, 0.86);
	color: var(--pg-ink);
}

/* =========================================================================
   5) Infinite scroll sentinel + end-of-list + empty state
   ========================================================================= */
.pg-sentinel {
	margin: 3rem auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	min-height: 80px;
	color: var(--pg-ink-soft);
	font: 600 0.85rem var(--pg-sans);
	letter-spacing: 0.04em;
	transition: opacity 0.3s var(--pg-ease);
}
.pg-sentinel[hidden] { display: none; }
.pg-sentinel__text {
	opacity: 0;
	transition: opacity 0.25s var(--pg-ease);
	font-family: var(--pg-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
	font-size: 0.95rem;
}
.pg-sentinel.is-loading .pg-sentinel__text { opacity: 1; }
.pg-sentinel.is-error .pg-sentinel__text { opacity: 1; color: var(--pg-pink-deep); }

/* Three-dot bouncing spinner — matches the boutique tone better than a
   stock circular spinner. */
.pg-sentinel__spinner {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	height: 24px;
}
.pg-sentinel__spinner > span {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pg-pink-deep);
	opacity: 0.55;
	animation: pg-dot-bounce 1.1s var(--pg-ease) infinite;
}
.pg-sentinel__spinner > span:nth-child(2) { animation-delay: 0.16s; background: var(--pg-peach); }
.pg-sentinel__spinner > span:nth-child(3) { animation-delay: 0.32s; background: var(--pg-mint); }
@keyframes pg-dot-bounce {
	0%, 80%, 100% { transform: translateY(0) scale(0.85); opacity: 0.45; }
	40%           { transform: translateY(-10px) scale(1);    opacity: 1;    }
}
.pg-sentinel.is-error .pg-sentinel__spinner { display: none; }
@media (prefers-reduced-motion: reduce) {
	.pg-sentinel__spinner > span { animation: none; opacity: 0.7; }
}

/* End-of-list reveal */
.pg-end-of-list {
	margin: 3rem auto 0;
	max-width: 540px;
	text-align: center;
	padding: 2.4rem 1.6rem 2rem;
	background: rgba(255, 255, 255, 0.86);
	border: 1px dashed var(--pg-pink);
	border-radius: var(--pg-radius-lg);
	box-shadow: var(--pg-shadow-soft);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.5s var(--pg-ease-soft), transform 0.5s var(--pg-ease-soft);
}
.pg-end-of-list[hidden] { display: none; }
.pg-end-of-list.is-revealed,
.pg-end-of-list:not([hidden]) {
	opacity: 1;
	transform: translateY(0);
}
.pg-end-of-list__icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pg-pink) 0%, var(--pg-peach) 100%);
	color: #fff;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 0.85rem;
	box-shadow: var(--pg-shadow-pink);
}
.pg-end-of-list__title {
	font-family: var(--pg-display);
	font-size: clamp(1.4rem, 2.5vw, 1.8rem);
	color: var(--pg-ink);
	margin: 0 0 0.4rem;
	font-weight: 400;
	line-height: 1.1;
}
.pg-end-of-list__sub {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-ink-soft);
	margin: 0 0 1.25rem;
	font-size: 0.97rem;
}

.pg-empty {
	max-width: 520px;
	margin: 4rem auto;
	text-align: center;
	padding: 3rem 2rem;
	background: #fff;
	border-radius: var(--pg-radius-lg);
	border: 1px dashed var(--pg-pink);
}
.pg-empty i {
	display: inline-flex;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--pg-pink);
	color: #fff;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin-bottom: 1.25rem;
}
.pg-empty h3 {
	font-family: var(--pg-display);
	font-size: 2rem;
	color: var(--pg-ink);
	margin: 0 0 0.6rem;
	font-weight: 400;
}
.pg-empty p {
	color: var(--pg-ink-soft);
	font-family: var(--pg-serif);
	font-style: italic;
	margin: 0 0 1.5rem;
}

/* =========================================================================
   6) CTA banner
   ========================================================================= */
.pg-cta-banner {
	position: relative;
	padding: clamp(3rem, 6vw, 5rem) 0;
	background:
		radial-gradient(900px 500px at 0% 0%, rgba(217, 178, 175, 0.4), transparent 60%),
		radial-gradient(900px 500px at 100% 100%, rgba(238, 202, 170, 0.4), transparent 60%),
		linear-gradient(135deg, #fdf2e7 0%, #fff7ed 100%);
	overflow: hidden;
	border-top: 1px dashed var(--pg-stroke);
}
.pg-cta-banner__petals {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	color: rgba(217, 178, 175, 0.5);
	font-size: 2.4rem;
}
.pg-cta-banner__paw {
	position: absolute;
	animation: pg-paw-drift 12s var(--pg-ease) infinite alternate;
}
.pg-cta-banner__paw--1 { top: 18%; left: 6%; }
.pg-cta-banner__paw--2 { bottom: 22%; left: 50%; animation-duration: 16s; animation-delay: -3s; }
.pg-cta-banner__paw--3 { top: 28%; right: 8%; animation-duration: 14s; animation-delay: -7s; }
@keyframes pg-paw-drift {
	0%   { transform: translateY(0) rotate(0deg); opacity: 0.55; }
	50%  { transform: translateY(-22px) rotate(15deg); opacity: 0.85; }
	100% { transform: translateY(8px) rotate(-12deg); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) { .pg-cta-banner__paw { animation: none; } }

.pg-cta-banner__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.pg-cta-banner__copy { max-width: 560px; }
.pg-cta-banner__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--pg-stroke);
	color: var(--pg-ink);
	font: 700 0.74rem var(--pg-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.pg-cta-banner__title {
	font-family: var(--pg-display);
	color: var(--pg-ink);
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.05;
	margin: 0 0 1rem;
	font-weight: 400;
}
.pg-cta-banner__title em {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-pink-deep);
	font-size: 0.92em;
}
.pg-cta-banner__lede {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-ink-soft);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}
.pg-cta-banner__actions {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.pg-cta-banner--single {
	background:
		radial-gradient(900px 500px at 0% 0%, rgba(188, 201, 197, 0.45), transparent 60%),
		radial-gradient(900px 500px at 100% 100%, rgba(241, 230, 178, 0.6), transparent 60%),
		linear-gradient(135deg, #fff8ee 0%, #fff7ed 100%);
}

/* =========================================================================
   7) Single page
   ========================================================================= */
.pg-single {
	background:
		radial-gradient(1100px 600px at 0% 0%, rgba(238, 202, 170, 0.18), transparent 60%),
		radial-gradient(900px 500px at 100% 100%, rgba(217, 178, 175, 0.18), transparent 60%),
		var(--pg-cream);
	color: var(--pg-ink);
}
.pg-single__breadcrumb-bar {
	background: rgba(255, 255, 255, 0.7);
	border-bottom: 1px dashed var(--pg-stroke);
	padding: 0.85rem 0;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.pg-single__breadcrumbs {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	font: 600 0.85rem var(--pg-sans);
	color: var(--pg-ink-soft);
}
.pg-single__breadcrumbs a {
	color: var(--pg-ink-soft);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	transition: color 0.25s var(--pg-ease);
}
.pg-single__breadcrumbs a:hover { color: var(--pg-ink); }
.pg-single__crumb-sep { color: var(--pg-stroke); }
.pg-single__crumb-current { color: var(--pg-ink); }

.pg-single__hero {
	padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.pg-single__identity {
	max-width: 70ch;
	margin: 0 auto 2.5rem;
	text-align: center;
}
.pg-single__category {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font: 700 0.8rem var(--pg-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pg-pink-deep);
	margin-bottom: 1rem;
	text-decoration: none;
	transition: color 0.25s var(--pg-ease);
}
.pg-single__category:hover { color: var(--pg-ink); }
.pg-single__name {
	font-family: var(--pg-display);
	font-size: clamp(2.6rem, 5.5vw, 4.6rem);
	color: var(--pg-ink);
	margin: 0 0 0.4rem;
	line-height: 1;
	font-weight: 400;
}
.pg-single__breed {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-ink-soft);
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	margin: 0 0 1.4rem;
}
.pg-single__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}
.pg-single__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--pg-ink);
	font: 600 0.82rem var(--pg-sans);
	letter-spacing: 0.02em;
	border: 1px solid var(--pg-stroke);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.pg-single__chip i { opacity: 0.8; font-size: 0.92em; }
.pg-single__chip.gender-female {
	background: rgba(217, 178, 175, 0.32);
	color: var(--pg-pink-deep);
	border-color: transparent;
}
.pg-single__chip.gender-male {
	background: rgba(188, 201, 197, 0.5);
	border-color: transparent;
}
.pg-single__chip--adopted {
	background: var(--pg-ink);
	color: #fff;
	border-color: transparent;
}
.pg-single__chip--adopted i { color: var(--pg-pink); opacity: 1; }

.pg-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: flex-start;
}
.pg-single__media { position: relative; }
.pg-single__photo-frame {
	position: relative;
	margin: 0;
	background: #fff;
	padding: 18px 18px 22px;
	border-radius: var(--pg-radius-md);
	box-shadow: var(--pg-shadow-pop);
	overflow: hidden;
}
.pg-single__photo-frame::before {
	content: '';
	position: absolute;
	inset: 6px;
	border-radius: calc(var(--pg-radius-md) - 6px);
	border: 1px dashed rgba(61, 81, 85, 0.18);
	pointer-events: none;
	z-index: 2;
}
.pg-single__photo-link {
	display: block;
	border-radius: calc(var(--pg-radius-md) - 8px);
	overflow: hidden;
	position: relative;
	z-index: 1;
}
.pg-single__photo {
	width: 100%;
	height: auto;
	max-height: 640px;
	object-fit: cover;
	display: block;
	aspect-ratio: 4 / 5;
	transition: transform 1.2s var(--pg-ease-soft);
}
.pg-single__photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 480px;
	background: var(--pg-cream-deep);
	color: var(--pg-pink-deep);
	font-size: 4rem;
}
.pg-single__photo-frame:hover .pg-single__photo { transform: scale(1.04); }

/* Adopted stamp on the single page (larger than the card stamp) */
.pg-single__stamp {
	position: absolute;
	top: 1.4rem;
	right: 1.4rem;
	z-index: 4;
	pointer-events: none;
	animation: pg-stamp-pop 0.6s var(--pg-ease-soft) both;
}
.pg-single__stamp-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	border: 2.5px dashed var(--pg-pink-deep);
	background: rgba(255, 250, 243, 0.95);
	color: var(--pg-pink-deep);
	transform: rotate(-12deg);
	text-align: center;
	gap: 0.05rem;
	box-shadow: 0 8px 24px rgba(201, 142, 138, 0.4), inset 0 0 0 1px rgba(201, 142, 138, 0.18);
}
.pg-single__stamp-eyebrow {
	font: 700 0.62rem var(--pg-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.8;
}
.pg-single__stamp-word {
	font-family: var(--pg-display);
	font-size: 2rem;
	line-height: 1;
}
.pg-single__stamp-date {
	font: 600 0.62rem var(--pg-sans);
	letter-spacing: 0.06em;
	opacity: 0.85;
}

/* Hearts that puff out of the corner */
.pg-single__heart-burst {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	pointer-events: none;
}
.pg-single__heart-burst i {
	color: var(--pg-pink-deep);
	font-size: 0.85rem;
	animation: pg-heart-pulse 2.6s var(--pg-ease) infinite;
	filter: drop-shadow(0 2px 6px rgba(201, 142, 138, 0.4));
}
.pg-single__heart-burst i:nth-child(1) { font-size: 1.3rem; animation-delay: 0s; }
.pg-single__heart-burst i:nth-child(2) { font-size: 0.9rem; opacity: 0.75; animation-delay: -0.6s; transform: translateX(0.4rem); }
.pg-single__heart-burst i:nth-child(3) { font-size: 0.7rem; opacity: 0.55; animation-delay: -1.2s; transform: translateX(0.9rem); }
@keyframes pg-heart-pulse {
	0%, 100% { transform: scale(1) translateY(0); opacity: var(--pg-heart-base, 1); }
	50%      { transform: scale(1.18) translateY(-2px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .pg-single__heart-burst i { animation: none; } }

.pg-single__location {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 1.2rem auto 0;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--pg-stroke);
	color: var(--pg-ink);
	font: 600 0.85rem var(--pg-sans);
}

.pg-single__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	position: sticky;
	top: 100px;
}

.pg-single__cta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.6rem;
	background: #fff;
	border-radius: var(--pg-radius-lg);
	border: 1px solid var(--pg-stroke);
	box-shadow: var(--pg-shadow-soft);
}
.pg-single__cta-header { margin-bottom: 0.4rem; }
.pg-single__cta-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font: 700 0.74rem var(--pg-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pg-pink-deep);
	margin-bottom: 0.5rem;
}
.pg-single__cta-title {
	font-family: var(--pg-display);
	font-size: clamp(1.5rem, 2.5vw, 1.95rem);
	color: var(--pg-ink);
	margin: 0 0 0.5rem;
	font-weight: 400;
	line-height: 1.05;
}
.pg-single__cta-sub {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-ink-soft);
	font-size: 0.97rem;
	margin: 0;
	line-height: 1.55;
}

.pg-single__details {
	margin: 0;
	padding: 1.5rem 1.6rem;
	background: rgba(255, 255, 255, 0.9);
	border-radius: var(--pg-radius-lg);
	border: 1px solid var(--pg-stroke);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}
.pg-single__detail {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px dashed var(--pg-stroke);
}
.pg-single__detail:last-child { border-bottom: 0; padding-bottom: 0; }
.pg-single__detail dt {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font: 600 0.86rem var(--pg-sans);
	color: var(--pg-ink-soft);
	margin: 0;
}
.pg-single__detail dt i { color: var(--pg-pink-deep); font-size: 0.95em; }
.pg-single__detail dd {
	margin: 0;
	font: 600 0.95rem var(--pg-sans);
	color: var(--pg-ink);
	text-align: right;
}
.pg-single__detail--accent dd {
	color: var(--pg-pink-deep);
	font-family: var(--pg-display);
	font-size: 1.2rem;
	font-weight: 400;
}

/* Story / description */
.pg-single__story {
	padding: clamp(2.5rem, 5vw, 4.5rem) 0;
	background: #fff;
	border-top: 1px dashed var(--pg-stroke);
	border-bottom: 1px dashed var(--pg-stroke);
}
.pg-single__story-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}
.pg-single__story-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font: 700 0.78rem var(--pg-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-pink-deep);
	margin-bottom: 0.85rem;
}
.pg-single__story-title {
	font-family: var(--pg-display);
	font-size: clamp(2rem, 3.5vw, 2.8rem);
	color: var(--pg-ink);
	margin: 0 0 1.2rem;
	font-weight: 400;
}
.pg-single__story-body {
	font-family: var(--pg-serif);
	color: var(--pg-ink-soft);
	font-size: 1.05rem;
	line-height: 1.8;
	text-align: left;
}
.pg-single__story-body p { margin: 0 0 1.2rem; }
.pg-single__story-body p:last-child { margin-bottom: 0; }
.pg-single__story-body img { max-width: 100%; border-radius: var(--pg-radius-md); }
.pg-single__story-body :is(.gallery, .addthis_toolbox) { display: none; }

/* Related */
.pg-related {
	background:
		radial-gradient(900px 500px at 100% 0%, rgba(238, 202, 170, 0.22), transparent 60%),
		radial-gradient(900px 500px at 0% 100%, rgba(188, 201, 197, 0.2), transparent 60%),
		var(--pg-cream);
	padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.pg-related__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.pg-related__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2.2rem;
	padding-bottom: 1.4rem;
	border-bottom: 1px dashed var(--pg-stroke);
}
.pg-related__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font: 700 0.78rem var(--pg-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-pink-deep);
	margin-bottom: 0.4rem;
}
.pg-related__title {
	font-family: var(--pg-display);
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	color: var(--pg-ink);
	margin: 0;
	font-weight: 400;
	line-height: 1.05;
}
.pg-related__view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--pg-ink);
	font: 700 0.85rem var(--pg-sans);
	text-decoration: none;
	padding: 0.55rem 1.05rem;
	border-radius: 999px;
	border: 1px solid var(--pg-stroke);
	background: rgba(255, 255, 255, 0.85);
	transition: background 0.25s var(--pg-ease), color 0.25s var(--pg-ease),
	            transform 0.25s var(--pg-ease);
}
.pg-related__view-all:hover,
.pg-related__view-all:focus-visible {
	background: var(--pg-ink);
	color: #fff;
	transform: translateY(-2px);
}
.pg-related .pg-grid { gap: clamp(1rem, 2vw, 1.75rem); }

/* =========================================================================
   8) Inquiry modal — base styles + gallery flavour
   -----------------------------------------------------------------------
   The base .dt-inquiry-modal / .dt-pet-preview chrome lives in
   single-product.css, but that stylesheet is only loaded on product
   pages. We re-declare what we need here so the modal looks polished
   on the gallery archive + single without pulling in single-product.css.
   ========================================================================= */

/* Modal shell */
.pg-inquiry-modal .modal-content,
.dt-inquiry-modal.pg-inquiry-modal .modal-content {
	background: var(--pg-cream);
	border: 0;
	border-radius: var(--pg-radius-lg);
	overflow: hidden;
	box-shadow: var(--pg-shadow-pop);
	position: relative;
}
.pg-inquiry-modal .btn-close,
.dt-inquiry-modal.pg-inquiry-modal .btn-close,
.pg-inquiry-modal .dt-inquiry-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 5;
	width: 36px;
	height: 36px;
	background-color: rgba(61, 81, 85, 0.08) !important;
	border-radius: 50%;
	opacity: 1;
	border: 0;
}
.pg-inquiry-modal .btn-close:hover,
.dt-inquiry-modal.pg-inquiry-modal .btn-close:hover {
	background-color: rgba(61, 81, 85, 0.18) !important;
}

/* Pet preview block (top of modal) */
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview,
.pg-inquiry-modal__preview {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	padding: 2rem 2rem 1.5rem;
	background: linear-gradient(135deg, rgba(217, 178, 175, 0.22) 0%, rgba(238, 202, 170, 0.22) 100%);
	border-bottom: 1px dashed var(--pg-stroke);
}
.pg-inquiry-modal .dt-pet-preview__photo-wrap { flex-shrink: 0; }
.pg-inquiry-modal .dt-pet-preview__photo {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	border: 4px solid #fff;
}
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__photo--placeholder.pg-inquiry-modal__placeholder,
.pg-inquiry-modal .dt-pet-preview__photo--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	color: var(--pg-pink-deep);
	font-size: 1.8rem;
}
.pg-inquiry-modal .dt-pet-preview__info { flex: 1; min-width: 0; }
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__eyebrow {
	display: block;
	font: 600 0.72rem var(--pg-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-pink-deep);
	margin-bottom: 0.3rem;
}
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__name {
	font-family: var(--pg-display);
	font-size: 2rem;
	color: var(--pg-ink);
	margin: 0 0 0.25rem;
	font-weight: 400;
	line-height: 1.05;
}
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__breed {
	font-family: var(--pg-serif);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--pg-ink-soft);
	margin: 0 0 0.4rem;
}
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__ref {
	display: inline-block;
	padding: 0.22rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	font: 600 0.78rem var(--pg-sans);
	color: var(--pg-ink);
}
.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__ref[hidden] { display: none; }

/* Body */
.pg-inquiry-modal .dt-inquiry-modal__body,
.dt-inquiry-modal.pg-inquiry-modal .dt-inquiry-modal__body {
	padding: 1.5rem 2rem 2rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	max-height: calc(100vh - 260px);
}
.pg-inquiry-modal__lede,
.dt-inquiry-modal.pg-inquiry-modal .dt-inquiry-modal__lede {
	font-family: var(--pg-serif);
	font-style: italic;
	color: var(--pg-ink-soft);
	font-size: 1rem;
	margin: 0 0 1.4rem;
}

/* Alt actions row — call / book a visit shortcuts inside the modal. */
.pg-inquiry-modal__alt-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px dashed var(--pg-stroke);
}
.pg-inquiry-modal__alt {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 1rem;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--pg-stroke);
	border-radius: var(--pg-radius-md);
	color: var(--pg-ink);
	text-decoration: none;
	transition: background 0.25s var(--pg-ease), transform 0.25s var(--pg-ease),
	            box-shadow 0.25s var(--pg-ease);
}
.pg-inquiry-modal__alt:hover,
.pg-inquiry-modal__alt:focus-visible {
	background: #fff;
	transform: translateY(-2px);
	box-shadow: var(--pg-shadow-soft);
	color: var(--pg-ink);
}
.pg-inquiry-modal__alt i {
	display: inline-flex;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pg-pink);
	color: #fff;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.pg-inquiry-modal__alt span {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}
.pg-inquiry-modal__alt strong {
	font: 700 0.92rem var(--pg-sans);
	color: var(--pg-ink);
}
.pg-inquiry-modal__alt small {
	font: 600 0.78rem var(--pg-sans);
	color: var(--pg-ink-soft);
}

/* GravityForm inside modal — soft polish so it lives in the boutique. */
.pg-inquiry-modal__form .gform_wrapper { margin: 0 !important; }
.pg-inquiry-modal__form .gfield_label,
.pg-inquiry-modal__form .gform_wrapper label {
	font: 600 0.85rem var(--pg-sans);
	color: var(--pg-ink);
	letter-spacing: 0.02em;
}
.pg-inquiry-modal__form input[type="text"],
.pg-inquiry-modal__form input[type="email"],
.pg-inquiry-modal__form input[type="tel"],
.pg-inquiry-modal__form input[type="number"],
.pg-inquiry-modal__form input[type="url"],
.pg-inquiry-modal__form select,
.pg-inquiry-modal__form textarea {
	border: 1px solid var(--pg-stroke);
	border-radius: var(--pg-radius-sm);
	padding: 0.75rem 0.9rem;
	font: 400 0.95rem var(--pg-sans);
	color: var(--pg-ink);
	background: #fff;
	transition: border-color 0.25s var(--pg-ease), box-shadow 0.25s var(--pg-ease);
	width: 100%;
}
.pg-inquiry-modal__form input:focus,
.pg-inquiry-modal__form select:focus,
.pg-inquiry-modal__form textarea:focus {
	border-color: var(--pg-pink);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(217, 178, 175, 0.25);
}
.pg-inquiry-modal__form .gform_button,
.pg-inquiry-modal__form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.95rem 1.5rem;
	border-radius: 999px;
	background: var(--pg-ink);
	color: #fff;
	border: 0;
	font: 700 0.95rem var(--pg-sans);
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.25s var(--pg-ease), transform 0.25s var(--pg-ease),
	            box-shadow 0.25s var(--pg-ease);
}
.pg-inquiry-modal__form .gform_button:hover,
.pg-inquiry-modal__form button[type="submit"]:hover {
	background: var(--pg-pink-deep);
	transform: translateY(-2px);
	box-shadow: var(--pg-shadow-pink);
}

/* =========================================================================
   9) Reduced-motion + responsive
   ========================================================================= */
@media (max-width: 1199.98px) {
	.pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pg-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.pg-hero__inner { grid-template-columns: 1fr; }
	.pg-hero__collage {
		min-height: 340px;
		max-width: 100%;
		margin: 1rem 0 0;
	}
	.pg-hero__polaroid--a { width: 180px; }
	.pg-hero__polaroid--b,
	.pg-hero__polaroid--c,
	.pg-hero__polaroid--d { width: 170px; }
	.pg-hero__polaroid--e { width: 160px; }

	.pg-cta-banner__inner { grid-template-columns: 1fr; }

	.pg-single__layout { grid-template-columns: 1fr; }
	.pg-single__sidebar { position: static; }
}
@media (max-width: 767.98px) {
	.pg-hero { padding: 2.5rem 0 2rem; }
	.pg-hero__stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 1rem;
	}
	.pg-hero__stat { padding-right: 0.6rem; }
	.pg-hero__stat dd { font-size: 1.4rem; }

	.pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0.85rem; }
	.pg-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.pg-card__stamp-inner { width: 64px; height: 64px; }
	.pg-card__stamp-word { font-size: 1.2rem; }
	.pg-card__stamp-eyebrow { font-size: 0.5rem; }
	.pg-card__stamp-date { font-size: 0.5rem; }
	.pg-card__name { font-size: 1.5rem; }
	.pg-card__inquire { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 0.55rem 0.85rem; font-size: 0.78rem; }

	.pg-archive__header { flex-direction: column; align-items: flex-start; }
	.pg-archive__count { align-self: flex-start; }

	.pg-single__hero { padding: 1.5rem 0 2rem; }
	.pg-single__photo-frame { padding: 12px 12px 16px; }
	.pg-single__stamp-inner { width: 88px; height: 88px; }
	.pg-single__stamp-word { font-size: 1.6rem; }

	.pg-end-of-list { padding: 1.8rem 1.2rem; }
	.pg-sentinel { margin-top: 2rem; }

	.dt-inquiry-modal.pg-inquiry-modal .dt-pet-preview__name { font-size: 1.6rem; }
	.pg-inquiry-modal__preview { padding: 1.5rem 1.25rem 1rem; }
}
@media (max-width: 480px) {
	.pg-hero__stats { grid-template-columns: 1fr; gap: 0.6rem; }
	.pg-hero__stat { border-right: 0; border-bottom: 1px dashed var(--pg-stroke); padding-bottom: 0.6rem; }
	.pg-hero__stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* On touch devices the inquire button can't rely on :hover — keep it visible. */
@media (hover: none) {
	.pg-card__inquire {
		transform: translateY(0);
		opacity: 1;
		background: rgba(255, 255, 255, 0.97);
	}
}
