/*
 * WooCommerce-oldalak (fiók, kosár, pénztár, visszaigazolás) – B (oldalsávos) elrendezés.
 * Csak ezeken az oldalakon töltődik be (functions.php). Sablonok: woocommerce/myaccount/navigation.php, dashboard.php.
 * Színek, betűk: mint a hír-/terméklisták kártyái (navy #002F87, keret #E0E1E4, Plus Jakarta Sans / DM Sans).
 */

:root {
	--bhe-ink: #050913;
	--bhe-text: #3A3F4B;
	--bhe-muted: #74727B;
	--bhe-line: #E0E1E4;
	--bhe-navy: #002F87;
	--bhe-blue: #0D4CE6;
	--bhe-dark: #2A2E36;
	--bhe-tint: #EAF0FB;
	--bhe-ok: #1E7A45;
	--bhe-ok-bg: #EAF7EF;
	--bhe-err: #B3261E;
	--bhe-err-bg: #FDEEEE;
	--bhe-display: "Plus Jakarta Sans", sans-serif;
	--bhe-body: "DM Sans", sans-serif;
}

/* ---------- oldal-keret, cím ---------- */
body.woocommerce-account .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
	max-width: 1180px;
}
body.woocommerce-account .page-header,
body.woocommerce-cart .page-header,
body.woocommerce-checkout .page-header {
	text-align: center;
}
body.woocommerce-account .page-header .entry-title,
body.woocommerce-cart .page-header .entry-title,
body.woocommerce-checkout .page-header .entry-title {
	margin: 0 0 30px;
	font: 700 34px/1.18 var(--bhe-display);
	letter-spacing: -.02em;
	color: var(--bhe-ink);
}
/* fiók: a cím a tartalom-oszlopban (functions.php: .bhe-account-head) – kivéve az elfelejtett/új jelszó oldalt */
body.woocommerce-account:not(.woocommerce-lost-password) .page-header {
	display: none;
}

/* ---------- közös: kártya, mezők, gombok, üzenetek ---------- */
.bhe-account-card,
body.woocommerce-account .woocommerce-MyAccount-content > form,
body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details .woocommerce-column,
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2,
body.woocommerce-account .woocommerce-ResetPassword,
body.woocommerce-checkout .woocommerce-order {
	background: #fff;
	border: 1px solid var(--bhe-line);
	border-radius: 20px;
	padding: 30px;
}

body.woocommerce-account .woocommerce form .form-row,
body.woocommerce-checkout .woocommerce form .form-row {
	margin: 0 0 18px;
	padding: 0;
}
body.woocommerce-account .woocommerce form .form-row label,
body.woocommerce-account .woocommerce form label {
	display: block;
	margin-bottom: 7px;
	font: 500 14px/1.3 var(--bhe-body);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox,
body.woocommerce-account .woocommerce form label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	color: var(--bhe-text);
}
body.woocommerce-account .woocommerce .required {
	color: var(--bhe-err);
	text-decoration: none;
}
body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce select,
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .select2-container .select2-selection--single,
body.woocommerce-account .afreg_extra_fields .input-text {
	width: 100%;
	height: 48px;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--bhe-line);
	border-radius: 10px;
	background: #fff;
	font: 400 15px/1.4 var(--bhe-body);
	color: var(--bhe-ink);
	box-shadow: none;
	transition: border-color .2s;
}
body.woocommerce-account .woocommerce textarea {
	padding-block: 12px;
}
body.woocommerce-account .woocommerce input:focus,
body.woocommerce-account .woocommerce select:focus,
body.woocommerce-account .woocommerce textarea:focus {
	border-color: var(--bhe-dark);
	outline: none;
}
body.woocommerce-account .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 46px;
	color: var(--bhe-ink);
}
body.woocommerce-account .select2-container .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 10px;
}
body.woocommerce-account .woocommerce-form-row .password-input,
body.woocommerce-account .password-input {
	display: block;
	width: 100%;
}
body.woocommerce-account .woocommerce .woocommerce-form__input-checkbox {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--bhe-navy);
}

