/* Product page (single-download.php). Everything is scoped under .pp. */

.pp {
	--pp-ink: var(--v2-ink, #1A1230);
	--pp-ink-2: var(--v2-ink-2, #2E2A4A);
	--pp-soft: var(--v2-ink-soft, #595478);
	--pp-mute: #6E6990;
	--pp-cream: var(--v2-cream, #FBF8F2);
	--pp-cream-2: var(--v2-cream-2, #F4EEE2);
	--pp-paper: #FFFFFF;
	--pp-line: var(--v2-line, #ECE5F4);
	--pp-line-2: var(--v2-line-strong, #D8CDE8);
	--pp-action: var(--v2-violet-deep, #4B3A82);
	--pp-action-hover: var(--v2-violet-darker, #2E2253);
	--pp-wash: var(--v2-violet-wash, #F6F1FF);
	--pp-check: var(--v2-mint, #2F9C72);
	--pp-pro-ink: #6B4E12;
	--pp-pro-bg: var(--v2-amber-soft, #FBF1DC);
	--pp-display: var(--v2-display, 'Fraunces', Georgia, serif);
	--pp-body: var(--v2-body, 'Plus Jakarta Sans', system-ui, sans-serif);
	--pp-radius: 14px;
	--pp-gap: clamp(32px, 5vw, 64px);

	background: var(--pp-cream);
	color: var(--pp-ink);
	font-family: var(--pp-body);
	font-size: 1rem;
	line-height: 1.6;
	padding-bottom: 24px;
}

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

.pp a { color: var(--pp-action); text-underline-offset: .2em; }
.pp a:hover { color: var(--pp-action-hover); }
.pp :focus-visible { outline: 3px solid var(--pp-action); outline-offset: 2px; border-radius: 6px; }

/* Same width and gutters as .main-header so everything lines up with the logo. */
.pp-wrap,
#main-content.pp .pp-wrap { /* beats style-v2's "#main-content > * { max-width: 100% }" */
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: clamp(16px, 4vw, 24px);
}

/* ---- Breadcrumbs ------------------------------------------------------ */
.pp-crumbs { padding: 20px 0 0; font-size: .875rem; }
.pp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.pp-crumbs li { color: var(--pp-mute); }
.pp-crumbs li + li::before { content: "/"; margin: 0 .55em; color: var(--pp-line-2); }
.pp-crumbs a { color: var(--pp-soft); text-decoration: none; }
.pp-crumbs a:hover { color: var(--pp-action); text-decoration: underline; }
.pp-crumbs [aria-current] { color: var(--pp-ink); }

/* ---- Hero ------------------------------------------------------------- */
.pp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	gap: var(--pp-gap);
	align-items: start;
	padding: 36px 0 56px;
}

.pp-kind { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pp-kind__icon {
	width: 56px; height: 56px;
	border-radius: 14px;
	object-fit: cover;
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
}
.pp-kind__label { font-size: .9375rem; font-weight: 600; color: var(--pp-soft); }
.pp-kind__label.is-pro {
	color: var(--pp-pro-ink);
	background: var(--pp-pro-bg);
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .875rem;
}

.pp-title {
	font-family: var(--pp-display);
	font-weight: 500;
	font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.4rem);
	line-height: 1.04;
	letter-spacing: -.025em;
	font-variation-settings: "opsz" 120, "SOFT" 30;
	color: var(--pp-ink);
	margin: 0 0 20px;
	max-width: 22ch;
	text-wrap: balance;
}

.pp-lead {
	font-size: 1.1875rem;
	line-height: 1.55;
	color: var(--pp-ink-2);
	max-width: 58ch;
}
.pp-lead p { margin: 0 0 .6em; }
/* Taglines arrive with scattered <strong>; keep the lead calm and even. */
.pp-lead strong { font-weight: inherit; color: inherit; }
.pp-lead p:first-child { color: var(--pp-ink); }
.pp-lead code, .pp-prose code, .pp-steps code, .pp-faq code {
	font-family: var(--v2-mono, ui-monospace, monospace);
	font-size: .85em;
	background: var(--pp-cream-2);
	color: var(--pp-ink);
	padding: .1em .4em;
	border-radius: 5px;
	white-space: nowrap;
}

.pp-outcomes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; max-width: 58ch; }

.pp-outcomes li,
.pp-checks li {
	position: relative;
	padding-left: 30px;
}
.pp-outcomes li::before,
.pp-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: .2em;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--pp-check);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.7 7.3-5.5 6a1 1 0 0 1-1.5 0l-2.4-2.6a1 1 0 1 1 1.5-1.4l1.6 1.8 4.8-5.2a1 1 0 0 1 1.5 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.7 7.3-5.5 6a1 1 0 0 1-1.5 0l-2.4-2.6a1 1 0 1 1 1.5-1.4l1.6 1.8 4.8-5.2a1 1 0 0 1 1.5 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pp-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 32px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--pp-line);
	max-width: 58ch;
}
.pp-facts div { margin: 0; }
.pp-facts dt { font-size: .8125rem; font-weight: 500; color: var(--pp-mute); margin: 0; }
.pp-facts dd { margin: 0; font-weight: 600; color: var(--pp-ink); }

/* ---- Purchase panel (the one bold element on the page) ----------------- */
.pp-buy {
	position: sticky;
	top: calc(var(--pp-top, 0px) + 24px);
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
	border-radius: 18px;
	padding: 28px;
	box-shadow: var(--v2-shadow-2, 0 10px 24px -8px rgba(28, 18, 48, .10));
}

.pp-buy__title {
	font-family: var(--pp-body);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 16px;
	color: var(--pp-ink);
}
.pp-buy__period { font-size: 1rem; font-weight: 500; color: var(--pp-soft); }
.pp-buy__sub { color: var(--pp-soft); margin: -8px 0 20px; }

.pp-plans fieldset { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }

.pp-plan {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--pp-line-2);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.pp-plan:hover { border-color: var(--pp-action); }
.pp-plan input {
	accent-color: var(--pp-action);
	width: 18px; height: 18px;
	margin: 3px 0 0;
	flex: none;
}
.pp-plan:has(input:checked) {
	border-color: var(--pp-action);
	background: var(--pp-wash);
	box-shadow: inset 0 0 0 1px var(--pp-action);
}
.pp-plan:has(input:focus-visible) { outline: 3px solid var(--pp-action); outline-offset: 2px; }
.pp-plan__body { flex: 1; min-width: 0; }
.pp-plan__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pp-plan__name { font-weight: 600; color: var(--pp-ink); }
.pp-plan__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-plan__price strong { font-size: 1.25rem; font-weight: 700; color: var(--pp-ink); }
.pp-plan__price span { font-size: .875rem; color: var(--pp-soft); margin-left: 2px; }
.pp-plan__note { display: block; font-size: .875rem; line-height: 1.45; color: var(--pp-soft); margin-top: 4px; }

.pp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 12px 20px;
	border: 0;
	border-radius: 12px;
	background: var(--pp-action);
	color: #FFFFFF !important;
	font: 600 1.0625rem/1.2 var(--pp-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease;
}
.pp-btn:hover { background: var(--pp-action-hover); }
.pp-btn--quiet {
	width: auto;
	min-height: 44px;
	display: inline-flex;
	background: transparent;
	color: var(--pp-action) !important;
	box-shadow: inset 0 0 0 1.5px var(--pp-action);
	margin-top: 20px;
}
.pp-btn--quiet:hover { background: var(--pp-wash); }

.pp-buy__facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: .875rem; color: var(--pp-soft); }
.pp-buy__facts li { padding-left: 16px; position: relative; }
.pp-buy__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--pp-line-2); }
.pp-buy__note { margin: 14px 0 0; font-size: .9375rem; text-align: center; }
.pp-buy__upgrade { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pp-line); font-size: .9375rem; color: var(--pp-soft); }
.pp-buy__upgrade p { margin: 0 0 8px; }
.pp-buy__help { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--pp-line); font-size: .9375rem; text-align: center; }
.pp-link { font-weight: 600; }

/* ---- Section nav -------------------------------------------------------- */
.pp-sectnav {
	position: sticky;
	top: var(--pp-top, 0px);
	z-index: 20;
	background: color-mix(in srgb, var(--pp-cream) 92%, transparent);
	backdrop-filter: blur(8px);
	border-block: 1px solid var(--pp-line);
}
.pp-sectnav ul {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.pp-sectnav ul::-webkit-scrollbar { display: none; }
.pp-sectnav a {
	display: block;
	padding: 14px 12px;
	white-space: nowrap;
	font-size: .9375rem;
	font-weight: 500;
	color: var(--pp-soft);
	text-decoration: none;
}
.pp-sectnav li:first-child a { padding-left: 0; }
.pp-sectnav a:hover { color: var(--pp-ink); }

/* ---- Sections ------------------------------------------------------------ */
.pp-section { padding: 72px 0; scroll-margin-top: calc(var(--pp-top, 0px) + 56px); }
/* Bands alternate white / cream in whatever order the product's sections render. */
.pp-body > .pp-section:nth-of-type(odd) { background: var(--pp-paper); }
.pp-body > .pp-section:nth-of-type(even) { background: var(--pp-cream); }
.pp-body > .pp-section.pp-section--contact { background: var(--pp-wash); border-top: 1px solid var(--pp-line); }
.pp-anchor { scroll-margin-top: calc(var(--pp-top, 0px) + 72px); }

.pp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: var(--pp-gap); align-items: start; }
.pp-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-h3 { font-family: var(--pp-body); font-size: 1.0625rem; font-weight: 700; margin: 0 0 16px; color: var(--pp-ink); }
.pp-specs { padding: 24px; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); background: var(--pp-cream); }
.pp-h2 {
	font-family: var(--pp-display);
	font-weight: 500;
	font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0 0 24px;
	color: var(--pp-ink);
}
.pp-section__intro { color: var(--pp-soft); max-width: 62ch; margin: -8px 0 24px; }
.pp-section__after { margin: 24px 0 0; color: var(--pp-soft); }
.pp-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.pp-section__head .pp-h2 { margin: 0; }

