/*
Theme Name:   Axos Child
Theme URI:    https://axospeptides.com
Description:  Child theme for Axos Peptides — custom account portal templates
Author:       Julian
Author URI:   https://axospeptides.com
Template:     twentytwentyfive
Version:      2.0.0
Text Domain:  axos-child
*/

/* ============================================================
   1. RESET PAGE BACKGROUND ON ACCOUNT PAGES
   ============================================================ */
body.axos-account-page {
    background: #FAFAF7 !important;
    color: #0A0A0A;
    overflow-x: hidden;
}
body.axos-account-page main,
body.axos-account-page .wp-site-blocks,
body.axos-account-page .wp-block-post-content,
body.axos-account-page .entry-content {
    background: transparent !important;
}
body.axos-account-page .wp-block-post-title,
body.axos-account-page .entry-title,
body.axos-account-page h1.entry-title {
    display: none !important;
}
body.axos-account-page main.has-global-padding,
body.axos-account-page .wp-block-group.has-global-padding,
body.axos-account-page .wp-block-post-content.has-global-padding,
body.axos-account-page .entry-content.has-global-padding,
body.axos-account-page .wp-block-group.is-layout-constrained,
body.axos-account-page .wp-block-post-content.is-layout-constrained,
body.axos-account-page .entry-content.is-layout-constrained {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}
body.axos-account-page main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* WooCommerce default container overrides — neutralize floats */
body.axos-account-page .woocommerce-MyAccount-content,
body.axos-account-page div.woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
body.axos-account-page .woocommerce-MyAccount-navigation,
body.axos-account-page nav.woocommerce-MyAccount-navigation {
    display: none !important;
}
body.axos-account-page .woocommerce {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.axos-account-page .woocommerce::before,
body.axos-account-page .woocommerce::after {
    display: none !important;
    content: none !important;
}

/* ============================================================
   2. SITE HEADER — Dark on account pages
   ============================================================ */
body.axos-account-page header.wp-block-template-part {
    background: #09090A !important;
    padding: 0 32px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid #EDEDED !important;
}
body.axos-account-page header.wp-block-template-part,
body.axos-account-page header.wp-block-template-part * {
    color: #FFFFFF !important;
}
body.axos-account-page header.wp-block-template-part a {
    color: #656565 !important;
    text-decoration: none !important;
    transition: color 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
body.axos-account-page header.wp-block-template-part a:hover {
    color: #FFFFFF !important;
}
body.axos-account-page header .wp-block-site-title,
body.axos-account-page header .wp-block-site-title a {
    font-family: 'Sora', system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
    color: #FFFFFF !important;
}
body.axos-account-page header .wp-block-navigation,
body.axos-account-page header .wp-block-navigation a {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
body.axos-account-page header .wp-block-navigation ul {
    gap: 40px !important;
}
body.axos-account-page header svg,
body.axos-account-page header .wp-block-navigation .wc-block-mini-cart__button {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}
/* ============================================================
   3. SITE FOOTER — Dark on account pages
   ============================================================ */
body.axos-account-page footer.wp-block-template-part {
    background: #09090A !important;
    padding: 56px 32px !important;
    margin-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.axos-account-page footer.wp-block-template-part,
body.axos-account-page footer.wp-block-template-part * {
    color: rgba(255, 255, 255, 0.7) !important;
}
body.axos-account-page footer.wp-block-template-part a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
body.axos-account-page footer.wp-block-template-part a:hover {
    color: #FFFFFF !important;
}
body.axos-account-page footer .wp-block-site-title,
body.axos-account-page footer .wp-block-site-title a,
body.axos-account-page footer h1,
body.axos-account-page footer h2,
body.axos-account-page footer h3 {
    font-family: 'Sora', system-ui, sans-serif !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.015em !important;
}
body.axos-account-page footer .wp-block-navigation,
body.axos-account-page footer .wp-block-navigation a,
body.axos-account-page footer ul li,
body.axos-account-page footer ul li a {
    font-family: 'Instrument Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
}

/* ============================================================
   4. AXOS ACCOUNT — DESIGN TOKENS
   ============================================================ */
.axos-account,
.axos-account *,
.axos-account *::before,
.axos-account *::after {
    box-sizing: border-box;
}

.axos-account {
    --bg: #FAFAF7;
    --surface: #FFFFFF;
    --surface-2: #F4F2EC;
    --elevated: #F0EEE7;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.16);
    --text: #0A0A0A;
    --text-2: rgba(0, 0, 0, 0.62);
    --text-3: rgba(0, 0, 0, 0.42);
    --text-muted: rgba(0, 0, 0, 0.3);
    --lime: #CBFF0F;
    --lime-soft: rgba(203, 255, 15, 0.22);
    --lime-text: #3D5704;
    --danger: #B91C1C;
    --danger-soft: rgba(185, 28, 28, 0.08);
    --r-sm: 8px;
    --r-md: 12px;
    --r-pill: 999px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --font-display: 'Sora', system-ui, -apple-system, sans-serif;
    --font-label: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 768px) {
    .axos-account { padding: 48px 16px 64px; }
}

/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */
.axos-account .axos-display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.02em;
    line-height: 1.02;
    color: var(--text);
    margin: 0 0 12px;
}
.axos-account .axos-display--lg {
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: -0.028em;
    line-height: 0.98;
    margin: 0 0 14px;
}
.axos-account .axos-h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--text);
    margin: 0;
}
.axos-account .axos-h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.012em;
    color: var(--text);
    margin: 0;
}
.axos-account .axos-lede {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.55;
    max-width: 540px;
    margin: 0;
}
.axos-account .axos-eyebrow {
    font-family: var(--font-label);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-3);
    margin: 0;
    display: inline-block;
}
.axos-account .axos-eyebrow--lime { color: var(--lime-text); }
.axos-account .axos-eyebrow--muted { color: var(--text-muted); }