/* gombok: navy elsődleges, keretes másodlagos */
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-cart .wp-block-button.bhe-button-primary .wp-block-button__link,
body.woocommerce-checkout .woocommerce .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: none;
	min-height: 48px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 10px;
	background-color: var(--bhe-navy);
	color: #fff;
	font: 500 15px/1.2 var(--bhe-body);
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
body.woocommerce-account .woocommerce .button:hover,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-cart .wp-block-button.bhe-button-primary .wp-block-button__link:hover,
body.woocommerce-checkout .woocommerce .button:hover {
	background-color: var(--bhe-blue);
	color: #fff;
}
body.woocommerce-account .woocommerce .button.bhe-button-ghost,
body.woocommerce-cart .wp-block-button.bhe-button-ghost .wp-block-button__link {
	background: transparent;
	border-color: var(--bhe-dark);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce .button.bhe-button-ghost:hover,
body.woocommerce-cart .wp-block-button.bhe-button-ghost .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--bhe-blue);
	color: var(--bhe-blue);
}
.bhe-ico {
	flex: none;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* rendszerüzenetek (klasszikus és blokkos): színes bal szegélyű doboz */
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 22px;
	padding: 14px 18px;
	border: 0;
	border-left: 4px solid var(--bhe-navy);
	border-radius: 12px;
	background: var(--bhe-tint);
	color: var(--bhe-ink);
	font: 400 15px/1.5 var(--bhe-body);
	list-style: none;
}
body.woocommerce-account .woocommerce-error,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error,
.wc-block-components-notice-banner.is-error {
	border-left-color: var(--bhe-err);
	background: var(--bhe-err-bg);
}
body.woocommerce-account .woocommerce-message,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message,
.wc-block-components-notice-banner.is-success {
	border-left-color: var(--bhe-ok);
	background: var(--bhe-ok-bg);
}
body.woocommerce-account .woocommerce-error::before,
body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-error::before {
	content: none;
}
body.woocommerce-account .woocommerce-error li,
body.woocommerce-checkout .woocommerce-error li {
	margin: 0;
}
body.woocommerce-account .woocommerce-info .button,
body.woocommerce-account .woocommerce-message .button {
	order: 2;
	margin-left: auto;
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}
.wc-block-components-notice-banner > svg {
	display: none;
}

/* ---------- fiók: bejelentkezve – menükártya + tartalom ---------- */
body.woocommerce-account.logged-in .page-content > .woocommerce {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
body.woocommerce-account .page-content > .woocommerce::before,
body.woocommerce-account .page-content > .woocommerce::after {
	content: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation.bhe-account-nav {
	float: none;
	width: auto;
	display: grid;
	gap: 18px;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--bhe-line);
	border-radius: 20px;
}
.bhe-account-user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bhe-line);
}
.bhe-account-avatar {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--bhe-navy);
	color: #fff;
	font: 700 16px/1 var(--bhe-display);
}
.bhe-account-user-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.bhe-account-user-text b {
	font: 700 16px/1.2 var(--bhe-display);
	color: var(--bhe-ink);
}
.bhe-account-user-text small {
	font-size: 13px;
	color: var(--bhe-muted);
	overflow-wrap: anywhere;
}
.bhe-account-nav ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bhe-account-nav li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 10px;
	font: 500 15px/1.3 var(--bhe-body);
	color: var(--bhe-text);
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.bhe-account-nav li a:hover,
.bhe-account-nav li a:focus-visible {
	background: #F3F5F9;
	color: var(--bhe-ink);
}
.bhe-account-nav li.is-active a {
	background: var(--bhe-tint);
	color: var(--bhe-navy);
	font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
	display: grid;
	gap: 22px;
	align-content: start;
}
body.woocommerce-account .woocommerce-MyAccount-content > p:empty {
	display: none;
}
.bhe-account-head {
	display: grid;
	gap: 6px;
}
.bhe-account-head h1 {
	margin: 0;
	font: 700 34px/1.18 var(--bhe-display);
	letter-spacing: -.02em;
	color: var(--bhe-ink);
}
.bhe-account-head p {
	margin: 0;
	color: var(--bhe-muted);
	font-size: 15px;
}

/* Dashboard csempék */
.bhe-account-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.bhe-account-tile {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--bhe-line);
	border-radius: 16px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bhe-account-tile:hover,
