/* Brand layer for CartFlows steps rebuilt without Elementor. Loaded only on those steps (body.jm-step).
   Colours and fonts follow the blog's src/styles/brand-tokens.css; the look is the mockup boards
   "Sklep - Zamówienie (WordPress)" and "Sklep - Dziękujemy (WordPress)". Fonts: fontsource 5.3.0, OFL. */

@font-face {
	font-family: 'Raleway Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/raleway-latin-ext-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: 'Raleway Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/raleway-latin-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: 'Roboto Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/roboto-latin-ext-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: 'Roboto Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/roboto-latin-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Page ---------- */

body.jm-step {
	--jm-ink: #0f2a33;
	--jm-muted: #4e666e;
	--jm-line: #d3e2e3;
	--jm-link: #0b7c86;
	--jm-ground: #f3f7f7;
	--jm-mist: #e2f3f3;
	--jm-cyan: #33cbcb;
	--jm-night-ink: #0d1b22;
	--jm-night: radial-gradient(120% 95% at 20% 25%, #143a44 0%, #0d1b22 68%);
	--jm-required: #a3211a;
	--jm-body: 'Roboto Variable', Roboto, system-ui, sans-serif;
	--jm-head: 'Raleway Variable', Raleway, system-ui, sans-serif;
	margin: 0;
	background: var(--jm-ground);
	color: var(--jm-ink);
	font: 400 16px/1.6 var(--jm-body);
	-webkit-font-smoothing: antialiased;
}
.jm-step .cartflows-container *,
.jm-step .cartflows-container *::before,
.jm-step .cartflows-container *::after { box-sizing: border-box; }
.jm-step .cartflows-container :where(h1, h2, h3, p, figure) { margin: 0; }
.jm-step .cartflows-container :where(h1, h2, h3) { font-family: var(--jm-head); font-weight: 800; color: var(--jm-ink); }
.jm-step a { color: var(--jm-link); text-decoration: underline; text-underline-offset: 3px; }
.jm-step a:hover { color: var(--jm-ink); }
.jm-step :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--jm-link); outline-offset: 2px; box-shadow: none; }
.jm-step img { max-width: 100%; height: auto; }

/* Blocks are laid out here, not by block-library, so the page does not depend on which core styles load.
   The theme's flow layout puts a top margin on every child after the first; spacing here comes from gap. */
.jm-step .wp-block-group__inner-container { display: contents; }
.jm-step .cartflows-container :where(.wp-block-group, .wp-block-column, .wp-block-columns) > * { margin-block: 0; }
.jm-step .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; margin: 0; }
.jm-step .wp-block-column { min-width: 0; margin: 0; }

.jm-step .jm-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 80px; }
.jm-step .jm-card { background: #fff; border: 1px solid var(--jm-line); border-radius: 18px; }

/* Pill button: core Button block and the order button. */
.jm-step .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.jm-step .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
	background: var(--jm-cyan); color: var(--jm-night-ink);
	font: 700 16px/1.2 var(--jm-body); text-decoration: none;
}
.jm-step .wp-block-button__link:hover { color: var(--jm-night-ink); filter: brightness(1.06); }

/* ---------- Checkout: top band ---------- */