/* ============================================================
   6. WELCOME / PAGE HEADER
   ============================================================ */
.axos-account .axos-welcome { margin-bottom: 40px; }
.axos-account .axos-welcome--dashboard { margin-bottom: 48px; }
.axos-account .axos-welcome .axos-eyebrow { margin-bottom: 14px; }

/* ============================================================
   7. SHELL — Flexbox layout (sidebar left, content right)
   ============================================================ */
.axos-account .axos-shell {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    width: 100%;
}
.axos-account .axos-sidebar {
    flex: 0 0 210px !important;
    width: 210px !important;
    max-width: 210px !important;
    min-width: 0;
}
.axos-account .axos-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100%;
}
@media (max-width: 768px) {
    .axos-account .axos-shell {
        flex-direction: column !important;
        gap: 32px;
        padding-top: 32px;
    }
    .axos-account .axos-sidebar {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: none !important;
    }
}

/* ============================================================
   8. SIDEBAR NAV
   ============================================================ */
.axos-account .axos-sidebar__section + .axos-sidebar__section { margin-top: 36px; }
.axos-account .axos-sidebar__section .axos-eyebrow {
    margin-bottom: 14px;
    padding-left: 12px;
}
.axos-account .axos-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.axos-account .axos-nav__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-2);
    font-size: 13.5px;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-weight: 500;
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.axos-account .axos-nav__item:focus { outline: none; }
.axos-account .axos-nav__item:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-nav__item:hover {
        background: rgba(0, 0, 0, 0.04);
        color: var(--text);
    }
}
.axos-account .axos-nav__item--active {
    background: var(--lime-soft);
    color: var(--text);
    font-weight: 600;
}
.axos-account .axos-nav__item .ti {
    font-size: 17px;
    line-height: 1;
    opacity: 0.7;
    flex-shrink: 0;
}
.axos-account .axos-nav__item:hover .ti { opacity: 1; }
.axos-account .axos-nav__item--active .ti {
    opacity: 1;
    color: var(--text);
}
.axos-account .axos-sidebar__support {
    color: var(--text-2);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
    padding-left: 12px;
}

/* ============================================================
   9. LINKS & BUTTONS
   ============================================================ */
.axos-account .axos-link {
    color: var(--text-2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-link:hover { color: var(--text); }
}
.axos-account .axos-link--lime {
    color: var(--lime-text);
    font-weight: 600;
}

.axos-account .axos-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    font-family: var(--font-label);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1;
    transition:
        background 200ms var(--ease),
        border-color 200ms var(--ease),
        color 200ms var(--ease),
        transform 120ms var(--ease);
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    max-width: none;
}
.axos-account .axos-button:active { transform: scale(0.97); }
.axos-account .axos-button--primary { background: var(--text); color: #FFFFFF; }
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-button--primary:hover { background: #1F1F1F; }
}
.axos-account .axos-button--ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(0, 0, 0, 0.16);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-button--ghost:hover {
        border-color: rgba(0, 0, 0, 0.36);
        background: rgba(0, 0, 0, 0.025);
    }
}
.axos-account .axos-button--danger {
    background: transparent;
    color: var(--danger);
    border-color: rgba(185, 28, 28, 0.3);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-button--danger:hover {
        background: var(--danger-soft);
        border-color: var(--danger);
    }
}
.axos-account .axos-button--sm {
    padding: 7px 14px;
    font-size: 10.5px;
}
.axos-account .axos-button .ti {
    font-size: 12px;
    transition: transform 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-button:hover .ti { transform: translateX(3px); }
}

/* ============================================================
   10. BLOCK STRUCTURE (used by every content block)
   ============================================================ */
.axos-account .axos-block { margin-bottom: 40px; }
.axos-account .axos-block:last-child { margin-bottom: 0; }
.axos-account .axos-block__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    gap: 16px;
}

/* ============================================================
   11. REORDER HUB TILES
   ============================================================ */
.axos-account .axos-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 900px) {
    .axos-account .axos-tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .axos-account .axos-tile-grid { grid-template-columns: 1fr; }
}
.axos-account .axos-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-tile:hover {
        border-color: var(--border-hover);
        transform: translateY(-1px);
    }
}
.axos-account .axos-tile__img {
    aspect-ratio: 1 / 1;
    background: var(--surface-2);
    border-radius: var(--r-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
}
.axos-account .axos-tile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.axos-account .axos-tile__img--empty::before {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 64px;
    background: var(--elevated);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}
.axos-account .axos-tile__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    letter-spacing: -0.008em;
    line-height: 1.3;
    margin: 0 0 5px;
}
.axos-account .axos-tile__meta {
    font-size: 11.5px;
    color: var(--text-3);
    margin: 0 0 14px;
    font-variant-numeric: tabular-nums;
}
.axos-account .axos-tile .axos-button { margin-top: auto; align-self: flex-start; }

