/* Personal account and favourites. */

/* Password recovery has full-width fields, with or without an account sidebar. */
body.anana-password-recovery:not(.anana-personal-account) .site-main {
    width: 100%; max-width: 680px; margin: 0 auto; padding: 44px 24px 64px;
}
.anana-password-recovery:not(.anana-personal-account) .page-content > .woocommerce { display: block; }
.anana-password-recovery .page-header { margin-bottom: 26px; }
.anana-password-recovery .page-header .entry-title {
    margin: 0; font: 800 32px/1.3 "Manrope", sans-serif; letter-spacing: -.6px;
}
.anana-password-recovery .woocommerce form.lost_reset_password {
    box-sizing: border-box; width: 100%; max-width: 640px; margin: 0;
    padding: 28px; border: 1px solid #e9e7e1; border-radius: 12px; background: #faf9f6;
}
.anana-password-recovery .woocommerce form.lost_reset_password p { font-size: 15px; line-height: 1.65; }
.anana-password-recovery .woocommerce form.lost_reset_password .form-row {
    float: none; display: block; width: 100%; max-width: none; margin: 0 0 18px; padding: 0;
}
.anana-password-recovery .woocommerce form.lost_reset_password label {
    display: block; width: 100%; margin-bottom: 8px;
}
.anana-password-recovery .woocommerce form.lost_reset_password input.input-text {
    box-sizing: border-box; display: block; width: 100%; max-width: none; min-width: 0;
    min-height: 50px; padding: 11px 14px; font-size: 16px; border-radius: 7px; background: #fff;
}
.anana-password-recovery .woocommerce form.lost_reset_password button {
    min-height: 46px; max-width: 100%; padding: 12px 20px; white-space: normal;
}
.anana-password-recovery .page-content > .woocommerce > p { grid-column: 1 / -1; }
.anana-password-recovery .woocommerce-notices-wrapper:empty { display: none; }