.bhe-account-tile:focus-visible {
	border-color: #C9CFDA;
	box-shadow: 0 14px 30px -18px rgba(0, 47, 135, .35);
	transform: translateY(-2px);
}
.bhe-account-tile-icon,
.bhe-files-type {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--bhe-tint);
	color: var(--bhe-navy);
}
body.woocommerce-account .woocommerce .bhe-account-tile,
body.woocommerce-account .woocommerce .bhe-account-tile:hover,
body.woocommerce-account .woocommerce .bhe-account-tile * {
	text-decoration: none;
}
.bhe-account-tile b {
	font: 700 17px/1.3 var(--bhe-display);
	color: var(--bhe-ink);
}
.bhe-account-tile > span:last-child {
	font-size: 14px;
	line-height: 1.5;
	color: var(--bhe-muted);
}

/* Product files */
.bhe-files-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
	padding-bottom: 6px;
}
.bhe-files-head h2 {
	margin: 0;
	font: 700 17px/1.3 var(--bhe-display);
	color: var(--bhe-ink);
}
.bhe-files-head a {
	font: 600 14px var(--bhe-body);
	color: var(--bhe-navy);
	text-decoration: none;
}
.bhe-files ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bhe-files li {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--bhe-line);
}
.bhe-files li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.bhe-files-type {
	border-radius: 10px;
	font: 700 11px/1 var(--bhe-body);
}
.bhe-files-name {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.bhe-files-name b {
	font: 600 15px/1.35 var(--bhe-body);
	color: var(--bhe-ink);
	overflow-wrap: anywhere;
}
.bhe-files-name small {
	font-size: 13px;
	color: var(--bhe-muted);
}
body.woocommerce-account .bhe-files .button {
	min-height: 40px;
	padding: 0 14px;
	font-size: 14px;
}
.bhe-account-empty {
	display: grid;
	gap: 16px;
	justify-items: start;
}
.bhe-account-empty p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

/* Account details (és minden fiók-űrlap) */
body.woocommerce-account .woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}
body.woocommerce-account .woocommerce-EditAccountForm > *:not(.form-row-first):not(.form-row-last) {
	grid-column: 1 / -1;
}
body.woocommerce-account .woocommerce form .form-row-first,
body.woocommerce-account .woocommerce form .form-row-last {
	float: none;
	width: auto;
}
body.woocommerce-account .woocommerce-EditAccountForm .clear {
	display: none;
}
body.woocommerce-account .woocommerce-EditAccountForm em {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-style: normal;
	color: var(--bhe-muted);
}
body.woocommerce-account .woocommerce-EditAccountForm fieldset {
	margin: 4px 0 0;
	padding: 22px 0 0;
	border: 0;
	border-top: 1px solid var(--bhe-line);
	border-radius: 0;
}
body.woocommerce-account .woocommerce-EditAccountForm legend {
	float: left;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	font: 700 20px/1.25 var(--bhe-display);
	color: var(--bhe-ink);
}
/* az Addify további mezők szekciója: ha nincs benne kitölthető mező (most a feltétel-elfogadás csak a regisztrációnál
   van), a címével együtt rejtve – az Addify alapcíme „Enable Recaptcha To Get Registered”, üresre nem állítható */
body.woocommerce-account .woocommerce-EditAccountForm .afreg_extra_fields:not(:has(input:not([type="hidden"]), select, textarea)) {
	display: none;
}
body.woocommerce-account .woocommerce-EditAccountForm > p:last-of-type {
	margin: 8px 0 0;
}