/* ============================================================
   12. STATS
   ============================================================ */
.axos-account .axos-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 600px) {
    .axos-account .axos-stat-grid { grid-template-columns: 1fr; }
}
.axos-account .axos-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px 22px;
    transition: border-color 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-stat:hover { border-color: var(--border-hover); }
}
.axos-account .axos-stat .axos-eyebrow { margin-bottom: 10px; }
.axos-account .axos-stat__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.014em;
    line-height: 1;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   13. ORDER CARDS (dashboard + orders page)
   ============================================================ */
.axos-account .axos-order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.axos-account .axos-order {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px;
    transition: border-color 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-order:hover { border-color: var(--border-hover); }
}
.axos-account .axos-order__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.axos-account .axos-order__id { min-width: 0; }
.axos-account .axos-order__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    letter-spacing: -0.005em;
}
.axos-account .axos-order__meta {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}
.axos-account .axos-order__items {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 16px;
    line-height: 1.5;
}
.axos-account .axos-order__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   14. STATUS PILLS
   ============================================================ */
.axos-account .axos-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    font-family: var(--font-label);
    font-weight: 600;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
}
.axos-account .axos-status--active {
    background: var(--lime-soft);
    color: var(--lime-text);
}
.axos-account .axos-status--complete {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-2);
}
.axos-account .axos-status__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: axos-pulse 2.4s ease-in-out infinite;
}
@keyframes axos-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================================
   15. EMPTY STATES
   ============================================================ */
.axos-account .axos-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 28px;
    color: var(--text-2);
}
.axos-account .axos-empty .axos-eyebrow { margin-bottom: 10px; }
.axos-account .axos-empty .axos-h2 { margin-bottom: 8px; }
.axos-account .axos-empty p {
    margin: 0 0 18px;
    color: var(--text-2);
    line-height: 1.55;
}
.axos-account .axos-empty p:last-child { margin-bottom: 0; }
.axos-account .axos-empty--hero { padding: 48px 36px; }

/* ============================================================
   16. SUGGESTION / COMPANION CARD
   ============================================================ */
.axos-account .axos-suggestion {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 22px;
    transition: border-color 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-suggestion:hover { border-color: var(--border-hover); }
}
@media (max-width: 600px) {
    .axos-account .axos-suggestion {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
    }
}
.axos-account .axos-suggestion__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--lime-soft);
    color: var(--lime-text);
    display: flex;
    align-items: center;
    justify-content: center;
}
.axos-account .axos-suggestion__icon .ti { font-size: 26px; }
.axos-account .axos-suggestion__body { min-width: 0; }
.axos-account .axos-suggestion__body .axos-eyebrow { margin-bottom: 6px; }
.axos-account .axos-suggestion__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    letter-spacing: -0.012em;
    line-height: 1.35;
    margin: 0 0 4px;
}
.axos-account .axos-suggestion__meta {
    font-size: 13px;
    color: var(--text-3);
    margin: 0;
}

/* ============================================================
   17. ADDRESS CARDS (my-address.php)
   ============================================================ */
.axos-account .axos-addr-intro {
    font-size: 14px;
    color: var(--text-2);
    margin: 0 0 24px;
    max-width: 640px;
}
.axos-account .axos-addr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .axos-account .axos-addr-grid { grid-template-columns: 1fr; }
}
.axos-account .axos-addr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
    transition: border-color 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .axos-account .axos-addr-card:hover { border-color: var(--border-hover); }
}
.axos-account .axos-addr-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.axos-account .axos-addr-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.012em;
    color: var(--text);
    margin: 0;
}
.axos-account .axos-addr-card__body {
    font-style: normal;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    font-family: var(--font-body);
}
.axos-account .axos-addr-card__body p { margin: 0; }
.axos-account .axos-addr-card__empty {
    font-style: normal;
    color: var(--text-3);
    font-size: 14px;
    margin: 0;
}

/* ============================================================
   18. FORMS (form-edit-account, form-edit-address)
   ============================================================ */
.axos-account .axos-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px;
    max-width: 720px;
}
@media (max-width: 600px) {
    .axos-account .axos-form { padding: 24px 20px; }
}
.axos-account .axos-form__section {
    border-top: 1px solid var(--border);
    margin-top: 32px;
    padding-top: 32px;
}
.axos-account .axos-form__section:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.axos-account .axos-form__section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    letter-spacing: -0.012em;
    margin: 0 0 6px;
}
.axos-account .axos-form__section-desc {
    font-size: 13px;
    color: var(--text-3);
    margin: 0 0 18px;
    line-height: 1.5;
}
.axos-account .axos-form__row {
    margin-bottom: 18px;
}
.axos-account .axos-form__row:last-child {
    margin-bottom: 0;
}
.axos-account .axos-form__row-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .axos-account .axos-form__row-pair { grid-template-columns: 1fr; }
}
.axos-account .axos-form__label,
.axos-account .axos-form label {
    font-family: var(--font-label);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-3);
    font-weight: 600;
    margin: 0 0 8px;
    display: block;
    font-style: normal;
    line-height: 1.4;
}
.axos-account .axos-form__required {
    color: var(--text-3);
    font-weight: 600;
    margin-left: 2px;
}
.axos-account .axos-form input[type="text"],
.axos-account .axos-form input[type="email"],
.axos-account .axos-form input[type="password"],
.axos-account .axos-form input[type="tel"],
.axos-account .axos-form input[type="number"],
.axos-account .axos-form select,
.axos-account .axos-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    font-style: normal;
    line-height: 1.4;
    transition: border-color 200ms var(--ease), background 200ms var(--ease);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}
