/*
 * The customer's account.
 *
 * WooCommerce draws the account and Elementor Pro's My Account widget places it; this sheet is
 * only the design. It loads in the head, while the widget's own stylesheet is enqueued as the
 * widget renders and therefore lands after it, so every rule that meets one of the widget's own
 * carries enough classes to outrank it rather than an `!important`.
 *
 * Where the widget offers a custom property - `--tabs-*`, `--sections-*`, `--tab-content-spacing`
 * - the value is set there instead of overriding the rule that reads it.
 */

/* -- Icons ----------------------------------------------------------------- */

/*
 * One 24px line icon per account section, drawn rather than downloaded so they tint with the row
 * they sit in. Each is a mask: the colour comes from `background-color`.
 */
body.my-account-page {
	--account-icon-dashboard: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.4 12 3.2l9 7.2V20a1 1 0 0 1-1 1h-4.6v-6H8.6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E" );
	--account-icon-orders: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 7.8 12 2.9 3 7.8v8.4l9 4.9 9-4.9z'/%3E%3Cpath d='M3 7.8l9 4.9 9-4.9'/%3E%3Cpath d='M12 12.7v8.4'/%3E%3C/svg%3E" );
	--account-icon-edit-account: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.8 20.4c1.3-3.5 4-5.2 7.2-5.2s5.9 1.7 7.2 5.2'/%3E%3C/svg%3E" );
	--account-icon-edit-address: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.2s7-5.7 7-11.2a7 7 0 1 0-14 0c0 5.5 7 11.2 7 11.2z'/%3E%3Ccircle cx='12' cy='9.8' r='2.6'/%3E%3C/svg%3E" );
	--account-icon-payment-methods: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.2' width='18' height='13.6' rx='2.2'/%3E%3Cpath d='M3 10.2h18'/%3E%3Cpath d='M6.8 15h3.4'/%3E%3C/svg%3E" );
	--account-icon-downloads: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.4v11.2'/%3E%3Cpath d='M7.4 10.2 12 14.8l4.6-4.6'/%3E%3Cpath d='M4.4 19.6h15.2'/%3E%3C/svg%3E" );
	--account-icon-customer-logout: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.6 3.6h4.2a1.2 1.2 0 0 1 1.2 1.2v14.4a1.2 1.2 0 0 1-1.2 1.2h-4.2'/%3E%3Cpath d='M9.4 8.2 5.6 12l3.8 3.8'/%3E%3Cpath d='M5.6 12h9.4'/%3E%3C/svg%3E" );
	--account-icon-edit: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4.2L19 9.2 14.8 5 4 15.8z'/%3E%3Cpath d='M13.6 6.2 17.8 10.4'/%3E%3C/svg%3E" );
	--account-icon-chevron: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5 16.5 12 9 19.5'/%3E%3C/svg%3E" );
	--account-icon-arrow: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 12h16'/%3E%3Cpath d='M13.4 5.8 19.6 12l-6.2 6.2'/%3E%3C/svg%3E" );

	background-color: #FFFFFF;
}

/* -- The hero -------------------------------------------------------------- */

.account-header {
	position: relative;
	overflow: hidden;
}

/*
 * The photograph belongs to the right of the band; the words need solid ground, so the veil is
 * dense where they are and clears as it crosses the picture.
 */
.account-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: linear-gradient(
		90deg,
		rgba( 6, 26, 45, 0.97 ) 0%,
		rgba( 6, 26, 45, 0.94 ) 32%,
		rgba( 6, 26, 45, 0.6 ) 58%,
		rgba( 6, 26, 45, 0.3 ) 100%
	);
}

.account-header > .e-con-inner,
.account-header > .account-header__inner {
	position: relative;
	z-index: 1;
}

.account-header__crumbs p {
	margin: 0;
}

.account-header__title .elementor-heading-title,
.account-header__lead .elementor-heading-title {
	margin: 0;
}

.account-header__accent {
	color: var( --e-global-color-accent );
}

.account-header__lead .elementor-heading-title {
	max-width: 44ch;
}

/* The slogan is flagged top and bottom by a short amber rule, as the design draws it. */
.account-header__slogan-text .elementor-heading-title {
	position: relative;
	max-width: 13ch;
	padding-bottom: 20px;
}