/* Orders, rendelés részletei, címek (webshop mód) */
body.woocommerce-account .woocommerce-MyAccount-content h2 {
	margin: 0 0 14px;
	font: 700 20px/1.25 var(--bhe-display);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce-order-downloads,
body.woocommerce-account .woocommerce-customer-details,
body.woocommerce-checkout .woocommerce-order-downloads,
body.woocommerce-checkout .woocommerce-customer-details {
	background: #fff;
	border: 1px solid var(--bhe-line);
	border-radius: 20px;
	padding: 28px;
}
body.woocommerce-account .woocommerce-customer-details .woocommerce-column,
body.woocommerce-checkout .woocommerce-customer-details .woocommerce-column {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}
body .woocommerce .woocommerce-customer-details address {
	border: 0;
	padding: 0;
	font-style: normal;
	line-height: 1.6;
	color: var(--bhe-text);
}
body.woocommerce-account table.shop_table a,
body.woocommerce-checkout table.shop_table a {
	color: var(--bhe-navy);
	font-weight: 600;
	text-decoration: none;
}
body.woocommerce-account table.shop_table .button,
body.woocommerce-checkout table.shop_table .button {
	white-space: nowrap;
}
body.woocommerce-account .woocommerce-MyAccount-content > p mark,
body.woocommerce-account mark.order-number,
body.woocommerce-account mark.order-date,
body.woocommerce-account mark.order-status {
	padding: 0;
	background: none;
	color: var(--bhe-ink);
	font-weight: 600;
}
body.woocommerce-account table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
}
body.woocommerce-account table.shop_table th {
	padding: 0 12px 12px;
	border: 0;
	border-bottom: 1px solid var(--bhe-line);
	font: 600 12px/1 var(--bhe-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bhe-muted);
	text-align: left;
}
body.woocommerce-account table.shop_table td {
	padding: 16px 12px;
	border: 0;
	border-bottom: 1px solid var(--bhe-line);
	color: var(--bhe-ink);
	vertical-align: middle;
}
body.woocommerce-account table.shop_table tr:last-child td,
body.woocommerce-account table.shop_table tfoot tr:last-child th {
	border-bottom: 0;
}
body.woocommerce-account table.shop_table tfoot th,
body.woocommerce-account table.shop_table tfoot td {
	padding-block: 12px;
	font-size: 15px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bhe-text);
}
body.woocommerce-account table.shop_table .button {
	min-height: 40px;
	padding: 0 14px;
	font-size: 14px;
	background: transparent;
	border-color: var(--bhe-dark);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title,
body.woocommerce-account .woocommerce-Address-title h2 {
	margin: 0 0 14px;
	font: 700 17px/1.3 var(--bhe-display);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}
body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after,
body.woocommerce-account .woocommerce-columns::before,
body.woocommerce-account .woocommerce-columns::after {
	content: none;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account .woocommerce-customer-details .woocommerce-column {
	float: none;
	width: auto;
	max-width: none;
	padding: 24px;
}
body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
body.woocommerce-account .woocommerce-Address-title .edit {
	font: 600 14px var(--bhe-body);
	color: var(--bhe-navy);
	text-decoration: none;
}
body.woocommerce-account address {
	font-style: normal;
	line-height: 1.6;
	color: var(--bhe-text);
	border: 0;
	padding: 0;
}
body.woocommerce-account mark {
	background: var(--bhe-tint);
	color: var(--bhe-navy);
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 600;
}

/* ---------- fiók: kijelentkezve – belépés / regisztráció kártyák ---------- */
body.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
	width: 100%;
}
body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
	content: none;
}
body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2 {
	float: none;
	width: auto;
	max-width: none;
}
body.woocommerce-account #customer_login h2 {
	margin: 0 0 6px;
	font: 700 22px/1.25 var(--bhe-display);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce form .bhe-form-intro,