.axos-account .axos-form input:focus,
.axos-account .axos-form select:focus,
.axos-account .axos-form textarea:focus {
    outline: none;
    border-color: var(--text);
    background: var(--surface);
}
.axos-account .axos-form__help {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 12px;
    color: var(--text-3);
    margin-top: 6px;
    line-height: 1.45;
    display: block;
    text-transform: none;
    letter-spacing: 0;
}
.axos-account .axos-form__submit {
    margin-top: 28px;
}

/* Password strength meter (WC outputs this inline; just style what's present) */
.axos-account .woocommerce-password-strength {
    padding: 8px 12px;
    border-radius: var(--r-sm);
    font-family: var(--font-label);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
    font-weight: 600;
}
.axos-account .woocommerce-password-strength.strong {
    background: var(--lime-soft);
    color: var(--lime-text);
}
.axos-account .woocommerce-password-strength.short,
.axos-account .woocommerce-password-strength.bad {
    background: var(--danger-soft);
    color: var(--danger);
}
.axos-account .woocommerce-password-hint {
    color: var(--text-3);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.45;
    font-style: normal;
}

/* ============================================================
   19. NOTICES (WC error / message / info)
   ============================================================ */
.axos-account .woocommerce-info,
.axos-account .woocommerce-message,
.axos-account .woocommerce-error,
.axos-account ul.woocommerce-error {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 22px;
    font-size: 14px;
    color: var(--text);
    list-style: none;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: none;
}
.axos-account .woocommerce-message { border-left: 3px solid var(--lime); }
.axos-account .woocommerce-error {
    border-left: 3px solid var(--danger);
    color: var(--danger);
}
.axos-account .woocommerce-info::before,
.axos-account .woocommerce-message::before,
.axos-account .woocommerce-error::before {
    display: none;
    content: none;
}
.axos-account .woocommerce-info .button,
.axos-account .woocommerce-message .button,
.axos-account .woocommerce-error .button {
    background: var(--text);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-family: var(--font-label);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: none;
}

/* ============================================================
   20. VIEW-ORDER (single order page — uses WC default markup)
   ============================================================ */
.axos-account ul.woocommerce-order-overview {
    list-style: none;
    padding: 24px;
    margin: 0 0 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}
.axos-account ul.woocommerce-order-overview li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-label);
    font-weight: 600;
    border: none;
    padding: 0;
}
.axos-account ul.woocommerce-order-overview li strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.012em;
    margin-top: 2px;
}
.axos-account .woocommerce-table--order-details,
.axos-account table.woocommerce-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 24px;
}
.axos-account .woocommerce-table--order-details thead th {
    padding: 14px 22px;
    background: var(--surface-2);
    font-family: var(--font-label);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-3);
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.axos-account .woocommerce-table--order-details tbody td,
.axos-account .woocommerce-table--order-details tfoot td,
.axos-account .woocommerce-table--order-details tfoot th {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.axos-account .woocommerce-table--order-details tfoot tr:last-child td,
.axos-account .woocommerce-table--order-details tfoot tr:last-child th {
    border-bottom: none;
    padding-top: 22px;
}
.axos-account section.woocommerce-customer-details { margin-top: 32px; }
.axos-account section.woocommerce-customer-details h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 16px;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.012em;
}

/* ============================================================
   21. PAGINATION
   ============================================================ */
.axos-account .woocommerce-pagination { margin-top: 24px; }
.axos-account .woocommerce-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    justify-content: center;
}
.axos-account .woocommerce-pagination ul li { display: flex; }
.axos-account .woocommerce-pagination ul li a,
.axos-account .woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--r-sm);
    color: var(--text-2);
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 200ms var(--ease);
}
.axos-account .woocommerce-pagination ul li a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text);
}
.axos-account .woocommerce-pagination ul li span.current {
    background: var(--text);
    color: #FFFFFF;
}

/* ============================================================
   22. SCROLL REVEAL
   ============================================================ */
.axos-account [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 700ms var(--ease),
        transform 700ms var(--ease);
    will-change: transform, opacity;
}
.axos-account [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   23. FOCUS
   ============================================================ */
.axos-account a:focus,
.axos-account button:focus,
.axos-account input:focus,
.axos-account *:focus { outline: none; }
.axos-account a:focus-visible,
.axos-account button:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
    .axos-account *,
    .axos-account *::before,
    .axos-account *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .axos-account [data-reveal] {
        opacity: 1;
        transform: none;
    }
}




/* ==========================================================================
   MY-ACCOUNT — LOGGED-OUT AUTH (login / register)   [added for login redesign]
   The child theme forces account-page containers full-width and the body light
   via !important (for the logged-in dashboard). These rules override that for
   the LOGGED-OUT state ONLY — scoped with :has(.woocommerce-form-login/-register)
   so the dashboard is untouched — and need !important to win the cascade.
   ========================================================================== */

