/*
 * Compact account layout, TEST 2026-11-19.
 * Scoped to account pages; footer is part of normal page flow.
 */
body.account-body.page-profile6 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto !important;
    margin: 0;
}
body.account-body.page-profile6 > .header {
    flex: 0 0 auto;
}
body.account-body.page-profile6 > .account-layout {
    flex: 1 0 auto;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 30px clamp(14px, 3vw, 44px) 22px !important;
}
body.account-body.page-profile6 .account-content {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0;
    background: transparent;
}
body.account-body.page-profile6 > .footer {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 18px clamp(16px, 4vw, 60px) 14px;
    box-sizing: border-box;
    background: #031018;
}
body.account-body.page-profile6 > .footer .footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    height: auto;
    min-height: 0;
}
body.account-body.page-profile6 > .footer .footer__left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 30px;
    min-width: 0;
}
body.account-body.page-profile6 > .footer .footer__info {
    flex: 0 0 auto;
    margin: 0;
}
body.account-body.page-profile6 > .footer .footer__logo img {
    display: block;
    width: 128px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    object-position: left center;
}
body.account-body.page-profile6 > .footer .footer__copyrights {
    max-width: 310px;
    margin: 5px 0 0;
    font-size: 10px;
    line-height: 1.4;
    color: #9eabae;
}
body.account-body.page-profile6 > .footer .footer__nav {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}
body.account-body.page-profile6 > .footer .footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin: 0;
    padding: 0;
}
body.account-body.page-profile6 > .footer .footer__menu li {
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}
body.account-body.page-profile6 > .footer .footer__menu a {
    font-size: 12px;
    line-height: 1.5;
}
body.account-body.page-profile6 > .footer .footer__right {
    flex: 0 0 auto;
    align-self: center;
    padding: 0;
}
body.account-body.page-profile6 > .footer .footer__right svg {
    width: 28px;
    height: 28px;
}
body.account-body.page-profile6 > .footer .footer__bottom {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 10px;
    padding: 0;
    line-height: 1.4;
}
body.account-body.page-profile6 > .footer .footer__bottom a {
    font-size: 11px;
    line-height: 1.4;
}
body.account-body.page-profile6 .account-section-tabs {
    margin: 0 0 13px;
    padding: 0 0 5px;
}
body.account-body.page-profile6 .account-section-tabs a {
    min-height: 38px;
    padding: 8px 13px;
}
body.account-body.page-profile6 .account-section-tabs a.is-active::after {
    bottom: -6px;
}
body.account-body.page-profile6 .account-page-header {
    margin-bottom: 15px;
}
body.account-body.page-profile6 .account-page-header h1 {
    margin: 3px 0 4px;
}
body.account-body.page-profile6 .account-stats {
    gap: 11px;
    margin: 0 0 13px;
}
body.account-body.page-profile6 .account-stat-card {
    box-sizing: border-box;
    min-height: 83px;
    padding: 12px 15px;
    gap: 3px 10px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
}
body.account-body.page-profile6 .account-stat-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
body.account-body.page-profile6 .account-stat-card strong {
    font-size: 26px;
}
body.account-body.page-profile6 .account-stat-card__label,
body.account-body.page-profile6 .account-stat-card__link {
    font-size: 11px;
}
body.account-body.page-profile6 .account-overview-panels {
    gap: 13px;
}
body.account-body.page-profile6 .account-overview-panels > .account-panel {
    box-sizing: border-box;
    min-height: 185px;
    padding: 17px 19px;
}
body.account-body.page-profile6 .account-overview-panels h2 {
    font-size: 18px;
    margin: 5px 0 7px;
}
body.account-body.page-profile6 .account-overview-panel-note {
    margin: 0 0 11px;
    font-size: 13px;
    line-height: 1.45;
}
body.account-body.page-profile6 .account-overview-links {
    gap: 6px;
    margin: 0 0 10px;
}
body.account-body.page-profile6 .account-overview-links a,
body.account-body.page-profile6 .account-overview-order-action {
    box-sizing: border-box;
    min-height: 35px;
    padding: 7px 10px;
    font-size: 12px;
}
body.account-body.page-profile6 .account-overview-orders__hint {
    margin: 9px 0 0;
    font-size: 11px;
}
body.account-body.page-profile6 .account-overview-panels .account-text-link {
    font-size: 12px;
    line-height: 1.35;
}
/* Keep form fields readable; shorten the tall settings first card. */
body.account-body.page-profile6 .account-settings-grid {
    gap: 13px;
}
body.account-body.page-profile6 .account-settings-grid .account-panel {
    padding: 19px 22px;
}
@media (max-width: 1079px) {
    /* Shared mobile header is fixed at top, unlike the desktop header. */
    body.account-body.page-profile6 > .account-layout {
        padding-top: 77px !important;
    }
    body.account-body.page-profile6 > .footer .footer__nav {
        display: none;
    }
    body.account-body.page-profile6 > .footer .footer__top {
        gap: 12px;
    }
    body.account-body.page-profile6 > .footer .footer__right {
        display: none;
    }
}
@media (max-width: 800px) {
    body.account-body.page-profile6 .account-stat-card {
        padding: 12px;
    }
}
@media (max-width: 600px) {
    body.account-body.page-profile6 > .account-layout {
        padding: 76px 13px 24px !important;
    }
    body.account-body.page-profile6 .account-section-tabs {
        margin-bottom: 15px;
        padding-bottom: 6px;
    }
    body.account-body.page-profile6 .account-section-tabs a {
        padding: 8px 10px;
        min-height: 37px;
    }
    body.account-body.page-profile6 .account-stats {
        gap: 7px;
        margin-bottom: 12px;
    }
    body.account-body.page-profile6 .account-stat-card {
        min-height: 82px;
        padding: 10px 8px;
    }
    body.account-body.page-profile6 .account-stat-card strong {
        font-size: 24px;
    }
    body.account-body.page-profile6 .account-overview-panels {
        gap: 10px;
    }
    body.account-body.page-profile6 .account-overview-panels > .account-panel {
        min-height: 0;
        padding: 16px;
    }
    body.account-body.page-profile6 > .footer {
        padding: 20px 16px 14px;
    }
    body.account-body.page-profile6 > .footer .footer__left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    body.account-body.page-profile6 > .footer .footer__bottom {
        justify-content: flex-start;
        margin-top: 14px;
    }
}
/* Shared header avatar: override generic .profile__icon img dimensions. */
.header.header--inner.header--modern > .profile__menu .ke-account-menu__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    overflow: visible;
    transform: none;
}
.header.header--inner.header--modern .ke-account-menu__trigger .ke-account-avatar {
    position: relative;
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
    border-radius: 50%;
    overflow: hidden;
    isolation: isolate;
    clip-path: circle(50% at 50% 50%);
    transform: none;
}
.header.header--inner.header--modern .profile__icon:not(.profile__icon--basket) .ke-account-avatar img.ke-account-avatar__photo {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 50%;
    filter: none;
    opacity: 1;
    transform: none;
}
.header.header--inner.header--modern .profile__icon:not(.profile__icon--basket) .ke-account-avatar img.ke-account-avatar__photo[hidden] {
    display: none;
}
.header.header--inner.header--modern .profile__icon:not(.profile__icon--basket) .ke-account-avatar img.ke-account-avatar__fallback {
    position: absolute;
    display: block;
    inset: 0;
    margin: auto;
    padding: 0;
    width: 23px;
    height: 23px;
    min-width: 0;
    max-width: none;
    max-height: none;
    border-radius: 50%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transform: none;
}
.header.header--inner.header--modern .ke-account-avatar:has(.ke-account-avatar__photo:not([hidden])) .ke-account-avatar__fallback {
    visibility: hidden;
}

/* The highlighted account tab already names the current section.
   Keep one semantic H1 for assistive technology, but remove duplicate
   visible page headings and eyebrow labels. */
body.account-body.page-profile6 .account-page-header h1,
body.account-body.page-profile6 .account-page-header > div > .account-eyebrow {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
body.account-body.page-profile6 .account-page-header {
    min-height: 0;
    margin-bottom: 12px;
    gap: 12px;
}
body.account-body.page-profile6 .account-page-header > div {
    min-width: 0;
}
body.account-body.page-profile6 .account-page-header p:not(.account-eyebrow) {
    margin: 0;
    max-width: 720px;
    font-size: 13px;
    line-height: 1.45;
}
@media (max-width: 600px) {
    body.account-body.page-profile6 .account-page-header {
        gap: 9px;
        margin-bottom: 12px;
    }
}