/* Screenshots */
.pp-shots { display: grid; grid-template-columns: repeat(var(--pp-shot-cols, 3), minmax(0, 1fr)); gap: 20px; }
.pp-shot { margin: 0; }
.pp-shot a { display: block; border-radius: var(--pp-radius); }
.pp-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: contain;
	padding: 10px;
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
	border-radius: var(--pp-radius);
	box-shadow: 0 1px 2px rgba(28, 18, 48, .05), 0 8px 20px -12px rgba(28, 18, 48, .18);
	transition: border-color .15s ease;
}
.pp-shot a:hover img { border-color: var(--pp-line-2); }
.pp-shot.is-lead { grid-column: 1 / -1; }
.pp-shots.is-stacked { grid-template-columns: minmax(0, 1fr); }
.pp-shots.is-stacked .pp-shot img { aspect-ratio: auto; padding: 0; }
.pp-shot.is-lead img { aspect-ratio: auto; padding: 0; max-height: 560px; object-fit: contain; object-position: top center; }
.pp-shot figcaption { margin-top: 10px; font-size: .9375rem; color: var(--pp-soft); }

/* Feature checklists */
.pp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pp-checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; max-width: 980px; }

.pp-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pp-compare__col { padding: 28px; border-radius: 18px; border: 1px solid var(--pp-line); }
.pp-compare__col { background: transparent; border-color: var(--pp-line-2); }
.pp-compare__col.is-pro { background: var(--pp-wash); border-color: var(--v2-violet-soft, #EDE6FB); }
.pp-compare__col h3 { font-family: var(--pp-body); font-size: 1.125rem; font-weight: 700; margin: 0 0 16px; }
.pp-compare__lead { color: var(--pp-soft); margin: -8px 0 16px; }

/* Prose */
.pp-prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.7; color: var(--pp-ink-2); }
.pp-prose p { margin: 0 0 1em; }
.pp-prose strong { color: var(--pp-ink); font-weight: 600; }
.pp-prose > :last-child { margin-bottom: 0; }

/* Details list */
.pp-spec-list { margin: 0; }
.pp-spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--pp-line); }
.pp-spec-list div:first-child { border-top: 0; padding-top: 0; }
.pp-spec-list dt { font-size: .9375rem; color: var(--pp-soft); font-weight: 400; }
.pp-spec-list dd { margin: 0; font-weight: 600; text-align: right; }