.bhe-form-intro {
	margin: 0 0 22px;
	color: var(--bhe-muted);
	font-size: 15px;
}
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	height: auto;
}
body.woocommerce-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
	display: grid;
	gap: 16px;
}
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit {
	width: 100%;
}
/* passkey (Wordfence Login Security): „or” elválasztó + keretes gomb a Log in alatt */
body.woocommerce-account .wfls-passkey-container {
	display: grid;
	gap: 16px;
	margin: 0;
}
body.woocommerce-account .wfls-passkey-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--bhe-muted);
	font-size: 13px;
}
body.woocommerce-account .wfls-passkey-divider::before,
body.woocommerce-account .wfls-passkey-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--bhe-line);
}
body.woocommerce-account .wfls-passkey-divider-label {
	padding: 0;
	background: none;
}
body.woocommerce-account .woocommerce .wfls-passkey-submit.button {
	width: 100%;
	background: transparent;
	border-color: var(--bhe-dark);
	color: var(--bhe-ink);
}
body.woocommerce-account .woocommerce .wfls-passkey-submit.button:hover {
	background: transparent;
	border-color: var(--bhe-blue);
	color: var(--bhe-blue);
}
body.woocommerce-account .woocommerce-LostPassword {
	margin: 0;
}
body.woocommerce-account .woocommerce-LostPassword a {
	font: 600 14px var(--bhe-body);
	color: var(--bhe-navy);
	text-decoration: none;
}
/* passkey-gomb (Wordfence Login Security) keretes gombként */
body.woocommerce-account .woocommerce-form-login .wfls-passkey-login,
body.woocommerce-account .woocommerce-form-login [class*="passkey"] button {
	width: 100%;
	border-radius: 10px;
}
/* regisztráció: az Addify mezők kétoszlopos rácsban; a cím-sorok teljes szélességben */
body.woocommerce-account .woocommerce-form-register .afreg_extra_fields:first-of-type {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
	margin: 0;
}
body.woocommerce-account .woocommerce-form-register .afreg_extra_fields .form-row {
	float: none;
	width: auto !important;
	margin-right: 0 !important;
}
body.woocommerce-account .woocommerce-form-register #billing_address_1,
body.woocommerce-account .woocommerce-form-register #billing_address_2 {
	grid-column: 1 / -1;
}
body.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text {
	margin: 0 0 18px;
	font-size: 13px;
	color: var(--bhe-muted);
}
body.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text p {
	margin: 0;
}

/* elfelejtett / új jelszó: keskeny kártya */
body.woocommerce-account .woocommerce-ResetPassword {
	max-width: 520px;
	margin: 0 auto;
}
body.woocommerce-account .woocommerce-ResetPassword > p:first-child {
	margin: 0 0 20px;
	color: var(--bhe-muted);
	font-size: 15px;
}
body.woocommerce-account .woocommerce-ResetPassword .form-row-first,
body.woocommerce-account .woocommerce-ResetPassword .form-row-last {
	width: 100%;
}
body.woocommerce-account .woocommerce-ResetPassword .button {
	width: 100%;
}
body.woocommerce-lost-password .woocommerce-notices-wrapper,
body.woocommerce-lost-password .woocommerce > .woocommerce-message,
body.woocommerce-lost-password .woocommerce > .woocommerce-info {
	max-width: 520px;
	margin-inline: auto;
}

/* ---------- kosár / pénztár ---------- */
.bhe-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: -10px 0 30px;
	padding: 0;
	list-style: none;
	font: 600 13px/1 var(--bhe-body);
	color: var(--bhe-muted);
}
.bhe-steps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.bhe-steps li + li::before {
	content: "";
	width: 32px;
	height: 1px;
	margin-right: 2px;
	background: #C9CDD5;
}
.bhe-steps b {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid #C9CDD5;
	border-radius: 50%;
	font-size: 12px;
}
.bhe-steps .is-current {
	color: var(--bhe-navy);
}
.bhe-steps .is-current b {
	background: var(--bhe-navy);
	border-color: var(--bhe-navy);
	color: #fff;
}
.bhe-steps .is-done b {
	background: var(--bhe-tint);
	border-color: var(--bhe-tint);
	color: var(--bhe-navy);
}
/* üres kosárnál nincs lépésjelző és oldalcím (az üres-kosár blokknak saját címe van) */
body.woocommerce-cart:has(.wp-block-woocommerce-empty-cart-block):not(:has(.wc-block-cart)) .bhe-steps,
body.woocommerce-cart:has(.wp-block-woocommerce-empty-cart-block):not(:has(.wc-block-cart)) .page-header {
	display: none;
}