.account-header__slogan-text .elementor-heading-title::before,
.account-header__slogan-text .elementor-heading-title::after {
	content: "";
	position: absolute;
	height: 2px;
	background-color: var( --e-global-color-accent );
}

.account-header__slogan-text .elementor-heading-title::before {
	top: 0.72em;
	right: calc( 100% + 12px );
	width: 22px;
}

.account-header__slogan-text .elementor-heading-title::after {
	bottom: 0;
	left: 0;
	width: 30px;
}

/* -- The account's two columns --------------------------------------------- */

.my-account-page .elementor-widget-woocommerce-my-account {
	--tab-content-spacing: 0px;
	--tabs-spacing: 0px;
	--tabs-divider-weight: 0px;
	--sections-background-color: transparent;
	--sections-border-color: transparent;
	--sections-border-radius: 0px;
	--sections-border-top-width: 0px;
	--sections-border-right-width: 0px;
	--sections-border-bottom-width: 0px;
	--sections-border-left-width: 0px;
	--sections-padding: 0px;
	--section-title-spacing: 0px;
	--typography-section-titles-color: var( --e-global-color-primary );
	--general-text-color: var( --e-global-color-primary );
	--links-normal-color: var( --e-global-color-primary );
	--links-hover-color: var( --e-global-color-accent );
	--tables-links-normal-color: var( --e-global-color-primary );
	--tables-links-hover-color: var( --e-global-color-accent );
	--tables-buttons-border-color: #E1E4E8;
	--tables-button-normal-text-color: var( --e-global-color-primary );
	--tables-button-border-radius: 7px;
	--tables-button-padding: 9px 15px;
	--forms-buttons-normal-text-color: var( --e-global-color-primary );
	--forms-buttons-border-radius: 8px;
	--forms-buttons-padding: 13px 26px;
	--forms-fields-normal-color: var( --e-global-color-primary );
	--forms-fields-focus-color: var( --e-global-color-primary );

	color: var( --e-global-color-text );
	font-family: var( --e-global-typography-text-font-family, Roboto ), sans-serif;
}

/*
 * The widget floats a 25/75 split. A grid says the same thing in the design's own measurements and
 * keeps the two columns level whatever either of them holds.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce {
	display: grid;
	grid-template-columns: 252px minmax( 0, 1fr );
	gap: 30px;
	align-items: start;
}

/*
 * WooCommerce clears its floats with `::before`/`::after { content: " "; display: table }` on
 * several of its wrappers. Each of those pseudo-elements becomes an item the moment the wrapper
 * is made flex or grid, and every real child shifts one cell along - which is how the navigation
 * ends up in the content's column, and the billing address in the shipping address's. Nothing
 * floats inside them here, so they all go together.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce::before,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce::after,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-Addresses::before,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-Addresses::after,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-Address-title::before,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-Address-title::after,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content::before,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content::after {
	display: none;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
	padding: 0;
	margin: 0;
}

/*
 * The widget sets every `h2` and `h3` under it to weight 400 at four classes, which no single
 * class can answer. The gap it also sets is one of its own variables and is set above; the
 * weight is written into the stylesheet, so it is met here at five.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce h2,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce h3 {
	font-weight: 700;
}

/* And it gives the column's first heading 30px of air, at five classes and a pseudo-class. */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-content h2:first-of-type {
	margin-top: 0;
}

