/*
 * Product pages (single product): hero, actions, plan cards, comparison
 * table, feature cards. Builds on sections.css (el-sv-*) and theme tokens.
 */

/* Hero */
.el-pd-hero { background: var(--wp--preset--color--surface); }
.el-pd-hero .el-sv-crumb, .el-pd-hero .woocommerce-breadcrumb { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--ink-3); margin-bottom: var(--wp--preset--spacing--md) !important; }
.el-pd-hero .woocommerce-breadcrumb a { color: var(--wp--preset--color--ink-2); text-decoration: none; }
.el-pd-hero .woocommerce-breadcrumb a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; }
.el-pd-hero h1 { font-size: clamp(34px, 4.4vw, 58px); }
.el-pd-hero .el-lede p { margin: 0; }
.el-pd-hero__image { margin: 0 !important; }
.el-pd-hero__image img { width: 100%; height: auto; border-radius: var(--el-radius); box-shadow: var(--wp--preset--shadow--float); }

/* Hero actions */
.el-pd-actions { display: grid; gap: var(--wp--preset--spacing--md); }
.el-pd-actions__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.el-pd-actions__buttons .el-btn { padding: 14px 22px; font-size: var(--wp--preset--font-size--medium); }
.el-pd-actions__docs { font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--accent); text-underline-offset: 0.25em; }
.el-pd-actions__proof { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--ink-2); }
.el-pd-actions__proof li { display: inline-flex; align-items: center; gap: 8px; }
.el-pd-actions__proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--green); }
.el-pd-actions__proof strong { color: var(--wp--preset--color--accent); }

.el-btn--ghost { background: var(--wp--preset--color--background); color: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--border); }
.el-btn--ghost:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }

/* Content sections */
.el-pd-content > .el-section:first-child { padding-top: var(--wp--preset--spacing--2-xl) !important; }
.el-pd-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--md); }
.el-pd-feats > * { margin: 0 !important; }
.el-pd-feat { padding: clamp(22px, 2.2vw, 30px); border: 1px solid var(--wp--preset--color--border); border-radius: var(--el-radius); background: var(--wp--preset--color--background); }
.el-pd-feat > * { margin: 0 !important; }
.el-pd-feat h3 { font-size: var(--wp--preset--font-size--h-xs); margin-bottom: 8px !important; }
.el-pd-feat p { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); line-height: 1.6; }
.el-pd-feat .el-sv-tag { margin-bottom: 10px !important; }

.el-pd-pro .el-sv-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.el-pd-pro .el-section-head .el-lede { color: var(--wp--preset--color--on-dark-text-2); }

/* Free vs Pro table */
.el-pd-compare { overflow-x: auto; }
.el-pd-compare table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--wp--preset--color--border); border-radius: var(--el-radius); overflow: hidden; font-size: var(--wp--preset--font-size--small); }
.el-pd-compare :is(th, td) { padding: 14px 18px; text-align: left; border-top: 1px solid var(--wp--preset--color--border); }
.el-pd-compare thead th { border-top: 0; background: var(--wp--preset--color--surface); font-weight: 700; color: var(--wp--preset--color--accent); }
.el-pd-compare :is(th, td):not(:first-child) { text-align: center; width: 18%; }
.el-pd-compare td.yes::before { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--wp--preset--color--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177844' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; vertical-align: middle; }
.el-pd-compare td.no::before { content: "\2014"; color: var(--wp--preset--color--ink-3); }
.el-pd-compare .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Plans */
.el-pd-plans { display: grid; gap: var(--wp--preset--spacing--md); scroll-margin-top: calc(var(--el-header-h) + 24px); }
.el-pd-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.el-pd-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.el-pd-plan { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--wp--preset--color--border); border-radius: var(--el-radius); background: var(--wp--preset--color--background); }
.el-pd-plan > * { margin: 0; }
.el-pd-plan--annual { border: 2px solid var(--wp--preset--color--accent); box-shadow: var(--wp--preset--shadow--card); }
.el-pd-plan__name { font-size: var(--wp--preset--font-size--h-xs); }
.el-pd-plan__price { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--wp--preset--color--accent); line-height: 1.1; }
.el-pd-plan__price .subscription-details, .el-pd-plan__price small { font-size: var(--wp--preset--font-size--small); font-weight: 500; color: var(--wp--preset--color--ink-3); letter-spacing: 0; }
.el-pd-plan__price del { font-size: 0.6em; color: var(--wp--preset--color--ink-3); }
.el-pd-plan__note { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--ink-3); }
.el-pd-plan__lines { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 8px; font-size: var(--wp--preset--font-size--small); }
.el-pd-plan__lines li { position: relative; padding-left: 26px; }
.el-pd-plan__lines li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; background: var(--wp--preset--color--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177844' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.el-pd-plan .el-btn { margin-top: auto; width: 100%; padding: 14px 20px; }
.el-pd-plans__refund { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink-2); }