/* dark canvas — slightly lifted off the #09090A header for separation */
body.axos-account-page:has(.woocommerce-form-login),
body.axos-account-page:has(.woocommerce-form-register) {
  background: #0D0D0D !important;
  color: #FFFFFF;
}

/* softer header divider (replaces the hard near-white #EDEDED line) */
body.axos-account-page header.wp-block-template-part {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* vertical rhythm + side gutters (theme zeroes main padding) */
body.axos-account-page:has(.woocommerce-form-login) main,
body.axos-account-page:has(.woocommerce-form-register) main {
  padding: clamp(56px, 9vh, 120px) clamp(20px, 4vw, 48px) clamp(64px, 11vh, 130px) !important;
}

/* center the auth column (overrides .woocommerce { max-width:none !important }) */
body.axos-account-page:has(.woocommerce-form-login) .woocommerce,
body.axos-account-page:has(.woocommerce-form-register) .woocommerce {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
}
/* wider when the register column is present */
body.axos-account-page:has(#customer_login) .woocommerce {
  max-width: 960px !important;
}

/* "Login" / "Register" column headings -> eyebrow label */
body.axos-account-page:has(.woocommerce-form-login) .woocommerce h2,
body.axos-account-page:has(.woocommerce-form-register) .woocommerce h2 {
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  text-align: left;
  margin: 0 0 16px !important;
}

/* two-column register layout */
body.axos-account-page #customer_login.u-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
body.axos-account-page #customer_login.u-columns .u-column1,
body.axos-account-page #customer_login.u-columns .u-column2 {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}
@media (max-width: 768px) {
  body.axos-account-page #customer_login.u-columns { grid-template-columns: 1fr !important; }
  body.axos-account-page:has(#customer_login) .woocommerce { max-width: 460px !important; }
}

/* form cards */
body.axos-account-page .woocommerce-form-login,
body.axos-account-page .woocommerce-form-register {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: clamp(22px, 3vw, 30px) !important;
  margin: 0 !important;
}

/* field rows */
body.axos-account-page .woocommerce-form-login .form-row,
body.axos-account-page .woocommerce-form-register .form-row {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

/* labels */
body.axos-account-page .woocommerce-form-login label:not(.woocommerce-form-login__rememberme),
body.axos-account-page .woocommerce-form-register label {
  display: block;
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 8px !important;
}
body.axos-account-page .woocommerce-form-login .required,
body.axos-account-page .woocommerce-form-register .required {
  color: #CBFF0F !important;
  border: 0 !important;
}

/* inputs */
body.axos-account-page .woocommerce-form-login input.input-text,
body.axos-account-page .woocommerce-form-register input.input-text,
body.axos-account-page .woocommerce-form-login input[type="password"],
body.axos-account-page .woocommerce-form-register input[type="password"] {
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  background: #1A1A1A !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 15px !important;
  line-height: 50px !important;
  box-shadow: none !important;
}
body.axos-account-page .woocommerce-form-login input.input-text:focus,
body.axos-account-page .woocommerce-form-register input.input-text:focus,
body.axos-account-page .woocommerce-form-login input[type="password"]:focus,
body.axos-account-page .woocommerce-form-register input[type="password"]:focus {
  outline: none !important;
  border-color: #CBFF0F !important;
  background: #1d1d1d !important;
  box-shadow: 0 0 0 3px rgba(203,255,15,0.22) !important;
}
body.axos-account-page .woocommerce-form-login input::placeholder,
body.axos-account-page .woocommerce-form-register input::placeholder {
  color: rgba(255,255,255,0.30) !important;
}

/* password wrapper + show/hide toggle (WooCommerce JS) */
body.axos-account-page .woocommerce-form-login .password-input,
body.axos-account-page .woocommerce-form-register .password-input {
  position: relative;
  display: block;
}
body.axos-account-page .show-password-input {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.35);
  cursor: pointer;
}

/* remember-me + submit row: stack the label above a full-width button */
body.axos-account-page .woocommerce-form-login p.form-row:not(.woocommerce-form-row) {
  display: flex !important;
  flex-direction: column !important;
}
body.axos-account-page .woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center;
  gap: 9px;
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 18px !important;
}
body.axos-account-page .woocommerce-form-login__rememberme input {
  accent-color: #CBFF0F;
  width: 17px;
  height: 17px;
  margin: 0;
}
body.axos-account-page .woocommerce-form-login__rememberme span {
  margin: 0 !important;
  letter-spacing: 0 !important;
}

/* submit buttons (white pill) */
body.axos-account-page .woocommerce-form-login button[type="submit"],
body.axos-account-page .woocommerce-form-register button[type="submit"],
body.axos-account-page .woocommerce-form-login .woocommerce-button,
body.axos-account-page .woocommerce-form-register .woocommerce-button {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  background: #FFFFFF !important;
  color: #09090A !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.23,1,0.32,1), box-shadow 0.2s ease;
}
body.axos-account-page .woocommerce-form-login button[type="submit"]:hover,
body.axos-account-page .woocommerce-form-register button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(255,255,255,0.35);
}
body.axos-account-page .woocommerce-form-login button[type="submit"]:active,
body.axos-account-page .woocommerce-form-register button[type="submit"]:active {
  transform: scale(0.985);
}

