/* Account layout: use the configured site palette, without changing checkout. */
html:root body.akf-account-layout .navbar .logo {
    width: 180px; max-width: 38vw; height: auto; flex: 0 0 auto;
}
html:root body.akf-account-layout .navbar .logo a {
    display: flex; align-items: center; width: 100%; height: 64px;
}
html:root body.akf-account-layout .navbar .logo img {
    display: block; width: 100%; height: 100%; max-height: 64px;
    object-fit: contain; object-position: center;
}
html:root body.akf-account-layout .navbar .option {
    align-items: center; gap: 12px;
}
html:root body.akf-account-layout .navbar .btn-cart {
    height: 44px; border: 1px solid var(--akf-accent) !important;
    background: var(--akf-accent) !important; color: var(--akf-primary) !important;
    border-radius: 12px !important;
}
html:root body.akf-account-layout .navbar .btn-donation::before,
html:root body.akf-account-layout .donation-bow-fixed .btn::before,
html:root body.akf-account-layout .donation-bow-fixed .btn::after {
    content: none !important; display: none !important;
}
html:root body.akf-account-layout .btn-cart svg,
html:root body.akf-account-layout .btn-card svg { flex-shrink: 0; margin: 0 !important; }
html:root body.akf-profile-page .profile-header {
    background: var(--akf-primary) !important;
}
html:root body.akf-profile-page .profile-header .title span,
html:root body.akf-profile-page .profile-header .link,
html:root body.akf-profile-page .sponsored-section .text-success {
    color: var(--akf-accent) !important;
}
html:root body.akf-profile-page .yatem-nav-tabs,
html:root body.akf-profile-page .yatem-nav-tabs .nav-tabs,
html:root body.akf-profile-page .more_menu,
html:root body.akf-profile-page .profile_donation_link,
html:root body.akf-profile-page .profile_donation_link .nav-link,
html:root body.akf-profile-page .payment_content_tab .accordion-button,
html:root body.akf-profile-page .payment_table thead,
html:root body.akf-profile-page .payment_table thead :is(tr, th) {
    background: var(--akf-primary) !important;
    color: #fff !important;
}
html:root body.akf-profile-page .profile_donation_link .nav-link {
    border-bottom: 4px solid transparent !important;
}
html:root body.akf-profile-page .profile_donation_link .nav-link.active,
html:root body.akf-profile-page .payment_content_tab .accordion-button:not(.collapsed),
html:root body.akf-profile-page .payment_table thead th {
    border-bottom: 4px solid var(--akf-accent) !important;
}
html:root body.akf-profile-page .payment_content_tab .accordion-button {
    min-height: 64px; padding: 20px; box-shadow: none !important;
}
html:root body.akf-profile-page .payment_content_tab .accordion-button::after {
    filter: brightness(0) invert(1);
}
html:root body.akf-profile-page .payment_table { width: 100%; }
html:root body.akf-profile-page .payment_table th { padding: 12px 16px; }
html:root body.akf-profile-page .payment_table td { padding: 12px 16px; vertical-align: middle; }
html:root body.akf-account-layout :is(a,button):focus-visible {
    outline: 2px solid var(--akf-primary); outline-offset: 3px;
}
@media (max-width: 575.98px) {
    html:root body.akf-account-layout { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    html:root body.akf-account-layout .navbar .logo { width: 150px; }
    html:root body.akf-account-layout .navbar .logo a { height: 52px; }
    html:root body.akf-account-layout .navbar .option { gap: 8px; }
    html:root body.akf-account-layout .donation-bow-fixed {
        position: fixed; bottom: 0; inset-inline: 0; width: 100%;
        box-sizing: border-box; align-items: center; justify-content: center;
        gap: 8px; min-height: 72px; height: auto;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: var(--akf-primary) !important;
    }
    html:root body.akf-account-layout .donation-bow-fixed > .form-group:first-child {
        flex: 1 1 100px; min-width: 0; margin: 0;
    }
    html:root body.akf-account-layout .donation-bow-fixed > .form-group:last-child {
        display: flex; align-items: center; gap: 6px; flex: 0 0 auto;
        position: relative; margin: 0;
    }
    html:root body.akf-account-layout .donation-bow-fixed .input-group { flex-wrap: nowrap; }
    html:root body.akf-account-layout .donation-bow-fixed .form-control { min-width: 0; width: 1%; height: 44px; }
    html:root body.akf-account-layout .donation-bow-fixed .input-group-text { padding: 6px 8px !important; }
    html:root body.akf-account-layout .donation-bow-fixed .btn {
        display: inline-flex; align-items: center; justify-content: center;
        position: static; transform: none; width: auto; min-width: 44px;
        height: 44px; min-height: 44px; margin: 0 !important; padding: 8px !important;
        border: 0 !important; border-radius: 10px !important;
        background: var(--akf-accent) !important; color: var(--akf-primary) !important;
    }
    html:root body.akf-account-layout .donation-bow-fixed .btn-submit { flex: 0 0 auto; }
    html:root body.akf-account-layout .donation-bow-fixed .btn-submit .img { display: none; }
    html:root body.akf-account-layout .donation-bow-fixed .btn-submit .text {
        position: static; transform: none; white-space: nowrap; font-size: 13px; line-height: 1.4;
    }
}

html:root body.akf-profile-page .yatem-nav-tabs .nav-tabs .nav-link {
    background: var(--akf-primary) !important;
    border-bottom-color: var(--akf-primary) !important;
}
html:root body.akf-profile-page .yatem-nav-tabs .nav-tabs .nav-link:is(.active,:hover) {
    border-bottom-color: var(--akf-accent) !important;
}
html:root body.akf-profile-page .recuring_option ul { border-color: var(--akf-accent) !important; }
html:root body.akf-profile-page .text-primary { color: var(--akf-primary) !important; }
