/**
 * WooCommerce My Account page (/my-account/) — checkout-v3 / account-panel language
 */

/* ——— Page shell ——— */
body.woocommerce-account #content:has(.woocommerce-MyAccount-content),
body.woocommerce-account #content:has(#customer_login),
body.woocommerce-account #content:has(.woocommerce-ResetPassword) {
	padding-top: 120px;
	padding-bottom: 48px;
	background: var(--techno-account-panel-bg) !important;
	background-image: none !important;
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
}

body.woocommerce-account #content .rey-siteContainer {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce {
	color: inherit;
	font-family: inherit;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* ——— Layout ——— */
body.woocommerce-account .woocommerce-MyAccount-navigation-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	box-sizing: border-box;
}

body.woocommerce-account .rey-myAccContent {
	display: block;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	color: inherit;
}

body.woocommerce-account .elementor-element:has(.woocommerce),
body.woocommerce-account .elementor-widget-container:has(.woocommerce),
body.woocommerce-account .e-my-account-tab {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

@media (min-width: 1025px) {
	body.woocommerce-account.logged-in .woocommerce {
		display: grid;
		grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
		align-items: start;
		gap: 24px;
	}

	body.woocommerce-account.logged-in .woocommerce::before,
	body.woocommerce-account.logged-in .woocommerce::after {
		display: none;
	}
}

/* ——— Sidebar navigation (same cards as header panel) ——— */
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-wrapper {
	margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
	margin: 0;
	width: 100%;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	background: var(--techno-account-panel-surface);
	transition: background 0.18s ease, border-color 0.18s ease;
	box-sizing: border-box;
	min-height: 52px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li:hover {
	background: var(--techno-account-panel-surface-hover);
	border-color: rgba(255, 255, 255, 0.14);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.is-active {
	border-color: rgba(255, 122, 0, 0.55);
	/* background: rgba(255, 122, 0, 0.08); */
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 14px;
	box-sizing: border-box;
	color: var(--techno-account-panel-text) !important;
	font-family: 'Rubik', sans-serif;
	font-size: 15px !important;
	font-weight: 400;
	line-height: 1.25;
	text-transform: none !important;
	text-decoration: none !important;
	letter-spacing: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a:hover {
	color: #fff !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.is-active a {
	color: #fff !important;
	font-weight: 500;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a sup {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	margin: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--techno-account-panel-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	vertical-align: middle;
	top: 0;
	position: static;
	flex-shrink: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.is-active a sup {
	background: rgba(255, 122, 0, 0.18);
	color: #ffb26a;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 8px;
	border: 0;
	background: var(--techno-account-panel-accent);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout:hover {
	background: #ff8f28;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	justify-content: center;
	color: #fff !important;
	font-weight: 500;
}

/* ——— Content area ——— */
body.woocommerce-account .woocommerce-MyAccount-content {
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

body.woocommerce-account .rey-myAccContent p,
body.woocommerce-account .woocommerce-MyAccount-content p {
	margin: 0 0 14px;
	color: var(--techno-account-panel-text);
}

body.woocommerce-account .rey-myAccContent strong,
body.woocommerce-account .woocommerce-MyAccount-content strong {
	font-weight: 600;
	color: #fff;
}

body.woocommerce-account .rey-myAccContent a:not(.button):not(.woocommerce-Button),
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-Button) {
	color: var(--techno-account-panel-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.woocommerce-account .rey-myAccContent a:not(.button):not(.woocommerce-Button):hover,
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-Button):hover {
	color: #ff8f28;
}

body.woocommerce-account .woocommerce-MyAccount-content legend,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .addresses .title h3 {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	text-transform: none;
	font-family: 'Rubik', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
	color: #fff;
}

body.woocommerce-account .addresses .title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

body.woocommerce-account .addresses .title .edit {
	font-size: 14px;
	font-weight: 400;
}

/* ——— Empty / info blocks ——— */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 16px;
	padding: 16px 18px;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	background: var(--techno-account-panel-surface);
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
	line-height: 1.45;
	list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before {
	position: static;
	flex-shrink: 0;
	margin: 0;
	color: var(--techno-account-panel-muted);
	font-size: 1.4em;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 80, 80, 0.35);
	border-radius: var(--techno-account-panel-item-radius);
	background: rgba(255, 80, 80, 0.08);
	color: #fff;
	list-style: none;
}

/* ——— Buttons ——— */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content a.button,
body.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: var(--techno-account-submit-radius) !important;
	background: var(--techno-account-panel-accent) !important;
	color: #fff !important;
	font-family: 'Rubik', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-sizing: border-box;
	cursor: pointer;
	--btn-line-tr: scaleX(0);
	white-space: nowrap;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button:hover {
	background: #ff8f28 !important;
	color: #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .button::after,
body.woocommerce-account .woocommerce-MyAccount-content a.button::after,
body.woocommerce-account .woocommerce-MyAccount-content button.woocommerce-Button::after {
	content: none !important;
}

/* ——— Orders table ——— */
body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--techno-account-panel-surface);
}

body.woocommerce-account .woocommerce-orders-table thead th {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--techno-account-panel-item-border);
	background: rgba(0, 0, 0, 0.22);
	color: var(--techno-account-panel-muted);
	font-family: 'Rubik', sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: left;
}

body.woocommerce-account .woocommerce-orders-table tbody td {
	padding: 14px;
	border: 0;
	border-top: 1px solid var(--techno-account-panel-item-border);
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.4;
	vertical-align: middle;
}

body.woocommerce-account .woocommerce-orders-table tbody tr:first-child td {
	border-top: 0;
}

body.woocommerce-account .woocommerce-orders-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
	color: #fff !important;
	font-weight: 500;
	text-decoration: none !important;
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
	min-height: 36px;
	padding: 0 14px !important;
	font-size: 13px !important;
}

/* ——— View order page ——— */
body.woocommerce-account .rey-myAccContent > p:first-child {
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	background: var(--techno-account-panel-surface);
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

body.woocommerce-account .rey-myAccContent mark.order-number,
body.woocommerce-account .rey-myAccContent mark.order-date,
body.woocommerce-account .rey-myAccContent mark.order-status {
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-weight: 600;
}

body.woocommerce-account .rey-myAccContent mark.order-status {
	color: var(--techno-account-panel-accent);
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details,
body.woocommerce-account .woocommerce-order-downloads {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 24px;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
	margin: 0 0 12px;
}

body.woocommerce-account .woocommerce-table--order-details,
body.woocommerce-account table.order_details {
	width: 100% !important;
	max-width: 100%;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details thead th {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--techno-account-panel-item-border);
	background: rgba(0, 0, 0, 0.22);
	color: var(--techno-account-panel-muted);
	font-family: 'Rubik', sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: left;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table.order_details tbody td {
	padding: 14px;
	border: 0;
	border-top: 1px solid var(--techno-account-panel-item-border);
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.45;
	vertical-align: top;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:first-child td {
	border-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td {
	padding: 12px 14px;
	border: 0;
	border-top: 1px solid var(--techno-account-panel-item-border);
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.45;
	vertical-align: middle;
	background: transparent;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th {
	color: var(--techno-account-panel-muted);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: left;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td {
	text-align: right;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child td {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .product-name a {
	color: var(--techno-account-panel-accent);
	font-weight: 500;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .product-name a:hover {
	color: #ff8f28;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .product-total,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead .product-total {
	text-align: right;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .order-actions--heading {
	width: 1%;
	white-space: nowrap;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td .order-again,
body.woocommerce-account .woocommerce-MyAccount-content .order-again {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: var(--techno-account-submit-radius) !important;
	background: var(--techno-account-panel-accent) !important;
	color: #fff !important;
	font-family: 'Rubik', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

body.woocommerce-account .woocommerce-order-details + .order-again,
body.woocommerce-account .woocommerce-MyAccount-content > .order-again,
body.woocommerce-account .woocommerce-order-details ~ p .order-again {
	display: flex !important;
	width: 100%;
	min-height: var(--techno-account-submit-height);
	margin-top: 16px !important;
	font-size: 15px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td .order-again:hover,
body.woocommerce-account .woocommerce-MyAccount-content .order-again:hover {
	background: #ff8f28 !important;
	color: #fff !important;
}

body.woocommerce-account .woocommerce-customer-details address {
	margin: 0;
	padding: 16px;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	background: var(--techno-account-panel-surface);
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-style: normal;
	font-size: 14px;
	line-height: 1.55;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--phone,
body.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--email {
	margin: 8px 0 0;
	padding: 0 0 0 0;
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.45;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--phone::before,
body.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--email::before {
	display: none;
}

body.woocommerce-account .woocommerce-OrderUpdates {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

body.woocommerce-account .woocommerce-OrderUpdates .woocommerce-OrderUpdate {
	margin: 0 0 12px;
	padding: 14px 16px;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	background: var(--techno-account-panel-surface);
}

body.woocommerce-account .woocommerce-OrderUpdates .woocommerce-OrderUpdate-meta {
	margin: 0 0 8px;
	color: var(--techno-account-panel-muted);
	font-size: 13px;
}

body.woocommerce-account .woocommerce-OrderUpdates .woocommerce-OrderUpdate-description p {
	margin: 0;
	color: var(--techno-account-panel-text);
	font-size: 14px;
	line-height: 1.45;
}

/* ——— Forms (addresses, account details) ——— */
body.woocommerce-account .woocommerce-MyAccount-content .form-row,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row {
	position: relative;
	display: block !important;
	margin: 0 0 12px;
	padding: 0;
	min-height: var(--techno-account-input-height);
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row::after,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row br,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row br {
	display: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row label[style*='display: none'],
body.woocommerce-account .woocommerce-MyAccount-content .form-row label[style*='display:none'] {
	display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row label {
	position: absolute;
	left: 0 !important;
	right: 0;
	top: 0 !important;
	height: var(--techno-account-input-height) !important;
	margin: 0 !important;
	margin-left: 0 !important;
	padding: 16px 14px;
	transform: none !important;
	display: block;
	box-sizing: border-box;
	pointer-events: none;
	color: var(--techno-account-input-placeholder);
	font-family: 'Rubik', sans-serif;
	font-size: var(--techno-account-input-font-size);
	font-weight: 400;
	line-height: 1.2 !important;
	text-transform: none;
	background: transparent;
	opacity: 1;
	z-index: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

	body.woocommerce-account .woocommerce-MyAccount-content .form-row.--has-value:not(.techno-house-fields-row) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row.--has-focus:not(.techno-house-fields-row) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row:focus-within:not(.techno-house-fields-row) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(> .woocommerce-input-wrapper > input[value]:not([value=''])) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(> .woocommerce-input-wrapper > input[type='email'][value]:not([value=''])) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(> .woocommerce-input-wrapper > input[type='tel'][value]:not([value=''])) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(> .woocommerce-input-wrapper > select option:checked:not([value=''])) label,
body.woocommerce-account #billing_country_field:has(.woocommerce-input-wrapper strong) label {
	opacity: 0;
	visibility: hidden;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content .form-row input[type='tel'],
body.woocommerce-account .woocommerce-MyAccount-content .form-row select,
body.woocommerce-account .woocommerce-MyAccount-content .form-row textarea {
	width: 100%;
	height: var(--techno-account-input-height) !important;
	min-height: var(--techno-account-input-height) !important;
	margin: 0;
	padding: 16px 14px !important;
	border-radius: var(--techno-account-input-radius);
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	background: var(--techno-account-panel-surface) !important;
	color: #fff;
	font-family: 'Rubik', sans-serif;
	font-size: var(--techno-account-input-font-size);
	line-height: 1.2 !important;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row textarea {
	height: auto;
	min-height: 120px;
	padding: 12px 14px;
	line-height: 1.45;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(textarea) label {
	top: 12px !important;
	height: auto !important;
	padding: 0 14px;
	align-items: flex-start;
	white-space: normal;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(textarea):focus-within label {
	opacity: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row input.input-text:focus,
body.woocommerce-account .woocommerce-MyAccount-content .form-row input[type='tel']:focus,
body.woocommerce-account .woocommerce-MyAccount-content .form-row select:focus,
body.woocommerce-account .woocommerce-MyAccount-content .form-row textarea:focus {
	border-color: var(--techno-account-panel-accent);
	box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.38);
	outline: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row label .required,
body.woocommerce-account .woocommerce-MyAccount-content abbr.required {
	color: inherit;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .password-input {
	display: block !important;
	position: relative;
	width: 100%;
	height: var(--techno-account-input-height);
}

/* Password rows: label and field share one grid cell for true vertical centering */
body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(.password-input) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: var(--techno-account-input-height);
	align-items: stretch;
	min-height: var(--techno-account-input-height);
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(.password-input) label,
body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(.password-input) .password-input {
	grid-row: 1;
	grid-column: 1;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(.password-input) label {
	position: relative;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	height: auto !important;
	align-self: center;
	display: flex !important;
	align-items: center;
	padding: 0 44px 0 14px;
	margin: 0 !important;
	font-size: var(--techno-account-input-font-size);
	line-height: 1.2 !important;
	z-index: 1;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row:has(.password-input) .password-input {
	height: 100%;
	min-height: 0;
	z-index: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content .password-input input.input-text {
	padding: 16px 44px 16px 14px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .password-input .show-password-input {
	display: block !important;
	position: absolute;
	right: 12px;
	top: 50%;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2;
	opacity: 0.75;
}

body.woocommerce-account .woocommerce-MyAccount-content .password-input .show-password-input::before {
	width: 20px;
	height: 20px;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset {
	margin: 24px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
	margin: 0 0 14px;
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset .form-row:last-child {
	margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset .form-row {
	margin-bottom: 0;
}

/* ——— Edit account form ——— */
body.woocommerce-account .woocommerce-EditAccountForm.edit-account .clear {
	display: none;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row #account_display_name_description {
	display: block;
	margin: 8px 0 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row #account_display_name_description em {
	color: var(--techno-account-panel-muted);
	font-family: 'Rubik', sans-serif;
	font-size: 13px;
	font-style: normal;
	line-height: 1.45;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row:has(#account_display_name) {
	min-height: var(--techno-account-input-height);
}

@media (min-width: 768px) {
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		align-items: start;
	}

	body.woocommerce-account .woocommerce-EditAccountForm.edit-account > .form-row,
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account > .woocommerce-form-row {
		margin: 0;
	}

	body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row-wide,
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset,
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account .clear,
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button),
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:empty {
		grid-column: 1 / -1;
	}

	body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row-first,
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row-last {
		float: none;
		width: auto;
		margin: 0;
	}
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:empty {
	display: none;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button) {
	margin-top: 20px;
	margin-bottom: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button) br {
	display: none;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button) .woocommerce-Button,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button) button.woocommerce-Button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--techno-account-submit-height);
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: var(--techno-account-submit-radius) !important;
	background: var(--techno-account-panel-accent) !important;
	color: #fff !important;
	font-family: 'Rubik', sans-serif;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	text-transform: none !important;
	cursor: pointer;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button) .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:has(.woocommerce-Button) button.woocommerce-Button:hover {
	background: #ff8f28 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content address {
	margin: 0;
	padding: 16px;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-item-radius);
	background: var(--techno-account-panel-surface);
	color: var(--techno-account-panel-text);
	font-style: normal;
	line-height: 1.55;
}

/* ——— Edit address form ——— */
body.woocommerce-account .woocommerce-address-fields {
	margin: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	align-items: start;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row,
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last,
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide {
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p:has(.custom-billing-true-wrapper),
body.woocommerce-account .woocommerce-address-fields__field-wrapper #custom_address_fields {
	grid-column: 1 / -1;
}

body.woocommerce-account .woocommerce-address-fields > p:has(button[name='save_address']) {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 20px 0 0;
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-address-fields > p:has(button[name='save_address']) br {
	display: none;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p:empty,
body.woocommerce-account .woocommerce-address-fields > p:empty,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p:not([class]):not(:has(.custom-billing-true-wrapper)),
body.woocommerce-account .woocommerce-address-fields__field-wrapper > div#custom_address_fields:empty,
body.woocommerce-account #custom_address_fields:empty {
	display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

body.woocommerce-account #billing_country_field .woocommerce-input-wrapper strong {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: var(--techno-account-input-height);
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--techno-account-input-radius);
	background: var(--techno-account-panel-surface);
	color: #fff;
	font-family: 'Rubik', sans-serif;
	font-size: var(--techno-account-input-font-size);
	font-weight: 400;
	line-height: 1.2;
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-address-fields #custom_address_fields,
body.woocommerce-account .woocommerce-address-fields .techno-house-fields-row.custom-billing-true-wrapper {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	justify-content: stretch !important;
	overflow: clip;
}

body.woocommerce-account .woocommerce-address-fields #custom_address_fields > .techno-house-field,
body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper > .techno-house-field {
	position: relative;
	display: block;
	min-width: 0 !important;
	max-width: 100%;
	min-height: var(--techno-account-input-height);
	margin: 0;
	padding: 0;
	overflow: hidden;
}

body.woocommerce-account .custom-billing-true-wrapper {
	display: grid !important;
	justify-content: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body.woocommerce-account .custom-billing-true-wrapper input {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	flex-basis: auto !important;
	margin: 0 !important;
}

body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper br {
	display: none;
}

body.woocommerce-account .woocommerce-address-fields #custom_address_fields input[type='number'],
body.woocommerce-account .woocommerce-address-fields #custom_address_fields input[type='text'],
body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper input[type='number'],
body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper input[type='text'] {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: auto !important;
	height: var(--techno-account-input-height) !important;
	min-height: var(--techno-account-input-height) !important;
	margin: 0 !important;
	padding: 16px 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: var(--techno-account-input-radius);
	background: var(--techno-account-panel-surface) !important;
	color: #fff;
	font-family: 'Rubik', sans-serif;
	font-size: var(--techno-account-input-font-size);
	line-height: 1.2 !important;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper input::placeholder {
	color: var(--techno-account-input-placeholder);
	opacity: 1;
}

body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper input:focus {
	border-color: var(--techno-account-panel-accent) !important;
	box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.38);
	outline: none;
}

body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper input[type='number']::-webkit-outer-spin-button,
body.woocommerce-account .woocommerce-address-fields .custom-billing-true-wrapper input[type='number']::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.woocommerce-account .woocommerce-address-fields > p:has(button[name='save_address']) .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--techno-account-submit-height);
	padding: 0 16px !important;
	font-size: 15px !important;
}

@media (max-width: 767px) {
	body.woocommerce-account .woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	body.woocommerce-account .woocommerce-address-fields #custom_address_fields,
	body.woocommerce-account .woocommerce-address-fields .techno-house-fields-row.custom-billing-true-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ——— Guest login / register on page ——— */
body.woocommerce-account:not(.logged-in) #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 920px;
	margin: 0 auto;
	align-items: stretch;
}

body.woocommerce-account:not(.logged-in) #customer_login > div {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border: 1px solid var(--techno-account-panel-item-border);
	border-radius: var(--techno-account-panel-radius);
	background: var(--techno-account-panel-surface);
}

body.woocommerce-account:not(.logged-in) #customer_login h2 {
	margin: 0 auto 18px;
	padding: 4px 20px;
	width: fit-content;
	max-width: 100%;
	text-align: center;
	text-transform: uppercase;
	font-family: 'Rubik', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--techno-account-panel-text);
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #customer_login h2::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 5px;
	background-color: var(--techno-account-panel-accent);
}

body.woocommerce-account:not(.logged-in) #customer_login form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	margin: 0;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide:not(.techno-pd-consent),
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide:not(.techno-pd-consent) {
	position: relative;
	display: block;
	margin: 0 0 12px;
	min-height: var(--techno-account-input-height);
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide::after,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide br,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide br {
	display: none;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide:not(.techno-pd-consent) label,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide:not(.techno-pd-consent) label {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	color: var(--techno-account-input-placeholder);
	font-family: 'Rubik', sans-serif;
	font-size: var(--techno-account-input-font-size);
	font-weight: 400;
	line-height: 1;
	pointer-events: none;
	opacity: 1;
	z-index: 1;
	white-space: nowrap;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide label .required,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide label .required {
	color: inherit;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide.--has-value label,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-row.form-row-wide.--has-focus label,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide.--has-value:not(.techno-pd-consent) label,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide.--has-focus:not(.techno-pd-consent) label,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide:not(.techno-pd-consent):has(> input.input-text:focus) label,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide:not(.techno-pd-consent):has(> .password-input input:focus) label,
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide:not(.techno-pd-consent):has(> .__passVisibility-wrapper input:focus) label {
	opacity: 0;
}

body.woocommerce-account:not(.logged-in) #customer_login input.input-text {
	width: 100%;
	height: var(--techno-account-input-height);
	padding: 0 10px;
	border-radius: var(--techno-account-input-radius);
	border: 1px solid var(--techno-account-input-border);
	background: var(--techno-account-input-bg);
	color: #fff;
	font-family: 'Rubik', sans-serif;
	font-size: var(--techno-account-input-font-size);
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #customer_login input.input-text:focus {
	border-color: var(--techno-account-panel-accent);
	box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.38);
	outline: none;
}

body.woocommerce-account:not(.logged-in) #customer_login .__passVisibility-wrapper,
body.woocommerce-account:not(.logged-in) #customer_login .password-input {
	position: relative;
	display: block;
	width: 100%;
}

body.woocommerce-account:not(.logged-in) #customer_login .show-password-input {
	display: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .__passVisibility-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.72);
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login p.form-row:not(.form-row-wide),
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register p.form-row:not(.form-row-wide) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin: 16px 0 0;
	position: relative;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login br,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register br {
	display: none;
}

body.woocommerce-account:not(.logged-in) #customer_login label.woocommerce-form__label-for-checkbox:not(.techno-pd-consent__label) {
	position: static !important;
	transform: none !important;
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	white-space: nowrap;
	pointer-events: auto;
	opacity: 1 !important;
	cursor: pointer;
}

body.woocommerce-account:not(.logged-in) #customer_login label.woocommerce-form__label-for-checkbox:not(.techno-pd-consent__label) input[type='checkbox'],
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login input[name='rememberme'] {
	position: static !important;
	flex: 0 0 18px;
	opacity: 1 !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: inline-block !important;
	visibility: visible !important;
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	accent-color: #ff7a00;
	cursor: pointer;
}

body.woocommerce-account:not(.logged-in) #customer_login label.woocommerce-form__label-for-checkbox:not(.techno-pd-consent__label) span {
	position: static;
	display: block !important;
	flex: 0 1 auto;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 18px;
	white-space: nowrap;
	vertical-align: initial;
}

body.woocommerce-account:not(.logged-in) #customer_login label.woocommerce-form__label-for-checkbox:not(.techno-pd-consent__label) span::before,
body.woocommerce-account:not(.logged-in) #customer_login label.woocommerce-form__label-for-checkbox:not(.techno-pd-consent__label) span::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-button,
body.woocommerce-account:not(.logged-in) #customer_login button.button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--techno-account-submit-height);
	padding: 0 16px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: var(--techno-account-submit-radius) !important;
	background: var(--techno-account-panel-accent) !important;
	color: #fff !important;
	font-family: 'Rubik', sans-serif;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	text-transform: capitalize !important;
	cursor: pointer;
	--btn-line-tr: scaleX(0);
}

body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-button:hover,
body.woocommerce-account:not(.logged-in) #customer_login button.button:hover {
	background: #ff8f28 !important;
	color: #fff !important;
}

body.woocommerce-account:not(.logged-in) #customer_login button.woocommerce-button::after,
body.woocommerce-account:not(.logged-in) #customer_login button.button::after {
	content: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-LostPassword {
	margin: 12px 0 0;
	text-align: center;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-LostPassword a {
	color: var(--techno-account-panel-accent);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register > p:not(.form-row) {
	margin: 0 0 12px;
	color: var(--techno-account-panel-muted);
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-privacy-policy-text p {
	margin: 0 0 16px;
	color: #bbbcbc;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.45;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-privacy-policy-text a {
	color: #bbbcbc;
	text-decoration: underline;
}

/* ——— Mobile ——— */
@media (max-width: 1024px) {
	body.woocommerce-account #content:has(.woocommerce-MyAccount-content),
	body.woocommerce-account #content:has(#customer_login) {
		padding-top: 90px;
		padding-bottom: 32px;
	}

	body.woocommerce-account #content .rey-siteContainer {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
		margin-bottom: 20px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
		flex-direction: column;
		align-items: flex-start;
	}

	body.woocommerce-account .woocommerce-orders-table thead {
		display: none;
	}

	body.woocommerce-account .woocommerce-orders-table tbody tr {
		display: block;
		margin-bottom: 12px;
		border-top: 1px solid var(--techno-account-panel-item-border);
	}

	body.woocommerce-account .woocommerce-orders-table tbody td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 14px;
		border-top: 0;
	}

	body.woocommerce-account .woocommerce-orders-table tbody td::before {
		content: attr(data-title);
		color: var(--techno-account-panel-muted);
		font-size: 12px;
		text-transform: uppercase;
	}
}

@media (max-width: 778px) {
	body.woocommerce-account #content:has(.woocommerce-MyAccount-content),
	body.woocommerce-account #content:has(#customer_login) {
		padding-top: 70px;
	}
}

/* ——— PD consent on registration ——— */
body.woocommerce-account:not(.logged-in) #customer_login .form-row-wide.techno-pd-consent,
body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent {
	margin: 12px 0 16px !important;
	min-height: 0 !important;
	max-width: 100%;
	overflow: visible;
}

body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent__label {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	position: static !important;
	transform: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
	padding: 0;
	white-space: normal !important;
	text-transform: none !important;
	font-weight: 400 !important;
	cursor: pointer;
	pointer-events: auto !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent .techno-pd-consent__checkbox,
body.woocommerce-account:not(.logged-in) #customer_login form .techno-pd-consent input[type='checkbox'] {
	position: static !important;
	flex: 0 0 18px;
	opacity: 1 !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	display: inline-block !important;
	visibility: visible !important;
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	accent-color: #ff7a00;
	cursor: pointer;
}

body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent__text {
	flex: 1 1 auto;
	min-width: 0;
	position: static;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	color: #bbbcbc;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	font-weight: 400 !important;
	line-height: 1.45;
	text-transform: none !important;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
}

body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent__text::before,
body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent__text::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent__text a {
	color: #bbbcbc;
	text-decoration: underline;
}

body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent__text .required {
	color: var(--techno-account-panel-accent);
	text-decoration: none;
}

/* ——— PD consent validation notice ——— */
body.woocommerce-account:not(.logged-in) #customer_login .techno-pd-consent-notice,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .techno-pd-consent-notice {
	margin: 8px 0 14px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-error,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2 .woocommerce-error {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 8px 0 14px !important;
	padding: 12px 14px !important;
	border: 1px solid rgba(255, 90, 90, 0.35);
	border-radius: 10px;
	background: rgba(255, 80, 80, 0.08) !important;
	color: #fff;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.45;
	list-style: none;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-error::before,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2 .woocommerce-error::before {
	display: none !important;
	content: none !important;
}

/* ——— Marketing consents in account + popup ——— */
body.woocommerce-account .woocommerce-MyAccount-content .form-row input.input-text::placeholder,
body.woocommerce-account .woocommerce-MyAccount-content .form-row input[type='email']::placeholder,
body.woocommerce-account .woocommerce-MyAccount-content .form-row input[type='tel']::placeholder,
body.woocommerce-account .woocommerce-MyAccount-content .form-row input[type='text']::placeholder {
	color: var(--techno-account-input-placeholder);
	opacity: 1;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row > label {
	display: none !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row input::placeholder,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row input::-webkit-input-placeholder {
	color: var(--techno-account-input-placeholder) !important;
	opacity: 1 !important;
	-webkit-text-fill-color: var(--techno-account-input-placeholder) !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row input:not(:placeholder-shown)::placeholder {
	opacity: 0;
}

body.woocommerce-account .techno-marketing-consent-wrap {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--techno-account-panel-item-border);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-account .techno-marketing-consent--account {
	width: 100%;
	padding: 16px;
	border-radius: var(--techno-account-panel-item-radius, 8px);
	border: 1px solid var(--techno-account-panel-item-border);
	background: var(--techno-account-panel-surface);
	box-sizing: border-box;
}

@media (min-width: 768px) {
	body.woocommerce-account .woocommerce-EditAccountForm.edit-account .techno-marketing-consent-wrap {
		grid-column: 1 / -1;
	}
}

body.woocommerce-account .techno-marketing-consent__title {
	margin: 0 0 14px;
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}

body.woocommerce-account label.techno-marketing-consent__item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: auto !important;
	cursor: pointer;
}

body.woocommerce-account .techno-marketing-consent__master-checkbox,
body.woocommerce-account .techno-marketing-consent__checkbox {
	display: block !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	position: static !important;
	float: none !important;
	opacity: 1 !important;
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	accent-color: var(--techno-account-panel-accent);
}

body.woocommerce-account .techno-marketing-consent__summary-text,
body.woocommerce-account .techno-marketing-consent__label {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	display: block !important;
	pointer-events: auto !important;
	text-transform: none !important;
	white-space: normal !important;
}

body.woocommerce-account .techno-marketing-consent__summary-text {
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

body.woocommerce-account .techno-marketing-consent__label {
	color: rgba(255, 255, 255, 0.82);
	font-family: 'Rubik', sans-serif;
	font-size: 13px;
	line-height: 1.45;
}

body.woocommerce-account .techno-marketing-consent__label::before,
body.woocommerce-account .techno-marketing-consent__label::after,
body.woocommerce-account .techno-marketing-consent__summary-text::before,
body.woocommerce-account .techno-marketing-consent__summary-text::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .techno-marketing-consent__toggle {
	display: block !important;
	margin: 6px 0 0 8px !important;
	padding: 0 !important;
	color: var(--techno-account-panel-text);
	font-family: 'Rubik', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left !important;
	width: fit-content;
	max-width: 100%;
	text-decoration: none;
}

body.woocommerce-account .techno-marketing-consent__toggle:hover,
body.woocommerce-account .techno-marketing-consent__toggle:focus-visible {
	text-decoration: underline;
}

body.woocommerce-account .techno-marketing-consent__items {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--techno-account-panel-item-border);
}

body.woocommerce-account .techno-marketing-consent--expanded .techno-marketing-consent__items {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
}

body.woocommerce-account .techno-marketing-consent:not(.techno-marketing-consent--expanded) .techno-marketing-consent__items {
	display: none !important;
}

body.woocommerce-account .techno-marketing-consent__email-hint,
body.woocommerce-account .techno-marketing-consent__phone-hint {
	margin: 10px 0 0;
	font-family: 'Rubik', sans-serif;
	font-size: 12px;
	color: var(--techno-account-panel-accent);
}

body.woocommerce-account .techno-marketing-consent__label a {
	color: var(--techno-account-panel-accent);
	text-decoration: underline;
}

body.woocommerce-account .techno-marketing-popup__dialog {
	font-family: 'Rubik', sans-serif;
}

body.woocommerce-account .techno-marketing-popup .techno-marketing-consent__label {
	color: rgba(255, 255, 255, 0.82);
}