/* lost-password link */
body.axos-account-page .woocommerce-form-login .lost_password {
  margin: 16px 0 0 !important;
  text-align: left;
}
body.axos-account-page .woocommerce-form-login .lost_password a {
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none !important;
}
body.axos-account-page .woocommerce-form-login .lost_password a:hover {
  color: #CBFF0F !important;
}

/* register helper / privacy text */
body.axos-account-page .woocommerce-form-register .woocommerce-privacy-policy-text p,
body.axos-account-page .woocommerce-form-register em {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: rgba(255,255,255,0.40) !important;
}

/* WooCommerce notices on the dark account screen */
body.axos-account-page:has(.woocommerce-form-login) .woocommerce-notices-wrapper .woocommerce-error,
body.axos-account-page:has(.woocommerce-form-login) .woocommerce-notices-wrapper .woocommerce-message,
body.axos-account-page:has(.woocommerce-form-login) .woocommerce-notices-wrapper .woocommerce-info {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-left: 2px solid #CBFF0F !important;
  border-radius: 10px !important;
  color: rgba(255,255,255,0.85) !important;
}
body.axos-account-page:has(.woocommerce-form-login) .woocommerce-notices-wrapper .woocommerce-error {
  border-left-color: #FF5C5C !important;
}
body.axos-account-page:has(.woocommerce-form-login) .woocommerce-notices-wrapper a {
  color: #CBFF0F !important;
}

/* ==========================================================================
   MY-ACCOUNT — LOST / RESET PASSWORD  (.woocommerce-ResetPassword)
   This front-end form uses a different class than the login form, so it needs
   its own rules. Same brand treatment, same logged-out scoping discipline.
   ========================================================================== */
body.axos-account-page:has(.woocommerce-ResetPassword) {
  background: #0D0D0D !important;
  color: #FFFFFF;
}
body.axos-account-page:has(.woocommerce-ResetPassword) main {
  padding: clamp(56px, 9vh, 120px) clamp(20px, 4vw, 48px) clamp(64px, 11vh, 130px) !important;
}
body.axos-account-page:has(.woocommerce-ResetPassword) .woocommerce {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
}

/* card */
body.axos-account-page .woocommerce-ResetPassword {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: clamp(22px, 3vw, 30px) !important;
  margin: 0 !important;
}
/* intro instruction text (first <p> in the form) */
body.axos-account-page .woocommerce-ResetPassword > p:first-child {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 20px !important;
}
/* rows */
body.axos-account-page .woocommerce-ResetPassword .form-row {
  margin: 0 0 16px !important;
  padding: 0 !important;
}
body.axos-account-page .woocommerce-ResetPassword .clear { display: none !important; }
/* labels */
body.axos-account-page .woocommerce-ResetPassword label {
  display: block;
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 8px !important;
}
body.axos-account-page .woocommerce-ResetPassword .required {
  color: #CBFF0F !important;
  border: 0 !important;
}
/* inputs (request + set-new both) */
body.axos-account-page .woocommerce-ResetPassword input.input-text,
body.axos-account-page .woocommerce-ResetPassword input[type="text"],
body.axos-account-page .woocommerce-ResetPassword input[type="password"] {
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  background: #1A1A1A !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 15px !important;
  line-height: 50px !important;
  box-shadow: none !important;
}
body.axos-account-page .woocommerce-ResetPassword input.input-text:focus,
body.axos-account-page .woocommerce-ResetPassword input[type="text"]:focus,
body.axos-account-page .woocommerce-ResetPassword input[type="password"]:focus {
  outline: none !important;
  border-color: #CBFF0F !important;
  background: #1d1d1d !important;
  box-shadow: 0 0 0 3px rgba(203,255,15,0.22) !important;
}
/* password show/hide wrapper */
body.axos-account-page .woocommerce-ResetPassword .password-input { position: relative; display: block; }
/* submit (white pill) */
body.axos-account-page .woocommerce-ResetPassword button[type="submit"],
body.axos-account-page .woocommerce-ResetPassword input[type="submit"],
body.axos-account-page .woocommerce-ResetPassword .woocommerce-Button,
body.axos-account-page .woocommerce-ResetPassword .button {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  background: #FFFFFF !important;
  color: #09090A !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.23,1,0.32,1), box-shadow 0.2s ease;
}
body.axos-account-page .woocommerce-ResetPassword button[type="submit"]:hover,
body.axos-account-page .woocommerce-ResetPassword .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(255,255,255,0.35);
}
body.axos-account-page .woocommerce-ResetPassword button[type="submit"]:active,
body.axos-account-page .woocommerce-ResetPassword .button:active {
  transform: scale(0.985);
}

/* ==========================================================================
   ACCOUNT-PAGE HEADER — align with the axospeptides.com (Framer) header
   Applies on all account pages (logged in + out) for cross-site consistency.
   ========================================================================== */
/* taller, more generous header bar */
body.axos-account-page header.wp-block-template-part {
  height: 78px !important;
  padding: 0 clamp(24px, 4vw, 48px) !important;
}
/* logo shows "AXOS" to match the marketing-site mark (real site title stays
   "Axos Peptides" in the DOM for screen readers) */