@media (max-width: 1023px) {
	.el-pd-feats, .el-pd-pro .el-sv-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.el-pd-plans--3, .el-pd-plans--2 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
	.el-pd-feats, .el-pd-pro .el-sv-perks { grid-template-columns: minmax(0, 1fr); }
	.el-pd-actions__buttons .el-btn { width: 100%; }
}

/* Headings on the navy band, and a centred pricing head */
.el-pd-pro :is(h2, h3), .el-pd-pro .el-eyebrow { color: var(--wp--preset--color--on-dark-text); }
.el-pd-pricing .el-sv-head { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.el-pd-pricing .el-sv-head > * { margin-inline: auto !important; text-align: center; }
.el-pd-pricing .el-sv-head .el-eyebrow { justify-content: center; }
.el-pd-pricing .el-sv-head .el-lede { margin-top: var(--wp--preset--spacing--sm) !important; }
.el-pd-pricing .el-pd-plans { margin-top: var(--wp--preset--spacing--xl); }

/* ------------------------------------------------------------------
 * Product hero options (wpmozo/product-hero), 28/10/2026.
 * a: text + buy box · b: image + details · c: centred + plan cards
 * ------------------------------------------------------------------ */
.el-dummy { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px dashed #B58900; border-radius: 6px; background: #FFF4C2; color: #5A4500; font: 700 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; text-transform: uppercase; vertical-align: middle; }
.el-ph { background: var(--wp--preset--color--surface); padding: clamp(32px, 4vw, 56px) var(--wp--style--root--padding-right, 24px) clamp(64px, 7vw, 104px); margin-top: 0 !important; }
.el-ph__in { max-width: var(--wp--style--global--wide-size, 1440px); margin: 0 auto; display: grid; gap: clamp(36px, 5vw, 88px); align-items: start; }
.el-ph__text > * { margin: 0; }
.el-ph__crumb { font-size: 14px; color: var(--wp--preset--color--ink-3); margin-bottom: 22px !important; }
.el-ph__crumb a { color: var(--wp--preset--color--ink-2); text-decoration: none; }
.el-ph__crumb a:hover { text-decoration: underline; }
.el-ph__title { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.el-ph__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px !important; font-size: 16px; font-weight: 600; color: var(--wp--preset--color--ink-2); text-decoration: none; }
.el-ph__stars { color: #F5A524; font-size: 20px; letter-spacing: 2px; }
.el-ph__lede { margin-top: 22px !important; max-width: 60ch; }
.el-ph__lede p { margin: 0; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.65; color: var(--wp--preset--color--ink-2); }

.el-ph__links { list-style: none; padding: 0; margin: 30px 0 0 !important; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.el-ph__links > li { position: relative; }
.el-ph__links > li > :is(a, button) { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--wp--preset--color--accent); text-decoration: none; cursor: pointer; }
.el-ph__links > li > :is(a, button):hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--green); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.el-ph__links svg { width: 20px; height: 20px; fill: none; stroke: var(--wp--preset--color--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.el-ph__pop { position: absolute; z-index: 20; left: 0; top: calc(100% + 12px); width: min(320px, 80vw); padding: 20px; border-radius: 14px; background: #fff; box-shadow: var(--wp--preset--shadow--float); border: 1px solid var(--wp--preset--color--border); display: grid; gap: 12px; }
.el-ph__pop[hidden] { display: none; }
.el-ph__pop p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--wp--preset--color--ink-2); }
.el-ph__pop .el-btn { justify-self: start; }
.el-ph__pop-alt { font-size: 14px; color: var(--wp--preset--color--ink-2); }

/* Buy box: plan choices + panel */
.el-ph__buy { display: grid; gap: 18px; }
.el-ph__choices { display: flex; gap: 6px; }
.el-ph__choice { flex: 1; cursor: pointer; font: inherit; color: var(--wp--preset--color--ink-2); }
.el-ph__price { font-size: clamp(34px, 3.2vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--wp--preset--color--accent); margin: 0; }
.el-ph__price .subscription-details { font-size: 16px; font-weight: 500; color: var(--wp--preset--color--ink-3); letter-spacing: 0; }
.el-ph__note { margin: 6px 0 0; font-size: 15px; color: var(--wp--preset--color--ink-3); }
.el-ph__lines { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 16px; }
.el-ph__lines li { position: relative; padding-left: 28px; }
.el-ph__lines li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 19px; height: 19px; border-radius: 50%; background: var(--wp--preset--color--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177844' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.el-ph__cta { width: 100%; padding: 16px 22px !important; font-size: 18px !important; margin-top: 22px; }
.el-ph__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 4px 0 0 !important; font-size: 14px; color: var(--wp--preset--color--ink-3); }
.el-ph__trust span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--wp--preset--color--green); vertical-align: 2px; }

/* a: text left, buy box (tabs) right */
.el-ph--a .el-ph__in { grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.8fr); }
.el-ph--a .el-ph__side { position: sticky; top: calc(var(--el-header-h) + 24px); }
.el-ph--a .el-ph__buy { padding: clamp(24px, 2.4vw, 34px); border-radius: 20px; background: #fff; border: 1px solid var(--wp--preset--color--border); box-shadow: var(--wp--preset--shadow--card); }
.el-ph__buy--tabs .el-ph__choices { padding: 5px; border-radius: 12px; background: var(--wp--preset--color--surface); }
.el-ph__buy--tabs .el-ph__choice { padding: 10px 8px; border: 0; border-radius: 9px; background: transparent; font-size: 15px; font-weight: 700; }
.el-ph__buy--tabs .el-ph__choice[aria-checked="true"] { background: #fff; color: var(--wp--preset--color--accent); box-shadow: 0 1px 3px rgba(0, 0, 66, 0.12); }

/* b: image left, details + stacked choices right */
.el-ph--b .el-ph__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.el-ph--b .el-ph__img, .el-ph--c .el-ph__img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--wp--preset--shadow--float); }
.el-ph--b .el-ph__buy { margin-top: 30px !important; }
.el-ph__buy--rows .el-ph__choices { flex-direction: column; gap: 10px; }
.el-ph__buy--rows .el-ph__choice { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px 16px 50px; position: relative; border: 1.5px solid var(--wp--preset--color--border); border-radius: 14px; background: #fff; text-align: left; }
.el-ph__buy--rows .el-ph__choice::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--wp--preset--color--border); background: #fff; }
.el-ph__buy--rows .el-ph__choice[aria-checked="true"] { border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 3px var(--wp--preset--color--accent-light); }
.el-ph__buy--rows .el-ph__choice[aria-checked="true"]::before { border: 5px solid var(--wp--preset--color--accent); }
.el-ph__choice-name { font-size: 17px; font-weight: 700; color: var(--wp--preset--color--accent); }
.el-ph__choice-price { font-size: 17px; font-weight: 700; color: var(--wp--preset--color--ink); }
.el-ph__choice-price .subscription-details { font-weight: 500; color: var(--wp--preset--color--ink-3); font-size: 14px; }
.el-ph__buy--rows .el-ph__cta { margin-top: 4px; }
.el-ph__buy--rows .el-ph__trust { justify-content: flex-start; }