/* üres kosár */
.bhe-empty-cart {
	display: grid;
	justify-items: center;
	gap: 14px;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
.bhe-empty-cart::before {
	content: "";
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--bhe-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002F87' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.5 12h12L22 7H6.2'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.bhe-empty-cart .bhe-empty-cart__title {
	margin: 0;
	font: 700 34px/1.18 var(--bhe-display);
	letter-spacing: -.02em;
	color: var(--bhe-ink);
}
.bhe-empty-cart .bhe-empty-cart__title::before {
	content: none;
}
.bhe-empty-cart .bhe-empty-cart__text {
	max-width: 46ch;
	margin: 0;
	color: var(--bhe-muted);
	font-size: 16px;
}
.bhe-empty-cart .bhe-empty-cart__buttons {
	gap: 10px;
	margin-top: 6px;
}
body.woocommerce-cart .wp-block-button.bhe-button-ghost .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid var(--bhe-dark);
	border-radius: 10px;
	font: 500 15px/1.2 var(--bhe-body);
	text-decoration: none;
}

/* teli kosár és pénztár: balra kártyák, jobbra összesítő kártya. A WooCommerce blokk-CSS-e később töltődik be,
   ezért a szabályok a body-osztállyal erősebbek. */
body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
	width: auto;
	max-width: none;
	margin-inline: 0;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: #fff;
	border: 1px solid var(--bhe-line);
	border-radius: 20px;
	padding: 24px 28px;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	padding: 8px 4px;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	align-self: start;
}
body.woocommerce-checkout .wc-block-components-form .wc-block-components-checkout-step {
	margin: 0 0 20px;
}
body.woocommerce-checkout .wc-block-components-checkout-step::before,
body.woocommerce-checkout .wc-block-components-checkout-step::after {
	content: none;
	display: none;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body .wc-block-components-totals-wrapper .wc-block-components-title,
body.woocommerce-cart .wc-block-cart .wc-block-cart__totals-title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font: 700 20px/1.25 var(--bhe-display) !important;
	text-transform: none !important;
	letter-spacing: 0;
	color: var(--bhe-ink);
}
body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-components-checkout-step__content {
	padding-left: 0;
	margin-left: 0;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart-items th,
body.woocommerce-cart .wc-block-cart .wc-block-cart-items__header {
	font: 600 12px/1 var(--bhe-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bhe-muted);
}
body.woocommerce-cart .wc-block-cart .wc-block-cart-items {
	border-top: 0;
}
body .wc-block-cart-item__image img,
body .wc-block-components-order-summary-item__image img {
	border: 1px solid var(--bhe-line);
	border-radius: 12px;
}
body .wc-block-components-product-name,
body .wc-block-components-product-name:hover {
	font: 700 16px/1.3 var(--bhe-display);
	color: var(--bhe-ink);
	text-decoration: none;
}
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name {
	font-size: 14px;
}
/* a termékek rövid leírása (jellemző-lista) a kosárban és az összesítőben nem kell */
body .wc-block-components-product-metadata__description {
	display: none;
}
body .wc-block-components-quantity-selector,
body .wc-block-components-quantity-selector::after {
	border-radius: 10px !important;
	border-color: var(--bhe-line) !important;
}
body .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	background: #fff !important;
	color: var(--bhe-ink) !important;
	border: 0 !important;
	font: 600 15px var(--bhe-body);
}
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font: 700 20px/1.3 var(--bhe-display);
	color: var(--bhe-ink);
}
body .wc-block-components-button:not(.is-link),
body .wc-block-cart__submit-button,
body .wc-block-components-checkout-place-order-button {
	min-height: 48px;
	border-radius: 10px !important;
	background-color: var(--bhe-navy) !important;
	color: #fff !important;
	font: 500 15px/1.2 var(--bhe-body) !important;
	text-decoration: none;
}
body .wc-block-components-button:not(.is-link):hover,
body .wc-block-cart__submit-button:hover,
body .wc-block-components-checkout-place-order-button:hover {
	background-color: var(--bhe-blue) !important;
}
body .wc-block-components-text-input input,
body .wc-block-components-combobox .wc-block-components-combobox-control input,
body .wc-block-components-form .wc-block-components-text-input input,
body .wc-block-components-textarea,
body .wc-blocks-components-select .wc-blocks-components-select__select {
	border: 1px solid var(--bhe-line) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--bhe-ink) !important;
}
body .wc-block-components-text-input input:focus,
body .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--bhe-dark) !important;
	box-shadow: none !important;
}
body .wc-block-components-radio-control__option,
body .wc-block-components-radio-control-accordion-option {
	border-radius: 12px;
}
body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1px var(--bhe-navy);
	background: var(--bhe-tint);
}
body .wc-block-components-radio-control__input:checked {
	border-color: var(--bhe-navy);
}
body .wc-block-components-radio-control__input:checked::before {
	background: var(--bhe-navy);
}
body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	background: #fff !important;
	border: 1px solid #B9BEC8 !important;
	border-radius: 5px;
}
body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background: var(--bhe-navy) !important;
	border-color: var(--bhe-navy) !important;
}
body .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #fff;
}

