/* ADLR Compte client - styles scoped to the REAL WooCommerce My Account navigation. */
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-content {
	float:right;
	width:var(--adlr-account-content-width);
	background:var(--adlr-account-panel-bg);
	box-shadow:var(--adlr-account-panel-shadow);
	padding:var(--adlr-account-padding);
	box-sizing:border-box;
	border-radius:var(--adlr-account-radius);
}

body.woocommerce-account.adlr-account-style-enabled .bonjour{font-size:32px;font-weight:400}
body.woocommerce-account.adlr-account-style-enabled .user-name{font-size:32px;font-weight:700}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-orders-table__cell-order-product-image{width:50px;height:auto}
body.woocommerce-account.adlr-account-style-enabled .wps_wpr_shortcode_wrapper{font-size:22px}
body.woocommerce-account.adlr-account-style-enabled table.woocommerce-orders-table.woocommerce-MyAccount-orders{text-align:center}

body.woocommerce-account.adlr-account-style-enabled .woocommerce-orders-table tbody tr:nth-child(odd),
body.woocommerce-account.adlr-account-style-enabled .wishlist_table tbody tr:nth-child(odd){background:var(--adlr-account-row-odd)}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-orders-table tbody tr:nth-child(even),
body.woocommerce-account.adlr-account-style-enabled .wishlist_table tbody tr:nth-child(even){background:var(--adlr-account-row-even)}

