/* ═══════════════════════════════════════════
   Pet Pricing Cards — base styles
   Colors/sizes are primarily set via Elementor's
   Style tab inline CSS. These are fallback defaults.
   ═══════════════════════════════════════════ */

/* Grid */
.ppc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 28px;
	row-gap: 28px;
}

/* ── Card ── */
.ppc-card {
	display: flex;
	flex-direction: column;
	background-color: #F5EFE6;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition-property: transform, background-color, box-shadow;
	transition-duration: 300ms;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	box-shadow: 0 8px 28px rgba(100,60,20,0.10);
}

.ppc-card:hover {
	transform: translateY(-6px);
	background-color: #EDE4D6;
}

/* ── Image wrapper ── */
.ppc-img-wrap {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
	flex-shrink: 0;
}

.ppc-img-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ppc-card:hover .ppc-img-wrap img {
	transform: scale(1.06);
}

/* ── Body (text + arrow row) ── */
.ppc-body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 28px 20px;
	flex-grow: 1;
}

.ppc-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

/* ── Title ── */
.ppc-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #2C1A0E;
	margin: 0;
	transition: color 300ms ease;
}

.ppc-card.is-inactive .ppc-title {
	color: #B8A898;
}

/* ── Price ── */
.ppc-price {
	font-size: 14px;
	font-weight: 700;
	color: #E07020;
	line-height: 1.3;
	transition: color 300ms ease;
}

.ppc-card.is-inactive .ppc-price {
	color: #C8AE98;
}

/* ── Description ── */
.ppc-desc {
	font-size: 14px;
	color: #7A6555;
	line-height: 1.6;
	margin: 4px 0 0;
}

/* ── Arrow button ── */
.ppc-arrow {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: #E87020;
	display: flex;
	align-items: center;
	justify-content: center;
	transition-property: background-color, transform;
	transition-duration: 350ms;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	align-self: flex-end;
}

.ppc-arrow svg {
	width: 16px;
	height: 16px;
	display: block;
	transition: stroke 350ms ease;
}

/* Default hover rotation (-45 deg = diagonal up-right, matching reference) */
.ppc-card:hover .ppc-arrow {
	background-color: #C05010;
	transform: rotate(-45deg);
}

/* Inactive card arrow */
.ppc-card.is-inactive .ppc-arrow {
	background-color: #D4C4B4;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
	.ppc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ppc-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.ppc-img-wrap {
		height: 200px;
	}
	.ppc-title {
		font-size: 20px;
	}
	.ppc-body {
		padding: 16px 16px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ppc-card,
	.ppc-img-wrap img,
	.ppc-arrow,
	.ppc-title,
	.ppc-price {
		transition: none !important;
	}
}
