/**
 * My account – production (netrevven.com, Razzi) look. Values measured on production at 1440px and 390px.
 * Selectors start with body.woocommerce-account (every account page), body.nr-login (logged out, includes/account.php)
 * or body.logged-in, plus .woocommerce: that outranks the page template's content-widget styles and the Elementor kit.
 * RTL: logical properties – the menu, checkboxes and photos sit at the start (right); the eye, "lost password",
 * the address edit button and the order actions at the end (left).
 */

/* Page: no breadcrumb or title, a gray band 80px above and below the card */
body.nr-login .elementor-location-single .elementor-widget-woocommerce-breadcrumb,
body.nr-login .elementor-location-single .elementor-widget-theme-post-title { display: none; }
body.nr-login .elementor-location-single > .e-con.e-parent {
	--padding-top: 80px;
	--padding-bottom: 80px;
	--padding-inline-start: 15px;
	--padding-inline-end: 15px;
	--padding-left: 15px;
	--padding-right: 15px;
	background-color: #f5f5f5;
}
body.nr-login .elementor-location-single .e-con:has(> .elementor-widget-theme-post-content) { --padding-top: 0px; }
@media (max-width: 767px) {
	body.nr-login .elementor-location-single > .e-con.e-parent { --padding-top: 40px; --padding-bottom: 60px; }
}

body.nr-login .woocommerce { color: #525252; font-size: 16px; line-height: 24px; }
body.nr-login .woocommerce-notices-wrapper:not(:empty) { max-width: 570px; margin: 0 auto 30px; }

/* Cards: login (570, and register beside it when registration is on), lost/reset password (585, centered text) */
body.nr-login #customer_login {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin: 0;
}
body.nr-login #customer_login::before,
body.nr-login #customer_login::after { display: none; }
body.nr-login #customer_login > .u-column1,
body.nr-login #customer_login > .u-column2 {
	box-sizing: border-box;
	float: none;
	width: 570px;
	max-width: 100%;
	margin: 0;
	padding: 30px 40px;
	background: #fff;
}
body.nr-login .woocommerce form.lost_reset_password,
body.nr-login .woocommerce:not(:has(form)) {
	box-sizing: border-box;
	width: 585px;
	max-width: 100%;
	margin: 0 auto;
	padding: 40px 30px 25px;
	background: #fff;
	text-align: center;
}
body.nr-login .woocommerce form.login,
body.nr-login .woocommerce form.register,
body.nr-login .woocommerce form.lost_reset_password { margin-block: 0; border: 0; border-radius: 0; }
body.nr-login .woocommerce form.login,
body.nr-login .woocommerce form.register { padding: 0; }
@media (max-width: 767px) {
	body.nr-login #customer_login > .u-column1,
	body.nr-login #customer_login > .u-column2 { padding: 30px 20px; }
}

/* Titles */
body.nr-login #customer_login h2 {
	margin: 0 0 25px;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	line-height: 29px;
}
body.nr-login .woocommerce form.lost_reset_password h3 {
	margin: 0 0 40px;
	color: #111;
	font-size: 24px;
	font-weight: 500;
	line-height: 29px;
}
body.nr-login .woocommerce form.lost_reset_password .reset-description { margin: 16px 0 35px; padding: 0 70px; }
@media (max-width: 767px) {
	body.nr-login .woocommerce form.lost_reset_password .reset-description { padding: 0; }
}

