.prw-card {
	--prw-accent: #e4572e;
	--prw-bg: #ffffff;
	--prw-text: #1f2937;
	--prw-radius: 18px;
	position: relative;
	margin: 34px 0;
	overflow: hidden;
	color: var(--prw-text);
	background: var(--prw-bg);
	border: 1px solid rgba(16, 24, 40, 0.1);
	border-radius: var(--prw-radius);
	box-shadow: 0 18px 40px -30px rgba(16, 24, 40, 0.45);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.prw-card *,
.prw-card *::before,
.prw-card *::after {
	box-sizing: border-box;
}

.prw-card__hero {
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
	gap: 24px;
	padding: 24px;
}

.prw-card--no-image .prw-card__hero {
	grid-template-columns: 1fr;
}

.prw-card__hero-image {
	min-height: 210px;
	overflow: hidden;
	border-radius: calc(var(--prw-radius) - 4px);
}

.prw-card__hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 210px;
	object-fit: cover;
}

.prw-card__hero-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.prw-card__eyebrow {
	margin-bottom: 6px;
	color: var(--prw-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.prw-card__title {
	margin: 0 0 8px;
	color: var(--prw-text);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.prw-card__summary {
	max-width: 620px;
	margin: 0 0 16px;
	color: #667085;
	font-size: 14px;
	line-height: 1.55;
}

.prw-card__actions,
.prw-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.prw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 8px 14px;
	color: var(--prw-text);
	background: #fff;
	border: 1px solid rgba(16, 24, 40, 0.16);
	border-radius: 9px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.prw-btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.prw-btn--primary {
	color: #fff;
	background: var(--prw-accent);
	border-color: var(--prw-accent);
	box-shadow: 0 10px 20px -14px var(--prw-accent);
}

.prw-btn--primary:hover {
	color: #fff;
	background: var(--prw-accent);
	filter: brightness(0.94);
}

.prw-btn--ghost {
	color: #344054;
	background: #fff;
	border-color: rgba(16, 24, 40, 0.18);
}

.prw-btn--ghost:hover {
	color: var(--prw-accent);
	border-color: var(--prw-accent);
}

.prw-btn--pinterest {
	color: #fff;
	background: #e60023;
	border-color: #e60023;
}

.prw-btn--pinterest:hover {
	color: #fff;
	background: #c9001f;
}

.prw-card__meta {
	display: flex;
	flex-wrap: wrap;
	padding: 14px 24px;
	background: #fafafa;
	border-top: 1px solid rgba(16, 24, 40, 0.08);
	border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.prw-card__meta-item {
	flex: 1 1 0;
	min-width: 78px;
	padding: 0 14px;
	text-align: center;
	border-right: 1px solid rgba(16, 24, 40, 0.08);
}

.prw-card__meta-item:last-child {
	border-right: 0;
}

.prw-card__meta-item > span {
	display: block;
	margin-bottom: 3px;
	color: #667085;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.prw-card__meta-item strong {
	color: var(--prw-text);
	font-size: 13px;
	font-weight: 750;
}

.prw-servings {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.prw-servings__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	padding: 0;
	color: var(--prw-accent);
	background: #fff;
	border: 1px solid var(--prw-accent);
	border-radius: 50%;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.prw-servings__btn:hover {
	color: #fff;
	background: var(--prw-accent);
}

.prw-servings__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.prw-servings strong {
	min-width: 16px;
	text-align: center;
}

.prw-card__body {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 30px;
	padding: 24px;
}

.prw-card__body h3 {
	margin: 0 0 12px;
	padding-bottom: 7px;
	color: var(--prw-text);
	border-bottom: 2px solid var(--prw-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.prw-ingredients {
	margin: 0;
	padding: 0;
	list-style: none;
}

.prw-ingredient {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
}

.prw-ingredient label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.prw-ingredient__check {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin: 2px 0 0;
	accent-color: var(--prw-accent);
}

.prw-ingredient.is-checked .prw-ingredient__text {
	opacity: 0.55;
	text-decoration: line-through;
}

.prw-amount {
	font-weight: 700;
}

.prw-unit {
	font-weight: 600;
}

.prw-notes {
	color: #667085;
	font-size: 12px;
}

.prw-instructions {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: prw-step;
}

.prw-instructions li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.5;
}

.prw-instructions li::before {
	counter-increment: prw-step;
	content: counter(prw-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	color: #fff;
	background: var(--prw-accent);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.prw-instructions strong {
	color: var(--prw-text);
	font-weight: 800;
}

.prw-card__notes {
	margin: 14px 0 0;
	padding: 10px 12px;
	color: #475467;
	background: #f8f9fc;
	border-left: 3px solid var(--prw-accent);
	border-radius: 0 7px 7px 0;
	font-size: 12px;
}

.prw-card__footer {
	padding: 0 24px 24px;
}

.prw-below {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 18px;
	margin: 26px 0;
	background: linear-gradient(135deg, #fff7f3, #fff);
	border: 1px solid rgba(228, 87, 46, 0.24);
	border-radius: 14px;
}

.prw-below__text strong {
	display: block;
	margin-bottom: 2px;
	color: #1f2937;
	font-size: 13px;
}

.prw-below__text span {
	display: block;
	color: #667085;
	font-size: 12px;
}

.prw-below__btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	color: #fff;
	background: #e4572e;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.prw-below__btn:hover {
	color: #fff;
	background: #c7431f;
}

.prw-pin-block {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 560px;
	padding: 14px;
	margin: 26px 0;
	background: #fff;
	border: 1px solid rgba(16, 24, 40, 0.1);
	border-radius: 14px;
	box-shadow: 0 14px 30px -28px rgba(16, 24, 40, 0.45);
}

.prw-pin-block__image {
	display: block;
	width: 150px;
	height: auto;
	border-radius: 10px;
}

.prw-pin-block .prw-btn {
	max-width: 180px;
}

@media (max-width: 760px) {
	.prw-card__hero {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 18px;
	}

	.prw-card__hero-image,
	.prw-card__hero-image img {
		min-height: 0;
		max-height: 280px;
	}

	.prw-card__body {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 18px;
	}

	.prw-card__meta {
		padding: 12px 18px;
	}

	.prw-card__meta-item {
		flex: 1 1 30%;
		margin: 4px 0;
	}

	.prw-card__footer {
		padding: 0 18px 18px;
	}

	.prw-below,
	.prw-pin-block {
		align-items: flex-start;
		flex-direction: column;
	}

	.prw-pin-block__image {
		width: 100%;
		max-width: 260px;
	}
}

@media print {
	body * {
		visibility: hidden;
	}

	.prw-card,
	.prw-card * {
		visibility: visible;
	}

	.prw-card {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		margin: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.prw-card__actions,
	.prw-card__footer,
	.prw-pin-block,
	.prw-below,
	.prw-servings__btn {
		display: none !important;
	}

	.prw-card__hero,
	.prw-card__body {
		break-inside: avoid;
	}

	.prw-card__body {
		grid-template-columns: 1fr 1fr;
	}

	.prw-card a {
		color: inherit;
		text-decoration: none;
	}
}
