/* CommerceWP design system — layered on top of Kadence. */

:root {
	--cwp-accent: #4F46E5;
	--cwp-accent-hover: #4338CA;
	--cwp-accent-soft: #EEF2FF;
	--cwp-amber: #F59E0B;
	--cwp-amber-soft: #FEF3C7;
	--cwp-ink: #0F172A;
	--cwp-text: #475569;
	--cwp-muted: #64748B;
	--cwp-border: #E2E8F0;
	--cwp-soft: #F8FAFC;
	--cwp-radius: 16px;
	--cwp-radius-sm: 10px;
	--cwp-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -8px rgba(15, 23, 42, .10);
	--cwp-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -16px rgba(30, 27, 75, .22);
	--cwp-gutter: clamp(16px, 4vw, 32px);
	--cwp-heading: 'Plus Jakarta Sans', var(--global-heading-font-family, sans-serif);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #fff;
}

h1, h2, h3, h4, .cwp-display {
	font-family: var(--cwp-heading);
	color: var(--cwp-ink);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

/* ---------- Header ---------- */
#masthead .site-main-header-wrap .site-header-row-container-inner {
	background: rgba(255, 255, 255, .85);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--cwp-border);
}
.header-navigation .menu > li > a {
	font-weight: 500;
	font-size: 15px;
	color: var(--cwp-text);
}
.header-navigation .menu > li > a:hover,
.header-navigation .menu > li.current-menu-item > a {
	color: var(--cwp-accent);
}
.header-button-wrap .header-button {
	background: var(--cwp-accent);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	padding: 10px 18px;
	border-radius: var(--cwp-radius-sm);
	box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .55);
	transition: background .2s, transform .2s;
}
.header-button-wrap .header-button:hover {
	background: var(--cwp-accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

/* ---------- Buttons ---------- */
.wp-block-button__link,
.wp-element-button {
	font-weight: 600;
	border-radius: var(--cwp-radius-sm);
	padding: 14px 24px;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--cwp-accent);
	color: #fff;
	box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--cwp-accent-hover);
	transform: translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff;
	color: var(--cwp-ink);
	border: 1px solid var(--cwp-border);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--cwp-accent);
	color: var(--cwp-accent);
}

/* ---------- Sections ---------- */
.cwp-section {
	padding: clamp(64px, 9vw, 112px) var(--cwp-gutter);
	margin: 0 !important;
}
.cwp-section > * {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.cwp-section--soft { background: var(--cwp-soft); border-top: 1px solid var(--cwp-border); border-bottom: 1px solid var(--cwp-border); }
.cwp-section--tight { padding-top: 40px; padding-bottom: 40px; }
.cwp-narrow { max-width: 760px !important; }
.cwp-center { text-align: center; }
.cwp-center .wp-block-buttons { justify-content: center; }

.cwp-eyebrow {
	display: inline-block;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cwp-accent);
	margin-bottom: 12px !important;
}
.cwp-h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem) !important; font-weight: 800; margin: 0 0 16px !important; }
.cwp-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--cwp-text); max-width: 60ch; }
.cwp-center .cwp-lead { margin-left: auto; margin-right: auto; }
.cwp-section-head { margin-bottom: clamp(36px, 5vw, 56px) !important; }