.jm-step .jm-night { background: var(--jm-night); color: #fff; }
.jm-step .jm-hero { max-width: 1100px; margin: 0 auto; padding: 56px 40px 72px; }
.jm-step .jm-hero__cover { max-width: 440px; justify-self: center; margin-inline: auto; }
.jm-step .jm-hero__cover img { display: block; width: 100%; }
.jm-step .jm-hero .wp-block-column:last-child { display: flex; flex-direction: column; gap: 24px; }
.jm-step .jm-hero h1 { font-size: 34px; line-height: 1.2; color: #fff; }
.jm-step .jm-hero p { font-size: 18px; line-height: 1.6; color: #cfe6e9; }
.jm-step .jm-hero strong { color: #fff; }

/* ---------- Checkout: CartFlows form ---------- */

.jm-step .wcf-gb-checkout-form { max-width: 1200px; margin: 0 auto; padding: 36px 80px 60px; }

.jm-step .wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout {
	--wcf-primary-color: #0b7c86;
	--wcf-heading-color: #0f2a33;
	--wcf-text-color: #0f2a33;
	--wcf-link-color: #0b7c86;
	--wcf-btn-bg-color: #33cbcb;
	--wcf-btn-bg-hover-color: #33cbcb;
	--wcf-btn-text-color: #0d1b22;
	--wcf-btn-hover-text-color: #0d1b22;
	--wcf-field-label-color: #0f2a33;
	--wcf-field-bg-color: #fff;
	--wcf-field-border-color: #4e666e;
	--wcf-field-text-color: #0f2a33;
	--wcf-payment-section-label-color: #0f2a33;
	--wcf-payment-section-bg-color: #fff;
	--wcf-payment-section-desc-bg-color: #e2f3f3;
	--wcf-payment-section-desc-text-color: #4e666e;
	font-family: var(--jm-body);
	color: var(--jm-ink);
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce h3,
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce h3 span,
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #order_review_heading {
	font: 800 21px/1.3 var(--jm-head);
	color: var(--jm-ink);
}

/* Fields: labels above, 12 px corners. */
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row label:not(.checkbox) {
	font: 500 15px/1.4 var(--jm-body);
	color: var(--jm-ink);
	margin-bottom: 6px;
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row .required { color: var(--jm-required); text-decoration: none; }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row input.input-text,
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row textarea,
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row select,
.jm-step .wcf-embed-checkout-form-modern-checkout .select2-container--default .select2-selection--single,
.jm-step .wcf-embed-checkout-form-modern-checkout #order_review .wcf-custom-coupon-field input.input-text {
	min-height: 50px;
	padding: 0 14px;
	border: 1px solid var(--jm-muted);
	border-radius: 12px;
	background: #fff;
	color: var(--jm-ink);
	font: 400 16px/1.4 var(--jm-body);
	box-shadow: none;
}
.jm-step .wcf-embed-checkout-form-modern-checkout ::placeholder { color: var(--jm-muted); opacity: 1; }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row input.input-text:focus { border-color: var(--jm-link); box-shadow: 0 0 0 1px var(--jm-link); }
.jm-step .wcf-embed-checkout-form-modern-checkout input[type='radio'],
.jm-step .wcf-embed-checkout-form-modern-checkout input[type='checkbox'] { accent-color: var(--jm-link); border-color: var(--jm-muted); }

/* Payment choice in one rounded white box. */
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment { background: none; }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment ul.payment_methods {
	border: 1px solid var(--jm-line);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment ul.payment_methods > li:not(.woocommerce-info) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 10px;
	padding: 0 16px;
	min-height: 58px;
	border-bottom: 1px solid var(--jm-line);
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment ul.payment_methods > li:last-child { border-bottom: 0; }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #payment .wc_payment_method > input.input-radio { flex: none; position: static; margin: 0; vertical-align: middle; }
.jm-step .wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce #payment .wc_payment_method > [type='radio'] + label {
	flex: 1;
	width: auto;
	margin: 0;
	padding: 17px 0;
	font: 500 15px/1.4 var(--jm-body);
	color: var(--jm-ink);
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #payment label img { max-height: 26px; margin-left: 8px; vertical-align: middle; }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment div.payment_box {
	flex: 0 0 calc(100% + 32px);
	margin: 0 -16px;
	width: calc(100% + 32px);
	padding: 16px 20px;
	border-top: 1px solid var(--jm-line);
	background: var(--jm-mist);
	color: var(--jm-muted);
	font-size: 15px;
	line-height: 1.55;
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment div.payment_box p { color: var(--jm-muted); }
.jm-step .wcf-embed-checkout-form-modern-checkout .payu-conditions-description { font-size: 13px; line-height: 1.5; color: var(--jm-muted); }

.jm-step .wcf-embed-checkout-form-modern-checkout #payment .woocommerce-privacy-policy-text p { font-size: 13px; line-height: 1.6; color: var(--jm-muted); text-align: left; }
.jm-step .wcf-embed-checkout-form-modern-checkout #payment .woocommerce-terms-and-conditions-wrapper label.checkbox { font: 400 15px/1.5 var(--jm-body); color: var(--jm-ink); }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #payment .woocommerce-terms-and-conditions-wrapper a { color: var(--jm-link); text-decoration: underline; text-underline-offset: 3px; }
.jm-step .wcf-embed-checkout-form-modern-checkout #payment abbr.required { color: var(--jm-required); text-decoration: none; }

/* "Kup teraz": the cyan pill with night ink. */
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #payment #place_order {
	min-height: 54px;
	border: 0;
	border-radius: 999px;
	background: var(--jm-cyan);
	color: var(--jm-night-ink);
	font: 700 18px/1 var(--jm-body);
	box-shadow: none;
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #payment #place_order:hover { background: var(--jm-cyan); color: var(--jm-night-ink); filter: brightness(1.06); }

/* "Twoje zamówienie" in a rounded white box. */
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout table.shop_table {
	border: 1px solid var(--jm-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	font-size: 17px;
	color: var(--jm-ink);
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout table.shop_table :is(th, td) {
	padding: 20px 22px;
	border: 0;
	border-top: 1px solid var(--jm-line);
	color: var(--jm-ink);
	background: none;
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout table.shop_table thead th {
	padding-block: 14px;
	border-top: 0;
	background: var(--jm-mist);
	color: var(--jm-muted);
	font: 700 13px/1.4 var(--jm-body);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce-checkout table.shop_table tr.order-total :is(th, td) { font-weight: 700; }

/* Coupon: field plus an outlined pill. */
.jm-step .wcf-embed-checkout-form-modern-checkout .wcf-custom-coupon-field { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 15px; }
.jm-step .wcf-embed-checkout-form-modern-checkout .wcf-custom-coupon-field :is(.wcf-coupon-col-1, .wcf-coupon-col-2) { width: auto; padding: 0; }
.jm-step .wcf-embed-checkout-form-modern-checkout #order_review .wcf-custom-coupon-field input.input-text { min-height: 46px; font-size: 15px; }
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #order_review .wcf-custom-coupon-field .wcf-submit-coupon.button {
	width: 100%;
	min-height: 46px;
	border: 2px solid var(--jm-link);
	border-radius: 999px;
	background: #fff;
	color: var(--jm-ink);
	font: 700 15px/1 var(--jm-body);
}
.jm-step .wcf-embed-checkout-form-modern-checkout .woocommerce #order_review .wcf-custom-coupon-field .wcf-submit-coupon.button:hover { background: var(--jm-mist); border-color: var(--jm-link); color: var(--jm-ink); }

/* Phone: the collapsed order summary bar. Its wrapper stays in the page at 0 px on desktop, so the box goes on the toggle. */
.jm-step .wcf-embed-checkout-form-modern-checkout .wcf-collapsed-order-review-section { border: 0; background: none; }
.jm-step .wcf-embed-checkout-form-modern-checkout .wcf-order-review-toggle {
	border: 1px solid var(--jm-line);
	border-radius: 16px;
	background: #fff;
	color: var(--jm-ink);
}
.jm-step .wcf-embed-checkout-form-modern-checkout .wcf-order-review-toggle-text { color: var(--jm-link); }

/* ---------- Checkout: guarantee cards ---------- */

.jm-step .jm-trust { background: var(--jm-mist); }
.jm-step .jm-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 56px 72px; }
.jm-step .jm-trust__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	column-gap: 16px;
	row-gap: 6px;
	align-content: start;
	padding: 22px;
}
.jm-step .jm-trust__item::before {
	content: '';
	grid-row: 1 / span 2;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--jm-icon) center / 40px no-repeat, var(--jm-night);
}
.jm-step .jm-trust__item > * { grid-column: 2; }
.jm-step .jm-trust__item.is-guarantee { --jm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333cbcb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5' stroke-opacity='.35'/%3E%3Cpath d='M8.3 12.3l2.5 2.5 4.9-5.2'/%3E%3C/svg%3E"); }
.jm-step .jm-trust__item.is-privacy { --jm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333cbcb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.6-3 8.2-7 9.6C8 19.2 5 15.6 5 11V6z'/%3E%3Cpath d='M9.3 11.8l1.9 1.9 3.6-3.8'/%3E%3C/svg%3E"); }
.jm-step .jm-trust__item.is-payment { --jm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333cbcb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8.5 10.5V7.5a3.5 3.5 0 0 1 7 0v3'/%3E%3Ccircle cx='12' cy='15.5' r='1.2' fill='%2333cbcb'/%3E%3C/svg%3E"); }
.jm-step .jm-trust__title { font: 800 19px/1.3 var(--jm-head); color: var(--jm-ink); }
.jm-step .jm-trust__text { font-size: 15px; line-height: 1.6; color: var(--jm-muted); }

/* ---------- Thank-you step ---------- */

.jm-step .jm-thanks {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 72px 24px 64px;
	background: var(--jm-mist);
	text-align: center;
}
.jm-step .jm-thanks::before {
	content: '';
	width: 55px;
	height: 55px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2333cbcb'/%3E%3Cpath d='M7 12.5l3.2 3.2L17.3 8.6' fill='none' stroke='%230d1b22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.jm-step .jm-thanks h1 { font-size: 36px; line-height: 1.2; }
.jm-step .jm-thanks p { font-size: 18px; line-height: 1.6; color: var(--jm-muted); }

.jm-step .jm-promo { max-width: 1092px; margin: 48px auto; padding: 40px; border-radius: 22px; gap: 48px; }
.jm-step .jm-promo .wp-block-column:last-child { display: flex; flex-direction: column; gap: 16px; }
.jm-step .jm-promo .wp-block-image { max-width: 520px; margin-inline: auto; }
.jm-step .jm-promo h2 { font-size: 28px; line-height: 1.25; }
.jm-step .jm-promo p { font-size: 17px; line-height: 1.7; color: var(--jm-muted); }
.jm-step .jm-promo p.jm-price { font: 800 22px/1.4 var(--jm-head); color: var(--jm-ink); }
.jm-step .jm-promo p.jm-price s { margin-right: 6px; font-weight: 700; color: var(--jm-muted); }
.jm-step .jm-promo .wp-block-button__link::before {
	content: '';
	width: 16px;
	height: 16px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2.4l2.5 11.2a1.5 1.5 0 0 0 1.5 1.2h8.4a1.5 1.5 0 0 0 1.4-1.1L21 7H6.6'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='17' cy='20' r='1.2'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2.4l2.5 11.2a1.5 1.5 0 0 0 1.5 1.2h8.4a1.5 1.5 0 0 0 1.4-1.1L21 7H6.6'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='17' cy='20' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Order details from CartFlows, in a white card with brand lines. */
.jm-step .jm-details { max-width: 760px; margin: 0 auto 56px; padding: 32px; border-radius: 22px; }
.jm-step .jm-details .wcf-thankyou-wrap,
.jm-step .jm-details .woocommerce-order,
.jm-step .jm-details .woocommerce-order :is(h2, p, li, th, td, address) {
	max-width: none;
	font-family: var(--jm-body);
	color: var(--jm-ink);
	background: none;
}
.jm-step .jm-details .woocommerce-order { display: flex; flex-direction: column; gap: 28px; font-size: 15px; }
.jm-step .jm-details .woocommerce-order :is(ul.order_details, .woocommerce-order-details, .woocommerce-customer-details) { margin: 0; padding: 0; background: none; border: 0; }
.jm-step .jm-details .woocommerce-order .woocommerce-thankyou-order-received { padding: 0; font: 800 20px/1.3 var(--jm-head); text-align: left; }
.jm-step .jm-details .woocommerce-order ul.order_details { display: flex; flex-wrap: wrap; gap: 12px 0; list-style: none; }
.jm-step .jm-details .woocommerce-order ul.order_details li {
	float: none;
	margin: 0 18px 0 0;
	padding: 0 18px 0 0;
	border: 0;
	border-right: 1px solid var(--jm-line);
	color: var(--jm-muted);
	font-size: 12px;
	line-height: 1.8;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.jm-step .jm-details .woocommerce-order ul.order_details li:last-child { border-right: 0; }
.jm-step .jm-details .woocommerce-order ul.order_details li strong { display: block; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--jm-ink); }
.jm-step .jm-details .woocommerce-order h2 { margin: 0 0 14px; font: 800 22px/1.3 var(--jm-head); text-align: left; }
.jm-step .jm-details .woocommerce-order table.shop_table { width: 100%; margin: 0; border: 1px solid var(--jm-line); border-collapse: collapse; border-radius: 0; font-size: 15px; }
.jm-step .jm-details .woocommerce-order table.shop_table :is(th, td) { padding: 12px 14px; border: 0; border-top: 1px solid var(--jm-line); text-align: left; vertical-align: top; }
.jm-step .jm-details .woocommerce-order table.shop_table :is(th, td):last-child { text-align: right; }
.jm-step .jm-details .woocommerce-order table.shop_table thead th { border-top: 0; font-weight: 700; }
.jm-step .jm-details .woocommerce-order .woocommerce-customer-details .col2-set { display: block; width: 100%; }
.jm-step .jm-details .woocommerce-order .woocommerce-column { width: 100%; float: none; padding: 0; }
.jm-step .jm-details .woocommerce-order address {
	padding: 16px 18px;
	border: 1px solid var(--jm-line);
	border-radius: 12px;
	font-style: normal;
	line-height: 1.8;
}
.jm-step .jm-details .woocommerce-order address p { margin: 0; }

/* Community: round outlined buttons, not coloured squares. */
.jm-step .jm-community {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 24px 64px;
	border-top: 1px solid var(--jm-line);
	background: #fff;
	text-align: center;
}
.jm-step .jm-community h2 { font-size: 24px; line-height: 1.3; }
.jm-step .jm-community p { font-size: 16px; line-height: 1.6; color: var(--jm-muted); }
.jm-step .jm-social { display: flex; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.jm-step .jm-social .wp-social-link { margin: 0; padding: 0; background: none; color: var(--jm-ink); border-radius: 999px; }
.jm-step .jm-social .wp-social-link a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--jm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--jm-ink);
}
.jm-step .jm-social .wp-social-link a:hover { border-color: var(--jm-link); color: var(--jm-link); }
.jm-step .jm-social .wp-social-link svg { width: 20px; height: 20px; fill: currentColor; }
.jm-step .jm-social .wp-block-social-link-label.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Landing steps: webinar and presale ---------- */

.jm-step .jm-land {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 820px;
	margin: 0 auto;
	padding: 72px 24px 80px;
	text-align: center;
}
.jm-step .jm-kicker { font: 700 14px/1.4 var(--jm-body); letter-spacing: .08em; text-transform: uppercase; color: var(--jm-link); }
.jm-step .jm-night .jm-kicker { color: var(--jm-cyan); }
.jm-step .jm-land h1 { font-size: 40px; line-height: 1.2; color: #fff; }
.jm-step .jm-land p { color: #cfe6e9; }
.jm-step .jm-lead { font-size: 19px; line-height: 1.6; }
.jm-step .jm-land .wp-block-buttons { justify-content: center; }

.jm-step .jm-video { width: 100%; margin: 12px 0 4px; }
.jm-step .jm-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.jm-step .jm-video .wp-block-embed__wrapper::before { content: none; }
.jm-step .jm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sign-up form from jakmedytowac-signup.php: name, email and the button on one line where it fits. */
.jm-step .jm-signup { width: 100%; max-width: 680px; }
.jm-step .jm-signup__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 12px; }
.jm-step .jm-signup [hidden] { display: none; }
.jm-step .jm-signup__field span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jm-step .jm-signup input {
	width: 100%;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid var(--jm-muted);
	border-radius: 999px;
	background: #fff;
	color: var(--jm-ink);
	font: 400 16px/1.4 var(--jm-body);
}
.jm-step .jm-signup input::placeholder { color: var(--jm-muted); opacity: 1; }
.jm-step .jm-signup button { min-height: 50px; cursor: pointer; }
.jm-step .jm-signup button:disabled { opacity: .7; cursor: progress; }
.jm-step .jm-signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jm-step .jm-signup :is(.jm-signup__done, .jm-signup__error) { padding: 14px 18px; border-radius: 14px; font-size: 16px; line-height: 1.5; text-align: left; }
.jm-step .jm-signup .jm-signup__done { background: var(--jm-mist); color: var(--jm-ink); }
.jm-step .jm-signup .jm-signup__error { margin-top: 12px; background: #fbe9e7; color: var(--jm-required); }

.jm-step .jm-steps { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 64px 24px; text-align: center; }
.jm-step .jm-steps h2 { max-width: 760px; font-size: 30px; line-height: 1.25; }
.jm-step .jm-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1100px; }
.jm-step .jm-steps__item { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; text-align: left; }
.jm-step .jm-steps__no { font: 800 21px/1.3 var(--jm-head); color: var(--jm-link); }
.jm-step .jm-steps__item p:not(.jm-steps__no) { font-size: 16px; line-height: 1.6; color: var(--jm-muted); }

.jm-step .jm-again { padding: 0 24px 72px; }
.jm-step .jm-again__card { max-width: 1100px; margin: 0 auto; padding: 40px; border-radius: 22px; gap: 48px; }
.jm-step .jm-again__card .wp-block-column:first-child { display: flex; flex-direction: column; gap: 16px; }
.jm-step .jm-again h2 { font-size: 28px; line-height: 1.25; }
.jm-step .jm-again p:not(.jm-kicker) { font-size: 17px; line-height: 1.7; color: var(--jm-muted); }
.jm-step .jm-again .jm-signup__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.jm-step .jm-again .jm-signup button { grid-column: 1 / -1; justify-self: start; }
.jm-step .jm-again__photo { max-width: 420px; margin-inline: auto; }
.jm-step .jm-again__photo img { display: block; border-radius: 18px; }

.jm-step .jm-offer { padding: 56px 24px 80px; }
.jm-step .jm-offer__card { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 40px; border-radius: 22px; text-align: center; }
.jm-step .jm-offer h2 { font-size: 30px; line-height: 1.25; }
.jm-step .jm-offer p { font-size: 18px; line-height: 1.6; color: var(--jm-muted); }
.jm-step .jm-offer .wp-block-buttons { justify-content: center; }
.jm-step .jm-offer .jm-offer__more { font-size: 16px; }

.jm-step .jm-presale { min-height: 100vh; }
.jm-step .jm-presale .jm-land { gap: 24px; padding-top: 48px; }
.jm-step .jm-presale__logo img { display: block; }
.jm-step .jm-presale .wp-block-button__link { min-width: 220px; font-size: 18px; }
.jm-step .jm-presale .jm-presale__legal { font-size: 14px; color: #cfe6e9; }
.jm-step .jm-presale .jm-presale__legal a { color: #cfe6e9; }
.jm-step .jm-presale .jm-presale__legal a:hover { color: #fff; }

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
	.jm-step .wp-block-columns,
	.jm-step .jm-trust__grid { grid-template-columns: minmax(0, 1fr); }
	.jm-step .jm-wrap,
	.jm-step .wcf-gb-checkout-form { padding-inline: 24px; }
	.jm-step .jm-trust__grid { padding-block: 40px 56px; }
	.jm-step .jm-promo { margin: 32px 16px; padding: 24px; gap: 24px; }
	.jm-step .jm-steps__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.jm-step .jm-again__card { padding: 24px; gap: 28px; }
	.jm-step .jm-signup__fields,
	.jm-step .jm-again .jm-signup__fields { grid-template-columns: minmax(0, 1fr); }
	.jm-step .jm-signup button { width: 100%; }
}
@media (max-width: 560px) {
	.jm-step .jm-hero { padding: 32px 16px 40px; }
	.jm-step .jm-hero h1 { font-size: 28px; }
	.jm-step .jm-wrap,
	.jm-step .wcf-gb-checkout-form { padding-inline: 16px; }
	.jm-step .jm-thanks { padding: 48px 16px 40px; }
	.jm-step .jm-thanks h1 { font-size: 28px; }
	.jm-step .jm-land { padding: 40px 16px 48px; }
	.jm-step .jm-land h1 { font-size: 29px; }
	.jm-step .jm-lead { font-size: 17px; }
	.jm-step .jm-steps { padding: 48px 16px; }
	.jm-step .jm-steps h2,
	.jm-step .jm-offer h2 { font-size: 24px; }
	.jm-step .jm-again { padding: 0 16px 48px; }
	.jm-step .jm-offer { padding: 40px 16px 56px; }
	.jm-step .jm-offer__card { padding: 24px; }
	.jm-step .jm-details { margin: 0 16px 40px; padding: 20px; }
	.jm-step .jm-details .woocommerce-order ul.order_details li { flex: 1 0 100%; margin: 0; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--jm-line); }
	.jm-step .jm-details .woocommerce-order ul.order_details li:last-child { padding-bottom: 0; border-bottom: 0; }
}