body.axos-account-page header .wp-block-site-title a {
  font-size: 0 !important;
  line-height: 0 !important;
}
body.axos-account-page header .wp-block-site-title a::after {
  content: "AXOS";
  display: inline-block;
  font-family: 'Sora', system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  line-height: 1 !important;
  color: #FFFFFF !important;
}
/* nav links: lighter grey, medium weight (matches marketing nav) */
body.axos-account-page header .wp-block-navigation,
body.axos-account-page header .wp-block-navigation a {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
body.axos-account-page header.wp-block-template-part a {
  color: rgba(255,255,255,0.55) !important;
}
body.axos-account-page header.wp-block-template-part a:hover {
  color: #FFFFFF !important;
}
/* cart count badge -> lime accent */
body.axos-account-page header .wc-block-mini-cart__badge {
  background: #CBFF0F !important;
  color: #09090A !important;
  border: 0 !important;
}
/* header icons crisp white */
body.axos-account-page header svg {
  color: #FFFFFF !important;
  fill: currentColor !important;
}
/* logo + nav on the left, account + cart pushed to the far right.
   Outer row packs left with a gap between logo and nav; the right-hand group
   grows to fill the width so margin-left:auto on the icons reaches the end. */
body.axos-account-page header .wp-block-group.is-content-justification-space-between {
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 44px !important;
}
body.axos-account-page header .wp-block-group.is-content-justification-right {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
}
/* push the account + cart icons to the right edge of the now full-width group */
body.axos-account-page header .wp-block-woocommerce-customer-account {
  margin-left: auto !important;
}
/* spacing: between nav links */
body.axos-account-page header .wp-block-navigation ul,
body.axos-account-page header .wp-block-navigation .wp-block-page-list {
  gap: 28px !important;
}
/* keep the account + cart icons tidy and aligned */
body.axos-account-page header .wp-block-woocommerce-customer-account .wc-block-customer-account__link,
body.axos-account-page header .wc-block-mini-cart__button {
  padding: 4px !important;
}
body.axos-account-page header .wp-block-woocommerce-customer-account svg,
body.axos-account-page header .wc-block-mini-cart__icon {
  width: 22px !important;
  height: 22px !important;
}

/* ==========================================================================
   MY-ACCOUNT — LOGIN / REGISTER TOGGLE  (.axos-auth-tabs)
   When the server-rendered tab bar is present, collapse WC's two-column
   #customer_login into a single centered card and show only the active panel.
   The CSS is the source of truth for visibility (no FOUC flash); JS just
   toggles `.axos-show-register` on the tab bar.
   ========================================================================== */

/* Tab bar */
body.axos-account-page .axos-auth-tabs {
  display: flex;
  gap: 4px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 28px;
  padding: 4px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  box-sizing: border-box;
}
body.axos-account-page .axos-auth-tab {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background-color 0.18s cubic-bezier(0.23,1,0.32,1),
              color 0.18s cubic-bezier(0.23,1,0.32,1);
}
body.axos-account-page .axos-auth-tab:hover { color: #FFFFFF; }
body.axos-account-page .axos-auth-tab.is-active {
  background: #FFFFFF;
  color: #09090A;
}

/* When the tab bar is present, override the wider 2-column layout — single
   centered card, override the earlier :has(#customer_login) { max-width:960px } */
body.axos-account-page:has(.axos-auth-tabs) .woocommerce {
  max-width: 460px !important;
}
body.axos-account-page:has(.axos-auth-tabs) #customer_login {
  display: block !important;
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
}
body.axos-account-page:has(.axos-auth-tabs) #customer_login .u-column1,
body.axos-account-page:has(.axos-auth-tabs) #customer_login .u-column2 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the WC h2 ("Login" / "Register") since the tabs replace them */
body.axos-account-page:has(.axos-auth-tabs) #customer_login > .u-column1 > h2,
body.axos-account-page:has(.axos-auth-tabs) #customer_login > .u-column2 > h2 {
  display: none !important;
}

/* Default: login visible, register hidden */
body.axos-account-page:has(.axos-auth-tabs) #customer_login .u-column2 {
  display: none !important;
}
/* When user toggles to register: hide login, show register */
body.axos-account-page:has(.axos-auth-tabs.axos-show-register) #customer_login .u-column1 {
  display: none !important;
}
body.axos-account-page:has(.axos-auth-tabs.axos-show-register) #customer_login .u-column2 {
  display: block !important;
}

/* ==========================================================================
   MY-ACCOUNT — SPLIT-SCREEN AUTH  (exact match to wp-login.php)
   When logged-out on /my-account/: hide the site chrome, run a 1fr 1fr
   split-screen with the form column on the LEFT (50vw) and the brand panel
   FIXED on the RIGHT (50vw). Mirrors the wp-login.php experience pixel-for-pixel.
   Below 1024px: panel hidden, form full-width.
   ========================================================================== */

/* hide the site header + footer on the auth screen (focused experience) */
body.axos-account-page:has(.woocommerce-form-login) > .wp-site-blocks > header.wp-block-template-part,
body.axos-account-page:has(.woocommerce-form-login) > .wp-site-blocks > footer.wp-block-template-part {
  display: none !important;
}