/* ---------- Hero ---------- */
.cwp-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 8vw, 104px) var(--cwp-gutter) clamp(64px, 9vw, 112px);
	margin: 0 !important;
	background:
		radial-gradient(800px 420px at 12% -10%, #E0E7FF 0, transparent 60%),
		radial-gradient(640px 420px at 100% 0%, #FEF3C7 0, transparent 55%),
		#fff;
}
/* Classic themes wrap group children in __inner-container. */
.cwp-section > .wp-block-group__inner-container > *,
.cwp-hero > .wp-block-group__inner-container { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.cwp-hero .wp-block-columns { max-width: 1200px; margin: 0 auto !important; align-items: center; gap: clamp(32px, 5vw, 64px); }
.cwp-hero h1 {
	font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	margin: 0 0 20px;
}
.cwp-hero h1 .cwp-mark,
.cwp-mark {
	background: linear-gradient(90deg, #4F46E5, #7C3AED);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.cwp-hero .cwp-lead { margin-bottom: 28px; }
.cwp-hero-note { font-size: 14px; color: var(--cwp-muted); margin-top: 16px !important; }
.cwp-hero-note strong { color: var(--cwp-ink); }

.cwp-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--cwp-border);
	font-size: 14px;
	font-weight: 500;
	color: var(--cwp-ink);
	box-shadow: var(--cwp-shadow);
	margin-bottom: 24px;
}
.cwp-pill b { flex: none; white-space: nowrap; }
.cwp-pill b {
	background: var(--cwp-amber);
	color: #fff;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	letter-spacing: .02em;
}

/* Product mock card (hero visual) */
.cwp-mock {
	margin-bottom: 24px;
	background: #fff;
	border: 1px solid var(--cwp-border);
	border-radius: 20px;
	box-shadow: var(--cwp-shadow-lg);
	padding: 24px;
	position: relative;
}
.cwp-mock__bar { display: flex; gap: 6px; margin-bottom: 18px; }
.cwp-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cwp-border); }
.cwp-mock__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cwp-mock__title strong { font-family: var(--cwp-heading); color: var(--cwp-ink); font-size: 18px; }
.cwp-mock__sub { font-size: 14px; color: var(--cwp-muted); margin: 0 0 20px; }
.cwp-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #15803D; background: #DCFCE7; padding: 4px 10px; border-radius: 999px; }
.cwp-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }

.cwp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; height: 190px; margin-bottom: 18px; }
.cwp-tier { border-radius: 12px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; }
.cwp-tier span { font-size: 12px; opacity: .85; }
.cwp-tier strong { font-family: var(--cwp-heading); font-size: 22px; line-height: 1.1; }
.cwp-tier--1 { height: 52%; background: linear-gradient(180deg, #A5B4FC, #818CF8); }
.cwp-tier--2 { height: 74%; background: linear-gradient(180deg, #818CF8, #6366F1); }
.cwp-tier--3 { height: 100%; background: linear-gradient(180deg, #6366F1, #4338CA); }
.cwp-tier.is-active { outline: 3px solid var(--cwp-amber); outline-offset: 3px; }
.cwp-tier.is-active::after {
	content: "Now selling";
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--cwp-amber); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap;
	padding: 3px 9px; border-radius: 999px;
}
.cwp-progress { background: var(--cwp-soft); border: 1px solid var(--cwp-border); border-radius: 12px; padding: 12px 14px; }
.cwp-progress__row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; color: var(--cwp-text); }
.cwp-progress__row b { color: var(--cwp-ink); }
.cwp-progress__track { height: 8px; border-radius: 999px; background: var(--cwp-border); overflow: hidden; }
.cwp-progress__fill { height: 100%; width: 68%; border-radius: inherit; background: linear-gradient(90deg, #6366F1, #F59E0B); }
.cwp-float {
	position: absolute;
	background: #fff;
	border: 1px solid var(--cwp-border);
	border-radius: 14px;
	box-shadow: var(--cwp-shadow-lg);
	padding: 10px 14px;
	font-size: 13px;
	color: var(--cwp-text);
	display: flex; align-items: center; gap: 10px;
}
.cwp-float b { color: var(--cwp-ink); display: block; font-size: 14px; }
.cwp-float__icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; }
.cwp-float--a { left: -32px; bottom: -22px; }
.cwp-float--a .cwp-float__icon { background: #DCFCE7; }
.cwp-float--b { right: -20px; top: -18px; }
.cwp-float--b .cwp-float__icon { background: var(--cwp-amber-soft); }

/* ---------- Trust strip ---------- */
.cwp-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	list-style: none;
	padding: 0 !important;
	margin: 0 auto !important;
}
.cwp-trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--cwp-text); }
.cwp-trust li b { display: block; color: var(--cwp-ink); font-weight: 600; }
.cwp-icon {
	flex: none;
	width: 44px; height: 44px;
	border-radius: 12px;
	display: grid; place-items: center;
	background: var(--cwp-accent-soft);
	color: var(--cwp-accent);
}
.cwp-icon svg { width: 22px; height: 22px; }

/* ---------- Cards / features ---------- */
.cwp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cwp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cwp-card {
	background: #fff;
	border: 1px solid var(--cwp-border);
	border-radius: var(--cwp-radius);
	padding: 28px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cwp-card:hover { transform: translateY(-3px); box-shadow: var(--cwp-shadow-lg); border-color: #C7D2FE; }
.cwp-card h3 { font-size: 19px; margin: 18px 0 8px; }
.cwp-card p { margin: 0; font-size: 16px; }

/* Steps (how it works) */
.cwp-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cwp-step { position: relative; padding: 28px; border-radius: var(--cwp-radius); background: #fff; border: 1px solid var(--cwp-border); }
.cwp-step::before {
	counter-increment: step;
	content: counter(step);
	display: grid; place-items: center;
	width: 40px; height: 40px; border-radius: 12px;
	background: var(--cwp-ink); color: #fff;
	font-family: var(--cwp-heading); font-weight: 800;
	margin-bottom: 18px;
}
.cwp-step h3 { font-size: 19px; margin: 0 0 8px; }
.cwp-step p { margin: 0; font-size: 16px; }
.cwp-step__price { margin-top: 18px !important; display: flex; gap: 8px; flex-wrap: wrap; }
.cwp-step__price span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cwp-accent-soft); color: var(--cwp-accent-hover); }

/* ---------- Product spotlight ---------- */
.cwp-product {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 0;
	border: 1px solid var(--cwp-border);
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--cwp-shadow);
}
.cwp-product__media { background: linear-gradient(135deg, #EEF2FF, #F5F3FF 50%, #FEF3C7); display: grid; place-items: center; padding: clamp(20px, 3vw, 32px); }
.cwp-product__media img { border-radius: 12px; box-shadow: var(--cwp-shadow-lg); width: 100%; height: auto; border: 1px solid var(--cwp-border); }
.cwp-product__body { padding: clamp(28px, 4vw, 48px); }
.cwp-product__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cwp-product__head img { width: 56px; height: 56px; border-radius: 14px; }
.cwp-product__head h3 { margin: 0; font-size: 24px; }
.cwp-product__head small { color: var(--cwp-muted); font-size: 14px; }
.cwp-checklist { list-style: none; padding: 0; margin: 20px 0 28px; }
.cwp-checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--cwp-text); }
.cwp-checklist li::before {
	content: "";
	position: absolute; left: 0; top: 4px;
	width: 20px; height: 20px; border-radius: 50%;
	background: #DCFCE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316A34A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.cwp-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.cwp-price strong { font-family: var(--cwp-heading); font-size: 40px; color: var(--cwp-ink); letter-spacing: -0.03em; }
.cwp-price span { color: var(--cwp-muted); font-size: 15px; }
.cwp-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cwp-amber-soft); color: #B45309; }

/* Platform cards */
.cwp-platform { padding: 32px; }
.cwp-platform__head { display: flex; justify-content: space-between; align-items: center; }
.cwp-platform__logo {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	font-family: var(--cwp-heading); font-weight: 800; font-size: 16px; color: #fff;
}
.cwp-platform--woo .cwp-platform__logo { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.cwp-platform--fct .cwp-platform__logo { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.cwp-platform h3 { font-size: 22px; }
.cwp-platform__link { margin-top: 18px !important; }
.cwp-platform__link a { font-weight: 600; color: var(--cwp-accent); text-decoration: none; }
.cwp-platform__link a:hover { text-decoration: underline; }
.cwp-tag--live { background: #DCFCE7; color: #15803D; }

/* ---------- Why / split ---------- */
.cwp-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cwp-why-list { display: grid; gap: 16px; }
.cwp-why { display: flex; gap: 16px; padding: 20px; border-radius: var(--cwp-radius); background: #fff; border: 1px solid var(--cwp-border); }
.cwp-why h3 { font-size: 17px; margin: 0 0 4px; }
.cwp-why p { margin: 0; font-size: 15px; }

/* ---------- FAQ ---------- */
.cwp-faq { max-width: 820px; margin: 0 auto; }
.cwp-faq details {
	border: 1px solid var(--cwp-border);
	border-radius: 14px;
	padding: 0 22px;
	margin-bottom: 12px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.cwp-faq details[open] { border-color: #C7D2FE; box-shadow: var(--cwp-shadow); }
.cwp-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 32px 20px 0;
	font-weight: 600;
	color: var(--cwp-ink);
	position: relative;
}
.cwp-faq summary::-webkit-details-marker { display: none; }
.cwp-faq summary::after {
	content: "+";
	position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	font-size: 22px; font-weight: 400; color: var(--cwp-accent);
	transition: transform .2s;
}
.cwp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cwp-faq details > :not(summary) { margin: 0 0 20px; }

/* ---------- CTA / newsletter band ---------- */
.cwp-cta {
	margin: 0 auto !important;
	max-width: 1200px;
	border-radius: 28px;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
	background:
		radial-gradient(600px 300px at 0% 0%, rgba(129, 140, 248, .45), transparent 60%),
		radial-gradient(500px 300px at 100% 100%, rgba(245, 158, 11, .25), transparent 60%),
		#1E1B4B;
	color: #C7D2FE;
	text-align: center;
}
.cwp-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 12px; }
.cwp-cta p { color: #C7D2FE; max-width: 52ch; margin: 0 auto 28px; }
.cwp-cta .ff-el-group, .cwp-cta form, .cwp-cta .fluentform, .cwp-cta .ff-t-container { margin-bottom: 0 !important; }
.cwp-cta .fluentform { max-width: 520px; margin: 0 auto; }
.cwp-cta .fluentform .ff-el-input--label { display: none; }
.cwp-cta .fluentform .ff-t-container { gap: 10px; }
.cwp-cta .fluentform input.ff-el-form-control {
	height: 52px; border-radius: var(--cwp-radius-sm); border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .08); color: #fff; padding: 0 16px;
}
.cwp-cta .fluentform input.ff-el-form-control::placeholder { color: #A5B4FC; }
.cwp-cta .fluentform .ff-btn-submit {
	height: 52px; border-radius: var(--cwp-radius-sm) !important; padding: 0 24px !important;
	background: var(--cwp-amber) !important; color: #1E1B4B !important; font-weight: 700 !important; border: 0 !important;
}
.cwp-cta .ff-message-success { color: #fff; border: 0; background: rgba(255, 255, 255, .1); border-radius: var(--cwp-radius-sm); }
.cwp-cta small { display: block; margin-top: 14px; color: #A5B4FC; font-size: 13px; }

/* ---------- Inner page hero ---------- */
.cwp-page-hero {
	padding: clamp(56px, 8vw, 96px) var(--cwp-gutter) clamp(40px, 6vw, 64px);
	margin: 0 !important;
	text-align: center;
	background:
		radial-gradient(700px 360px at 50% -20%, #E0E7FF 0, transparent 65%),
		#fff;
	border-bottom: 1px solid var(--cwp-border);
}
.cwp-page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem) !important; font-weight: 800; margin: 0 0 14px; }
.cwp-page-hero p { max-width: 60ch; margin: 0 auto; font-size: 1.15rem; }

/* ---------- Shop hub ---------- */
.cwp-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cwp-choice {
	position: relative;
	display: flex; flex-direction: column;
	border-radius: 24px;
	padding: clamp(28px, 4vw, 44px);
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
	isolation: isolate;
	min-height: 380px;
	box-shadow: var(--cwp-shadow-lg);
	transition: transform .3s, box-shadow .3s;
}
.cwp-choice::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%);
}
.cwp-choice::after {
	content: ""; position: absolute; right: -60px; bottom: -60px; z-index: -1;
	width: 240px; height: 240px; border-radius: 50%;
	border: 40px solid rgba(255, 255, 255, .08);
}
.cwp-choice:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px rgba(30, 27, 75, .45); }
.cwp-choice--woo { background: linear-gradient(140deg, #7C3AED 0%, #5B21B6 100%); }
.cwp-choice--fct { background: linear-gradient(140deg, #2563EB 0%, #1E3A8A 100%); }
.cwp-choice__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.cwp-choice__logo {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
	background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
	font-family: var(--cwp-heading); font-weight: 800; font-size: 20px;
}
.cwp-choice__status { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.cwp-choice__status--live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; margin-right: 7px; vertical-align: 1px; }
.cwp-choice h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 48px 0 10px; }
.cwp-choice p { color: rgba(255, 255, 255, .82); margin: 0 0 28px; max-width: 42ch; }
.cwp-choice__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cwp-choice__meta span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.cwp-choice__cta { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: #fff; color: var(--cwp-ink); font-weight: 700; padding: 13px 22px; border-radius: var(--cwp-radius-sm); transition: gap .2s; }
.cwp-choice:hover .cwp-choice__cta { gap: 16px; }
.cwp-choice--woo .cwp-choice__cta { color: #5B21B6; }
.cwp-choice--fct .cwp-choice__cta { color: #1E40AF; }

.cwp-page-hero .cwp-crumbs { text-align: center !important; max-width: none; font-size: 14px; color: var(--cwp-muted); margin: 0 0 18px !important; }
.cwp-crumbs a { color: var(--cwp-muted); text-decoration: none; }
.cwp-crumbs a:hover { color: var(--cwp-accent); }
.cwp-crumbs span { margin: 0 8px; opacity: .6; }
.cwp-page-hero .cwp-platform__logo { margin: 0 auto 18px; width: 60px; height: 60px; font-size: 18px; }
.cwp-page-hero--woo { background: radial-gradient(700px 360px at 50% -20%, #EDE9FE 0, transparent 65%), #fff; }
.cwp-page-hero--fct { background: radial-gradient(700px 360px at 50% -20%, #DBEAFE 0, transparent 65%), #fff; }

/* Product listing cards */
.cwp-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cwp-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cwp-border); border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cwp-pcard:hover { transform: translateY(-3px); box-shadow: var(--cwp-shadow-lg); }
.cwp-pcard__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #EDE9FE, #F5F3FF 55%, #FEF3C7); display: grid; place-items: center; }
.cwp-pcard__media img { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--cwp-shadow-lg); }
.cwp-pcard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cwp-pcard__body .cwp-tag { align-self: flex-start; }
.cwp-pcard__body h3 { font-size: 20px; margin: 10px 0 8px; }
.cwp-pcard__body p { font-size: 15px; margin: 0 0 20px; flex: 1; }
.cwp-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--cwp-border); padding-top: 18px; }
.cwp-pcard__price { font-family: var(--cwp-heading); font-weight: 800; font-size: 22px; color: var(--cwp-ink); }
.cwp-pcard__foot a { font-weight: 600; font-size: 15px; color: #fff; background: var(--cwp-accent); padding: 10px 16px; border-radius: var(--cwp-radius-sm); text-decoration: none; }
.cwp-pcard__foot a:hover { background: var(--cwp-accent-hover); }
.cwp-pcard--soon { border-style: dashed; background: var(--cwp-soft); justify-content: center; align-items: center; text-align: center; padding: 40px 28px; min-height: 100%; }
.cwp-pcard--soon h3 { font-size: 18px; margin: 16px 0 6px; }
.cwp-pcard--soon p { font-size: 15px; margin: 0 0 18px; }
.cwp-pcard--soon a { font-weight: 600; color: var(--cwp-accent); text-decoration: none; }

/* Empty state */
.cwp-empty { margin-bottom: 40px !important; text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); border: 1px dashed #BFDBFE; border-radius: 24px; background: linear-gradient(180deg, #EFF6FF, #fff); }
.cwp-empty .cwp-icon { margin: 0 auto 18px; width: 56px; height: 56px; background: #DBEAFE; color: #1D4ED8; }
.cwp-empty h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 10px; }
.cwp-empty p { margin: 0 auto 24px; max-width: 48ch; }
.cwp-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; margin-top: 32px; }

/* ---------- Contact ---------- */
.cwp-contact > .wp-block-group__inner-container { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.cwp-contact__aside .cwp-why { margin-bottom: 14px; }
.cwp-form-card { background: #fff; border: 1px solid var(--cwp-border); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--cwp-shadow); }
.cwp-form-card .ff-el-form-control { border-radius: var(--cwp-radius-sm) !important; border-color: var(--cwp-border) !important; padding: 12px 14px !important; }
.cwp-form-card .ff-el-form-control:focus { border-color: var(--cwp-accent) !important; box-shadow: 0 0 0 4px var(--cwp-accent-soft) !important; }
.cwp-form-card .ff-btn-submit { background: var(--cwp-accent) !important; border-radius: var(--cwp-radius-sm) !important; padding: 14px 28px !important; font-weight: 600 !important; }

/* ---------- Stats (about) ---------- */
.cwp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cwp-stat { text-align: center; padding: 28px; border-radius: var(--cwp-radius); background: #fff; border: 1px solid var(--cwp-border); }
.cwp-stat strong { display: block; font-family: var(--cwp-heading); font-size: 40px; color: var(--cwp-accent); letter-spacing: -0.03em; line-height: 1.1; }
.cwp-stat span { font-size: 15px; }

/* ---------- Legal / prose ---------- */
.cwp-prose { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--cwp-gutter) clamp(64px, 8vw, 96px); }
.cwp-prose h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.cwp-prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.cwp-prose p, .cwp-prose li { color: var(--cwp-text); }
.cwp-prose a { color: var(--cwp-accent); }
.cwp-note { padding: 16px 20px; border-radius: 12px; background: var(--cwp-amber-soft); color: #92400E; font-size: 15px; border: 1px solid #FDE68A; }
.cwp-updated { color: var(--cwp-muted); font-size: 14px; }

/* ---------- FluentCart polish ---------- */
.fct-shop-app-wrapper, .fluent-cart-checkout-page, .fct-customer-dashboard-app-container {
	--fct-primary-color: var(--cwp-accent);
}
body.page .entry-content > .fluent-cart-checkout-page,
body.page .entry-content > [class*="fct-"]:first-child { padding-top: 48px; padding-bottom: 72px; }

/* ---------- Footer ---------- */
.cwp-footer { background: #0B1020; color: #94A3B8; font-size: 15px; }
.cwp-footer__inner {
	max-width: 1200px; margin: 0 auto;
	padding: 72px var(--cwp-gutter) 48px;
	display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px;
}
.cwp-footer__logo img { max-width: 170px; height: auto; }
.cwp-footer__brand p { margin: 18px 0; max-width: 34ch; }
.cwp-footer__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cwp-footer__badges li { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid #1E293B; color: #CBD5E1; }
.cwp-footer__heading { font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 4px 0 16px; font-family: inherit; }
.cwp-footer__col ul { list-style: none; padding: 0; margin: 0; }
.cwp-footer__col li { margin-bottom: 10px; }
.cwp-footer a { color: #CBD5E1; text-decoration: none; }
.cwp-footer a:hover { color: #fff; }
.cwp-footer__bottom {
	max-width: 1200px; margin: 0 auto;
	padding: 24px var(--cwp-gutter) 32px;
	border-top: 1px solid #1E293B;
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: 13px;
}
.cwp-footer__bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cwp-products { grid-template-columns: repeat(2, 1fr); }
	.cwp-trust { grid-template-columns: repeat(2, 1fr); }
	.cwp-footer__inner { grid-template-columns: repeat(2, 1fr); }
	.cwp-footer__brand { grid-column: 1 / -1; }
	.cwp-float--a { left: 8px; }
	.cwp-float--b { right: 8px; }
}
@media (max-width: 781px) {
	.cwp-grid, .cwp-steps, .cwp-stats, .cwp-grid--2, .cwp-choices, .cwp-products, .cwp-ideas { grid-template-columns: 1fr; }
	.cwp-choice { min-height: 0; }
	.cwp-product, .cwp-split, .cwp-contact, .cwp-contact > .wp-block-group__inner-container { grid-template-columns: 1fr; }
	.cwp-float { display: none; }
	.cwp-hero > .wp-block-columns { gap: 40px; }
}
@media (max-width: 520px) {
	.cwp-trust { grid-template-columns: 1fr; }
	.cwp-footer__inner { grid-template-columns: 1fr; }
	.cwp-footer__bottom { flex-direction: column; }
	.cwp-tiers { height: 160px; }
	.cwp-tier strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.cwp-card, .wp-block-button__link, .header-button { transition: none; }
	.cwp-card:hover { transform: none; }
}

/* Secondary "View details on WordPress.org" link under free-plugin buttons */
.cwp-wporg { margin: 12px 0 0 !important; font-size: 14px; }
.cwp-wporg-link { color: var(--cwp-muted); text-decoration: underline; text-underline-offset: 3px; }
.cwp-wporg-link:hover, .cwp-wporg-link:focus-visible { color: var(--cwp-accent); }

/* Comparison tables in posts (.cwp-compare, set by tools/publish-post.py for tables with 5+ columns):
   wider than the text column, compact, TierStep (2nd column) highlighted, feature column sticky when scrolled. */
.wp-block-table.cwp-compare {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}
.wp-block-table.cwp-compare table {
	min-width: 860px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}
.wp-block-table.cwp-compare th,
.wp-block-table.cwp-compare td {
	border: 0;
	border-bottom: 1px solid #e2e8f0;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}
.wp-block-table.cwp-compare thead th {
	background: #f8fafc;
	color: #0f172a;
	font-weight: 700;
	border-bottom: 2px solid #e2e8f0;
}
.wp-block-table.cwp-compare tbody tr:last-child td { border-bottom: 0; }
.wp-block-table.cwp-compare th:first-child,
.wp-block-table.cwp-compare td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	background: #fff;
	font-weight: 600;
	color: #0f172a;
	min-width: 150px;
	box-shadow: 1px 0 0 #e2e8f0;
}
.wp-block-table.cwp-compare thead th:first-child { background: #f8fafc; }
.wp-block-table.cwp-compare th:nth-child(2),
.wp-block-table.cwp-compare td:nth-child(2) {
	background: #eef2ff;
	color: #312e81;
}
.wp-block-table.cwp-compare thead th:nth-child(2) { background: #4f46e5; color: #fff; }
@media (min-width: 1024px) {
	/* Break out of the narrow text column so all plugins fit side by side. */
	.wp-block-table.cwp-compare {
		width: min(1100px, calc(100vw - 64px));
		max-width: none;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}
	.wp-block-table.cwp-compare table { min-width: 0; }
}

/* Footer social links. */
.cwp-footer__social { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 10px; }
.cwp-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #1E293B; color: #CBD5E1; }
.cwp-footer__social a:hover { color: #fff; border-color: #475569; }
