/* Indulgence Classic Child 1.1.0: account access. Header icon fit and My Account forms in the existing tokens. Scoped to the header and to body.woocommerce-account. */

/* Header: the account icon shares the 44px button size of Search and Bag. */
.ic-tools2 a.ic-acct svg{display:block}

/* Phones (350px to 519px): three 44px icons cannot sit beside the centred wordmark on one side, so the account icon joins the menu button on the
   left and Search and Bag stay on the right, keeping the wordmark centred (targets are 40px wide by 44px high on phones). Applies only when the account link exists.
   Below 350px there is no room at all, so the header icon is hidden there and the menu entry "Account" remains. */
@media(min-width:350px) and (max-width:519px){
	.ic-hdr.ic-has-account{grid-template-columns:40px 40px minmax(0,1fr) 40px 40px;padding-left:.5rem;padding-right:.5rem}
	.ic-hdr.ic-has-account :is(.ic-burger,.ic-tools2>*){width:40px}
	.ic-hdr.ic-has-account .ic-tools2{display:contents}
	.ic-hdr.ic-has-account :is(.ic-burger,.ic-logo,.ic-tools2>*){grid-row:1}
	.ic-hdr.ic-has-account .ic-burger{grid-column:1}
	.ic-hdr.ic-has-account .ic-tools2 .ic-acct{grid-column:2}
	.ic-hdr.ic-has-account .ic-logo{grid-column:3}
	.ic-hdr.ic-has-account .ic-tools2>button{grid-column:4}
	.ic-hdr.ic-has-account .ic-tools2>a:not(.ic-acct){grid-column:5}
}
.ic-tools2 a.ic-acct[aria-current=page]::after{content:"";position:absolute;left:12px;right:12px;bottom:7px;height:1px;background:currentColor}

/* My Account (login, register, lost password, dashboard): WooCommerce's own markup, theme tokens only. */
body.ic-chrome.woocommerce-account .woocommerce>h2,
body.ic-chrome.woocommerce-account .woocommerce .u-column1>h2,
body.ic-chrome.woocommerce-account .woocommerce .u-column2>h2{font-size:1rem;font-weight:300;text-transform:uppercase;letter-spacing:.12em;margin:0 0 1.2rem}
body.ic-chrome.woocommerce-account .woocommerce form:is(.woocommerce-form-login,.woocommerce-form-register,.lost_reset_password,.woocommerce-ResetPassword){border:1px solid var(--ic-line);border-radius:0;padding:1.6rem;margin:0 0 1.5rem;background:transparent}
body.ic-chrome.woocommerce-account .woocommerce form .form-row{margin:0 0 1.1rem}
body.ic-chrome.woocommerce-account .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:.5rem;margin:0 1.2rem 0 0}
body.ic-chrome.woocommerce-account .woocommerce-form-login__rememberme input{width:auto;min-height:0;margin:0}
body.ic-chrome.woocommerce-account .woocommerce-LostPassword{margin:1rem 0 0;font-size:.82rem}
body.ic-chrome.woocommerce-account .woocommerce-LostPassword a,body.ic-chrome.woocommerce-account .woocommerce-privacy-policy-text a{text-underline-offset:4px}
body.ic-chrome.woocommerce-account .woocommerce-privacy-policy-text p{font-size:.8rem;color:var(--ic-mute)}
body.ic-chrome.woocommerce-account .woocommerce-MyAccount-content{font-size:.95rem}
body.ic-chrome.woocommerce-account .woocommerce-MyAccount-content a:not(.button){text-underline-offset:4px}
@media(max-width:349px){.ic-tools2 a.ic-acct{display:none}}

.ic-acct-link[aria-current=page]{text-decoration:underline;text-underline-offset:4px}
