.account-shell {
    display: flex;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 12px 32px;
    min-height: 60vh;
    position: relative;
}

.account-drawer-toggle {
    position: fixed;
    bottom: calc(108px + env(safe-area-inset-bottom, 0));
    right: 68px;
    left: auto;
    z-index: 1075;
    border: none;
    background: #1F2937;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 992px) {
    .account-drawer-toggle { display: none; }
}

.account-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    padding: 20px 0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.account-sidebar-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.brand-mark.sm {
    width: 40px;
    height: 40px;
    font-size: 13px;
}

.account-drawer-close {
    margin-left: auto;
    border: none;
    background: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.account-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 12px 12px;
    padding: 14px;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border-radius: 12px;
}

.account-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F9A825;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: all .15s;
}

.account-nav-link:hover {
    background: #FFF8E1;
    color: #111;
}

.account-nav-link.active {
    background: #FFF8E1;
    color: #E65100;
    border-left-color: #F9A825;
}

.account-nav-link i { font-size: 1.2rem; color: #F9A825; }

.account-main {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 24px;
}

.account-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111827;
}

@media (max-width: 991.98px) {
    .account-shell { flex-direction: column; padding: 12px; }
    .account-main { padding: 0; }

    .account-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 88vw);
        z-index: 1060;
        border-radius: 0 16px 16px 0;
        transform: translateX(-110%);
        transition: transform .3s ease;
        overflow-y: auto;
        height: 100%;
        top: 0;
    }

    .account-sidebar.open { transform: translateX(0); }

    .account-drawer-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 1055;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s;
    }

    .account-drawer-backdrop.show {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Cards */
.account-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    margin-bottom: 16px;
}

.cart-page-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    margin-bottom: 12px;
}

.cart-page-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    background: #f9fafb;
}

.cart-summary-card {
    background: linear-gradient(180deg, #FFF8E1 0%, #fff 100%);
    border: 2px solid #FFE082;
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 100px;
}

.login-otp-card {
    max-width: 420px;
    margin: 0 auto;
}