/* main becomes the form column — left half of the viewport */
body.axos-account-page:has(.woocommerce-form-login) main {
  width: 50vw !important;
  max-width: 50vw !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.axos-account-page:has(.woocommerce-form-login) main > .wp-block-group {
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(40px, 5vh, 72px) clamp(28px, 3vw, 56px) !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
body.axos-account-page:has(.woocommerce-form-login) main .entry-content {
  width: 100% !important;
  max-width: 480px !important;
  padding: 0 !important;
}
/* keep the .woocommerce content centered & on dark with no extra constraint */
body.axos-account-page:has(.woocommerce-form-login) .woocommerce {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* form column wordmark — same vibe as the wp-login h1 a */
.axos-account-wordmark {
  margin: 0 0 30px !important;
  text-align: center !important;
}
.axos-account-wordmark a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.axos-account-wordmark a::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #CBFF0F;
}
.axos-account-wordmark a:hover { color: #FFFFFF !important; }

/* back-link below the form — same style as #backtoblog on wp-login */
.axos-account-backlink {
  margin: 18px 0 0 !important;
  text-align: left;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 12px;
}
.axos-account-backlink a {
  color: rgba(255,255,255,0.30) !important;
  text-decoration: none !important;
  transition: color 0.18s ease;
}
.axos-account-backlink a:hover { color: rgba(255,255,255,0.55) !important; }

/* ===== BRAND PANEL (right half, fixed) — mirrors login.css panel ===== */
body.axos-account-page:has(.woocommerce-form-login) .axos-login-panel--myaccount {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(48px, 5vw, 88px);
  overflow: hidden;
  isolation: isolate;
  background: #09090A;
  border-left: 1px solid rgba(255,255,255,0.14);
  z-index: 1;
  box-sizing: border-box;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #060607;
  background-image:
    linear-gradient(180deg, rgba(9,9,10,0.55) 0%, rgba(9,9,10,0.32) 38%, rgba(9,9,10,0.85) 100%),
    var(--axos-login-img, none);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-panel__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-panel__orb {
  position: absolute;
  z-index: -1;
  width: 52%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -14%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(203,255,15,0.18), rgba(203,255,15,0) 68%);
  filter: blur(46px);
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-panel__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-panel__mid {
  margin: auto 0;
  width: 100%;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #CBFF0F;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-headline {
  margin: 0 0 22px;
  max-width: 16ch;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-subline {
  margin: 0 0 40px;
  max-width: 46ch;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-trust li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.80);
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-trust svg {
  width: 19px; height: 19px;
  flex: none;
  stroke: #CBFF0F;
  stroke-width: 1.5;
  fill: none;
}
body.axos-account-page .axos-login-panel--myaccount .axos-login-disclaimer {
  margin: 0;
  max-width: 56ch;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.30);
}

/* ===== MOBILE: hide brand panel, form full-width ===== */
@media (max-width: 1023px) {
  body.axos-account-page:has(.woocommerce-form-login) .axos-login-panel--myaccount {
    display: none !important;
  }
  body.axos-account-page:has(.woocommerce-form-login) main {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   MY-ACCOUNT — /lost-password/ ENDPOINT  (form state + success state)
   Scoped to the URL endpoint via .axos-account-lostpassword body class (set
   by PHP). This covers BOTH the form state and the ?reset-link-sent=true
   confirmation, where the .woocommerce-ResetPassword element no longer exists
   and :has() scoping would fail.
   ========================================================================== */

/* page-level styling — applies to form + success states */
body.axos-account-page.axos-account-lostpassword {
  background: #0D0D0D !important;
  color: #FFFFFF;
}
body.axos-account-page.axos-account-lostpassword main {
  padding: clamp(56px, 9vh, 120px) clamp(20px, 4vw, 48px) clamp(64px, 11vh, 130px) !important;
}
body.axos-account-page.axos-account-lostpassword .woocommerce {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
}

/* WC notices as brand cards (success / info / error) */
body.axos-account-page.axos-account-lostpassword .woocommerce-message,
body.axos-account-page.axos-account-lostpassword .woocommerce-info {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-top: 0 !important;
  border-left: 2px solid #CBFF0F !important;
  border-radius: 14px !important;
  color: rgba(255,255,255,0.85) !important;
  padding: clamp(20px, 3vw, 28px) !important;
  margin: 0 0 20px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  list-style: none !important;
  box-shadow: none !important;
}
body.axos-account-page.axos-account-lostpassword .woocommerce-error {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-top: 0 !important;
  border-left: 2px solid #FF5C5C !important;
  border-radius: 14px !important;
  color: #ffd7d7 !important;
  padding: clamp(20px, 3vw, 28px) !important;
  margin: 0 0 20px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  list-style: none !important;
  box-shadow: none !important;
}
/* kill WC's default ::before icon (renders as a light-theme bullet on dark bg) */
body.axos-account-page.axos-account-lostpassword .woocommerce-message::before,
body.axos-account-page.axos-account-lostpassword .woocommerce-info::before,
body.axos-account-page.axos-account-lostpassword .woocommerce-error::before {
  display: none !important;
}
body.axos-account-page.axos-account-lostpassword .woocommerce-message li,
body.axos-account-page.axos-account-lostpassword .woocommerce-info li,
body.axos-account-page.axos-account-lostpassword .woocommerce-error li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.axos-account-page.axos-account-lostpassword .woocommerce-message a,
body.axos-account-page.axos-account-lostpassword .woocommerce-info a {
  color: #CBFF0F !important;
  text-decoration: none !important;
}

/* Explanation paragraph below the success notice (the "may take several minutes..." text) */
body.axos-account-page.axos-account-lostpassword .woocommerce > p,
body.axos-account-page.axos-account-lostpassword .entry-content > p {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 16px !important;
}