/* FAQ */
.pp-faq { max-width: 820px; border-top: 1px solid var(--pp-line); }
.pp-faq details { border-bottom: 1px solid var(--pp-line); }
.pp-faq summary,
.pp-older summary,
.pp-review-form summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 18px 40px 18px 0;
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--pp-ink);
}
.pp-faq summary::-webkit-details-marker,
.pp-older summary::-webkit-details-marker,
.pp-review-form summary::-webkit-details-marker { display: none; }
.pp-faq summary::after,
.pp-older summary::after,
.pp-review-form summary::after {
	content: "";
	position: absolute;
	right: 6px; top: 50%;
	width: 10px; height: 10px;
	border-right: 2px solid var(--pp-soft);
	border-bottom: 2px solid var(--pp-soft);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}
.pp-faq details[open] summary::after,
.pp-older[open] summary::after,
.pp-review-form[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.pp-faq summary:hover { color: var(--pp-action); }
.pp-faq .pp-prose { padding: 0 0 20px; font-size: 1rem; }

/* Installation */
.pp-steps { max-width: 68ch; margin: 0; padding-left: 1.4em; display: grid; gap: 12px; font-size: 1.0625rem; }
.pp-steps li { padding-left: .4em; }
.pp-steps li::marker { color: var(--pp-action); font-weight: 700; }

/* Changelog */
.pp-release { max-width: 68ch; padding: 0 0 24px; }
.pp-release h3 { font-family: var(--pp-body); font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--pp-ink); }
.pp-release h3::before { content: "Version "; font-weight: 500; color: var(--pp-mute); }
.pp-release ul { margin: 0; padding-left: 1.2em; color: var(--pp-ink-2); }
.pp-release li + li { margin-top: 4px; }
.pp-older { max-width: 68ch; border-top: 1px solid var(--pp-line); }
.pp-older summary { font-size: 1rem; color: var(--pp-action); }
.pp-older .pp-release:first-of-type { padding-top: 8px; }

/* Reviews */
.pp-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-bottom: 24px; }
.pp-review { margin: 0; padding: 20px 24px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: var(--pp-radius); }
.pp-review p { margin: 0 0 12px; }
.pp-review__stars { color: #B07A12; letter-spacing: .1em; }
.pp-review .pp-review__by { font-size: .875rem; color: var(--pp-mute); margin: 0; }
.pp-review-form { max-width: 640px; border-top: 1px solid var(--pp-line); border-bottom: 1px solid var(--pp-line); }
.pp-review-form summary { color: var(--pp-action); }
.pp-review-form .comment-respond { padding-bottom: 24px; }
.pp-form-note { color: var(--pp-soft); font-size: .9375rem; }
.pp-field { margin: 0 0 16px; }
.pp-field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }

.pp-field input,
.pp-field select,
.pp-field textarea,
.pp-contact .wpcf7 input[type="text"],
.pp-contact .wpcf7 input[type="email"],
.pp-contact .wpcf7 select,
.pp-contact .wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	color: var(--pp-ink);
	background: var(--pp-paper);
	border: 1px solid var(--pp-line-2);
	border-radius: 10px;
	box-shadow: none;
}
.pp-field input:focus,
.pp-field select:focus,
.pp-field textarea:focus,
.pp-contact .wpcf7 :is(input, select, textarea):focus {
	outline: 3px solid color-mix(in srgb, var(--pp-action) 30%, transparent);
	border-color: var(--pp-action);
}
.pp-review-form .form-submit { margin: 0; }
.pp-review-form .form-submit .pp-btn { width: auto; display: inline-flex; padding-inline: 28px; }

/* Guides */
.pp-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.pp-guides li { padding: 18px 0; border-top: 1px solid var(--pp-line); }
.pp-guides a { font-weight: 600; font-size: 1.0625rem; text-decoration: none; color: var(--pp-ink); }
.pp-guides a:hover { color: var(--pp-action); text-decoration: underline; }
.pp-guides p { margin: 4px 0 0; color: var(--pp-soft); font-size: .9375rem; }

/* Contact */
.pp-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--pp-gap); align-items: start; }
.pp-contact__intro p { color: var(--pp-soft); max-width: 40ch; }
.pp-contact__form { background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 18px; padding: 28px; }
.pp-contact .wpcf7 p { margin: 0 0 16px; }
.pp-contact .wpcf7 label { display: block; font-weight: 600; font-size: .9375rem; }
.pp-contact .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.pp-contact .wpcf7 .wpcf7-acceptance label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.pp-contact .wpcf7 input[type="checkbox"] { accent-color: var(--pp-action); width: 18px; height: 18px; margin-top: 3px; }
.pp-contact .wpcf7 input[type="submit"] {
	width: auto;
	min-height: 48px;
	padding: 12px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--pp-action);
	color: #FFFFFF;
	font: 600 1rem var(--pp-body);
	cursor: pointer;
}
.pp-contact .wpcf7 input[type="submit"]:hover { background: var(--pp-action-hover); }