/* -- The section list ------------------------------------------------------ */

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation {
	background-color: #F8F8F9;
	border-radius: 10px;
	padding: 0 0 8px;
	overflow: hidden;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li {
	display: block;
	width: 100%;
	margin: 0;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li::after {
	display: none;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	gap: 14px;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 14px 20px 14px 24px;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-text-font-family, Roboto ), sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	text-align: start;
	transition: background-color 0.18s ease, color 0.18s ease;
}

/* The icon is the mask; `currentColor` on the row paints it, so it follows every state. */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a::before {
	content: "";
	flex: 0 0 auto;
	width: 21px;
	height: 21px;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
	-webkit-mask-image: var( --account-icon-dashboard );
	mask-image: var( --account-icon-dashboard );
}

.woocommerce-MyAccount-navigation-link--orders a::before {
	-webkit-mask-image: var( --account-icon-orders );
	mask-image: var( --account-icon-orders );
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
	-webkit-mask-image: var( --account-icon-edit-account );
	mask-image: var( --account-icon-edit-account );
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
	-webkit-mask-image: var( --account-icon-edit-address );
	mask-image: var( --account-icon-edit-address );
}

.woocommerce-MyAccount-navigation-link--payment-methods a::before {
	-webkit-mask-image: var( --account-icon-payment-methods );
	mask-image: var( --account-icon-payment-methods );
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
	-webkit-mask-image: var( --account-icon-downloads );
	mask-image: var( --account-icon-downloads );
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
	-webkit-mask-image: var( --account-icon-customer-logout );
	mask-image: var( --account-icon-customer-logout );
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a:hover,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a:focus-visible {
	background-color: #F1F2F4;
	color: var( --e-global-color-primary );
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: #FEF1D5;
	color: var( --e-global-color-primary );
	font-weight: 500;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li.is-active a::before {
	background-color: var( --e-global-color-accent );
}

/* Signing out is the one row that is not a place, so a rule sets it apart. */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #ECEDEF;
}

/* -- The greeting ---------------------------------------------------------- */

.account-greeting {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.account-greeting__copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.my-account-page .account-greeting__title {
	margin: 0 0 6px;
	overflow-wrap: anywhere;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-primary-font-family, Montserrat ), sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.my-account-page .account-greeting__lead {
	margin: 0;
	color: var( --e-global-color-secondary );
	font-size: 15px;
	line-height: 1.6;
}

.my-account-page .account-greeting__action {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	padding: 11px 18px;
	border: 1px solid #E1E4E8;
	border-radius: 8px;
	background-color: #FFFFFF;
	color: var( --e-global-color-primary );
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.my-account-page .account-greeting__action:hover,
.my-account-page .account-greeting__action:focus-visible {
	border-color: var( --e-global-color-accent );
	box-shadow: 0 2px 10px rgba( 22, 33, 46, 0.08 );
	color: var( --e-global-color-primary );
}

.account-greeting__action-icon {
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask-image: var( --account-icon-edit );
	mask-image: var( --account-icon-edit );
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* -- The shortcut cards ---------------------------------------------------- */

.account-shortcuts {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 20px;
	margin-bottom: 34px;
}

.my-account-page .account-shortcut {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 40px 18px 16px;
	border-radius: 10px;
	background-color: var( --shortcut-surface, #F3F5F7 );
	color: var( --e-global-color-primary );
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.my-account-page .account-shortcut:hover,
.my-account-page .account-shortcut:focus-visible {
	transform: translateY( -2px );
	box-shadow: 0 8px 20px rgba( 22, 33, 46, 0.08 );
	color: var( --e-global-color-primary );
}

.account-shortcut__icon {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	background-color: var( --shortcut-ink, #16212E );
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.account-shortcut__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.my-account-page .account-shortcut__title {
	font-family: var( --e-global-typography-primary-font-family, Montserrat ), sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.my-account-page .account-shortcut__note {
	color: var( --e-global-color-secondary );
	font-size: 13px;
	line-height: 1.4;
}

.account-shortcut__arrow {
	position: absolute;
	top: 50%;
	inset-inline-end: 16px;
	width: 15px;
	height: 15px;
	transform: translateY( -50% );
	background-color: var( --e-global-color-secondary );
	-webkit-mask-image: var( --account-icon-chevron );
	mask-image: var( --account-icon-chevron );
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* A colour and a glyph per section, so the four cards read apart at a glance. */
.account-shortcut--orders {
	--shortcut-surface: #F0F7FD;
	--shortcut-ink: #0A55BF;
}

.account-shortcut--orders .account-shortcut__icon {
	-webkit-mask-image: var( --account-icon-orders );
	mask-image: var( --account-icon-orders );
}

.account-shortcut--edit-account {
	--shortcut-surface: #FEF9F1;
	--shortcut-ink: #C78600;
}

.account-shortcut--edit-account .account-shortcut__icon {
	-webkit-mask-image: var( --account-icon-edit-account );
	mask-image: var( --account-icon-edit-account );
}

.account-shortcut--edit-address {
	--shortcut-surface: #F0F9F4;
	--shortcut-ink: #0B6A4B;
}

.account-shortcut--edit-address .account-shortcut__icon {
	-webkit-mask-image: var( --account-icon-edit-address );
	mask-image: var( --account-icon-edit-address );
}

.account-shortcut--downloads {
	--shortcut-surface: #F7F2FC;
	--shortcut-ink: #5B22A0;
}

.account-shortcut--downloads .account-shortcut__icon {
	-webkit-mask-image: var( --account-icon-downloads );
	mask-image: var( --account-icon-downloads );
}

.account-shortcut--payment-methods {
	--shortcut-surface: #EFF7F8;
	--shortcut-ink: #0F6A78;
}

.account-shortcut--payment-methods .account-shortcut__icon {
	-webkit-mask-image: var( --account-icon-payment-methods );
	mask-image: var( --account-icon-payment-methods );
}

/* -- Section headings ------------------------------------------------------ */

.account-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}

.my-account-page .account-section__title {
	margin: 0;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-primary-font-family, Montserrat ), sans-serif;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.25;
}

.my-account-page .account-section__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	color: var( --e-global-color-accent );
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.my-account-page .account-section__link:hover,
.my-account-page .account-section__link:focus-visible {
	color: var( --e-global-color-primary );
}

.account-section__arrow {
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask-image: var( --account-icon-arrow );
	mask-image: var( --account-icon-arrow );
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* -- The orders table ------------------------------------------------------ */

.account-recent-orders {
	margin-bottom: 36px;
}

.account-orders-table,
.my-account-page .woocommerce-orders-table,
.my-account-page .woocommerce-table--order-downloads {
	width: 100%;
	border: 1px solid #EDEFF2;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.45;
}

.account-orders-table th,
.my-account-page .woocommerce-orders-table th,
.my-account-page .woocommerce-table--order-downloads th {
	padding: 14px 18px;
	background-color: #F8F9FA;
	border: 0;
	color: var( --e-global-color-secondary );
	font-family: var( --e-global-typography-text-font-family, Roboto ), sans-serif;
	font-size: 13px;
	font-weight: 400;
	text-align: start;
	white-space: nowrap;
}

.account-orders-table td,
.my-account-page .woocommerce-orders-table td,
.my-account-page .woocommerce-table--order-downloads td {
	padding: 16px 18px;
	border: 0;
	border-top: 1px solid #EFF1F4;
	color: var( --e-global-color-primary );
	vertical-align: middle;
}

.account-orders-table td:first-child a,
.my-account-page .woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a {
	color: var( --e-global-color-primary );
	font-weight: 600;
	text-decoration: none;
}

.account-orders-table td:first-child a:hover,
.my-account-page .woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a:hover {
	color: var( --e-global-color-accent );
}

.account-orders-table td:nth-child( 2 ),
.my-account-page .woocommerce-orders-table td.woocommerce-orders-table__cell-order-date {
	color: var( --e-global-color-secondary );
}

.account-orders-table .woocommerce-Price-amount,
.my-account-page .woocommerce-orders-table .woocommerce-Price-amount {
	font-weight: 600;
	white-space: nowrap;
}

/* The status reads as a word with a light in front of it, coloured by where the order has got to. */
.my-account-page .account-order-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var( --status-ink, #5A6270 );
	white-space: nowrap;
}

.account-order-status__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: currentColor;
}

.account-order-status--completed {
	--status-ink: #14804A;
}

.account-order-status--processing,
.account-order-status--on-hold,
.account-order-status--pending {
	--status-ink: #C07800;
}

.account-order-status--cancelled,
.account-order-status--failed,
.account-order-status--refunded {
	--status-ink: #A42C2C;
}

.my-account-page .account-order-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid #E1E4E8;
	border-radius: 7px;
	background-color: #FFFFFF;
	color: var( --e-global-color-primary );
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.my-account-page .account-order-action:hover,
.my-account-page .account-order-action:focus-visible {
	border-color: var( --e-global-color-accent );
	box-shadow: 0 2px 10px rgba( 22, 33, 46, 0.08 );
	color: var( --e-global-color-primary );
}

.account-order-action__arrow {
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask-image: var( --account-icon-arrow );
	mask-image: var( --account-icon-arrow );
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.my-account-page .account-empty {
	margin: 0;
	padding: 26px 20px;
	border: 1px dashed #E1E4E8;
	border-radius: 10px;
	color: var( --e-global-color-secondary );
	font-size: 14.5px;
	text-align: center;
}

.my-account-page .account-empty a {
	color: var( --e-global-color-accent );
	font-weight: 600;
	text-decoration: none;
}

.my-account-page .account-empty a:hover {
	color: var( --e-global-color-primary );
}

/* -- The recommendations --------------------------------------------------- */

.account-recommendations .elementor-template,
.account-recommendations .elementor {
	width: 100%;
}

/* -- WooCommerce's own screens --------------------------------------------- */

.my-account-page .woocommerce-MyAccount-content > h2,
.my-account-page .woocommerce-MyAccount-content > form > h3,
.my-account-page .woocommerce-MyAccount-content > header h2,
.my-account-page .woocommerce-Address-title h3,
.my-account-page .woocommerce-column__title {
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-primary-font-family, Montserrat ), sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.my-account-page .woocommerce-MyAccount-content p {
	color: var( --e-global-color-text );
	font-size: 15px;
	line-height: 1.65;
}

/*
 * Only the prose WooCommerce writes is underlined - the sentence above the addresses, a notice, an
 * address. The page's own cards, buttons and product links say what they are by their shape, and a
 * blanket rule over the whole column reached into all of them.
 */
.my-account-page .woocommerce-MyAccount-content > p a,
.my-account-page .woocommerce-MyAccount-content address a,
.my-account-page .woocommerce-MyAccount-content .woocommerce-message a:not( .button ),
.my-account-page .woocommerce-MyAccount-content .woocommerce-info a:not( .button ),
.my-account-page .woocommerce-MyAccount-content .woocommerce-error a:not( .button ) {
	color: var( --e-global-color-primary );
	text-decoration: underline;
	text-underline-offset: 3px;
}

.my-account-page .woocommerce-MyAccount-content > p a:hover,
.my-account-page .woocommerce-MyAccount-content address a:hover,
.my-account-page .woocommerce-MyAccount-content .woocommerce-message a:not( .button ):hover,
.my-account-page .woocommerce-MyAccount-content .woocommerce-info a:not( .button ):hover,
.my-account-page .woocommerce-MyAccount-content .woocommerce-error a:not( .button ):hover {
	color: var( --e-global-color-accent );
}

/* Addresses. */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 20px;
	margin: 0;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Addresses .woocommerce-Address {
	float: none;
	width: auto;
	margin: 0;
	padding: 22px 24px;
	border: 1px solid #EDEFF2;
	border-radius: 10px;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title h2,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title h3 {
	margin: 0;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-primary-font-family, Montserrat ), sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

/*
 * The card's one action is a quieter thing than a submit - and the widget takes it out of flow
 * with `position: absolute` and a 30px offset, which a flex header does not want.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title .edit {
	position: static;
	float: none;
	flex: 0 0 auto;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #E1E4E8;
	border-radius: 7px;
	color: var( --e-global-color-primary );
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title .edit:hover,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title .edit:focus-visible {
	border-color: var( --e-global-color-accent );
	color: var( --e-global-color-primary );
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address address {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: var( --e-global-color-text );
	font-size: 15px;
	font-style: normal;
	line-height: 1.7;
}

/* The `Password change` legend, and the asterisk beside a required label. */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce fieldset legend {
	margin: 10px 0 14px;
	padding: 0;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-primary-font-family, Montserrat ), sans-serif;
	font-size: 17px;
	font-weight: 700;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .required {
	color: var( --e-global-color-accent );
	text-decoration: none;
}

/* Forms. */
.my-account-page .woocommerce-MyAccount-content .form-row,
.my-account-page .woocommerce-MyAccount-content .woocommerce-form-row {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0 0 18px;
	padding: 0;
}

.my-account-page .woocommerce-MyAccount-content label {
	color: var( --e-global-color-primary );
	font-size: 14px;
	font-weight: 500;
}

.my-account-page .woocommerce-MyAccount-content .required {
	color: var( --e-global-color-accent );
	text-decoration: none;
}

/*
 * The Kit dresses every input at `.elementor-kit-5 input:not([type="button"]):not([type="submit"])`,
 * which is three classes and an element. These carry the widget's own depth so they win outright
 * rather than on load order.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce input[type="text"],
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce input[type="email"],
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce input[type="tel"],
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce input[type="password"],
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce select,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .select2-container .select2-selection--single {
	width: 100%;
	height: auto;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid #E1E4E8;
	border-radius: 8px;
	background-color: #FFFFFF;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-text-font-family, Roboto ), sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce input:focus,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce select:focus {
	border-color: var( --e-global-color-accent );
	box-shadow: 0 0 0 3px rgba( 255, 166, 10, 0.18 );
	outline: none;
}

.my-account-page .woocommerce-MyAccount-content .woocommerce-Button,
.my-account-page .woocommerce-MyAccount-content .button,
.my-account-page .woocommerce-MyAccount-content button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 26px;
	border: 0;
	border-radius: 8px;
	background-color: var( --e-global-color-accent );
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-text-font-family, Roboto ), sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: filter 0.18s ease;
}

.my-account-page .woocommerce-MyAccount-content .woocommerce-Button:hover,
.my-account-page .woocommerce-MyAccount-content .button:hover,
.my-account-page .woocommerce-MyAccount-content button[type="submit"]:hover {
	filter: brightness( 0.94 );
	color: var( --e-global-color-primary );
}

/* Notices. */
.my-account-page .woocommerce-message,
.my-account-page .woocommerce-info,
.my-account-page .woocommerce-error {
	margin: 0 0 22px;
	padding: 15px 20px;
	border: 1px solid #EDEFF2;
	border-inline-start: 3px solid var( --e-global-color-accent );
	border-radius: 8px;
	background-color: #F8F9FA;
	color: var( --e-global-color-primary );
	font-size: 14.5px;
	list-style: none;
}

.my-account-page .woocommerce-error {
	border-inline-start-color: #A42C2C;
}

.my-account-page .woocommerce-message::before,
.my-account-page .woocommerce-info::before,
.my-account-page .woocommerce-error::before {
	display: none;
}

/*
 * WooCommerce floats a notice's button right and lets the words flow around it, with nothing
 * between them. The Latvian prompt runs the full width of the column, so the two met.
 */
.my-account-page .woocommerce-MyAccount-content .woocommerce-message .button,
.my-account-page .woocommerce-MyAccount-content .woocommerce-info .button,
.my-account-page .woocommerce-MyAccount-content .woocommerce-error .button {
	margin-left: 20px;
}

/* -- Signed out ------------------------------------------------------------ */

/*
 * The design draws the account as a customer sees it once signed in. Signed out, WooCommerce shows
 * its own login form; it is given the same surface so the page does not change character.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce:not( :has( .woocommerce-MyAccount-navigation ) ) {
	display: block;
}

.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce:not( :has( .woocommerce-MyAccount-navigation ) ) > h2 {
	margin-bottom: 20px;
	text-align: center;
}

/* WooCommerce dresses `form.login` itself - a border, 20px of padding and a 2em margin. */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce form.woocommerce-form-login {
	max-width: 460px;
	margin: 0 auto;
	padding: 32px 34px;
	border: 1px solid #EDEFF2;
	border-radius: 12px;
	background-color: #FFFFFF;
	box-shadow: 0 10px 30px rgba( 22, 33, 46, 0.05 );
}

.my-account-page .woocommerce-form-login .form-row {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0 0 18px;
	padding: 0;
}

.my-account-page .woocommerce-form-login label {
	color: var( --e-global-color-primary );
	font-size: 14px;
	font-weight: 500;
}

.my-account-page .woocommerce-form-login .woocommerce-password-input,
.my-account-page .woocommerce-MyAccount-content .woocommerce-password-input {
	position: relative;
	display: block;
}

.my-account-page .woocommerce-form-login .show-password-input,
.my-account-page .woocommerce-MyAccount-content .show-password-input {
	position: absolute;
	top: 50%;
	inset-inline-end: 12px;
	transform: translateY( -50% );
	cursor: pointer;
}

.my-account-page .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.my-account-page .woocommerce-form-login .woocommerce-form-login__submit {
	width: 100%;
	margin: 6px 0 14px;
}

.my-account-page .woocommerce-LostPassword {
	margin: 0;
	text-align: center;
	font-size: 14px;
}

.my-account-page .woocommerce-ResetPassword {
	max-width: 460px;
	margin: 0 auto;
}

/*
 * The one button the widget does not offer a property for: its login, register and reset
 * submits carry `background: #5bc0de` outright, so this is met at five classes.
 */
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .login .button,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .register .button,
.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-ResetPassword .button {
	background: var( --e-global-color-accent );
	border-radius: 8px;
	color: var( --e-global-color-primary );
	font-weight: 600;
	padding: 13px 26px;
}

/* -- Tablet ---------------------------------------------------------------- */

@media (max-width: 1024px) {
	.account-header__slogan-text .elementor-heading-title {
		max-width: none;
		padding-bottom: 0;
	}

	.account-header__slogan-text .elementor-heading-title::before,
	.account-header__slogan-text .elementor-heading-title::after {
		display: none;
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce {
		grid-template-columns: minmax( 0, 1fr );
		gap: 24px;
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a {
		padding: 13px 18px;
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
		grid-column: 1 / -1;
	}

	.account-shortcuts {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

/* -- Mobile ---------------------------------------------------------------- */

@media (max-width: 767px) {
	/* Across the full width the copy would otherwise end on bare photograph. */
	.account-header::before {
		background-image: linear-gradient(
			180deg,
			rgba( 6, 26, 45, 0.95 ) 0%,
			rgba( 6, 26, 45, 0.9 ) 100%
		);
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul {
		grid-template-columns: minmax( 0, 1fr );
	}

	.account-greeting {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.account-greeting__title {
		font-size: 26px;
	}

	.account-greeting__action {
		align-self: flex-start;
	}

	.account-shortcuts {
		grid-template-columns: minmax( 0, 1fr );
		gap: 12px;
	}

	.account-section__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.account-section__title {
		font-size: 20px;
	}

	/* A six-column table does not fit a phone, so each row becomes a small record. */
	.account-orders-table,
	.my-account-page .woocommerce-orders-table {
		display: block;
		border: 0;
		border-radius: 0;
	}

	.account-orders-table thead,
	.my-account-page .woocommerce-orders-table thead {
		display: none;
	}

	.account-orders-table tbody,
	.account-orders-table tr,
	.my-account-page .woocommerce-orders-table tbody,
	.my-account-page .woocommerce-orders-table tr {
		display: block;
	}

	.account-orders-table tr,
	.my-account-page .woocommerce-orders-table tr {
		margin-bottom: 12px;
		border: 1px solid #EDEFF2;
		border-radius: 10px;
		overflow: hidden;
	}

	.account-orders-table td,
	.my-account-page .woocommerce-orders-table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 11px 16px;
		border-top: 0;
		border-bottom: 1px solid #F2F4F6;
		text-align: end;
	}

	.account-orders-table td:last-child,
	.my-account-page .woocommerce-orders-table td:last-child {
		border-bottom: 0;
	}

	.account-orders-table td::before,
	.my-account-page .woocommerce-orders-table td::before {
		content: attr( data-title );
		flex: 0 0 auto;
		color: var( --e-global-color-secondary );
		font-size: 13px;
		text-align: start;
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Addresses {
		grid-template-columns: minmax( 0, 1fr );
	}

	/*
	 * Two product cards across a phone leave about 145px for the button, and `Pievienot grozam`
	 * needs a touch more than that at 13.5px. The shop archive is as tight; the fix belongs in the
	 * shared card, and is kept here so `product-card.css` stays a true copy of it.
	 */
	.my-account-page .account-recommendations .product-card__cart .button {
		gap: 6px;
		padding: 11px 8px;
		font-size: 12.5px;
	}

	/*
	 * Beside a floated button the sentence is left with about 100px to wrap in. On a phone the
	 * button takes its own line instead - `order` rather than source order, because WooCommerce
	 * prints the button first in one notice and last in another.
	 */
	.my-account-page .woocommerce-MyAccount-content .woocommerce-message,
	.my-account-page .woocommerce-MyAccount-content .woocommerce-info,
	.my-account-page .woocommerce-MyAccount-content .woocommerce-error {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.my-account-page .woocommerce-MyAccount-content .woocommerce-message .button,
	.my-account-page .woocommerce-MyAccount-content .woocommerce-info .button,
	.my-account-page .woocommerce-MyAccount-content .woocommerce-error .button {
		order: 1;
		float: none;
		margin: 0;
	}

	.my-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce form.woocommerce-form-login {
		padding: 24px 20px;
	}
}