/* Fields (every account form): 50px tall, gray border; on the login page the placeholder is the label */
body.woocommerce-account .woocommerce form .form-row {
	float: none;
	width: auto;
	margin: 0 0 20px;
	padding: 0;
}
body.woocommerce-account .woocommerce form .form-row label:not(.screen-reader-text):not(.woocommerce-form__label-for-checkbox) {
	display: block;
	margin: 0 0 5px;
	color: #111;
	font-size: 15px;
	line-height: 22px;
	text-align: start;
}
body.woocommerce-account .woocommerce form .form-row .required { color: #f00; text-decoration: none; }
body.woocommerce-account .woocommerce form .form-row .input-text {
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 12px 15px;
	border: 1px solid #ccc;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #111;
	font-family: inherit;
	font-size: 16px;
	line-height: 24px;
	transition: border-color .1s ease-in-out;
}
body.woocommerce-account .woocommerce form .form-row .input-text::placeholder { color: #757575; opacity: 1; }
body.woocommerce-account .woocommerce form .form-row .input-text:focus { border-color: #111; outline: 0; box-shadow: none; }
body.woocommerce-account .woocommerce form .form-row.woocommerce-invalid .input-text { border-color: #e2401c; }

/* Show password: a gray eye at the end of the field, dark while the password is shown */
body.woocommerce-account .woocommerce form .password-input { display: block; position: relative; }
body.woocommerce-account .woocommerce form .password-input .input-text { padding-inline-end: 50px; }
body.woocommerce-account .woocommerce form .show-password-input {
	position: absolute;
	top: 15px;
	inset-inline: auto 15px;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	box-shadow: none;
	transform: none;
	opacity: .5;
	cursor: pointer;
	transition: opacity .35s;
}
body.woocommerce-account .woocommerce form .show-password-input::before,
body.woocommerce-account .woocommerce form .show-password-input::after { content: none; display: none; }
body.woocommerce-account .woocommerce form .show-password-input:hover,
body.woocommerce-account .woocommerce form .show-password-input.display-password { opacity: 1; }
body.woocommerce-account .woocommerce form .show-password-input.display-password {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}
body.woocommerce-account .woocommerce form .show-password-input:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* "Remember me" (a gray box, checked: a check mark) and "lost password" on one row */
body.nr-login .woocommerce form .form-row-remember {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin: 0 0 25px;
}
/* WooCommerce's clearfix pseudo-elements would be flex items and push the two apart unevenly. */
body.nr-login .woocommerce form .form-row-remember::before,
body.nr-login .woocommerce form .form-row-remember::after { display: none; }
body.nr-login .woocommerce form .woocommerce-form-login__rememberme {
	display: block;
	position: relative;
	margin: 0;
	padding-inline-start: 35px;
	color: #111;
	font-size: 15px;
	line-height: 22.5px;
	cursor: pointer;
}
body.nr-login .woocommerce form .woocommerce-form-login__rememberme input {
	position: absolute;
	inset-inline-start: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 0;
}
body.nr-login .woocommerce form .woocommerce-form-login__rememberme span::before,
body.nr-login .woocommerce form .woocommerce-form-login__rememberme span::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 1px;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
}
body.nr-login .woocommerce form .woocommerce-form-login__rememberme span::before { border: 1px solid #e2e2e2; background: #e2e2e2; }
body.nr-login .woocommerce form .woocommerce-form-login__rememberme span::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpolygon fill='%23111' points='4.177,10.543 0.434,6.8 1.566,5.668 4.177,8.279 10.435,2.023 11.565,3.155'/%3E%3C/svg%3E") center / 12px no-repeat;
	opacity: 0;
}
body.nr-login .woocommerce form .woocommerce-form-login__rememberme input:checked + span::after { opacity: 1; }
body.nr-login .woocommerce form .woocommerce-form-login__rememberme input:focus-visible + span::before { outline: 2px solid #111; outline-offset: 2px; }
body.nr-login .woocommerce .lost_password { margin: 0; font-size: 15px; line-height: 22px; }
body.nr-login .woocommerce .lost_password a { color: #111; text-decoration: none; }
body.nr-login .woocommerce .lost_password a:hover { color: #111; text-decoration: underline; text-underline-offset: 4px; }

/* Buttons: dark, 46px (lost password: 50px, centered); full width on phones */
body.nr-login .woocommerce form .form-row-submit { margin-bottom: 5px; }
body.nr-login .woocommerce form .form-row-submit .button,
body.nr-login .woocommerce form .form-row-submit .button:hover,
body.nr-login .woocommerce form .form-row-submit .button:focus {
	display: inline-block;
	min-width: 160px;
	height: 46px;
	margin: 10px 0 0;
	padding: 0 37px;
	border: 0;
	border-radius: 0;
	background: #1f1f1f;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 46px;
	text-align: center;
}
body.nr-login .woocommerce form .form-row-submit .button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
body.nr-login .woocommerce form.lost_reset_password .form-row-submit .button { height: 50px; line-height: 50px; }
@media (max-width: 767px) {
	body.nr-login #customer_login .form-row-submit .button { width: 100%; }
}

/* Notices (every account page): solid blocks with white text – info blue, success green, error red; a button in a
   notice is outlined in white at the end */
body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: flow-root;
	width: auto;
	margin: 0 0 28px;
	padding: 20px 30px;
	border: 0;
	border-radius: 0;
	background: #1e85be;
	color: #fff;
	font-size: 14px;
	line-height: 21px;
	list-style: none;
	text-align: start;
}
body.woocommerce-account .woocommerce .woocommerce-message { background: #8ed3af; }
body.woocommerce-account .woocommerce .woocommerce-error { background: #b81c23; }
body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { content: none; display: none; }
body.woocommerce-account .woocommerce .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a { color: #fff; text-decoration: none; }
body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a.button,
body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a.button:hover {
	float: inline-end;
	margin: 0;
	margin-inline-start: 20px;
	padding: 0 40px;
	border: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 46px;
	white-space: nowrap;
}

/* Logged in: the menu (25%) at the start, the section (75%) beside it */
body.logged-in.woocommerce-account .elementor-widget-theme-post-content .woocommerce {
	display: flex;
	align-items: flex-start;
	color: #525252;
	font-size: 16px;
	line-height: 24px;
}
body.logged-in.woocommerce-account .woocommerce::before,
body.logged-in.woocommerce-account .woocommerce::after { display: none; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
	box-sizing: border-box;
	flex: 0 0 25%;
	float: none;
	width: 25%;
	padding-inline-end: 52px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #e2e2e2;
	color: #525252;
	transition: color .5s;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li:first-child { border-top: 1px solid #e2e2e2; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 20px 0;
	color: #111;
	font-size: 18px;
	line-height: 26px;
	text-decoration: none;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li:hover,
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active { color: #111; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active { font-weight: 500; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
	box-sizing: border-box;
	flex: 1 1 75%;
	float: none;
	width: 75%;
	min-width: 0;
	padding-inline-start: 38px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content a:not(.button) { color: #111; text-decoration: none; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content a:not(.button):hover { color: #ee2c1f; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content p { margin: 16px 0 24px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content mark { background: transparent; color: inherit; }

/* Dashboard: a large greeting, the log-out link smaller beside the name */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content h3.greeting {
	margin: 0 0 53px;
	color: #525252;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.33;
}
body.logged-in.woocommerce-account .woocommerce .greeting span { font-size: 18px; }
body.logged-in.woocommerce-account .woocommerce .greeting strong { color: #111; font-weight: 500; }

/* Buttons in a section: links outlined, form buttons dark */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content a.button:where(:not(.woocommerce-message *, .woocommerce-info *, .woocommerce-error *)),
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content a.button:where(:not(.woocommerce-message *, .woocommerce-info *, .woocommerce-error *)):hover {
	display: inline-block;
	margin: 0;
	padding: 0 40px;
	border: 1px solid #111;
	border-radius: 0;
	background: transparent;
	color: #111;
	font-size: 15px;
	font-weight: 500;
	line-height: 46px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button,
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button:hover {
	display: inline-block;
	margin: 0;
	padding: 0 37px;
	border: 0;
	border-radius: 0;
	background: #1f1f1f;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 50px;
	white-space: nowrap;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* Orders (list and one order): a gray summary row – small uppercase titles over the values */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
}
/* Hello Elementor tints odd and hovered table rows gray. */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table :is(th, td),
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr:is(:nth-child(odd), :hover) > :is(th, td) { border: 0; background-color: transparent; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th {
	padding: 15px;
	background: #f8f8f8;
	color: #111;
	font-size: 15px;
	font-weight: 600;
	line-height: 22.5px;
	text-align: start;
	vertical-align: top;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th:first-child { padding-inline-start: 30px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th .order-title {
	display: block;
	margin-bottom: 7px;
	color: #525252;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	text-transform: uppercase;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th a { color: #111; }

/* Orders list: one bordered card per order, its product photos, "view" at the end */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content .order-item {
	margin-bottom: 30px;
	padding: 30px 40px 20px;
	border: 1px solid #cdcdcd;
}
body.logged-in.woocommerce-account .woocommerce table.my_account_orders thead th { width: 25%; }
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image { padding: 30px 0 0; padding-inline-end: 20px; vertical-align: top; }
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
	padding: 0;
	list-style: none;
}
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image li { margin: 0 0 7px; padding: 0 5px; }
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image :is(a, img) { display: block; line-height: 1; }
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image img { width: 70px; max-width: 70px; height: auto; }
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image .item-plus { width: 80px; }
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image .item-plus span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 70px;
	background: #f5f5f5;
	color: #111;
	font-size: 13px;
	font-weight: 500;
}
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .woocommerce-orders-table__cell-order-actions {
	padding: 20px 0 0;
	text-align: end;
	vertical-align: top;
	white-space: nowrap;
}
body.logged-in.woocommerce-account .woocommerce table.my_account_orders .woocommerce-orders-table__cell-order-actions a.button {
	min-width: 150px;
	margin: 10px 0 0;
	margin-inline-start: 10px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-pagination { display: flex; justify-content: space-between; gap: 10px; }

/* One order: bordered sections – summary and products, totals, billing and shipping */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(section.woocommerce-order-details, section.woocommerce-order-total, section.woocommerce-customer-details) {
	margin: 0 0 20px;
	padding: 30px 40px 20px;
	border: 1px solid #cdcdcd;
}
body.woocommerce-view-order .woocommerce .woocommerce-MyAccount-content > p:not([class]) { display: none; } /* "Order #… was placed on …": the summary row says it. */
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(section, .woocommerce-OrderUpdates) h2,
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content > h2 {
	margin: 0 0 16px;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	line-height: 29px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .order-items-title { border-bottom: 1px solid #e2e2e2; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .order-items-title td { padding: 20px 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details .order-items-title h2 { margin: 15px 0 10px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details tr.order_item td { padding: 20px 0; vertical-align: top; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-image { float: inline-start; width: 100px; margin-inline-end: 30px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-image :is(a, img) { display: block; width: 100%; height: auto; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-content { padding-top: 15px; color: #767676; font-size: 15px; line-height: 22px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-content > a { color: #111; font-weight: 500; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-quantity,
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-price { font-weight: 500; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .product-price { margin-top: 3px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .wc-item-meta { margin: 15px 0 0; padding: 0; list-style: none; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .wc-item-meta li { display: flex; gap: 3px; margin: 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-details .wc-item-meta :is(strong, p) { margin: 0; font-weight: 400; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total tr { border-bottom: 1px solid #e2e2e2; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total tr:last-child { border-bottom: 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total th {
	padding: 20px 0;
	color: #111;
	font-weight: 400;
	text-align: start;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total td { padding: 20px 0; color: #111; text-align: end; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total .order-total-order_total :is(th, td) { font-size: 18px; font-weight: 500; line-height: 27px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total .order-actions a.button { margin-block: 5px; margin-inline-start: 10px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details > h2 { margin-bottom: 30px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses { display: flex; gap: 0; margin: 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses::after { display: none; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details .woocommerce-column { flex: 0 1 33%; float: none; width: auto; margin: 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details h2.woocommerce-column__title { margin: 0 0 13px; font-size: 16px; line-height: 23px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details address {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	font-style: normal;
	line-height: 24px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details address p { margin: 10px 0; padding: 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details address p::before { content: none; display: none; }
/* RTL: "+972…" reads left to right (otherwise the + jumps to the end); the line still sits at the start (right). */
body.logged-in.woocommerce-account .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone { width: fit-content; direction: ltr; }

/* Addresses: gray cards side by side, a round edit button at the end of the title */
body.woocommerce-edit-address .woocommerce .woocommerce-MyAccount-content > p:not([class]) { display: none; } /* "These addresses will be used…" */
body.logged-in.woocommerce-account .woocommerce .woocommerce-Addresses { display: flex; gap: 30px; margin: 0; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-Addresses::before,
body.logged-in.woocommerce-account .woocommerce .woocommerce-Addresses::after { display: none; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address {
	flex: 1 1 50%;
	float: none;
	width: auto;
	margin: 0;
	padding: 30px 40px 5px;
	background: #f5f5f5;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-Address-title { display: block; position: relative; min-height: 40px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-Address-title :is(h2, h3) {
	margin: 0 0 25px;
	padding-inline-end: 50px;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	line-height: 29px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-Address-title a.edit {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	width: 40px;
	height: 40px;
	float: none;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'/%3E%3C/svg%3E") center / 14px no-repeat;
	font-size: 0;
	transition: background-color .3s;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-Address-title a.edit:hover { background-color: #e2e2e2; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-Address address { margin: 0 0 24px; font-style: normal; line-height: 24px; }

/* Address and account details forms: full-width fields, the save button inset by 10px like production */
body.logged-in.woocommerce-account .woocommerce .woocommerce-address-fields > p { padding: 0 10px; }
body.logged-in.woocommerce-account .woocommerce :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) .form-row { clear: none; }
body.logged-in.woocommerce-account .woocommerce .select2-container .select2-selection--single {
	height: 50px;
	border: 1px solid #ccc;
	border-radius: 0;
}
body.logged-in.woocommerce-account .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 15px; color: #111; line-height: 48px; }
body.logged-in.woocommerce-account .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; }
body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content h3.account-title {
	margin: 0 0 20px;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	line-height: 29px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-EditAccountForm fieldset {
	display: block;
	width: 100%;
	margin: 50px 0 0;
	padding: 0;
	border: 0;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-EditAccountForm legend {
	position: relative;
	width: 100%;
	margin: 0 0 20px;
	padding: 50px 0 0;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	line-height: 29px;
}
body.logged-in.woocommerce-account .woocommerce .woocommerce-EditAccountForm legend::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline: 10px;
	height: 1px;
	background: #e2e2e2;
}

/* Below 1200px: the menu becomes a row of tabs above the section (scrolls sideways when it doesn't fit) */
@media (max-width: 1199px) {
	body.logged-in.woocommerce-account .elementor-widget-theme-post-content .woocommerce { display: block; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
		width: 100%;
		padding: 0;
		border-bottom: 1px solid #e2e2e2;
	}
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
		display: flex;
		margin: 0 -15px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li,
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li:first-child { padding: 15px; border: 0; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a { padding: 0; white-space: nowrap; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content { width: 100%; margin-top: 50px; padding: 0; }
}

/* Phones: summary rows stack (title and value on one line), cards and columns full width */
@media (max-width: 767px) {
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content h3.greeting { margin-bottom: 30px; font-size: 26px; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.order-item, section.woocommerce-order-details, section.woocommerce-order-total, section.woocommerce-customer-details) { padding: 15px; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table :is(thead, tbody, tr) { display: block; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th,
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th:first-child {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		width: auto;
		padding: 10px 15px;
	}
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th .order-title { margin: 0; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td { display: flow-root; } /* Holds the floated product photo. */
	body.logged-in.woocommerce-account .woocommerce table.my_account_orders .order-list-image { padding: 20px 0 0; }
	body.logged-in.woocommerce-account .woocommerce table.my_account_orders .woocommerce-orders-table__cell-order-actions { padding: 10px 0 0; }
	body.logged-in.woocommerce-account .woocommerce table.my_account_orders .woocommerce-orders-table__cell-order-actions a.button { display: block; margin: 10px 0 0; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-order-total table.order_total tr { display: flex; justify-content: space-between; gap: 15px; }
	body.logged-in.woocommerce-account .woocommerce :is(.woocommerce-Addresses, .woocommerce-customer-details .woocommerce-columns--addresses) { flex-direction: column; gap: 20px; }
	body.logged-in.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address { padding: 30px 20px 5px; }
	/* The button comes first in WooCommerce's markup; on phones it goes under the text. */
	body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):has(> a.button) { display: flex; flex-direction: column-reverse; }
	body.woocommerce-account .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a.button { float: none; display: block; margin: 15px 0 0; text-align: center; }
}