/* Live demo */
.pp-demo { padding: 24px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 18px; }

/* ---- Mobile bar ------------------------------------------------------------ */
.pp-mbar { display: none; }

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 991.98px) {
	.pp-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
	.pp-buy { position: static; }
	.pp-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pp-compare,
	.pp-contact,
	.pp-split,
	.pp-split--even { grid-template-columns: minmax(0, 1fr); }
	.pp-section { padding: 52px 0; }

	.pp { padding-bottom: 84px; }
	.pp-mbar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 50;
		padding: 12px clamp(16px, 4vw, 24px) calc(12px + env(safe-area-inset-bottom));
		background: var(--pp-paper);
		border-top: 1px solid var(--pp-line);
		box-shadow: 0 -8px 24px -12px rgba(28, 18, 48, .18);
	}
	.pp-mbar__price { font-weight: 700; white-space: nowrap; }
	/* Keep iubenda's floating consent button from covering the bar's button. */
	body:has(.pp-mbar) .iubenda-tp-btn { bottom: 88px !important; }
	.pp-mbar .pp-btn { width: auto; min-height: 46px; padding-inline: 22px; font-size: 1rem; }
}

@media (max-width: 599.98px) {
	.pp-shots,
	.pp-guides,
	.pp-checks--cols { grid-template-columns: minmax(0, 1fr); }
	.pp-buy,
	.pp-compare__col,
	.pp-contact__form { padding: 20px; }
	.pp-lead { font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
	.pp * { transition: none !important; }
	html:has(.pp) { scroll-behavior: auto; }
}

html:has(.pp) { scroll-behavior: smooth; }

/* =========================================================================
   Plugin card (homepage + catalog)
   ========================================================================= */
.pc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 20px;
}
.pc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
	border-radius: 18px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.pc:hover { border-color: var(--pp-line-2); box-shadow: 0 1px 2px rgba(28, 18, 48, .05), 0 14px 30px -18px rgba(28, 18, 48, .28); }
.pc:focus-within { outline: 3px solid var(--pp-action); outline-offset: 2px; }
.pc__head { display: flex; gap: 14px; align-items: center; }
.pc__icon { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid var(--pp-line); flex: none; background: var(--pp-cream); }
.pc__name { font-family: var(--pp-body); font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.pc__name a { color: var(--pp-ink); text-decoration: none; }
.pc__name a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; } /* whole card is the link */
.pc__name a:focus-visible { outline: none; }
.pc__tier { margin: 2px 0 0; font-size: .875rem; color: var(--pp-soft); display: flex; gap: 8px; align-items: center; }
.pc__new { font-size: .75rem; font-weight: 600; color: var(--pp-action); background: var(--pp-wash); padding: 1px 8px; border-radius: 999px; }
.pc__desc { margin: 0; color: var(--pp-ink-2); font-size: .9375rem; line-height: 1.55; flex: 1; }
.pc__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--pp-line); }
.pc__price { font-weight: 700; color: var(--pp-ink); font-variant-numeric: tabular-nums; }
.pc__price.is-free { color: #1F6E4F; }
.pc__more { font-size: .9375rem; font-weight: 600; color: var(--pp-action); }
.pc:hover .pc__more { text-decoration: underline; text-underline-offset: .2em; }

/* =========================================================================
   Homepage
   ========================================================================= */
.hm-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px); }
.hm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--pp-gap); align-items: center; }
.hm-title {
	font-family: var(--pp-display);
	font-weight: 500;
	font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem);
	line-height: 1.02;
	letter-spacing: -.03em;
	font-variation-settings: "opsz" 144, "SOFT" 30;
	color: var(--pp-ink);
	margin: 0 0 24px;
	max-width: 15ch;
	text-wrap: balance;
}
.hm-lead { font-size: 1.1875rem; line-height: 1.55; color: var(--pp-ink-2); max-width: 54ch; margin: 0; }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hm-btn { width: auto; padding-inline: 28px; }

.hm-feature {
	display: flex;
	flex-direction: column;
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
	border-radius: 22px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--v2-shadow-3, 0 22px 48px -16px rgba(28, 18, 48, .18));
	transition: transform .2s ease, box-shadow .2s ease;
}
.hm-feature:hover { transform: translateY(-2px); color: inherit; }
.hm-feature__shot { display: block; background: var(--pp-cream-2); padding: 18px 18px 0; border-bottom: 1px solid var(--pp-line); }
.hm-feature__shot img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: top left; border-radius: 10px 10px 0 0; border: 1px solid var(--pp-line); border-bottom: 0; }
.hm-feature__body { display: grid; gap: 6px; padding: 22px 24px 24px; }
.hm-feature__label { font-size: .8125rem; font-weight: 600; color: var(--pp-pro-ink); }
.hm-feature__name { font-size: 1.25rem; font-weight: 700; color: var(--pp-ink); letter-spacing: -.01em; }
.hm-feature__desc { color: var(--pp-soft); }
.hm-feature__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--pp-line); }
.hm-feature__more { color: var(--pp-action); font-weight: 600; }

.hm-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hm-guides li { padding-top: 20px; border-top: 2px solid var(--pp-ink); }
.hm-guides time { font-size: .875rem; color: var(--pp-mute); }
.hm-guides h3 { font-family: var(--pp-display); font-weight: 500; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.015em; margin: 6px 0 10px; }
.hm-guides h3 a { color: var(--pp-ink); text-decoration: none; }
.hm-guides h3 a:hover { color: var(--pp-action); text-decoration: underline; }
.hm-guides p { margin: 0; color: var(--pp-soft); font-size: .9375rem; }