body.woocommerce-account.adlr-account-style-enabled a.woocommerce-button.button.view{width:50%}
body.woocommerce-account.adlr-account-style-enabled a.woocommerce-button.button.view.order-actions-button,
body.woocommerce-account.adlr-account-style-enabled a.adlr-last-order-view{text-align:center;color:#fff!important}
body.woocommerce-account.adlr-account-style-enabled table.wps_wpr_common_table{text-align:center}

body.woocommerce-account.adlr-account-style-enabled .wishlist_table.mobile{list-style:none;margin:0;padding:0}
body.woocommerce-account.adlr-account-style-enabled .wishlist_table.mobile li .item-wrapper .product-thumbnail{display:initial!important;max-width:initial!important;margin-right:initial!important}
body.woocommerce-account.adlr-account-style-enabled .wishlist_table.mobile li{text-align:center!important}
body.woocommerce-account.adlr-account-style-enabled .wishlist_table.mobile li .item-wrapper{display:initial!important;width:initial!important;vertical-align:initial!important;margin-bottom:initial!important}

body.woocommerce-account.adlr-account-style-enabled h2.woocommerce-column__title,
body.woocommerce-account.adlr-account-style-enabled address{border:initial!important;text-align:center!important}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-column--billing-address,
body.woocommerce-account.adlr-account-style-enabled .woocommerce-column--shipping-address,
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-content .woocommerce-Address{
	box-shadow:var(--adlr-account-panel-shadow);
	padding:var(--adlr-account-padding);
	background:var(--adlr-account-panel-bg);
	border-radius:var(--adlr-account-radius);
	box-sizing:border-box;
}
body.woocommerce-account.adlr-account-style-enabled table.woocommerce-table--order-details{border:initial!important;box-shadow:var(--adlr-account-panel-shadow);background:var(--adlr-account-panel-bg)}
body.woocommerce-account.adlr-account-style-enabled td.woocommerce-table__product-total.product-total{border-right:0}
body.woocommerce-account.adlr-account-style-enabled header.woocommerce-Address-title.title{border:initial!important}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-address-fields button.button{width:100%;margin-top:1em!important}

body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation{
	border-radius:var(--adlr-account-radius);
	padding:10px;
	width:var(--adlr-account-nav-width);
	max-width:var(--adlr-account-nav-width);
	margin:auto;
	box-shadow:var(--adlr-account-nav-shadow);
	box-sizing:border-box;
}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation li{margin-bottom:10px;line-height:20px!important;border:0;box-shadow:0 0 4px rgba(0,0,0,1)}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation li:last-child{margin-bottom:0}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation a{
	display:block;
	padding:10px;
	text-decoration:none;
	color:#333;
	background:var(--adlr-account-nav-bg);
	border-radius:max(0px,calc(var(--adlr-account-radius) - 3px));
	transition:background-color .3s,color .3s;
}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .is-active a{background:var(--adlr-account-accent)!important;color:#fff!important}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation a:before{content:'\1F4E6';margin-right:8px}

/* IMPORTANT v1.0.6: every endpoint icon is now scoped under the real My Account nav.
   Astra's header WooCommerce menu reuses the endpoint classes but is NOT inside this wrapper. */
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--dashboard a:before{content:'\1F4CA'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--orders a:before{content:'\1F4E6'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--downloads a:before{content:'\1F4BE'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address a:before{content:'\1F4CD'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--payment-methods a:before{content:'\1F4B3'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-account a:before{content:'\1F464'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--view-log a:before{content:'\1F4B0'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a:before{content:'\1F511'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--wishlist a:before{content:'\1F499'}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--quotes a:before{content:'\1F4C4'}



/* Astra header WooCommerce account menu.
   The old child-theme CSS also styled these WooCommerce endpoint classes.
   Keep the header compact and independent from the full My Account layout. */
.ast-header-account-wrap .ast-account-nav-menu.ast-header-account-woocommerce-menu{
	width:var(--adlr-account-header-menu-width)!important;
	min-width:var(--adlr-account-header-menu-width)!important;
	max-width:min(var(--adlr-account-header-menu-width),calc(100vw - 24px))!important;
	padding:8px!important;
	box-sizing:border-box!important;
	display:block!important;
	gap:0!important;
	justify-content:flex-start!important;
}
.ast-header-account-wrap .ast-account-nav-menu.ast-header-account-woocommerce-menu>li.woocommerce-MyAccount-navigation-link{
	display:block!important;
	float:none!important;
	width:auto!important;
	height:auto!important;
	min-height:0!important;
	margin:0 0 7px!important;
	padding:0!important;
	line-height:20px!important;
	border:0!important;
	box-shadow:0 0 4px rgba(0,0,0,1)!important;
	flex:none!important;
}
.ast-header-account-wrap .ast-account-nav-menu.ast-header-account-woocommerce-menu>li.woocommerce-MyAccount-navigation-link:last-child{margin-bottom:0!important}
.ast-header-account-wrap .ast-account-nav-menu.ast-header-account-woocommerce-menu>li.woocommerce-MyAccount-navigation-link>a.menu-link{
	display:block!important;
	height:auto!important;
	min-height:0!important;
	padding:8px 10px!important;
	line-height:20px!important;
	text-decoration:none!important;
	color:#333!important;
	background:var(--adlr-account-nav-bg)!important;
	border-radius:max(0px,calc(var(--adlr-account-radius) - 3px))!important;
	white-space:normal!important;
	transition:background-color .3s,color .3s!important;
}
.ast-header-account-wrap .ast-account-nav-menu.ast-header-account-woocommerce-menu>li.woocommerce-MyAccount-navigation-link:hover>a.menu-link,
.ast-header-account-wrap .ast-account-nav-menu.ast-header-account-woocommerce-menu>li.woocommerce-MyAccount-navigation-link.is-active>a.menu-link{
	background:var(--adlr-account-accent)!important;
	color:#fff!important;
}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link>a:before{content:'\1F4E6';margin-right:8px}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--dashboard>a:before{content:'\1F4CA'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--orders>a:before{content:'\1F4E6'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--downloads>a:before{content:'\1F4BE'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--edit-address>a:before{content:'\1F4CD'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--payment-methods>a:before{content:'\1F4B3'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--edit-account>a:before{content:'\1F464'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--view-log>a:before{content:'\1F4B0'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--customer-logout>a:before{content:'\1F511'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--wishlist>a:before,
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--woosw>a:before,
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--woosw-list>a:before,
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--yith-wcwl>a:before,
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--yith-wishlist>a:before{content:'\1F499'}
.ast-header-account-wrap .ast-header-account-woocommerce-menu .woocommerce-MyAccount-navigation-link--quotes>a:before{content:'\1F4C4'}

/* Logged-out My Account login/register cards. */
body.woocommerce-account.adlr-account-style-enabled #customer_login .u-column1.col-1,
body.woocommerce-account.adlr-account-style-enabled #customer_login .u-column2.col-2{
	background:var(--adlr-account-panel-bg);
	box-shadow:var(--adlr-account-panel-shadow);
	padding:var(--adlr-account-padding);
	margin-bottom:1em;
	text-align:justify;
	border-radius:var(--adlr-account-radius);
	box-sizing:border-box;
}
body.woocommerce-account.adlr-account-style-enabled .woocommerce form.login,
body.woocommerce-account.adlr-account-style-enabled .woocommerce form.register{border:0;padding:0;margin:0;text-align:left;border-radius:var(--adlr-account-radius)}
body.woocommerce-account.adlr-account-style-enabled .woocommerce-privacy-policy-text p,
body.woocommerce-account.adlr-account-style-enabled p.woocommerce-LostPassword.lost_password{margin-bottom:0}
body.woocommerce-account.adlr-account-style-enabled .adlr-account-empty{margin:1em 0}

@media only screen and (max-width:1279px){
	body.woocommerce-account.adlr-account-style-enabled a.woocommerce-button.button.view{text-align:center}
}