/* rendelés-visszaigazolás (pénztár → order-received) */
body.woocommerce-checkout .woocommerce-order {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
	background: transparent;
	border: 0;
	padding: 0;
}
body.woocommerce-checkout .woocommerce-thankyou-order-received {
	display: grid;
	justify-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font: 700 30px/1.2 var(--bhe-display);
	color: var(--bhe-ink);
}
body.woocommerce-checkout .woocommerce-thankyou-order-received::before {
	content: "";
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--bhe-ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / 30px no-repeat;
}
body.woocommerce-checkout ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--bhe-line);
	border-radius: 16px;
	overflow: hidden;
}
body.woocommerce-checkout ul.woocommerce-order-overview::before,
body.woocommerce-checkout ul.woocommerce-order-overview::after {
	content: none;
}
body.woocommerce-checkout ul.woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 18px 20px;
	border: 0;
	border-right: 1px solid var(--bhe-line);
	font: 600 11px/1.4 var(--bhe-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bhe-muted);
}
body.woocommerce-checkout ul.woocommerce-order-overview li:last-child {
	border-right: 0;
}
body.woocommerce-checkout ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 6px;
	font: 700 16px/1.3 var(--bhe-display);
	letter-spacing: 0;
	text-transform: none;
	color: var(--bhe-ink);
	overflow-wrap: anywhere;
}
body.woocommerce-checkout .woocommerce-order-details,
body.woocommerce-checkout .woocommerce-customer-details .woocommerce-column,
body.woocommerce-checkout .woocommerce-bacs-bank-details {
	background: #fff;
	border: 1px solid var(--bhe-line);
	border-radius: 20px;
	padding: 28px;
}
body.woocommerce-checkout .woocommerce-order-details__title,
body.woocommerce-checkout .woocommerce-column__title,
body.woocommerce-checkout .wc-bacs-bank-details-heading {
	margin: 0 0 14px;
	font: 700 18px/1.3 var(--bhe-display);
	color: var(--bhe-ink);
}
body.woocommerce-checkout .woocommerce-order h2 {
	margin: 0 0 14px;
	font: 700 20px/1.25 var(--bhe-display);
	color: var(--bhe-ink);
}
body.woocommerce-account table.shop_table thead th,
body.woocommerce-checkout table.shop_table thead th {
	padding: 0 12px 12px;
	font: 600 12px/1.2 var(--bhe-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bhe-muted);
}
body.woocommerce-account table.shop_table tbody tr:nth-child(even) td,
body.woocommerce-checkout table.shop_table tbody tr:nth-child(even) td,
body .woocommerce table.shop_table tbody tr:nth-child(2n) td {
	background: transparent;
}
body.woocommerce-checkout table.shop_table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
}
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
	padding: 14px 12px;
	border: 0;
	border-bottom: 1px solid var(--bhe-line);
}
body.woocommerce-checkout table.shop_table tfoot tr:last-child th,
body.woocommerce-checkout table.shop_table tfoot tr:last-child td {
	border-bottom: 0;
}
body.woocommerce-checkout .woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
body.woocommerce-checkout .woocommerce-customer-details .woocommerce-column {
	float: none;
	width: auto;
}
body.woocommerce-checkout .woocommerce-customer-details address {
	border: 0;
	padding: 0;
	font-style: normal;
	line-height: 1.6;
}

