/*
 * WooCommerce loads its account layout with .col2-set floats. This file is
 * enqueued after WooCommerce so the account page can use the site's layout
 * without changing WooCommerce's shared styles on other pages.
 */
.woocommerce-default-content--logged-out .woocommerce {
    box-sizing: border-box;
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    float: none !important;
    justify-self: center;
}

.woocommerce-default-content--logged-out .woocommerce-default-content__header {
    margin-bottom: var(--space-md);
}

.woocommerce-default-content--logged-out .woocommerce-notices-wrapper {
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto var(--space-md) !important;
}

.woocommerce-default-content--logged-out .woocommerce-notices-wrapper:empty,
.woocommerce-default-content--logged-out .woocommerce-notices-wrapper:not(:has(*)) {
    display: none !important;
}

.woocommerce-default-content--logged-out .woocommerce-error,
.woocommerce-default-content--logged-out .woocommerce-message,
.woocommerce-default-content--logged-out .woocommerce-info {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid var(--color-line) !important;
    border-left: 4px solid var(--color-primary) !important;
    border-radius: var(--radius) !important;
    background: var(--color-bg-light) !important;
    color: var(--color-text-dark) !important;
    box-shadow: none !important;
    list-style: none outside !important;
}

.woocommerce-default-content--logged-out .woocommerce-error {
    border-left-color: #a33a32 !important;
}

/* WooCommerce focuses role="alert" notices after submit for screen readers. */
.woocommerce-default-content--logged-out .woocommerce-error:focus,
.woocommerce-default-content--logged-out .woocommerce-error:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.woocommerce-default-content--logged-out .woocommerce-error::before,
.woocommerce-default-content--logged-out .woocommerce-error::after,
.woocommerce-default-content--logged-out .woocommerce-message::before,
.woocommerce-default-content--logged-out .woocommerce-message::after,
.woocommerce-default-content--logged-out .woocommerce-info::before,
.woocommerce-default-content--logged-out .woocommerce-info::after {
    display: none !important;
    content: none !important;
}

.woocommerce-default-content--logged-out .woocommerce-error li,
.woocommerce-default-content--logged-out .woocommerce-message li,
.woocommerce-default-content--logged-out .woocommerce-info li {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    list-style: none !important;
}

.woocommerce-default-content--logged-out .woocommerce-error strong {
    color: var(--color-btn-primary);
    font-weight: 600;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns,
.woocommerce-default-content--logged-out .woocommerce .u-columns.col2-set,
.woocommerce-default-content--logged-out .woocommerce #customer_login {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: clamp(1.5rem, 3vw, 2.5rem) !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns > .u-column1,
.woocommerce-default-content--logged-out .woocommerce .u-columns > .u-column2,
.woocommerce-default-content--logged-out .woocommerce .u-columns > .col-1,
.woocommerce-default-content--logged-out .woocommerce .u-columns > .col-2 {
    box-sizing: border-box;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: clamp(1.5rem, 3vw, 2.75rem) !important;
    border: 1px solid var(--color-line) !important;
    border-radius: var(--radius-lg) !important;
    background: var(--color-white) !important;
    float: none !important;
    clear: none !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns > .u-column1,
.woocommerce-default-content--logged-out .woocommerce .u-columns > .col-1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns > .u-column2,
.woocommerce-default-content--logged-out .woocommerce .u-columns > .col-2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    background: var(--color-bg-light) !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns h2 {
    margin: 0 0 var(--space-md) !important;
    color: var(--color-text-dark) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns form .form-row {
    width: 100%;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns form label {
    color: var(--color-text-dark) !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns form .input-text,
.woocommerce-default-content--logged-out .woocommerce .u-columns form input[type="text"],
.woocommerce-default-content--logged-out .woocommerce .u-columns form input[type="email"],
.woocommerce-default-content--logged-out .woocommerce .u-columns form input[type="password"] {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    min-height: 48px;
    border: 1px solid rgba(40, 48, 38, 0.2) !important;
    border-radius: var(--radius) !important;
    background: var(--color-white) !important;
    color: var(--color-text-dark) !important;
    box-shadow: none !important;
    outline: 0;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns form .input-text:invalid,
.woocommerce-default-content--logged-out .woocommerce .u-columns form input:invalid {
    border-color: rgba(40, 48, 38, 0.2) !important;
    box-shadow: none !important;
}

.woocommerce-default-content--logged-out .woocommerce .u-columns form .input-text:focus,
.woocommerce-default-content--logged-out .woocommerce .u-columns form input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(144, 165, 137, 0.2) !important;
    outline: 0 !important;
}

.woocommerce-default-content--logged-out .woocommerce-form-login > p.form-row:has(.woocommerce-form-login__submit) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.woocommerce-default-content--logged-out .woocommerce-form-login__submit {
    order: 0;
    margin: 0 !important;
}

.woocommerce-default-content--logged-out .woocommerce-form-login__rememberme {
    display: flex !important;
    flex: 0 0 auto;
    order: 1;
    align-items: center;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce-default-content--logged-out .woocommerce .lost_password {
    margin-top: -0.25rem !important;
}

.woocommerce-default-content--logged-out .woocommerce-privacy-policy-text {
    margin-top: var(--space-sm);
}

@media (max-width: 759px) {
    .woocommerce-default-content--logged-out .woocommerce .u-columns,
    .woocommerce-default-content--logged-out .woocommerce .u-columns.col2-set,
    .woocommerce-default-content--logged-out .woocommerce #customer_login {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-default-content--logged-out .woocommerce .u-columns > .u-column1,
    .woocommerce-default-content--logged-out .woocommerce .u-columns > .u-column2,
    .woocommerce-default-content--logged-out .woocommerce .u-columns > .col-1,
    .woocommerce-default-content--logged-out .woocommerce .u-columns > .col-2 {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}
