.awf-buy-btn {
	background: #1D9E75;
	color: #fff;
	border: none;
	padding: 14px 28px;
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 16px;
	border-radius: 6px;
	cursor: pointer;
}
.awf-buy-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.awf-buy-status { margin-top: 8px; font-size: 14px; color: #555; }
.awf-buy-error { color: #c0392b; }

.awf-ty-wrap {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	padding: 40px 20px;
	font-family: "DM Sans", sans-serif;
}
.awf-ty-eyebrow { color: #1D9E75; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.awf-ty-title { font-family: "Fraunces", serif; font-size: 28px; margin: 8px 0 4px; }
.awf-ty-guide-title { font-family: "Fraunces", serif; font-size: 22px; color: #1D9E75; margin-bottom: 24px; }
.awf-ty-cover { max-width: 240px; border-radius: 6px; margin-bottom: 24px; }
.awf-ty-download-btn {
	display: inline-block;
	background: #1D9E75;
	color: #fff;
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
}
.awf-ty-note { font-size: 13px; color: #777; margin-top: 10px; }
.awf-ty-upsell { margin-top: 56px; text-align: center; }
.awf-ty-upsell h3 { font-family: "Fraunces", serif; font-size: 18px; margin-bottom: 20px; }
.awf-ty-upsell-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.awf-ty-upsell-item { width: 160px; }
.awf-ty-upsell-item img { width: 100%; border-radius: 6px; margin-bottom: 8px; }
.awf-ty-upsell-item p { font-size: 13px; margin-bottom: 8px; min-height: 36px; }
.awf-ty-buy-btn { color: #1D9E75; font-weight: 600; text-decoration: none; font-size: 13px; }
.awf-ty-browse-all { display: inline-block; margin-top: 28px; color: #1D9E75; font-weight: 600; text-decoration: none; }
.awf-ty-error { text-align: center; padding: 40px; color: #c0392b; }
.awf-ty-pending { padding: 60px 20px; }
.awf-ty-spinner {
	width: 40px; height: 40px;
	border: 4px solid #d4d4ce;
	border-top-color: #1D9E75;
	border-radius: 50%;
	animation: awf-spin 0.8s linear infinite;
	margin: 24px auto;
}
@keyframes awf-spin { to { transform: rotate(360deg); } }

/* ── THANK-YOU PAGE ──────────────────────────────────── */
.awf-ty-page {
	background: #EFEFEA;
	font-family: 'DM Sans', sans-serif;
	min-height: 60vh;
}

/* Hero */
.awf-ty-hero {
	background: #1A3A2A;
	padding: 48px 20px;
}
.awf-ty-hero-inner {
	max-width: 680px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 36px;
}
.awf-ty-hero-content { flex: 1; }
.awf-ty-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #3A9E6A;
	margin: 0 0 12px;
}
.awf-ty-title {
	font-family: 'Fraunces', serif;
	font-size: 32px;
	font-weight: 900;
	color: #EFEFEA;
	line-height: 1.1;
	letter-spacing: -0.5px;
	margin: 0 0 20px;
}
.awf-ty-guide-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(239,239,234,0.4);
	margin: 0 0 6px;
}
.awf-ty-guide-title {
	font-size: 17px;
	font-weight: 700;
	color: #EFEFEA;
	line-height: 1.3;
	margin: 0 0 24px;
}
.awf-ty-download-btn {
	display: inline-flex;
	align-items: center;
	background: #3A9E6A;
	color: #fff;
	padding: 16px 28px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
	margin-bottom: 12px;
}
.awf-ty-download-btn:hover { background: #2D6A45; }
.awf-ty-download-meta {
	font-size: 12px;
	color: rgba(239,239,234,0.35);
	margin: 0;
	line-height: 1.6;
}
.awf-ty-hero-cover { flex-shrink: 0; width: 160px; }
.awf-ty-cover-img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.35);
	border: 1px solid rgba(255,255,255,0.1);
}

/* Pending state */
.awf-ty-pending-wrap {
	background: #1A3A2A;
	padding: 80px 20px;
	text-align: center;
}
.awf-ty-pending-inner { max-width: 480px; margin: 0 auto; }
.awf-ty-pending-title {
	font-family: 'Fraunces', serif;
	font-size: 28px;
	font-weight: 900;
	color: #EFEFEA;
	margin: 8px 0 12px;
}
.awf-ty-pending-sub {
	font-size: 15px;
	color: rgba(239,239,234,0.5);
	margin: 0 0 28px;
}
.awf-ty-fallback {
	font-size: 13px;
	color: rgba(239,239,234,0.4);
	line-height: 1.6;
	margin-top: 20px;
}
.awf-ty-fallback a { color: #3A9E6A; }

/* Upsell section */
.awf-ty-upsell-section {
	padding: 48px 20px;
}
.awf-ty-upsell-inner {
	max-width: 680px;
	margin: 0 auto;
}
.awf-ty-upsell-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #3A9E6A;
	margin: 0 0 8px;
}
.awf-ty-upsell-title {
	font-family: 'Fraunces', serif;
	font-size: 24px;
	font-weight: 900;
	color: #111;
	letter-spacing: -0.5px;
	margin: 0 0 28px;
	line-height: 1.2;
}

/* Guide cards — matches category page style */
.awf-ty-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 28px;
}
.awf-ty-card {
	background: #fff;
	border: 1px solid #d4d4ce;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.awf-ty-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	border-color: #2D6A45;
}
.awf-ty-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.awf-ty-card-cat {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #3A9E6A;
	margin: 0;
}
.awf-ty-card-price {
	font-size: 13px;
	font-weight: 600;
	color: #a0a09a;
}
.awf-ty-card-num {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	color: #a0a09a;
	margin: 0 0 8px;
}
.awf-ty-card-title {
	font-size: 15px;
	font-weight: 700;
	color: #111;
	line-height: 1.35;
	margin: 0 0 16px;
	flex: 1;
	font-family: 'DM Sans', sans-serif;
}
.awf-ty-card-divider {
	height: 1px;
	background: #e0e0db;
	margin-bottom: 14px;
}
.awf-ty-card-footer {
	display: flex;
	justify-content: flex-end;
}
.awf-ty-card-link {
	font-size: 13px;
	font-weight: 600;
	color: #2D6A45;
	text-decoration: none;
}
.awf-ty-card-link:hover { color: #1A3A2A; }

/* Browse all */
.awf-ty-browse-wrap { text-align: center; }
.awf-ty-browse-all {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #2D6A45;
	text-decoration: none;
	border-bottom: 1px solid #2D6A45;
	padding-bottom: 2px;
}
.awf-ty-browse-all:hover { color: #1A3A2A; border-color: #1A3A2A; }

/* Promise */
.awf-ty-promise-wrap {
	padding: 0 20px 48px;
}
.awf-ty-promise {
	max-width: 680px;
	margin: 0 auto;
	font-size: 13px;
	color: #767670;
	line-height: 1.7;
	border-top: 1px solid #d4d4ce;
	padding-top: 20px;
}
.awf-ty-promise-title { font-weight: 700; color: #111; }
.awf-ty-promise a { color: #2D6A45; font-weight: 600; }

/* Error */
.awf-ty-error-wrap {
	max-width: 680px;
	margin: 60px auto;
	padding: 0 20px;
	text-align: center;
}
.awf-ty-error {
	font-size: 15px;
	color: #767670;
	line-height: 1.7;
}

/* Desktop */
@media (min-width: 769px) {
	.awf-ty-hero { padding: 64px 40px; }
	.awf-ty-title { font-size: 40px; }
	.awf-ty-guide-title { font-size: 19px; }
	.awf-ty-hero-cover { width: 200px; }
	.awf-ty-upsell-section { padding: 56px 40px; }
	.awf-ty-upsell-title { font-size: 28px; }
	.awf-ty-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.awf-ty-promise-wrap { padding: 0 40px 56px; }
}

@media (max-width: 768px) {
	.awf-ty-hero-inner {
		flex-direction: column;
		gap: 28px;
		text-align: center;
	}
	.awf-ty-hero-cover {
		width: 140px;
		margin: 0 auto;
		order: -1;
	}
	.awf-ty-title { font-size: 26px; }
	.awf-ty-download-btn {
		display: block;
		text-align: center;
	}
	.awf-ty-download-meta { text-align: center; }
	.awf-ty-eyebrow { text-align: center; }
	.awf-ty-guide-label { text-align: center; }
	.awf-ty-guide-title { text-align: center; }
	.awf-ty-cards-grid { grid-template-columns: 1fr; }
}

/* ── AF-CARD SYSTEM (copied from All Fixes page for use on thank-you page) ── */
.af-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
@media (max-width: 768px) {
	.af-grid { grid-template-columns: 1fr; }
}
.af-card {
	background: #ffffff;
	border: 1px solid #d4d4ce;
	border-radius: 14px;
	padding: 20px;
	display: flex; flex-direction: column;
	text-decoration: none; color: inherit;
	transition: box-shadow 0.2s, border-color 0.2s;
	cursor: pointer;
}
.af-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	border-color: #2D6A45;
	text-decoration: none; color: inherit;
}
.af-card-top {
	display: flex; align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.af-card-cat {
	font-size: 10px; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: #2D6A45;
}
.af-card-price {
	font-size: 12px; font-weight: 600;
	letter-spacing: 0.3px;
}
.af-card-price--paid { color: #a0a09a; }
.af-card-price--free {
	background: #3A9E6A; color: #ffffff;
	padding: 3px 10px; border-radius: 20px;
}
.af-card-num {
	font-size: 10px; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: #a0a09a;
	margin-bottom: 4px;
}
.af-card-title {
	font-size: 15px; font-weight: 700;
	color: #111111; line-height: 1.4;
	flex: 1; margin-bottom: 16px;
}
.af-card-footer {
	display: flex; align-items: center;
	justify-content: flex-end;
	border-top: 1px solid #e0e0db;
	padding-top: 12px;
}
.af-card-cta {
	font-size: 13px; font-weight: 700;
	color: #2D6A45; display: flex;
	align-items: center; gap: 4px;
}
.af-card-cta svg {
	width: 14px; height: 14px;
	transition: transform 0.15s;
}
.af-card:hover .af-card-cta svg {
	transform: translateX(3px);
}

/* ── ASTRA CONFLICT OVERRIDES FOR THANK-YOU PAGE ──────── */
/* Remove Astra's global link underline from af-cards */
.entry-content .af-card,
.entry-content .af-card:hover,
.entry-content .af-card-cta,
.entry-content .af-card-title a,
.awf-ty-download-btn,
.awf-ty-browse-all,
.awf-ty-card-link {
	text-decoration: none !important;
}

/* Break out of Astra's content width constraint */
.awf-ty-page {
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
	max-width: 100vw !important;
	width: 100vw !important;
	position: relative !important;
}

/* Re-constrain inner sections to readable widths */
.awf-ty-hero-inner,
.awf-ty-upsell-inner,
.awf-ty-promise {
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}
