/* ==========================================================================
   Crown Office Supplies — Affiliates page (page 9098894)
   Presentation-only restyle of the affiliate-program content. Self-contained:
   the brand tokens are redeclared here (copied from cos-home.css) and every
   rule is scoped under body.page-id-9098894 .cos-aff, so nothing leaks into
   Electro / WooCommerce elsewhere. Revert = remove the enqueue block in
   functions.php and delete this file; the page markup is plain HTML.
   Brand: #FED700 (yellow) · #2E094E (deep violet)
   ========================================================================== */

body.page-id-9098894 .cos-aff {
	--cos-yellow: #fed700;
	--cos-yellow-600: #e5c000;
	--cos-yellow-soft: #fff9d6;
	--cos-navy: #2e094e;
	--cos-navy-800: #3d1266;
	--cos-navy-700: #4d1c7d;
	--cos-ink: #16091f;
	--cos-text: #4a4155;
	--cos-muted: #7a7188;
	--cos-line: #ece8f0;
	--cos-line-strong: #ddd6e4;
	--cos-surface: #ffffff;
	--cos-surface-2: #faf8fc;
	--cos-r-sm: 10px;
	--cos-r: 16px;
	--cos-r-lg: 24px;
	--cos-font-display: "Poppins", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cos-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cos-shadow-sm: 0 1px 2px rgba(22, 9, 31, .04), 0 1px 3px rgba(22, 9, 31, .06);
	--cos-shadow: 0 2px 4px rgba(22, 9, 31, .04), 0 8px 24px rgba(22, 9, 31, .07);
	--cos-shadow-lg: 0 4px 8px rgba(22, 9, 31, .04), 0 18px 48px rgba(22, 9, 31, .11);
	--cos-ease: cubic-bezier(.22, 1, .36, 1);

	font-family: var(--cos-font-body);
	color: var(--cos-text);
	line-height: 1.65;
	max-width: 1080px;
	margin-inline: auto;
	-webkit-font-smoothing: antialiased;
}

body.page-id-9098894 .cos-aff * { box-sizing: border-box; }
body.page-id-9098894 .cos-aff h1,
body.page-id-9098894 .cos-aff h2,
body.page-id-9098894 .cos-aff h3 { font-family: var(--cos-font-display); color: var(--cos-ink); letter-spacing: -.02em; }

/* --- hero ---------------------------------------------------------------- */
body.page-id-9098894 .cos-aff__hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--cos-r-lg);
	padding: clamp(32px, 6vw, 64px);
	background: radial-gradient(120% 140% at 100% 0%, var(--cos-navy-700) 0%, var(--cos-navy) 55%, var(--cos-ink) 100%);
	color: #fff;
	box-shadow: var(--cos-shadow-lg);
}
body.page-id-9098894 .cos-aff__hero::after {
	content: "";
	position: absolute;
	right: -80px; top: -80px;
	width: 320px; height: 320px;
	background: radial-gradient(circle, rgba(254, 215, 0, .28), transparent 65%);
	pointer-events: none;
}
body.page-id-9098894 .cos-aff__eyebrow {
	display: inline-block;
	font-family: var(--cos-font-display);
	font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--cos-ink);
	background: var(--cos-yellow);
	padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
body.page-id-9098894 .cos-aff__title {
	color: #fff !important;
	font-size: clamp(1.9rem, 4.4vw, 3rem);
	font-weight: 700; line-height: 1.08; margin: 0 0 14px;
}
body.page-id-9098894 .cos-aff__lead {
	font-size: clamp(1.02rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, .82);
	max-width: 40em; margin: 0 0 26px;
}

/* --- buttons ------------------------------------------------------------- */
body.page-id-9098894 .cos-aff__btn {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--cos-font-display); font-weight: 600; font-size: 1rem;
	padding: 13px 22px; border-radius: 999px;
	background: var(--cos-yellow); color: var(--cos-ink);
	box-shadow: 0 10px 30px rgba(254, 215, 0, .35);
	text-decoration: none;
}
body.page-id-9098894 .cos-aff__hint {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .9rem; color: rgba(255, 255, 255, .7);
	margin-top: 4px;
}
body.page-id-9098894 .cos-aff__hint b { color: #fff; }

/* --- section scaffolding ------------------------------------------------- */
body.page-id-9098894 .cos-aff__section { margin-top: clamp(38px, 6vw, 58px); }
body.page-id-9098894 .cos-aff__h2 {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin: 0 0 6px;
}
body.page-id-9098894 .cos-aff__sub { color: var(--cos-muted); margin: 0 0 24px; }

/* --- how it works (numbered step cards) ---------------------------------- */
body.page-id-9098894 .cos-aff__steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
body.page-id-9098894 .cos-aff__step {
	position: relative;
	background: var(--cos-surface);
	border: 1px solid var(--cos-line);
	border-radius: var(--cos-r);
	padding: 22px 20px 20px;
	box-shadow: var(--cos-shadow-sm);
}
body.page-id-9098894 .cos-aff__step-n {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; margin-bottom: 14px;
	font-family: var(--cos-font-display); font-weight: 700; font-size: 1.05rem;
	color: #fff; background: var(--cos-navy); border-radius: 12px;
}
body.page-id-9098894 .cos-aff__step h3 { font-size: 1.02rem; margin: 0 0 6px; }
body.page-id-9098894 .cos-aff__step p { margin: 0; font-size: .93rem; color: var(--cos-text); }

/* --- why you'll love it (benefit grid) ----------------------------------- */
body.page-id-9098894 .cos-aff__benefits {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px;
}
body.page-id-9098894 .cos-aff__benefit {
	display: flex; align-items: flex-start; gap: 12px;
	background: var(--cos-surface-2);
	border: 1px solid var(--cos-line);
	border-radius: var(--cos-r);
	padding: 16px 18px;
	font-size: .96rem; color: var(--cos-ink);
}
body.page-id-9098894 .cos-aff__benefit svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; }

/* --- program terms card -------------------------------------------------- */
body.page-id-9098894 .cos-aff__terms {
	background: var(--cos-surface);
	border: 1px solid var(--cos-line-strong);
	border-radius: var(--cos-r-lg);
	padding: clamp(24px, 4vw, 36px);
	box-shadow: var(--cos-shadow);
}
body.page-id-9098894 .cos-aff__terms-list { list-style: none; margin: 14px 0 0; padding: 0; }
body.page-id-9098894 .cos-aff__terms-list li {
	position: relative; padding: 12px 0 12px 26px;
	border-top: 1px solid var(--cos-line);
	font-size: .96rem; color: var(--cos-text);
}
body.page-id-9098894 .cos-aff__terms-list li:first-child { border-top: 0; }
body.page-id-9098894 .cos-aff__terms-list li::before {
	content: ""; position: absolute; left: 4px; top: 20px;
	width: 7px; height: 7px; border-radius: 50%; background: var(--cos-yellow-600);
}
body.page-id-9098894 .cos-aff__terms-list strong { color: var(--cos-ink); }

/* --- closing CTA --------------------------------------------------------- */
body.page-id-9098894 .cos-aff__final {
	margin-top: clamp(38px, 6vw, 58px);
	text-align: center;
	background: var(--cos-surface-2);
	border: 1px solid var(--cos-line);
	border-radius: var(--cos-r-lg);
	padding: clamp(30px, 5vw, 48px);
}
body.page-id-9098894 .cos-aff__final h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
body.page-id-9098894 .cos-aff__final p { color: var(--cos-muted); margin: 0 0 22px; }

/* Kill the Electro page title band / default prose on this page's content. */
body.page-id-9098894 .affiliate-program { display: none; }