.hm-offers { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; max-width: 46ch; }
.hm-offers li { padding-left: 18px; border-left: 2px solid var(--pp-line-2); color: var(--pp-soft); }
.hm-offers strong { display: block; color: var(--pp-ink); }

/* =========================================================================
   Catalog (All / Free / PRO plugins)
   ========================================================================= */
.ct-head { padding: clamp(36px, 5vw, 72px) 0 40px; }
.ct-title { max-width: none; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); }
.ct-tabs { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 12px; }
.ct-tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--pp-soft); text-decoration: none; }
.ct-tabs a span { font-size: .8125rem; color: var(--pp-mute); font-variant-numeric: tabular-nums; }
.ct-tabs a:hover { color: var(--pp-ink); background: var(--pp-cream); }
.ct-tabs a[aria-current] { background: var(--pp-action); color: #FFFFFF; }
.ct-tabs a[aria-current] span { color: rgba(255, 255, 255, .75); }
.ct-list { padding-top: 48px; }
.ct-pages ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0; }
.ct-pages a, .ct-pages span { display: inline-flex; padding: 0 12px; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--pp-line); text-decoration: none; }
.ct-pages .current { background: var(--pp-action); color: #FFFFFF; border-color: var(--pp-action); }
.ct-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 0 40px; }
.ct-topics li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--pp-line); }
.ct-topics a { font-weight: 600; color: var(--pp-ink); text-decoration: none; }
.ct-topics a:hover { color: var(--pp-action); text-decoration: underline; }
.ct-topics span { font-size: .875rem; color: var(--pp-mute); white-space: nowrap; }

@media (max-width: 991.98px) {
	.hm-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hm-guides { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.pp-home, .pp-catalog { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.hm-feature:hover { transform: none; }
}

/* =========================================================================
   Guide article
   ========================================================================= */
.ar-head { padding: 8px 0 48px; background: var(--pp-paper); border-bottom: 1px solid var(--pp-line); }
.ar-head .pp-crumbs { padding-bottom: 28px; }
.ar-title {
	font-family: var(--pp-display);
	font-weight: 500;
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
	line-height: 1.06;
	letter-spacing: -.028em;
	font-variation-settings: "opsz" 144, "SOFT" 30;
	color: var(--pp-ink);
	margin: 0 0 20px;
	max-width: 22ch;
	text-wrap: balance;
}
.ar-lede { font-size: 1.25rem; line-height: 1.55; color: var(--pp-ink-2); max-width: 60ch; margin: 0; }
.ar-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; font-size: .9375rem; color: var(--pp-mute); }
.ar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.ar-cta { width: auto; display: inline-flex; padding-inline: 26px; }

.ar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
	padding-top: 56px;
	padding-bottom: 80px;
}
.ar-body { min-width: 0; max-width: 720px; }

.ar-side { position: sticky; top: calc(var(--pp-top, 96px) + 24px); }
.ar-side__title { font-size: .875rem; font-weight: 600; color: var(--pp-mute); margin: 0 0 10px; }
.ar-toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--pp-line-2); }
.ar-toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9375rem; line-height: 1.4; color: var(--pp-soft); text-decoration: none; }
.ar-toc li.is-sub a { padding-left: 30px; font-size: .875rem; }
.ar-toc li a:hover { color: var(--pp-ink); border-left-color: var(--pp-line-2); }
.ar-toc li a.is-active { color: var(--pp-action); border-left-color: var(--pp-action); font-weight: 600; }
.ar-side__cta { margin-top: 28px; padding: 22px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 16px; }
.ar-side__cta p { margin: 0 0 14px; color: var(--pp-soft); font-size: .9375rem; line-height: 1.55; }
.ar-side__cta .ar-side__cta-title { color: var(--pp-ink); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.ar-side__cta .pp-btn { min-height: 46px; font-size: 1rem; }
.ar-side__cta .ar-side__fine { margin: 12px 0 0; font-size: .8125rem; color: var(--pp-mute); }

.ar-toc-mobile { display: none; }

.ar-callout { margin: 0 0 40px; padding: 20px 24px; background: var(--pp-wash); border-left: 3px solid var(--pp-action); border-radius: 0 12px 12px 0; }
.ar-callout p { margin: 0; color: var(--pp-ink-2); }
.ar-callout .ar-callout__title { font-weight: 700; color: var(--pp-ink); margin-bottom: 4px; }

/* Long-form text coming from the block editor */
.ar-prose { font-size: 1.125rem; line-height: 1.75; color: var(--pp-ink-2); }
.ar-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.ar-prose h2,
.ar-faq h2,
.ar-sources h2 {
	font-family: var(--pp-display);
	font-weight: 500;
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
	line-height: 1.18;
	letter-spacing: -.02em;
	color: var(--pp-ink);
	margin: 2.2em 0 .6em;
	scroll-margin-top: calc(var(--pp-top, 96px) + 24px);
}
.ar-prose > h2:first-child { margin-top: 0; }
.ar-prose h3 {
	font-family: var(--pp-body);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--pp-ink);
	margin: 1.8em 0 .5em;
	scroll-margin-top: calc(var(--pp-top, 96px) + 24px);
}
.ar-prose h4 { font-size: 1.0625rem; font-weight: 700; color: var(--pp-ink); margin: 1.6em 0 .4em; }
.ar-prose strong { color: var(--pp-ink); font-weight: 650; }
.ar-prose a { color: var(--pp-action); text-decoration: underline; text-decoration-thickness: 1px; }
.ar-prose a:hover { text-decoration-thickness: 2px; }
.ar-prose ul,
.ar-prose ol { padding-left: 1.3em; }
.ar-prose li { margin-bottom: .45em; padding-left: .2em; }
.ar-prose li::marker { color: var(--pp-mute); }
.ar-prose ol > li::marker { color: var(--pp-action); font-weight: 700; }
.ar-prose code { font-family: var(--v2-mono, ui-monospace, monospace); font-size: .86em; background: var(--pp-cream-2); color: var(--pp-ink); padding: .12em .4em; border-radius: 5px; }
.ar-prose pre { background: #1D1733; color: #EDE9F8; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.ar-prose pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.ar-prose blockquote,
.ar-prose .wp-block-quote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--pp-line-2); color: var(--pp-ink); font-size: 1.1875rem; }
.ar-prose blockquote p { margin: 0 0 .5em; }
.ar-prose figure { margin: 1.8em 0; }
.ar-prose img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--pp-line); }
.ar-prose figcaption { margin-top: 8px; font-size: .9375rem; color: var(--pp-mute); text-align: left; }
.ar-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ar-prose .wp-block-table { overflow-x: auto; }
.ar-prose th,
.ar-prose td { padding: 10px 12px; border-bottom: 1px solid var(--pp-line); text-align: left; vertical-align: top; }
.ar-prose th { font-weight: 700; color: var(--pp-ink); border-bottom: 2px solid var(--pp-line-2); }
.ar-prose hr { border: 0; border-top: 1px solid var(--pp-line); margin: 2.5em 0; }
.ar-prose .wpsani-gb-overlay { display: none; }