/* c: centred, plan cards, image below */
.el-ph--c .el-ph__in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.el-ph--c .el-ph__text { display: flex; flex-direction: column; align-items: center; max-width: 980px; }
.el-ph--c .el-ph__lede { margin-inline: auto; }
.el-ph--c .el-ph__links { justify-content: center; }
.el-ph--c .el-ph__trust { margin-top: 16px !important; }
.el-ph--c .el-ph__media { max-width: 1080px; width: 100%; }
.el-ph__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 820px; margin-top: 34px !important; }
.el-ph__card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--wp--preset--color--border); }
.el-ph__card.is-main { border: 2px solid var(--wp--preset--color--accent); box-shadow: var(--wp--preset--shadow--card); }
.el-ph__card-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--wp--preset--color--ink-2); }
.el-ph__card .el-ph__price { font-size: clamp(26px, 2.2vw, 32px); }
.el-ph__card .el-btn { width: 100%; margin-top: 14px; }

/* Screenshots strip */
.el-ph-shots { background: var(--wp--preset--color--surface); padding: 0 var(--wp--style--root--padding-right, 24px) clamp(56px, 6vw, 88px); margin-top: 0 !important; scroll-margin-top: calc(var(--el-header-h) + 24px); }
.el-ph-shots__in { max-width: var(--wp--style--global--wide-size, 1440px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.el-ph-shots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--wp--preset--color--border); background: #fff; transition: transform 0.15s var(--el-ease), box-shadow 0.15s var(--el-ease); }
.el-ph-shots a:hover { transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--card); }
.el-ph-shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }

