/**
 * Minimal My Account design using Elementra theme colors.
 */

body.vbl-has-custom-my-account-layout {
	--vbl-account-accent: var(--theme-color-text_dark, #06021d);
	--vbl-account-link: var(--theme-color-text_link, #2c3e8c);
	--vbl-account-text: var(--theme-color-text, #666666);
	--vbl-account-muted: var(--theme-color-text_light, #999999);
	--vbl-account-border: var(--theme-color-bd_color, #e5e5e5);
	--vbl-account-surface: var(--theme-color-alter_bg_color, #f8f8f8);
	--vbl-account-inverse: var(--theme-color-inverse_link, #ffffff);
	--vbl-account-radius: var(--theme-var-global-border-radius-small, 10px);
	--vbl-account-avatar-bg: #00348a;
}

/* Hide the theme page title on the account dashboard. */
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .sc_layouts_title,
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .sc_layouts_title_caption,
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .page_title,
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .post_item_single > .post_title,
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .post_header_wrap .post_title,
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .post_header_wrap .sc_layouts_title,
body.vbl-has-custom-my-account-layout.vbl-account-on-dashboard .content .sc_layouts_title {
	display: none !important;
}

/* Profile block in account sidebar navigation */
body.vbl-has-custom-my-account-layout .vbl-my-account-navigation .vbl-account-profile-header {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 1rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--vbl-account-border);
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-header__avatar {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-header__info {
	min-width: 0;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-header__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--vbl-account-accent);
	word-break: break-word;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-header__avatar .vbl-account-avatar,
body.vbl-has-custom-my-account-layout .vbl-account-profile-header__avatar img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	border-radius: 50% !important;
	object-fit: cover;
}

body.vbl-has-custom-my-account-layout .vbl-account-avatar {
	display: block;
	border-radius: 50%;
	object-fit: cover;
}

body.vbl-has-custom-my-account-layout .vbl-account-avatar--initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--vbl-account-avatar-bg);
	color: #fff;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

body.vbl-has-custom-my-account-layout .vbl-account-avatar--initials span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* Profile picture field on Profile page */
body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field {
	margin: 0 0 1.5rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--vbl-account-border);
	border-radius: var(--vbl-account-radius);
	background: var(--vbl-account-surface);
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__label {
	display: block;
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--vbl-account-accent);
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__row {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__preview {
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 0.15rem;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__file {
	display: none !important;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__upload,
body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 11rem;
	margin: 0 !important;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__remove.is-disabled,
body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__remove:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__avatar,
body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__preview .vbl-account-avatar,
body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__preview img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover;
}

body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field .description {
	margin: 0.15rem 0 0;
	font-size: 0.82rem;
	color: var(--vbl-account-muted);
}

@media (max-width: 575px) {
	body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__row {
		flex-direction: column;
		align-items: center;
	}

	body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__actions {
		align-items: stretch;
		width: 100%;
	}

	body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__upload,
	body.vbl-has-custom-my-account-layout .vbl-account-profile-picture-field__remove {
		width: 100%;
		min-width: 0;
	}
}

/* Hide duplicate WooCommerce output outside the custom layout wrapper. */
body.vbl-has-custom-my-account-layout .woocommerce-account .post_content > .woocommerce:not(.vbl-my-account-layout),
body.vbl-has-custom-my-account-layout .woocommerce-account .post_item_single > .woocommerce:not(.vbl-my-account-layout),
body.vbl-has-custom-my-account-layout .vbl-my-account-layout ~ .woocommerce,
body.vbl-has-custom-my-account-layout .vbl-my-account-layout ~ .woocommerce-MyAccount-content {
	display: none !important;
}

/* Navigation */
body.vbl-has-custom-my-account-layout .vbl-my-account-navigation .woocommerce-MyAccount-navigation > ul {
	gap: 2px;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-navigation .woocommerce-MyAccount-navigation > ul > li > a {
	padding: 0.65rem 1rem;
	border-radius: var(--vbl-account-radius);
	color: var(--vbl-account-text) !important;
	font-weight: 500;
	background: transparent !important;
	border: 1px solid transparent;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-navigation .woocommerce-MyAccount-navigation > ul > li > a:hover {
	color: var(--vbl-account-accent) !important;
	background: var(--vbl-account-surface) !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-navigation .woocommerce-MyAccount-navigation > ul > li.is-active > a {
	color: var(--vbl-account-inverse) !important;
	background: var(--vbl-account-accent) !important;
	border-color: var(--vbl-account-accent);
}

/* Content area typography */
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content {
	color: var(--vbl-account-text);
	font-size: 1rem;
	line-height: 1.6;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content > p,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content > p {
	margin: 0 0 1rem;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content > h2,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content > .vbl-account-page-title,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content > h2,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content > .vbl-account-page-title {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--vbl-account-accent) !important;
	background: transparent !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content h3,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content h3 {
	margin: 1.75rem 0 0.85rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--vbl-account-accent);
}

/* Addresses */
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	width: 100%;
	max-width: 100%;
	margin: 0.5rem 0 0;
	float: none !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses::after,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses::after {
	display: none !important;
	content: none !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses .col-1,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses .col-2,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses .col-1,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses .col-2,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content > .woocommerce-Address,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content > .woocommerce-Address {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Address-title,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Address-title {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.35rem 1rem;
	margin: 0 0 0.75rem;
	padding: 0;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Address-title h2 {
	flex: 0 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: var(--vbl-account-accent) !important;
	background: transparent !important;
	white-space: nowrap;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Address-title .edit,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
	flex: 0 0 auto;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Address address,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Address address {
	font-style: normal;
	color: var(--vbl-account-text);
	font-size: 0.95rem;
	line-height: 1.6;
}

@media (max-width: 767px) {
	body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses,
	body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content a,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content a {
	color: var(--vbl-account-link);
	text-decoration: none;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-MyAccount-content a:hover,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-MyAccount-content a:hover {
	text-decoration: underline;
}

/* Tables — light, border-only */
body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table {
	width: 100%;
	margin: 0 0 1.5rem;
	border: 1px solid var(--vbl-account-border) !important;
	border-collapse: collapse;
	border-radius: var(--vbl-account-radius);
	overflow: hidden;
	background: transparent !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table thead th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table thead th {
	padding: 0.85rem 1.1rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--vbl-account-border) !important;
	background: transparent !important;
	color: var(--vbl-account-accent) !important;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table tbody tr,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table tbody tr {
	background: transparent !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table tbody tr:nth-child(even),
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table tbody tr:nth-child(even) {
	background: transparent !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table td,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table th {
	padding: 0.95rem 1.1rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--vbl-account-border) !important;
	color: var(--vbl-account-text) !important;
	background: transparent !important;
	vertical-align: middle;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table tr:last-child td,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table tr:last-child th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table tr:last-child td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table tr:last-child th {
	border-bottom: 0 !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .shop_table .woocommerce-orders-table__cell-order-number a,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .shop_table .woocommerce-orders-table__cell-order-number a {
	color: var(--vbl-account-link) !important;
	font-weight: 600;
}

/* Buttons */
body.vbl-has-custom-my-account-layout .vbl-my-account-content .button,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-button,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .button,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
	padding: 0.45rem 1rem !important;
	border: 1px solid var(--vbl-account-border) !important;
	border-radius: var(--vbl-account-radius) !important;
	background: transparent !important;
	color: var(--vbl-account-accent) !important;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	box-shadow: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .button:hover,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-button:hover,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .button:hover,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-button:hover {
	background: var(--vbl-account-accent) !important;
	border-color: var(--vbl-account-accent) !important;
	color: var(--vbl-account-inverse) !important;
}

/* Notices */
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-message,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-info,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-error,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-message,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-info,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-error,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-message,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-info,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-error {
	position: relative;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem 0.85rem 2.75rem;
	border: 1px solid var(--vbl-account-border);
	border-left-width: 3px;
	border-radius: var(--vbl-account-radius);
	background: var(--vbl-account-surface);
	color: var(--vbl-account-text);
	list-style: none;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-message::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-info::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-error::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-message::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-info::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-error::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-message::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-info::before,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-error::before {
	position: absolute;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	margin: 0;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-message,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-message,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-message {
	border-left-color: var(--vbl-account-link);
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-info,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-info,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-info {
	border-left-color: #1e85be;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-error,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-error,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .woocommerce-error {
	border-left-color: #b81c23;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .wc-block-components-notice-banner,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .wc-block-components-notice-banner,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .wc-block-components-notice-banner {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem !important;
	border-radius: var(--vbl-account-radius);
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .wc-block-components-notice-banner > svg,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .wc-block-components-notice-banner > svg,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .wc-block-components-notice-banner > svg {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin-top: 0.1rem;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .wc-block-components-notice-banner__content,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .wc-block-components-notice-banner__content,
body.vbl-has-custom-my-account-layout .vbl-my-account-notices .wc-block-components-notice-banner__content {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
}

/* Forms */
body.vbl-has-custom-my-account-layout .woocommerce form:not(.vbl-auth-box__form) .form-row .input-text,
body.vbl-has-custom-my-account-layout .woocommerce form:not(.vbl-auth-box__form) .form-row select,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-EditAccountForm input.input-text,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-address-fields input.input-text,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-address-fields select,
body.vbl-has-custom-my-account-layout .vbl-my-account-login input.input-text {
	border: var(--wc-form-border-width, 1px) solid rgb(229 231 222);
	border-radius: var(--vbl-account-radius);
	background: #fff;
	color: var(--vbl-account-accent);
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-EditAccountForm label,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-address-fields label {
	color: var(--vbl-account-accent);
	font-weight: 500;
}

/* View Order — order details, totals, and billing address */
body.vbl-has-custom-my-account-layout .vbl-my-account-content .vbl-endpoint-view-order > p,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .vbl-endpoint-view-order > p {
	margin: 0 0 1.5rem;
	color: var(--vbl-account-text);
	font-size: 0.95rem;
	line-height: 1.6;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .vbl-endpoint-view-order mark,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .vbl-endpoint-view-order mark {
	background: transparent;
	color: var(--vbl-account-accent);
	font-weight: 600;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-order-details__title,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-order-downloads__title,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-column__title,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-order-details__title,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-order-downloads__title,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-column__title {
	margin: 1.75rem 0 0.85rem !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: var(--vbl-account-accent) !important;
	background: transparent !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-order-details,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-order-downloads,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-order-details,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-order-downloads {
	margin: 0 0 1.5rem;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details,
body.vbl-has-custom-my-account-layout .vbl-my-account-content table.order_details,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint table.order_details {
	width: 100%;
	margin: 0 0 1.5rem;
	border: 1px solid var(--vbl-account-border) !important;
	border-collapse: collapse;
	border-radius: var(--vbl-account-radius);
	overflow: hidden;
	background: transparent !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details thead th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details thead th {
	padding: 0.85rem 1.1rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--vbl-account-border) !important;
	background: transparent !important;
	color: var(--vbl-account-accent) !important;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tbody td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tbody td {
	padding: 0.95rem 1.1rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--vbl-account-border) !important;
	color: var(--vbl-account-text) !important;
	background: transparent !important;
	vertical-align: top;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tbody tr:last-child td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tbody tr:last-child td {
	border-bottom: 0 !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tfoot th,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tfoot td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tfoot th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tfoot td {
	padding: 0.75rem 1.1rem !important;
	border: 0 !important;
	border-top: 1px solid var(--vbl-account-border) !important;
	background: transparent !important;
	vertical-align: middle;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tfoot th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tfoot th {
	color: var(--vbl-account-muted) !important;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: left;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tfoot td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tfoot td {
	color: var(--vbl-account-accent) !important;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: right;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tfoot tr:last-child th,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details tfoot tr:last-child td,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tfoot tr:last-child th,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0 !important;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .product-name a,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .product-name a {
	color: var(--vbl-account-link) !important;
	font-weight: 600;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .product-quantity,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .product-quantity {
	font-weight: 500;
	color: var(--vbl-account-muted);
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .wc-item-meta,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .woocommerce-item-meta,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .wc-item-meta,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .woocommerce-item-meta {
	margin: 0.45rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--vbl-account-muted);
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .wc-item-meta li,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .woocommerce-item-meta li,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .wc-item-meta li,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .woocommerce-item-meta li {
	margin: 0.1rem 0;
	padding: 0;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-table--order-details .wc-item-meta-label,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-table--order-details .wc-item-meta-label {
	font-weight: 500;
	color: var(--vbl-account-text);
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-customer-details,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-customer-details {
	margin: 0.5rem 0 0;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-customer-details .woocommerce-columns,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	width: 100%;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-customer-details address,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-customer-details address {
	font-style: normal;
	color: var(--vbl-account-text);
	font-size: 0.95rem;
	line-height: 1.6;
}

body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-customer-details .woocommerce-customer-details--phone,
body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-customer-details .woocommerce-customer-details--email,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-customer-details .woocommerce-customer-details--phone,
body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-customer-details .woocommerce-customer-details--email {
	margin: 0.35rem 0 0;
	color: var(--vbl-account-text);
}

@media (max-width: 767px) {
	body.vbl-has-custom-my-account-layout .vbl-my-account-content .woocommerce-customer-details .woocommerce-columns,
	body.vbl-has-custom-my-account-layout .vbl-my-account-endpoint .woocommerce-customer-details .woocommerce-columns {
		grid-template-columns: 1fr;
	}
}