.ar-box { margin: 48px 0 0; padding: 28px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 18px; }
.ar-box__title { font-family: var(--pp-body); font-size: 1.125rem; font-weight: 700; margin: 0 0 16px; }
.ar-box .pp-btn { margin-top: 22px; }
.ar-faq .pp-faq { max-width: none; }
.ar-sources ul { margin: 0; padding-left: 1.2em; }
.ar-sources li { margin-bottom: 6px; }

@media (max-width: 991.98px) {
	.ar-layout { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
	.ar-side { position: static; }
	.ar-side .ar-side__title,
	.ar-side .ar-toc { display: none; }
	.ar-side__cta { margin-top: 0; }
	.ar-toc-mobile { display: block; margin: 0 0 32px; border: 1px solid var(--pp-line); border-radius: 12px; background: var(--pp-paper); }
	.ar-toc-mobile summary { padding: 14px 18px; font-weight: 600; cursor: pointer; }
	.ar-toc-mobile .ar-toc { margin: 0 18px 14px; }
	.pp-article { padding-bottom: 24px; }
}

/* =========================================================================
   Guides hub + topic pages
   ========================================================================= */
.gh-search { display: flex; gap: 10px; margin-top: 28px; max-width: 640px; }
.gh-search input {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	font: inherit;
	color: var(--pp-ink);
	background: var(--pp-paper);
	border: 1px solid var(--pp-line-2);
	border-radius: 12px;
}
.gh-search input:focus { outline: 3px solid color-mix(in srgb, var(--pp-action) 30%, transparent); border-color: var(--pp-action); }
.gh-search .pp-btn { width: auto; min-height: 48px; padding-inline: 24px; }
.gh-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.gh-topics li { padding: 24px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 18px; position: relative; }
.gh-topics li:hover { border-color: var(--pp-line-2); }
.gh-topics h3 { font-family: var(--pp-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.015em; margin: 0 0 8px; }
.gh-topics h3 a { color: var(--pp-ink); text-decoration: none; }
.gh-topics h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.gh-topics li:focus-within { outline: 3px solid var(--pp-action); outline-offset: 2px; }
.gh-topics h3 a:focus-visible { outline: none; }
.gh-topics p { margin: 0 0 14px; color: var(--pp-soft); font-size: .9375rem; }
.gh-topics .gh-topics__meta { display: flex; gap: 6px 20px; flex-wrap: wrap; margin: 0; font-size: .875rem; color: var(--pp-mute); }
.hm-guides + .hm-guides { margin-top: 32px; }
.pp-guidehub .hm-guides,
.pp-article .hm-guides { row-gap: 40px; }
@media (max-width: 599.98px) {
	.gh-search { flex-direction: column; }
}

.pp-guidehub .ct-head .pp-crumbs { padding: 0 0 24px; }

/* =========================================================================
   Plain pages (page.php): legal text, cart/checkout, receipt, account
   ========================================================================= */
.pg-head { padding: clamp(36px, 5vw, 64px) 0 32px; background: var(--pp-paper); border-bottom: 1px solid var(--pp-line); }
.pg-col,
#main-content.pp .pg-col { max-width: 820px; }
.pp-page--shop .pg-col,
#main-content.pp-page--shop .pg-col { max-width: 960px; }
.pg-title { max-width: none; font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem); margin: 0; }
.pg-lead { margin: 14px 0 0; font-size: 1.0625rem; color: var(--pp-soft); max-width: 60ch; }
.pg-body { padding-top: 40px; padding-bottom: 72px; }
.pg-body.ar-prose { font-size: 1.0625rem; }
.pg-body.ar-prose h3 { font-size: 1.1875rem; margin-top: 1.6em; }
.pg-body.ar-prose hr { margin: 2em 0; }

/* ---- EDD: shared form pieces ------------------------------------------- */
.pp-edd { color: var(--pp-ink); }
.pp-edd > p:empty { display: none; }
.pp-edd fieldset {
	margin: 0 0 24px;
	padding: 24px;
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
	border-radius: 16px;
	min-width: 0;
}
.pp-edd fieldset fieldset { margin: 16px 0 0; padding: 0; border: 0; background: none; }
.pp-edd legend {
	float: left;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--pp-body);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--pp-ink);
}
.pp-edd legend + * { clear: both; }
.pp-edd p { margin: 0 0 16px; }
.pp-edd label,
.pp-edd .edd-label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .9375rem; color: var(--pp-ink); }
.pp-edd .edd-description { display: block; margin: 0 0 6px; font-size: .8125rem; color: var(--pp-mute); }
.pp-edd .edd-required-indicator { color: #B4232C; }
/* #main-content beats EDD's own "#edd_checkout_form_wrap input.edd-input { width: 70% }". */
#main-content .pp-edd input[type="text"],
#main-content .pp-edd input[type="email"],
#main-content .pp-edd input[type="password"],
#main-content .pp-edd input[type="tel"],
#main-content .pp-edd input[type="number"],
#main-content .pp-edd select,
#main-content .pp-edd textarea {
	width: 100%;
	max-width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--pp-ink);
	background: var(--pp-paper);
	border: 1px solid var(--pp-line-2);
	border-radius: 10px;
	box-shadow: none;
}
.pp-edd :is(input, select, textarea):focus { outline: 3px solid color-mix(in srgb, var(--pp-action) 28%, transparent); border-color: var(--pp-action); }
.pp-edd input[type="checkbox"],
.pp-edd input[type="radio"] { accent-color: var(--pp-action); width: 18px; height: 18px; }