/* Staging-only option switcher */
.el-ph-switch { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: var(--wp--preset--color--accent); box-shadow: var(--wp--preset--shadow--float); font-size: 13px; color: #fff; }
.el-ph-switch span { padding: 0 6px; font-weight: 600; opacity: 0.8; }
.el-ph-switch a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 800; text-decoration: none; }
.el-ph-switch a[aria-current] { background: var(--wp--preset--color--green); color: var(--wp--preset--color--accent); }

@media (max-width: 1023px) {
	.el-ph--a .el-ph__in, .el-ph--b .el-ph__in { grid-template-columns: minmax(0, 1fr); }
	.el-ph--a .el-ph__side { position: static; }
	.el-ph-shots__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.el-ph__cards { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------
 * Widget library (long product pages: Addons for Elementor, Blocks).
 * All original text and images stay on the page.
 * ------------------------------------------------------------------ */
.el-wl-intro { max-width: 860px; }
.el-wl-intro h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.025em; margin: 0 0 20px !important; }
.el-wl-intro p { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.7; color: var(--wp--preset--color--ink-2); }

.el-wl-rows { display: grid; gap: clamp(64px, 8vw, 120px); }
.el-wl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.el-wl-row.is-rev .el-wl-row__im { order: -1; }
.el-wl-row__tx > * { margin: 0; }
.el-wl-row__tx h2 { font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -0.02em; margin: 0 0 18px !important; }
.el-wl-row__tx p { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; color: var(--wp--preset--color--ink-2); }
.el-wl-row__tx p + p { margin-top: 1em; }
.el-wl-row__im figure { margin: 0; }
.el-wl-row__im img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--wp--preset--shadow--float); background: #fff; }

