/**
 * WooCommerce account area
 *
 * Shared presentation for the dashboard, orders, addresses and account forms.
 */
body.woocommerce-account {
    background: #f7f5f8;
}
body.woocommerce-account .site-content {
    padding-bottom: 80px;
}
body.woocommerce-account .woocommerce.container {
    margin: 0 auto;
    max-width: 1080px;
    padding: 0;
    width: calc(100% - 32px);
}
body.woocommerce-account .page-header h1 {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Account navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    background: #fff;
    border: 1px solid #ebe5ee;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 12px 28px rgba(69, 48, 81, .06);
    gap: 6px;
    margin: 0;
    padding: 12px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a {
    align-items: center;
    border-radius: 999px;
    color: #564f5a;
    display: inline-flex;
    font-size: 14px;
    justify-content: center;
    line-height: 1.25;
    min-height: 44px;
    padding: 10px 17px;
    transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"],
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #f0eaf3;
    color: #725287;
    font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"] {
    box-shadow: inset 0 0 0 1px #d9c9e2;
}

/* Shared content shell */
body.woocommerce-account .woocommerce.container .woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid #ebe5ee;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(69, 48, 81, .06);
    color: #4b454e;
    margin: 0;
    min-height: 220px;
    padding: 36px 40px;
}
body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    margin-top: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
    margin-bottom: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content > p {
    font-size: 16px;
    line-height: 1.75;
    max-width: 760px;
}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.edit) {
    color: #725287;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Addresses */
body.woocommerce-account .woocommerce-Addresses {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
}
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address {
    margin-top: 30px;
}
body.woocommerce-account .woocommerce-Address {
    background: #fbfafe;
    border: 1px solid #e7e0eb;
    border-radius: 16px;
    min-height: 230px;
    padding: 24px;
}
body.woocommerce-account .woocommerce-Address-title {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0 0 22px;
}
body.woocommerce-account .woocommerce-Address-title h2 {
    color: #403448;
    font-size: 24px;
    line-height: 1.25;
    margin: 0;
}
body.woocommerce-account .woocommerce-Address-title .edit {
    align-items: center;
    background: #fff;
    border: 1px solid #c9b7d5;
    border-radius: 999px;
    color: #725287;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    min-height: 40px;
    padding: 8px 13px;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
body.woocommerce-account .woocommerce-Address-title .edit:hover {
    background: #725287;
    border-color: #725287;
    color: #fff;
}
body.woocommerce-account .woocommerce-Address address {
    color: #5a535d;
    font-size: 15px;
    font-style: normal;
    line-height: 1.65;
    margin: 0;
}

/* Orders */
body.woocommerce-account .woocommerce-orders-table {
    border: 1px solid #e5ddea;
    border-collapse: separate;
    border-radius: 16px;
    border-spacing: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
}
body.woocommerce-account .woocommerce-orders-table thead th {
    background: #f4eff6;
    border-bottom: 1px solid #e2d9e7;
    color: #67586f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 15px 16px;
    text-align: left;
    text-transform: uppercase;
}
body.woocommerce-account .woocommerce-orders-table tbody th,
body.woocommerce-account .woocommerce-orders-table tbody td {
    border-bottom: 1px solid #eee9f0;
    color: #514a54;
    padding: 15px 16px;
    text-align: left;
    vertical-align: middle;
}
body.woocommerce-account .woocommerce-orders-table tbody tr:last-child th,
body.woocommerce-account .woocommerce-orders-table tbody tr:last-child td {
    border-bottom: 0;
}
body.woocommerce-account .woocommerce-orders-table tbody tr:hover {
    background: #fcfbfd;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
    color: #493956;
    font-weight: 700;
    text-decoration: none;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-total {
    white-space: nowrap;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
    font-weight: 600;
    white-space: nowrap;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-status::before {
    background: #a287b5;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 7px;
    margin: 0 7px 1px 0;
    width: 7px;
}
body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
    color: #267247;
}
body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before {
    background: #3a9a62;
}
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status {
    color: #a54658;
}
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status::before {
    background: #c35d6d;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account .woocommerce-MyAccount-content .button {
    align-items: center;
    border-radius: 8px;
    box-shadow: none;
    display: inline-flex;
    justify-content: center;
    line-height: 1.2;
    min-height: 40px;
    padding: 10px 14px;
    transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover {
    background: #60466f;
    box-shadow: 0 5px 12px rgba(96, 70, 111, .2);
    color: #fff !important;
    transform: translateY(-1px);
}
body.woocommerce-account .woocommerce-pagination {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

/* Account forms */
body.woocommerce-account .woocommerce-EditAccountForm .form-row,
body.woocommerce-account .woocommerce-address-fields .form-row {
    margin-bottom: 18px;
}
body.woocommerce-account .woocommerce-EditAccountForm label,
body.woocommerce-account .woocommerce-address-fields label {
    color: #53495a;
    font-size: 14px;
    font-weight: 600;
}
body.woocommerce-account .woocommerce-EditAccountForm input,
body.woocommerce-account .woocommerce-EditAccountForm select,
body.woocommerce-account .woocommerce-address-fields input,
body.woocommerce-account .woocommerce-address-fields select {
    border: 1px solid #d9cfdf;
    border-radius: 8px;
    min-height: 44px;
    padding: 9px 12px;
}

/* Guest access and registration
 *
 * WooCommerce deliberately keeps this markup very small. Keeping the layout
 * here (instead of overriding its template) means its nonces, reCAPTCHA hooks
 * and future WooCommerce updates continue to work unchanged.
 */
body.woocommerce-account .woocommerce.container #customer_login {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: clamp(30px, 5vw, 56px) auto 0;
    max-width: 980px;
}
body.woocommerce-account .woocommerce.container #customer_login > .u-column1,
body.woocommerce-account .woocommerce.container #customer_login > .u-column2 {
    background: linear-gradient(150deg, #fff 0%, #fcfbfd 100%);
    border: 1px solid #e5dcea;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(69, 48, 81, .07);
    float: none;
    margin: 0;
    min-width: 0;
    padding: clamp(28px, 4vw, 42px);
    width: auto;
}
body.woocommerce-account .woocommerce.container #customer_login h2 {
    color: #403448;
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0 0 30px;
}
body.woocommerce-account .woocommerce.container #customer_login form {
    font-size: 15px;
    margin: 0;
}
body.woocommerce-account .woocommerce.container #customer_login .form-row {
    float: none;
    margin: 0 0 21px;
    padding: 0;
    width: 100%;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-row label {
    color: #53495a;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 8px;
}
body.woocommerce-account .woocommerce.container #customer_login .required {
    color: #b04764;
}
body.woocommerce-account .woocommerce.container #customer_login input[type="text"],
body.woocommerce-account .woocommerce.container #customer_login input[type="email"],
body.woocommerce-account .woocommerce.container #customer_login input[type="password"] {
    background: #fff;
    border: 1px solid #d9cfdf !important;
    border-radius: 10px;
    box-shadow: inset 0 1px 1px rgba(69, 48, 81, .02);
    box-sizing: border-box;
    color: #403448;
    font-size: 16px;
    line-height: 1.25;
    min-height: 50px;
    padding: 12px 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    width: 100%;
}
body.woocommerce-account .woocommerce.container #customer_login .password-input {
    display: block;
    position: relative;
    width: 100%;
}
body.woocommerce-account .woocommerce.container #customer_login .password-input input[type="password"] {
    padding-right: 54px;
}
body.woocommerce-account .woocommerce.container #customer_login input[type="text"]:focus,
body.woocommerce-account .woocommerce.container #customer_login input[type="email"]:focus,
body.woocommerce-account .woocommerce.container #customer_login input[type="password"]:focus {
    background: #fff;
    border-color: #725287 !important;
    box-shadow: 0 0 0 4px rgba(114, 82, 135, .16);
    outline: 0;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-row:focus-within label {
    color: #725287;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-row.woocommerce-invalid label {
    color: #a63d59;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-row.woocommerce-invalid input.input-text {
    border-color: #c75870 !important;
    box-shadow: 0 0 0 4px rgba(199, 88, 112, .13);
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-row.woocommerce-validated input.input-text {
    border-color: #5b9b70 !important;
}
body.woocommerce-account .woocommerce.container #customer_login input:-webkit-autofill,
body.woocommerce-account .woocommerce.container #customer_login input:-webkit-autofill:hover,
body.woocommerce-account .woocommerce.container #customer_login input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(114, 82, 135, .16);
    -webkit-text-fill-color: #403448;
}
body.woocommerce-account .woocommerce.container #customer_login .show-password-input {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #725287;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    right: 8px;
    top: 50%;
    transition: background-color .2s ease, color .2s ease;
    width: 36px;
}
body.woocommerce-account .woocommerce.container #customer_login .show-password-input::before {
    color: currentColor;
}
body.woocommerce-account .woocommerce.container #customer_login .show-password-input:hover {
    background: #f0eaf3;
    color: #5d426e;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login > .form-row:not(.woocommerce-form-row) {
    display: grid;
    gap: 16px;
    margin: 28px 0 0;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme {
    align-items: center;
    cursor: pointer;
    display: inline-flex !important;
    min-height: 22px;
    position: relative;
    width: fit-content;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme input {
    height: 20px;
    left: 0;
    margin: 0;
    opacity: 0 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme span {
    color: #53495a;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 30px !important;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme span::before {
    align-items: center;
    background: #fff;
    border: 2px solid #9b88aa;
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff;
    content: "" !important;
    display: flex;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    left: 0;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
    width: 20px;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme input:checked + span::before {
    background: #725287;
    border-color: #725287;
    content: "✓" !important;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme input:focus + span::before {
    box-shadow: 0 0 0 3px rgba(217, 194, 42, .45);
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-register__submit {
    align-items: center;
    background: #725287;
    border: 1px solid #725287;
    border-radius: 10px;
    box-shadow: none;
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: .01em;
    line-height: 1.2;
    min-height: 50px;
    padding: 12px 18px;
    text-transform: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__submit:hover,
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-register__submit:hover {
    background: #5d426e;
    border-color: #5d426e;
    box-shadow: 0 8px 16px rgba(93, 66, 110, .2);
    color: #fff;
    transform: translateY(-1px);
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-register__submit {
    margin-top: 7px;
}
body.woocommerce-account .woocommerce.container #customer_login .lost_password {
    float: none;
    margin: 19px 0 0;
    text-align: right;
}
body.woocommerce-account .woocommerce.container #customer_login .lost_password a,
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-privacy-policy-text a {
    color: #725287;
    font-size: 14px;
    font-weight: 600;
    text-decoration-color: rgba(114, 82, 135, .45);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-register > p:not(.form-row),
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-privacy-policy-text {
    color: #665e6b;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 20px;
}
body.woocommerce-account .woocommerce.container #customer_login .woocommerce-privacy-policy-text p {
    margin: 0;
}
body.woocommerce-account .woocommerce.container > .woocommerce-notices-wrapper {
    margin: 30px auto 0;
    max-width: 980px;
}
body.woocommerce-account .woocommerce.container > .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-account .woocommerce.container > .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce.container > .woocommerce-notices-wrapper .woocommerce-message {
    border-radius: 12px;
}
body.woocommerce-account .woocommerce.container #customer_login a:focus-visible,
body.woocommerce-account .woocommerce.container #customer_login button:focus-visible,
body.woocommerce-account .woocommerce.container #customer_login input:focus-visible {
    outline: 3px solid #d9c22a;
    outline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content button:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content input:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content select:focus-visible {
    outline: 3px solid #d9c22a;
    outline-offset: 3px;
}

/* A five-column order table needs more room than a tablet account panel provides. */
@media (max-width: 899px) {
    body.woocommerce-account .site-content {
        padding-bottom: 48px;
    }
    body.woocommerce-account .woocommerce.container {
        width: calc(100% - 24px);
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        border-radius: 0 0 20px 20px;
        gap: 5px;
        padding: 8px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        font-size: 13px;
        padding: 10px 14px;
    }
    body.woocommerce-account .woocommerce.container .woocommerce-MyAccount-content {
        border-radius: 16px;
        min-height: 0;
        padding: 24px 20px;
    }
    body.woocommerce-account .woocommerce-MyAccount-content > p {
        font-size: 15px;
    }
    body.woocommerce-account .woocommerce-Addresses {
        gap: 16px;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }
    body.woocommerce-account .woocommerce-Address {
        min-height: 0;
        padding: 20px;
    }
    body.woocommerce-account .woocommerce-Address-title {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }
    body.woocommerce-account .woocommerce-Address-title h2 {
        font-size: 21px;
    }
    body.woocommerce-account .woocommerce-Address-title .edit {
        align-self: flex-start;
    }
    body.woocommerce-account .woocommerce.container #customer_login {
        gap: 18px;
        grid-template-columns: 1fr;
        margin-top: 28px;
        max-width: 620px;
    }
    body.woocommerce-account .woocommerce.container #customer_login > .u-column1,
    body.woocommerce-account .woocommerce.container #customer_login > .u-column2 {
        border-radius: 18px;
        padding: 28px 24px;
    }
    body.woocommerce-account .woocommerce.container #customer_login h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    body.woocommerce-account .woocommerce-orders-table,
    body.woocommerce-account .woocommerce-orders-table tbody,
    body.woocommerce-account .woocommerce-orders-table tr,
    body.woocommerce-account .woocommerce-orders-table th,
    body.woocommerce-account .woocommerce-orders-table td {
        display: block;
        width: 100%;
    }
    body.woocommerce-account .woocommerce-orders-table {
        border: 0;
        border-radius: 0;
        overflow: visible;
    }
    body.woocommerce-account .woocommerce-orders-table thead {
        display: none;
    }
    body.woocommerce-account .woocommerce-orders-table tbody tr {
        background: #fbfafe;
        border: 1px solid #e5ddea;
        border-radius: 14px;
        margin-bottom: 14px;
        padding: 7px 16px;
    }
    body.woocommerce-account .woocommerce-orders-table tbody th,
    body.woocommerce-account .woocommerce-orders-table tbody td {
        align-items: center;
        border-bottom: 1px solid #ebe6ed;
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 44px;
        padding: 10px 0;
        text-align: right;
    }
    body.woocommerce-account .woocommerce-orders-table tbody tr th:last-child,
    body.woocommerce-account .woocommerce-orders-table tbody tr td:last-child {
        border-bottom: 0;
    }
    body.woocommerce-account .woocommerce-orders-table tbody tr:last-child th:not(:last-child),
    body.woocommerce-account .woocommerce-orders-table tbody tr:last-child td:not(:last-child) {
        border-bottom: 1px solid #ebe6ed;
    }
    body.woocommerce-account .woocommerce-orders-table tbody th::before,
    body.woocommerce-account .woocommerce-orders-table tbody td::before {
        color: #67586f;
        content: attr(data-title);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        text-align: left;
        text-transform: uppercase;
    }
    body.woocommerce-account .woocommerce-orders-table__cell-order-status::before {
        display: none;
    }
    body.woocommerce-account .woocommerce-orders-table__cell-order-status::after {
        background: #a287b5;
        border-radius: 50%;
        content: "";
        display: inline-block;
        height: 7px;
        margin-left: 7px;
        vertical-align: 1px;
        width: 7px;
    }
    body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::after {
        background: #3a9a62;
    }
    body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status::after {
        background: #c35d6d;
    }
    body.woocommerce-account .woocommerce-orders-table__cell-order-total {
        white-space: normal;
    }
    body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }
    body.woocommerce-account .woocommerce-orders-table__cell-order-actions::before {
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.woocommerce-account .woocommerce-MyAccount-navigation a,
    body.woocommerce-account .woocommerce-Address-title .edit,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
    body.woocommerce-account .woocommerce-MyAccount-content .button {
        transition: none;
    }
    body.woocommerce-account .woocommerce.container #customer_login input[type="text"],
    body.woocommerce-account .woocommerce.container #customer_login input[type="email"],
    body.woocommerce-account .woocommerce.container #customer_login input[type="password"],
    body.woocommerce-account .woocommerce.container #customer_login .show-password-input,
    body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__rememberme span::before,
    body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-login__submit,
    body.woocommerce-account .woocommerce.container #customer_login .woocommerce-form-register__submit {
        transition: none;
    }
}