/* Buttons: style.min.css forces a gold background with !important on these IDs. */
#main-content.pp-page #edd-purchase-button,
#main-content.pp-page .edd-submit,
#main-content.pp-page input[type="submit"],
#main-content.pp-page button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px !important;
	font-family: var(--pp-body);
	font-size: 1.0625rem !important;
	font-weight: 700;
	color: #FFFFFF !important;
	background: var(--pp-action) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .15s ease;
}
#main-content.pp-page #edd-purchase-button:hover,
#main-content.pp-page .edd-submit:hover,
#main-content.pp-page input[type="submit"]:hover,
#main-content.pp-page button[type="submit"]:hover { background: var(--pp-action-hover) !important; }
#main-content.pp-page #edd-purchase-button { width: 100%; }

.pp-edd .edd-alert,
.pp-edd .edd_errors { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; border: 1px solid; font-size: .9375rem; }
.pp-edd .edd-alert p,
.pp-edd .edd_errors p { margin: 0; }
.pp-edd .edd-alert-error,
.pp-edd .edd_errors { background: #FDF0F0; border-color: #F2C9CB; color: #8A1C23; }
.pp-edd .edd-alert-success { background: #ECF7F1; border-color: #BFE3D0; color: #1D5E44; }
.pp-edd .edd-alert-info,
.pp-edd .edd-alert-warn { background: var(--pp-wash); border-color: var(--pp-line-2); color: var(--pp-ink-2); }

/* ---- EDD: tables (cart, receipt, history, licenses, subscriptions) ----- */
#main-content .pp-edd table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--pp-paper);
	border: 1px solid var(--pp-line);
	border-radius: 16px;
	overflow: hidden;
	font-size: .9375rem;
}
#main-content .pp-edd th,
#main-content .pp-edd td { padding: 14px 18px; text-align: left; vertical-align: middle; border: 0; border-bottom: 1px solid var(--pp-line); background: none; }
#main-content .pp-edd thead th { font-size: .8125rem; font-weight: 600; color: var(--pp-mute); background: var(--pp-cream); }
#main-content .pp-edd tbody tr:last-child > *,
#main-content .pp-edd tfoot tr:last-child > * { border-bottom: 0; }
#main-content .pp-edd tfoot th,
#main-content .pp-edd tfoot td { background: var(--pp-cream); font-weight: 700; }
.pp-edd td a { font-weight: 600; }
.pp-edd .edd_download_file { list-style: none; margin: 0 0 6px; }
.pp-edd ul:has(> .edd_download_file) { margin: 0; padding: 0; }
#main-content .pp-edd .edd_download_file a,
#main-content .pp-edd a.edd_download_file_link {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 7px 14px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--pp-action);
	background: var(--pp-wash);
	border: 1px solid var(--pp-line-2);
	border-radius: 10px;
	text-decoration: none;
	white-space: nowrap;
}
#main-content .pp-edd .edd_download_file a:hover,
#main-content .pp-edd a.edd_download_file_link:hover { color: #FFFFFF; background: var(--pp-action); border-color: var(--pp-action); }
.pp-edd code { font-family: var(--v2-mono, ui-monospace, monospace); font-size: .875em; background: var(--pp-cream-2); padding: .15em .45em; border-radius: 6px; word-break: break-all; }
.pp-edd .edd_cart_item_image { float: left; margin: 2px 14px 4px 0; }
.pp-edd .edd_cart_item_image img { display: block; width: 40px; height: 40px; border-radius: 10px; }
.pp-edd td.edd_cart_item_name { font-weight: 600; }
.pp-edd .edd_cart_item_price,
.pp-edd .edd_cart_actions { white-space: nowrap; }
.pp-edd .edd_cart_remove_item_btn { color: var(--pp-soft); font-weight: 500; font-size: .875rem; }
.pp-edd .edd_cart_remove_item_btn:hover { color: #8A1C23; }
.pp-edd .edd-recurring-cart-item-details,
.pp-edd .edd_cart_item_name small { display: block; width: 100%; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--pp-mute); }