/* Keep local password controls inside the personal-data form. */
.anana-personal-account .anana-account-password-settings {
    clear: both; margin: 26px 0; padding: 0 20px;
    border: 1px solid #e9e7e1; border-radius: 10px; background: #faf9f6;
}
.anana-account-password-settings > summary {
    padding: 18px 0; cursor: pointer; color: #212121; font-size: 14px; font-weight: 600;
}
.anana-account-password-settings > summary:focus-visible { outline: 3px solid #806e16; outline-offset: 3px; }
.anana-personal-account .anana-account-password-settings fieldset { min-width: 0; padding: 0; border: 0; }
.anana-personal-account .anana-account-password-settings fieldset legend { font-size: 14px; }
.anana-personal-account .anana-account-password-settings .anana-account-access-note {
    padding: 0; margin: 0 0 20px; border: 0; background: transparent;
}
@media (max-width: 760px) {
    body.anana-password-recovery:not(.anana-personal-account) .site-main { padding: 30px 19px 44px; }
    .anana-password-recovery .page-header .entry-title { font-size: 27px; }
    .anana-password-recovery .woocommerce form.lost_reset_password { padding: 22px 18px; }
    .anana-password-recovery .woocommerce form.lost_reset_password button { width: 100%; }
}

/* Keep favourites in the account shell, with one heading and contained tables. */
.anana-personal-account .anana-account-wishlist .tinv-header { display: none; }
.anana-personal-account .anana-account-wishlist .tinv-wishlist {
    max-width: 100%;
    overflow-x: auto;
    padding: 0;
}
.anana-personal-account .anana-account-wishlist .woocommerce-MyAccount-content > p:first-child {
    margin: 0 0 20px;
    color: #65645f;
    font-size: 14px;
    line-height: 1.6;
}

body.anana-personal-account .site-main {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px 32px 64px;
}
.anana-personal-account .page-header { margin: 0 0 32px; }
.anana-personal-account .page-header .entry-title {
    font: 800 34px/1.25 "Manrope", sans-serif;
    letter-spacing: -.7px;
    margin: 0;
}
.anana-personal-account .page-content > .woocommerce {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.anana-personal-account .page-content > .woocommerce::before,
.anana-personal-account .page-content > .woocommerce::after { display: none; }
.anana-personal-account .woocommerce .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    padding: 10px;
    background: #f5f4f0;
    border: 1px solid #e9e7e1;
    border-radius: 12px;
}
.anana-personal-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.anana-personal-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; list-style: none; }
.anana-personal-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 13px 14px;
    border-radius: 7px;
    color: #55534e;
    font: 500 14px/1.4 "DM Sans", sans-serif;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.anana-personal-account .woocommerce-MyAccount-navigation li a:hover { background: #ebe9e1; color: #212121; }
.anana-personal-account .woocommerce-MyAccount-navigation li.is-active a { background: #f2db57; color: #212121; font-weight: 700; }
.anana-personal-account .woocommerce .woocommerce-MyAccount-content { float: none; width: 100%; min-width: 0; }
.anana-personal-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.anana-personal-account .woocommerce-notices-wrapper:empty { display: none; }
.anana-account-welcome { padding: 25px 28px; background: #faf9f6; border: 1px solid #e9e7e1; border-radius: 12px; }
.anana-account-welcome .anana-account-eyebrow { margin: 0 0 10px; font: 700 10px/1.4 "DM Sans", sans-serif; letter-spacing: 1.7px; color: #77756e; }
.anana-account-welcome h2 { margin: 0 0 9px; font: 800 27px/1.3 "Manrope", sans-serif; color: #212121; overflow-wrap: anywhere; }
.anana-account-welcome > p { margin: 0; font-size: 14px; line-height: 1.6; color: #65645f; }
.anana-account-provider { display: inline-flex; margin-top: 17px; border: 1px solid #dfded7; padding: 5px 10px; border-radius: 20px; font: 500 11px/1.4 "DM Sans", sans-serif; color: #65645f; background: #fff; }
.anana-account-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.anana-account-cards .anana-account-card {
    display: flex; flex-direction: column; min-width: 0;
    padding: 23px 21px; background: #fff; border: 1px solid #e9e7e1;
    border-radius: 12px; text-decoration: none; color: #212121;
    transition: border-color .16s ease, background-color .16s ease;
}
.anana-account-cards .anana-account-card:hover { border-color: #c2b55f; background: #fffef8; }
.anana-account-card-icon { width: 39px; height: 39px; display: flex; align-items: center; justify-content: center; margin-bottom: 19px; background: #f8f1c9; border-radius: 9px; }
.anana-account-card-icon svg { width: 22px; height: 22px; }
.anana-account-card h3 { margin: 0 0 9px; font: 700 16px/1.35 "Manrope", sans-serif; }
.anana-account-card p { margin: 0 0 22px; font-size: 13px; line-height: 1.6; color: #77756e; }
.anana-account-card-action { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 12px; font-weight: 700; }
.anana-account-card-action > span { font-size: 18px; }
.anana-personal-account .anana-account-vendor-link { margin: 28px 0 0; padding-top: 21px; border-top: 1px solid #e9e7e1; font-size: 12px; line-height: 1.8; color: #77756e; }
.anana-account-vendor-link a { color: #212121; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.anana-account-access-note { margin-bottom: 24px; padding: 18px 20px; border: 1px solid #e9e7e1; border-radius: 10px; background: #faf9f6; font-size: 13px; line-height: 1.6; }
.anana-account-access-note p { margin: 7px 0; color: #65645f; }
.anana-account-access-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.anana-personal-account form input.input-text { min-height: 45px; border-radius: 6px; }
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-info,
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-message,
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-error { font-size: 13px; line-height: 1.6; }
/* Saved addresses: keep the native WooCommerce actions and address data. */
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-Addresses::after { display: none; }
.anana-personal-account .woocommerce-MyAccount-content .woocommerce-Address {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid #e9e7e1;
    border-radius: 12px;
    background: #faf9f6;
}
.anana-personal-account .woocommerce-Address .woocommerce-Address-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid #e9e7e1;
}
.anana-personal-account .woocommerce-Address .woocommerce-Address-title::before,
.anana-personal-account .woocommerce-Address .woocommerce-Address-title::after { display: none; }
.anana-personal-account .woocommerce-Address .woocommerce-Address-title h2 {
    float: none;
    margin: 0;
    font: 700 18px/1.4 "Manrope", sans-serif !important;
    letter-spacing: -.2px;
    overflow-wrap: anywhere;
}
.anana-personal-account .woocommerce-Address .woocommerce-Address-title a.edit {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid #f2db57;
    border-radius: 7px;
    background: #f2db57;
    color: #212121;
    text-decoration: none;
    font: 600 12px/1.5 "DM Sans", sans-serif;
    overflow-wrap: anywhere;
}
.anana-personal-account .woocommerce-Address .woocommerce-Address-title a.edit:hover {
    background: #e5cd48;
    border-color: #e5cd48;
}
.anana-personal-account .woocommerce-Address .woocommerce-Address-title a.edit:focus-visible {
    outline: 3px solid #806e16;
    outline-offset: 3px;
}
.anana-personal-account .woocommerce-Address address {
    margin: 0;
    font: normal 14px/1.75 "DM Sans", sans-serif;
    color: #65645f;
    overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
    .anana-personal-account .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
    .anana-personal-account .page-content > .woocommerce { grid-template-columns: 195px minmax(0, 1fr); gap: 22px; }
    .anana-account-cards { grid-template-columns: 1fr; }
    .anana-account-cards .anana-account-card { padding: 19px 21px; }
}
@media (max-width: 760px) {
    body.anana-personal-account .site-main { padding: 30px 19px 44px; }
    .anana-personal-account .page-header { margin-bottom: 22px; }
    .anana-personal-account .page-header .entry-title { font-size: 27px; }
    .anana-personal-account .page-content > .woocommerce { display: block; }
    .anana-personal-account .woocommerce .woocommerce-MyAccount-navigation { margin-bottom: 22px; padding: 7px; }
    .anana-personal-account .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
    .anana-personal-account .woocommerce-MyAccount-navigation li a { padding: 11px; font-size: 12px; }
    .anana-account-welcome { padding: 22px; }
    .anana-account-welcome h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .anana-account-cards .anana-account-card { transition: none; }
}