/* ---------- reszponzív ---------- */
@media (max-width: 1024px) {
	body.woocommerce-account.logged-in .page-content > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation.bhe-account-nav {
		padding: 16px;
	}
	.bhe-account-nav ul {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		scrollbar-width: thin;
	}
	.bhe-account-nav li a {
		white-space: nowrap;
	}
	.bhe-account-tiles {
		grid-template-columns: minmax(0, 1fr);
	}
	body.woocommerce-account #customer_login {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 767px) {
	.bhe-account-card,
	body.woocommerce-account .woocommerce-MyAccount-content > form,
	body.woocommerce-account .woocommerce-orders-table,
	body.woocommerce-account .woocommerce-order-details,
	body.woocommerce-account #customer_login > .u-column1,
	body.woocommerce-account #customer_login > .u-column2,
	body.woocommerce-account .woocommerce-ResetPassword,
	body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-components-form .wc-block-components-checkout-step,
	body.woocommerce-checkout .woocommerce-order-details,
	body.woocommerce-checkout .woocommerce-customer-details .woocommerce-column {
		padding: 20px;
		border-radius: 16px;
	}
	body.woocommerce-account .page-header .entry-title,
	body.woocommerce-cart .page-header .entry-title,
	body.woocommerce-checkout .page-header .entry-title,
	.bhe-account-head h1,
	.bhe-empty-cart .bhe-empty-cart__title {
		font-size: 26px;
	}
	body.woocommerce-account .woocommerce-EditAccountForm,
	body.woocommerce-account .woocommerce-form-register .afreg_extra_fields:first-of-type,
	body.woocommerce-account .woocommerce-Addresses,
	body.woocommerce-account .woocommerce-customer-details .woocommerce-columns,
	body.woocommerce-checkout .woocommerce-customer-details .woocommerce-columns {
		grid-template-columns: minmax(0, 1fr);
	}
	.bhe-files li {
		grid-template-columns: 44px minmax(0, 1fr);
	}
	/* kosár: a terméktáblázat fejléce mobilon nem kell (kilógott) */
	body.woocommerce-cart .wc-block-cart .wc-block-cart-items thead {
		display: none;
	}
	/* a sor-összeg mobilon nem fér el a név mellett – az egységár a név alatt, az összesen az összesítőben látszik */
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__total {
		display: none;
	}
	.bhe-steps {
		gap: 6px;
		font-size: 12px;
	}
	.bhe-steps li + li::before {
		width: 14px;
	}
	body.woocommerce-cart .wc-block-cart .wc-block-cart__main {
		padding-inline: 16px;
	}
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		margin-top: 16px;
	}
	/* rendelés-táblázatok (letöltések, tételek): a gomb és a link törhet, a táblázat nem szélesebb a kártyánál */
	body.woocommerce-account table.shop_table,
	body.woocommerce-checkout table.shop_table {
		table-layout: fixed;
	}
	body.woocommerce-account table.shop_table .button,
	body.woocommerce-checkout table.shop_table .button {
		white-space: normal;
		overflow-wrap: anywhere;
		text-align: center;
	}
	body.woocommerce-account table.shop_table td,
	body.woocommerce-checkout table.shop_table td,
	body.woocommerce-account table.shop_table th,
	body.woocommerce-checkout table.shop_table th {
		overflow-wrap: anywhere;
	}
	body.woocommerce-checkout .woocommerce-thankyou-order-received {
		font-size: 24px;
	}
	.bhe-files li .button {
		grid-column: 1 / -1;
	}
	body.woocommerce-checkout ul.woocommerce-order-overview li {
		border-right: 0;
		border-bottom: 1px solid var(--bhe-line);
	}
	body.woocommerce-checkout ul.woocommerce-order-overview li:last-child {
		border-bottom: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bhe-account-tile,
	.bhe-account-nav li a {
		transition: none;
	}
	.bhe-account-tile:hover {
		transform: none;
	}
}

/* Cloudflare Turnstile (Simple CAPTCHA with Cloudflare Turnstile) a belépő/regisztrációs/jelszó-űrlapokon:
   a plugin a widget után <br>-t tesz – helyette egységes térköz. */
body .woocommerce-form .cf-turnstile-br,
body .woocommerce-ResetPassword .cf-turnstile-br {
	display: none;
}
body .woocommerce-form .cf-turnstile,
body .woocommerce-ResetPassword .cf-turnstile {
	margin: 4px 0 18px;
	max-width: 100%;
}

/* Addify regisztrációs mezők (First/Last Name, Company, cím, Phone…): az afreg_front.css !important-tal 40 px-re veszi
   őket – a WooCommerce-mezőkkel (State/County, Email, Password, Country) egyezően 48 px. */
body.woocommerce-account .afreg_extra_fields input.input-text,
body.woocommerce-account .afreg_extra_fields select.input-select {
	height: 48px !important;
	min-height: 48px !important;
	max-height: none !important;
}