.el-wl-bar { position: sticky; top: calc(var(--el-header-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: clamp(28px, 3vw, 44px); padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border: 1px solid var(--wp--preset--color--border); box-shadow: 0 6px 24px -12px rgba(0, 0, 66, 0.18); }
.el-wl-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--wp--preset--color--surface); }
.el-wl-tabs button { padding: 10px 18px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--wp--preset--color--ink-2); cursor: pointer; }
.el-wl-tabs button span { margin-left: 6px; font-weight: 600; color: var(--wp--preset--color--ink-3); }
.el-wl-tabs button[aria-selected="true"] { background: #fff; color: var(--wp--preset--color--accent); box-shadow: 0 1px 3px rgba(0, 0, 66, 0.12); }
.el-wl-search input { width: min(340px, 70vw); height: 46px; padding: 0 16px 0 42px; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; font: inherit; font-size: 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F80' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center / 18px no-repeat; }
.el-wl-search input:focus { outline: none; border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 3px var(--wp--preset--color--accent-light); }

.el-wl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px); }
.el-wl-grid > * { margin: 0 !important; }
.el-wl-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--wp--preset--color--border); scroll-margin-top: calc(var(--el-header-h) + 96px); transition: box-shadow 0.2s var(--el-ease); }
.el-wl-card:hover { box-shadow: var(--wp--preset--shadow--card); }
.el-wl-card[hidden] { display: none; }
.el-wl-card__im { background: var(--wp--preset--color--surface); padding: 18px 18px 0; }
.el-wl-card__im figure { margin: 0 !important; }
.el-wl-card__im img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; border-radius: 10px 10px 0 0; }
.el-wl-card__tx { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.el-wl-card__tx > * { margin: 0 !important; }
.el-wl-card h3 { font-size: clamp(19px, 1.4vw, 22px) !important; line-height: 1.3; letter-spacing: -0.01em; margin: 0 !important; }
.el-wl-badge { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px !important; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.el-wl-badge.is-free { background: var(--wp--preset--color--mint); color: var(--wp--preset--color--green-text); }
.el-wl-badge.is-pro { background: var(--wp--preset--color--accent); color: #fff; }
.el-wl-card__desc p { font-size: 16px; line-height: 1.7; color: var(--wp--preset--color--ink-2); margin: 0; }
.el-wl-card__desc p + p { margin-top: 0.8em; }
.el-wl-card__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.el-wl-more { align-self: flex-start; margin-top: 4px !important; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--wp--preset--color--accent); cursor: pointer; text-decoration: underline; text-decoration-color: var(--wp--preset--color--green); text-underline-offset: 0.25em; }
.el-wl-empty { display: none; padding: 40px; text-align: center; color: var(--wp--preset--color--ink-3); }
.el-wl-empty.is-on { display: block; }

.el-wl-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.el-wl-list { padding: clamp(24px, 2.6vw, 36px); border-radius: 18px; background: #fff; border: 1px solid var(--wp--preset--color--border); }
.el-wl-list h3 { margin: 0 0 18px !important; font-size: 22px; }
.el-wl-list ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.3em; font-size: 16px; line-height: 1.6; }
.el-wl-list li { break-inside: avoid; margin: 0 0 6px; }
.el-wl-faq { max-width: 960px; margin-inline: auto; }
.el-wl-faq .schema-faq-section { padding: 26px 0; border-bottom: 1px solid var(--wp--preset--color--border); }
.el-wl-faq .schema-faq-question { display: block; font-size: clamp(19px, 1.5vw, 23px); color: var(--wp--preset--color--accent); }
.el-wl-faq .schema-faq-answer { margin: 12px 0 0; font-size: 17px; line-height: 1.7; color: var(--wp--preset--color--ink-2); }

@media (max-width: 1100px) { .el-wl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .el-wl-row, .el-wl-lists { grid-template-columns: minmax(0, 1fr); } .el-wl-row.is-rev .el-wl-row__im { order: 0; } }
@media (max-width: 640px) { .el-wl-grid { grid-template-columns: minmax(0, 1fr); } .el-wl-list ol { columns: 1; } .el-wl-bar { position: static; } }
/* Tall images in highlight rows scroll inside a frame instead of stretching the row */
.el-wl-row__im { max-height: min(640px, 75vh); overflow-y: auto; border-radius: 18px; box-shadow: var(--wp--preset--shadow--float); background: #fff; scrollbar-width: thin; }
.el-wl-row__im img { box-shadow: none; border-radius: 0; }
.el-wl-row { align-items: start; }
.el-wl-row__tx { position: sticky; top: calc(var(--el-header-h) + 32px); }
.el-wl-lists { align-items: start; }
.el-wl-lists > * { margin: 0 !important; }
@media (max-width: 900px) { .el-wl-row__tx { position: static; } }
.el-wl-list h4 { margin: 28px 0 12px !important; font-size: 15px !important; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--green); }
.el-wl-list h3 + h4 { margin-top: 8px !important; }

/* Screenshots at the end of the page */
.el-ph-shots { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(72px, 8vw, 120px); }
.el-ph-shots__head { max-width: var(--wp--style--global--wide-size, 1440px); margin: 0 auto clamp(28px, 3vw, 44px); }
.el-ph-shots__head h2 { margin: 0 0 8px !important; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.025em; }
.el-ph-shots__head p { margin: 0; color: var(--wp--preset--color--ink-3); }
.el-ph-shots__in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.el-ph-shots img { aspect-ratio: 16 / 10; }
@media (max-width: 1023px) { .el-ph-shots__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .el-ph-shots__in { grid-template-columns: minmax(0, 1fr); } }

/* Text-only highlight rows (library pages) */
.el-wl-row.is-text { grid-template-columns: minmax(0, 860px); }
.el-wl-row.is-text .el-wl-row__tx { position: static; }

/* ------------------------------------------------------------------
 * Story layout (product pages up to ~50 sections), original blocks kept.
 * ------------------------------------------------------------------ */
.el-st-prose > * { margin-top: 0; margin-bottom: 0; }
.el-st-prose > * + * { margin-top: 1.2em !important; }
.el-st-prose h2 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin-top: 0 !important; margin-bottom: 0.5em !important; }
.el-st-prose h3 { font-size: clamp(21px, 1.7vw, 26px); margin-top: 1.6em !important; }
.el-st-prose :is(p, li) { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.75; color: var(--wp--preset--color--ink-2); }
.el-st-prose li + li { margin-top: 0.45em; }
.el-st-prose ul, .el-st-prose ol { padding-left: 1.3em; }
.el-st-prose a { color: var(--wp--preset--color--accent); font-weight: 600; }
.el-st-prose figure, .el-st-prose .wp-block-image { margin: 0; }
.el-st-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.el-st-introwrap .el-st-prose { max-width: 860px; }
.el-st-introwrap .el-st-prose :is(p) { font-size: clamp(18px, 1.4vw, 21px); }
.el-st-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.el-st-row.is-rev .el-st-row__im { order: -1; }
.el-st-row.is-text { grid-template-columns: minmax(0, 860px); }
.el-st-row__im img { width: 100%; box-shadow: var(--wp--preset--shadow--float); background: #fff; }
.el-st-row__im { max-height: min(680px, 80vh); overflow-y: auto; border-radius: 18px; scrollbar-width: thin; }
.el-st-flow { max-width: 1200px; margin-inline: auto; }
.el-st-flow .wp-block-columns { gap: clamp(16px, 2vw, 32px); margin-top: 1.4em !important; }
.el-st-flow .wp-block-separator { border: 0; border-top: 1px solid var(--wp--preset--color--border); margin: 1em 0 !important; opacity: 1; }
.el-st-sec .wpmozo-custom-button { display: inline-flex; padding: 14px 24px; border-radius: var(--el-radius-sm); background: var(--wp--preset--color--accent) !important; color: #fff !important; font-family: inherit !important; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .el-st-row { grid-template-columns: minmax(0, 1fr); } .el-st-row.is-rev .el-st-row__im { order: 0; } }

/* Widget library tabs: the counts lead (owner 28/10). Selected tab is solid navy; counts sit in badges,
   Free in the free (mint) colour and Pro in navy, matching the FREE / PRO labels on the cards. */
.el-wl-bar .el-wl-tabs { gap: 6px; padding: 6px; border-radius: 16px; }
.el-wl-bar .el-wl-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 22px; border-radius: 12px; font-size: 18px; font-weight: 800; color: var(--wp--preset--color--accent); transition: background-color 0.15s var(--el-ease), color 0.15s var(--el-ease); }
.el-wl-bar .el-wl-tabs button:hover { background: #fff; }
.el-wl-bar .el-wl-tabs button span { display: inline-grid; place-items: center; min-width: 34px; height: 28px; margin: 0; padding: 0 9px; border-radius: 999px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; background: #fff; color: var(--wp--preset--color--accent); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.el-wl-bar .el-wl-tabs button[data-el-wl-filter="free"] span { background: var(--wp--preset--color--mint); color: var(--wp--preset--color--green-text); box-shadow: none; }
.el-wl-bar .el-wl-tabs button[data-el-wl-filter="pro"] span { background: var(--wp--preset--color--accent); color: #fff; box-shadow: none; }
.el-wl-bar .el-wl-tabs button[aria-selected="true"] { background: var(--wp--preset--color--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 66, 0.5); }
.el-wl-bar .el-wl-tabs button[aria-selected="true"] span { background: var(--wp--preset--color--green); color: var(--wp--preset--color--accent); box-shadow: none; }
@media (max-width: 600px) { .el-wl-bar .el-wl-tabs button { padding: 10px 14px; font-size: 16px; gap: 8px; } .el-wl-bar .el-wl-tabs button span { min-width: 30px; height: 24px; font-size: 13px; } }

/* Story intro with a screenshot: text left, image right on wide screens (owner 28/10: image was stacked under the text). */
@media (min-width: 960px) {
	.el-st-introwrap .el-st-prose:has(> :is(figure, .wp-block-image)) { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; max-width: none; }
	.el-st-introwrap .el-st-prose:has(> :is(figure, .wp-block-image)) > * { grid-column: 1; }
	.el-st-introwrap .el-st-prose:has(> :is(figure, .wp-block-image)) > :is(figure, .wp-block-image) { grid-column: 2; grid-row: 1 / span 30; align-self: center; margin-top: 0 !important; position: sticky; top: calc(var(--el-header-h) + 24px); }
	.el-st-introwrap .el-st-prose:has(> :is(figure, .wp-block-image)) > :is(figure, .wp-block-image) img { box-shadow: 0 2px 6px rgba(0, 0, 66, 0.06), 0 30px 60px -30px rgba(0, 0, 66, 0.3); }
}

/* ------------------------------------------------------------------
 * Overview band and tabbed details (owner 30/10): a half-width text intro becomes text left +
 * at-a-glance card right; text-only sections that ran back to back sit in one core/tabs block.
 * Tabs match the widget library tabs (.el-wl-tabs): solid navy when selected.
 * ------------------------------------------------------------------ */
.el-st-overview { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.el-st-overview__tx { max-width: 780px; }
.el-st-overview__tx :is(p) { font-size: clamp(18px, 1.35vw, 20px); }
.el-st-glance { padding: clamp(26px, 2.6vw, 40px); border-radius: 22px; background: #fff; border: 1px solid var(--wp--preset--color--border); box-shadow: 0 2px 6px rgba(0, 0, 66, 0.05), 0 30px 60px -36px rgba(0, 0, 66, 0.3); }
.el-st-ovsec.has-surface-background-color .el-st-glance { border-color: transparent; }
.el-st-glance > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.el-st-glance > * + * { margin-top: 18px !important; }
.el-st-glance h3 { font-size: 15px !important; font-weight: 800; line-height: 1.3; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--green); }
.el-st-glance h3 + * { margin-top: 12px !important; }
.el-st-glance p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--wp--preset--color--ink-2); }
.el-st-glance a { color: var(--wp--preset--color--accent); font-weight: 700; }
.el-st-glance__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.el-st-glance__stats > p { margin: 0 !important; padding: 14px 16px; border-radius: 14px; background: var(--wp--preset--color--surface); font-size: 15px; line-height: 1.3; color: var(--wp--preset--color--ink-3); }
.el-st-glance__stats > p:first-child { background: var(--wp--preset--color--accent); color: rgba(255, 255, 255, 0.78); }
.el-st-glance__stats > p:nth-child(2) { background: var(--wp--preset--color--mint); color: var(--wp--preset--color--green-text); }
.el-st-glance__stats strong { display: block; font-size: clamp(28px, 2.4vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--wp--preset--color--accent); }
.el-st-glance__stats > p:first-child strong { color: #fff; }
.el-st-glance__stats > p:nth-child(2) strong { color: var(--wp--preset--color--green-text); }
.el-st-ticks { list-style: none; margin: 0; padding: 0 !important; }
.el-st-ticks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.55; color: var(--wp--preset--color--ink-2); }
.el-st-ticks li + li { margin-top: 10px; }
.el-st-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--wp--preset--color--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177844' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.el-st-sec h2[id] { scroll-margin-top: calc(var(--el-header-h) + 32px); }
@media (max-width: 900px) { .el-st-overview { grid-template-columns: minmax(0, 1fr); } }

.el-st-tabsec .wp-block-tabs { max-width: 1080px; margin-inline: auto; }
.el-st-tabsec .wp-block-tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto clamp(26px, 3vw, 40px); padding: 6px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.el-st-tabsec:not(.has-background) .wp-block-tab-list { background: var(--wp--preset--color--surface); box-shadow: none; }
.el-st-tabsec .wp-block-tab-list button { padding: 12px 22px; border-radius: 12px; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--wp--preset--color--accent); transition: background-color 0.15s var(--el-ease), color 0.15s var(--el-ease); }
.el-st-tabsec .wp-block-tab-list button:hover { background: var(--wp--preset--color--surface); }
.el-st-tabsec .wp-block-tab-list button[aria-selected="true"] { background: var(--wp--preset--color--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 66, 0.5); }
.el-st-tabsec .wp-block-tab-list button[aria-selected="true"]::before { display: none; }
.el-st-tabsec .wp-block-tab-list button:focus-visible { outline: 2px solid var(--wp--preset--color--green); outline-offset: 2px; }
.el-st-tabsec .wp-block-tab-panel { padding: clamp(28px, 3.6vw, 56px); border-radius: 22px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 66, 0.05), 0 30px 60px -36px rgba(0, 0, 66, 0.3); }
.el-st-tabsec:not(.has-background) .wp-block-tab-panel { border: 1px solid var(--wp--preset--color--border); box-shadow: none; }
.el-st-tabsec .wp-block-tab-panel .el-st-prose { max-width: 860px; margin-inline: auto; }
.el-st-tabsec .wp-block-tab-panel .el-st-prose h2 { font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 640px) {
	.el-st-tabsec .wp-block-tab-list { flex-wrap: nowrap; justify-content: flex-start; width: 100%; overflow-x: auto; scrollbar-width: none; }
	.el-st-tabsec .wp-block-tab-list button { flex: 0 0 auto; padding: 10px 16px; font-size: 15px; }
}

/* Centred text-only intros and full-width tick lists (owner 31/10: no half-width text with blank space on the right). */
.el-st-intro.is-centered .el-st-introwrap .el-st-prose, .el-st-sec.is-centered .el-st-prose { margin-inline: auto; text-align: center; }
.el-st-sec.is-centered .el-st-row.is-text { grid-template-columns: minmax(0, 860px); justify-content: center; }
.el-st-wide { max-width: none; }
.el-st-wide > h2 { max-width: 860px; }
.el-st-ticks.is-cols { columns: 2; column-gap: clamp(32px, 4vw, 64px); }
.el-st-ticks.is-cols li { break-inside: avoid; margin: 0 0 14px; }
.el-st-ticks.is-cols li + li { margin-top: 0; }
@media (max-width: 760px) { .el-st-ticks.is-cols { columns: 1; } }