/* ---- EDD: checkout specifics ------------------------------------------- */
.pp-edd #edd_checkout_cart_wrap { margin-bottom: 8px; }
.pp-edd #edd_show_discount,
.pp-edd .edd-discount-code-field-wrap { margin: 0 0 16px; font-size: .9375rem; }
.pp-edd #edd-discount-code-wrap .edd-discount-code-field-wrap { display: flex; gap: 8px; }
.pp-edd #edd_final_total_wrap {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 16px;
	padding: 18px 22px;
	background: var(--pp-wash);
	border: 1px solid var(--pp-line-2);
	border-radius: 14px;
	font-size: 1.0625rem;
}
.pp-edd #edd_final_total_wrap .edd_cart_amount { font-size: 1.375rem; font-weight: 800; color: var(--pp-ink); }
.pp-edd #edd_purchase_submit { margin: 0; padding: 0; border: 0; background: none; }
.pp-edd #edd_terms_agreement,
.pp-edd #edd_privacy_agreement { margin-bottom: 16px; }
.pp-edd .edd-stripe-card-element,
.pp-edd #edd-stripe-payment-element { padding: 4px 0; }
.pp-edd #edd_checkout_login_register,
.pp-edd #edd-login-account-wrap,
.pp-edd #edd-new-account-wrap { margin: 0 0 16px; font-size: .9375rem; }

@media (max-width: 599.98px) {
	/* Cart rows: name on its own line, then price and remove link. */
	.pp-edd #edd_checkout_cart thead { display: none; }
	.pp-edd #edd_checkout_cart tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 16px; border-bottom: 1px solid var(--pp-line); }
	.pp-edd #edd_checkout_cart tbody tr:last-child { border-bottom: 0; }
	.pp-edd #edd_checkout_cart tbody td { display: block; padding: 0; border: 0; }
	.pp-edd #edd_checkout_cart td.edd_cart_item_name { grid-column: 1 / -1; }
	.pp-edd #edd_checkout_cart tfoot th { display: block; padding: 14px 16px; text-align: right; }
	.pp-edd fieldset { padding: 20px 16px; }
}

/* ---- Account (/my-downloads/) ------------------------------------------ */
.ac-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 24px; padding: 4px; width: fit-content; max-width: 100%; background: var(--pp-cream); border: 1px solid var(--pp-line); border-radius: 12px; }
.ac-nav a { padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--pp-soft); text-decoration: none; }
.ac-nav a:hover { color: var(--pp-ink); background: var(--pp-paper); }
.ac-section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: calc(var(--pp-top, 96px) + 24px); }
.ac-h2 { font-family: var(--pp-display); font-weight: 500; font-size: 1.75rem; letter-spacing: -.02em; margin: 0 0 16px; }
.ac-section { overflow-x: auto; }
.ac-section table { min-width: 520px; }
.ac-login { max-width: 440px; }
.ac-login__lost { margin: -4px 0 0; font-size: .9375rem; }
.ac-note { max-width: 60ch; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--pp-line); color: var(--pp-soft); font-size: .9375rem; }

/* =========================================================================
   404 + search
   ========================================================================= */
.nf-code { margin: 0 0 12px; font-weight: 600; color: var(--pp-mute); }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 24px 0 0; padding: 0; font-weight: 600; }
.pp-search .pp-body > .pp-section:first-child { padding-top: 48px; }

/* =========================================================================
   About
   ========================================================================= */
.ab-plugins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.ab-plugins li { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--pp-paper); border: 1px solid var(--pp-line); border-radius: 18px; }
.ab-plugins__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--pp-line); object-fit: cover; }
.ab-plugins h3 { font-family: var(--pp-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -.015em; margin: 0 0 6px; }
.ab-plugins__stats { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 12px; font-size: .9375rem; color: var(--pp-soft); }
.ab-plugins__stats span:first-child { font-weight: 700; color: var(--pp-ink); }
.ab-plugins__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-weight: 600; font-size: .9375rem; }
.ab-steps { list-style: none; counter-reset: ab; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.ab-steps li { counter-increment: ab; padding-top: 18px; border-top: 2px solid var(--pp-ink); }
.ab-steps li::before { content: counter(ab); display: block; margin-bottom: 8px; font-family: var(--pp-display); font-size: 1.75rem; line-height: 1; color: var(--pp-action); }
.ab-steps h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 6px; }
.ab-steps p { margin: 0; color: var(--pp-soft); font-size: .9375rem; }
.ab-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.ab-contact p { margin: 8px 0 0; color: var(--pp-soft); max-width: 52ch; }
.ab-contact__btn { width: auto; padding-inline: 28px; }

/* =========================================================================
   Site footer (every page; lives outside .pp so it sets its own tokens)
   ========================================================================= */
footer.sf {
	--sf-bg: var(--v2-violet-darker, #2E2253);
	--sf-text: rgba(255, 255, 255, .78);
	--sf-mute: rgba(255, 255, 255, .56);
	--sf-line: rgba(255, 255, 255, .14);
	margin: 0;
	padding: 64px 0 28px;
	background: var(--sf-bg);
	color: var(--sf-text);
	font-family: var(--v2-body, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: .9375rem;
	line-height: 1.6;
}
footer.sf p { color: var(--sf-text); margin: 0; }
footer.sf a { color: #FFFFFF; text-decoration: none; }
footer.sf a:hover { text-decoration: underline; text-underline-offset: .2em; }
footer.sf a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; border-radius: 4px; }
.sf-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 64px; padding-bottom: 40px; }
.sf-brand__logo { display: inline-block; margin-bottom: 16px; }
.sf-brand__logo img { display: block; width: 56px; height: 56px; border-radius: 50%; background: #FFFFFF; }
.sf-brand p { max-width: 34ch; }
.sf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
footer.sf .sf-h { margin: 0 0 14px; font-family: inherit; font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--sf-mute); }
.sf-cols ul { list-style: none; margin: 0; padding: 0; }
.sf-cols li + li { margin-top: 10px; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--sf-line); font-size: .875rem; }
footer.sf .sf-bottom p { color: var(--sf-mute); }

@media (max-width: 767.98px) {
	.sf-top { grid-template-columns: minmax(0, 1fr); }
	.sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	footer.sf { padding-bottom: 96px; } /* room for the iubenda consent bar */
}
